/* =========================================================
   Ürgüp Yıldız Sürücü Kursu — site stilleri (v2)
   Tek renk ailesi + aydınlık/karanlık tema
   ========================================================= */
:root {
  --red: #de2f29;
  --red-2: #bf231e;
  --yellow: #ffc83d;
  --blue: #1f5fd1;
  --wa: #168445;
  --gutter: 24px;
  --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Aydınlık tema */
  --bg: #fbf7f1;
  --bg-2: #f4ede2;
  --surface: #ffffff;
  --surface-2: #f8f3eb;
  --surface-3: #eee5d7;
  --text: #1c1d22;
  --muted: #5c5e68;
  --faint: #8b8d97;
  --line: rgba(28, 29, 34, .09);
  --line-2: rgba(28, 29, 34, .18);
  --accent: #de2f29;
  --accent-soft: #fde8e6;
  --gold-soft: #fff1c9;
  --hl: rgba(255, 200, 61, .55);
  --green: #138a4b;
  --green-soft: #e2f5ea;
  --shadow-sm: 0 1px 0 rgba(0, 0, 0, .03), 0 18px 40px -30px rgba(70, 35, 10, .42);
  --shadow-lg: 0 44px 90px -56px rgba(70, 35, 10, .6);
  --nav-bg: rgba(251, 247, 241, .84);
  --nav-ink: #1c1d22;
  --nav-ink-2: rgba(28, 29, 34, .74);
  --menu-bg: rgba(251, 247, 241, .98);
  --hero-ink: #1c1d22;
  --hero-ink-2: rgba(28, 29, 34, .8);
  --hero-hl: #de2f29;
  --hero-pill: rgba(255, 255, 255, .66);
  --hero-pill-line: rgba(28, 29, 34, .1);
  --road-a: #3d4047;
  --road-b: #2c2f35;
  --sim-ground: #ecdfc9;
  --sim-grass: #dfcfae;
  --sim-road: #3a3d45;
  --sim-road-2: #474b55;
  --sim-line: #ffffff;
  --sim-side: #d5c4a7;
  --sim-ink: #1c1d22;
  --dash-bg: linear-gradient(180deg, #ffffff, #f5efe5);
  --dash-item: linear-gradient(180deg, rgba(28, 29, 34, .03), rgba(28, 29, 34, .01));
  --gear-bg: #efe8dc;
  --g-track: rgba(28, 29, 34, .08);
  --g-tick: rgba(28, 29, 34, .28);
  --g-tick-major: rgba(28, 29, 34, .72);
  --g-num: rgba(28, 29, 34, .55);
  --g-value: #1c1d22;
  --g-hub: #1c1d22;
  --footer-bg: #efe5d6;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0e1016;
  --bg-2: #12151d;
  --surface: #181b24;
  --surface-2: #1d212b;
  --surface-3: #262b37;
  --text: #eceef4;
  --muted: #a4a9b8;
  --faint: #7c8191;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .17);
  --accent: #ff5a4e;
  --accent-soft: rgba(255, 90, 78, .13);
  --gold-soft: rgba(255, 200, 61, .12);
  --hl: rgba(255, 200, 61, .3);
  --green: #3ddc84;
  --green-soft: rgba(61, 220, 132, .12);
  --shadow-sm: inset 0 1px 0 rgba(255, 255, 255, .03), 0 20px 44px -30px rgba(0, 0, 0, .9);
  --shadow-lg: 0 44px 90px -56px rgba(0, 0, 0, .95);
  --nav-bg: rgba(14, 16, 22, .8);
  --nav-ink: #eceef4;
  --nav-ink-2: rgba(236, 238, 244, .76);
  --menu-bg: rgba(12, 13, 18, .98);
  --hero-ink: #ffffff;
  --hero-ink-2: rgba(255, 255, 255, .86);
  --hero-hl: #ffc83d;
  --hero-pill: rgba(12, 14, 28, .52);
  --hero-pill-line: rgba(255, 255, 255, .15);
  --road-a: #1f2127;
  --road-b: #131418;
  --sim-ground: #161a24;
  --sim-grass: #1a202d;
  --sim-road: #2a2e38;
  --sim-road-2: #343946;
  --sim-line: #e8e8ea;
  --sim-side: #222735;
  --sim-ink: #eceef4;
  --dash-bg: radial-gradient(120% 140% at 50% 0%, #252833 0%, #15171e 62%);
  --dash-item: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .01));
  --gear-bg: #0d0e12;
  --g-track: rgba(255, 255, 255, .09);
  --g-tick: rgba(255, 255, 255, .3);
  --g-tick-major: rgba(255, 255, 255, .75);
  --g-num: rgba(255, 255, 255, .5);
  --g-value: #ffffff;
  --g-hub: #e9ecef;
  --footer-bg: #0a0c11;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
html.menu-open { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: -9999px; top: 10px; z-index: 999; background: var(--surface); color: var(--text); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { left: 10px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(1240px, 100% - var(--gutter) * 2); margin-inline: auto; }
.ic {
  width: 1.15em; height: 1.15em; display: inline-block; flex: none; vertical-align: -.2em;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.nowrap { white-space: nowrap; }

/* Tema geçişi (View Transitions) */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { animation: themeReveal .75s cubic-bezier(.4, 0, .2, 1); }
@keyframes themeReveal { from { clip-path: circle(0 at var(--tx, 90%) var(--ty, 40px)); } to { clip-path: circle(150vmax at var(--tx, 90%) var(--ty, 40px)); } }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.35em; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 16px; line-height: 1.1; letter-spacing: .005em;
  text-decoration: none; white-space: nowrap;
  transition: transform .2s ease, box-shadow .25s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .ic { font-size: 1.1em; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 12px 30px -12px rgba(222, 47, 41, .7); }
.btn-red:hover { background: var(--red-2); }
.btn-glass { background: var(--hero-pill); color: var(--hero-ink); border-color: var(--hero-pill-line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-glass:hover { background: var(--surface); }
.btn-glass .wa { color: #1c9c52; }
[data-theme="dark"] .btn-glass .wa { color: #4ce38f; }
[data-theme="dark"] .btn-glass:hover { background: rgba(255, 255, 255, .16); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 12px 30px -14px rgba(22, 132, 69, .75); }
.btn-wa:hover { background: #0f6f39; }
.btn-yellow { background: #16171b; color: var(--yellow); }
.btn-yellow:hover { background: #000; }
.btn-dark { background: var(--text); color: var(--bg); }
.btn-dark:hover { opacity: .9; }
.btn-white { background: #fff; color: #1c1d22; }
.btn-sm { padding: .62em 1.05em; font-size: 14.5px; }
.btn-lg { padding: 1em 1.6em; font-size: 17px; }
.btn-block { width: 100%; }

/* ---------- Tipografi ---------- */
.kicker {
  display: flex; align-items: center; gap: .8em; margin: 0 0 18px;
  font-family: var(--f-mono); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.kicker b { color: var(--accent); }
.kicker::after { content: ""; width: 54px; height: 3px; background: repeating-linear-gradient(90deg, currentColor 0 10px, transparent 10px 16px); opacity: .45; }
.h2 {
  font-family: var(--f-display); font-stretch: 112%; font-weight: 850;
  font-size: clamp(34px, 5.1vw, 66px); line-height: 1.02; letter-spacing: -.028em;
  margin: 0 0 .45em;
}
.u { background: linear-gradient(transparent 60%, var(--hl) 60%, var(--hl) 90%, transparent 90%); padding: 0 .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.sec-head { max-width: 780px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .kicker { justify-content: center; }
.sec-head.center .kicker::after { display: none; }
.sec-sub { font-size: 18.5px; color: var(--muted); max-width: 660px; margin: 0; }
.sec-head.center .sec-sub { margin-inline: auto; }
.lead { font-size: clamp(19px, 1.55vw, 22px); line-height: 1.5; font-weight: 600; margin: 0 0 16px; }
.footnote { font-size: 13.5px; color: var(--muted); margin: 26px 0 0; max-width: 900px; line-height: 1.55; }

/* Bölüm zeminleri: tek renk ailesi, yumuşak ritim */
main > section { background: var(--bg); }
main > .panel, main > .courses, main > .age, main > .docs, main > .stories, main > .contact { background: var(--bg-2); }

/* ---------- Görünür olunca belirme ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s !important; }
.d2 { transition-delay: .16s !important; }
.d3 { transition-delay: .24s !important; }
.d4 { transition-delay: .32s !important; }

/* =========================================================
   ÜST MENÜ
   ========================================================= */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 16px 0; color: var(--hero-ink); transition: background-color .3s, padding .3s, box-shadow .3s, color .3s; }
.nav.scrolled { color: var(--nav-ink); background: var(--nav-bg); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); padding: 9px 0; box-shadow: 0 1px 0 var(--line); }
.nav.open { color: var(--nav-ink); -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: transparent !important; box-shadow: none !important; }
.nav-inner { width: min(1320px, 100% - 40px); margin-inline: auto; display: flex; align-items: center; gap: 22px; }
.brand { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; flex: none; filter: drop-shadow(0 6px 14px rgba(222, 47, 41, .4)); }
.brand-text b { display: block; font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: 21px; line-height: 1; letter-spacing: .05em; }
.brand-text small { display: block; margin-top: 5px; font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .2em; opacity: .75; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-links > a { padding: 8px 13px; border-radius: 999px; color: inherit; opacity: .82; text-decoration: none; font-weight: 600; font-size: 15px; transition: background-color .2s, opacity .2s; }
.nav-links > a:hover, .nav-links > a.active { opacity: 1; background: color-mix(in srgb, currentColor 10%, transparent); }
.menu-extra { display: none; }
.nav-cta { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; }
.burger { display: none; place-items: center; width: 46px; height: 46px; border-radius: 14px; border: 1px solid color-mix(in srgb, currentColor 22%, transparent); background: color-mix(in srgb, currentColor 7%, transparent); color: inherit; font-size: 22px; }
.burger .ic-close { display: none; }
.nav.open .burger .ic-open { display: none; }
.nav.open .burger .ic-close { display: block; }
.theme-toggle {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid color-mix(in srgb, currentColor 20%, transparent); background: color-mix(in srgb, currentColor 7%, transparent);
  color: inherit; font-size: 20px; overflow: hidden; transition: background-color .2s, transform .2s;
}
.theme-toggle:hover { transform: rotate(-12deg); }
.theme-toggle .ic { position: absolute; transition: transform .5s cubic-bezier(.3, 1.3, .5, 1), opacity .35s; }
.theme-toggle .t-moon { transform: translateY(26px) rotate(-60deg); opacity: 0; }
[data-theme="dark"] .theme-toggle .t-sun { transform: translateY(-26px) rotate(60deg); opacity: 0; }
[data-theme="dark"] .theme-toggle .t-moon { transform: none; opacity: 1; }

.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; background: color-mix(in srgb, currentColor 8%, transparent); color: inherit; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.status-pill i { width: 8px; height: 8px; border-radius: 50%; background: #1fbf6a; animation: ping 2s infinite; flex: none; }
.status-pill.closed i { background: #ffae1f; animation: none; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(31, 191, 106, .7); } 70% { box-shadow: 0 0 0 9px rgba(31, 191, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 191, 106, 0); } }

/* =========================================================
   HERO — Kapadokya: gündüz / gece
   ========================================================= */
.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--hero-ink); min-height: max(700px, 100svh); background: #cfe6f7; }
[data-theme="dark"] .hero { background: #0b1024; }
.scene { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sky { position: absolute; inset: 0; transition: opacity 1.2s ease; }
.sky-day { background: linear-gradient(180deg, #74b2ee 0%, #a3cff4 28%, #d4eaf8 52%, #fbe7cf 76%, #ffd8a8 100%); }
.sky-night { opacity: 0; background: radial-gradient(90% 60% at 72% 30%, rgba(120, 140, 255, .18), transparent 60%), linear-gradient(180deg, #04060e 0%, #0a1026 34%, #151e48 62%, #28305e 84%, #3b3662 100%); }
[data-theme="dark"] .sky-night { opacity: 1; }
[data-theme="dark"] .sky-day { opacity: 0; }
.sun {
  position: absolute; right: 16%; bottom: 220px; width: min(30vw, 360px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #fffdf2 0 16%, #fff2c2 26%, rgba(255, 226, 150, .5) 44%, rgba(255, 210, 130, 0) 68%);
  transition: transform 1.4s cubic-bezier(.5, 0, .2, 1), opacity 1.2s ease;
}
[data-theme="dark"] .sun { transform: translateY(380px) scale(.8); opacity: 0; }
.moon {
  position: absolute; right: 19%; top: 15%; width: clamp(64px, 7.5vw, 104px); aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 34%, rgba(0, 0, 0, .09) 0 9%, transparent 10%),
    radial-gradient(circle at 62% 58%, rgba(0, 0, 0, .08) 0 13%, transparent 14%),
    radial-gradient(circle at 58% 26%, rgba(0, 0, 0, .06) 0 6%, transparent 7%),
    radial-gradient(circle at 38% 38%, #fffef6, #f1ead0 58%, #d8cfae 100%);
  box-shadow: 0 0 50px 8px rgba(255, 246, 214, .32), 0 0 180px 60px rgba(140, 160, 255, .16);
  transform: translateY(420px); opacity: 0;
  transition: transform 1.6s cubic-bezier(.2, .8, .2, 1) .15s, opacity 1.2s ease .15s;
}
[data-theme="dark"] .moon { transform: none; opacity: 1; }
.no-anim .sun, .no-anim .moon, .no-anim .sky, .no-anim .layer i, .no-anim .balloons, .no-anim .car .beam, .no-anim .car .tail-glow { transition: none !important; }

.balloons { position: absolute; inset: 0; transition: opacity 1s ease, transform 1.4s ease; }
[data-theme="dark"] .balloons { opacity: 0; transform: translateY(-60px); }
.bl { position: absolute; width: var(--s); aspect-ratio: 100 / 150; }
.bl svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 10px 16px rgba(50, 10, 40, .2)); }
.bl-1 { --s: 118px; right: 8%; top: 15%; animation: bob 7s ease-in-out infinite alternate; }
.bl-2 { --s: 72px; right: 23%; top: 47%; animation: bob 9s ease-in-out -3s infinite alternate; }
.bl-3 { --s: 50px; right: 2.5%; top: 42%; animation: bob 8s ease-in-out -5s infinite alternate; }
.drift { left: 0; top: var(--y); animation: drift var(--t) linear var(--dl) infinite; opacity: .9; }
.drift svg { animation: bob 6s ease-in-out infinite alternate; filter: saturate(.85); }
.d-1 { --s: 34px; --y: 12%; --t: 150s; --dl: -40s; }
.d-2 { --s: 25px; --y: 22%; --t: 190s; --dl: -120s; }
.d-3 { --s: 40px; --y: 7%; --t: 170s; --dl: -95s; }
.d-4 { --s: 21px; --y: 33%; --t: 210s; --dl: -15s; }
@keyframes drift { from { transform: translateX(-12vw); } to { transform: translateX(112vw); } }
@keyframes bob { from { transform: translateY(0) rotate(-1.5deg); } to { transform: translateY(-18px) rotate(1.5deg); } }

.layer { position: absolute; left: 0; right: 0; overflow: hidden; }
.layer i {
  position: absolute; top: 0; bottom: 0; left: 0; width: calc(100% + var(--tile));
  background-repeat: repeat-x; background-position: 0 100%; background-size: var(--tile) 100%;
  animation: pan var(--dur) linear infinite; will-change: transform;
}
.layer i.base { transition: filter 1.3s ease; }
.layer i.lights { opacity: 0; transition: opacity 1.4s ease .3s; }
[data-theme="dark"] .layer i.base { filter: brightness(.36) saturate(.6) hue-rotate(-10deg); }
[data-theme="dark"] .layer i.lights { opacity: 1; }
.layer.far { bottom: 150px; height: 300px; --tile: calc(300px * 5); --dur: 160s; }
.layer.mid { bottom: 118px; height: 250px; --tile: calc(250px * 5.7143); --dur: 82s; }
.layer.near { bottom: 96px; height: 230px; --tile: calc(230px * 6.1538); --dur: 36s; }
.layer.far i.base { background-image: url(layer-far.svg); opacity: .96; }
.layer.far i.lights { background-image: url(layer-far-lights.svg); }
.layer.mid i.base { background-image: url(layer-mid.svg); }
.layer.mid i.lights { background-image: url(layer-mid-lights.svg); }
.layer.near i.base { background-image: url(layer-near.svg); }
.layer.near i.lights { background-image: url(layer-near-lights.svg); }
@keyframes pan { to { transform: translate3d(calc(-1 * var(--tile)), 0, 0); } }

.road { position: absolute; left: 0; right: 0; bottom: 0; height: 110px; overflow: hidden; background: linear-gradient(180deg, var(--road-a) 0%, var(--road-b) 100%); transition: background 1.2s; }
.road::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 9px; background: linear-gradient(#958676, #625850); }
[data-theme="dark"] .road::before { background: linear-gradient(#3e3833, #2a2622); }
.road::after { content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 3px; background: rgba(255, 255, 255, .78); }
.lane { position: absolute; left: 0; top: 60px; height: 6px; width: calc(100% + 140px); background: repeating-linear-gradient(90deg, #f3efe7 0 70px, transparent 70px 140px); animation: lane .55s linear infinite; }
@keyframes lane { to { transform: translate3d(-140px, 0, 0); } }
.car-wrap { position: absolute; left: 56%; bottom: 36px; width: clamp(250px, 27vw, 420px); }
.car { width: 100%; height: auto; overflow: visible; animation: carBob .45s ease-in-out infinite alternate; }
.car .spin { transform-box: fill-box; transform-origin: center; animation: spin .5s linear infinite; }
.car .beam { opacity: .35; transition: opacity 1s ease .4s; }
.car .tail-glow { opacity: 0; transition: opacity 1s ease .4s; }
[data-theme="dark"] .car .beam { opacity: 1; }
[data-theme="dark"] .car .tail-glow { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes carBob { from { transform: translateY(0); } to { transform: translateY(-1.6px); } }
.hero.paused *, .hero.paused *::before, .hero.paused *::after { animation-play-state: paused !important; }

.hero-content { position: relative; padding-top: clamp(112px, 15vh, 150px); padding-bottom: clamp(150px, 24vh, 300px); will-change: transform, opacity; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 8px 15px 8px 12px;
  border-radius: 999px; background: var(--hero-pill); border: 1px solid var(--hero-pill-line);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-family: var(--f-mono); font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px rgba(222, 47, 41, .6); }
[data-theme="dark"] .eyebrow .dot { background: var(--yellow); box-shadow: 0 0 12px var(--yellow); }
.hero-title {
  margin: 0 0 22px; font-family: var(--f-display); font-stretch: 118%; font-weight: 900;
  font-size: clamp(44px, min(6.6vw, 10.5vh), 102px); line-height: .92; letter-spacing: -.035em;
}
[data-theme="dark"] .hero-title { text-shadow: 0 8px 40px rgba(10, 8, 40, .45); }
.hero-title .line { display: block; }
.lane-mark { position: relative; font-style: normal; color: var(--hero-hl); white-space: nowrap; transition: color .6s; }
.lane-mark::after {
  content: ""; position: absolute; left: .03em; right: .03em; bottom: -.08em; height: .07em; border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--yellow) 0 .5em, transparent .5em .85em);
  animation: laneMark 1.4s linear infinite;
}
@keyframes laneMark { to { background-position: -.85em 0; } }
.hero-lead { max-width: 620px; margin: 0 0 26px; font-size: clamp(18px, 1.45vw, 21px); color: var(--hero-ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hero-meta li { display: inline-flex; }
.hero-meta a, .hero-meta .status-pill { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: var(--hero-pill); border: 1px solid var(--hero-pill-line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--hero-ink); text-decoration: none; font-size: 13.5px; font-weight: 600; }
.hero-meta a:hover { background: var(--surface); }
[data-theme="dark"] .hero-meta a:hover { background: rgba(12, 14, 28, .75); }

/* ---------- Şerit ---------- */
.ticker { position: relative; z-index: 2; overflow: hidden; background: var(--yellow); color: #16171b; border-block: 3px solid #16171b; }
.ticker-track { display: flex; width: max-content; animation: ticker 42s linear infinite; }
.ticker span { display: flex; align-items: center; gap: 28px; padding: 13px 0 13px 28px; white-space: nowrap; font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: 17px; letter-spacing: .06em; }
.ticker span::after { content: ""; width: 22px; height: 16px; background: #16171b; clip-path: polygon(0 0, 50% 0, 100% 50%, 50% 100%, 0 100%, 50% 50%); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* =========================================================
   GÖSTERGE PANELİ
   ========================================================= */
.panel { padding: 72px 0 96px; }
.dash {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 24px; border-radius: 36px;
  background: var(--dash-bg); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.dash-item { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 14px; padding: 22px 12px 20px; border-radius: 26px; background: var(--dash-item); }
.dash-label { margin: 0; text-align: center; font-family: var(--f-mono); font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.dash-label small { display: block; margin-top: 4px; font-weight: 400; letter-spacing: .06em; text-transform: none; opacity: .8; }
.gauge { width: 100%; max-width: 230px; }
.gauge svg { display: block; width: 100%; height: auto; overflow: visible; }
.g-track { fill: none; stroke: var(--g-track); stroke-width: 10; stroke-linecap: round; }
.g-zone { fill: none; stroke: #1fbf6a; stroke-width: 4; stroke-linecap: round; opacity: .85; }
.g-val { fill: none; stroke-width: 10; stroke-linecap: round; transition: stroke-dashoffset 1.9s cubic-bezier(.2, .8, .2, 1); }
.g-tick { stroke: var(--g-tick); stroke-width: 1.6; }
.g-tick.major { stroke: var(--g-tick-major); stroke-width: 2.6; }
.g-num { fill: var(--g-num); font-family: var(--f-mono); font-size: 10.5px; font-weight: 600; text-anchor: middle; dominant-baseline: central; }
.g-needle { transform-origin: 100px 100px; transform: rotate(-120deg); transition: transform 2s cubic-bezier(.3, 1.35, .4, 1); }
.g-hub { fill: var(--g-hub); }
.g-value { fill: var(--g-value); font-family: var(--f-display); font-stretch: 118%; font-weight: 900; font-size: 38px; text-anchor: middle; }
.gear { display: grid; grid-template-columns: repeat(2, auto); gap: 8px; padding: 14px; border-radius: 22px; background: var(--gear-bg); border: 1px solid var(--line); box-shadow: inset 0 2px 12px rgba(0, 0, 0, .12); align-self: center; margin-block: auto; }
.gear span { display: grid; place-items: center; width: 66px; height: 54px; border-radius: 13px; background: color-mix(in srgb, var(--text) 4%, transparent); color: color-mix(in srgb, var(--text) 28%, transparent); font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: 24px; transition: background-color .35s, color .35s, box-shadow .35s; }
.gear span.on { background: var(--yellow); color: #16171b; box-shadow: 0 0 26px rgba(255, 200, 61, .55); }
.led-box { display: grid; justify-items: center; gap: 8px; margin-block: auto; text-align: center; }
.led { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #a4ffcb, #1fbf6a 55%, #0b6a38); box-shadow: 0 0 24px 4px rgba(31, 191, 106, .5); }
.led.off { background: radial-gradient(circle at 35% 35%, #ffe2a8, #ffab1f 55%, #a86400); box-shadow: 0 0 24px 4px rgba(255, 171, 31, .45); }
.led-box strong { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: 30px; line-height: 1; letter-spacing: .06em; }
.led-box span { font-family: var(--f-mono); font-size: 13px; line-height: 1.5; color: var(--muted); }

/* =========================================================
   HAKKIMIZDA
   ========================================================= */
.about { position: relative; overflow: hidden; padding: 124px 0; }
.about::before {
  content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -380px; pointer-events: none;
  background: repeating-radial-gradient(circle, transparent 0 26px, color-mix(in srgb, #d59a74 20%, transparent) 26px 27.5px);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%); mask-image: radial-gradient(circle, #000 30%, transparent 70%);
}
.about-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 72px; align-items: start; }
.about-copy > p:not(.kicker):not(.lead) { color: var(--muted); font-size: 17.5px; }
.about-sign { display: flex; align-items: center; gap: 18px; width: fit-content; margin-top: 32px; padding: 16px 20px 16px 16px; border-radius: 20px; background: var(--surface); border: 1.5px dashed var(--line-2); }
.about-sign p { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.45; }
.plate { display: grid; place-items: center; min-width: 118px; padding: 10px 14px; border-radius: 10px; background: #1f5fb8; color: #fff; border: 3px solid #fff; box-shadow: 0 0 0 2px #1f5fb8, 0 10px 20px -10px rgba(31, 95, 184, .8); font-family: var(--f-display); font-stretch: 112%; line-height: 1.05; }
.plate span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; opacity: .85; }
.plate b { font-weight: 900; font-size: 22px; letter-spacing: .04em; }
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature { padding: 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.feature:hover { transform: translateY(-4px); }
.f-ic { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 14px; border-radius: 15px; background: var(--accent-soft); color: var(--accent); font-size: 22px; }
.feature h3 { margin: 0 0 6px; font-size: 19px; font-stretch: 106%; font-weight: 800; line-height: 1.25; }
.feature p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }

/* =========================================================
   KURSLAR
   ========================================================= */
.courses { position: relative; overflow: hidden; padding: 124px 0; }
.course-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.course {
  --accent-c: var(--red);
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px; overflow: hidden;
  border-radius: 30px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .8s cubic-bezier(.2, .7, .2, 1), opacity .8s cubic-bezier(.2, .7, .2, 1), border-color .3s, box-shadow .3s;
}
.course::before { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent-c) 22%, transparent), transparent 70%); pointer-events: none; }
.course::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--text) 7%, transparent), transparent 45%); }
.course:hover { border-color: color-mix(in srgb, var(--accent-c) 50%, transparent); box-shadow: 0 34px 80px -40px color-mix(in srgb, var(--accent-c) 60%, transparent); }
.course:hover::after { opacity: 1; }
.c-b { grid-column: span 2; }
.c-ozel { --accent-c: #1fbf6a; }
.c-a1 { --accent-c: #f2b01e; }
.c-a2 { --accent-c: #ff8a3d; }
.c-a { --accent-c: #4d8bff; }
.c-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.c-letter { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: 80px; line-height: .82; letter-spacing: -.02em; background: linear-gradient(180deg, var(--text) 35%, var(--accent-c)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.c-letter-ic { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 22px; background: color-mix(in srgb, var(--accent-c) 16%, transparent); color: var(--accent-c); font-size: 36px; -webkit-background-clip: border-box; background-clip: border-box; }
.c-tag { padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.c-b .c-tag { background: var(--red); border-color: var(--red); color: #fff; }
.c-art { width: 100%; height: auto; color: var(--text); --accent: var(--accent-c); }
.c-b .c-art { max-width: 430px; align-self: flex-end; margin: -64px 0 -6px; }
.c-art-moto { max-width: 200px; margin: 4px 0; }
.course h3 { margin: 2px 0 0; font-size: 26px; font-stretch: 110%; font-weight: 850; line-height: 1.15; }
.course p { margin: 0; color: var(--muted); font-size: 15.5px; }
.specs { display: flex; flex-wrap: wrap; gap: 10px; margin: auto 0 0; padding: 10px 0 0; list-style: none; }
.specs li { min-width: 94px; padding: 10px 14px; border-radius: 15px; background: var(--surface-2); border: 1px solid var(--line); }
.specs small { display: block; font-family: var(--f-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.specs b { font-size: 17px; font-weight: 800; }
.c-link { display: inline-flex; align-items: center; gap: 8px; width: fit-content; margin-top: 6px; color: var(--accent-c); font-weight: 750; text-decoration: none; }
.c-a1 .c-link { color: #b07800; }
[data-theme="dark"] .c-a1 .c-link { color: var(--yellow); }
.c-link .ic { transition: transform .2s; }
.c-link:hover .ic { transform: translateX(4px); }
.c-gecis { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; padding: 26px 30px; border-radius: 30px; background: linear-gradient(100deg, #ffd35a, #ffb01f); color: #16171b; }
.c-gecis h3 { margin: 0 0 4px; font-size: 26px; font-stretch: 110%; font-weight: 850; }
.c-gecis p { margin: 0; color: rgba(22, 23, 27, .8); font-size: 16px; }
.c-gecis-badge { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: 30px; }
.c-gecis-badge span { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 20px; background: #16171b; color: var(--yellow); }
.c-gecis-badge .ic { font-size: 28px; stroke-width: 2.6; }

/* =========================================================
   TRAFİK AKADEMİSİ
   ========================================================= */
.academy { padding: 124px 0; }
.academy-shell { margin-top: 48px; padding: 18px; border-radius: 34px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.academy-top { display: flex; align-items: center; justify-content: space-between; gap: 12px 18px; flex-wrap: wrap; }
.lesson-tabs { display: grid; grid-template-columns: repeat(auto-fill, minmax(208px, 1fr)); gap: 8px; padding: 6px; margin: -6px; flex: 1 1 100%; min-width: 0; }
.lesson-tabs::-webkit-scrollbar { display: none; }
.lesson-tab { position: relative; display: flex; align-items: center; gap: 10px; min-width: 0; padding: 9px 14px 9px 9px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--surface-2); color: var(--text); text-align: left; white-space: nowrap; transition: background-color .2s, border-color .2s, color .2s, transform .2s; }
.lesson-tab .lt-txt { min-width: 0; }
.lesson-tab .lt-txt b, .lesson-tab .lt-txt small { overflow: hidden; text-overflow: ellipsis; }
.lesson-tab:hover { border-color: var(--line-2); transform: translateY(-1px); }
.lesson-tab[aria-selected="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.lt-ic { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: color-mix(in srgb, var(--sc, var(--accent)) 14%, transparent); color: var(--sc, var(--accent)); font-size: 19px; transition: background-color .2s, color .2s; }
.lesson-tab[aria-selected="true"] .lt-ic { background: var(--sc, var(--red)); color: #fff; }
[data-theme="dark"] .lesson-tab[aria-selected="true"] .lt-ic { color: #16171b; }
.lt-txt b { display: block; font-size: 14.5px; line-height: 1.2; }
.lt-txt small { display: block; font-size: 12px; opacity: .7; }
.lt-done { position: absolute; top: -6px; right: -6px; display: none; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #1fbf6a; color: #fff; font-size: 12px; box-shadow: 0 0 0 3px var(--surface); }
.lt-done .ic { stroke-width: 3.2; }
.lesson-tab.done .lt-done { display: grid; animation: pop .4s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop { from { transform: scale(0); } }
.academy-progress { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; width: 100%; padding: 0 4px; font-family: var(--f-mono); font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.ap-legend { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.ap-legend .xa-subj { font-size: 10.5px; padding: 3px 9px; }
.ap-bar { width: 150px; height: 8px; overflow: hidden; border-radius: 99px; background: var(--surface-3); }
.ap-bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #1fbf6a, #7be3a8); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.lesson { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; margin-top: 18px; }
.lesson[hidden] { display: none; }
.lesson.is-active { animation: screenIn .45s cubic-bezier(.2, .8, .2, 1); }
.lesson-main { min-width: 0; }
.lesson-top { padding: 8px 6px 16px; }
.lesson-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.lesson-no { font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lesson-top h3 { margin: 6px 0; font-size: clamp(24px, 2.4vw, 32px); font-stretch: 110%; font-weight: 850; line-height: 1.1; }
.lesson-top p { margin: 0; max-width: 680px; color: var(--muted); }
.sim { position: relative; overflow: hidden; border-radius: 24px; background: var(--sim-ground); border: 1px solid var(--line); }
.sim-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.sim-main { min-width: 132px; }
.sim-ghost { display: inline-flex; align-items: center; gap: 8px; padding: .78em 1.1em; border-radius: 999px; border: 1.5px solid var(--line-2); background: transparent; color: var(--text); font-weight: 700; font-size: 15px; transition: background-color .2s; }
.sim-ghost:hover { background: var(--surface-2); }
.sim-bar .btn:disabled, .chip-btn:disabled, .range input:disabled { opacity: .5; cursor: not-allowed; transform: none; }
/* Ortak ders bileşenleri: hedef çubuğu, klavye ipucu, “ders tamamlandı” bandı */
.sim-goal { display: flex; align-items: center; gap: 10px; margin-left: auto; padding: 7px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-family: var(--f-mono); font-size: 12.5px; color: var(--muted); }
.sg-l { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.sg-pips { display: flex; gap: 4px; }
.sg-pips i { width: 12px; height: 12px; border-radius: 4px; border: 1.8px solid var(--line-2); transition: background-color .25s, border-color .25s, transform .25s; }
.sg-pips i.on { background: #1fbf6a; border-color: #1fbf6a; animation: pop .35s cubic-bezier(.3, 1.6, .5, 1); }
.sim-goal.full { border-color: color-mix(in srgb, #1fbf6a 55%, transparent); background: var(--green-soft); }
.sg-err b { color: var(--accent); }
.sim-bar kbd, .xa kbd { margin-left: 2px; padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, .2); font-family: var(--f-mono); font-size: 11px; font-weight: 700; line-height: 1.2; }
@media (hover: none) { .sim-bar kbd { display: none; } }
.fb-hint { display: inline; font-weight: 500; color: var(--muted); }
.lesson-next { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 12px; padding: 12px 14px; border-radius: 18px; background: var(--green-soft); border: 1px solid color-mix(in srgb, #1fbf6a 40%, transparent); animation: screenIn .4s cubic-bezier(.2, .8, .2, 1); }
.lesson-next[hidden] { display: none; }
.ln-ok { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #1fbf6a; color: #fff; }
.ln-ok .ic { stroke-width: 3; }
.lesson-next > b { font-size: 15.5px; }
.ln-sub { font-size: 14px; color: var(--muted); }
.ln-btn { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; padding: 9px 14px; border-radius: 999px; border: 0; background: var(--text); color: var(--bg); font-size: 14.5px; font-weight: 600; }
.ln-btn b { font-weight: 800; }
.ln-btn:hover { opacity: .9; }
.gs-k { flex: none; display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 8px; background: var(--surface-3); color: var(--text); font-family: var(--f-mono); font-size: 12.5px; font-weight: 700; }
.sim-feedback { min-height: 26px; margin: 12px 4px 0; font-weight: 650; }
.sim-feedback.ok { color: var(--green); }
.sim-feedback.bad { color: var(--accent); }
.sim-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 14px; }
.range { display: grid; flex: 1 1 220px; gap: 6px; min-width: 200px; font-size: 14px; color: var(--muted); }
.range b { color: var(--text); font-variant-numeric: tabular-nums; }
.range input { width: 100%; accent-color: var(--red); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn { padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line-2); background: transparent; color: var(--text); font-size: 14.5px; font-weight: 700; transition: background-color .2s, color .2s; }
.chip-btn.is-on { background: var(--text); border-color: var(--text); color: var(--bg); }
.sim-readout { margin-left: auto; padding: 8px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font-family: var(--f-mono); font-size: 13.5px; color: var(--muted); }
.sim-readout b { color: var(--text); }
.rule-card { position: sticky; top: 100px; align-self: start; padding: 22px; border-radius: 24px; background: var(--surface-2); border: 1px solid var(--line); }
.rule-card h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.rule-list, .rule-bullets, .rule-shapes, .rule-lines { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.rule-list li { display: flex; align-items: flex-start; gap: 12px; padding: 8px; border-radius: 14px; transition: background-color .3s; }
.rule-list li.now { background: var(--gold-soft); }
.rule-list b, .rule-shapes b, .rule-lines b { display: block; font-size: 15px; color: var(--text); }
.rule-list div, .rule-shapes div, .rule-lines div { font-size: 14px; line-height: 1.45; color: var(--muted); }
.lamp { flex: none; display: grid; gap: 3px; padding: 4px; border-radius: 8px; background: #1b1c20; }
.lamp i { width: 10px; height: 10px; border-radius: 50%; background: #3a3c42; }
.lamp .on-r { background: #ff3b30; box-shadow: 0 0 8px #ff3b30; }
.lamp .on-y { background: #ffcc00; box-shadow: 0 0 8px #ffcc00; }
.lamp .on-g { background: #34c759; box-shadow: 0 0 8px #34c759; }
.lamp.blink .on-y { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { background: #3a3c42; box-shadow: none; } }
.rule-steps { display: grid; gap: 10px; margin: 0; padding-left: 20px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.rule-steps b, .rule-bullets b { color: var(--text); }
.rule-bullets li { position: relative; padding-left: 18px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.rule-bullets li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
.rule-shapes li, .rule-lines li { display: flex; align-items: flex-start; gap: 12px; }
.rule-shapes svg { flex: none; width: 34px; height: 34px; }
.rule-lines svg { flex: none; width: 60px; height: 24px; margin-top: 2px; }
.rl-road { fill: var(--sim-road); }
.rl-line { fill: none; stroke: #fff; stroke-width: 2.4; }
.rule-note { margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--line-2); font-size: 13.5px; color: var(--muted); }
.rule-gap { margin-top: 14px; }
.rule-lamps .gs-dot { margin-top: 5px; }
.academy-grad { display: flex; align-items: center; gap: 16px; margin-top: 18px; padding: 18px 20px; border-radius: 22px; background: linear-gradient(100deg, #ffd35a, #ffb01f); color: #16171b; animation: screenIn .5s; }
.academy-grad[hidden] { display: none; }
.academy-grad > .ic { font-size: 34px; }
.academy-grad b { display: block; font-size: 18px; }
.academy-grad span { font-size: 14.5px; }
.academy-grad .btn:first-of-type { margin-left: auto; }

/* Oyun sahnesi: tuval + üst katman (HUD, bildirim, kartlar, dokunma noktaları) */
.sim { isolation: isolate; }
.sim-cv { display: block; width: 100%; height: auto; touch-action: manipulation; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
.sim-3d { background: #8fb9dc; }
[data-theme="dark"] .sim-3d { background: #0b1022; }
.sim-ui { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.sim-hud { position: absolute; top: 12px; display: flex; flex-direction: column; gap: 8px; max-width: calc(50% - 18px); }
.sim-hud-l { left: 12px; align-items: flex-start; }
.sim-hud-r { right: 12px; align-items: flex-end; }
.hud-chip { position: relative; display: grid; gap: 1px; min-width: 0; padding: 8px 13px 9px; border-radius: 15px; background: rgba(13, 15, 21, .62); color: #fff; border: 1px solid rgba(255, 255, 255, .13); box-shadow: 0 12px 28px -14px rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(12px) saturate(1.5); backdrop-filter: blur(12px) saturate(1.5); }
.hud-chip[hidden] { display: none; }
.hc-l { font-family: var(--f-mono); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); white-space: nowrap; }
.hc-v { font-size: 15px; font-weight: 800; line-height: 1.22; font-variant-numeric: tabular-nums; transition: color .2s; }
.hc-dot { position: absolute; top: 10px; right: 11px; width: 10px; height: 10px; border-radius: 50%; background: #27d35f; transition: background-color .2s, box-shadow .2s; }
.hud-chip:has(.hc-dot) { padding-right: 30px; }
.hud-big .hc-v { font-family: var(--f-display); font-stretch: 112%; font-size: 24px; font-weight: 900; line-height: 1.05; }
.hc-bar { display: block; height: 5px; margin-top: 5px; overflow: hidden; border-radius: 9px; background: rgba(255, 255, 255, .16); }
.hc-bar b { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #ffc83d, #ff6b3d); transition: width .12s linear; }
.sim-toast { position: absolute; left: 50%; top: 16%; max-width: calc(100% - 32px); padding: 10px 18px; border-radius: 999px; background: rgba(13, 15, 21, .82); color: #fff; font-weight: 800; font-size: 16.5px; line-height: 1.25; text-align: center; opacity: 0; transform: translate(-50%, -8px) scale(.9); transition: opacity .25s, transform .4s cubic-bezier(.3, 1.6, .5, 1); box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.sim-toast.show { opacity: 1; transform: translate(-50%, 0) scale(1); }
.sim-toast.ok { background: rgba(17, 128, 70, .94); }
.sim-toast.bad { background: rgba(206, 40, 33, .94); }
.sim-toast.info { background: rgba(31, 95, 209, .94); }
.sim-card { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; padding: 14px; background: radial-gradient(120% 90% at 50% 40%, rgba(10, 12, 18, .25), rgba(10, 12, 18, .62)); pointer-events: auto; animation: fadeIn .3s ease-out; }
.sim-card[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
.sc-in { display: grid; justify-items: center; gap: 10px; width: min(440px, 100%); max-height: 100%; overflow: auto; padding: 24px 24px 20px; border-radius: 26px; background: var(--surface); color: var(--text); text-align: center; border: 1px solid var(--line); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7); animation: cardIn .45s cubic-bezier(.25, 1.4, .5, 1); }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px) scale(.94); } }
.sc-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; background: var(--accent-soft); color: var(--accent); font-size: 26px; }
.sc-t { font-family: var(--f-display); font-stretch: 110%; font-size: 23px; font-weight: 900; line-height: 1.1; }
.sc-p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.sc-p b { color: var(--text); }
.sc-hint { display: block; margin-top: 6px; font-size: 13.5px; }
.sc-keys { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin: 2px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.sc-keys li { display: flex; align-items: center; gap: 6px; }
.sc-keys kbd { padding: 3px 7px; border-radius: 7px; background: var(--surface-3); border: 1px solid var(--line-2); border-bottom-width: 2px; color: var(--text); font-family: var(--f-mono); font-size: 11.5px; font-weight: 700; }
.sc-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 6px; }
.sc-btns .btn { padding: .78em 1.25em; font-size: 15px; }
.sc-stars { display: flex; gap: 6px; margin-bottom: 2px; }
.sc-stars svg { width: 42px; height: 42px; fill: var(--surface-3); stroke: none; transform: scale(.6); opacity: 0; animation: starIn .5s cubic-bezier(.3, 1.8, .5, 1) forwards; animation-delay: calc(var(--i) * .16s + .1s); }
.sc-stars svg:nth-child(2) { width: 50px; height: 50px; margin-top: -8px; }
.sc-stars svg.on { fill: #ffc83d; filter: drop-shadow(0 4px 10px rgba(255, 170, 0, .45)); }
@keyframes starIn { to { transform: scale(1); opacity: 1; } }
.sim-spots { position: absolute; inset: 0; }
.sim-spot { position: absolute; padding: 0; border: 0; border-radius: 14px; background: transparent; cursor: pointer; pointer-events: auto; -webkit-tap-highlight-color: transparent; }
.sim-spot:focus { outline: none; }
.sim-spot:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.sim-spot[disabled] { cursor: default; pointer-events: none; }
.sim.has-card .sim-hud, .sim.has-card .sim-toast { opacity: .35; }
.sim-hold { touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.sim-hold.is-held { transform: scale(.97); filter: brightness(.92); }
.sim-goal.err-pop .sg-err { animation: errPop .45s; }
@keyframes errPop { 30% { transform: scale(1.35); } }
.sg-err { display: inline-block; }
.ap-sound { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); font-family: var(--f-mono); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; }
.ap-sound:hover { color: var(--text); background: var(--surface-2); }
.ap-sound[aria-pressed="false"] { opacity: .75; }
.lt-stars { display: none; gap: 1px; margin-left: auto; padding-left: 4px; }
@media (min-width: 761px) { .lt-stars { position: absolute; right: 11px; bottom: 8px; padding: 0; } .lesson-tab .lt-txt { padding-right: 4px; } }
.lt-stars:not(:empty) { display: inline-flex; }
.lt-stars svg, .ln-stars svg { width: 12px; height: 12px; fill: color-mix(in srgb, currentColor 22%, transparent); stroke: none; }
.lt-stars svg.on, .ln-stars svg.on { fill: #ffb300; }
.ln-stars { display: inline-flex; gap: 2px; }
.ln-stars svg { width: 16px; height: 16px; }
@media (max-width: 760px) {
  .sim-hud { top: 8px; gap: 6px; max-width: calc(50% - 12px); }
  .sim-hud-l { left: 8px; }
  .sim-hud-r { right: 8px; }
  .hud-chip { padding: 6px 10px 7px; border-radius: 12px; }
  .hud-chip:has(.hc-dot) { padding-right: 24px; }
  .hc-dot { top: 8px; right: 8px; width: 9px; height: 9px; }
  .hc-l { font-size: 9px; letter-spacing: .08em; }
  .hc-v { font-size: 13px; }
  .hud-big .hc-v { font-size: 19px; }
  .sim-toast { top: auto; bottom: 14px; font-size: 14.5px; padding: 9px 14px; white-space: normal; width: max-content; }
  .sc-in { padding: 18px 16px 16px; gap: 8px; border-radius: 20px; }
  .sc-t { font-size: 20px; }
  .sc-p { font-size: 14px; }
  .sc-ic { width: 44px; height: 44px; font-size: 22px; border-radius: 14px; }
  .sc-keys { display: none; }
  .sc-stars svg { width: 34px; height: 34px; }
  .sc-stars svg:nth-child(2) { width: 40px; height: 40px; }
  .sc-btns .btn { padding: .72em 1.05em; font-size: 14.5px; }
  .ap-sound span { display: none; }
}

/* Levha avı: büyütülmüş levha önizlemesi */
.lv-prev { position: relative; display: grid; justify-items: center; gap: 4px; width: 128px; padding: 10px 10px 9px; border-radius: 18px; background: rgba(13, 15, 21, .62); border: 1px solid rgba(255, 255, 255, .13); color: #fff; opacity: 0; transform: translateY(-6px) scale(.94); transition: opacity .25s, transform .35s cubic-bezier(.3, 1.5, .5, 1), border-color .2s, box-shadow .2s; -webkit-backdrop-filter: blur(12px) saturate(1.5); backdrop-filter: blur(12px) saturate(1.5); }
.lv-prev.show { opacity: 1; transform: none; }
.lv-ring { position: absolute; top: 6px; left: 50%; width: 104px; height: 104px; margin-left: -52px; transform: rotate(-90deg); }
.lv-ring circle { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 6; }
.lv-ring .lv-ring-v { stroke: #3ddc84; stroke-dasharray: 339.3; stroke-linecap: round; transition: stroke .3s; }
.lv-img { position: relative; width: 78px; height: 78px; margin-top: 7px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); }
.lv-cap { position: relative; margin-top: 8px; font-size: 12px; font-weight: 700; line-height: 1.25; text-align: center; min-height: 30px; }
.lv-prev.ok { border-color: rgba(61, 220, 132, .85); box-shadow: 0 0 0 3px rgba(61, 220, 132, .3); }
.lv-prev.bad { border-color: rgba(255, 90, 78, .85); box-shadow: 0 0 0 3px rgba(255, 90, 78, .3); }
.lesson .lv-cats { margin-top: 14px; }
@media (max-width: 760px) {
  .lv-prev { width: 96px; padding: 7px 6px 6px; border-radius: 14px; }
  .lv-ring { width: 78px; height: 78px; margin-left: -39px; top: 4px; }
  .lv-img { width: 56px; height: 56px; margin-top: 7px; }
  .lv-cap { font-size: 10.5px; min-height: 26px; margin-top: 6px; }
  .lv-cat { padding: 10px 6px; }
  .lv-cat svg { width: 32px; height: 32px; }
}

.sim[data-sim="park"], .sim[data-sim="park"] .sim-cv, .sim[data-sim="park"] .sim-spot { touch-action: pan-y; }

/* Duruş mesafesi: sonuç paneli */
.sim-main.is-alert { animation: alertPulse .9s ease-in-out infinite; }
@keyframes alertPulse { 50% { box-shadow: 0 0 0 8px rgba(222, 47, 41, .25), 0 12px 30px -12px rgba(222, 47, 41, .7); } }
.ds-result { margin-top: 14px; }
.ds-result[hidden] { display: none; }
.ds-card { padding: 16px 16px 12px; border-radius: 20px; background: var(--surface-2); border: 1px solid var(--line); animation: screenIn .4s cubic-bezier(.2, .8, .2, 1); }
.ds-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 8px; }
.ds-h b { font-family: var(--f-display); font-stretch: 110%; font-size: 20px; font-weight: 900; }
.ds-h span { font-family: var(--f-mono); font-size: 12.5px; color: var(--muted); }
.ds-strip, .ds-bars { display: block; width: 100%; height: auto; }
.ds-road { fill: var(--sim-road); }
.ds-r { fill: #ffc83d; }
.ds-b { fill: #ff4b3e; }
.ds-ball { stroke: var(--text); stroke-width: 2; stroke-dasharray: 4 3; }
.ds-ballc { fill: #fff; stroke: var(--text); stroke-width: 2; }
.ds-lbl { fill: #16171b; font: 800 12px var(--f-body); text-anchor: middle; dominant-baseline: central; }
.ds-ticks line { stroke: var(--muted); stroke-width: 1.4; }
.ds-ticks text { fill: var(--muted); font: 700 11px var(--f-mono); text-anchor: middle; }
.ds-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px; align-items: end; margin-top: 8px; }
.ds-bars .rr { fill: #ffc83d; opacity: .45; }
.ds-bars .rb { fill: #ff4b3e; opacity: .4; }
.ds-bars .cur .rr, .ds-bars .cur .rb { opacity: 1; }
.ds-bars .rv { fill: var(--text); font: 800 12px var(--f-body); text-anchor: middle; opacity: .55; }
.ds-bars .cur .rv { opacity: 1; }
.ds-bars .rs { fill: var(--muted); font: 700 12px var(--f-mono); text-anchor: middle; }
.ds-50 { stroke: var(--text); stroke-width: 1.4; stroke-dasharray: 5 4; opacity: .5; }
.ds-50t { fill: var(--muted); font: 700 11px var(--f-mono); text-anchor: end; }
.ds-hist { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.ds-hist li { padding: 7px 10px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.ds-hist li b { color: var(--text); }
.ds-hist li.ok { border-color: color-mix(in srgb, #1fbf6a 45%, transparent); }
.ds-hist li.bad { border-color: color-mix(in srgb, #ff4b3e 45%, transparent); }
.ds-legend { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); }
.ds-legend i { display: inline-block; width: 11px; height: 11px; margin: 0 5px -1px 8px; border-radius: 3px; }
.ds-legend i:first-child { margin-left: 0; }
.ds-legend .lr { background: #ffc83d; }
.ds-legend .lb { background: #ff4b3e; }
@media (max-width: 760px) { .ds-row { grid-template-columns: 1fr; } .ds-card { padding: 12px; } }

.sim-dark { background: #14161c; }
.sim-bar kbd { color: inherit; }
.sim-ghost kbd { background: var(--surface-3); }

/* Levha dersi */
.lv-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.lv-cat { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 8px; border-radius: 18px; border: 2px solid var(--line); background: var(--surface); color: var(--text); font-size: 14px; font-weight: 700; line-height: 1.25; text-align: center; transition: border-color .2s, background-color .2s, transform .2s; }
.lv-cat svg { width: 40px; height: 40px; }
.lv-cat .gs-k { position: absolute; top: 8px; left: 8px; min-width: 20px; height: 20px; font-size: 11px; }
.lv-cat:hover:not(:disabled) { border-color: var(--line-2); transform: translateY(-2px); }
.lv-cat:disabled { cursor: default; }
.lv-cat.right { border-color: #1fbf6a; background: var(--green-soft); }
.lv-cat.wrong { border-color: var(--accent); background: var(--accent-soft); animation: shake .4s; }

/* Simülasyon SVG öğeleri (temaya uyumlu) */
.s-ground { fill: var(--sim-ground); }
.s-grass { fill: var(--sim-grass); }
.s-road { fill: var(--sim-road); }
.s-road2 { fill: var(--sim-road-2); }
.s-side { fill: var(--sim-side); }
.s-line { fill: none; stroke: var(--sim-line); stroke-width: 3; }
.s-dash { fill: none; stroke: var(--sim-line); stroke-width: 3; stroke-dasharray: 18 16; }
.s-white { fill: var(--sim-line); }
.s-text { fill: var(--sim-ink); font-family: var(--f-mono); font-size: 13px; font-weight: 700; }
.s-big { fill: var(--sim-ink); font-family: var(--f-display); font-weight: 900; }
.s-muted { fill: var(--muted); font-family: var(--f-mono); font-size: 12px; font-weight: 600; }
.shake { animation: shake .4s; }

/* Temel yaşam desteği */
.tyd-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin-top: 14px; }
.tyd-steps[hidden] { display: none; }
.tyd-step { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; row-gap: 2px; align-items: start; padding: 12px 12px 12px 12px; border-radius: 16px; border: 2px solid var(--line); background: var(--surface-2); color: var(--text); text-align: left; transition: border-color .2s, background-color .2s, transform .2s; }
.tyd-step .ts-ic { grid-row: 1 / 3; width: 34px; height: 34px; padding: 7px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); }
.tyd-step .ts-k { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 7px; background: var(--surface-3); font-family: var(--f-mono); font-size: 11px; font-weight: 700; color: var(--muted); }
.tyd-step b { font-size: 14px; line-height: 1.25; padding-right: 18px; }
.tyd-step small { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.tyd-step:hover:not(:disabled) { border-color: var(--line-2); transform: translateY(-2px); }
.tyd-step.done { border-color: #1fbf6a; background: var(--green-soft); cursor: default; }
.tyd-step.done .ts-ic { background: #1fbf6a; color: #fff; }
.tyd-step.done .ts-k { background: #1fbf6a; color: #fff; }

/* Gösterge ışıkları ve trafik adabı: seçenek kartları */
.gs-choices, .ad-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.gs-choice, .ad-choice { display: flex; align-items: flex-start; gap: 10px; padding: 13px 14px; border-radius: 18px; border: 2px solid var(--line); background: var(--surface-2); color: var(--text); text-align: left; font-size: 15px; font-weight: 650; line-height: 1.35; transition: border-color .2s, background-color .2s, transform .2s; }
.gs-choice:hover:not(:disabled), .ad-choice:hover:not(:disabled) { border-color: var(--line-2); transform: translateY(-2px); }
.gs-choice:disabled, .ad-choice:disabled { cursor: default; }
.gs-choice.right, .ad-choice.right { border-color: #1fbf6a; background: var(--green-soft); }
.gs-choice.wrong, .ad-choice.wrong { border-color: var(--accent); background: var(--accent-soft); animation: shake .4s; }
.gs-t b { display: block; font-size: 15px; }
.gs-t small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.gs-dot { flex: none; width: 14px; height: 14px; margin-top: 5px; border-radius: 50%; }
.gs-dot.red { background: #ff3b30; box-shadow: 0 0 10px rgba(255, 59, 48, .6); }
.gs-dot.amber { background: #ffae1f; box-shadow: 0 0 10px rgba(255, 174, 31, .6); }
.gs-dot.info { background: linear-gradient(135deg, #34c759 50%, #3b8cff 50%); box-shadow: 0 0 10px rgba(59, 140, 255, .45); }

/* =========================================================
   YAŞ HESAPLAYICI
   ========================================================= */
.age { padding: 124px 0 96px; }
.age-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.date-field { display: grid; gap: 8px; max-width: 380px; margin-top: 28px; }
.date-field span { font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.date-field input { width: 100%; padding: 16px 18px; border-radius: 18px; border: 2px solid var(--line-2); background: var(--surface); color: var(--text); font: 700 20px var(--f-body); outline: none; transition: border-color .2s, box-shadow .2s; }
.date-field input:focus { border-color: var(--red); box-shadow: 0 0 0 5px rgba(222, 47, 41, .14); }
.age-summary { margin: 18px 0 0; max-width: 460px; font-weight: 600; font-size: 17px; }
.age-summary b { color: var(--accent); }
.age-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cls { position: relative; padding: 16px 16px 14px; border-radius: 22px; background: var(--surface); border: 1.5px solid var(--line); transition: border-color .35s, background .35s, transform .35s; }
.cls:hover { transform: translateY(-3px); }
.cls-k { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: 30px; line-height: 1; }
.cls-n { margin-top: 5px; font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.cls-age { margin-top: 2px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.cls-st { display: flex; align-items: flex-start; gap: 6px; margin-top: 10px; font-size: 13px; font-weight: 700; line-height: 1.35; color: var(--muted); }
.cls-st .ic { margin-top: 1px; }
.cls.ok { border-color: color-mix(in srgb, #1fbf6a 55%, transparent); background: linear-gradient(180deg, var(--surface), var(--green-soft)); }
.cls.ok .cls-st { color: var(--green); }
.cls.soft { border-color: color-mix(in srgb, #ffae1f 60%, transparent); background: linear-gradient(180deg, var(--surface), var(--gold-soft)); }
.cls.soft .cls-st, .cls.wait .cls-st { color: #a35f00; }
[data-theme="dark"] .cls.soft .cls-st, [data-theme="dark"] .cls.wait .cls-st { color: #ffc566; }
.cls .ours { position: absolute; top: 12px; right: 12px; padding: 4px 8px; border-radius: 999px; background: var(--red); color: #fff; font-family: var(--f-mono); font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.age .footnote { margin-top: 30px; }

/* =========================================================
   SÜREÇ — kaydırmayla ilerleyen yol
   ========================================================= */
.journey-sec { position: relative; overflow: hidden; padding: 110px 0 150px; }
.journey { position: relative; margin-top: 56px; }
.road-svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 90px, #000 calc(100% - 70px), transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 90px, #000 calc(100% - 70px), transparent 100%); }
.road-svg path { fill: none; }
.r-shadow { stroke: color-mix(in srgb, var(--text) 8%, transparent); stroke-width: 96; stroke-linecap: round; }
.r-asphalt { stroke: var(--sim-road); stroke-width: 72; }
.r-edge { stroke: rgba(255, 255, 255, .85); stroke-width: 62; }
.r-asphalt2 { stroke: var(--sim-road); stroke-width: 57; }
.r-lane { stroke: rgba(255, 255, 255, .7); stroke-width: 3; stroke-dasharray: 16 15; }
.r-done { stroke: var(--yellow); stroke-width: 4.5; stroke-linecap: round; filter: drop-shadow(0 0 5px rgba(255, 200, 61, .9)); }
.r-mark .bg { fill: #fff; stroke: #2a2c32; stroke-width: 3; transition: fill .35s; }
.r-mark text { fill: #2a2c32; font-family: var(--f-mono); font-size: 14px; font-weight: 700; text-anchor: middle; dominant-baseline: central; transition: fill .35s; }
.r-mark.done .bg { fill: #1fbf6a; stroke: #0c6a38; }
.r-mark.done text { fill: #fff; }
.r-finish rect { stroke: #16171b; stroke-width: 1.5; }
.r-car { filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .35)); }
.steps { position: relative; display: grid; gap: 64px; margin: 0; padding: 0; list-style: none; }
.step { display: grid; grid-template-columns: 1fr 220px 1fr; }
.step .step-card { grid-column: 1; justify-self: end; }
.step:nth-child(even) .step-card { grid-column: 3; justify-self: start; }
.step-card {
  position: relative; width: min(100%, 450px); padding: 26px 26px 22px; border-radius: 28px; background: var(--surface);
  border: 1.5px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .6s cubic-bezier(.2, .8, .2, 1), box-shadow .6s, border-color .6s, opacity .6s;
}
.js .step:not(.active) .step-card { opacity: .55; transform: scale(.97); }
.step.active .step-card { border-color: color-mix(in srgb, var(--red) 40%, transparent); box-shadow: 0 36px 70px -40px rgba(222, 47, 41, .5); }
.step-no { position: absolute; top: 16px; right: 22px; font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: 46px; line-height: 1; color: color-mix(in srgb, var(--text) 8%, transparent); }
.step-ic { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 14px; border-radius: 16px; background: var(--surface-3); color: var(--text); font-size: 24px; transition: background-color .4s, color .4s; }
.step.active .step-ic { background: var(--red); color: #fff; }
.step-card h3 { margin: 0 0 8px; font-size: 23px; font-stretch: 110%; font-weight: 850; }
.step-card p { margin: 0 0 14px; color: var(--muted); font-size: 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--surface-3); color: var(--text); font-family: var(--f-mono); font-size: 12.5px; font-weight: 600; }
.chip-green { background: var(--green-soft); color: var(--green); }

/* =========================================================
   BELGELER
   ========================================================= */
.docs { padding: 124px 0; }
.docs .u { background: linear-gradient(transparent 60%, var(--hl) 60%, var(--hl) 90%, transparent 90%); }
.docs-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 64px; align-items: start; }
.progress-card { position: relative; display: flex; align-items: center; gap: 20px; width: fit-content; margin-top: 30px; padding: 18px 26px 18px 18px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.ring { width: 96px; height: 96px; transform: rotate(-90deg); flex: none; }
.ring-bg { fill: none; stroke: var(--surface-3); stroke-width: 12; }
.ring-fg { fill: none; stroke: var(--yellow); stroke-width: 12; stroke-linecap: round; stroke-dasharray: 314.16; stroke-dashoffset: 314.16; transition: stroke-dashoffset .7s cubic-bezier(.2, .8, .2, 1), stroke .3s; }
.progress-card.done .ring-fg { stroke: #1fbf6a; }
.ring-text { position: absolute; left: 18px; top: 50%; width: 96px; transform: translateY(-50%); text-align: center; line-height: 1.1; }
.ring-text b { display: block; font-family: var(--f-display); font-stretch: 115%; font-weight: 900; font-size: 25px; }
.ring-text span { font-size: 12px; color: var(--muted); }
#docs-msg { max-width: 210px; margin: 0; font-weight: 700; font-size: 16.5px; }
.tips { display: grid; gap: 12px; margin-top: 22px; }
.tip { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.tip .ic { margin-top: 2px; color: var(--accent); font-size: 22px; }
.tip p { margin: 0; color: var(--muted); font-size: 15px; }
.tip b { color: var(--text); }
.checklist { display: grid; gap: 12px; }
.check { position: relative; display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 22px; background: var(--surface); border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); cursor: pointer; transition: background-color .25s, border-color .25s, transform .25s; }
.check:hover { transform: translateX(4px); border-color: var(--line-2); }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check .box { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; border: 2px solid var(--line-2); transition: background-color .25s, border-color .25s; }
.check .box .ic { opacity: 0; transform: scale(.3); color: #16171b; stroke-width: 3.4; transition: opacity .25s, transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.check input:checked ~ .box { background: var(--yellow); border-color: var(--yellow); }
.check input:checked ~ .box .ic { opacity: 1; transform: none; }
.check input:focus-visible ~ .box { outline: 3px solid var(--yellow); outline-offset: 3px; }
.check:has(input:checked) { border-color: color-mix(in srgb, var(--yellow) 70%, transparent); background: color-mix(in srgb, var(--yellow) 8%, var(--surface)); }
.c-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--surface-3); color: var(--text); font-size: 20px; }
.c-txt b { display: block; font-size: 17px; line-height: 1.3; }
.c-txt small { display: block; margin-top: 3px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.check-group { margin: 14px 0 0; font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }

/* =========================================================
   DENEME SINAVI — e-Sınav simülasyonu
   ========================================================= */
.quiz-sec { padding: 124px 0; }
.quiz-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.quiz-facts { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; padding: 0; list-style: none; }
.quiz-facts li { min-width: 100px; padding: 14px 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); text-align: center; }
.quiz-facts b { display: block; font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: 34px; line-height: 1; color: var(--accent); }
.quiz-facts span { font-size: 13px; color: var(--muted); }
.quiz-note { max-width: 520px; margin: 0 0 22px; font-size: 15px; color: var(--muted); }
.text-link { display: inline; color: var(--text); font-weight: 700; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--red) 55%, transparent); text-underline-offset: 5px; text-decoration-thickness: 2px; }
.text-link:hover { color: var(--accent); }
.quiz { position: relative; overflow: hidden; border-radius: 32px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.quiz::before { content: "e-SINAV SİMÜLASYONU · MTSK"; display: flex; align-items: center; gap: 10px; padding: 15px 24px; background: #16171b; color: rgba(255, 255, 255, .72); font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; }
@keyframes screenIn { from { opacity: 0; transform: translateY(14px); } }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--surface-2); }

/* Ders renkleri (sınavda ve akademide ortak) */
:root { --s-iy: #d7372f; --s-tc: #1f5fd1; --s-at: #c77f00; --s-ta: #138a4b; }
[data-theme="dark"] { --s-iy: #ff6b60; --s-tc: #6a9dff; --s-at: #ffbd3d; --s-ta: #3ddc84; }
[data-s="iy"] { --sc: var(--s-iy); }
[data-s="tc"] { --sc: var(--s-tc); }
[data-s="at"] { --sc: var(--s-at); }
[data-s="ta"] { --sc: var(--s-ta); }
.xa-subj { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--sc, var(--muted)) 13%, transparent); color: var(--sc, var(--muted)); font-family: var(--f-mono); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.xa-subj::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* Lobi */
.xl-body { display: grid; gap: 20px; padding: 26px 28px 28px; }
.xl-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.xl-mode { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 16px 18px; border-radius: 22px; border: 2px solid var(--line); background: var(--surface-2); color: var(--text); text-align: left; transition: border-color .2s, background-color .2s, transform .2s; }
.xl-mode:hover { border-color: var(--line-2); transform: translateY(-2px); }
.xl-mode.is-on { border-color: var(--text); background: var(--surface); box-shadow: var(--shadow-sm); }
.xl-mode-ic { grid-row: 1 / 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--surface-3); font-size: 21px; transition: background-color .2s, color .2s; }
.xl-mode.is-on .xl-mode-ic { background: var(--red); color: #fff; }
.xl-mode b { font-size: 17px; line-height: 1.2; }
.xl-mode > span:last-child { font-family: var(--f-mono); font-size: 12.5px; color: var(--muted); }
.xl-label { margin: 0 0 10px; font-family: var(--f-mono); font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.xl-label b { color: var(--text); }
.xl-bar { display: flex; gap: 4px; height: 14px; }
.xl-bar i { flex: 1 1 0; min-width: 0; border-radius: 6px; background: var(--sc); transition: flex-grow .5s cubic-bezier(.2, .8, .2, 1); }
.xl-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--muted); }
.xl-legend li { display: flex; align-items: center; gap: 7px; }
.xl-legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--sc); }
.xl-legend b { color: var(--text); font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.xl-rules { display: grid; gap: 7px; margin: 0; padding: 16px 18px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line); list-style: none; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.xl-rules li { position: relative; padding-left: 20px; }
.xl-rules li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.xl-rules b { color: var(--text); }
.xl-agree { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 650; cursor: pointer; }
.xl-agree input { position: absolute; opacity: 0; pointer-events: none; }
.xl-agree .box { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; border: 2px solid var(--line-2); transition: background-color .2s, border-color .2s; }
.xl-agree .box .ic { opacity: 0; transform: scale(.3); color: #16171b; stroke-width: 3.4; transition: opacity .2s, transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.xl-agree input:checked ~ .box { background: var(--yellow); border-color: var(--yellow); }
.xl-agree input:checked ~ .box .ic { opacity: 1; transform: none; }
.xl-agree input:focus-visible ~ .box { outline: 3px solid var(--yellow); outline-offset: 3px; }
.xl-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.xl-cta .btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.xl-resume { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 16px; border-radius: 18px; background: var(--gold-soft); border: 1px solid color-mix(in srgb, var(--yellow) 45%, transparent); }
.xl-resume > div { flex: 1 1 220px; }
.xl-resume b { display: block; font-size: 15.5px; }
.xl-resume span { font-family: var(--f-mono); font-size: 12.5px; color: var(--muted); }
.xl-history { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.xl-hist-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.xl-hist-list li { display: flex; align-items: baseline; gap: 5px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); text-transform: none; letter-spacing: 0; }
.xl-hist-list b { font-size: 14px; color: var(--accent); }
.xl-hist-list .pass b { color: var(--green); }
.xl-hist-list span { color: var(--muted); }

/* Geri sayım ışığı */
.tl { display: inline-flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 24px; background: #1b1c20; box-shadow: inset 0 0 0 3px #2d2f35, 0 20px 40px -20px rgba(0, 0, 0, .6); }
.tl i { width: 38px; height: 38px; border-radius: 50%; background: #2d2f35; transition: background-color .2s, box-shadow .2s; }
.tl-big i { width: 70px; height: 70px; }
.tl.r i:nth-child(1) { background: #ff3b30; box-shadow: 0 0 26px #ff3b30; }
.tl.y i:nth-child(2) { background: #ffcc00; box-shadow: 0 0 26px #ffcc00; }
.tl.g i:nth-child(3) { background: #34c759; box-shadow: 0 0 26px #34c759; }

/* Tam ekran sınav uygulaması */
html.exam-open { overflow: hidden; }
.xa:focus { outline: none; }
.xa { position: fixed; inset: 0; z-index: 70; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr); background: var(--bg); color: var(--text); opacity: 0; transition: opacity .3s; }
.xa.is-open { opacity: 1; }
.xa-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 10px max(16px, env(safe-area-inset-left)) 10px; padding-top: max(10px, env(safe-area-inset-top)); background: #16171b; color: #fff; }
.xa-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.xa-logo { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--red); font-size: 20px; }
.xa-brand b { display: block; font-size: 16px; line-height: 1.2; }
.xa-brand div span { display: block; overflow: hidden; font-family: var(--f-mono); font-size: 11.5px; color: rgba(255, 255, 255, .6); white-space: nowrap; text-overflow: ellipsis; }
.xa-timer { display: grid; justify-items: center; padding: 4px 16px; border-radius: 14px; background: rgba(255, 255, 255, .07); }
.xa-timer small { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.xa-timer b { font-family: var(--f-mono); font-size: 26px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.xa-timer.warn { background: rgba(255, 59, 48, .2); }
.xa-timer.warn b { color: #ff6b60; animation: blinkSoft 1s ease-in-out infinite; }
@keyframes blinkSoft { 50% { opacity: .55; } }
.xa-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.xa-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .22); background: transparent; color: #fff; font-size: 14.5px; font-weight: 700; white-space: nowrap; transition: background-color .2s; }
.xa-btn:hover { background: rgba(255, 255, 255, .1); }
.xa-btn-red { background: var(--red); border-color: var(--red); }
.xa-btn-red:hover { background: var(--red-2); }
.xa-close { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: inherit; font-size: 18px; }
.xa-close:hover { background: rgba(255, 255, 255, .18); }
.xa[data-phase="result"] [data-x="panel"], .xa[data-phase="result"] [data-x="finish"], .xa[data-phase="result"] .xa-foot { display: none; }
.xa[data-view="count"] .xa-foot, .xa[data-view="count"] .xa-actions .xa-btn { visibility: hidden; }
.xa-body { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.xa-screen { display: none; width: min(940px, 100% - 32px); margin: 0 auto; padding: 30px 0 36px; outline: none; }
.xa-screen.is-active { display: block; }
.xa-count { text-align: center; padding-top: 12vh; }
.xa-count-t { margin: 26px 0 0; font-family: var(--f-display); font-stretch: 120%; font-weight: 900; font-size: 30px; }
.xa-q.swap { animation: qIn .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes qIn { from { opacity: 0; transform: translateX(14px); } }
.xa-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 18px; }
.xa-no { font-family: var(--f-mono); font-size: 15px; font-weight: 700; }
.xa-qbody { display: flex; align-items: center; gap: 26px; margin-bottom: 24px; }
.xa-vis { flex: none; display: grid; place-items: center; width: 150px; height: 150px; }
.xa-vis:empty { display: none; }
.xa-vis svg { width: 100%; height: 100%; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .18)); }
.xa-vis[data-kind="scene"] { width: 300px; height: auto; aspect-ratio: 26 / 18; overflow: hidden; border-radius: 18px; border: 1px solid var(--line); }
.xa-vis[data-kind="scene"] svg { filter: none; }
.xa-vis[data-kind="lamp"] { width: 128px; height: 128px; }
.xa-text { margin: 0; font-size: 22px; font-weight: 750; line-height: 1.38; }
.xa-opts { display: grid; gap: 10px; }
.xa-opt { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border-radius: 18px; border: 2px solid var(--line); background: var(--surface); color: var(--text); text-align: left; font-size: 17px; font-weight: 600; line-height: 1.4; transition: border-color .15s, background-color .15s, color .15s, transform .15s; }
.xa-opt:hover { border-color: var(--line-2); transform: translateX(3px); }
.xa-key { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--surface-3); color: var(--text); font-family: var(--f-mono); font-size: 14.5px; font-weight: 700; transition: background-color .15s, color .15s; }
.xa-opt.sel { border-color: var(--text); background: var(--text); color: var(--bg); }
.xa-opt.sel .xa-key { background: var(--yellow); color: #16171b; }
.xa-foot { background: var(--surface); border-top: 1px solid var(--line); padding: 10px 16px max(10px, env(safe-area-inset-bottom)); }
.xa-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: min(940px, 100%); margin: 0 auto 8px; }
.xa-navbtn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--text); font-size: 15px; font-weight: 700; transition: background-color .2s, opacity .2s; }
.xa-navbtn:hover:not(:disabled) { background: var(--surface-2); }
.xa-navbtn:disabled { opacity: .4; cursor: not-allowed; }
.xa-navbtn-next { background: var(--text); border-color: var(--text); color: var(--bg); }
.xa-navbtn-next:hover:not(:disabled) { background: var(--text); opacity: .9; }
.xa-answered { font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.xa-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 14px; width: min(1180px, 100%); margin: 0 auto; }
.xa-seg { display: grid; gap: 4px; }
.xa-seg-t { font-family: var(--f-mono); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sc); padding-left: 2px; border-left: 3px solid var(--sc); line-height: 1; }
.xa-seg-n { display: flex; flex-wrap: wrap; gap: 3px; }
.xa-dot { display: grid; justify-items: center; gap: 2px; width: 30px; padding: 3px 0 4px; border-radius: 8px; border: 1.5px solid transparent; background: transparent; color: var(--muted); font-family: var(--f-mono); font-size: 11px; font-weight: 700; line-height: 1.1; }
.xa-dot i { width: 12px; height: 12px; border-radius: 50%; border: 1.8px solid var(--line-2); transition: background-color .2s, border-color .2s; }
.xa-dot.ans i { background: var(--text); border-color: var(--text); }
.xa-dot.ans { color: var(--text); }
.xa-dot.cur { border-color: var(--red); background: var(--accent-soft); color: var(--accent); }
.xa-dot:hover { background: var(--surface-2); }
.xa-sheet { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 16px; background: rgba(8, 9, 12, .55); opacity: 0; transition: opacity .2s; }
.xa-sheet.show { opacity: 1; }
.xa-sheet-card { width: min(760px, 100%); max-height: min(88vh, 760px); overflow: auto; padding: 22px; border-radius: 26px; background: var(--surface); box-shadow: var(--shadow-lg); }
.xa-sheet-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 16px; }
.xa-sheet-head > b { font-size: 20px; }
.xa-sheet-head .xa-close { margin-left: auto; background: var(--surface-2); color: var(--text); }
.xa-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 13px; color: var(--muted); }
.xa-legend i { display: inline-block; width: 12px; height: 12px; margin-right: 4px; border-radius: 4px; border: 1.8px solid var(--line-2); vertical-align: -1px; }
.xa-legend i.a { background: var(--text); border-color: var(--text); }
.xa-legend i.c { border-color: var(--red); background: var(--accent-soft); }
.xa-grp { margin-top: 14px; }
.xa-grp-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; padding-left: 10px; border-left: 4px solid var(--sc); }
.xa-grp-h b { font-size: 15px; }
.xa-grp-h span { font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.xa-grp-n { display: grid; grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); gap: 6px; }
.xa-cell { display: grid; justify-items: center; gap: 1px; padding: 7px 0; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--muted); font-family: var(--f-mono); font-size: 12px; }
.xa-cell b { font-size: 15px; color: var(--text); }
.xa-cell.ans { background: var(--text); border-color: var(--text); color: var(--bg); }
.xa-cell.ans b { color: var(--bg); }
.xa-cell.cur { outline: 3px solid var(--red); outline-offset: 1px; }
.xa-modal { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; padding: 16px; background: rgba(8, 9, 12, .6); opacity: 0; transition: opacity .2s; }
.xa-modal.show { opacity: 1; }
.xa-modal-card { width: min(480px, 100%); padding: 26px; border-radius: 26px; background: var(--surface); box-shadow: var(--shadow-lg); animation: screenIn .3s cubic-bezier(.2, .8, .2, 1); }
.xa-modal-card h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.2; }
.xa-modal-card p { margin: 0 0 10px; color: var(--muted); font-size: 15.5px; }
.xa-m-big { font-size: 17px !important; color: var(--text) !important; }
.xa-m-big b { font-family: var(--f-display); font-size: 34px; font-stretch: 120%; font-weight: 900; color: var(--accent); vertical-align: -3px; margin-right: 4px; }
.xa-m-note { padding: 10px 12px; border-radius: 12px; background: var(--gold-soft); font-size: 14px !important; }
.xa-modal-act { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.xa-toast { position: absolute; left: 50%; top: 84px; z-index: 4; max-width: calc(100% - 32px); padding: 10px 16px; border-radius: 14px; background: #16171b; color: #fff; font-size: 14.5px; font-weight: 650; box-shadow: var(--shadow-lg); opacity: 0; transform: translate(-50%, -10px); transition: opacity .25s, transform .25s; pointer-events: none; }
.xa-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Sonuç ekranı */
.xr-head { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 30px; padding: 24px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.xr-ring { position: relative; width: 170px; height: 170px; }
.xr-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.xr-ring .ring-fg { stroke: var(--red); stroke-dasharray: 326.73; stroke-dashoffset: 326.73; transition: stroke-dashoffset 1.3s cubic-bezier(.2, .8, .2, 1); }
.xr-ring.pass .ring-fg { stroke: #1fbf6a; }
.xr-ring > div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.xr-ring b { font-family: var(--f-display); font-stretch: 120%; font-weight: 900; font-size: 52px; line-height: 1; }
.xr-ring span { font-size: 13px; color: var(--muted); }
.xr-stamp { display: inline-block; padding: 5px 12px; border-radius: 10px; border: 2.5px solid currentColor; font-family: var(--f-mono); font-size: 14px; font-weight: 700; letter-spacing: .16em; transform: rotate(-2deg); }
.xr-stamp.pass { color: var(--green); }
.xr-stamp.fail { color: var(--accent); }
.xr-sum h3 { margin: 12px 0 6px; font-size: clamp(21px, 2.4vw, 27px); font-stretch: 108%; font-weight: 850; line-height: 1.2; }
.xr-sum p { margin: 0; color: var(--muted); font-size: 15px; }
.xr-stats { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.xr-stats li { display: flex; align-items: baseline; gap: 6px; padding: 7px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.xr-stats b { font-family: var(--f-mono); font-size: 18px; color: var(--text); }
.xr-stats .c b { color: var(--green); }
.xr-stats .w b { color: var(--accent); }
.xr-subj, .xr-recs { margin-top: 18px; padding: 20px 22px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.xr-subj h4, .xr-recs h4 { margin: 0 0 14px; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.xr-row { display: grid; grid-template-columns: 150px 1fr 64px; align-items: center; gap: 14px; padding: 7px 0; }
.xr-name { font-weight: 700; font-size: 15px; }
.xr-bar { height: 12px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.xr-bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--sc); transition: width 1s cubic-bezier(.2, .8, .2, 1); }
.xr-bar i.go { width: var(--p); }
.xr-val { font-family: var(--f-mono); font-size: 14px; color: var(--muted); text-align: right; }
.xr-val b { color: var(--text); font-size: 16px; }
.xr-recs { display: grid; gap: 8px; }
.xr-recs h4 { margin-bottom: 6px; }
.xr-rec { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface-2); color: var(--text); text-align: left; font-size: 15.5px; transition: border-color .2s, transform .2s; }
.xr-rec:hover { border-color: var(--line-2); transform: translateX(3px); }
.xr-rec .ic { margin-left: auto; }
.xr-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* Cevap inceleme */
.xv-head { position: sticky; top: -30px; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: -30px 0 16px; padding: 14px 0; background: var(--bg); }
.xv-empty { padding: 30px; border-radius: 22px; background: var(--surface); text-align: center; font-weight: 700; }
.xv-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.xv-item { padding: 20px 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--line-2); }
.xv-item.c { border-left-color: #1fbf6a; }
.xv-item.w { border-left-color: var(--red); }
.xv-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 10px; font-family: var(--f-mono); font-size: 13px; }
.xv-st { margin-left: auto; font-weight: 700; }
.xv-item.c .xv-st { color: var(--green); }
.xv-item.w .xv-st { color: var(--accent); }
.xv-item.e .xv-st { color: var(--muted); }
.xv-q { display: flex; align-items: center; gap: 16px; }
.xv-q p { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.4; }
.xa-vis.sm { width: 76px; height: 76px; }
.xa-vis.sm[data-kind="scene"] { width: 150px; height: auto; border-radius: 12px; }
.xa-vis.sm[data-kind="lamp"] { width: 66px; height: 66px; }
.xv-opts { display: grid; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.xv-opts li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; border: 1.5px solid transparent; font-size: 15px; color: var(--muted); }
.xv-opts .xa-key { width: 28px; height: 28px; font-size: 13px; border-radius: 9px; }
.xv-opts li.right { border-color: #1fbf6a; background: var(--green-soft); color: var(--text); }
.xv-opts li.right .xa-key { background: #1fbf6a; color: #fff; }
.xv-opts li.mine { border-color: var(--accent); background: var(--accent-soft); color: var(--text); }
.xv-opts li.mine .xa-key { background: var(--red); color: #fff; }
.xv-opts em { margin-left: auto; font-style: normal; font-family: var(--f-mono); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.xv-e { margin: 12px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); font-size: 14.5px; color: var(--muted); }
.xv-e b { color: var(--text); }

/* =========================================================
   KURSİYERLER
   ========================================================= */
.stories { position: relative; overflow: hidden; padding: 124px 0; }
.stories .wrap { position: relative; }
.kicker-light { color: var(--muted); }
.kicker-light b { color: var(--accent); }
.script { color: var(--accent); }
.stories-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.stories-nav { display: flex; gap: 10px; flex: none; }
.round-btn { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--surface); color: var(--text); font-size: 22px; transition: background-color .2s, color .2s, border-color .2s; }
.round-btn:hover { background: var(--text); border-color: var(--text); color: var(--bg); }
.story-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(290px, 370px); gap: 18px;
  margin-inline: calc(-1 * var(--gutter)); padding: 40px var(--gutter) 16px; scroll-padding-inline: var(--gutter);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.story-track::-webkit-scrollbar { display: none; }
.story { display: flex; flex-direction: column; gap: 16px; min-height: 380px; margin: 0; padding: 22px; border-radius: 30px; background: var(--surface); border: 1px solid var(--line); color: var(--text); scroll-snap-align: start; box-shadow: var(--shadow-sm); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.story:hover { transform: translateY(-6px) rotate(-.5deg); }
.ig-head { display: flex; align-items: center; gap: 10px; }
.ig-av { width: 40px; height: 40px; flex: none; border-radius: 13px; box-shadow: 0 0 0 2.5px var(--surface), 0 0 0 4.5px #e1306c; }
.ig-head span { min-width: 0; line-height: 1.25; }
.ig-head b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.ig-head small { color: var(--muted); font-size: 12px; }
.ig-logo { margin-left: auto; color: var(--muted); font-size: 20px; }
.story blockquote { flex: 1; display: grid; place-items: center; margin: 0; padding: 24px; border-radius: 22px; background: linear-gradient(160deg, #1c1d22, #2c2e35); color: #fff; text-align: center; }
.story blockquote p { margin: 0; font-family: var(--f-display); font-stretch: 112%; font-weight: 850; font-size: 27px; line-height: 1.14; letter-spacing: -.01em; }
.story-y blockquote { background: linear-gradient(160deg, #ffd35a, #ff9f1a); color: #16171b; }
.story-d blockquote { background: linear-gradient(160deg, #2a6be0, #173f8f); }
.story figcaption { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.story figcaption span { display: block; margin-top: 4px; font-size: 12.5px; opacity: .8; }
.story-ig { justify-content: flex-end; background: linear-gradient(150deg, #833ab4 0%, #e1306c 55%, #fcb045 100%); border: 0; color: #fff; }
.big-ig { font-size: 58px; margin-bottom: auto; stroke-width: 1.7; }
.ig-count { margin: 0; font-size: 18px; }
.story-ig p { margin: 0; color: rgba(255, 255, 255, .92); }
.story-ig .btn { align-self: flex-start; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }

/* =========================================================
   SSS
   ========================================================= */
.faq-sec { padding: 124px 0; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-aside { position: sticky; top: 110px; }
.faq-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.faq-list { display: grid; gap: 12px; }
.faq { border-radius: 22px; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.faq[open] { border-color: color-mix(in srgb, var(--red) 30%, transparent); box-shadow: var(--shadow-sm); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; list-style: none; cursor: pointer; font-size: 18px; font-weight: 750; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--surface-3); transition: transform .3s, background-color .3s, color .3s; }
.faq[open] summary .ic { transform: rotate(180deg); background: var(--red); color: #fff; }
.faq-a { padding: 0 22px 22px; color: var(--muted); font-size: 16.5px; }
.faq-a p { margin: 0; }
.faq-a a { color: var(--accent); font-weight: 700; }
.faq[open] .faq-a { animation: faqIn .35s ease; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* =========================================================
   İLETİŞİM
   ========================================================= */
.contact { padding: 124px 0 96px; }
.contact .sec-head { max-width: 900px; }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: start; margin-top: 44px; }
.contact-info { display: grid; gap: 12px; }
.c-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.c-card { display: flex; align-items: flex-start; gap: 16px; min-width: 0; padding: 20px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; box-shadow: var(--shadow-sm); transition: background-color .25s, transform .25s, border-color .25s; }
a.c-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.c-card > span:last-child { min-width: 0; }
.cc-ic { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 15px; background: var(--accent-soft); color: var(--accent); font-size: 21px; }
.c-wa .cc-ic { background: var(--green-soft); color: var(--green); }
.c-card small { display: block; margin-bottom: 4px; font-family: var(--f-mono); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.c-card b { display: block; font-size: 17px; font-weight: 700; line-height: 1.4; }
.c-card b.break { overflow-wrap: anywhere; }
.c-card em { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-style: normal; font-size: 14.5px; font-weight: 700; color: var(--accent); }
.hours { padding: 22px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.hours-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.hours-head > .ic { color: var(--accent); font-size: 20px; }
.hours-head .status-pill { margin-left: auto; }
.hours-list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.hours-list li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 12px; color: var(--muted); font-size: 15.5px; }
.hours-list li b { font-weight: 600; font-variant-numeric: tabular-nums; }
.hours-list li.today { background: var(--gold-soft); color: var(--text); font-weight: 700; }
.hours-list li.today span::after { content: "Bugün"; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--yellow); color: #16171b; font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; vertical-align: 2px; }
.apply { display: grid; gap: 16px; padding: 28px; border-radius: 30px; background: var(--surface); border: 1px solid var(--line); color: var(--text); box-shadow: var(--shadow-lg); }
.apply-head { display: flex; align-items: flex-start; gap: 14px; }
.apply-ic { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 17px; background: var(--red); color: #fff; font-size: 22px; }
.apply h3 { margin: 0; font-size: 27px; font-stretch: 110%; font-weight: 850; line-height: 1.1; }
.apply-head p { margin: 4px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.field { display: grid; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > span, .field legend { padding: 0; margin-bottom: 7px; font-family: var(--f-mono); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field > span { margin-bottom: 0; }
.field em { font-style: normal; text-transform: none; letter-spacing: 0; opacity: .8; }
.field input, .field textarea { width: 100%; padding: 14px 16px; border-radius: 15px; border: 2px solid var(--line-2); background: var(--surface-2); color: var(--text); font: 500 16.5px var(--f-body); outline: none; resize: vertical; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus { border-color: var(--red); background: var(--surface); box-shadow: 0 0 0 4px rgba(222, 47, 41, .12); }
.field.invalid input { border-color: var(--red); background: var(--accent-soft); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 2px solid var(--line-2); font-size: 14.5px; font-weight: 700; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.pills span:hover { border-color: var(--muted); }
.pills input:checked + span { background: var(--text); border-color: var(--text); color: var(--bg); }
.pills input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.consent { display: flex; align-items: flex-start; gap: 12px; color: var(--muted); font-size: 14.5px; line-height: 1.5; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--red); }
.consent small { display: block; margin-top: 3px; opacity: .85; }
.form-error { margin: 0; color: var(--accent); font-weight: 700; }
.form-error:empty { display: none; }
.form-ok { margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--green-soft); color: var(--green); font-weight: 700; }
.apply-alt { margin: 0; text-align: center; color: var(--muted); font-size: 14.5px; }
.apply-alt a { color: var(--text); font-weight: 800; }
.map { position: relative; height: 430px; margin-top: 24px; overflow: hidden; border-radius: 30px; background: var(--surface-3); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.9); }
[data-theme="dark"] .map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.75) brightness(.95) contrast(.95); }
.map-card { position: absolute; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 14px; max-width: calc(100% - 40px); padding: 14px 16px; border-radius: 22px; background: var(--nav-bg); border: 1px solid var(--line); color: var(--text); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); }
.map-card .brand-mark { width: 42px; height: 42px; }
.map-card b { display: block; line-height: 1.3; }
.map-card span { font-size: 13.5px; color: var(--muted); }

/* =========================================================
   ALT BİLGİ
   ========================================================= */
.footer { position: relative; padding: 84px 0 30px; background: var(--footer-bg); color: var(--muted); }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--yellow) 0 44px, transparent 44px 76px); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer p { font-size: 15px; }
.footer .brand { color: var(--text); margin-bottom: 18px; }
.foot-meta { font-family: var(--f-mono); font-size: 13px !important; color: var(--faint); }
.footer h4 { margin: 8px 0 16px; color: var(--text); font-family: var(--f-mono); font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.footer ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.footer a { color: var(--muted); text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--text); }
.foot-contact li { overflow-wrap: anywhere; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: color-mix(in srgb, var(--text) 7%, transparent); color: var(--text); font-size: 20px; transition: background-color .2s, color .2s; }
.socials a:hover { background: var(--red); color: #fff; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 30px; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; }
.foot-bottom p { margin: 0; }
.legal { max-width: 580px; color: var(--faint); font-size: 12.5px !important; line-height: 1.5; }
.to-top { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--text) !important; }
.to-top .ic { transform: rotate(-90deg); }

/* ---------- Mobil hızlı erişim & konfeti ---------- */
.quickbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; display: none; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px; border-radius: 24px; background: var(--nav-bg); border: 1px solid var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .45); transform: translateY(150%); transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.quickbar.show { transform: none; }
.quickbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 6px; border-radius: 18px; color: var(--text); text-decoration: none; font-size: 12.5px; font-weight: 700; }
.quickbar .ic { font-size: 21px; }
.quickbar .qb-wa { background: var(--wa); color: #fff; }
.quickbar .qb-red { background: var(--red); color: #fff; }
.confetti { position: fixed; inset: 0; z-index: 80; width: 100%; height: 100%; pointer-events: none; }

/* =========================================================
   DUYARLI TASARIM
   ========================================================= */
@media (max-width: 1240px) {
  .nav-status { display: none; }
}
@media (max-width: 1180px) {
  .lesson { grid-template-columns: 1fr; }
  .rule-card { position: static; }
}
@media (max-width: 1080px) {
  .burger { display: grid; }
  .nav-cta { margin-left: auto; }
  .nav-links {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px;
    margin: 0; padding: 100px 28px 40px; background: var(--menu-bg); color: var(--nav-ink);
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .nav.open .nav-links { opacity: 1; visibility: visible; }
  .nav-links > a { padding: 6px 0; background: none !important; opacity: 1; font-family: var(--f-display); font-stretch: 115%; font-weight: 850; font-size: clamp(30px, 7.5vw, 46px); line-height: 1.15; }
  .nav-links > a.active { color: var(--accent); }
  .menu-extra { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
  .about-grid, .age-grid, .docs-grid, .quiz-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .faq-aside { position: static; }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .c-b, .c-ozel { grid-column: 1 / -1; }
  .dash { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .quiz-copy, .age-copy, .docs-copy { max-width: 720px; }
  .academy-progress { width: 100%; justify-content: flex-start; padding: 0 4px; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  body { font-size: 16.5px; }
  html { scroll-padding-top: 72px; }
  .nav { padding: 10px 0; }
  .nav-inner { width: calc(100% - 28px); gap: 10px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-text b { font-size: 19px; }
  .nav-cta .btn-sm { display: none; }
  .theme-toggle { width: 42px; height: 42px; }

  .hero { min-height: max(640px, 100svh); }
  .hero-content { padding-top: 104px; padding-bottom: 250px; }
  .eyebrow { font-size: 11px; letter-spacing: .08em; margin-bottom: 20px; }
  .eb-long { display: none; }
  .hero-title { font-size: clamp(34px, 9.6vw, 50px); font-stretch: 104%; line-height: .98; margin-bottom: 18px; }
  .hero-lead { font-size: 16.5px; margin-bottom: 22px; }
  .hero-cta .btn-lg { flex: 1 1 auto; padding: .95em 1.2em; font-size: 16px; }
  .sun { width: 58vw; right: -6%; bottom: 120px; }
  .moon { right: 8%; top: 12%; }
  .bl-1 { --s: 62px; right: 6%; top: 10.5%; }
  .bl-2 { --s: 34px; right: 30%; top: 58%; }
  .bl-3, .d-2, .d-4 { display: none; }
  .layer.far { bottom: 86px; height: 190px; --tile: calc(190px * 5); }
  .layer.mid { bottom: 70px; height: 160px; --tile: calc(160px * 5.7143); }
  .layer.near { bottom: 56px; height: 148px; --tile: calc(148px * 6.1538); }
  .road { height: 66px; }
  .road::before { height: 6px; }
  .road::after { top: 12px; height: 2px; }
  .lane { top: 38px; height: 4px; background-image: repeating-linear-gradient(90deg, #f3efe7 0 46px, transparent 46px 92px); width: calc(100% + 92px); animation-name: laneSm; }
  @keyframes laneSm { to { transform: translate3d(-92px, 0, 0); } }
  .car-wrap { left: 50%; width: 200px; bottom: 18px; margin-left: -100px; }

  .ticker span { font-size: 14px; padding-block: 11px; }
  .panel { padding: 48px 0 64px; }
  .dash { gap: 10px; padding: 12px; border-radius: 28px; }
  .dash-item { padding: 16px 8px; border-radius: 20px; }
  .dash-label { font-size: 10.5px; letter-spacing: .1em; }
  .gear span { width: 52px; height: 44px; font-size: 19px; }
  .led-box strong { font-size: 24px; }
  .g-value { font-size: 42px; }

  .about, .courses, .academy, .quiz-sec, .docs, .stories, .faq-sec { padding: 84px 0; }
  .age { padding: 84px 0 70px; }
  .contact { padding: 84px 0 70px; }
  .journey-sec { padding: 84px 0 100px; }
  .features { grid-template-columns: 1fr; }
  .about-sign { width: 100%; }
  .course-grid { grid-template-columns: 1fr; margin-top: 36px; }
  .c-b .c-art { margin: -20px 0 -4px; max-width: 100%; }
  .c-letter { font-size: 66px; }
  .c-gecis { grid-template-columns: 1fr; gap: 18px; padding: 24px; }
  .c-gecis .btn { justify-self: start; }
  .academy-shell { margin-inline: calc(-1 * var(--gutter) + 6px); padding: 12px; border-radius: 26px; }
  .lesson-tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
  .lesson-tab { flex: none; padding: 8px 12px 8px 8px; }
  .ap-legend { display: none; }
  .gs-choices, .ad-choices { grid-template-columns: 1fr; gap: 8px; }
  .sim-goal { margin-left: 0; }
  .ln-btn { margin-left: 0; }
  .lt-ic { width: 34px; height: 34px; }
  .lesson-top h3 { font-size: 24px; }
  .sim { border-radius: 18px; }
  .sim-readout { margin-left: 0; }
  .sim-bar .btn, .sim-ghost { padding: .75em 1em; font-size: 15px; }
  .lv-cats { grid-template-columns: repeat(2, 1fr); }
  .rule-card { padding: 18px; }
  .academy-grad { flex-wrap: wrap; }
  .academy-grad .btn { margin-left: 0; }
  .age-board { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .steps { gap: 26px; }
  .step { grid-template-columns: 58px 1fr; }
  .step .step-card, .step:nth-child(even) .step-card { grid-column: 2; justify-self: stretch; width: 100%; }
  .step-card { padding: 22px 20px 18px; }
  .r-shadow { stroke-width: 60; }
  .r-asphalt { stroke-width: 44; }
  .r-edge { stroke-width: 37; }
  .r-asphalt2 { stroke-width: 33; }
  .r-lane { stroke-width: 2; stroke-dasharray: 10 10; }
  .r-mark text { font-size: 11px; }
  .quiz { border-radius: 26px; }
  .xl-body { padding: 20px 16px 22px; gap: 18px; }
  .xl-modes { gap: 8px; }
  .xl-mode { grid-template-columns: 1fr; padding: 13px 14px; row-gap: 2px; }
  .xl-mode-ic { grid-row: auto; width: 36px; height: 36px; margin-bottom: 6px; font-size: 18px; }
  .xl-mode b { font-size: 15.5px; }
  .xa-top { grid-template-columns: auto 1fr; gap: 8px; padding-inline: 12px; }
  .xa-brand { display: none; }
  .xa-timer { justify-self: start; padding: 3px 12px; }
  .xa-timer b { font-size: 21px; }
  .xa-btn { padding: 8px 11px; font-size: 13.5px; }
  .xa-btn .ic { display: none; }
  .xa-close { width: 36px; height: 36px; }
  .xa-screen { width: calc(100% - 28px); padding: 18px 0 24px; }
  .xa-qbody { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
  .xa-vis { width: 112px; height: 112px; }
  .xa-vis[data-kind="scene"] { width: 100%; max-width: 360px; }
  .xa-vis[data-kind="lamp"] { width: 96px; height: 96px; }
  .xa-text { font-size: 18.5px; }
  .xa-opt { padding: 12px 13px; font-size: 16px; gap: 12px; }
  .xa-foot { padding: 8px 10px max(8px, env(safe-area-inset-bottom)); }
  .xa-nav { margin-bottom: 6px; }
  .xa-navbtn { padding: 9px 13px; font-size: 14px; }
  .xa-answered { font-size: 12px; text-align: center; }
  .xa-strip { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .xa-strip::-webkit-scrollbar { display: none; }
  .xa-seg-n { flex-wrap: nowrap; }
  .xa-toast { top: 70px; }
  .xr-head { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 16px; padding: 20px 16px; }
  .xr-stats { justify-content: center; }
  .xr-ring { width: 150px; height: 150px; }
  .xr-row { grid-template-columns: 1fr 58px; gap: 4px 10px; }
  .xr-name { grid-column: 1 / -1; font-size: 14.5px; }
  .xr-subj, .xr-recs { padding: 16px; }
  .xv-item { padding: 16px; }
  .xv-q { flex-direction: column; align-items: flex-start; }
  .xv-head { top: -18px; margin-top: -18px; }
  .stories-head { flex-direction: column; align-items: flex-start; }
  .story-track { grid-auto-columns: 84%; padding-top: 28px; }
  .story blockquote p { font-size: 24px; }
  .c-row { grid-template-columns: 1fr; }
  .apply { padding: 22px 18px; border-radius: 26px; }
  .map { height: 360px; border-radius: 26px; }
  .map-card { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .map-card .btn { margin-left: auto; }
  .footer { padding-bottom: 120px; }
  .foot-grid { gap: 30px; }
  .foot-brand { grid-column: 1 / -1; }
  .quickbar { display: grid; }
}
@media (max-width: 400px) {
  .brand-text small { display: none; }
  .age-board { grid-template-columns: 1fr 1fr; }
  .cls { padding: 14px 12px 12px; }
  .cls .ours { position: static; display: inline-block; margin-bottom: 6px; }
  .foot-grid { grid-template-columns: 1fr; }
  .quiz-facts li { min-width: 0; flex: 1; }
  .lv-cat { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .drift { display: none; }
  ::view-transition-new(root) { animation: none; }
}
