/* Özel Ders Asistanım — tanıtım sitesi
   Design tokens: trust blue + orange CTA, Plus Jakarta Sans */

:root {
  --color-primary: #2563eb;
  --color-primary-strong: #1d4ed8;
  --color-on-primary: #ffffff;
  --color-secondary: #3b82f6;
  --color-accent: #ea580c;
  --color-accent-strong: #c2410c;
  --color-on-accent: #ffffff;
  --color-success: #15803d;
  --color-teacher: #2563eb;
  --color-student: #7c3aed;
  --color-parent: #0f766e;

  --color-bg: #f8fafc;
  --color-bg-alt: #eef3fb;
  --color-fg: #0f172a;
  --color-fg-soft: #1e293b;
  --color-card: #ffffff;
  --color-muted: #e9eff8;
  --color-muted-fg: #475569;
  --color-border: #e2e8f0;
  --color-ring: #2563eb;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.6);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px -8px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 24px 48px -16px rgba(37, 99, 235, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --container: 1180px;
  --gutter: 20px;
  --space-section: clamp(64px, 9vw, 112px);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-primary: #60a5fa;
    --color-primary-strong: #93c5fd;
    --color-on-primary: #0b1220;
    --color-secondary: #3b82f6;
    --color-accent: #fb923c;
    --color-accent-strong: #fdba74;
    --color-on-accent: #1a0d03;
    --color-success: #4ade80;
    --color-teacher: #60a5fa;
    --color-student: #a78bfa;
    --color-parent: #2dd4bf;

    --color-bg: #0b1220;
    --color-bg-alt: #0f1a2e;
    --color-fg: #f1f5f9;
    --color-fg-soft: #e2e8f0;
    --color-card: #111b2e;
    --color-muted: #1a2740;
    --color-muted-fg: #a5b4c8;
    --color-border: #22324d;
    --color-ring: #93c5fd;
    --glass: rgba(17, 27, 46, 0.72);
    --glass-border: rgba(148, 163, 184, 0.16);
    --shadow-md: 0 8px 24px -8px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 24px 48px -16px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-fg-soft);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--color-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { color: var(--color-fg); line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }

:focus-visible { outline: 3px solid var(--color-ring); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--color-primary); color: var(--color-on-primary);
  padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space-section); }
.section--alt { background: var(--color-bg-alt); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
.section-head p { color: var(--color-muted-fg); font-size: 1.075rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-primary); margin-bottom: 12px;
}

.icon { width: 24px; height: 24px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 18px; height: 18px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font: 600 1rem/1 var(--font); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 180ms var(--ease), background-color 180ms var(--ease), box-shadow 180ms var(--ease), color 180ms var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--accent { background: var(--color-accent); color: var(--color-on-accent); box-shadow: 0 8px 20px -8px rgba(234, 88, 12, 0.55); }
.btn--accent:hover { background: var(--color-accent-strong); }
.btn--ghost { background: transparent; color: var(--color-fg); border-color: var(--color-border); }
.btn--ghost:hover { background: var(--color-muted); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 0.9375rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--glass);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--color-border);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--color-fg); font-weight: 800; font-size: 1.0625rem; letter-spacing: -0.01em; }
.brand svg { width: 36px; height: 36px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--color-fg-soft); text-decoration: none; font-weight: 500; font-size: 0.9375rem; }
.nav-links a:hover { background: var(--color-muted); }
.nav-actions { display: flex; align-items: center; gap: 8px; }

.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--color-muted); border: 1px solid var(--color-border); }
.lang-switch button {
  min-width: 44px; min-height: 38px; padding: 0 10px; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--color-muted-fg); font: 700 0.8125rem/1 var(--font); letter-spacing: 0.04em;
  transition: background-color 160ms var(--ease), color 160ms var(--ease);
}
.lang-switch button[aria-pressed="true"] { background: var(--color-card); color: var(--color-fg); box-shadow: var(--shadow-sm); }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--color-border); background: var(--color-card); color: var(--color-fg); cursor: pointer; align-items: center; justify-content: center; }

@media (max-width: 1100px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 16px; background: var(--color-card); border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { min-height: 48px; font-size: 1rem; }
  .nav-actions .btn--accent { display: none; }
}

/* Hero */
.hero { position: relative; padding-block: clamp(48px, 7vw, 96px) var(--space-section); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px; z-index: -1;
  background: radial-gradient(closest-side, rgba(59, 130, 246, 0.22), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: auto auto -30% -15%; width: 620px; height: 620px; z-index: -1;
  background: radial-gradient(closest-side, rgba(234, 88, 12, 0.14), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.25rem, 5.4vw, 3.75rem); font-weight: 800; letter-spacing: -0.035em; }
.hero h1 .hl { color: var(--color-primary); }
.hero-lead { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--color-muted-fg); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 0; list-style: none; color: var(--color-muted-fg); font-size: 0.9375rem; }
.hero-badges li { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges .icon { color: var(--color-success); }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; margin-bottom: 20px;
  border-radius: 999px; background: var(--color-card); border: 1px solid var(--color-border);
  font-size: 0.875rem; font-weight: 600; color: var(--color-fg-soft); box-shadow: var(--shadow-sm);
}
.pill b { background: var(--color-accent); color: var(--color-on-accent); padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; letter-spacing: 0.04em; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* Product mockup */
.mock {
  position: relative; border-radius: var(--radius-lg); padding: 18px;
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
}
.mock-bar { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--color-border); }
.mock-bar span { margin-left: auto; font-size: 0.75rem; color: var(--color-muted-fg); font-weight: 600; }
.mock-card { background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 14px; }
.mock-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; }
.mock-title { display: flex; align-items: center; justify-content: space-between; font-size: 0.8125rem; font-weight: 700; color: var(--color-fg); margin-bottom: 10px; }
.mock-title small { font-weight: 600; color: var(--color-muted-fg); }
.slot { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--color-muted); margin-bottom: 8px; font-size: 0.8125rem; }
.slot:last-child { margin-bottom: 0; }
.slot time { font-weight: 700; color: var(--color-fg); min-width: 44px; }
.slot .tag { margin-left: auto; font-size: 0.6875rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--color-card); color: var(--color-muted-fg); }
.slot--teacher { border-left: 3px solid var(--color-teacher); }
.slot--student { border-left: 3px solid var(--color-student); }
.slot--parent { border-left: 3px solid var(--color-parent); }
.progress { height: 8px; border-radius: 999px; background: var(--color-muted); overflow: hidden; margin: 6px 0 12px; }
.progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--color-primary), var(--color-secondary)); }
.stat-row { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--color-muted-fg); font-weight: 600; }
.stat-row b { color: var(--color-fg); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 72px; margin-top: 8px; }
.bars span { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--color-primary); opacity: 0.85; }
.bars span:nth-child(even) { background: var(--color-accent); }
.mock-msg { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 0.75rem; font-weight: 800; color: #fff; flex: none; }
.avatar--t { background: var(--color-teacher); }
.avatar--s { background: var(--color-student); }
.bubble { background: var(--color-muted); padding: 8px 12px; border-radius: 4px 12px 12px 12px; font-size: 0.8125rem; color: var(--color-fg-soft); }
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  background: var(--color-card); border: 1px solid var(--color-border); border-radius: 14px; box-shadow: var(--shadow-md);
  font-size: 0.8125rem; font-weight: 600; color: var(--color-fg);
}
.float-chip .dot { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.float-chip--a { left: -18px; bottom: 36px; }
.float-chip--a .dot { background: var(--color-success); }
.float-chip--b { right: -14px; top: -18px; }
.float-chip--b .dot { background: var(--color-accent); }
@media (max-width: 560px) {
  .mock-grid { grid-template-columns: 1fr; }
  .float-chip--a { left: 8px; bottom: -18px; }
  .float-chip--b { right: 8px; }
}

/* Roles (tabs) */
.tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.tab {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 20px; border-radius: 999px;
  border: 1.5px solid var(--color-border); background: var(--color-card); color: var(--color-fg-soft);
  font: 600 1rem/1 var(--font); cursor: pointer; transition: all 180ms var(--ease);
}
.tab:hover { border-color: var(--color-primary); }
.tab[aria-selected="true"] { background: var(--color-fg); color: var(--color-bg); border-color: var(--color-fg); }
.role-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.role-panel[hidden] { display: none; }
.role-panel h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.role-panel > div > p { color: var(--color-muted-fg); font-size: 1.0625rem; }
.check-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .tick { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; flex: none; background: var(--color-muted); color: var(--color-primary); }
.check-list strong { display: block; color: var(--color-fg); }
.check-list span { color: var(--color-muted-fg); font-size: 0.9375rem; }
.role-visual { border-radius: var(--radius-lg); padding: 28px; background: var(--color-card); border: 1px solid var(--color-border); box-shadow: var(--shadow-md); }
.role-visual .big-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; color: #fff; margin-bottom: 18px; }
.role-visual .big-icon .icon { width: 32px; height: 32px; }
.role-visual--teacher .big-icon { background: var(--color-teacher); }
.role-visual--student .big-icon { background: var(--color-student); }
.role-visual--parent .big-icon { background: var(--color-parent); }
.role-visual blockquote { margin: 0; font-size: 1.125rem; font-weight: 600; color: var(--color-fg); }
.role-visual figcaption { margin-top: 12px; color: var(--color-muted-fg); font-size: 0.9375rem; }
@media (max-width: 860px) { .role-panel { grid-template-columns: 1fr; } }

/* Feature cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card {
  background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-md);
  padding: 26px; transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--color-primary) 35%, var(--color-border)); }
.card h3 { font-size: 1.125rem; margin-top: 16px; }
.card p { color: var(--color-muted-fg); margin: 0; font-size: 0.9625rem; }
.card-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--color-muted); color: var(--color-primary); }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step-num { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--color-primary); color: var(--color-on-primary); font-weight: 800; margin-bottom: 14px; }
.step h3 { font-size: 1.125rem; }
.step p { color: var(--color-muted-fg); margin: 0; }

/* AI section */
.ai {
  border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 56px);
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%); color: #e2e8f0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden;
}
.ai::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(closest-side, rgba(251, 146, 60, 0.35), transparent); }
.ai h2 { color: #fff; font-size: clamp(1.75rem, 3.4vw, 2.375rem); }
.ai .eyebrow { color: #fdba74; }
.ai p { color: #cbd5e1; }
.ai-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; position: relative; z-index: 1; }
.ai-list li { display: flex; gap: 14px; padding: 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); }
.ai-list .icon { color: #fdba74; margin-top: 2px; }
.ai-list strong { display: block; color: #fff; }
.ai-list span { color: #cbd5e1; font-size: 0.9375rem; }
.ai-note { font-size: 0.8125rem; color: #94a3b8 !important; margin-top: 16px; }
@media (max-width: 860px) { .ai { grid-template-columns: 1fr; } }

/* Roadmap */
.timeline { list-style: none; padding: 0; margin: 0 auto; max-width: 820px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: var(--color-border); }
.timeline li { position: relative; padding: 0 0 32px 64px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .node { position: absolute; left: 6px; top: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--color-card); border: 2px solid var(--color-border); color: var(--color-muted-fg); }
.timeline .is-done .node { background: var(--color-success); border-color: var(--color-success); color: #fff; }
.timeline .is-now .node { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.timeline time { font-size: 0.8125rem; font-weight: 700; color: var(--color-primary); letter-spacing: 0.04em; text-transform: uppercase; }
.timeline h3 { font-size: 1.125rem; margin: 4px 0 4px; }
.timeline p { color: var(--color-muted-fg); margin: 0; }

/* Company / Team */
.company-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 32px; align-items: start; }
@media (max-width: 960px) { .company-grid { grid-template-columns: 1fr; } }
.facts { background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 28px; }
.facts h3 { font-size: 1.25rem; }
.facts dl { margin: 0; display: grid; gap: 16px; }
.facts dt { font-size: 0.8125rem; font-weight: 600; color: var(--color-muted-fg); text-transform: uppercase; letter-spacing: 0.06em; }
.facts dd { margin: 2px 0 0; font-weight: 700; color: var(--color-fg); font-size: 1.0625rem; }
.facts .money { font-size: 2rem; color: var(--color-primary); letter-spacing: -0.02em; }
.people-title { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-muted-fg); margin: 0 0 14px; }
.team + .people-title { margin-top: 32px; }
.person--lead { border-color: color-mix(in srgb, var(--color-primary) 45%, var(--color-border)); box-shadow: var(--shadow-md); }
a.city { text-decoration: none; word-break: break-all; }
a.city:hover { color: var(--color-primary); text-decoration: underline; }
.team { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.person { background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 22px; }
.person .initials { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-weight: 800; font-size: 1.125rem; color: #fff; margin-bottom: 14px; }
.person h3 { font-size: 1.0625rem; margin-bottom: 2px; }
.person .role { color: var(--color-fg-soft); font-weight: 600; font-size: 0.9375rem; margin: 0; }
.person .city { display: inline-flex; align-items: center; gap: 6px; color: var(--color-muted-fg); font-size: 0.875rem; margin-top: 8px; }
.c1 { background: #2563eb; } .c2 { background: #7c3aed; } .c3 { background: #0f766e; } .c4 { background: #c2410c; } .c5 { background: #be185d; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; padding: 16px 22px; cursor: pointer; list-style: none; font-weight: 700; color: var(--color-fg);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform 200ms var(--ease); color: var(--color-muted-fg); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--color-muted-fg); }

/* CTA band */
.cta-band {
  text-align: center; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 72px) var(--gutter);
  background: linear-gradient(135deg, var(--color-primary) 0%, #4f46e5 100%); color: #fff;
}
.cta-band h2 { color: #fff; font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
.cta-band p { color: rgba(255, 255, 255, 0.88); max-width: 620px; margin-inline: auto; font-size: 1.0625rem; }
.cta-band .btn--accent { margin-top: 12px; }
.cta-band .btn--light { background: #fff; color: #1e3a8a; margin-top: 12px; }
.cta-band .btn--light:hover { background: #e0e7ff; }
@media (prefers-color-scheme: dark) {
  .cta-band { background: linear-gradient(135deg, #1d4ed8 0%, #4338ca 100%); }
  .btn--accent { color: #1a0d03; }
}

/* Footer */
.site-footer { padding: 56px 0 32px; border-top: 1px solid var(--color-border); background: var(--color-card); font-size: 0.9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-muted-fg); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--color-fg-soft); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.site-footer a:hover { color: var(--color-primary); text-decoration: underline; }
.legal { color: var(--color-muted-fg); }
.legal p { margin: 0 0 4px; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--color-border); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--color-muted-fg); font-size: 0.875rem; }

/* Legal page */
.prose { max-width: 760px; margin: 0 auto; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
.prose h2 { font-size: 1.375rem; margin-top: 2em; }
.prose p, .prose li { color: var(--color-fg-soft); }
.prose .meta { color: var(--color-muted-fg); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover { transform: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 420px) {
  .nav .brand span { white-space: normal; line-height: 1.1; max-width: 96px; font-size: 0.9375rem; }
  .nav .brand img { width: 32px; height: 32px; }
}
