/*
 * MatKulubu design themes
 * Exact non-italic type families used by the four reference sites.
 * Rendering stays on whole-pixel sizes and standard font weights for clarity.
 */

@font-face {
  font-family: "MK Inter";
  src: url("https://static.linear.app/fonts/InterVariable.woff2?v=4.1") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "MK Cursor";
  src: url("https://cursor.com/marketing-static/_next/static/media/CursorGothic_Regular-s.p.05-84umc_47y9.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "MK Cursor";
  src: url("https://cursor.com/marketing-static/_next/static/media/CursorGothic_Regular-s.p.05-84umc_47y9.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "MK Cursor";
  src: url("https://cursor.com/marketing-static/_next/static/media/CursorGothic_Bold-s.p.15hkw~ebmtjvr.woff2") format("woff2");
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
}

@font-face {
  font-family: "MK Switzer";
  src: url("https://www.nomic.ai/fonts/Switzer-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "MK Switzer";
  src: url("https://www.nomic.ai/fonts/Switzer-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "MK Switzer";
  src: url("https://www.nomic.ai/fonts/Switzer-Semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
}

@font-face {
  font-family: "MK Cursor Display";
  src: url("https://cursor.com/marketing-static/_next/static/media/CursorDisplay_Medium.p.0usrutooo~rjf.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "MK Geist Mono";
  src: url("https://cdn.jsdelivr.net/npm/@fontsource/geist-mono@5.3.0/files/geist-mono-latin-ext-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "MK Geist Mono";
  src: url("https://cdn.jsdelivr.net/npm/@fontsource/geist-mono@5.3.0/files/geist-mono-latin-ext-500-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "MK Geist Mono";
  src: url("https://cdn.jsdelivr.net/npm/@fontsource/geist-mono@5.3.0/files/geist-mono-latin-ext-600-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "MK IBM Plex Sans";
  src: url("https://cdn.jsdelivr.net/npm/@fontsource/ibm-plex-sans@5.3.0/files/ibm-plex-sans-latin-ext-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "MK IBM Plex Sans";
  src: url("https://cdn.jsdelivr.net/npm/@fontsource/ibm-plex-sans@5.3.0/files/ibm-plex-sans-latin-ext-500-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "MK IBM Plex Sans";
  src: url("https://cdn.jsdelivr.net/npm/@fontsource/ibm-plex-sans@5.3.0/files/ibm-plex-sans-latin-ext-600-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "MK IBM Plex Sans";
  src: url("https://cdn.jsdelivr.net/npm/@fontsource/ibm-plex-sans@5.3.0/files/ibm-plex-sans-latin-ext-700-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

[data-site-theme="clerk-light"] {
  color-scheme: light;
  --theme-canvas: #f7f7f8;
  --theme-surface: #ffffff;
  --theme-surface-raised: #fafafa;
  --theme-ink: #131316;
  --theme-muted: #5e5f6e;
  --theme-faint: #9394a1;
  --theme-line: #eeeef0;
  --theme-line-strong: #d9d9de;
  --theme-primary: #6c47ff;
  --theme-primary-hover: #5a36e8;
  --theme-primary-soft: #eee9ff;
  --theme-button-ink: #ffffff;
  --theme-radius-sm: 6px;
  --theme-radius: 8px;
  --theme-radius-lg: 10px;
  --theme-container: 1120px;
  --theme-shadow: 0 1px 2px rgba(19,19,22,.04), 0 12px 35px rgba(19,19,22,.06);
  --theme-font: "MK Inter", Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:root,
[data-site-theme="linear-dark"] {
  color-scheme: dark;
  --theme-canvas: #08090a;
  --theme-surface: #101113;
  --theme-surface-raised: #151619;
  --theme-ink: #f5f5f6;
  --theme-muted: #92959d;
  --theme-faint: #696c74;
  --theme-line: #27292e;
  --theme-line-strong: #383a40;
  --theme-primary: #8b7cf6;
  --theme-primary-hover: #a99df8;
  --theme-primary-soft: #242035;
  --theme-button-ink: #0a0a0b;
  --theme-radius-sm: 8px;
  --theme-radius: 12px;
  --theme-radius-lg: 16px;
  --theme-container: 1180px;
  --theme-shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 18px 55px rgba(0, 0, 0, .22);
  --theme-font: "MK Inter", Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

[data-site-theme="cursor-light"] {
  color-scheme: light;
  --theme-canvas: #f7f7f4;
  --theme-surface: #fff;
  --theme-surface-raised: #f0f0eb;
  --theme-ink: #1b1b17;
  --theme-muted: #6d6d64;
  --theme-faint: #98988f;
  --theme-line: #dadad3;
  --theme-line-strong: #c8c8c0;
  --theme-primary: #1c1c18;
  --theme-primary-hover: #000;
  --theme-primary-soft: #e8e8e2;
  --theme-button-ink: #fff;
  --theme-radius-sm: 999px;
  --theme-radius: 5px;
  --theme-radius-lg: 5px;
  --theme-container: 1300px;
  --theme-shadow: none;
  --theme-font: "MK Cursor", Arial, Helvetica, ui-sans-serif, sans-serif;
}

[data-site-theme="nomic-dark"] {
  color-scheme: dark;
  --theme-canvas: #19201d;
  --theme-surface: #202824;
  --theme-surface-raised: #2a332f;
  --theme-ink: #f2f4f2;
  --theme-muted: #b0b9b4;
  --theme-faint: #78827d;
  --theme-line: #3b4641;
  --theme-line-strong: #536059;
  --theme-primary: #559481;
  --theme-primary-hover: #75b29f;
  --theme-primary-soft: #263b34;
  --theme-button-ink: #fff;
  --theme-radius-sm: 5px;
  --theme-radius: 6px;
  --theme-radius-lg: 7px;
  --theme-container: 1450px;
  --theme-shadow: 0 20px 60px rgba(0, 0, 0, .22);
  --theme-font: "MK Switzer", Arial, ui-sans-serif, sans-serif;
}

[data-site-theme="zed-dark"] {
  color-scheme: dark;
  --theme-canvas: #0d1117;
  --theme-surface: #111827;
  --theme-surface-raised: #151f2e;
  --theme-ink: #f2f6fc;
  --theme-muted: #9ca9ba;
  --theme-faint: #64748b;
  --theme-line: #29384d;
  --theme-line-strong: #3b4e69;
  --theme-primary: #3b73f1;
  --theme-primary-hover: #6a96ff;
  --theme-primary-soft: #172649;
  --theme-button-ink: #fff;
  --theme-radius-sm: 4px;
  --theme-radius: 4px;
  --theme-radius-lg: 4px;
  --theme-container: 1120px;
  --theme-shadow: none;
  --theme-font: "MK IBM Plex Sans", "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
}

:root {
  --mk-ink: var(--theme-ink);
  --mk-ink-soft: var(--theme-muted);
  --mk-paper: var(--theme-surface);
  --mk-canvas: var(--theme-canvas);
  --mk-line: var(--theme-line);
  --mk-indigo: var(--theme-primary);
  --mk-indigo-deep: var(--theme-primary-hover);
  --mk-indigo-soft: var(--theme-primary-soft);
  --mk-coral: var(--theme-primary);
  --mk-coral-soft: var(--theme-primary-soft);
  --mk-surface: var(--theme-canvas);
}

html {
  background: var(--theme-canvas);
  text-rendering: auto;
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}

body {
  background: var(--theme-canvas) !important;
  color: var(--theme-ink);
  font-family: var(--theme-font);
  font-style: normal !important;
  font-size: 15px;
  font-synthesis: none;
  letter-spacing: 0;
}

body *,
body *::before,
body *::after {
  font-style: normal !important;
}

[data-site-theme="zed-dark"] body {
  background-image:
    linear-gradient(rgba(59, 78, 105, .18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 78, 105, .18) 1px, transparent 1px) !important;
  background-size: 48px 48px !important;
}

.container {
  max-width: var(--theme-container);
}

a {
  color: var(--theme-primary-hover);
}

a:hover {
  color: var(--theme-primary);
}

::selection {
  background: var(--theme-primary);
  color: var(--theme-button-ink);
}

.mk-navbar {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: var(--theme-canvas) !important;
  border-bottom: 1px solid var(--theme-line);
  box-shadow: none;
  min-height: 64px;
  padding: .65rem 0;
}

.mk-brand,
.mk-brand:hover,
.mk-brand-text {
  color: var(--theme-ink);
}

.mk-brand-text {
  font-size: 1rem;
  font-weight: 700;
}

.mk-brand-logo {
  display: block;
  height: 40px;
  margin-right: 10px;
  object-fit: contain;
  width: 40px;
}

.mk-nav-link {
  border-radius: var(--theme-radius-sm);
  color: var(--theme-muted);
  font-size: 14px;
  font-weight: 500;
  padding: .5rem .72rem;
}

.mk-nav-link:hover {
  background: var(--theme-surface-raised);
  color: var(--theme-ink);
}

.btn,
.btn-mk-login,
.btn-mk-signup,
.btn-mk-primary,
.btn-mk-secondary,
.btn-auth-primary,
.btn-google {
  border-radius: var(--theme-radius-sm) !important;
  box-shadow: none;
  font-family: var(--theme-font);
  font-size: 14px;
  font-weight: 600 !important;
  min-height: 40px;
  padding: .58rem .92rem;
}

.btn-mk-login,
.btn-mk-secondary,
.btn-google {
  background: var(--theme-surface);
  border: 1px solid var(--theme-line-strong);
  color: var(--theme-ink);
}

.btn-mk-login:hover,
.btn-mk-secondary:hover,
.btn-google:hover {
  background: var(--theme-surface-raised);
  border-color: var(--theme-muted);
  color: var(--theme-ink);
}

.btn-mk-signup,
.btn-mk-primary,
.btn-auth-primary,
.btn-primary {
  background: var(--theme-primary);
  border-color: var(--theme-primary);
  color: var(--theme-button-ink);
}

.btn-mk-signup:hover,
.btn-mk-primary:hover,
.btn-auth-primary:hover,
.btn-primary:hover,
.btn-primary:focus {
  background: var(--theme-primary-hover);
  border-color: var(--theme-primary-hover);
  color: var(--theme-button-ink);
  transform: none;
}

.dropdown-menu {
  background: var(--theme-surface);
  border: 1px solid var(--theme-line) !important;
  border-radius: var(--theme-radius) !important;
  box-shadow: var(--theme-shadow) !important;
  color: var(--theme-ink);
  padding: .4rem;
}

.dropdown-item {
  border-radius: max(3px, calc(var(--theme-radius) - 3px));
  color: var(--theme-ink);
}

.dropdown-item:hover {
  background: var(--theme-surface-raised);
  color: var(--theme-ink);
}

.dropdown-divider {
  border-color: var(--theme-line);
}

.mk-page-title,
.mk-section-heading,
.home-title,
.auth-story h1,
.join-card h2 {
  color: var(--theme-ink);
  font-family: var(--theme-font);
  font-style: normal !important;
  font-weight: 700;
  letter-spacing: -.025em;
}

[data-site-theme="nomic-dark"] .mk-eyebrow,
[data-site-theme="nomic-dark"] .service-label,
[data-site-theme="nomic-dark"] .weekly-kicker,
[data-site-theme="nomic-dark"] .question-spotlight-kicker,
[data-site-theme="nomic-dark"] .btn {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: .035em;
  text-transform: uppercase;
}

[data-site-theme="cursor-light"] .home-hero {
  padding-bottom: clamp(3rem, 8vw, 7rem);
  padding-top: clamp(5rem, 12vw, 10rem);
}

[data-site-theme="cursor-light"] .home-title {
  max-width: 12ch;
}

.mk-page-lead,
.mk-section-copy,
.home-lead,
.weekly-copy,
.question-spotlight-copy,
.text-muted {
  color: var(--theme-muted) !important;
}

.mk-eyebrow {
  background: var(--theme-surface);
  border: 1px solid var(--theme-line);
  border-radius: var(--theme-radius-sm);
  color: var(--theme-muted);
}

.mk-surface-card,
.how-card,
.service-card,
.weekly-card,
.lesson-step,
.support-card,
.archive-callout,
.poll-spotlight,
.question-spotlight,
.auth-card,
.ranking-item,
.question-choice,
.poll-empty,
.countdown-line {
  background: var(--theme-surface);
  border: 1px solid var(--theme-line);
  border-radius: var(--theme-radius-lg);
  box-shadow: var(--theme-shadow);
  color: var(--theme-ink);
}

.ranking-item,
.question-choice,
.poll-empty,
.countdown-line {
  background: var(--theme-surface-raised);
  border-radius: var(--theme-radius);
}

.service-card:hover,
.support-card:hover,
.ranking-item:hover {
  background: var(--theme-surface-raised);
  border-color: var(--theme-line-strong);
  box-shadow: var(--theme-shadow);
  transform: none;
}

/* No decorative colored strips on cards or containers. */
.how-card::before,
.weekly-card::before,
.poll-spotlight::before,
.question-spotlight::before,
.home-hero::before,
.service-card::after,
.join-card::after,
.auth-story::after {
  content: none !important;
  display: none !important;
}

.how-number,
.lesson-step-number,
.service-icon,
.support-icon,
.question-choice-icon,
.auth-icon,
.ranking-place {
  background: var(--theme-primary-soft);
  border: 1px solid var(--theme-line);
  border-radius: var(--theme-radius);
  color: var(--theme-primary-hover);
  transform: none;
}

.ranking-bar {
  background: var(--theme-line);
}

.ranking-bar-fill,
.exam-dot,
.hero-rotator-dot.is-active {
  background: var(--theme-primary);
}

.hero-rotator-dot {
  background: var(--theme-faint);
}

.benefit-strip,
.join-card,
.auth-story {
  background: var(--theme-surface-raised);
  border: 1px solid var(--theme-line-strong);
  border-radius: var(--theme-radius-lg);
  color: var(--theme-ink);
}

.join-card h2,
.auth-story h1 {
  color: var(--theme-ink);
}

.join-card p,
.auth-story p {
  color: var(--theme-muted);
}

.auth-point,
.auth-note {
  background: var(--theme-surface);
  border: 1px solid var(--theme-line);
  border-radius: var(--theme-radius);
  color: var(--theme-muted);
}

.form-control,
.form-select,
input:not([type="checkbox"]):not([type="radio"]),
textarea,
select {
  background: var(--theme-surface);
  border: 1px solid var(--theme-line-strong);
  border-radius: var(--theme-radius);
  color: var(--theme-ink);
  font-family: var(--theme-font);
}

.form-control:focus,
.form-select:focus,
input:focus,
textarea:focus,
select:focus {
  background: var(--theme-surface);
  border-color: var(--theme-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--theme-primary) 20%, transparent);
  color: var(--theme-ink);
}

.mk-message,
.alert {
  background: var(--theme-surface);
  border-color: var(--theme-line);
  border-radius: var(--theme-radius);
  color: var(--theme-ink);
}

.mk-footer {
  background: var(--theme-surface);
  border-top: 1px solid var(--theme-line);
  color: var(--theme-ink);
}

.mk-footer-copy,
.mk-footer-meta,
.mk-footer-owner,
.mk-footer-project {
  color: var(--theme-muted);
}

.mk-footer-links a,
.mk-footer-owner strong {
  color: var(--theme-ink);
}

.mk-footer-meta {
  border-top-color: var(--theme-line);
}

@media (max-width: 767.98px) {
  body {
    font-size: 14px;
  }

  .mk-navbar {
    min-height: 58px;
  }

  .mk-surface-card,
  .how-card,
  .service-card,
  .weekly-card,
  .lesson-step,
  .support-card,
  .archive-callout,
  .poll-spotlight,
  .question-spotlight,
  .auth-card {
    border-radius: var(--theme-radius-lg);
  }
}


/* Sharp rendering guardrails: no blur, translucent text, or faux styling. */
.mk-navbar,
.btn,
.mk-surface-card,
.how-card,
.service-card,
.weekly-card,
.lesson-step,
.support-card,
.archive-callout,
.poll-spotlight,
.question-spotlight,
.auth-card,
.ranking-item,
.question-choice,
.countdown-line {
  filter: none !important;
  text-shadow: none !important;
}

.mk-footer-logo {
  height: 32px;
  object-fit: contain;
  width: 32px;
}

[data-site-theme="nomic-dark"] .mk-page-title,
[data-site-theme="nomic-dark"] .mk-section-heading,
[data-site-theme="nomic-dark"] .home-title,
[data-site-theme="nomic-dark"] .auth-story h1,
[data-site-theme="nomic-dark"] .join-card h2 {
  font-weight: 600;
}

[data-site-theme="zed-dark"] body {
  background-image: none !important;
}


[data-site-theme="linear-dark"] .mk-page-title,
[data-site-theme="linear-dark"] .mk-section-heading,
[data-site-theme="linear-dark"] .home-title,
[data-site-theme="linear-dark"] .auth-story h1,
[data-site-theme="linear-dark"] .join-card h2 {
  font-weight: 500;
  letter-spacing: -.035em;
}

[data-site-theme="cursor-light"] .mk-page-title,
[data-site-theme="cursor-light"] .mk-section-heading,
[data-site-theme="cursor-light"] .home-title,
[data-site-theme="cursor-light"] .auth-story h1,
[data-site-theme="cursor-light"] .join-card h2 {
  font-family: "MK Cursor Display", "MK Cursor", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: -.025em;
}

[data-site-theme="zed-dark"] .mk-page-title,
[data-site-theme="zed-dark"] .mk-section-heading,
[data-site-theme="zed-dark"] .home-title,
[data-site-theme="zed-dark"] .auth-story h1,
[data-site-theme="zed-dark"] .join-card h2 {
  font-weight: 500;
  letter-spacing: -.02em;
}


/* Clerk-inspired light design: original MatKulubu copy and identity, minimal product layout. */
[data-site-theme="clerk-light"] body {
  background: #f7f7f8 !important;
  font-size: 15px;
  letter-spacing: -.006em;
}

[data-site-theme="clerk-light"] .mk-navbar {
  background: rgba(255,255,255,.96) !important;
  border-bottom-color: #eeeef0;
  min-height: 56px;
  padding: .45rem 0;
}

[data-site-theme="clerk-light"] .mk-brand-logo {
  height: 32px;
  width: 32px;
}

[data-site-theme="clerk-light"] .mk-brand-text {
  font-size: 14px;
  font-weight: 700;
}

[data-site-theme="clerk-light"] .mk-nav-link {
  color: #42434d;
  font-size: 13px;
  padding: .42rem .62rem;
}

[data-site-theme="clerk-light"] .btn {
  font-size: 13px;
  min-height: 36px;
  padding: .48rem .78rem;
}

[data-site-theme="clerk-light"] .home-hero {
  background: radial-gradient(circle at center, rgba(247,247,248,.12) 0, #f7f7f8 72%);
  isolation: isolate;
  min-height: 560px;
  overflow: hidden;
  padding: clamp(5rem, 10vw, 8.5rem) 0 clamp(4rem, 8vw, 7rem);
  position: relative;
}

[data-site-theme="clerk-light"] .home-hero::before {
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(19,19,22,.045) 50%, transparent 50.2%),
    linear-gradient(transparent 49.8%, rgba(19,19,22,.04) 50%, transparent 50.2%),
    repeating-linear-gradient(90deg, transparent 0 118px, rgba(108,71,255,.055) 118px 119px, transparent 119px 236px);
  background-size: 176px 176px, 176px 176px, auto;
  border-radius: 0;
  content: "";
  filter: none;
  inset: 0;
  height: auto;
  opacity: 1;
  pointer-events: none;
  position: absolute;
  transform: none;
  width: auto;
  z-index: -2;
}

[data-site-theme="clerk-light"] .home-hero::after {
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

[data-site-theme="clerk-light"] .home-hero .row {
  display: block;
  margin: 0;
}

[data-site-theme="clerk-light"] .home-hero .col-lg-7,
[data-site-theme="clerk-light"] .home-hero .col-lg-5 {
  margin: 0 auto;
  padding: 0;
  width: 100%;
}

[data-site-theme="clerk-light"] .hero-copy-rotator {
  margin: 0 auto;
  max-width: 980px;
  min-height: 305px;
  text-align: center;
}

[data-site-theme="clerk-light"] .hero-copy {
  align-content: start;
  justify-items: center;
}

[data-site-theme="clerk-light"] .mk-eyebrow {
  background: transparent;
  border: 0;
  color: #6c47ff;
  font-size: 12px;
  font-weight: 600;
  padding: 0;
}

[data-site-theme="clerk-light"] .home-title {
  color: #131316;
  font-size: clamp(50px, 5.15vw, 72px);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1;
  margin: 1rem auto 1.25rem;
  max-width: 15ch;
  text-wrap: balance;
}

[data-site-theme="clerk-light"] .home-title .accent {
  color: #131316;
  display: inline;
}

[data-site-theme="clerk-light"] .home-lead {
  color: #5e5f6e;
  font-size: 16px;
  line-height: 1.55;
  margin: 0 auto;
  max-width: 690px;
  text-wrap: balance;
}

[data-site-theme="clerk-light"] .hero-actions {
  justify-content: center;
  margin-top: 1.55rem;
}

[data-site-theme="clerk-light"] .hero-actions .btn {
  min-height: 38px;
  padding: .55rem .9rem;
}

[data-site-theme="clerk-light"] .exam-line {
  justify-content: center;
  margin-top: 1.2rem;
}

[data-site-theme="clerk-light"] .hero-rotator {
  display: none;
}

[data-site-theme="clerk-light"] .hero-rotator-shell {
  margin-top: 1.15rem;
}

[data-site-theme="clerk-light"] .hero-rotator-nav {
  display: flex;
  justify-content: center;
}

[data-site-theme="clerk-light"] .hero-rotator-dot {
  height: 6px;
  width: 6px;
}

[data-site-theme="clerk-light"] .home-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

[data-site-theme="clerk-light"] .mk-section-heading {
  font-size: clamp(36px, 4.25vw, 56px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.04;
  max-width: 18ch;
  text-wrap: balance;
}

[data-site-theme="clerk-light"] .lesson-step,
[data-site-theme="clerk-light"] .support-card,
[data-site-theme="clerk-light"] .service-card,
[data-site-theme="clerk-light"] .archive-callout,
[data-site-theme="clerk-light"] .join-card {
  border-color: #eeeef0;
  box-shadow: none;
}

[data-site-theme="clerk-light"] .lesson-step:hover,
[data-site-theme="clerk-light"] .support-card:hover,
[data-site-theme="clerk-light"] .service-card:hover {
  border-color: #d9d9de;
  box-shadow: 0 12px 35px rgba(19,19,22,.06);
}

[data-site-theme="clerk-light"] .mk-footer {
  background: #131316;
  border-top: 0;
  color: #fff;
}

[data-site-theme="clerk-light"] .mk-footer-copy,
[data-site-theme="clerk-light"] .mk-footer-meta,
[data-site-theme="clerk-light"] .mk-footer-owner,
[data-site-theme="clerk-light"] .mk-footer-project {
  color: #aaaab4;
}

[data-site-theme="clerk-light"] .mk-footer-links a,
[data-site-theme="clerk-light"] .mk-footer-owner strong {
  color: #fff;
}

@media (max-width: 767.98px) {
  [data-site-theme="clerk-light"] .mk-navbar {
    min-height: 54px;
  }

  [data-site-theme="clerk-light"] .mk-brand-logo {
    height: 29px;
    margin-right: 7px;
    width: 29px;
  }

  [data-site-theme="clerk-light"] .mk-auth .btn {
    font-size: 11px;
    min-height: 32px;
    padding: .38rem .52rem;
  }

  [data-site-theme="clerk-light"] .home-hero {
    min-height: 530px;
    padding: 4.75rem 1rem 3.75rem;
  }

  [data-site-theme="clerk-light"] .hero-copy-rotator {
    min-height: 325px;
  }

  [data-site-theme="clerk-light"] .home-title {
    font-size: clamp(40px, 12vw, 52px);
    letter-spacing: -.05em;
    line-height: .98;
    margin-top: .85rem;
    max-width: 10.5ch;
  }

  [data-site-theme="clerk-light"] .home-lead {
    font-size: 15px;
    line-height: 1.55;
    max-width: 34ch;
  }

  [data-site-theme="clerk-light"] .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: .55rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 290px;
  }

  [data-site-theme="clerk-light"] .hero-actions .btn {
    justify-content: center;
    width: 100%;
  }

  [data-site-theme="clerk-light"] .exam-line {
    font-size: 11px;
    justify-content: center;
    line-height: 1.6;
  }

  [data-site-theme="clerk-light"] .mk-section-heading {
    font-size: clamp(34px, 10vw, 44px);
    max-width: 12ch;
  }

  [data-site-theme="clerk-light"] .lesson-flow-grid,
  [data-site-theme="clerk-light"] .support-grid,
  [data-site-theme="clerk-light"] .service-grid {
    grid-template-columns: 1fr;
  }

  [data-site-theme="clerk-light"] .archive-callout,
  [data-site-theme="clerk-light"] .join-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.25rem;
  }
}

@media (max-width: 390px) {
  [data-site-theme="clerk-light"] .mk-brand-text {
    display: none;
  }

  [data-site-theme="clerk-light"] .home-hero {
    padding-left: .5rem;
    padding-right: .5rem;
  }

  [data-site-theme="clerk-light"] .home-title {
    font-size: 39px;
  }
}


/* MatKulubu contrast and Cursor rebuild */
[data-site-theme="clerk-light"] .mk-brand,
[data-site-theme="clerk-light"] .mk-brand:hover,
[data-site-theme="clerk-light"] .mk-brand-text {
  color: #131316 !important;
  opacity: 1 !important;
}

[data-site-theme="clerk-light"] .support-section,
[data-site-theme="clerk-light"] .support-section .mk-section-heading,
[data-site-theme="clerk-light"] .support-section h2 {
  color: #131316 !important;
}

[data-site-theme="clerk-light"] .support-section .mk-section-copy,
[data-site-theme="clerk-light"] .support-section > .container > p {
  color: #5e5f6e !important;
}

[data-site-theme="clerk-light"] .support-card {
  background: #fff !important;
  color: #131316 !important;
}

[data-site-theme="clerk-light"] .support-card h3,
[data-site-theme="clerk-light"] .support-card .service-link {
  color: #131316 !important;
}

[data-site-theme="clerk-light"] .support-card p {
  color: #5e5f6e !important;
}

/* Cursor-inspired system: warm canvas, editorial typography, black product surfaces. */
[data-site-theme="cursor-light"] body {
  background: #f5f5f0 !important;
  color: #171713;
  font-family: "MK Cursor", Arial, Helvetica, ui-sans-serif, sans-serif;
  font-size: 16px;
  letter-spacing: -.012em;
}

[data-site-theme="cursor-light"] .mk-navbar {
  background: rgba(245,245,240,.97) !important;
  border-bottom: 1px solid #d9d9d2;
  min-height: 64px;
  padding: .7rem 0;
}

[data-site-theme="cursor-light"] .mk-brand,
[data-site-theme="cursor-light"] .mk-brand:hover,
[data-site-theme="cursor-light"] .mk-brand-text {
  color: #171713 !important;
  opacity: 1 !important;
}

[data-site-theme="cursor-light"] .mk-brand-logo {
  height: 34px;
  width: 34px;
}

[data-site-theme="cursor-light"] .mk-brand-text {
  font-size: 16px;
  font-weight: 600;
}

[data-site-theme="cursor-light"] .mk-nav-link {
  border-radius: 5px;
  color: #34342f;
  font-size: 14px;
  padding: .5rem .7rem;
}

[data-site-theme="cursor-light"] .mk-nav-link:hover {
  background: #e9e9e4;
  color: #000;
}

[data-site-theme="cursor-light"] .btn {
  border-radius: 5px !important;
  font-size: 14px;
  min-height: 42px;
  padding: .62rem .95rem;
}

[data-site-theme="cursor-light"] .btn-mk-primary,
[data-site-theme="cursor-light"] .btn-mk-signup,
[data-site-theme="cursor-light"] .btn-auth-primary {
  background: #171713;
  border-color: #171713;
  color: #fff;
}

[data-site-theme="cursor-light"] .btn-mk-secondary,
[data-site-theme="cursor-light"] .btn-mk-login,
[data-site-theme="cursor-light"] .btn-google {
  background: transparent;
  border-color: #bdbdb5;
  color: #171713;
}

[data-site-theme="cursor-light"] .home-hero {
  min-height: 560px;
  overflow: hidden;
  padding: clamp(3.75rem, 7vw, 6rem) 0 clamp(3.5rem, 6vw, 5.5rem);
}

[data-site-theme="cursor-light"] .home-hero::before {
  content: none !important;
}

[data-site-theme="cursor-light"] .home-hero .row {
  align-items: end !important;
}

[data-site-theme="cursor-light"] .hero-copy-rotator {
  min-height: 390px;
}

[data-site-theme="cursor-light"] .hero-copy {
  align-content: start;
}

[data-site-theme="cursor-light"] .mk-eyebrow {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #4d4d46;
  font-size: 13px;
  font-weight: 500;
  padding: 0;
  text-transform: none;
}

[data-site-theme="cursor-light"] .home-title {
  color: #171713;
  font-family: "MK Cursor Display", "MK Cursor", Arial, sans-serif;
  font-size: clamp(64px, 7.2vw, 108px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .92;
  margin: 1.25rem 0 1.6rem;
  max-width: 9.5ch;
  text-wrap: balance;
}

[data-site-theme="cursor-light"] .home-title .accent {
  color: #171713;
  display: inline;
}

[data-site-theme="cursor-light"] .home-lead {
  color: #565650;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.5;
  max-width: 620px;
}

[data-site-theme="cursor-light"] .hero-actions {
  margin-top: 2rem;
}

[data-site-theme="cursor-light"] .exam-line {
  color: #62625b;
  font-size: 13px;
}

[data-site-theme="cursor-light"] .hero-rotator-shell {
  margin-bottom: .25rem;
}

[data-site-theme="cursor-light"] .poll-spotlight,
[data-site-theme="cursor-light"] .question-spotlight {
  background: #171713;
  border: 0;
  border-radius: 7px;
  box-shadow: none;
  color: #fff;
  padding: clamp(1.25rem, 3vw, 2rem);
}

[data-site-theme="cursor-light"] .poll-spotlight h2,
[data-site-theme="cursor-light"] .question-spotlight h2,
[data-site-theme="cursor-light"] .ranking-topic,
[data-site-theme="cursor-light"] .question-choice strong {
  color: #fff;
}

[data-site-theme="cursor-light"] .weekly-copy,
[data-site-theme="cursor-light"] .question-spotlight-copy,
[data-site-theme="cursor-light"] .ranking-meta,
[data-site-theme="cursor-light"] .question-choice small {
  color: #b9b9b2 !important;
}

[data-site-theme="cursor-light"] .ranking-item,
[data-site-theme="cursor-light"] .question-choice,
[data-site-theme="cursor-light"] .countdown-line,
[data-site-theme="cursor-light"] .poll-empty {
  background: #262621;
  border-color: #3c3c35;
  color: #fff;
}

[data-site-theme="cursor-light"] .home-section {
  padding: clamp(3.25rem, 6vw, 5.25rem) 0;
}

[data-site-theme="cursor-light"] .mk-section-heading {
  color: #171713 !important;
  font-family: "MK Cursor Display", "MK Cursor", Arial, sans-serif;
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: .96;
  max-width: 13ch;
}

[data-site-theme="cursor-light"] .mk-section-copy {
  color: #62625b !important;
  font-size: 18px;
}

[data-site-theme="cursor-light"] .lesson-step,
[data-site-theme="cursor-light"] .service-card,
[data-site-theme="cursor-light"] .support-card,
[data-site-theme="cursor-light"] .archive-callout,
[data-site-theme="cursor-light"] .join-card {
  background: transparent;
  border: 1px solid #d9d9d2;
  border-radius: 6px;
  box-shadow: none;
  color: #171713;
}

[data-site-theme="cursor-light"] .support-section,
[data-site-theme="cursor-light"] .support-section h2,
[data-site-theme="cursor-light"] .support-card h3,
[data-site-theme="cursor-light"] .support-card .service-link {
  color: #171713 !important;
}

[data-site-theme="cursor-light"] .support-section p,
[data-site-theme="cursor-light"] .support-card p {
  color: #62625b !important;
}

[data-site-theme="cursor-light"] .mk-footer {
  background: #171713;
  border-top: 0;
  color: #fff;
}

[data-site-theme="cursor-light"] .mk-footer-copy,
[data-site-theme="cursor-light"] .mk-footer-meta,
[data-site-theme="cursor-light"] .mk-footer-owner,
[data-site-theme="cursor-light"] .mk-footer-project {
  color: #aaa9a2;
}

[data-site-theme="cursor-light"] .mk-footer-links a,
[data-site-theme="cursor-light"] .mk-footer-owner strong {
  color: #fff;
}

@media (max-width: 991.98px) {
  [data-site-theme="cursor-light"] .home-hero {
    min-height: auto;
    padding: 4rem 0;
  }

  [data-site-theme="cursor-light"] .hero-copy-rotator {
    min-height: 370px;
  }

  [data-site-theme="cursor-light"] .home-title {
    font-size: clamp(58px, 12vw, 86px);
    max-width: 10ch;
  }

  [data-site-theme="cursor-light"] .hero-rotator-shell {
    margin-top: 1.75rem;
  }
}

@media (max-width: 575.98px) {
  [data-site-theme="cursor-light"] .mk-navbar {
    min-height: 54px;
    padding: .45rem 0;
  }

  [data-site-theme="cursor-light"] .mk-brand-logo {
    height: 29px;
    margin-right: 7px;
    width: 29px;
  }

  [data-site-theme="cursor-light"] .mk-brand-text {
    font-size: 14px;
  }

  [data-site-theme="cursor-light"] .home-hero {
    padding: 3.25rem .35rem;
  }

  [data-site-theme="cursor-light"] .hero-copy-rotator {
    min-height: 390px;
  }

  [data-site-theme="cursor-light"] .home-title {
    font-size: clamp(48px, 15vw, 65px);
    letter-spacing: -.05em;
    line-height: .94;
  }

  [data-site-theme="cursor-light"] .home-lead {
    font-size: 16px;
    max-width: 34ch;
  }

  [data-site-theme="cursor-light"] .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  [data-site-theme="cursor-light"] .hero-actions .btn {
    justify-content: center;
    width: 100%;
  }

  [data-site-theme="cursor-light"] .mk-section-heading {
    font-size: clamp(43px, 13vw, 60px);
  }

  [data-site-theme="cursor-light"] .lesson-flow-grid,
  [data-site-theme="cursor-light"] .support-grid,
  [data-site-theme="cursor-light"] .service-grid {
    grid-template-columns: 1fr;
  }
}


/* Clerk internal pages */
[data-site-theme="clerk-light"] .poll-page,
[data-site-theme="clerk-light"] .question-shell {
  max-width: 1120px;
  padding-top: clamp(2rem, 4vw, 3.5rem);
}

[data-site-theme="clerk-light"] .poll-hero,
[data-site-theme="clerk-light"] .question-card {
  background: #fff !important;
  border: 1px solid #eeeef0 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  color: #131316 !important;
}

[data-site-theme="clerk-light"] .poll-hero::after {
  background: #eee9ff !important;
  height: 150px;
  opacity: 1;
  right: -70px;
  top: -80px;
  width: 150px;
}

[data-site-theme="clerk-light"] .poll-status {
  background: transparent !important;
  border-radius: 0;
  color: #6c47ff !important;
  font-size: 12px;
  padding: 0;
}

[data-site-theme="clerk-light"] .poll-hero h1,
[data-site-theme="clerk-light"] .question-intro h1 {
  color: #131316 !important;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.02;
}

[data-site-theme="clerk-light"] .poll-hero .mk-page-lead,
[data-site-theme="clerk-light"] .question-intro .mk-page-lead {
  color: #5e5f6e !important;
}

[data-site-theme="clerk-light"] .poll-summary-item {
  background: #fafafa !important;
  border: 1px solid #eeeef0 !important;
  border-radius: 8px;
}

[data-site-theme="clerk-light"] .poll-summary-label {
  color: #747581 !important;
}

[data-site-theme="clerk-light"] .poll-summary-value {
  color: #131316 !important;
}

[data-site-theme="clerk-light"] .exam-filter {
  background: #eeeef0 !important;
  border: 0;
  border-radius: 8px;
  gap: 4px;
  padding: 4px;
}

[data-site-theme="clerk-light"] .exam-filter .btn {
  border-radius: 6px !important;
  color: #5e5f6e !important;
  min-height: 40px;
}

[data-site-theme="clerk-light"] .exam-filter .btn-primary {
  background: #fff !important;
  box-shadow: 0 1px 3px rgba(19,19,22,.08);
  color: #131316 !important;
}

[data-site-theme="clerk-light"] .topic-list {
  background: #fff !important;
  border: 1px solid #eeeef0 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

[data-site-theme="clerk-light"] .topic-row {
  background: #fff !important;
  border-bottom-color: #eeeef0 !important;
  color: #131316 !important;
}

[data-site-theme="clerk-light"] .topic-row:hover {
  background: #fafafa !important;
}

[data-site-theme="clerk-light"] .topic-row.is-selected {
  background: #f6f3ff !important;
  box-shadow: inset 3px 0 #6c47ff;
}

[data-site-theme="clerk-light"] .topic-name {
  color: #131316 !important;
}

[data-site-theme="clerk-light"] .topic-category,
[data-site-theme="clerk-light"] .vote-count {
  color: #747581 !important;
}

[data-site-theme="clerk-light"] .vote-button {
  border-radius: 6px !important;
  min-width: 104px;
}

[data-site-theme="clerk-light"] .question-intro .mk-eyebrow {
  color: #6c47ff !important;
}

[data-site-theme="clerk-light"] .quota-pill {
  background: #6c47ff !important;
  border-color: #6c47ff !important;
  border-radius: 999px !important;
  color: #fff !important;
}

[data-site-theme="clerk-light"] .question-card .card-body {
  color: #131316 !important;
}

[data-site-theme="clerk-light"] .form-section {
  border-bottom-color: #eeeef0 !important;
}

[data-site-theme="clerk-light"] .form-step {
  color: #6c47ff !important;
}

[data-site-theme="clerk-light"] .question-card .form-label,
[data-site-theme="clerk-light"] .question-card legend {
  color: #131316 !important;
}

[data-site-theme="clerk-light"] .question-card textarea,
[data-site-theme="clerk-light"] .question-card input:not([type="radio"]):not([type="checkbox"]) {
  background: #fff !important;
  border: 1px solid #d9d9de !important;
  color: #131316 !important;
}

[data-site-theme="clerk-light"] .question-card textarea::placeholder,
[data-site-theme="clerk-light"] .question-card input::placeholder {
  color: #9394a1 !important;
  opacity: 1;
}

[data-site-theme="clerk-light"] .question-card .form-text {
  color: #747581 !important;
}

[data-site-theme="clerk-light"] .upload-choice,
[data-site-theme="clerk-light"] .solution-options label {
  background: #fafafa !important;
  border: 1px solid #eeeef0 !important;
  border-radius: 8px !important;
  color: #131316 !important;
}

[data-site-theme="clerk-light"] .upload-choice:hover,
[data-site-theme="clerk-light"] .upload-choice:focus-visible,
[data-site-theme="clerk-light"] .solution-options label:has(input:checked) {
  background: #f6f3ff !important;
  border-color: #6c47ff !important;
  color: #131316 !important;
  transform: none;
}

[data-site-theme="clerk-light"] .help-panel {
  background: #fafafa !important;
  border: 1px solid #eeeef0 !important;
  border-radius: 10px !important;
  color: #131316 !important;
}

[data-site-theme="clerk-light"] .help-panel h2 {
  color: #131316 !important;
}

[data-site-theme="clerk-light"] .help-list li {
  color: #5e5f6e !important;
}

@media (max-width: 767.98px) {
  [data-site-theme="clerk-light"] .poll-page,
  [data-site-theme="clerk-light"] .question-shell {
    padding-left: .75rem;
    padding-right: .75rem;
  }

  [data-site-theme="clerk-light"] .poll-hero h1,
  [data-site-theme="clerk-light"] .question-intro h1 {
    font-size: clamp(36px, 11vw, 48px);
  }

  [data-site-theme="clerk-light"] .poll-summary {
    gap: .5rem;
  }

  [data-site-theme="clerk-light"] .question-intro {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Cursor-only alignment and Turkish typography */
@font-face {
  font-family: "MK Cursor TR";
  src: url("https://cdn.jsdelivr.net/npm/@fontsource/inter@5.2.5/files/inter-latin-ext-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "MK Cursor TR";
  src: url("https://cdn.jsdelivr.net/npm/@fontsource/inter@5.2.5/files/inter-latin-ext-500-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "MK Cursor TR";
  src: url("https://cdn.jsdelivr.net/npm/@fontsource/inter@5.2.5/files/inter-latin-ext-600-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "MK Cursor TR";
  src: url("https://cdn.jsdelivr.net/npm/@fontsource/inter@5.2.5/files/inter-latin-ext-700-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

[data-site-theme="cursor-light"] {
  --theme-font: "MK Cursor TR", "MK Cursor", Arial, Helvetica, ui-sans-serif, sans-serif;
}

[data-site-theme="cursor-light"] .home-hero .row {
  align-items: start !important;
}

[data-site-theme="cursor-light"] .hero-rotator-shell {
  align-self: start !important;
  margin-top: 0 !important;
}

[data-site-theme="cursor-light"] .mk-page-title,
[data-site-theme="cursor-light"] .mk-section-heading,
[data-site-theme="cursor-light"] .home-title,
[data-site-theme="cursor-light"] .auth-story h1,
[data-site-theme="cursor-light"] .join-card h2 {
  font-family: "MK Cursor TR", "MK Cursor Display", "MK Cursor", Arial, sans-serif;
  font-weight: 600;
}


/* Geniş masaüstlerinde %120 tarayıcı yakınlaştırmasına benzer algısal ölçek. */
@media (min-width: 1600px) {
  html {
    font-size: 19.2px;
  }

  body {
    font-size: 18px;
  }

  [data-site-theme="clerk-light"] {
    --theme-container: 1344px;
  }

  [data-site-theme="cursor-light"] {
    --theme-container: 1450px;
  }

  .mk-navbar {
    min-height: 72px;
  }

  .mk-brand-logo {
    height: 46px;
    width: 46px;
  }

  .mk-brand-text {
    font-size: 1.1rem;
  }

  .mk-nav-link,
  .btn,
  .btn-mk-login,
  .btn-mk-signup,
  .btn-mk-primary,
  .btn-mk-secondary {
    font-size: 16px;
  }
}


/* Anyar-inspired option: the third selectable MatKulubu theme. */
[data-site-theme="anyar-light"] {
  color-scheme: light;
  --theme-canvas: #f5f9fc;
  --theme-surface: #ffffff;
  --theme-surface-raised: #e7f1fa;
  --theme-ink: #054a85;
  --theme-muted: #5e6f7e;
  --theme-faint: #8799a9;
  --theme-line: #d7e5ef;
  --theme-line-strong: #bdd3e3;
  --theme-primary: #054a85;
  --theme-primary-hover: #032e54;
  --theme-primary-soft: #fff3d6;
  --theme-button-ink: #ffffff;
  --theme-radius-sm: 8px;
  --theme-radius: 8px;
  --theme-radius-lg: 10px;
  --theme-container: 1180px;
  --theme-shadow: 0 14px 35px rgba(7, 62, 112, .12);
  --theme-font: "MK Inter", Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

[data-site-theme="anyar-light"] .mk-footer {
  background: #032e54;
  border-top: 0;
  color: #fff;
}

[data-site-theme="anyar-light"] .mk-footer-copy,
[data-site-theme="anyar-light"] .mk-footer-meta,
[data-site-theme="anyar-light"] .mk-footer-owner,
[data-site-theme="anyar-light"] .mk-footer-project {
  color: #c2d2df;
}

[data-site-theme="anyar-light"] .mk-footer-links a,
[data-site-theme="anyar-light"] .mk-footer-owner strong {
  color: #fff;
}


/* Vikipedi esintili klasik seçenek: sade, ciddi ve içerik odaklı. */
[data-site-theme="wikipedia-light"] {
  color-scheme: light;
  --theme-canvas: #f8f9fa;
  --theme-surface: #ffffff;
  --theme-surface-raised: #eaecf0;
  --theme-ink: #202122;
  --theme-muted: #54595d;
  --theme-faint: #72777d;
  --theme-line: #a2a9b1;
  --theme-line-strong: #72777d;
  --theme-primary: #3366cc;
  --theme-primary-hover: #2a4b8d;
  --theme-primary-soft: #eaf3ff;
  --theme-button-ink: #ffffff;
  --theme-radius-sm: 2px;
  --theme-radius: 2px;
  --theme-radius-lg: 2px;
  --theme-container: 1220px;
  --theme-shadow: none;
  --theme-font: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

[data-site-theme="wikipedia-light"] .mk-navbar {
  background: #fff;
  border-bottom: 1px solid #a2a9b1;
  box-shadow: none;
}

[data-site-theme="wikipedia-light"] .mk-brand-text {
  color: #202122;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

[data-site-theme="wikipedia-light"] .mk-nav-link {
  border-radius: 2px;
  color: #3366cc;
}

[data-site-theme="wikipedia-light"] .mk-nav-link:hover,
[data-site-theme="wikipedia-light"] .mk-nav-link:focus-visible {
  background: #eaecf0;
  color: #2a4b8d;
}

[data-site-theme="wikipedia-light"] .btn,
[data-site-theme="wikipedia-light"] .form-control,
[data-site-theme="wikipedia-light"] .form-select,
[data-site-theme="wikipedia-light"] .card {
  border-radius: 2px !important;
  box-shadow: none !important;
}

[data-site-theme="wikipedia-light"] a:not(.btn):not(.mk-brand) {
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

[data-site-theme="wikipedia-light"] .mk-footer {
  background: #eaecf0;
  border-top: 1px solid #a2a9b1;
  color: #202122;
}

[data-site-theme="wikipedia-light"] .mk-footer-copy,
[data-site-theme="wikipedia-light"] .mk-footer-meta,
[data-site-theme="wikipedia-light"] .mk-footer-owner,
[data-site-theme="wikipedia-light"] .mk-footer-project {
  color: #54595d;
}

[data-site-theme="wikipedia-light"] .mk-footer-links a,
[data-site-theme="wikipedia-light"] .mk-footer-owner strong {
  color: #3366cc;
}

/* Business Analyst template-inspired option: dark masthead, grey canvas and strict rules. */
[data-site-theme="analyst-classic"] {
  color-scheme: light;
  --theme-canvas: #e8e8e8;
  --theme-surface: #ffffff;
  --theme-surface-raised: #eeeeee;
  --theme-ink: #202122;
  --theme-muted: #636466;
  --theme-faint: #868686;
  --theme-line: #b2b2b2;
  --theme-line-strong: #636466;
  --theme-primary: #3c3d3f;
  --theme-primary-hover: #202122;
  --theme-primary-soft: #e2e2e2;
  --theme-button-ink: #ffffff;
  --theme-radius-sm: 0;
  --theme-radius: 0;
  --theme-radius-lg: 0;
  --theme-container: 960px;
  --theme-shadow: none;
  --theme-font: "Times New Roman", Times, serif;
}

[data-site-theme="analyst-classic"] body {
  background:
    linear-gradient(#2b2b2b 0 120px, transparent 120px),
    linear-gradient(180deg, #e8e8e8, #f2f2f2) !important;
  color: #636466;
  letter-spacing: .05em;
}

[data-site-theme="analyst-classic"] .mk-navbar {
  background: #2b2b2b !important;
  border-bottom: 1px solid #3e3e3e;
  min-height: 80px;
}

[data-site-theme="analyst-classic"] .mk-brand-text {
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: .07em;
  text-transform: uppercase;
}

[data-site-theme="analyst-classic"] .mk-nav-link {
  border-left: 1px solid #3e3e3e;
  border-radius: 0;
  color: #a0a0a0;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
}

[data-site-theme="analyst-classic"] .mk-nav-link:hover,
[data-site-theme="analyst-classic"] .mk-nav-link:focus-visible {
  background: transparent;
  color: #ffffff;
}

[data-site-theme="analyst-classic"] :is(.btn, .form-control, .form-select, .card) {
  border-radius: 0 !important;
  box-shadow: none !important;
}

[data-site-theme="analyst-classic"] :is(.mk-page-title, .mk-section-heading, .home-title, .join-card h2) {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  letter-spacing: .025em;
  text-transform: uppercase;
}

[data-site-theme="analyst-classic"] .mk-footer {
  background: #2b2b2b;
  border-top: 1px solid #3e3e3e;
  color: #ffffff;
}

[data-site-theme="analyst-classic"] :is(
  .mk-footer-copy,
  .mk-footer-meta,
  .mk-footer-owner,
  .mk-footer-project
) {
  color: #b9b9b9;
}

[data-site-theme="analyst-classic"] :is(.mk-footer-links a, .mk-footer-owner strong) {
  color: #ffffff;
}

/* Theme completion layer
 * Clerk is intentionally excluded. The two editorial landing pages keep their
 * bespoke component styling; shared chrome continues to inherit the active theme.
 */
[data-site-theme="anyar-light"] {
  --theme-canvas: #f5f9fc;
  --theme-surface: #ffffff;
  --theme-surface-raised: #e7f1fa;
  --theme-ink: #102a43;
  --theme-muted: #52697a;
  --theme-faint: #6d8292;
  --theme-line: #c9dbe8;
  --theme-line-strong: #9bbbd0;
  --theme-primary: #054a85;
  --theme-primary-hover: #032e54;
  --theme-primary-soft: #e7f1fa;
  --theme-accent: #a95f00;
  --theme-accent-soft: #fff1cc;
  --mk-coral: var(--theme-accent);
  --mk-coral-soft: var(--theme-accent-soft);
}

[data-site-theme="wikipedia-light"] {
  --theme-canvas: #f8f9fa;
  --theme-surface: #ffffff;
  --theme-surface-raised: #eaecf0;
  --theme-ink: #202122;
  --theme-muted: #54595d;
  --theme-faint: #72777d;
  --theme-line: #a2a9b1;
  --theme-line-strong: #72777d;
  --theme-primary: #3366cc;
  --theme-primary-hover: #2a4b8d;
  --theme-primary-soft: #eaf3ff;
  --theme-accent: #116f5c;
  --theme-accent-soft: #e8f5f0;
  --mk-coral: var(--theme-accent);
  --mk-coral-soft: var(--theme-accent-soft);
}

[data-site-theme="cursor-light"] {
  --theme-canvas: #f5f5f0;
  --theme-surface: #ffffff;
  --theme-surface-raised: #e9e9e4;
  --theme-ink: #171713;
  --theme-muted: #56564f;
  --theme-faint: #77776f;
  --theme-line: #cfcfc7;
  --theme-line-strong: #a9a9a0;
  --theme-primary: #171713;
  --theme-primary-hover: #000000;
  --theme-primary-soft: #e9e9e4;
}

:is(
  [data-site-theme="anyar-light"],
  [data-site-theme="wikipedia-light"],
  [data-site-theme="cursor-light"]
) body:not([data-page="/nasil-calisir/"]):not([data-page="/gonullu-ogretmen-ol/"]) {
  --bs-body-bg: var(--theme-canvas);
  --bs-body-color: var(--theme-ink);
  --bs-border-color: var(--theme-line);
  background: var(--theme-canvas) !important;
  color: var(--theme-ink);
}

:is(
  [data-site-theme="anyar-light"],
  [data-site-theme="wikipedia-light"],
  [data-site-theme="cursor-light"]
) body:not([data-page="/nasil-calisir/"]):not([data-page="/gonullu-ogretmen-ol/"])
:is(h1, h2, h3, h4, h5, h6, .mk-page-title, .mk-section-heading, .question-preview, .topic-name) {
  color: var(--theme-ink) !important;
}

:is(
  [data-site-theme="anyar-light"],
  [data-site-theme="wikipedia-light"],
  [data-site-theme="cursor-light"]
) body:not([data-page="/nasil-calisir/"]):not([data-page="/gonullu-ogretmen-ol/"])
:is(.mk-page-lead, .mk-section-copy, .text-muted, .form-text, .question-number, .disabled-action) {
  color: var(--theme-muted) !important;
}

:is(
  [data-site-theme="anyar-light"],
  [data-site-theme="wikipedia-light"],
  [data-site-theme="cursor-light"]
) body:not([data-page="/nasil-calisir/"]):not([data-page="/gonullu-ogretmen-ol/"])
:is(
  .card,
  .mk-surface-card,
  .legal-card,
  .question-card,
  .question-item,
  .empty-questions,
  .help-panel,
  .topic-list,
  .topic-row,
  .poll-hero,
  .poll-summary-item,
  .archive-card,
  .archive-callout,
  .lesson-step,
  .service-card,
  .support-card,
  .join-card
) {
  background: var(--theme-surface) !important;
  border-color: var(--theme-line) !important;
  color: var(--theme-ink) !important;
  box-shadow: var(--theme-shadow) !important;
}

:is(
  [data-site-theme="anyar-light"],
  [data-site-theme="wikipedia-light"],
  [data-site-theme="cursor-light"]
) body:not([data-page="/nasil-calisir/"]):not([data-page="/gonullu-ogretmen-ol/"])
.question-item.answered {
  background: var(--theme-surface-raised) !important;
}

:is(
  [data-site-theme="anyar-light"],
  [data-site-theme="wikipedia-light"],
  [data-site-theme="cursor-light"]
) body:not([data-page="/nasil-calisir/"]):not([data-page="/gonullu-ogretmen-ol/"])
:is(.form-control, .form-select, textarea, input:not([type="radio"]):not([type="checkbox"])) {
  background-color: var(--theme-surface) !important;
  border-color: var(--theme-line-strong) !important;
  color: var(--theme-ink) !important;
}

:is(
  [data-site-theme="anyar-light"],
  [data-site-theme="wikipedia-light"],
  [data-site-theme="cursor-light"]
) body:not([data-page="/nasil-calisir/"]):not([data-page="/gonullu-ogretmen-ol/"])
:is(.form-control, .form-select, textarea, input)::placeholder {
  color: var(--theme-faint) !important;
  opacity: 1;
}

:is(
  [data-site-theme="anyar-light"],
  [data-site-theme="wikipedia-light"],
  [data-site-theme="cursor-light"]
) body:not([data-page="/nasil-calisir/"]):not([data-page="/gonullu-ogretmen-ol/"])
:is(.form-control, .form-select, textarea, input, button, a):focus-visible {
  outline: 3px solid color-mix(in srgb, var(--theme-primary) 48%, white);
  outline-offset: 3px;
}

:is(
  [data-site-theme="anyar-light"],
  [data-site-theme="wikipedia-light"],
  [data-site-theme="cursor-light"]
) body:not([data-page="/nasil-calisir/"]):not([data-page="/gonullu-ogretmen-ol/"])
:is(.form-control, .form-select):focus {
  border-color: var(--theme-primary) !important;
  box-shadow: 0 0 0 .22rem color-mix(in srgb, var(--theme-primary) 18%, transparent) !important;
}

:is(
  [data-site-theme="anyar-light"],
  [data-site-theme="wikipedia-light"],
  [data-site-theme="cursor-light"]
) body:not([data-page="/nasil-calisir/"]):not([data-page="/gonullu-ogretmen-ol/"])
:is(.upload-choice, .solution-options label) {
  background: var(--theme-surface-raised) !important;
  border-color: var(--theme-line) !important;
  color: var(--theme-ink) !important;
}

:is(
  [data-site-theme="anyar-light"],
  [data-site-theme="wikipedia-light"],
  [data-site-theme="cursor-light"]
) body:not([data-page="/nasil-calisir/"]):not([data-page="/gonullu-ogretmen-ol/"])
:is(.upload-choice:hover, .upload-choice:focus-visible, .solution-options label:has(input:checked), .topic-row.is-selected) {
  background: var(--theme-primary-soft) !important;
  border-color: var(--theme-primary) !important;
  color: var(--theme-ink) !important;
}

:is(
  [data-site-theme="anyar-light"],
  [data-site-theme="wikipedia-light"],
  [data-site-theme="cursor-light"]
) body:not([data-page="/nasil-calisir/"]):not([data-page="/gonullu-ogretmen-ol/"])
:is(.question-actions, .form-section) {
  border-color: var(--theme-line) !important;
}

:is(
  [data-site-theme="anyar-light"],
  [data-site-theme="wikipedia-light"],
  [data-site-theme="cursor-light"]
) body:not([data-page="/nasil-calisir/"]):not([data-page="/gonullu-ogretmen-ol/"])
:is(.mk-eyebrow, .status-pill, .empty-icon) {
  background: var(--theme-primary-soft);
  border-color: var(--theme-line);
  color: var(--theme-primary-hover);
}

:is(
  [data-site-theme="anyar-light"],
  [data-site-theme="wikipedia-light"],
  [data-site-theme="cursor-light"]
) body:not([data-page="/nasil-calisir/"]):not([data-page="/gonullu-ogretmen-ol/"])
.table {
  --bs-table-bg: var(--theme-surface);
  --bs-table-border-color: var(--theme-line);
  --bs-table-color: var(--theme-ink);
  color: var(--theme-ink);
}

:is(
  [data-site-theme="anyar-light"],
  [data-site-theme="wikipedia-light"],
  [data-site-theme="cursor-light"]
) body:not([data-page="/nasil-calisir/"]):not([data-page="/gonullu-ogretmen-ol/"])
:is(.modal-content, .offcanvas, .list-group-item) {
  background: var(--theme-surface);
  border-color: var(--theme-line);
  color: var(--theme-ink);
}

[data-site-theme="anyar-light"] body[data-page="/"] .home-hero {
  background: #054a85 !important;
  color: #ffffff;
}

[data-site-theme="anyar-light"] body[data-page="/"]
:is(.home-title, .home-title .accent, .home-lead, .exam-line) {
  color: #ffffff !important;
}

[data-site-theme="anyar-light"] body[data-page="/"] .mk-eyebrow {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .4);
  color: #ffffff;
}

[data-site-theme="anyar-light"] body[data-page="/"] .anyar-shortcut {
  border-top: 4px solid var(--theme-accent);
}

[data-site-theme="wikipedia-light"]
body:not([data-page="/nasil-calisir/"]):not([data-page="/gonullu-ogretmen-ol/"])
:is(.mk-page-title, .mk-section-heading, .legal-card h2, .error-code) {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.015em;
}

[data-site-theme="wikipedia-light"]
body:not([data-page="/nasil-calisir/"]):not([data-page="/gonullu-ogretmen-ol/"])
:is(.card, .mk-surface-card, .legal-card, .question-card, .question-item, .empty-questions, .help-panel) {
  border-radius: 2px !important;
  box-shadow: none !important;
}

[data-site-theme="cursor-light"]
body:not([data-page="/nasil-calisir/"]):not([data-page="/gonullu-ogretmen-ol/"])
:is(.card, .mk-surface-card, .legal-card, .question-card, .question-item, .empty-questions, .help-panel) {
  border-radius: 5px !important;
  box-shadow: none !important;
}

/* Theme-specific application pages
 * Poll, archive and member question screens share content, but each selectable
 * non-Clerk theme now supplies its own layout, density and component language.
 */
:is(
  [data-site-theme="anyar-light"],
  [data-site-theme="wikipedia-light"],
  [data-site-theme="cursor-light"]
) body:is(
  [data-page="/anket/"],
  [data-page="/arsiv/"],
  [data-page="/sorularim/yeni/"],
  [data-page="/sorularim/"]
) :is(.poll-page, .questions-shell, .question-shell) {
  color: var(--theme-ink);
}

:is(
  [data-site-theme="anyar-light"],
  [data-site-theme="wikipedia-light"],
  [data-site-theme="cursor-light"]
) body:is(
  [data-page="/anket/"],
  [data-page="/arsiv/"],
  [data-page="/sorularim/yeni/"],
  [data-page="/sorularim/"]
) :is(
  .poll-hero,
  .topic-list,
  .archive-card,
  .archive-empty,
  .support-stats,
  .question-card,
  .help-panel,
  .question-item,
  .empty-questions
) {
  background: var(--theme-surface) !important;
  border-color: var(--theme-line) !important;
  color: var(--theme-ink) !important;
}

:is(
  [data-site-theme="anyar-light"],
  [data-site-theme="wikipedia-light"],
  [data-site-theme="cursor-light"]
) body:is(
  [data-page="/anket/"],
  [data-page="/arsiv/"],
  [data-page="/sorularim/yeni/"],
  [data-page="/sorularim/"]
) :is(
  .poll-hero h1,
  .archive-title,
  .support-stats-copy h2,
  .question-intro h1,
  .questions-head h1,
  .question-preview,
  .archive-card h2,
  .topic-name,
  .help-panel h2
) {
  color: var(--theme-ink) !important;
}

:is(
  [data-site-theme="anyar-light"],
  [data-site-theme="wikipedia-light"],
  [data-site-theme="cursor-light"]
) body:is(
  [data-page="/anket/"],
  [data-page="/arsiv/"],
  [data-page="/sorularim/yeni/"],
  [data-page="/sorularim/"]
) :is(
  .poll-hero .mk-page-lead,
  .archive-lead,
  .archive-meta,
  .archive-ranking,
  .support-stats-copy p,
  .support-stat span,
  .questions-head p,
  .question-number,
  .question-item .text-muted,
  .help-list li,
  .disabled-action
) {
  color: var(--theme-muted) !important;
}

/* Anyar: corporate blue bands, warm gold actions and elevated information cards. */
[data-site-theme="anyar-light"] body[data-page="/anket/"] .poll-hero,
[data-site-theme="anyar-light"] body[data-page="/arsiv/"] .archive-hero {
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, .13), transparent 26rem),
    linear-gradient(135deg, #032e54, #075b9b);
  color: #ffffff;
}

[data-site-theme="anyar-light"] body[data-page="/anket/"] .poll-hero {
  border: 0 !important;
  border-radius: 10px;
  box-shadow: 0 18px 42px rgba(3, 46, 84, .18) !important;
}

[data-site-theme="anyar-light"] body[data-page="/anket/"]
:is(.poll-hero h1, .poll-hero .mk-page-lead, .poll-summary-label, .poll-summary-value),
[data-site-theme="anyar-light"] body[data-page="/arsiv/"]
:is(.archive-title, .archive-lead, .archive-hero .mk-eyebrow) {
  color: #ffffff !important;
}

[data-site-theme="anyar-light"] body[data-page="/anket/"] .poll-summary-item {
  background: rgba(255, 255, 255, .11) !important;
  border-color: rgba(255, 255, 255, .3) !important;
  border-radius: 8px;
}

[data-site-theme="anyar-light"] body[data-page="/anket/"] .exam-filter,
[data-site-theme="anyar-light"] body[data-page="/anket/"] .topic-list,
[data-site-theme="anyar-light"] body[data-page="/arsiv/"] :is(.support-stats, .archive-card, .archive-empty),
[data-site-theme="anyar-light"] body:is([data-page="/sorularim/"], [data-page="/sorularim/yeni/"])
:is(.question-card, .help-panel, .question-item, .empty-questions) {
  border-radius: 8px !important;
  box-shadow: 0 12px 32px rgba(7, 62, 112, .1) !important;
}

[data-site-theme="anyar-light"] body[data-page="/anket/"] .topic-row.is-selected {
  background: #e7f1fa !important;
  box-shadow: inset 4px 0 #054a85;
}

[data-site-theme="anyar-light"] body[data-page="/arsiv/"] .archive-card::before {
  background: linear-gradient(90deg, #054a85, #a95f00);
}

[data-site-theme="anyar-light"] body:is([data-page="/sorularim/"], [data-page="/sorularim/yeni/"])
:is(.questions-head, .question-intro) {
  background: linear-gradient(135deg, #032e54, #075b9b);
  border-radius: 10px;
  color: #ffffff;
  margin-bottom: 1rem;
  padding: clamp(1rem, 3vw, 1.6rem);
}

[data-site-theme="anyar-light"] body:is([data-page="/sorularim/"], [data-page="/sorularim/yeni/"])
:is(.questions-head h1, .questions-head p, .question-intro h1, .question-intro .mk-page-lead) {
  color: #ffffff !important;
}

[data-site-theme="anyar-light"] body[data-page="/sorularim/"] .quota-card,
[data-site-theme="anyar-light"] body[data-page="/sorularim/yeni/"] .quota-pill {
  background: #a95f00 !important;
  border-color: #a95f00 !important;
  color: #ffffff !important;
}

[data-site-theme="anyar-light"] body[data-page="/sorularim/yeni/"] .help-panel {
  background: #e7f1fa !important;
  border-top: 4px solid #a95f00 !important;
}

/* Wikipedia: compact article rhythm, serif page titles and square portal panels. */
[data-site-theme="wikipedia-light"] body:is(
  [data-page="/anket/"],
  [data-page="/arsiv/"],
  [data-page="/sorularim/yeni/"],
  [data-page="/sorularim/"]
) :is(.poll-page, .questions-shell, .question-shell) {
  max-width: 1120px;
}

[data-site-theme="wikipedia-light"] body:is(
  [data-page="/anket/"],
  [data-page="/arsiv/"],
  [data-page="/sorularim/yeni/"],
  [data-page="/sorularim/"]
) :is(.poll-hero, .archive-hero, .questions-head, .question-intro) {
  border-bottom: 1px solid #a2a9b1;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

[data-site-theme="wikipedia-light"] body:is(
  [data-page="/anket/"],
  [data-page="/arsiv/"],
  [data-page="/sorularim/yeni/"],
  [data-page="/sorularim/"]
) :is(.poll-hero h1, .archive-title, .questions-head h1, .question-intro h1) {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 2.65rem);
  font-weight: 400 !important;
  letter-spacing: -.02em;
  line-height: 1.12;
}

[data-site-theme="wikipedia-light"] body[data-page="/anket/"] .poll-hero {
  border: 1px solid #a2a9b1 !important;
  border-radius: 2px;
  box-shadow: none !important;
  padding: clamp(1rem, 3vw, 1.5rem);
}

[data-site-theme="wikipedia-light"] body[data-page="/anket/"] .poll-hero::after {
  display: none;
}

[data-site-theme="wikipedia-light"] body[data-page="/anket/"] .poll-summary {
  gap: 0;
}

[data-site-theme="wikipedia-light"] body[data-page="/anket/"] .poll-summary-item {
  background: #f8f9fa !important;
  border-color: #a2a9b1 !important;
  border-radius: 0;
  margin-left: -1px;
}

[data-site-theme="wikipedia-light"] body[data-page="/anket/"] :is(.exam-filter, .topic-list, .topic-row),
[data-site-theme="wikipedia-light"] body[data-page="/arsiv/"] :is(.support-stats, .archive-card, .archive-empty),
[data-site-theme="wikipedia-light"] body:is([data-page="/sorularim/"], [data-page="/sorularim/yeni/"])
:is(.question-card, .help-panel, .question-item, .empty-questions, .quota-card) {
  border-radius: 2px !important;
  box-shadow: none !important;
}

[data-site-theme="wikipedia-light"] body[data-page="/anket/"] .exam-filter {
  background: #eaecf0 !important;
  border: 1px solid #a2a9b1;
}

[data-site-theme="wikipedia-light"] body[data-page="/anket/"] .topic-row:hover,
[data-site-theme="wikipedia-light"] body[data-page="/anket/"] .topic-row.is-selected {
  background: #eaf3ff !important;
  box-shadow: inset 3px 0 #3366cc;
}

[data-site-theme="wikipedia-light"] body[data-page="/arsiv/"] .archive-list {
  gap: .75rem;
}

[data-site-theme="wikipedia-light"] body[data-page="/arsiv/"] .archive-card::before {
  height: 3px;
}

[data-site-theme="wikipedia-light"] body[data-page="/arsiv/"] .archive-card h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

[data-site-theme="wikipedia-light"] body[data-page="/sorularim/"] .quota-card {
  background: #eaf3ff !important;
  border: 1px solid #a2a9b1 !important;
  border-left: 4px solid #3366cc !important;
  color: #202122 !important;
}

[data-site-theme="wikipedia-light"] body[data-page="/sorularim/"] .status-pill {
  border: 1px solid #a2a9b1;
  border-radius: 2px;
}

[data-site-theme="wikipedia-light"] body[data-page="/sorularim/yeni/"] .help-panel {
  background: #f8f9fa !important;
}

[data-site-theme="wikipedia-light"] body[data-page="/sorularim/yeni/"]
:is(.upload-choice, .solution-options label) {
  border-radius: 2px !important;
}

/* Cursor: warm canvas, black controls, strict edges and generous whitespace. */
[data-site-theme="cursor-light"] body:is(
  [data-page="/anket/"],
  [data-page="/arsiv/"],
  [data-page="/sorularim/yeni/"],
  [data-page="/sorularim/"]
) :is(.poll-page, .questions-shell, .question-shell) {
  padding-top: clamp(2.5rem, 6vw, 5rem);
}

[data-site-theme="cursor-light"] body[data-page="/anket/"] .poll-hero {
  background: #ffffff !important;
  border: 2px solid #171713 !important;
  border-radius: 5px;
  box-shadow: none !important;
}

[data-site-theme="cursor-light"] body:is(
  [data-page="/anket/"],
  [data-page="/arsiv/"],
  [data-page="/sorularim/yeni/"],
  [data-page="/sorularim/"]
) :is(.poll-hero h1, .archive-title, .questions-head h1, .question-intro h1) {
  font-family: "MK Cursor Display", "MK Cursor", Arial, sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400 !important;
  letter-spacing: -.045em;
}

[data-site-theme="cursor-light"] body[data-page="/anket/"] :is(.poll-summary-item, .exam-filter, .topic-list),
[data-site-theme="cursor-light"] body[data-page="/arsiv/"] :is(.support-stats, .archive-card, .archive-empty),
[data-site-theme="cursor-light"] body:is([data-page="/sorularim/"], [data-page="/sorularim/yeni/"])
:is(.question-card, .help-panel, .question-item, .empty-questions, .quota-card) {
  border: 1px solid #a9a9a0 !important;
  border-radius: 5px !important;
  box-shadow: none !important;
}

[data-site-theme="cursor-light"] body[data-page="/anket/"] .topic-row.is-selected {
  background: #e9e9e4 !important;
  box-shadow: inset 4px 0 #171713;
}

[data-site-theme="cursor-light"] body[data-page="/arsiv/"] .archive-card::before {
  background: #171713;
  height: 4px;
}

[data-site-theme="cursor-light"] body[data-page="/sorularim/"] .quota-card {
  background: #171713 !important;
  color: #ffffff !important;
}

[data-site-theme="cursor-light"] body[data-page="/sorularim/"] .status-pill {
  border: 1px solid #a9a9a0;
}

[data-site-theme="cursor-light"] body[data-page="/sorularim/yeni/"] .help-panel {
  background: #e9e9e4 !important;
}

[data-site-theme="cursor-light"] body[data-page="/sorularim/yeni/"]
:is(.upload-choice, .solution-options label) {
  border-radius: 5px !important;
}

/* Wikipedia homepage hierarchy: use the portal title scale consistently. */
[data-site-theme="wikipedia-light"] body[data-page="/"]
:is(
  .lesson-flow .mk-eyebrow,
  .lesson-flow .mk-section-heading,
  .support-section .mk-eyebrow,
  .support-section .mk-section-heading,
  #arsiv .mk-eyebrow,
  #arsiv .archive-callout h2
) {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: 0;
  line-height: 1.25;
}

[data-site-theme="wikipedia-light"] body[data-page="/"]
:is(.lesson-flow .mk-eyebrow, .support-section .mk-eyebrow, #arsiv .mk-eyebrow) {
  border-radius: 0;
  text-transform: none;
}

[data-site-theme="wikipedia-light"] body[data-page="/"] #arsiv.home-section {
  padding-top: 1rem !important;
}

/* Anyar screenshot refinements: restore poll contrast and reduce above-fold height. */
[data-site-theme="anyar-light"] body[data-page="/anket/"] .poll-page {
  padding-top: clamp(1.25rem, 3vw, 2rem);
}

[data-site-theme="anyar-light"] body[data-page="/anket/"] .poll-hero {
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 255, 255, .14), transparent 20rem),
    linear-gradient(135deg, #032e54, #075b9b) !important;
  padding: clamp(1.25rem, 3vw, 2rem);
}

[data-site-theme="anyar-light"] body[data-page="/anket/"] .poll-hero::after {
  background: #a95f00;
  height: 150px;
  opacity: .55;
  right: -58px;
  top: -78px;
  width: 150px;
}

[data-site-theme="anyar-light"] body[data-page="/anket/"] .poll-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.65rem);
  margin: .75rem 0 .35rem;
}

[data-site-theme="anyar-light"] body[data-page="/anket/"] .poll-hero .mk-page-lead {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 0;
}

[data-site-theme="anyar-light"] body[data-page="/anket/"] .poll-summary {
  margin-top: 1rem;
}

[data-site-theme="anyar-light"] body[data-page="/anket/"] .poll-summary-item {
  padding: .7rem .8rem;
}

/* Anyar archive: compact masthead so archive content enters the first viewport. */
[data-site-theme="anyar-light"] body[data-page="/arsiv/"] .archive-hero {
  padding: clamp(1.75rem, 4vw, 3rem) 0 clamp(1.5rem, 3vw, 2.25rem);
}

[data-site-theme="anyar-light"] body[data-page="/arsiv/"] .archive-title {
  font-size: clamp(2.35rem, 5vw, 3.75rem);
  letter-spacing: -.055em;
  line-height: 1;
  margin: .65rem 0 .75rem;
  max-width: 14ch;
}

[data-site-theme="anyar-light"] body[data-page="/arsiv/"] .archive-lead {
  font-size: clamp(.95rem, 1.6vw, 1.08rem);
  line-height: 1.55;
  max-width: 42rem;
}

[data-site-theme="anyar-light"] body[data-page="/arsiv/"] .archive-hero .mk-eyebrow {
  font-size: .72rem;
  padding: .38rem .65rem;
}

/* Anyar homepage: shorter hero and smaller cards expose the shortcut row sooner. */
[data-site-theme="anyar-light"] body[data-page="/"] .home-hero {
  padding: clamp(2.2rem, 4vw, 3.4rem) 0 clamp(5.4rem, 7vw, 6.8rem);
}

[data-site-theme="anyar-light"] body[data-page="/"] .home-title {
  font-size: clamp(2.25rem, 4vw, 3.35rem);
  line-height: 1.04;
  margin-bottom: .85rem;
  max-width: 760px;
}

[data-site-theme="anyar-light"] body[data-page="/"] .home-lead {
  font-size: clamp(.98rem, 1.5vw, 1.08rem);
  line-height: 1.5;
  max-width: 720px;
}

[data-site-theme="anyar-light"] body[data-page="/"] .hero-actions {
  margin-top: 1.1rem;
}

[data-site-theme="anyar-light"] body[data-page="/"] .home-hero .btn {
  min-height: 42px;
  padding: .6rem 1.15rem;
}

[data-site-theme="anyar-light"] body[data-page="/"] .hero-membership-note {
  margin-top: .45rem;
}

[data-site-theme="anyar-light"] body[data-page="/"] .exam-line {
  margin-top: .8rem;
}

[data-site-theme="anyar-light"] body[data-page="/"] .anyar-shortcuts {
  margin-top: clamp(-4.6rem, -5vw, -3.8rem);
}

[data-site-theme="anyar-light"] body[data-page="/"] .anyar-shortcut-grid {
  gap: 1rem;
}

[data-site-theme="anyar-light"] body[data-page="/"] .anyar-shortcut {
  min-height: 180px;
  padding: 1.2rem 1.15rem;
}

[data-site-theme="anyar-light"] body[data-page="/"] .anyar-shortcut-icon {
  font-size: 1.35rem;
  height: 46px;
  width: 46px;
}

[data-site-theme="anyar-light"] body[data-page="/"] .anyar-shortcut h2 {
  margin: .8rem 0 .35rem;
}

[data-site-theme="anyar-light"] body[data-page="/"] .anyar-shortcut .service-link {
  padding-top: .55rem;
}

@media (max-width: 767.98px) {
  [data-site-theme="anyar-light"] body[data-page="/"] .home-hero {
    padding: 2.25rem 0 5.25rem;
  }

  [data-site-theme="anyar-light"] body[data-page="/"] .anyar-shortcuts {
    margin-top: -3.8rem;
  }

  [data-site-theme="anyar-light"] body[data-page="/arsiv/"] .archive-title {
    font-size: clamp(2.15rem, 10vw, 3rem);
  }
}



/* Anyar ana sayfa hero ölçüleri: sonraki tema güncellemelerinde korunmalıdır. */
[data-site-theme="anyar-light"] .home-hero {
  background: #054a85;
  color: #fff;
  padding: clamp(5rem, 9vw, 7.2rem) 0 clamp(8.5rem, 13vw, 11rem) !important;
  text-align: center;
}

/* SGA: Anyar Sorularım ekranında daha zarif ve kompakt tipografi. */
[data-site-theme="anyar-light"] body[data-page="/sorularim/"] .questions-shell {
  padding-top: clamp(1.25rem, 3vw, 2.25rem);
}

[data-site-theme="anyar-light"] body[data-page="/sorularim/"] .questions-head {
  border-radius: 8px;
  padding: clamp(1rem, 2.5vw, 1.45rem) !important;
}

[data-site-theme="anyar-light"] body[data-page="/sorularim/"] .questions-head .mk-eyebrow {
  font-size: .68rem !important;
  font-weight: 600 !important;
  letter-spacing: .04em;
  padding: .32rem .58rem;
}

[data-site-theme="anyar-light"] body[data-page="/sorularim/"] .questions-head h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.25rem) !important;
  font-weight: 650 !important;
  letter-spacing: -.025em;
  line-height: 1.08;
  margin: .65rem 0 .35rem;
}

[data-site-theme="anyar-light"] body[data-page="/sorularim/"] .questions-head p {
  font-size: clamp(.85rem, 1.25vw, .95rem) !important;
  font-weight: 400 !important;
  line-height: 1.45;
}

[data-site-theme="anyar-light"] body[data-page="/sorularim/"] .questions-head .btn {
  font-size: .72rem !important;
  font-weight: 600 !important;
  min-height: 34px !important;
  padding: .45rem .72rem !important;
}

[data-site-theme="anyar-light"] body[data-page="/sorularim/"] .quota-card {
  border-radius: 7px !important;
  font-size: .75rem !important;
  font-weight: 600 !important;
  min-height: 0;
  padding: .62rem .78rem !important;
}

[data-site-theme="anyar-light"] body[data-page="/sorularim/"] .empty-questions {
  border-radius: 7px !important;
  padding: clamp(1.7rem, 4vw, 2.5rem) 1rem !important;
}

[data-site-theme="anyar-light"] body[data-page="/sorularim/"] .empty-questions h2 {
  font-size: clamp(1.05rem, 2vw, 1.25rem) !important;
  font-weight: 600 !important;
  letter-spacing: -.01em;
}

[data-site-theme="anyar-light"] body[data-page="/sorularim/"] .empty-questions p {
  font-size: .82rem !important;
  font-weight: 400 !important;
}

[data-site-theme="anyar-light"] body[data-page="/sorularim/"] .empty-questions .btn {
  font-size: .72rem !important;
  font-weight: 600 !important;
  min-height: 34px !important;
  padding: .45rem .78rem !important;
}

[data-site-theme="anyar-light"] body[data-page="/sorularim/"] .empty-icon {
  font-size: 1rem !important;
  height: 40px !important;
  width: 40px !important;
}


/* SGA: açık temalarda anket metinlerinin yüzey rengine yenilmesini engelle. */
:is(
  [data-site-theme="anyar-light"],
  [data-site-theme="wikipedia-light"],
  [data-site-theme="cursor-light"]
) body[data-page="/anket/"]
:is(.topic-list, .topic-row, .topic-main, .topic-name) {
  color: var(--theme-ink, #172126) !important;
}

:is(
  [data-site-theme="anyar-light"],
  [data-site-theme="wikipedia-light"],
  [data-site-theme="cursor-light"]
) body[data-page="/anket/"]
:is(.topic-category, .vote-count) {
  color: var(--theme-muted, #52616d) !important;
}


/* SGA: anket tipografisi ve tema bağımsız açık-zemin kontrastı. */
body[data-page="/anket/"] .poll-hero h1 {
  font-size: clamp(1.65rem, 3.6vw, 2.4rem) !important;
  font-weight: 650 !important;
  letter-spacing: -.03em !important;
}

body[data-page="/anket/"] :is(
  .poll-status,
  .poll-summary-label,
  .poll-summary-value,
  .exam-filter .btn,
  .topic-name,
  .topic-category,
  .vote-count,
  .vote-button
) {
  font-weight: 600 !important;
}

:is(
  [data-site-theme="anyar-light"],
  [data-site-theme="wikipedia-light"],
  [data-site-theme="cursor-light"]
) body[data-page="/anket/"] :is(
  .topic-list,
  .topic-row,
  .topic-main,
  .topic-name
) {
  color: #172126 !important;
}

:is(
  [data-site-theme="anyar-light"],
  [data-site-theme="wikipedia-light"],
  [data-site-theme="cursor-light"]
) body[data-page="/anket/"] :is(
  .topic-category,
  .topic-category span,
  .vote-count
) {
  color: #425466 !important;
}

/* Anket üst kartı: açık yüzeyde bütün dinamik metinleri zorunlu koyu tut. */
html[data-site-theme] body[data-page="/anket/"] .poll-hero > h1,
html[data-site-theme] body[data-page="/anket/"] .poll-hero > .mk-page-lead,
html[data-site-theme] body[data-page="/anket/"] .poll-summary-value {
  color: #172126 !important;
  -webkit-text-fill-color: #172126 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

html[data-site-theme] body[data-page="/anket/"] .poll-summary-label {
  color: #425466 !important;
  -webkit-text-fill-color: #425466 !important;
  opacity: 1 !important;
  visibility: visible !important;
}
