/* ═══════════════════════════════════════════════════════════
   MigraFit — "First class to your next life"
   Light sky & sand canvas · extra-wide Archivo display type ·
   dark "cabin" moments · split-flap & boarding-pass signatures
   ═══════════════════════════════════════════════════════════ */
:root {
  --bg: #EDF1F5; --bg2: #E3E9F0; --sand: #EFE8DE; --sand2: #E6DCCD;
  --card: #FFFFFF; --card2: #F6F8FB; --line: #D3DBE5; --line2: #B9C4D2;
  --text: #11141B; --muted: #4E5768; --dim: #5B6476;
  --sky1: #BFD6EE; --sky2: #6C9FD6; --sky3: #22558F;
  --sun: #F5A524; --amber: #A3470A; --accent: #A8380B; --coral: #E2531F;
  --teal: #0F8A7E; --violet: #5B4BC4; --pink: #C0306A; --good: #15803D; --bad: #B42335;
  --cabin: #1B1814; --cabin2: #2A251F; --night: #0B1020;
  --r: 22px; --r-sm: 14px;
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --shadow: 0 30px 60px -30px rgba(17,20,27,.28);
  --ease: cubic-bezier(.2,.8,.2,1);
  color-scheme: light;
}
/* Dark surfaces re-map the same tokens */
.dark, .stage, .cabin, footer.site-foot {
  --bg: #0E1426; --bg2: #121A30; --card: #172038; --card2: #1D2742; --line: #2A3558; --line2: #3A4670;
  --text: #EEF1FA; --muted: #A9B2CC; --dim: #8F99B8; --amber: #FFC94A; --accent: #FFB35C; --good: #3BE38B; --bad: #FF6B78; --teal: #2EE6C5;
  color: var(--text); color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; font-size: 17px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.02; letter-spacing: -.025em; margin: 0 0 .5em; font-stretch: 125%; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 3rem); }
h3 { font-size: 1.2rem; font-stretch: 112%; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wide { font-stretch: 125%; letter-spacing: -.03em; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 800px; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.center { text-align: center; }
.hl { color: var(--accent); }
.grad { background: linear-gradient(95deg, var(--sky3), #3E7CC4 55%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dark .grad, .cabin .grad { background: linear-gradient(95deg, #CFE2F7, #8FBDEB 55%, #FFB35C); -webkit-background-clip: text; background-clip: text; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.label, .tag { font: 600 .72rem var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.label { color: var(--muted); }
.rule { border: 0; border-top: 1px solid var(--line2); margin: 0; }

/* ── Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(237,241,245,.78); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid rgba(17,20,27,.06); transition: background .4s, color .4s, border-color .4s; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.top.over { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; --text: #F4F1EC; --muted: #D8D1C6; color: var(--text); }
.top.over.solid { background: rgba(237,241,245,.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); --text: #11141B; --muted: #4E5768; border-color: rgba(17,20,27,.06); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.12rem; color: var(--text); font-stretch: 125%; letter-spacing: -.02em; }
.logo:hover { text-decoration: none; }
.logo-mark { height: 24px; width: auto; flex: none; display: block; overflow: visible; }
.top.over:not(.solid) .btn { background: #F4F1EC; color: #11141B; }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { color: var(--muted); font-size: .9rem; font-weight: 500; }
.nav a:hover { color: var(--text); text-decoration: none; }
.nav a.btn { color: #fff; }
.top.over:not(.solid) .nav a.btn, .dark .nav a.btn { color: #11141B; }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* ── Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font: 600 1rem var(--sans); font-stretch: 110%; border: 0; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s; color: #fff; background: var(--text); box-shadow: 0 12px 30px -14px rgba(17,20,27,.55); text-decoration: none !important; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(17,20,27,.6); }
.btn:active { transform: translateY(0); }
.dark .btn, .cabin .btn, .stage .btn { background: #F4F1EC; color: #11141B; }
.btn.lg { padding: 18px 34px; font-size: 1.08rem; }
.btn.sm { padding: 9px 18px; font-size: .88rem; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line2); box-shadow: none; }
.btn.ghost:hover { border-color: var(--text); }
.btn.sun { background: var(--sun); color: #1B1300; box-shadow: 0 12px 30px -12px rgba(245,165,36,.7); }
.btn[disabled] { opacity: .35; pointer-events: none; }
.btn .ic { width: 30px; height: 30px; margin: -6px -14px -6px 4px; border-radius: 50%; background: var(--sun); color: #1B1300; display: grid; place-items: center; font-size: 14px; }
.pulse { animation: pulse 2.6s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 12px 30px -14px rgba(17,20,27,.55), 0 0 0 0 rgba(245,165,36,.45); } 50% { box-shadow: 0 12px 30px -14px rgba(17,20,27,.55), 0 0 0 12px rgba(245,165,36,0); } }

/* floating pill CTA */
.dock { position: fixed; left: 50%; bottom: 22px; z-index: 70; transform: translate(-50%, 140%); transition: transform .5s var(--ease); display: flex; gap: 6px; align-items: center; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 18px 40px -18px rgba(17,20,27,.45), 0 0 0 1px rgba(17,20,27,.06); }
.dock.on { transform: translate(-50%, 0); }
.dock a { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px; border-radius: 999px; background: var(--text); color: #fff; font-weight: 600; font-size: .95rem; font-stretch: 110%; text-decoration: none; }
.dock .round { width: 42px; height: 42px; padding: 0; justify-content: center; background: var(--sun); color: #1B1300; font-size: 18px; transform: rotate(45deg); }
.dock .round span { transform: rotate(-45deg) rotate(-45deg); display: inline-block; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid var(--line2); border-radius: 999px; font-size: .86rem; color: var(--muted); }
.chip b { color: var(--text); font-weight: 600; }

/* ── Split-flap board (always dark) */
.board { --text: #EEF1FA; --muted: #9AA3C7; --dim: #8C95C0; --amber: #FFC94A; color: var(--text); background: #07090F; border: 1px solid #1C2340; border-radius: var(--r); padding: 20px; box-shadow: 0 40px 80px -40px rgba(7,9,15,.8), inset 0 1px 0 rgba(255,255,255,.04); font-family: var(--mono); overflow: hidden; }
.board-head { display: flex; justify-content: space-between; align-items: center; color: var(--amber); font-size: .76rem; letter-spacing: .2em; margin-bottom: 12px; text-transform: uppercase; }
.board-head .clock { color: var(--muted); }
.board-row { display: grid; grid-template-columns: 70px 1fr 130px; gap: 14px; align-items: center; padding: 8px 0; border-top: 1px dashed #1C2340; font-size: .85rem; }
.board-row > * { min-width: 0; }
.board-row .lbl { color: var(--dim); font-size: .7rem; letter-spacing: .14em; }
.flap { display: inline-flex; gap: 2px; min-width: 0; overflow: hidden; }
.flap span { display: inline-grid; place-items: center; width: 1.05em; height: 1.45em; background: linear-gradient(#1B2033 50%, #151A2B 50%); color: #FFE28A; border-radius: 3px; font-weight: 700; position: relative; text-transform: uppercase; }
.flap span::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.6); }
.flap span.flip { animation: flip .09s linear; }
@keyframes flip { 0% { transform: rotateX(0); } 50% { transform: rotateX(90deg); } 100% { transform: rotateX(0); } }
.status { font-size: .72rem; font-weight: 700; padding: 4px 8px; border-radius: 4px; text-align: center; letter-spacing: .08em; }
.status.ok { background: rgba(59,227,139,.14); color: #3BE38B; }
.status.wait { background: rgba(255,201,74,.14); color: #FFC94A; }
.status.hard { background: rgba(255,93,108,.16); color: #FF7A86; }
@media (max-width: 560px) { .board-row { grid-template-columns: 1fr 96px; } .board-row .code { display: none; } .flap span { width: .95em; font-size: .8rem; } }

/* ═════════ HOMEPAGE ═════════ */
/* Cabin hero — split layout: copy left, window right; scrolling flies you through the window */
.cabin { position: relative; height: 260vh; background: var(--cabin); }
.cabin-stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.cabin-wall { position: absolute; inset: 0; background: radial-gradient(55% 75% at 72% 50%, #574C40 0%, #3A332B 40%, #1B1814 80%); }
.cabin-wall::after { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0,0,0,.5)); }
.hero-grid { position: absolute; top: 0; bottom: 0; left: 0; right: 0; max-width: 1240px; margin: 0 auto; padding: 96px 24px 64px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.hero-copy { color: #F4F1EC; opacity: var(--ho, 1); transform: translateY(var(--hy, 0)); }
.hero-copy .tag { color: #E9C58C; }
.hero-h1 { margin: 18px 0 0; font-size: clamp(3rem, 6.2vw, 6rem); line-height: .9; letter-spacing: -.05em; font-weight: 600; font-stretch: 125%; color: #F4F1EC; }
.hero-h1 .h1-sub { display: block; margin-top: 24px; max-width: 32ch; font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.25; letter-spacing: -.015em; font-weight: 500; font-stretch: 108%; color: #E9E2D7; }
.hero-intro { margin: 18px 0 30px; max-width: 46ch; font-size: 1rem; line-height: 1.55; color: #C9C0B2; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hero-meta { font: 600 .7rem var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #BFB6A8; }
.window-slot { position: relative; height: 100%; display: grid; place-items: center; }
.window { position: relative; width: min(30vw, 50vh, 440px); aspect-ratio: 0.72; transform: translate(var(--wx, 0px), var(--wy, 0px)) scale(var(--ws, 1)); will-change: transform; z-index: 2; }
.window-frame { position: absolute; inset: -11%; border-radius: 48% / 40%; background: radial-gradient(80% 70% at 38% 28%, #FBF9F6 0%, #E4DFD7 45%, #B9B2A7 85%, #9F988D 100%); box-shadow: inset 0 -22px 44px rgba(60,50,40,.28), inset 0 18px 36px rgba(255,255,255,.8), 0 50px 100px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(0,0,0,.15); opacity: var(--fo, 1); }
.window-frame::before { content: ''; position: absolute; inset: 6.5%; border-radius: 46% / 39%; background: linear-gradient(165deg, #F1EEE9, #C9C3B9 60%, #ADA69B); box-shadow: inset 0 8px 18px rgba(0,0,0,.32), inset 0 -2px 0 rgba(255,255,255,.6); }
.window-glass { position: absolute; inset: 0; border-radius: 44% / 37%; overflow: hidden; background: #6C9FD6 url('/img/sky.jpg') center 55% / cover; box-shadow: inset 0 0 0 5px rgba(255,255,255,.4), inset 0 14px 30px rgba(0,0,0,.28); }
.window-glass::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.3), transparent 32%, transparent 72%, rgba(255,255,255,.1)); pointer-events: none; }
.drift { position: absolute; inset: -20% -40%; background: radial-gradient(18% 9% at 20% 60%, rgba(255,255,255,.85), transparent 70%), radial-gradient(14% 7% at 65% 70%, rgba(255,255,255,.75), transparent 70%), radial-gradient(20% 8% at 90% 58%, rgba(255,255,255,.7), transparent 70%); animation: drift 26s linear infinite; filter: blur(6px); }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-28%); } }
.blind { position: absolute; left: 0; right: 0; top: 0; height: 100%; border-radius: 44% 44% 0 0 / 37% 37% 0 0; background: repeating-linear-gradient(180deg, rgba(0,0,0,.025) 0 2px, transparent 2px 9px), linear-gradient(#EFEBE5, #D6D0C6); box-shadow: 0 8px 14px rgba(0,0,0,.28); transform: translateY(calc(-100% + var(--bl, 30%))); }
.blind::after { content: ''; position: absolute; bottom: 10px; left: 50%; width: 36px; height: 6px; margin-left: -18px; border-radius: 6px; background: #A39C91; }
.scroll-cue { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); font: 600 .68rem var(--mono); letter-spacing: .2em; text-transform: uppercase; color: #BFB6A8; opacity: var(--ho, 1); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-cue::after { content: ''; width: 1px; height: 28px; background: linear-gradient(#BFB6A8, transparent); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0%,100% { transform: scaleY(.4); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }
.sky-msg { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; opacity: var(--so, 0); pointer-events: none; padding: 0 24px; z-index: 3; }
.sky-msg p { color: #163A66; font-size: clamp(1.8rem, 4.6vw, 4rem); line-height: 1; font-stretch: 125%; font-weight: 600; letter-spacing: -.035em; text-shadow: 0 2px 30px rgba(255,255,255,.55); margin: 0; }
.sky-msg small { display: block; margin-top: 18px; font: 600 .74rem var(--mono); letter-spacing: .2em; color: #163A66; text-transform: uppercase; }
@media (max-width: 860px) {
  .cabin { height: 230vh; }
  .hero-grid { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: start; gap: 8px; padding: 84px 22px 28px; }
  .hero-h1 { font-size: clamp(2.6rem, 12vw, 3.6rem); margin-top: 12px; }
  .hero-h1 .h1-sub { margin-top: 14px; font-size: 1.05rem; }
  .hero-intro { margin: 12px 0 18px; font-size: .88rem; line-height: 1.45; }
  .hero-cta { gap: 10px 16px; }
  .hero-copy { position: relative; z-index: 3; }
  .hero-copy .tag { font-size: .6rem; letter-spacing: .12em; }
  .window-slot { position: absolute; inset: 0; padding: 0; pointer-events: none; }
  .window { width: min(54vw, 30svh); }
  .scroll-cue { display: none; }
}
@media (max-width: 860px) and (max-height: 700px) { .hero-intro { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } }

/* Statement over sky */
.statement { position: relative; padding: 18vh 0 22vh; background: linear-gradient(#6E9FD5 0%, #A9C9EA 45%, #E4EDF6 82%, var(--bg) 100%); overflow: hidden; }
.statement::before { content: ''; position: absolute; inset: 0; background: url('/img/sky.jpg') center 30% / cover; opacity: .35; mix-blend-mode: screen; }
.statement .wrap { position: relative; }
.statement p.big { font-size: clamp(1.7rem, 4vw, 3.6rem); line-height: 1.06; letter-spacing: -.035em; font-stretch: 125%; font-weight: 600; color: #163A66; max-width: 1100px; margin: 0; }
.statement p.big .w { opacity: .22; transition: opacity .25s; }
.statement p.big .w.on { opacity: 1; }
.statement p.big sup { font-size: .4em; }
.statement .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 12vh; }
.statement .stats div { border-top: 1px solid rgba(17,20,27,.25); padding-top: 14px; }
.statement .stats b { display: block; font-size: clamp(2rem, 4vw, 3.2rem); font-stretch: 125%; letter-spacing: -.04em; line-height: 1; font-weight: 600; }
.statement .stats span { font: 600 .7rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) { .statement .stats { grid-template-columns: 1fr 1fr; } }

/* Split typography: fast vs slow */
.split { position: relative; background: var(--sand); padding: 14vh 0; overflow: hidden; }
.split .wrap { position: relative; min-height: 80vh; }
.split .big { font-size: clamp(3.4rem, 11vw, 10rem); line-height: .86; letter-spacing: -.06em; font-stretch: 125%; font-weight: 600; margin: 0; }
.split .a { position: absolute; left: 24px; top: 0; z-index: 2; }
.split .b { position: absolute; right: 24px; bottom: 0; text-align: right; z-index: 2; }
.split .note { max-width: 260px; font-size: .95rem; line-height: 1.35; margin-top: 18px; font-stretch: 110%; }
.split .b .note { margin-left: auto; }
.split .note .label { display: block; margin-bottom: 8px; }
.split .a .big { color: var(--teal); }
.split .b .big { color: var(--accent); }
.plane { position: absolute; left: 50%; top: 50%; width: min(42vw, 420px); transform: translate(-50%, calc(-50% + var(--py, 0px))) rotate(var(--pr, 0deg)); filter: drop-shadow(0 40px 30px rgba(60,45,25,.28)); pointer-events: none; z-index: 1; }
@media (max-width: 760px) { .split .wrap { min-height: 120vh; } .plane { width: 70vw; opacity: .9; } }

/* Section scaffolding */
section.block { padding: 120px 0; }
section.block.sand { background: var(--sand); }
section.block.white { background: #F8FAFC; }
.sec-head { max-width: 760px; margin-bottom: 48px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-row { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 44px; flex-wrap: wrap; }
.sec-row h2 { margin: 6px 0 0; max-width: 760px; }
.sec-row p { max-width: 360px; margin: 0; color: var(--muted); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 860px) { .grid3, .grid2 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.card .num { font: 600 .72rem var(--mono); color: var(--accent); letter-spacing: .14em; }
.step-ic { font-size: 2rem; margin-bottom: 8px; }

/* Spec sheet */
.spec { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--text); }
.spec > div { padding: 26px 26px 10px 0; border-right: 1px solid var(--line2); }
.spec > div + div { padding-left: 26px; }
.spec > div:last-child { border-right: 0; }
.spec .n { font-size: clamp(3rem, 6vw, 5rem); font-stretch: 125%; font-weight: 600; letter-spacing: -.05em; line-height: 1; color: var(--line2); }
.spec h3 { margin: 18px 0 10px; font-size: 1.3rem; }
.spec p { color: var(--muted); font-size: .95rem; }
.spec dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 16px 0 0; font-size: .82rem; }
.spec dt { font: 600 .66rem var(--mono); letter-spacing: .12em; color: var(--dim); text-transform: uppercase; padding-top: 3px; }
.spec dd { margin: 0; }
@media (max-width: 860px) { .spec { grid-template-columns: 1fr; } .spec > div { border-right: 0; border-bottom: 1px solid var(--line2); padding-left: 0 !important; padding-bottom: 26px; } }

/* Gate section: pass + board */
.gate-sec { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; }
.gate-sec .pass { transform: perspective(1200px) rotateY(var(--tx, 0deg)) rotateX(var(--ty, 0deg)); transition: transform .2s; }
@media (max-width: 960px) { .gate-sec { grid-template-columns: 1fr; } }

/* Archetypes: horizontal rail */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 23%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 24px 24px; margin: 0 -24px; scrollbar-width: thin; }
.arch { scroll-snap-align: start; border-radius: var(--r); padding: 26px; min-height: 340px; display: flex; flex-direction: column; justify-content: space-between; background: var(--card); border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.arch:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.arch::before { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.6), transparent 45%), var(--c); opacity: .9; }
.arch .em { position: relative; font-size: 2.6rem; align-self: flex-end; margin: -6px -4px 0 0; }
.arch h3 { margin: 0 0 8px; font-size: 1.5rem; letter-spacing: -.03em; font-stretch: 125%; }
.arch p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 760px) { .rail { grid-auto-columns: 78%; } }
.arch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .arch-grid { grid-template-columns: 1fr; } }

/* Guides */
.guide-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guide-cards a { display: flex; flex-direction: column; justify-content: space-between; min-height: 260px; padding: 28px; border-radius: var(--r); color: var(--text); background: var(--card); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; text-decoration: none; }
.guide-cards a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.guide-cards a:first-child { background: linear-gradient(160deg, #22558F, #6C9FD6); color: #fff; border: 0; }
.guide-cards a:first-child .label { color: rgba(255,255,255,.85); }
.guide-cards a:first-child p { color: rgba(255,255,255,.88); }
.guide-cards h3 { font-size: 1.55rem; letter-spacing: -.03em; font-stretch: 125%; margin: 14px 0 10px; }
.guide-cards p { color: var(--muted); font-size: .94rem; margin: 0; }
.guide-cards .go { font: 600 .7rem var(--mono); letter-spacing: .14em; text-transform: uppercase; margin-top: 18px; }
@media (max-width: 860px) { .guide-cards { grid-template-columns: 1fr; } }

/* Destination index */
.dest-index { border-top: 1px solid var(--text); }
.dest-row { display: grid; grid-template-columns: 52px 1.3fr 1fr 1.6fr 30px; gap: 16px; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line2); color: var(--text); text-decoration: none !important; transition: background .2s, padding .3s var(--ease); }
.dest-row:hover { background: #fff; padding-left: 14px; }
.dest-row .fl { font-size: 1.5rem; }
.dest-row .dn { font-size: 1.15rem; font-stretch: 118%; font-weight: 600; letter-spacing: -.02em; }
.dest-row .dr, .dest-row .dp { font-size: .86rem; color: var(--muted); }
.dest-row .dr { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.dest-row .arr { color: var(--muted); transition: transform .3s var(--ease); }
.dest-row:hover .arr { transform: translateX(4px); color: var(--text); }
@media (max-width: 760px) { .dest-row { grid-template-columns: 40px 1fr 24px; } .dest-row .dr, .dest-row .dp { display: none; } }
.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.cgrid a { display: flex; gap: 10px; align-items: center; padding: 13px 15px; border-radius: var(--r-sm); background: var(--card); border: 1px solid var(--line); color: var(--text); font-size: .95rem; transition: border-color .2s, transform .2s; text-decoration: none; }
.cgrid a:hover { border-color: var(--text); transform: translateY(-2px); }
.cgrid .fl { font-size: 1.4rem; }

/* FAQ */
details { border-bottom: 1px solid var(--line2); padding: 22px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 1.12rem; font-stretch: 112%; letter-spacing: -.01em; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--accent); font-size: 1.5rem; line-height: 1; transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 12px 0 0; }

/* Final CTA */
.finale { position: relative; padding: 22vh 0; text-align: center; color: #fff; background: radial-gradient(60% 55% at 50% 50%, rgba(22,58,102,.55), rgba(22,58,102,.18) 70%), url('/img/sky.jpg') center 40% / cover; overflow: hidden; }
.finale h2 { font-size: clamp(2.6rem, 8vw, 7rem); line-height: .9; letter-spacing: -.05em; text-shadow: 0 8px 50px rgba(20,50,90,.35); }
.finale p { color: rgba(255,255,255,.92); font-size: 1.15rem; max-width: 560px; margin: 0 auto 30px; }
.finale .btn { background: #fff; color: #11141B; }

/* Ads & partners */
.by-nat { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 26px 0 0; }
.by-nat .label { margin-right: 6px; }
.by-nat a { padding: 8px 14px; border: 1px solid var(--line2); border-radius: 999px; font-size: .9rem; color: var(--text); background: var(--card); }
.by-nat a:hover { border-color: var(--text); text-decoration: none; }
/* Ad slots stay hidden until AdSense is configured (config.js → adsenseClient), which adds .live */
.ad-slot { display: none; }
.ad-slot.live { display: block; margin: 40px auto; max-width: 970px; }
.partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.partner { display: block; padding: 22px; border-radius: var(--r-sm); background: var(--card); border: 1px solid var(--line); color: var(--text); transition: border-color .2s, transform .2s; }
.partner:hover { border-color: var(--text); transform: translateY(-2px); text-decoration: none; }
.partner .pi { font-size: 1.6rem; }
.partner b { display: block; margin: 6px 0 2px; }
.partner small { color: var(--muted); }
.partner .sp { font: .64rem var(--mono); color: var(--dim); letter-spacing: .14em; text-transform: uppercase; }

/* Footer */
footer { background: var(--cabin); --text: #F4F1EC; --muted: #B9B1A5; --dim: #A39B8F; --line2: #3A342C; --accent: #FFB35C; color: var(--text); padding: 70px 0 0; margin-top: 0; font-size: .9rem; overflow: hidden; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
footer nav { display: grid; grid-template-columns: repeat(2, minmax(160px, auto)); gap: 10px 40px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }
.disclaimer { font-size: .8rem; color: var(--dim); max-width: 460px; }
.wordmark { display: block; font-size: clamp(4rem, 19vw, 19rem); font-stretch: 125%; font-weight: 700; letter-spacing: -.06em; line-height: .8; color: #2A251F; margin: 60px 0 -2vw; white-space: nowrap; text-align: center; user-select: none; }
.wordmark::before { content: 'MigraFit'; }
@media (max-width: 600px) { footer nav { grid-template-columns: 1fr 1fr; gap: 10px 20px; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ═════════ QUIZ ═════════ */
.quiz-page { min-height: 100vh; display: flex; flex-direction: column; background: linear-gradient(#DCE8F4, var(--bg) 360px); }
.quiz-shell { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; padding: 28px 24px 80px; max-width: 1240px; margin: 0 auto; width: 100%; }
@media (max-width: 960px) { .quiz-shell { grid-template-columns: minmax(0, 1fr); } }
.quiz-h1 { font-size: 1rem; font-weight: 600; letter-spacing: 0; margin: 0 0 14px; color: var(--text); font-stretch: 110%; }
.quiz-h1 .muted { font-weight: 500; }
.route { position: relative; height: 34px; margin-bottom: 26px; }
.route-line { position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed var(--line2); }
.route-fill { position: absolute; left: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--text); transition: width .5s var(--ease); }
.route-plane { position: absolute; top: 50%; transform: translate(-50%, -50%); width: 24px; height: 24px; color: var(--text); transition: left .5s var(--ease); filter: drop-shadow(0 3px 4px rgba(17,20,27,.25)); }
.route-plane svg { display: block; width: 100%; height: 100%; }
.route-plane::after { content: ''; position: absolute; inset: 3px; z-index: -1; border-radius: 50%; background: var(--bg); }
.route-stops { position: absolute; inset: 0; }
.route-stops i { position: absolute; top: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line2); transform: translate(-50%, -50%); }
.route-stops i.done { border-color: var(--text); background: var(--text); }
.q-meta { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .88rem; margin-bottom: 14px; gap: 12px; }
.q-card { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 40px; box-shadow: var(--shadow); min-height: 430px; position: relative; overflow: hidden; }
@media (max-width: 600px) { .q-card { padding: 24px 18px; border-radius: 20px; } }
.q-card.enter { animation: qin .5s var(--ease); }
.q-card.back { animation: qback .5s var(--ease); }
@keyframes qin { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes qback { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
.q-title { font-size: clamp(1.5rem, 3.2vw, 2.3rem); font-weight: 600; font-stretch: 122%; letter-spacing: -.035em; line-height: 1.05; margin: 8px 0 10px; }
.q-sub { color: var(--muted); margin-bottom: 26px; }
.opts { display: grid; gap: 10px; }
.opts.grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.opt { display: flex; align-items: center; gap: 12px; text-align: left; padding: 16px 18px; border-radius: 16px; background: var(--card2); border: 1.5px solid var(--line); color: var(--text); font: 500 1rem var(--sans); cursor: pointer; transition: border-color .15s, background .15s, transform .1s; }
.opt:hover { border-color: var(--line2); background: #fff; }
.opt:active { transform: scale(.99); }
.opt.on { border-color: var(--text); background: #FFF6E4; box-shadow: 0 0 0 3px rgba(245,165,36,.25); }
.opt .em { font-size: 1.3rem; }
.opt .k { margin-left: auto; font: .7rem var(--mono); color: var(--dim); border: 1px solid var(--line2); border-radius: 5px; padding: 2px 6px; }
.likert { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 10px; }
.likert .opt { flex-direction: column; justify-content: center; text-align: center; padding: 18px 6px; font-size: .82rem; gap: 8px; }
.likert .dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line2); transition: all .15s; }
.likert .opt:nth-child(1) .dot, .likert .opt:nth-child(5) .dot { width: 32px; height: 32px; }
.likert .opt:nth-child(2) .dot, .likert .opt:nth-child(4) .dot { width: 26px; height: 26px; }
.likert .opt.on .dot { background: var(--sun); border-color: var(--text); }
/* Agreement scale: everything up to your answer fills in, left → right, getting warmer */
.likert .opt { transition: background .25s calc(var(--i, 0) * 60ms), border-color .25s calc(var(--i, 0) * 60ms), box-shadow .2s, transform .1s; }
.likert .dot { transition: background .25s calc(var(--i, 0) * 60ms), border-color .25s calc(var(--i, 0) * 60ms), transform .25s; }
.likert .opt.fill { background: color-mix(in srgb, var(--sun) calc(10% + var(--i) * 6%), #fff); border-color: color-mix(in srgb, var(--sun) 70%, var(--text)); }
.likert .opt.fill .dot { background: var(--sun); border-color: var(--text); }
.likert .opt.on { box-shadow: 0 0 0 3px rgba(245,165,36,.3); border-color: var(--text); }
.likert .opt.on .dot { transform: scale(1.12); }
/* Hover previews how far the scale would fill (desktop) */
@media (hover: hover) {
  .likert:has(.opt:nth-child(1):hover) .opt:nth-child(-n+1),
  .likert:has(.opt:nth-child(2):hover) .opt:nth-child(-n+2),
  .likert:has(.opt:nth-child(3):hover) .opt:nth-child(-n+3),
  .likert:has(.opt:nth-child(4):hover) .opt:nth-child(-n+4),
  .likert:has(.opt:nth-child(5):hover) .opt:nth-child(-n+5) { border-color: color-mix(in srgb, var(--sun) 60%, var(--line2)); }
  .likert:has(.opt:nth-child(1):hover) .opt:nth-child(-n+1) .dot,
  .likert:has(.opt:nth-child(2):hover) .opt:nth-child(-n+2) .dot,
  .likert:has(.opt:nth-child(3):hover) .opt:nth-child(-n+3) .dot,
  .likert:has(.opt:nth-child(4):hover) .opt:nth-child(-n+4) .dot,
  .likert:has(.opt:nth-child(5):hover) .opt:nth-child(-n+5) .dot { background: color-mix(in srgb, var(--sun) 45%, #fff); }
}
@media (max-width: 560px) { .likert .opt span:last-child { display: none; } .likert-legend { display: flex !important; } }
.likert-legend { display: none; justify-content: space-between; color: var(--dim); font-size: .78rem; margin-top: 8px; }
.search { width: 100%; padding: 16px 18px; border-radius: 16px; background: var(--card2); border: 1.5px solid var(--line); color: var(--text); font: 1.05rem var(--sans); outline: none; }
.search:focus { border-color: var(--text); background: #fff; }
.select-list { max-height: 290px; overflow: auto; margin-top: 10px; display: grid; gap: 6px; padding-right: 4px; }
.select-list .opt { padding: 11px 14px; }
.q-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; gap: 12px; }
.linkbtn { background: none; border: 0; color: var(--muted); font: 500 .95rem var(--sans); cursor: pointer; padding: 8px 4px; }
.linkbtn:hover { color: var(--text); }
.hint { font-size: .78rem; color: var(--dim); }
@media (max-width: 600px) { .hint { display: none; } .opt .k { display: none; } }
.gate { text-align: center; padding: 20px 0; }
.gate .gi { --ico-bg: var(--text); display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 20px; background: var(--text); color: #F4F1EC; box-shadow: 0 14px 30px -14px rgba(17,20,27,.6); animation: bob 2.4s ease-in-out infinite; }
.gate .gi .ico { width: 38px; height: 38px; }
.q-meta #chap { display: inline-flex; align-items: center; gap: 8px; }
.ico.ico-sm { width: 18px; height: 18px; flex: none; color: var(--text); --ico-bg: var(--bg); }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-6deg); } }
.gate h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
.gate .fact { margin: 22px auto 0; max-width: 540px; padding: 18px 22px; border-radius: 16px; background: #EAF2FB; border: 1px solid #C9DCF1; color: var(--muted); font-size: .95rem; text-align: left; }
.gate .fact b { color: var(--sky3); }
.live { position: sticky; top: 88px; align-self: start; }
.live .board { padding: 16px; }
.live-row { display: grid; grid-template-columns: 22px 1fr 46px; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px dashed #1C2340; font-size: .85rem; transition: transform .4s; }
.live-row .fl { font-size: 1.05rem; }
.live-row .pc { text-align: right; color: #FFE28A; font-weight: 700; }
.live-row .bar { grid-column: 2 / 4; height: 3px; background: #1B2033; border-radius: 3px; overflow: hidden; margin-top: -4px; }
.live-row .bar i { display: block; height: 100%; background: linear-gradient(90deg, #2EE6C5, #FFC94A); transition: width .6s; }
.live-row.up { animation: up .6s; }
@keyframes up { 0% { background: rgba(59,227,139,.15); } 100% { background: transparent; } }
.live-note { font-size: .75rem; color: var(--dim); margin-top: 10px; font-family: var(--sans); }
@media (max-width: 960px) { .live { position: static; order: -1; } .live .board { padding: 12px 14px; } .live-rows { display: flex; gap: 16px; overflow-x: auto; } .live-row { display: flex; gap: 6px; border: 0; padding: 0; white-space: nowrap; } .live-row .bar { display: none; } .live-note { display: none; } }
/* About block shares the quiz grid so it lines up with the question card */
.quiz-about { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px 72px; display: grid; grid-template-columns: 1fr 300px; column-gap: 28px; color: var(--muted); font-size: .95rem; }
.quiz-about > * { grid-column: 1 / -1; max-width: none; }
.quiz-about h2 { font-size: 1.5rem; color: var(--text); margin-top: 0; padding-top: 32px; border-top: 1px solid var(--line); max-width: none; }
@media (max-width: 960px) { .quiz-about { grid-template-columns: 1fr; } }
/* Quiz on phones: compact chrome so the question and the Next button fit one screen */
.quiz-page #timer, .quiz-page #restart { white-space: nowrap; }
@media (max-width: 600px) {
  .quiz-page .nav { gap: 14px; }
  .quiz-shell { gap: 12px; padding: 12px 16px 0; }
  .live:not(:has(.live-row)) { display: none; }
  .live .board { padding: 10px 12px; border-radius: 14px; }
  .live .board-head { margin-bottom: 6px; font-size: .66rem; }
  .live-rows { gap: 14px; font-size: .8rem; scrollbar-width: none; }
  .quiz-h1 { font-size: .84rem; margin-bottom: 4px; }
  .route { height: 26px; margin-bottom: 10px; }
  .route-plane { width: 20px; height: 20px; }
  .q-meta { font-size: .8rem; margin-bottom: 10px; }
  .q-card { min-height: 0; }
  .q-title { font-size: 1.45rem; }
  .q-sub { margin-bottom: 18px; font-size: .92rem; }
  .opts { gap: 8px; }
  .opts.grid { grid-template-columns: 1fr 1fr; }
  .opt { padding: 13px 14px; font-size: .95rem; gap: 10px; border-radius: 14px; }
  .opts.grid .opt { padding: 12px; font-size: .9rem; line-height: 1.2; }
  .opt .em { font-size: 1.15rem; }
  .likert { gap: 6px; }
  .likert .opt { padding: 16px 4px; }
  /* Dots grow left → right so the scale reads as "more agreement" */
  .likert .opt:nth-child(1) .dot { width: 16px; height: 16px; }
  .likert .opt:nth-child(2) .dot { width: 20px; height: 20px; }
  .likert .opt:nth-child(3) .dot { width: 24px; height: 24px; }
  .likert .opt:nth-child(4) .dot { width: 28px; height: 28px; }
  .likert .opt:nth-child(5) .dot { width: 32px; height: 32px; }
  .select-list { max-height: 42vh; }
  .gate { padding: 4px 0; }
  .gate .gi { width: 56px; height: 56px; border-radius: 17px; }
  .gate .gi .ico { width: 32px; height: 32px; }
  .gate h2 { font-size: 2rem; }
  .gate .fact { margin-top: 16px; padding: 14px 16px; font-size: .9rem; }
  /* Next/Back stay on screen while long option lists scroll */
  .q-nav { position: sticky; bottom: 0; z-index: 20; margin: 0 -16px; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(rgba(237,241,245,0), var(--bg) 30%); }
  .q-nav .btn { min-width: 150px; }
  .quiz-about { padding-top: 24px; }
}

/* ═════════ RESULTS ═════════ */
.stage { min-height: calc(100vh - 64px); display: grid; place-items: center; padding: 30px 16px; position: relative; overflow: hidden; background: radial-gradient(80% 60% at 50% 30%, #1C2A4F, #0B1020 70%); }
.calc { text-align: center; }
.calc .board { display: inline-block; padding: 26px 30px; }
.calc .flap span { width: 1.6em; height: 2.1em; font-size: clamp(1rem, 3.6vw, 1.9rem); }
.calc-steps { margin-top: 22px; font-family: var(--mono); color: var(--muted); font-size: .9rem; min-height: 1.6em; }
#globe { width: min(560px, 92vw); height: min(560px, 92vw); display: block; margin: 0 auto; }
.globe-cap { text-align: center; font-family: var(--mono); color: var(--muted); margin-top: -10px; letter-spacing: .1em; font-size: .85rem; }

/* boarding pass */
.pass { width: min(780px, 100%); margin: 0 auto; display: grid; grid-template-columns: 1fr 210px; border-radius: 24px; overflow: hidden; box-shadow: 0 50px 90px -40px rgba(17,20,27,.55), 0 0 0 1px rgba(17,20,27,.06); background: #FBF8F2; color: #1A1A2E; position: relative; }
.pass.print { animation: print 1.1s cubic-bezier(.2,.9,.3,1.1) both; }
@keyframes print { 0% { clip-path: inset(0 0 100% 0); transform: translateY(-30px); } 100% { clip-path: inset(0 0 0 0); transform: none; } }
.pass-main { padding: 26px 30px; position: relative; }
.pass-top { display: flex; justify-content: space-between; align-items: center; margin: -26px -30px 20px; padding: 14px 30px; background: var(--pc, #FF7A45); color: #14142A; font: 700 .78rem var(--mono); letter-spacing: .18em; }
.pass-route { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; }
.pass-route .code { font: 600 clamp(2.4rem, 7vw, 3.8rem) var(--sans); font-stretch: 125%; letter-spacing: -.05em; line-height: 1; }
.pass-route .city { font-size: .82rem; color: #57576C; margin-top: 4px; }
.pass-route .to { text-align: right; }
.pass-route .mid { font-size: 1.6rem; color: #1A1A2E; position: relative; }
.pass-route .mid::before, .pass-route .mid::after { content: ''; position: absolute; top: 50%; width: 40px; border-top: 2px dotted #B9B2A3; }
.pass-route .mid::before { right: 130%; } .pass-route .mid::after { left: 130%; }
.pass-fields { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; }
.pass-fields div small { display: block; font: 600 .6rem var(--mono); letter-spacing: .16em; color: #625D53; text-transform: uppercase; }
.pass-fields div b { font: 700 1.02rem var(--mono); }
.pass-stub { border-left: 2px dashed #CFC7B6; padding: 26px 20px; display: flex; flex-direction: column; justify-content: space-between; align-items: center; text-align: center; position: relative; background: #F2ECE0; }
.pass-stub::before, .pass-stub::after { content: ''; position: absolute; left: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); }
.pass-stub::before { top: -12px; } .pass-stub::after { bottom: -12px; }
.pass-fit { font: 600 3.6rem var(--sans); font-stretch: 125%; letter-spacing: -.05em; line-height: 1; color: #1A1A2E; }
.pass-fit sup { font-size: 1.2rem; }
.barcode { height: 46px; width: 100%; background: repeating-linear-gradient(90deg, #1A1A2E 0 2px, transparent 2px 4px, #1A1A2E 4px 5px, transparent 5px 8px, #1A1A2E 8px 11px, transparent 11px 12px); opacity: .85; }
.stamp { position: absolute; right: 230px; bottom: 18px; border: 3px solid var(--sc, #1C9A5B); color: var(--sc, #1C9A5B); font: 800 .95rem var(--mono); padding: 6px 12px; border-radius: 8px; transform: rotate(-12deg) scale(2.4); opacity: 0; letter-spacing: .1em; text-transform: uppercase; mix-blend-mode: multiply; }
.stamp.hit { animation: stamp .45s cubic-bezier(.3,1.6,.5,1) forwards; }
@keyframes stamp { to { transform: rotate(-12deg) scale(1); opacity: 1; } }
@media (max-width: 640px) { .pass { grid-template-columns: 1fr; } .pass-stub { border-left: 0; border-top: 2px dashed #CFC7B6; flex-direction: row; gap: 16px; padding: 18px 20px; } .pass-stub::before, .pass-stub::after { display: none; } .pass-fields { grid-template-columns: 1fr 1fr; } .stamp { right: 14px; bottom: 12px; font-size: .8rem; } .barcode { width: 90px; height: 40px; } .pass-fit { font-size: 2.6rem; } }

.share-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 26px 0 0; }
.sbtn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--text); font: 600 .9rem var(--sans); cursor: pointer; transition: transform .15s, border-color .15s; }
.sbtn:hover { transform: translateY(-2px); border-color: var(--muted); text-decoration: none; }
.sbtn svg { width: 16px; height: 16px; fill: currentColor; }
.sbtn.primary { background: #F4F1EC; color: #11141B; border: 0; }

#after { background: var(--bg); }
.res-section { padding: 70px 0; border-top: 1px solid var(--line); }
.arch-hero { display: grid; grid-template-columns: 200px 1fr; gap: 36px; align-items: center; }
.arch-orb { width: 200px; height: 200px; border-radius: 50%; display: grid; place-items: center; font-size: 5rem; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.55), transparent 42%), var(--ac); box-shadow: 0 40px 80px -30px var(--ac); animation: orb 6s ease-in-out infinite; }
@keyframes orb { 50% { transform: translateY(-8px) rotate(4deg); } }
@media (max-width: 640px) { .arch-hero { grid-template-columns: 1fr; text-align: center; } .arch-orb { margin: 0 auto; width: 150px; height: 150px; font-size: 3.8rem; } }
.list-ok, .list-no { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.list-ok li, .list-no li { padding: 13px 14px 13px 42px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); position: relative; font-size: .96rem; }
.list-ok li::before, .list-no li::before { position: absolute; left: 15px; top: 12px; font-weight: 700; }
.list-ok li::before { content: '✓'; color: var(--good); }
.list-no li::before { content: '!'; color: var(--bad); width: 16px; text-align: center; }
.gauge { width: 220px; height: 130px; display: block; margin: 0 auto; color: var(--text); }
.ready-grid { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: center; }
@media (max-width: 760px) { .ready-grid { grid-template-columns: 1fr; text-align: center; } }
.verdict { display: inline-block; font: 700 .76rem var(--mono); letter-spacing: .14em; padding: 6px 12px; border-radius: 6px; text-transform: uppercase; }
.verdict.go { background: #DCF5E5; color: #11663A; }
.verdict.test { background: #FDF0D5; color: #8A4B06; }
.verdict.hold { background: #FBE1E4; color: #9B1C2E; }
.match { display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: center; padding: 20px 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); margin-bottom: 12px; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.match:hover { border-color: var(--line2); box-shadow: var(--shadow); }
.match .rk { font: 600 1.6rem var(--sans); font-stretch: 125%; color: var(--line2); }
.match .fl { font-size: 1.6rem; margin-right: 8px; }
.match .pct { font: 600 1.7rem var(--sans); font-stretch: 125%; letter-spacing: -.04em; }
.match .path { font-size: .86rem; color: var(--muted); }
.match .det { grid-column: 1 / -1; display: none; }
.match.open .det { display: block; }
.subs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 24px; margin-top: 12px; }
@media (max-width: 600px) { .subs { grid-template-columns: 1fr 1fr; } }
.sub small { display: flex; justify-content: space-between; color: var(--muted); font-size: .78rem; }
.sub .bar { height: 6px; background: var(--bg2); border-radius: 4px; overflow: hidden; margin-top: 4px; }
.sub .bar i { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--sky2), var(--sky3)); transition: width 1.2s var(--ease); }
.reality { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .reality { grid-template-columns: 1fr; } }
.stat-big { font: 600 clamp(2rem, 5vw, 3rem) var(--sans); font-stretch: 125%; line-height: 1; margin: 8px 0; }
.costs { width: 100%; border-collapse: collapse; font-size: .92rem; }
.costs td { padding: 10px 0; border-bottom: 1px dashed var(--line2); }
.costs td:last-child { text-align: right; font-family: var(--mono); }
.costs tr:last-child td { border: 0; font-weight: 700; color: var(--accent); }
.timeline { position: relative; margin-top: 18px; padding-left: 24px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px; border-left: 2px dashed var(--line2); }
.timeline div { position: relative; padding: 6px 0 12px; font-size: .93rem; }
.timeline div::before { content: ''; position: absolute; left: -22px; top: 11px; width: 12px; height: 12px; border-radius: 50%; background: var(--card); border: 2px solid var(--text); }
.timeline b { color: var(--text); }
.timeline span { color: var(--muted); }
.shared-banner { background: rgba(255,255,255,.08); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 22px; display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 24px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 80px); background: #11141B; color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 600; transition: transform .3s; z-index: 99; }
.toast.on { transform: translate(-50%, 0); }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 60; }

/* ═════════ GUIDES ═════════ */
.guide-hero { padding: 70px 0 30px; }
.guide-hero .fl { font-size: 4rem; }
.guide-hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); letter-spacing: -.05em; line-height: .95; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 30px 0; border-top: 1px solid var(--text); }
.facts div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line2); }
.facts small { display: block; font: 600 .64rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.facts b { font-size: 1.3rem; font-weight: 600; font-stretch: 118%; letter-spacing: -.02em; }
@media (max-width: 720px) { .facts { grid-template-columns: 1fr 1fr; } }
.ptable { width: 100%; border-collapse: collapse; margin: 10px 0 20px; }
.ptable th, .ptable td { text-align: left; padding: 13px 10px; border-bottom: 1px solid var(--line2); font-size: .93rem; vertical-align: top; }
.ptable thead th { border-bottom: 1px solid var(--text); color: var(--dim); font: 600 .66rem var(--mono); text-transform: uppercase; letter-spacing: .12em; }
.prose h2 { margin-top: 1.7em; font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.prose h3 { margin-top: 1.8em; font-size: 1.4rem; }
.prose ul { padding-left: 1.2em; } .prose li { margin-bottom: .5em; }
.prose .ptable a { color: var(--text); }
.prose p a, .prose li a, .prose td a, .muted a { text-decoration: underline; text-underline-offset: 3px; }
.cta-box { margin: 44px 0; padding: 40px 34px; border-radius: 26px; text-align: center; color: #fff; background: linear-gradient(rgba(34,85,143,.35), rgba(34,85,143,.15)), url('/img/sky.jpg') center 35% / cover; --muted: rgba(255,255,255,.92); }
.cta-box .muted { color: var(--muted); }
.cta-box .btn { background: #fff; color: #11141B; }
.cta-h { font-size: 1.6rem; margin: 0 0 .4em; color: #fff; }
ol.steps { padding-left: 1.5em; counter-reset: s; }
ol.steps li { margin-bottom: 1em; padding-left: .4em; }
ol.steps li::marker { color: var(--accent); font-family: var(--mono); font-weight: 700; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } .cabin { height: auto; } .cabin-stick { position: relative; } }

/* Cookie consent */
.consent { position: fixed; left: 20px; bottom: 20px; z-index: 90; max-width: 380px; padding: 18px 20px; border-radius: 18px; background: #fff; color: #11141B; box-shadow: 0 24px 60px -20px rgba(17,20,27,.45), 0 0 0 1px rgba(17,20,27,.08); font-size: .88rem; line-height: 1.45; animation: qin .5s var(--ease); }
.consent p { margin: 0 0 14px; color: #4E5768; }
.consent b { color: #11141B; }
.consent a { color: #11141B; text-decoration: underline; }
.consent-btns { display: flex; gap: 10px; justify-content: flex-end; }
.consent .btn { color: #fff; } .consent .btn.ghost { color: #11141B; }
@media (max-width: 600px) { .consent { left: 12px; right: 12px; bottom: 12px; max-width: none; } }
