﻿/* =========================================================
   CodePusula — style.css
   1. Tokens        5. Quiz
   2. Base/Reset    6. Analysis
   3. Components    7. Results / Areas
   4. Landing      8. Guide / Roadmap / About
                   9. Footer / Responsive
   ========================================================= */

/* ---------- 1. TOKENS ---------- */
:root {
  --bg: #ffffff;
  --bg-elev: #faf6fd;
  --card: #ffffff;
  --card-2: #f4ebfa;
  --line: #e4d6f0;
  --line-soft: #eee5f7;

  --primary: #9333ea;
  --primary-dim: #7e22ce;
  --secondary: #c81e64;
  --text: #1b0f2b;
  --muted: #6A5880;
  --success: #15803d;
  --warn: #b45309;

  --grad: linear-gradient(120deg, #c81e64 0%, #9333ea 100%);
  /* beyaz yazı için bir ton koyu varyant (AA) */
  --grad-btn: linear-gradient(120deg, #be185d 0%, #7e22ce 100%);
  --grad-soft: linear-gradient(120deg, rgba(219, 39, 119, 0.11), rgba(147, 51, 234, 0.11));

  /* hero'daki kod kartı (dekoratif, beyaz tema) */
  --code-bg: #ffffff;
  --code-bar: #f7f2fb;
  --code-line: #e7dbf2;
  --code-txt: #2a1b3d;
  --code-gut: #a99bb8;
  --code-c: #8b7a9c;
  --code-k: #7c3aed;
  --code-s: #be185d;
  --code-f: #b45309;
  --code-i: #a16207;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --sh-1: 0 1px 2px rgba(76, 29, 149, 0.07);
  --sh-2: 0 8px 30px rgba(76, 29, 149, 0.1);
  --sh-3: 0 18px 60px rgba(76, 29, 149, 0.13);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 0.18s;
  --t: 0.32s;

  --nav-h: 68px;
  --maxw: 1180px;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-d: "Space Grotesk", var(--font);
  --font-m: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
}

/* ---------- 2. BASE / RESET ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-d);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2.6vw, 1.4rem); }
h4 { font-size: 1.02rem; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--secondary); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg { max-width: 100%; display: block; }

button, input, select { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: rgba(147, 51, 234, 0.22); }

.skip-link {
  position: fixed;
  top: -60px;
  left: 12px;
  z-index: 200;
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  transition: top var(--t) var(--ease);
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}


/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}

.main { min-height: 70vh; }
.view { padding-block: clamp(28px, 6vw, 56px) clamp(56px, 9vw, 96px); }
.view__head { max-width: 720px; margin-bottom: 40px; }
.view__head p { color: var(--muted); font-size: 1.05rem; }

.section { padding-block: clamp(56px, 8vw, 96px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 14px;
  font-family: var(--font-d);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--secondary));
}

.lead { color: var(--muted); font-size: 1.06rem; }
.text-grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.muted { color: var(--muted); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- 3. COMPONENTS ---------- */

/* Buttons */
.btn {
  --btn-bg: var(--card-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--btn-bg);
  color: var(--text);
  font-family: var(--font-d);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t) var(--ease),
    background var(--t) var(--ease), border-color var(--t) var(--ease), opacity var(--t) var(--ease);
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn:active { transform: translateY(0) scale(0.985); }
.btn[disabled] { opacity: 0.45; pointer-events: none; }

.btn--primary {
  background: var(--grad-btn);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 24px rgba(147, 51, 234, 0.28);
}
.btn--primary:hover { box-shadow: 0 10px 34px rgba(147, 51, 234, 0.42); }

.btn--ghost { background: transparent; }
.btn--ghost:hover { border-color: var(--primary); background: rgba(147, 51, 234, 0.09); }

.btn--outline { background: transparent; border-color: rgba(147, 51, 234, 0.5); color: #6D28D9; }
.btn--outline:hover { background: rgba(147, 51, 234, 0.1); border-color: var(--primary); }

.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 0.87rem; border-radius: var(--r-sm); }
.btn--lg { min-height: 56px; padding: 15px 34px; font-size: 1.03rem; border-radius: var(--r-lg); }
.btn--block { width: 100%; }

.btn__arrow { transition: transform var(--t) var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--sh-1);
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.card--pad-lg { padding: 34px; }
.card--hover:hover {
  transform: translateY(-4px);
  border-color: rgba(147, 51, 234, 0.42);
  box-shadow: var(--sh-2);
}

/* Pills / badges */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card-2);
  font-size: 0.79rem;
  font-weight: 500;
  color: var(--muted);
  font-family: var(--font-d);
  white-space: nowrap;
}
.pill--primary { border-color: rgba(147, 51, 234, 0.4); background: rgba(147, 51, 234, 0.12); color: #6D28D9; }
.pill--success { border-color: rgba(21, 128, 61, 0.35); background: rgba(21, 128, 61, 0.1); color: #15803D; }
.pill--pink { border-color: rgba(219, 39, 119, 0.38); background: rgba(219, 39, 119, 0.12); color: #BE185D; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }

.tag-soft {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(139, 149, 167, 0.12);
  color: #4C3A5E;
  font-size: 0.76rem;
  font-weight: 500;
  font-family: var(--font-d);
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--line-soft); background: rgba(255, 255, 255, 0.94); }

.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 11px;
  background: linear-gradient(150deg, #fde3f0, #e6d4fd);
  border: 1px solid rgba(147, 51, 234, 0.28);
  box-shadow: 0 4px 14px rgba(147, 51, 234, 0.16);
}
.footer__brand .logo__mark { width: 30px; height: 30px; border-radius: 10px; }
.logo__text {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.logo__accent { color: var(--secondary); }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative;
  padding: 8px 13px;
  border-radius: var(--r-sm);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--t) var(--ease), background var(--t) var(--ease);
}
.nav__link:hover { color: var(--text); background: rgba(147, 51, 234, 0.09); text-decoration: none; }
.nav__link.is-active { color: var(--text); }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}
.nav__cta { margin-left: 8px; }

.hamburger {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--card);
  cursor: pointer;
  position: relative;
}
.hamburger span {
  position: absolute;
  left: 12px;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform var(--t) var(--ease), opacity var(--t-fast) var(--ease), top var(--t) var(--ease);
}
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 27px; }
.hamburger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.nav-scrim {
  position: fixed;
  inset: var(--nav-h) 0 0;
  z-index: 50;
  background: rgba(43, 24, 62, 0.6);
  backdrop-filter: blur(3px);
}

/* ---------- 4. LANDING / HERO ---------- */
.hero { position: relative; padding-block: clamp(48px, 9vw, 92px) clamp(52px, 8vw, 84px); overflow: hidden; }
.hero__grid {
  display: grid;
  /* minmax(0,…) şart: kod satırları white-space:pre olduğu için aksi halde
     1fr izgarasının otomatik min-content tabanı dar ekranlarda kolonu
     viewport'tan geniş yapıyor ve baloncuklar kırpılıyor. */
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero__grid > * { min-width: 0; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 22px;
  font-family: var(--font-d);
}
.hero__badge b { color: var(--text); font-weight: 600; }
.hero__dot {
  width: 20px; height: 20px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(21, 128, 61, 0.14);
  color: var(--success);
  font-size: 0.6rem;
}

.hero h1 { margin-bottom: 18px; }
.hero__sub { color: var(--muted); font-size: clamp(1rem, 2.2vw, 1.13rem); max-width: 52ch; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }

.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.86rem;
  color: var(--muted);
  font-family: var(--font-d);
}
.hero__meta svg { color: var(--success); flex: none; }

/* ---------- HERO GÖRSELİ: kod kartı + puan baloncukları ---------- */
.hero__visual { position: relative; min-width: 0; }

.codewrap {
  position: relative;
  width: 100%;
  max-width: 440px;
  min-width: 0;
  margin-inline: auto;
  padding: 34px 26px;
}

.codecard {
  position: relative;
  border: 1px solid var(--code-line);
  border-radius: 16px;
  background: var(--code-bg);
  box-shadow: var(--sh-3);
  overflow: hidden;
}
.codecard__bar {
  display: flex;
  align-items: center;
  gap: 13px;
  height: 38px;
  padding: 0 13px;
  background: var(--code-bar);
  border-bottom: 1px solid var(--code-line);
}
.codecard__dots { display: inline-flex; gap: 6px; flex: none; }
.codecard__dots i { width: 10px; height: 10px; border-radius: 50%; }
.codecard__dots i:nth-child(1) { background: #db2777; }
.codecard__dots i:nth-child(2) { background: #f59e0b; }
.codecard__dots i:nth-child(3) { background: #22c55e; }
.codecard__tab {
  padding: 4px 11px;
  border-radius: 7px 7px 0 0;
  background: var(--code-bg);
  color: var(--code-txt);
  font: 500 0.72rem/1.4 var(--font-m);
}
.codecard__code {
  padding: 14px 0 16px;
  font: 400 0.76rem/1.75 var(--font-m);
  color: var(--code-txt);
  overflow: hidden;
}
.codecard__code .cl { display: flex; padding-inline: 16px 18px; white-space: pre; }
.codecard__code .cl > span {
  flex: none;
  width: 22px;
  margin-right: 14px;
  text-align: right;
  color: var(--code-gut);
  user-select: none;
}
.codecard__code code { font: inherit; white-space: pre; }
.codecard__code .c { color: var(--code-c); font-style: normal; }
.codecard__code .k { color: var(--code-k); font-style: normal; }
.codecard__code .s { color: var(--code-s); font-style: normal; }
.codecard__code .f { color: var(--code-f); font-style: normal; }
.codecard__code .i { color: var(--code-i); font-style: normal; }
.codecard__code .p { color: var(--code-c); font-style: normal; }
.codecard__code .t { color: var(--code-c); font-style: normal; }
.codecard__code .v { color: var(--code-txt); font-style: normal; }

/* ---- Puan baloncukları ----
   --c : puan rengi (kırmızı → sarı → yeşil), --t : açık tonu.
   Renk yalnızca puanda; etiket (WEB/AI/...) nötr kalır. */
.cball {
  position: absolute;
  width: 62px;
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(0 8px 14px rgba(76, 29, 149, 0.16));
}
.cball__env {
  width: 60px;
  height: 53px;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 46% 46% / 44% 44% 56% 56%;
  background: var(--t);
  border: 1.5px solid var(--c);
  box-shadow: inset 0 -6px 12px rgba(76, 29, 149, 0.05);
}
.cball__num {
  font-family: var(--font-d);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--c);
  font-variant-numeric: tabular-nums;
}
.cball__ropes {
  width: 18px;
  height: 8px;
  border-left: 1.5px solid var(--c);
  border-right: 1.5px solid var(--c);
  border-bottom: none;
  opacity: 0.45;
  transform: perspective(24px) rotateX(-9deg);
  margin-top: -1px;
}
.cball__label {
  padding: 2px 8px;
  border-radius: 7px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--muted);
  font: 600 0.58rem/1.5 var(--font-d);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: var(--sh-1);
}

.cball--1 { top: 0; left: 4px; }
.cball--2 { top: 6px; right: 8px; }
.cball--3 { top: 40%; right: -14px; }
.cball--4 { bottom: 4px; right: 14px; }
.cball--5 { bottom: 0; left: 2px; }
.cball--6 { top: 34%; left: -14px; }

@media (prefers-reduced-motion: no-preference) {
  .cball--1 { animation: cballBob 7.5s ease-in-out infinite; }
  .cball--2 { animation: cballBob 9s ease-in-out infinite 0.9s; }
  .cball--3 { animation: cballBob 8.2s ease-in-out infinite 1.8s; }
  .cball--4 { animation: cballBob 10s ease-in-out infinite 0.4s; }
  .cball--5 { animation: cballBob 8.8s ease-in-out infinite 2.4s; }
  .cball--6 { animation: cballBob 7.8s ease-in-out infinite 1.2s; }
}
@keyframes cballBob {
  0%, 100% { transform: translateY(0) rotate(-1.6deg); }
  50% { transform: translateY(-11px) rotate(1.6deg); }
}

/* Stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: clamp(40px, 6vw, 64px);
}
.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 20px;
}
.stat__num {
  font-family: var(--font-d);
  font-size: 1.6rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}
.stat__label { font-size: 0.82rem; color: var(--muted); }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { position: relative; overflow: hidden; }
.step__num {
  font-family: var(--font-d);
  font-size: 2.6rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 12px;
}
.step h3 { font-size: 1.12rem; }
.step p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.step__icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--grad-soft);
  border: 1px solid rgba(147, 51, 234, 0.28);
  margin-bottom: 16px;
  color: var(--secondary);
}

/* Areas preview grid */
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.area-card { display: flex; flex-direction: column; gap: 12px; }
.area-card__top { display: flex; align-items: center; gap: 12px; }
.area-card__icon {
  width: 44px; height: 44px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--grad-soft);
  border: 1px solid var(--line);
  font-size: 1.2rem;
}
.area-card h3 { margin: 0; font-size: 1.02rem; }
.area-card h3 a { color: inherit; }
.area-card p { color: var(--muted); font-size: 0.92rem; margin: 0; flex: 1; }
.area-card__langs { display: flex; flex-wrap: wrap; gap: 6px; }

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid rgba(147, 51, 234, 0.3);
  background:
    radial-gradient(120% 140% at 12% 0%, rgba(147, 51, 234, 0.24), transparent 58%),
    radial-gradient(110% 130% at 92% 100%, rgba(219, 39, 119, 0.16), transparent 55%),
    var(--card);
  padding: clamp(30px, 5vw, 52px);
  text-align: center;
}
.cta-band p { color: #6A5880; max-width: 56ch; margin-inline: auto; }
.cta-band .btn { margin-top: 8px; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 780px; margin-inline: auto; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--card);
  overflow: hidden;
  transition: border-color var(--t) var(--ease);
}
.faq__item[open] { border-color: rgba(147, 51, 234, 0.4); }
.faq__q {
  cursor: pointer;
  list-style: none;
  padding: 16px 20px;
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--secondary);
  transition: transform var(--t) var(--ease);
  flex: none;
}
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__a { padding: 0 20px 18px; color: var(--muted); font-size: 0.94rem; }

/* ---------- 5. QUIZ ---------- */
.quiz { max-width: 760px; margin-inline: auto; padding-block: clamp(24px, 5vw, 44px) 80px; }

.quiz__top {
  position: sticky;
  top: var(--nav-h);
  z-index: 20;
  background: linear-gradient(180deg, var(--bg) 62%, transparent);
  padding-block: 14px 20px;
}
.quiz__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-family: var(--font-d);
}
.quiz__count { font-size: 0.92rem; font-weight: 600; letter-spacing: 0.02em; }
.quiz__count b { color: var(--secondary); }
.quiz__pct { font-size: 0.82rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.pbar {
  height: 7px;
  border-radius: 999px;
  background: var(--card-2);
  border: 1px solid var(--line-soft);
  overflow: hidden;
}
.pbar__fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: var(--grad);
  transition: width 0.5s var(--ease);
  position: relative;
}
.pbar__fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: translateX(-100%);
  animation: sheen 2.2s linear infinite;
}
@keyframes sheen { to { transform: translateX(100%); } }

.quiz__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; gap: 10px; }
.quiz__hint { font-size: 0.8rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }

/* Question card */
.qcard { margin-top: 8px; }
.qcard__badge { margin-bottom: 14px; }
.qcard__text {
  font-size: clamp(1.22rem, 3.6vw, 1.62rem);
  margin-bottom: 26px;
  line-height: 1.32;
}
.qcard__scene {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1px solid rgba(219, 39, 119, 0.2);
  background: rgba(219, 39, 119, 0.05);
  color: #4C3A5E;
  font-size: 0.92rem;
  margin-bottom: 22px;
}
.qcard__scene svg { flex: none; margin-top: 2px; color: var(--secondary); }

.opts { display: grid; gap: 10px; }
.opt {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 60px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--card);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  font-size: 0.98rem;
  line-height: 1.45;
  overflow: hidden;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease), box-shadow var(--t) var(--ease);
}
.opt:hover { border-color: rgba(147, 51, 234, 0.55); background: var(--card-2); transform: translateX(3px); }
.opt__key {
  width: 30px; height: 30px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  font-family: var(--font-d);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  transition: all var(--t-fast) var(--ease);
}
.opt__label { flex: 1; }
.opt__check { opacity: 0; color: var(--success); transition: opacity var(--t-fast) var(--ease); flex: none; }

.opt.is-selected {
  border-color: var(--primary);
  background: linear-gradient(100deg, rgba(147, 51, 234, 0.16), rgba(219, 39, 119, 0.05));
  box-shadow: 0 0 0 1px var(--primary), 0 8px 26px rgba(147, 51, 234, 0.18);
}
.opt.is-selected .opt__key { background: var(--grad-btn); border-color: transparent; color: #fff; }
.opt.is-selected .opt__check { opacity: 1; }

.quiz__dotrow { display: flex; flex-wrap: wrap; gap: 2px; margin-top: 26px; }
.qdot {
  position: relative;
  width: 9px; height: 9px;
  border-radius: 3px;
  background: var(--card-2);
  border: 1px solid var(--line);
  padding: 0;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
/* Görsel olarak küçük ama dokunma alanı 24px'e genişletilir (a11y). */
.qdot::after {
  content: "";
  position: absolute;
  inset: -7px;
}
.qdot:hover { background: rgba(147, 51, 234, 0.7); transform: scale(1.25); }
.qdot.is-done { background: rgba(147, 51, 234, 0.55); border-color: transparent; }
.qdot.is-current { background: var(--grad); border-color: transparent; transform: scale(1.35); }

/* ---------- 6. ANALYSIS ---------- */
.analysis {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 100px 20px 60px;
  text-align: center;
}
.analysis__box { max-width: 460px; width: 100%; }
.analysis__ring {
  width: 148px; height: 148px;
  margin: 0 auto 28px;
  position: relative;
  display: grid;
  place-items: center;
}
.analysis__ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.analysis__ring circle { fill: none; stroke-width: 5; stroke-linecap: round; }
.analysis__track { stroke: var(--card-2); }
.analysis__bar { stroke: url(#agrad); transition: stroke-dashoffset 0.35s linear; }
.analysis__num {
  font-family: var(--font-d);
  font-size: 2.1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.analysis__msg { font-size: 1.12rem; font-family: var(--font-d); font-weight: 600; min-height: 1.6em; }
.analysis__sub { color: var(--muted); font-size: 0.92rem; margin-top: 8px; }
.analysis__dots { display: flex; justify-content: center; gap: 6px; margin-top: 26px; }
.analysis__dots i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--line);
  transition: all var(--t) var(--ease);
}
.analysis__dots i.on { background: var(--secondary); transform: scale(1.4); }

/* ---------- 7. RESULTS ---------- */
.results__head { text-align: center; max-width: 680px; margin: 0 auto 40px; }

.profile {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid rgba(147, 51, 234, 0.3);
  background:
    radial-gradient(120% 150% at 8% 0%, rgba(147, 51, 234, 0.22), transparent 60%),
    radial-gradient(120% 150% at 95% 100%, rgba(219, 39, 119, 0.14), transparent 58%),
    var(--card);
  padding: clamp(26px, 5vw, 40px);
  margin-bottom: 44px;
  text-align: center;
}
.profile__label { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-family: var(--font-d); }
.profile__name {
  font-family: var(--font-d);
  font-size: clamp(1.9rem, 6vw, 2.9rem);
  font-weight: 700;
  margin: 6px 0 10px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.profile__desc { color: #6A5880; max-width: 54ch; margin-inline: auto; }
.profile__traits { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 20px; }
.profile__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.profile__stat b { display: block; font-family: var(--font-d); font-size: 1.3rem; }
.profile__stat span { font-size: 0.8rem; color: var(--muted); }

.res-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 52px; }

.sec-title { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.sec-title h2 { margin: 0; }
.sec-title__line { flex: 1; height: 1px; background: var(--line); }
.sec-sub { color: var(--muted); margin-bottom: 26px; }

/* Result area cards */
.rcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.rcard { display: flex; flex-direction: column; gap: 16px; }
.rcard__head { display: flex; align-items: flex-start; gap: 14px; }
.rcard__icon {
  width: 48px; height: 48px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--grad-soft);
  border: 1px solid var(--line);
  font-size: 1.3rem;
}
.rcard__title { flex: 1; min-width: 0; }
.rcard__title h3 { margin: 0 0 4px; font-size: 1.08rem; }
.rcard__title a { color: inherit; }
.rcard__title a:hover { color: var(--secondary); }

.score { display: flex; align-items: baseline; gap: 6px; font-family: var(--font-d); flex: none; }
.score__num {
  font-size: 1.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.score__den { font-size: 0.8rem; color: var(--muted); }

.scorebar { height: 8px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line-soft); overflow: hidden; }
.scorebar__fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--grad);
  transition: width 1.1s var(--ease);
}
.rcard__match { display: flex; align-items: center; gap: 10px; }
.rcard__match-label { font-size: 0.8rem; color: var(--muted); font-family: var(--font-d); flex: none; }

.rcard__why { background: var(--bg-elev); border: 1px solid var(--line-soft); border-radius: var(--r-md); padding: 14px 16px; }
.rcard__why h4 {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 8px;
}
.rcard__why li { color: #4C3A5E; font-size: 0.9rem; margin-bottom: 6px; }
.rcard__why ul { margin: 0; padding-left: 18px; }
.rcard__why li:last-child { margin-bottom: 0; }
.rcard__why li::marker { color: var(--primary); }
.rcard__foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* Learning roadmap timeline */
.tl { position: relative; display: grid; gap: 0; }
.tl::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), rgba(219, 39, 119, 0.5), transparent);
}
.tl__item { position: relative; display: flex; gap: 20px; padding-bottom: 20px; }
.tl__item:last-child { padding-bottom: 0; }
.tl__num {
  position: relative;
  z-index: 1;
  flex: none;
  width: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.tl__badge {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid rgba(147, 51, 234, 0.4);
  font-family: var(--font-d);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--secondary);
}
.tl__body {
  flex: 1;
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 18px;
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease);
}
.tl__body:hover { border-color: rgba(147, 51, 234, 0.4); transform: translateX(3px); }
.tl__body h3 { margin: 0 0 4px; font-size: 1rem; }
.tl__body p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.tl__arrow { display: grid; place-items: center; color: rgba(147, 51, 234, 0.72); margin: 2px 0; }
.tl__tag {
  position: absolute;
  top: -9px; left: 14px;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-d);
  color: var(--muted);
  background: var(--bg);
  padding-inline: 8px;
}

/* Projects */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.proj { display: flex; flex-direction: column; gap: 12px; }
.proj__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.proj__lvl { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--font-d); color: var(--muted); }
.proj h3 { font-size: 1.04rem; margin: 0; }
.proj p { font-size: 0.92rem; color: var(--muted); margin: 0; flex: 1; }
.proj__learn { border-top: 1px solid var(--line-soft); padding-top: 12px; }
.proj__learn b { display: block; font-size: 0.78rem; color: var(--text); margin-bottom: 5px; font-family: var(--font-d); }
.proj__learn span { font-size: 0.85rem; color: var(--muted); }

.diff { display: flex; gap: 3px; }
.diff i { width: 15px; height: 4px; border-radius: 2px; background: var(--line); }
.diff i.on { background: var(--primary); }
.diff--3 i.on { background: var(--success); }
.diff--2 i.on { background: var(--warn); }

/* ---------- 8. AREA DETAIL / GUIDE / ROADMAP / ABOUT ---------- */
.detail-hero {
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(110% 140% at 0% 0%, rgba(147, 51, 234, 0.18), transparent 58%),
    var(--card);
  padding: clamp(26px, 5vw, 44px);
  margin-bottom: 34px;
}
.detail-hero__top { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.detail-hero__icon {
  width: 62px; height: 62px;
  display: grid; place-items: center;
  border-radius: 18px;
  background: var(--grad-soft);
  border: 1px solid rgba(147, 51, 234, 0.35);
  font-size: 1.7rem;
}
.detail-hero h1 { font-size: clamp(1.6rem, 4.6vw, 2.5rem); margin: 0; }
.detail-hero__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.detail-hero__p { color: #4C3A5E; max-width: 70ch; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.blk { margin-bottom: 44px; }
.blk:last-child { margin-bottom: 0; }
.blk__head { margin-bottom: 18px; }
.blk__head p { color: var(--muted); margin: 6px 0 0; font-size: 0.96rem; }

.list-check { display: grid; gap: 10px; }
.list-check li { display: flex; gap: 10px; align-items: flex-start; color: #4C3A5E; font-size: 0.94rem; }
.list-check svg { color: var(--success); flex: none; margin-top: 4px; }
.list-check { list-style: none; padding: 0; margin: 0; }

/* Flow (start → next) */
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.flow__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--card-2);
  font-family: var(--font-d);
  font-size: 0.88rem;
  font-weight: 600;
}
.flow__item--start { border-color: rgba(21, 128, 61, 0.4); background: rgba(21, 128, 61, 0.08); color: #15803D; }
.flow__arr { color: var(--muted); display: grid; place-items: center; }

/* Guide accordion */
.guide-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.guide-nav a {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  font-size: 0.85rem;
  font-family: var(--font-d);
  text-decoration: none;
  transition: all var(--t-fast) var(--ease);
}
.guide-nav a:hover { color: var(--text); border-color: var(--primary); text-decoration: none; }

.guide-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--card);
  margin-bottom: 10px;
  overflow: hidden;
  scroll-margin-top: calc(var(--nav-h) + 80px);
}
.guide-item[open] { border-color: rgba(147, 51, 234, 0.35); }
.guide-item__sum {
  cursor: pointer;
  list-style: none;
  padding: 17px 20px;
  font-family: var(--font-d);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 14px;
}
.guide-item__sum::-webkit-details-marker { display: none; }
.guide-item__ico {
  width: 34px; height: 34px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--grad-soft);
  border: 1px solid var(--line);
  font-size: 0.95rem;
}
.guide-item__sum b { flex: 1; font-size: 0.98rem; }
.guide-item__sum::after {
  content: "+";
  color: var(--secondary);
  font-size: 1.25rem;
  transition: transform var(--t) var(--ease);
  flex: none;
}
.guide-item[open] .guide-item__sum::after { transform: rotate(45deg); }
.guide-item__body { padding: 0 20px 20px; color: #4C3A5E; font-size: 0.94rem; }
.guide-item__body ul { padding-left: 20px; }
.guide-item__body li { margin-bottom: 6px; }
.guide-item__body p { color: var(--muted); }

/* 4-year roadmap */
.year {
  position: relative;
  padding-left: 30px;
  padding-bottom: 34px;
  border-left: 2px solid var(--line);
}
.year:last-child { padding-bottom: 0; border-left-color: transparent; }
.year::before {
  content: "";
  position: absolute;
  left: -7px; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--primary);
}
.year--grad::before { border-color: var(--success); background: var(--success); }
.year__tag { font-family: var(--font-d); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--secondary); }
.year--grad .year__tag { color: var(--success); }
.year h3 { margin: 4px 0 8px; }
.year p { color: var(--muted); font-size: 0.95rem; }
.year ul { padding-left: 20px; color: #4C3A5E; font-size: 0.93rem; }
.year li { margin-bottom: 5px; }

/* About */
.about-hero { text-align: center; max-width: 720px; margin-inline: auto; }
.mv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mv__ico { font-size: 1.6rem; margin-bottom: 12px; }
.mv h3 { font-size: 1.05rem; }
.mv p { color: var(--muted); font-size: 0.93rem; margin: 0; }

.note {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  border: 1px solid rgba(219, 39, 119, 0.22);
  background: rgba(219, 39, 119, 0.05);
  font-size: 0.93rem;
  color: #4C3A5E;
}
.note svg { flex: none; color: var(--secondary); margin-top: 2px; }
.note--warn { border-color: rgba(180, 83, 9, 0.25); background: rgba(180, 83, 9, 0.05); color: #92400E; }
.note--warn svg { color: var(--warn); }

/* Empty / 404 */
.empty { text-align: center; padding: 80px 20px; }
.empty__code { font-family: var(--font-d); font-size: 4rem; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 9. FOOTER / ANIM / RESPONSIVE ---------- */
.footer { border-top: 1px solid var(--line-soft); background: var(--bg-elev); padding-top: 48px; margin-top: 40px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; padding-bottom: 36px; }
.footer__brand p { color: var(--muted); font-size: 0.9rem; max-width: 40ch; margin-top: 12px; }
.footer__nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.footer__nav h3 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-weight: 600; }
.footer__nav a { display: block; color: #4C3A5E; font-size: 0.9rem; padding: 6px 0; text-decoration: none; transition: color var(--t-fast) var(--ease); }
.footer__nav a:hover { color: var(--secondary); text-decoration: none; }
.footer__bottom {
  border-top: 1px solid var(--line-soft);
  padding-block: 20px 28px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--muted);
}
.footer__bottom p { margin: 0; }
.footer__disclaimer { color: #6A5880; }

/* Page transition + reveal */
.view { animation: viewIn 0.4s var(--ease) both; }
@keyframes viewIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.reveal { opacity: 0; transform: translateY(20px); }
@media (prefers-reduced-motion: no-preference) {
  .reveal.is-in { animation: revealIn 0.6s var(--ease) forwards; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .view { animation: none; }
}
@keyframes revealIn { to { opacity: 1; transform: none; } }

.qcard.is-swap { animation: swapIn 0.36s var(--ease) both; }
@keyframes swapIn {
  from { opacity: 0; transform: translateX(26px); }
  to { opacity: 1; transform: none; }
}
.qcard.is-swap-back { animation: swapInBack 0.36s var(--ease) both; }
@keyframes swapInBack {
  from { opacity: 0; transform: translateX(-26px); }
  to { opacity: 1; transform: none; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  /* justify-self:center yerine margin:auto — auto margin grid öğesini
     içeriğine göre daraltıp .codewrap'ü çökertiyordu. */
  .hero__visual { order: -1; width: 100%; max-width: 380px; justify-self: center; }
  .codewrap { max-width: 360px; }
  .area-grid, .proj-grid, .mv-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .hamburger { display: block; }
  .nav__links {
    position: fixed;
    top: var(--nav-h); right: 0;
    z-index: 55;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: min(300px, 82vw);
    height: calc(100dvh - var(--nav-h));
    padding: 18px;
    background: var(--bg-elev);
    border-left: 1px solid var(--line);
    /* Kapalıyken display:none → sayfa yatay taşmaz, gizli bağlantılar
       klavyeyle de erişilemez. allow-discrete ile açılış animasyonu korunur;
       desteklemeyen tarayıcılarda animasyon olmadan çalışır. */
    display: none;
    opacity: 0;
    transform: translateX(102%);
    transition:
      transform 0.34s var(--ease),
      opacity 0.22s var(--ease),
      display 0.34s allow-discrete;
    overflow-y: auto;
  }
  .nav__links.is-open { display: flex; opacity: 1; transform: none; }
  .nav__link { padding: 13px 14px; font-size: 0.98rem; }
  .nav__link.is-active::after { display: none; }
  .nav__link.is-active { background: rgba(147, 51, 234, 0.12); }
  .nav__cta { margin: 10px 0 0; }

  .steps, .stats { grid-template-columns: repeat(2, 1fr); }
  .steps .card:last-child { grid-column: 1 / -1; }
  .rcards, .grid-2, .profile__stats { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .area-grid, .proj-grid, .mv-grid, .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .steps .card:last-child { grid-column: auto; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero__actions .btn { width: 100%; }
  .hero__meta { gap: 8px 16px; }
  /* Dar ekranda kod kartı daralıyor: satırları küçült, yan baloncukları içeri al. */
  .codewrap { padding: 30px 14px; }
  .codecard__code { font-size: 0.64rem; line-height: 1.7; }
  .codecard__code .cl { padding-inline: 10px 12px; }
  .codecard__code .cl > span { width: 16px; margin-right: 10px; }
  .cball { width: 56px; }
  .cball__env { width: 54px; height: 48px; }
  .cball__num { font-size: 1.08rem; }
  .cball--1 { left: 0; }
  .cball--2 { right: 0; }
  .cball--3 { right: 0; }
  .cball--6 { left: 0; }
  .card, .card--pad-lg { padding: 22px 20px; }
  .qcard__scene { font-size: 0.88rem; padding: 12px 14px; }
  .opt { min-height: 56px; padding: 13px 15px; font-size: 0.94rem; }
  .tl::before { left: 21px; }
  .tl__num { width: 44px; }
  .tl__badge { width: 34px; height: 34px; font-size: 0.76rem; }
  .quiz__nav .btn span { display: none; }
  .year { padding-left: 22px; }
  .flow { gap: 7px; }
  .flow__item { font-size: 0.82rem; padding: 7px 12px; }
  .footer__nav { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .stats { grid-template-columns: 1fr; }
  .hero__actions .btn { padding-inline: 16px; font-size: 0.95rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .nav, .footer, .hamburger { display: none !important; }
  body { background: #fff; color: #000; }
}
