/* ==========================================================
   Hatora — hatora.com.tr
   Font ve renkler mobil uygulamadaki AppColors / Outfit ile aynı.
   ========================================================== */

@font-face { font-family: "Outfit"; src: url("assets/fonts/Outfit-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("assets/fonts/Outfit-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("assets/fonts/Outfit-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("assets/fonts/Outfit-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("assets/fonts/Outfit-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }

:root {
  /* Uygulama paleti (lib/core/theme/app_theme.dart) */
  --background: #F6F6FB;
  --surface: #FFFFFF;
  --surface-muted: #F0EFF7;
  --line: #ECEBF5;
  --ink: #17153A;
  --ink-2: #26234F;
  --muted: #8B89A9;
  --muted-strong: #5E5C80;
  --accent: #4F3FE6;
  --accent-end: #7C3AED;
  --accent-soft: #ECEAFF;
  --accent-light: #DCD8FF;
  --success: #13A06A;
  --success-soft: #E5F7EF;
  --warning: #DB9A2C;
  --warning-soft: #FBF1DF;
  --error: #DC5B62;
  --error-soft: #FBEAEB;
  --gold: #FFBC28;

  /* Logo rotası */
  --coral: #FF6B5B;
  --peach: #FFA36B;
  --mint: #2EE6A8;
  --route: linear-gradient(90deg, var(--coral), var(--peach) 50%, var(--mint));
  --brand: linear-gradient(135deg, var(--accent), var(--accent-end));

  /* Yarıçap ölçeği (app_radius.dart) */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(23, 21, 58, .04), 0 2px 8px rgba(23, 21, 58, .04);
  --shadow-md: 0 10px 30px -10px rgba(23, 21, 58, .14);
  --shadow-lg: 0 40px 80px -30px rgba(52, 40, 160, .35);

  --container: 1180px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
p { margin: 0; }
small { font-size: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 800px; }

.grad-text {
  background: var(--route);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 24px; border-radius: var(--r-md);
  font: 600 16px/1 "Outfit", sans-serif; border: 0; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn--sm { height: 42px; padding: 0 18px; font-size: 15px; border-radius: 12px; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(79, 63, 230, .7); }
.btn--primary:hover { transform: translateY(-1px); background: #4434d8; }

.store {
  display: inline-flex; align-items: center; gap: 12px;
  height: 58px; padding: 0 22px 0 18px; border-radius: var(--r-md);
  background: var(--ink); color: #fff;
  transition: transform .2s, box-shadow .2s;
}
.store:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.store svg { width: 26px; height: 26px; }
.store span { display: flex; flex-direction: column; font-weight: 600; font-size: 18px; line-height: 1.1; }
.store small { font-weight: 400; font-size: 11px; opacity: .7; letter-spacing: .02em; }
.store--light { background: #fff; color: var(--ink); padding: 0 26px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 14px; font-weight: 500; color: var(--muted-strong);
  box-shadow: var(--shadow-sm);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(46, 230, 168, .2); }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--surface-muted); color: var(--muted-strong);
  font-size: 13px; font-weight: 500; white-space: nowrap;
}
.chip.on { background: var(--accent); color: #fff; }
.chip--soft { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.chip--soft em { font-style: normal; font-size: 10px; padding: 2px 6px; border-radius: 6px; background: var(--accent); color: #fff; }
.chip--solid { background: var(--accent); color: #fff; font-weight: 600; }

.kicker {
  display: inline-block; margin-bottom: 14px;
  font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 246, 251, .72);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(246, 246, 251, .9); }
.nav__inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 26px; letter-spacing: -1px; color: var(--ink); }
.brand img { width: 34px; height: 34px; }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-weight: 500; font-size: 15px; color: var(--muted-strong); }
.nav__links a { position: relative; transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px;
  background: var(--route); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(124, 58, 237, .18), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: -200px; bottom: -260px; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 163, 107, .16), transparent 70%);
  pointer-events: none;
}
.hero__route { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; pointer-events: none; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin: 22px 0 22px; font-size: clamp(44px, 6.4vw, 84px); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; }
.lead { font-size: 19px; color: var(--muted-strong); max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--muted); }
.hero__trust li::before { content: ""; display: inline-block; vertical-align: middle; width: 6px; height: 6px; margin: -2px 8px 0 0; border-radius: 50%; background: var(--accent); opacity: .5; }
.hero__trust b { color: var(--ink); font-weight: 600; }

.hero__visual { position: relative; display: flex; justify-content: center; }

/* ---------- Phone mockup ---------- */
.phone {
  position: relative; width: 340px; padding: 12px; border-radius: 52px;
  background: linear-gradient(160deg, #2a2760, var(--ink));
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, .06);
  transform: rotate(-3deg);
}
.phone__notch { position: absolute; top: 22px; left: 50%; width: 96px; height: 28px; margin-left: -48px; border-radius: 20px; background: #000; z-index: 2; }
.screen { position: relative; padding: 58px 16px 0; border-radius: 42px; background: var(--background); overflow: hidden; font-size: 13px; }
.screen__top { display: flex; align-items: center; justify-content: space-between; }
.brand--mini { font-size: 19px; gap: 6px; }
.brand--mini img { width: 22px; height: 22px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.screen__hello { margin: 14px 0 10px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.screen__label { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 2px 8px; font-weight: 600; font-size: 13.5px; }
.screen__label a { color: var(--accent); font-size: 12px; }

.card { background: var(--surface); border-radius: var(--r-lg); padding: 14px; box-shadow: var(--shadow-sm); }
.card--hero { position: relative; overflow: hidden; background: var(--brand); color: #fff; padding: 16px 16px 18px; }
.card--hero .eyebrow { font-size: 12px; color: var(--accent-light); }
.card--hero p { font-size: 12px; color: var(--accent-light); margin-top: 4px; }
.countdown { font-size: 17px; font-weight: 500; }
.countdown b { font-size: 34px; font-weight: 700; letter-spacing: -.03em; margin-right: 2px; }
.card--hero__route { position: absolute; right: -6px; bottom: 6px; width: 140px; opacity: .9; }

.card--row { display: flex; align-items: center; gap: 12px; }
.card--row b { display: block; font-size: 14px; }
.card--row small { color: var(--muted); }
.grow { flex: 1; min-width: 0; }
.ico { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; font-weight: 700; font-size: 18px; }
.ico--indigo { background: var(--accent-soft); color: var(--accent); }
.ico--mint { background: rgba(46, 230, 168, .18); color: var(--success); }
.bar { height: 6px; border-radius: 6px; background: var(--surface-muted); margin-top: 8px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: var(--route); }
.bar--lg { height: 10px; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.card--score { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.card--score small { color: var(--muted); font-weight: 500; }
.card--score .up { color: var(--success); }
.ring {
  --p: 78;
  width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--surface-muted) 0);
}
.ring span { width: 54px; height: 54px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 20px; font-weight: 700; }
.card--warn { background: var(--warning-soft); }
.card--warn small { color: var(--warning); font-weight: 600; }
.card--warn b { display: block; margin: 6px 0 4px; font-size: 14px; }
.card--warn p { font-size: 11.5px; color: var(--muted-strong); line-height: 1.35; margin-bottom: 8px; }
.card--warn .chip { background: #fff; color: var(--ink); font-size: 11.5px; padding: 4px 10px; }

.tabbar {
  display: flex; justify-content: space-between; align-items: center;
  margin: 16px -16px 0; padding: 12px 16px 22px; background: var(--surface);
  border-top: 1px solid var(--line); font-size: 10.5px; color: var(--muted); font-weight: 500;
}
.tabbar .on { color: var(--accent); font-weight: 600; }
.tabbar .fab { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 22px; box-shadow: 0 8px 18px -6px rgba(79, 63, 230, .7); }

.float {
  position: absolute; display: flex; gap: 12px; align-items: center;
  padding: 14px 18px 14px 14px; border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md); border: 1px solid var(--line);
  animation: bob 6s ease-in-out infinite;
}
.float b { display: block; font-size: 14.5px; }
.float small { color: var(--muted); font-size: 12.5px; }
.float--a { left: -8px; bottom: 70px; }
.float--b { right: -10px; top: 90px; flex-direction: column; align-items: flex-start; gap: 2px; animation-delay: -3s; }
.float--b small { color: var(--accent); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: 11px; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 22px 0; background: var(--ink); color: #fff; }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { display: flex; align-items: center; gap: 48px; font-size: 22px; font-weight: 500; white-space: nowrap; opacity: .9; }
.marquee span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--route); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section--tint { background: linear-gradient(180deg, var(--surface) 0%, var(--background) 100%); }
.section__head { max-width: 680px; margin-bottom: 56px; }
.section__head h2 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 700; letter-spacing: -.03em; }
.section__head .lead { margin: 16px 0 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.step { position: relative; padding: 28px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step__no { position: absolute; top: 24px; right: 26px; font-size: 14px; font-weight: 600; color: var(--muted); }
.step__art { height: 200px; margin-bottom: 26px; border-radius: var(--r-lg); background: var(--background); display: grid; place-items: center; padding: 20px; overflow: hidden; }
.step h3 { font-size: 24px; margin-bottom: 10px; }
.step p { color: var(--muted-strong); font-size: 16px; }

.cam { position: relative; width: 180px; height: 150px; }
.cam__frame span { position: absolute; width: 26px; height: 26px; border: 3px solid var(--accent); }
.cam__frame span:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.cam__frame span:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; }
.cam__frame span:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 10px; }
.cam__frame span:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.cam__q { position: absolute; inset: 18px; background: #FAFAF7; border-radius: 8px; padding: 14px 12px; box-shadow: var(--shadow-sm); }
.cam__q i { display: block; height: 7px; margin-bottom: 8px; border-radius: 4px; background: #E3E1EE; }
.opts { display: flex; gap: 6px; margin-top: 14px; }
.opts b { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #CFCCE3; display: grid; place-items: center; font-size: 10px; color: var(--muted); }
.opts b.x { border-color: var(--error); background: var(--error); color: #fff; }

.suggest { width: 100%; max-width: 250px; display: flex; flex-direction: column; gap: 10px; }
.suggest__row { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-sm); }
.suggest__row small { color: var(--muted); font-size: 13px; }
.suggest__why { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.suggest__why .chip { font-size: 12px; padding: 5px 10px; background: #fff; }
.suggest__why .chip.on { background: var(--accent); }

.streak { width: 100%; max-width: 260px; }
.streak__days { display: flex; justify-content: space-between; margin-bottom: 18px; }
.streak .d { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 600; background: var(--surface-muted); color: var(--muted); }
.streak .d.on { background: var(--accent); color: #fff; }
.streak .d.today { background: #fff; color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.streak__goal { font-size: 14px; color: var(--muted-strong); }
.streak__goal b { color: var(--ink); font-size: 20px; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { position: relative; overflow: hidden; padding: 30px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; transition: transform .3s, box-shadow .3s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tile h3 { font-size: 22px; }
.tile p { color: var(--muted-strong); font-size: 16px; }
.tile__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; background: var(--accent-soft); margin-bottom: 8px; }
.tile--wide { grid-column: span 2; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 32px; min-height: 280px; }
.tile__text { max-width: 360px; display: flex; flex-direction: column; gap: 10px; }
.tile--ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.tile--ink h3 { font-size: 30px; }
.tile--ink p { color: #BBB4DE; }
.tile--grad { background: var(--brand); color: #fff; border: 0; }
.tile--grad h3 { font-size: 30px; }
.tile--grad p { color: var(--accent-light); }

.bars { display: flex; align-items: flex-end; gap: 14px; height: 190px; flex: none; }
.bars div { display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; }
.bars span { width: 30px; height: var(--h); border-radius: 10px; background: rgba(255, 255, 255, .12); transform-origin: bottom; }
.bars div:first-child span { background: linear-gradient(0deg, var(--coral), var(--peach)); }
.bars small { color: #8F88BE; font-size: 12px; }
.tile.is-visible .bars span { animation: grow 1s cubic-bezier(.2, .8, .2, 1) both; }
.bars div:nth-child(2) span { animation-delay: .06s !important; }
.bars div:nth-child(3) span { animation-delay: .12s !important; }
.bars div:nth-child(4) span { animation-delay: .18s !important; }
.bars div:nth-child(5) span { animation-delay: .24s !important; }
.bars div:nth-child(6) span { animation-delay: .3s !important; }
@keyframes grow { from { transform: scaleY(0); } }

.seg { display: flex; gap: 4px; padding: 4px; margin-top: auto; border-radius: 12px; background: var(--surface-muted); }
.seg span { flex: 1; text-align: center; padding: 8px 0; border-radius: 9px; font-weight: 600; color: var(--muted); }
.seg span.on { background: #fff; color: var(--accent); box-shadow: var(--shadow-sm); }

.stack { position: relative; width: 220px; height: 170px; flex: none; }
.stack span {
  position: absolute; left: 0; right: 0; padding: 18px; border-radius: 16px;
  background: rgba(255, 255, 255, .95); color: var(--ink); font-weight: 600; box-shadow: var(--shadow-md);
}
.stack span::after { content: ""; display: block; height: 6px; width: 70%; margin-top: 10px; border-radius: 3px; background: var(--route); }
.stack span:nth-child(1) { bottom: 0; z-index: 3; }
.stack span:nth-child(2) { bottom: 34px; transform: scale(.94); opacity: .75; z-index: 2; }
.stack span:nth-child(3) { bottom: 66px; transform: scale(.88); opacity: .5; z-index: 1; }

/* Exams */
.exams { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.exam { padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.exam h3 { font-size: 24px; margin: 18px 0 6px; }
.exam p { color: var(--muted); font-size: 15px; }
.exam { position: relative; overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s; }
.exam::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--route); }
.exam:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 16px 40px -20px rgba(79, 63, 230, .6); }
.exam h3 { font-size: 32px; font-weight: 700; }
.exam__tag { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--accent-soft); color: var(--accent); }

/* CTA */
.cta { padding: 0 var(--gutter); }
.cta__inner {
  position: relative; overflow: hidden; text-align: center;
  padding: 88px 32px; border-radius: 40px;
  background: var(--accent); color: #fff;
  display: flex; flex-direction: column; align-items: center;
}
.cta__inner::before {
  content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%;
  background: radial-gradient(closest-side, rgba(124, 58, 237, .9), transparent);
  pointer-events: none;
}
.cta__inner > * { position: relative; }
.cta__logo { width: 104px; height: 104px; margin-bottom: 28px; }
.cta__logo .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.cta__logo .arrow { opacity: 0; transform-origin: 91px 40px; transform: scale(.6); }
.cta.is-visible .cta__logo .draw { animation: draw 1.1s .2s cubic-bezier(.65, 0, .35, 1) forwards; }
.cta.is-visible .cta__logo .arrow { animation: pop .5s 1.05s cubic-bezier(.34, 1.56, .64, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { opacity: 1; transform: scale(1); } }
.cta h2 { font-size: clamp(32px, 4.6vw, 56px); font-weight: 700; letter-spacing: -.03em; max-width: 780px; }
.cta p { margin-top: 16px; color: var(--accent-light); font-size: 18px; max-width: 520px; }
.cta .hero__actions { justify-content: center; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-md); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 26px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 19px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent-soft); color: var(--accent);
  font-size: 20px; font-weight: 500; transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 26px 24px; color: var(--muted-strong); }

/* Footer */
.footer { padding: 72px 0 32px; margin-top: 40px; border-top: 1px solid var(--line); background: var(--surface); }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer .brand { font-size: 24px; }
.footer .brand img { width: 30px; height: 30px; }
.footer__tag { margin-top: 10px; color: var(--muted); }
.footer__links { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; color: var(--muted-strong); font-weight: 500; }
.footer__links a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.hero .reveal { animation: heroIn .8s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .cta__logo .draw { stroke-dashoffset: 0; }
  .cta__logo .arrow { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero__inner { grid-template-columns: 1fr; gap: 64px; text-align: center; }
  .lead { margin: 0 auto; }
  .hero__actions, .hero__trust { justify-content: center; }
  .steps { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .bento { grid-template-columns: 1fr 1fr; }
  .exams { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .nav__inner { height: 64px; gap: 12px; }
  .nav__cta { margin-left: auto; height: 38px; padding: 0 14px; font-size: 14px; }
  .nav__toggle {
    display: grid; place-content: center; gap: 5px; width: 40px; height: 40px;
    border: 0; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-sm); cursor: pointer;
  }
  .nav__toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s; }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav__links {
    position: absolute; top: 64px; left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px;
    background: var(--background); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a { padding: 14px 0; font-size: 18px; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
  .brand { font-size: 22px; }
  .brand img { width: 30px; height: 30px; }

  .hero { padding: 40px 0 72px; }
  .hero__route { opacity: .25; }
  .lead { font-size: 17px; }
  .store { height: 54px; }
  .phone { width: 300px; transform: none; }
  .float--a { left: 0; bottom: 30px; }
  .float--b { right: 0; top: 40px; }
  .float { padding: 10px 14px 10px 10px; }
  .float b { font-size: 13px; }

  .section { padding: 80px 0; }
  .section__head { margin-bottom: 36px; }
  .marquee span { font-size: 18px; }

  .bento { grid-template-columns: 1fr; }
  .tile--wide { grid-column: auto; flex-direction: column; align-items: flex-start; min-height: 0; }
  .bars { width: 100%; height: 150px; justify-content: space-between; gap: 8px; }
  .bars span { width: 26px; }
  .stack { width: 100%; }
  .exams { grid-template-columns: 1fr; }

  .cta { padding: 0 var(--gutter); }
  .cta__inner { padding: 64px 20px; border-radius: 28px; }
  .faq summary { font-size: 17px; padding: 18px 20px; }
  .faq details p { padding: 0 20px 20px; }
  .footer__bottom { flex-direction: column; gap: 6px; }
}

@media (max-width: 380px) {
  .phone { width: 100%; }
  .float--b { display: none; }
}
