@font-face{font-family:"Manrope";font-style:normal;font-weight:400;font-display:swap;src:url("fonts/manrope-latin-ext-400-normal.woff2") format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:"Manrope";font-style:normal;font-weight:400;font-display:swap;src:url("fonts/manrope-latin-400-normal.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:"Manrope";font-style:normal;font-weight:500;font-display:swap;src:url("fonts/manrope-latin-ext-500-normal.woff2") format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:"Manrope";font-style:normal;font-weight:500;font-display:swap;src:url("fonts/manrope-latin-500-normal.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:"Manrope";font-style:normal;font-weight:600;font-display:swap;src:url("fonts/manrope-latin-ext-600-normal.woff2") format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:"Manrope";font-style:normal;font-weight:600;font-display:swap;src:url("fonts/manrope-latin-600-normal.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:"Manrope";font-style:normal;font-weight:700;font-display:swap;src:url("fonts/manrope-latin-ext-700-normal.woff2") format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:"Manrope";font-style:normal;font-weight:700;font-display:swap;src:url("fonts/manrope-latin-700-normal.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:"Manrope";font-style:normal;font-weight:800;font-display:swap;src:url("fonts/manrope-latin-ext-800-normal.woff2") format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:"Manrope";font-style:normal;font-weight:800;font-display:swap;src:url("fonts/manrope-latin-800-normal.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

/* Concept: aplicația, arătată prin ecranele ei reale în telefoane 3D care se rotesc odată cu scroll-ul.
   Nimic nu fixează pagina: scroll-ul merge mereu în jos. Tokenii vin din „Sticlă". */
:root {
  color-scheme: dark;
  --bg-base: #161634; --bg-mid: #0E3A52; --bg-deep: #0B5A5E; --space: #0A0B24;
  --surface: rgba(255,255,255,.07); --surface-2: rgba(255,255,255,.11); --surface-3: rgba(255,255,255,.17);
  --solid: #1C2147; --solid-2: #252B57;
  --stroke: rgba(255,255,255,.14); --stroke-strong: rgba(255,255,255,.26);
  --fg: #F2F6FA; --fg-2: rgba(242,246,250,.84); --fg-3: rgba(242,246,250,.64); --fg-4: rgba(242,246,250,.32);
  --accent: #7DF9E0; --on-accent: #10193A; --accent-soft: rgba(125,249,224,.14);
  --flame: #FF7A45; --flame-2: #FFC44D; --flame-soft: rgba(255,122,69,.16);
  --royal: #A9C2FF; --error: #FF6B6B;
  --star: #DDE7FF; --glow-a: rgba(125,249,224,.20); --glow-b: rgba(111,182,255,.16); --glow-c: rgba(255,122,69,.14);
  --shadow: rgba(3,4,20,.6); --frame: #07081C; --frame-edge: rgba(255,255,255,.18);
  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.22,1,.36,1);
  --maxw: 1200px;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg-base: #F4F8FB; --bg-mid: #E8F2F5; --bg-deep: #DFF3EE; --space: #EEF4FA;
    --surface: rgba(255,255,255,.62); --surface-2: rgba(255,255,255,.80); --surface-3: rgba(255,255,255,.92);
    --solid: #FFFFFF; --solid-2: #F6F9FB;
    --stroke: rgba(22,22,52,.09); --stroke-strong: rgba(22,22,52,.16);
    --fg: #161634; --fg-2: rgba(22,22,52,.78); --fg-3: rgba(22,22,52,.6); --fg-4: rgba(22,22,52,.28);
    --accent: #0B7A70; --on-accent: #FFFFFF; --accent-soft: rgba(11,122,112,.10);
    --flame: #C24A16; --flame-2: #8A5E00; --flame-soft: rgba(194,74,22,.10);
    --royal: #17458F; --error: #B12A2A;
    --star: #8FA6C8; --glow-a: rgba(11,122,112,.14); --glow-b: rgba(29,95,176,.10); --glow-c: rgba(194,74,22,.08);
    --shadow: rgba(22,22,52,.18); --frame: #161634; --frame-edge: rgba(255,255,255,.4);
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg-base: #F4F8FB; --bg-mid: #E8F2F5; --bg-deep: #DFF3EE; --space: #EEF4FA;
  --surface: rgba(255,255,255,.62); --surface-2: rgba(255,255,255,.80); --surface-3: rgba(255,255,255,.92);
  --solid: #FFFFFF; --solid-2: #F6F9FB;
  --stroke: rgba(22,22,52,.09); --stroke-strong: rgba(22,22,52,.16);
  --fg: #161634; --fg-2: rgba(22,22,52,.78); --fg-3: rgba(22,22,52,.6); --fg-4: rgba(22,22,52,.28);
  --accent: #0B7A70; --on-accent: #FFFFFF; --accent-soft: rgba(11,122,112,.10);
  --flame: #C24A16; --flame-2: #8A5E00; --flame-soft: rgba(194,74,22,.10);
  --royal: #17458F; --error: #B12A2A;
  --star: #8FA6C8; --glow-a: rgba(11,122,112,.14); --glow-b: rgba(29,95,176,.10); --glow-c: rgba(194,74,22,.08);
  --shadow: rgba(22,22,52,.18); --frame: #161634; --frame-edge: rgba(255,255,255,.4);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-weight: 500; font-size: 17px; line-height: 1.55; color: var(--fg); background: var(--space); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--space); }
::selection { background: var(--accent); color: var(--on-accent); }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ===== Cerul: gradient Sticlă + stele pe canvas ===== */
.sky { position: fixed; inset: 0; z-index: -3; background: radial-gradient(120% 80% at 70% 0%, var(--bg-base) 0%, var(--space) 60%); }
.sky-tint { position: fixed; inset: 0; z-index: -3; background: linear-gradient(180deg, transparent 0%, var(--bg-mid) 70%, var(--bg-deep) 100%); opacity: 0; will-change: opacity; }
#stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }

/* ===== Layout și tipografie ===== */
.wrap { width: 100%; max-width: calc(var(--maxw) + 48px); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 720px) { .wrap { padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); } }
section { position: relative; }
.sec { padding-block: clamp(96px, 13vw, 180px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.mega { font-weight: 800; font-size: clamp(52px, 9.6vw, 148px); line-height: .92; letter-spacing: -.055em; margin: 0; text-wrap: balance; }
.h2 { font-weight: 800; font-size: clamp(38px, 6vw, 84px); line-height: .98; letter-spacing: -.045em; margin: 0; text-wrap: balance; }
.lead { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.6; color: var(--fg-2); margin: 0; max-width: 34em; text-wrap: pretty; }
.mint { color: var(--accent); } .flame { color: var(--flame); }
.num { font-variant-numeric: tabular-nums; }
.word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.word > span { display: inline-block; will-change: transform; }
.sec-head { display: grid; gap: 20px; max-width: 820px; }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* ===== Nav ===== */
.nav { position: fixed; z-index: 50; left: 0; right: 0; top: calc(env(safe-area-inset-top, 0px) + 14px); display: flex; justify-content: space-between; align-items: center; pointer-events: none;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.nav > * { pointer-events: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--stroke);
  -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%); text-decoration: none; font-weight: 800; font-size: 17px; letter-spacing: -.03em; }
.brand .bz { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; overflow: hidden; }
.brand .bz > div { width: 26px; height: 42px; margin-top: 8px; }
.nav-links { display: none; gap: 2px; padding: 5px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--stroke); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 700; color: var(--fg-2); padding: 9px 14px; white-space: nowrap; border-radius: 999px; transition: background .3s, color .3s; }
@media (max-width: 1279px) { .nav-links a { padding: 8px 9px; font-size: 13px; } }
.nav-links a:hover, .nav-links a.active { background: var(--surface-3); color: var(--fg); }
.days-pill { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--stroke);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); font-size: 14px; font-weight: 700; color: var(--fg-2); white-space: nowrap; }
.days-pill b { color: var(--fg); font-variant-numeric: tabular-nums; }
@media (min-width: 1080px) { .nav-links { display: flex; } }

/* ===== Telefonul 3D =====
   Rama din față are exact proporția ecranului (393 × 852): bara de stare de 44 px + captura de 393 × 808.
   Grosimea: o singură placă în spate (.p3-back), deci doar două straturi pe telefon, ușor și pe mobil. */
.p3 { --w: 280px; --d: calc(var(--w) * .05); position: relative; width: var(--w); max-width: 100%; flex: none; perspective: 1400px; }
.p3-body { position: relative; transform-style: preserve-3d; transform: rotateX(4deg) rotateY(var(--ry0, 0deg)); }
.p3-back { position: absolute; inset: 0; border-radius: calc(var(--w) * .165); background: linear-gradient(135deg, var(--edge), var(--frame) 60%); transform: translateZ(calc(var(--d) * -1)); box-shadow: 0 40px 70px -34px var(--shadow); }
.p3-front { position: relative; padding: calc(var(--w) * .034); border-radius: calc(var(--w) * .165); background: var(--frame);
  box-shadow: 0 0 0 1.5px var(--frame-edge) inset, 0 0 0 2px var(--edge); }
.p3-scr { position: relative; width: 100%; aspect-ratio: 393 / 852; border-radius: calc(var(--w) * .135); overflow: hidden; background: var(--bg-base); }
.p3-sb { position: absolute; inset: 0 0 auto; height: calc(100% * 44 / 852); display: flex; justify-content: space-between; align-items: center; padding: 0 9%;
  font-size: calc(var(--w) * .042); font-weight: 800; color: var(--fg); background: var(--bg-base); z-index: 2; }
.p3-isl { position: absolute; left: 50%; top: calc(100% * 11 / 852); width: 31%; height: calc(100% * 30 / 852); border-radius: 99px; background: #02030f; transform: translateX(-50%); z-index: 3; }
.p3-shot { position: absolute; left: 0; right: 0; bottom: 0; top: calc(100% * 44 / 852); }
.p3-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.p3-glare { position: absolute; inset: 0; z-index: 4; pointer-events: none; background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.10) 50%, transparent 62%); }
.p3-scr::after { content: ""; position: absolute; inset: 0; z-index: 5; background: #02030f; opacity: var(--dim, 0); pointer-events: none; }
:root { --edge: #3A4285; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { --edge: #2B3270; } }
:root[data-theme="light"] { --edge: #2B3270; }

/* ===== 1. Erou ===== */
.hero { padding-top: calc(env(safe-area-inset-top, 0px) + 116px); overflow: clip; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 1fr) auto; gap: 40px; } }
.hero-copy { display: grid; gap: 26px; min-width: 0; }
.mascot-hero { position: relative; width: min(200px, 44vw); aspect-ratio: 280 / 450; justify-self: center; margin-top: 90px; }
.mascot-hero .mh { position: absolute; inset: 0; will-change: transform; }
.bubble-wrap { position: absolute; z-index: 3; left: 0; right: 0; bottom: calc(86% + 22px); display: flex; justify-content: center; pointer-events: none; }
.bubble { position: relative; flex: none; width: min(280px, 84vw); padding: 13px 17px; border-radius: 20px; background: var(--solid-2); border: 1px solid var(--stroke-strong);
  font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--fg); text-align: left; box-shadow: 0 20px 40px -24px var(--shadow); }
.bubble::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 14px; height: 14px; margin-left: -7px; background: var(--solid-2); border-right: 1px solid var(--stroke-strong); border-bottom: 1px solid var(--stroke-strong); transform: rotate(45deg); }
.b-ghost { display: block; visibility: hidden; }
.b-live { position: absolute; inset: 13px 17px; }
.bubble .caret { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (min-width: 1000px) { .mascot-hero { width: 230px; } }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px; border: 1px solid var(--stroke); background: var(--surface); color: var(--fg-2); font-weight: 700; font-size: 14px; }
.store svg { width: 17px; height: 17px; }
.fan { position: relative; display: flex; justify-content: center; align-items: flex-start; margin-top: clamp(40px, 6vw, 72px); padding-bottom: 80px; }
.fan .p3 { --w: clamp(150px, 21vw, 280px); margin-inline: calc(var(--w) * -.06); }
.fan .p3:nth-child(1) { margin-top: 70px; z-index: 1; } .fan .p3:nth-child(2) { z-index: 2; } .fan .p3:nth-child(3) { margin-top: 70px; z-index: 1; }
@media (max-width: 560px) { .fan .p3 { --w: 41vw; } .fan .p3:nth-child(1), .fan .p3:nth-child(3) { --w: 33vw; margin-top: 60px; } }

/* ===== 2. Caruselul: coverflow aerisit, telefonul din mijloc în față, vecinii rotiți și în spate ===== */
.ringsec { overflow: clip; }
.ring-stage { position: relative; perspective: 1600px; margin-top: clamp(28px, 4vw, 52px); height: calc(var(--cw) * 2.25 + 40px); --cw: clamp(200px, 22vw, 270px); touch-action: pan-y; cursor: grab; user-select: none; }
.ring-stage:active { cursor: grabbing; }
.ring { position: absolute; inset: 0; transform-style: preserve-3d; }
.ring .slot { position: absolute; left: 50%; top: 10px; width: var(--cw); margin-left: calc(var(--cw) / -2); transform-style: preserve-3d; will-change: transform; }
.ring .p3 { --w: var(--cw); perspective: none; transform-style: preserve-3d; }
.ring .p3-body { transform: none; }
.ring-cap { text-align: center; display: grid; gap: 6px; justify-items: center; min-height: 92px; }
.ring-cap b { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.ring-cap span { color: var(--fg-3); max-width: 36ch; }
.ring-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.ring-tabs button { padding: 9px 15px; border-radius: 999px; font-size: 13px; font-weight: 800; color: var(--fg-3); border: 1px solid var(--stroke); background: var(--surface); transition: background .35s, color .35s, border-color .35s; }
.ring-tabs button.on { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.ring-arrows { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.ring-arrows button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--stroke); background: var(--surface-2); font-size: 18px; font-weight: 800; color: var(--fg); }
@media (max-width: 600px) { .ring-stage { --cw: 58vw; } }
.ringsec.static .ring-stage { height: auto; perspective: none; }
.ringsec.static .ring { position: static; display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.ringsec.static .ring .slot { position: static; margin: 0; transform: none !important; }

/* ===== 3. Cum înveți: șase pași în zigzag ===== */
.steps { display: grid; gap: clamp(72px, 10vw, 140px); margin-top: clamp(56px, 8vw, 100px); }
.step { display: grid; gap: 28px; align-items: center; }
.step .p3 { --w: min(290px, 68vw); justify-self: center; }
.step-text { display: grid; gap: 16px; min-width: 0; }
.step-n { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
.step-n b { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 16px; letter-spacing: 0; }
.step h3 { margin: 0; font-size: clamp(30px, 4vw, 54px); font-weight: 800; line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; }
.step p { margin: 0; color: var(--fg-2); max-width: 30em; }
.react { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.react .mz { width: 56px; aspect-ratio: 280 / 450; flex: none; }
.react span { padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: var(--surface-2); border: 1px solid var(--stroke); font-weight: 700; font-size: 15px; }
@media (min-width: 900px) {
  .step { grid-template-columns: 1fr 1fr; gap: 64px; }
  .step:nth-child(even) .p3 { order: 2; }
}

/* ===== 4. Manifest ===== */
.manifest p { margin: 0; font-size: clamp(32px, 5vw, 70px); font-weight: 800; line-height: 1.08; letter-spacing: -.04em; max-width: 17em; text-wrap: balance; }
.manifest .w { transition: color .25s linear; }
.manifest .w.dim { color: var(--fg-4); }
.manifest .wm { color: var(--accent); } .manifest .wf { color: var(--flame); }
.manifest-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .manifest-grid { grid-template-columns: 1fr 200px; } }
.mascot-rest { width: 180px; aspect-ratio: 280 / 450; justify-self: center; }

/* ===== 5. Ritmul ===== */
.ritm-head { display: grid; gap: 28px; align-items: end; }
@media (min-width: 900px) { .ritm-head { grid-template-columns: 1fr auto; } }
.streak-big { display: flex; align-items: center; gap: 16px; }
.streak-big .zs { width: 96px; aspect-ratio: 280 / 450; flex: none; }
.streak-big b { display: block; font-size: clamp(64px, 9vw, 120px); font-weight: 800; letter-spacing: -.06em; line-height: .85; color: var(--flame); font-variant-numeric: tabular-nums; }
.streak-big span { font-weight: 800; color: var(--fg-2); }
.cols { display: flex; justify-content: center; gap: clamp(18px, 4vw, 56px); margin-top: clamp(56px, 8vw, 100px); flex-wrap: wrap; }
.cols .col { display: grid; gap: 22px; justify-items: center; will-change: transform; }
.cols .p3 { --w: clamp(220px, 22vw, 280px); }
.cols .cap { text-align: center; max-width: 260px; display: grid; gap: 4px; }
.cols .cap b { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.cols .cap span { font-size: 15px; color: var(--fg-3); }

/* ===== 6. Exersare ===== */

/* ===== Telefon (touch): fără blur de fundal și fără straturi grele ===== */
@media (hover: none), (max-width: 760px) {
  .brand, .nav-links, .days-pill, .odo, .stop .card, .launch-orbits i { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .brand, .days-pill { background: var(--solid); }
  .stop .card, .odo { background: var(--solid); }
  .launch-orbits i:nth-child(1), .launch-orbits i:nth-child(3) { display: none; }
  .comets { display: none; }
  .p3 { --d: calc(var(--w) * .035); }
}

/* ===== Mascota din erou: SVG static în pagină, animat doar din CSS (apare din prima, 60 fps, fără scripturi) ===== */
.mh-l { display: none; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .mh-d { display: none; } :root:not([data-theme="dark"]) .mh-l { display: block; } }
:root[data-theme="light"] .mh-d { display: none; } :root[data-theme="light"] .mh-l { display: block; }
.mh-d, .mh-l { position: absolute; inset: 0; }
.mh { animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); } 50% { transform: translate3d(0, -10px, 0) rotate(-1.5deg); } }
.mh .z-armR { transform-box: view-box; transform-origin: 86px 8px; animation: wave 1.5s ease-in-out infinite alternate; }
@keyframes wave { from { transform: rotate(-62deg); } to { transform: rotate(-98deg); } }
.mh .z-armL { transform-box: view-box; transform-origin: -86px 8px; animation: armrest 5s ease-in-out infinite; }
@keyframes armrest { 50% { transform: rotate(-6deg); } }
.mh .z-flame { transform-box: view-box; transform-origin: 0px 136px; animation: flick .24s ease-in-out infinite alternate; }
@keyframes flick { from { transform: scale(.96, .9); } to { transform: scale(1.04, 1.12); } }
.mh .z-eyes { transform-box: view-box; transform-origin: 0px -10px; animation: zblink 4.6s ease-in-out infinite; }
@keyframes zblink { 0%, 92%, 100% { transform: translateX(3px) scaleY(1); } 95% { transform: translateX(3px) scaleY(.1); } }
.mh .z-shadow { transform-box: view-box; transform-origin: 0px 250px; animation: shadowpulse 5s ease-in-out infinite; }
@keyframes shadowpulse { 50% { transform: scale(.88); opacity: .8; } }

/* ===== Intrarea eroului din CSS: pornește odată cu pagina, fără să aștepte JavaScript ===== */
/* translate/scale separate, ca să nu se bată cu transform-urile puse de scroll */
@keyframes rise { from { opacity: 0; translate: 0 26px; } to { opacity: 1; translate: 0 0; } }
@keyframes riseBig { from { opacity: 0; translate: 0 70px; scale: .94; } to { opacity: 1; translate: 0 0; scale: 1; } }
.hero .eyebrow { animation: rise .9s var(--ease) .05s both; }
.hero .mega { animation: rise 1.1s var(--ease) .12s both; }
.hero .lead { animation: rise 1s var(--ease) .28s both; }
.hero .cta-row { animation: rise 1s var(--ease) .38s both; }
.mh-d, .mh-l { animation: riseBig 1.6s var(--ease) .2s backwards; }
.bubble { animation: rise .8s var(--ease) 1.2s backwards; }
.fan .p3 { animation: riseBig 1.5s var(--ease) backwards; }
.fan .p3:nth-child(1) { animation-delay: .45s; } .fan .p3:nth-child(2) { animation-delay: .35s; } .fan .p3:nth-child(3) { animation-delay: .55s; }
.nav > * { animation: rise .9s var(--ease) .1s backwards; }
.hero-off .mh, .hero-off .mh * { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .mh, .mh *, .hero *, .mh-d, .mh-l, .bubble, .fan .p3, .nav > * { animation: none !important; } }
/* ===== 7. Traseul: harta spațială ===== */
.route { overflow: clip; }
.route-head { display: grid; gap: 36px; align-items: end; }
@media (min-width: 1000px) { .route-head { grid-template-columns: 1fr auto; } }
.odo { display: grid; gap: 12px; padding: 20px 22px; border-radius: 26px; background: var(--surface); border: 1px solid var(--stroke); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); justify-self: start; }
.odo-lbl { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
.odo-row { display: flex; gap: 14px; align-items: flex-end; }
.odo-grp { display: grid; gap: 4px; justify-items: center; }
.odo-grp span { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
.odo-digits { display: flex; gap: 3px; }
.odo-d { width: clamp(26px, 3vw, 38px); height: clamp(40px, 4.4vw, 56px); border-radius: 10px; background: var(--solid); border: 1px solid var(--stroke); overflow: hidden; position: relative; }
.odo-d .strip { position: absolute; left: 0; right: 0; top: 0; display: flex; flex-direction: column; transition: transform .7s cubic-bezier(.3,1.4,.5,1); }
.odo-d .strip span { height: clamp(40px, 4.4vw, 56px); display: grid; place-items: center; font-size: clamp(22px, 2.6vw, 34px); font-weight: 800; font-variant-numeric: tabular-nums; color: var(--fg); }
.odo-grp:first-child .odo-d .strip span { color: var(--accent); }
.odo-d::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--stroke); }

.map { position: relative; margin-top: clamp(56px, 8vw, 100px); }
.map svg.path { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }
.map .track { fill: none; stroke: var(--stroke-strong); stroke-width: 2; stroke-dasharray: 1 12; stroke-linecap: round; }
.map .flow { fill: none; stroke: var(--accent); stroke-opacity: .35; stroke-width: 2; stroke-dasharray: 10 26; stroke-linecap: round; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -36; } }
.map .glow { fill: none; stroke: url(#routeGrad); stroke-width: 12; stroke-linecap: round; opacity: .45; filter: url(#routeGlow); }
.map .done { fill: none; stroke: url(#routeGrad); stroke-width: 4; stroke-linecap: round; }
.route-zbor { position: absolute; left: 0; top: 0; width: 76px; aspect-ratio: 280 / 450; margin: -70px 0 0 -38px; z-index: 4; will-change: transform; pointer-events: none; }
.stops { position: relative; display: grid; gap: clamp(80px, 12vw, 150px); }
.stop { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 26px; align-items: center; z-index: 2; }
@media (min-width: 900px) {
  .stop { grid-template-columns: 1fr 1fr; gap: 60px; }
  .stop .planet { justify-self: center; }
  .stop:nth-child(even) .planet { order: 2; }
  .stop:nth-child(even) .card { justify-self: end; }
}
/* Planetele: sferă cu lumină din stânga-sus, suprafață care se rotește (doar transform, fără repaint), atmosferă și sateliți */
.planet { --s: clamp(96px, 11vw, 150px); --atmo: rgba(125,249,224,.55); position: relative; width: var(--s); height: var(--s); flex: none; transition: transform .9s var(--ease); }
.planet .float { position: absolute; inset: 0; animation: bob 7s ease-in-out infinite; }
.stop:nth-child(2) .float { animation-delay: -1.7s; } .stop:nth-child(3) .float { animation-delay: -3.4s; } .stop:nth-child(4) .float { animation-delay: -5.1s; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.sphere { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; z-index: 2; background: var(--base, #0E3A52); }
.sphere .surf { position: absolute; top: 0; bottom: 0; left: 0; width: 200%; background-size: 50% 100%; background-repeat: repeat-x; animation: drift var(--spin, 26s) linear infinite; }
.sphere .clouds { position: absolute; top: 0; bottom: 0; left: 0; width: 200%; background-size: 50% 100%; background-repeat: repeat-x; animation: drift 16s linear infinite; opacity: .55; }
@keyframes drift { to { transform: translateX(-50%); } }
.sphere .shade { position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 30% 26%, rgba(255,255,255,.38), rgba(255,255,255,0) 34%), radial-gradient(circle at 72% 78%, rgba(4,6,24,.72), rgba(4,6,24,0) 62%);
  box-shadow: inset -10px -12px 28px rgba(4,6,24,.55), inset 6px 6px 16px rgba(255,255,255,.12); }
.atmo { position: absolute; inset: -9%; border-radius: 50%; z-index: 1; background: radial-gradient(closest-side, rgba(0,0,0,0) 80%, var(--atmo) 90%, rgba(0,0,0,0) 100%); opacity: .8; transition: opacity .6s; }
.halo { position: absolute; inset: -45%; border-radius: 50%; z-index: 0; background: radial-gradient(closest-side, var(--atmo), rgba(0,0,0,0)); opacity: .28; transition: opacity .8s, transform .8s var(--ease); }
.stop.reached .planet { transform: scale(1.07); }
.stop.reached .halo { opacity: .55; transform: scale(1.1); }
.planet::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; transform: scale(.9); z-index: 3; pointer-events: none; }
.stop.reached .planet::after { animation: ping 1.4s var(--ease) 1; }
@keyframes ping { 0% { opacity: .9; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.6); } }

/* Azi: planeta-casă, oceane și continente, nori, rampa de lansare */
.p-home { --atmo: rgba(125,249,224,.6); --base: #0B4A63; }
.p-home .surf { background-image: radial-gradient(ellipse 18% 14% at 18% 34%, #4ADE9B 60%, transparent 62%), radial-gradient(ellipse 12% 20% at 44% 64%, #3FCB8A 60%, transparent 62%), radial-gradient(ellipse 9% 7% at 70% 28%, #4ADE9B 60%, transparent 62%), radial-gradient(ellipse 14% 9% at 82% 72%, #2FB57C 60%, transparent 62%), linear-gradient(180deg, #0E6A86, #0B4A63 55%, #0A3A55); }
.p-home .clouds { background-image: radial-gradient(ellipse 16% 5% at 30% 22%, #fff 50%, transparent 70%), radial-gradient(ellipse 22% 5% at 66% 52%, #fff 50%, transparent 70%), radial-gradient(ellipse 12% 4% at 12% 78%, #fff 50%, transparent 70%); }
.p-home .pad { position: absolute; left: 50%; top: -9px; width: 30%; height: 10px; margin-left: -15%; border-radius: 6px 6px 2px 2px; background: linear-gradient(#C9D4E5, #8E9CB4); z-index: 3; }
.p-home .pad::after { content: ""; position: absolute; left: 50%; bottom: 100%; width: 3px; height: 14px; margin-left: -1.5px; background: #C9D4E5; border-radius: 2px; }

/* Simularea: lună cu cratere adânci */
.p-moon { --atmo: rgba(169,194,255,.45); --base: #9AA9C2; --spin: 40s; }
.p-moon .surf { background-image:
  radial-gradient(circle at 22% 30%, #7F8DA6 0 8%, #B8C4D6 9% 10.5%, transparent 11%), radial-gradient(circle at 58% 62%, #7F8DA6 0 5%, #B8C4D6 6% 7%, transparent 7.5%),
  radial-gradient(circle at 38% 78%, #7F8DA6 0 3.5%, #B8C4D6 4% 5%, transparent 5.5%), radial-gradient(circle at 80% 26%, #7F8DA6 0 4%, #B8C4D6 4.5% 5.5%, transparent 6%),
  radial-gradient(circle at 70% 88%, #8E9CB4 0 6%, transparent 6.5%), linear-gradient(180deg, #C9D4E5, #9AA9C2 60%, #8E9CB4); }

/* Orale: planetă violet cu benzi și inel care trece prin spate și prin față, plus un satelit */
.p-ring { --atmo: rgba(200,181,255,.55); --base: #9F86F0; --spin: 30s; }
.p-ring .surf { background-image: linear-gradient(180deg, #C8B5FF 0 14%, #9F86F0 14% 26%, #B9A3FF 26% 38%, #7C64D8 38% 47%, #A992F5 47% 62%, #8A72E2 62% 74%, #C8B5FF 74% 86%, #7C64D8 86%); background-size: 100% 100%; }
.p-ring .surf::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 10% 7% at 30% 58%, #FFD7F0 0 40%, transparent 70%), radial-gradient(ellipse 10% 7% at 80% 58%, #FFD7F0 0 40%, transparent 70%); }
.ringband { position: absolute; left: -38%; right: -38%; top: 41%; height: 18%; border-radius: 50%; transform: rotate(-14deg); pointer-events: none;
  background: radial-gradient(closest-side, transparent 64%, rgba(255,214,140,.95) 66%, rgba(255,196,77,.7) 74%, rgba(255,214,140,.35) 82%, transparent 84%); }
.ringband.back { z-index: 1; } .ringband.front { z-index: 3; clip-path: inset(50% 0 0 0); }
.moonlet { position: absolute; left: 50%; top: 50%; width: 13%; height: 13%; margin: -6.5%; border-radius: 50%; z-index: 4; background: radial-gradient(circle at 35% 30%, #fff, #A9B6CC 70%); animation: orbit 9s linear infinite; }
@keyframes orbit { from { transform: rotate(0deg) translateX(calc(var(--s) * var(--r, .82))) rotate(0deg); } to { transform: rotate(360deg) translateX(calc(var(--s) * var(--r, .82))) rotate(-360deg); } }

/* Destinația: gigant auriu cu furtună, inel dublu, trei sateliți și scântei */
.p-goal { --s: clamp(150px, 16vw, 230px); --atmo: rgba(255,196,77,.6); --base: #FF9E4D; --spin: 36s; }
.p-goal .surf { background-image:
  radial-gradient(ellipse 9% 6% at 34% 58%, #FFF1C9 0 30%, #FF7A45 45%, #E25A2A 60%, transparent 64%),
  linear-gradient(180deg, #FFE29A 0 10%, #FFC44D 10% 22%, #FFB347 22% 30%, #FF9E4D 30% 41%, #FFD27A 41% 50%, #FF8A45 50% 61%, #FFC44D 61% 72%, #F07A3A 72% 82%, #FFB347 82% 91%, #E8652E 91%); }
.p-goal .ringband { left: -52%; right: -52%; top: 40%; height: 20%; transform: rotate(-18deg);
  background: radial-gradient(closest-side, transparent 58%, rgba(125,249,224,.85) 60%, rgba(125,249,224,.25) 66%, transparent 68%, transparent 71%, rgba(255,226,154,.95) 73%, rgba(255,196,77,.6) 80%, transparent 84%); }
.p-goal .moonlet { width: 9%; height: 9%; margin: -4.5%; animation-duration: 11s; }
.p-goal .moonlet.m2 { width: 7%; height: 7%; margin: -3.5%; animation-duration: 16s; animation-direction: reverse; background: radial-gradient(circle at 35% 30%, #fff, #7DF9E0 70%); }
.p-goal .moonlet.m3 { width: 6%; height: 6%; margin: -3%; animation-duration: 23s; animation-delay: -8s; background: radial-gradient(circle at 35% 30%, #fff, #FF8FA3 70%); }
.p-goal .moonlet { --r: .8; } .p-goal .moonlet.m2 { --r: .98; } .p-goal .moonlet.m3 { --r: 1.16; }
.spark { position: absolute; width: 10px; height: 10px; z-index: 4; background: radial-gradient(closest-side, #fff, transparent); animation: twinkle 2.6s ease-in-out infinite; }
.spark::before, .spark::after { content: ""; position: absolute; left: 50%; top: -6px; bottom: -6px; width: 2px; margin-left: -1px; background: linear-gradient(transparent, #FFE29A, transparent); }
.spark::after { transform: rotate(90deg); }
.spark.s1 { left: -14%; top: 8%; } .spark.s2 { right: -10%; top: 22%; animation-delay: -1s; } .spark.s3 { left: 6%; bottom: -8%; animation-delay: -1.8s; } .spark.s4 { right: 4%; bottom: 2%; animation-delay: -.6s; }
@keyframes twinkle { 0%, 100% { transform: scale(.4); opacity: .3; } 50% { transform: scale(1.1); opacity: 1; } }
.orbit-ring { position: absolute; inset: -34%; border-radius: 50%; border: 1px dashed var(--stroke-strong); z-index: 0; }
@media (prefers-reduced-motion: reduce) { .sphere .surf, .sphere .clouds, .moonlet, .spark, .planet .float { animation: none !important; } }

.stop .card { position: relative; width: min(440px, 100%); padding: 24px 26px; border-radius: 26px; background: var(--surface); border: 1px solid var(--stroke); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); display: grid; gap: 10px; transition: border-color .6s, transform .8s var(--ease), background .6s; }
.stop.reached .card { border-color: var(--accent); transform: translateY(-4px); background: var(--surface-2); }
.stop .d { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.stop h3 { margin: 0; font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
.stop p { margin: 0; color: var(--fg-2); font-size: 15px; }
.fuel { height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; margin-top: 4px; }
.fuel i { display: block; height: 100%; width: calc(var(--f, .5) * 100%); border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--flame)); transform-origin: 0 50%; transform: scaleX(var(--fx, 1)); transition: transform 1.4s var(--ease); }
.stop .left { justify-self: start; font-size: 13px; font-weight: 800; padding: 6px 12px; border-radius: 999px; background: var(--surface-2); color: var(--fg-2); }
.stop.final .card { background: linear-gradient(150deg, var(--flame-soft), var(--surface)); }
.stop.final h3 { font-size: clamp(30px, 3.6vw, 44px); }
@media (max-width: 899px) { .planet { --s: 78px; } .p-goal { --s: 112px; } .route-zbor { width: 52px; margin: -48px 0 0 -26px; } .orbit-ring { display: none; } }
.route-note { margin-top: 40px; font-size: 13px; color: var(--fg-3); font-weight: 600; }
.comets { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.comets i { position: absolute; width: 160px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--fg-2)); opacity: 0; transform: rotate(-24deg); animation: comet 9s linear infinite; }
.comets i:nth-child(1) { top: 18%; left: 60%; } .comets i:nth-child(2) { top: 48%; left: 20%; animation-delay: -3s; } .comets i:nth-child(3) { top: 76%; left: 70%; animation-delay: -6s; }
@keyframes comet { 0% { opacity: 0; translate: 0 0; } 4% { opacity: .9; } 14% { opacity: 0; translate: -360px 160px; } 100% { opacity: 0; translate: -360px 160px; } }

/* ===== 9. Lansarea: biletul de îmbarcare ===== */
.launch { position: relative; padding-block: clamp(110px, 14vw, 200px) clamp(90px, 12vw, 160px); overflow: clip; }
.launch-orbits { position: absolute; inset: 0; pointer-events: none; display: grid; place-items: center; }
.launch-orbits i { position: absolute; width: 70vmax; aspect-ratio: 1; border-radius: 50%; border: 1px dashed var(--stroke); animation: spin360 80s linear infinite; }
.launch-orbits i:nth-child(2) { width: 50vmax; animation-duration: 60s; animation-direction: reverse; border-style: solid; }
.launch-orbits i:nth-child(3) { width: 30vmax; animation-duration: 40s; }
.launch-orbits i::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 16px var(--accent); }
.launch-orbits i:nth-child(2)::after { background: var(--flame); box-shadow: 0 0 16px var(--flame); }
@keyframes spin360 { to { transform: rotate(360deg); } }
.launch-grid { position: relative; display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .launch-grid { grid-template-columns: .9fr 1.1fr; gap: 56px; } }
.launch-copy { display: grid; gap: 22px; min-width: 0; }
.pad { position: relative; height: 230px; display: grid; justify-items: center; align-content: end; margin-top: 10px; }
.pad .zl { width: 120px; aspect-ratio: 280 / 450; position: relative; z-index: 2; will-change: transform; }
.pad .base { width: 200px; height: 20px; border-radius: 50%; background: var(--surface-3); border: 1px solid var(--stroke); margin-top: -22px; }
.pad .count { position: absolute; top: 0; left: 50%; translate: -50% 0; font-size: 13px; font-weight: 800; color: var(--fg-3); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.exhaust { position: absolute; bottom: 0; left: 50%; width: 260px; height: 80px; margin-left: -130px; border-radius: 50%; background: radial-gradient(closest-side, var(--fg-4), transparent); opacity: 0; pointer-events: none; }
@media (max-width: 999px) { .pad { display: none; } }

/* biletul */
.ticket { --tilt-x: 0deg; --tilt-y: 0deg; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 140px; border-radius: 28px; perspective: 1200px;
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); transform-style: preserve-3d; transition: transform .4s var(--ease); box-shadow: 0 40px 70px -30px var(--shadow); }
.ticket::before { content: ""; position: absolute; inset: -2px; border-radius: 30px; z-index: -1; background: linear-gradient(120deg, var(--accent), var(--royal) 30%, var(--flame) 60%, var(--flame-2) 80%, var(--accent)); }
.t-main, .t-stub { position: relative; background: var(--solid); }
.t-main { padding: clamp(22px, 3vw, 32px); border-radius: 28px 0 0 28px; display: grid; gap: 18px; overflow: hidden;
  -webkit-mask: radial-gradient(circle 14px at 100% 0, transparent 98%, #000) top right / 100% 51% no-repeat, radial-gradient(circle 14px at 100% 100%, transparent 98%, #000) bottom right / 100% 51% no-repeat;
          mask: radial-gradient(circle 14px at 100% 0, transparent 98%, #000) top right / 100% 51% no-repeat, radial-gradient(circle 14px at 100% 100%, transparent 98%, #000) bottom right / 100% 51% no-repeat; }
.t-main::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 40%; pointer-events: none; background: linear-gradient(105deg, transparent, rgba(255,255,255,.08), transparent); animation: sheen 6s ease-in-out infinite; }
@keyframes sheen { 0%, 20% { transform: translateX(0); } 70%, 100% { transform: translateX(400%); } }
.t-stub { border-radius: 0 28px 28px 0; border-left: 2px dashed var(--stroke-strong); transform-origin: 0 50%; transition: transform 1.1s var(--ease), opacity 1.1s;
  -webkit-mask: radial-gradient(circle 14px at 0 0, transparent 98%, #000) top left / 100% 51% no-repeat, radial-gradient(circle 14px at 0 100%, transparent 98%, #000) bottom left / 100% 51% no-repeat;
          mask: radial-gradient(circle 14px at 0 0, transparent 98%, #000) top left / 100% 51% no-repeat, radial-gradient(circle 14px at 0 100%, transparent 98%, #000) bottom left / 100% 51% no-repeat; }
.stub-in { height: 100%; padding: 26px 18px; display: grid; align-content: start; gap: 4px; }
.stub-in small, .t-field small, .t-route small { font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.stub-in b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.barcode { display: flex; gap: 2px; height: 64px; align-items: stretch; margin-top: 8px; }
.barcode i { flex: none; background: var(--fg); border-radius: 1px; transition: width .3s, opacity .3s; }
.t-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.t-brand { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.t-code { font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 8px; background: var(--surface-2); color: var(--fg-2); letter-spacing: .06em; }
.t-route { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: end; }
.t-route b { display: block; font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.t-line { position: relative; height: 2px; margin-bottom: 18px; background: repeating-linear-gradient(90deg, var(--stroke-strong) 0 6px, transparent 6px 12px); }
.t-dot { position: absolute; right: -4px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--flame); box-shadow: 0 0 12px var(--flame); }
.t-rocket { position: absolute; top: -16px; left: 0; font-size: 22px; transform: rotate(45deg); animation: fly 4.5s var(--ease) infinite; }
@keyframes fly { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 80% { left: calc(100% - 26px); opacity: 1; } 100% { left: calc(100% - 26px); opacity: 0; } }
.t-field { display: grid; gap: 8px; min-width: 0; }
.t-field input { width: 100%; min-width: 0; border: 0; outline: 0; background: var(--surface); color: var(--fg); font: inherit; font-weight: 700; font-size: 17px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--stroke); transition: border-color .3s, background .3s; }
.t-field input:focus { border-color: var(--accent); background: var(--surface-2); }
.t-field input::placeholder { color: var(--fg-4); font-weight: 600; }
.ticket.err .t-field input { border-color: var(--error); }
.t-row { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: end; }
.t-val { font-size: 15px; font-weight: 800; padding: 12px 0; }
.seats { display: flex; gap: 6px; }
.seat { min-width: 52px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--stroke); background: var(--surface); font-weight: 800; color: var(--fg-2); transition: all .3s var(--ease); }
.seat[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); transform: translateY(-2px); }
.board { position: relative; display: flex; justify-content: space-between; align-items: center; min-height: 58px; padding: 0 24px; border: 0; border-radius: 16px; font-weight: 800; font-size: 17px; color: var(--on-accent);
  background: linear-gradient(100deg, var(--accent), #6FE0FF 55%, var(--accent)); background-size: 200% 100%; transition: background-position .8s var(--ease), transform .3s var(--ease); overflow: hidden; }
.board:hover { background-position: 100% 0; transform: translateY(-2px); }
.board span:last-child { font-size: 22px; transition: transform .4s var(--ease); }
.board:hover span:last-child { transform: translateX(6px); }
.board:disabled { opacity: .7; }
.stamp { position: absolute; right: 22px; top: 40%; padding: 8px 18px; border: 4px solid var(--accent); border-radius: 12px; color: var(--accent); font-size: 26px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  transform: rotate(-14deg) scale(3); opacity: 0; pointer-events: none; mix-blend-mode: normal; background: color-mix(in srgb, var(--solid) 70%, transparent); }
.ticket.done .stamp { animation: stamp .55s cubic-bezier(.2,1.6,.4,1) forwards; }
@keyframes stamp { to { transform: rotate(-14deg) scale(1); opacity: 1; } }
.ticket::before { transition: opacity .8s; }
.ticket.done::before { opacity: 0; }
.ticket.done .t-main { box-shadow: inset 0 0 0 2px var(--accent); }
.ticket.done .t-stub { transform: rotate(14deg) translate(30px, 40px); opacity: 0; pointer-events: none; }
@media (max-width: 640px) {
  .ticket { grid-template-columns: 1fr; }
  .t-main { border-radius: 28px 28px 0 0; -webkit-mask: none; mask: none; }
  .t-stub { border-left: 0; border-top: 2px dashed var(--stroke-strong); border-radius: 0 0 28px 28px; -webkit-mask: none; mask: none; }
  .stub-in { grid-template-columns: repeat(3, auto); justify-content: space-between; align-items: end; padding: 18px 22px; }
  .barcode { grid-column: 1 / -1; height: 44px; }
  .t-row { grid-template-columns: 1fr; }
}
.ticket-after { display: grid; gap: 12px; margin-top: 18px; padding: 20px 22px; border-radius: 22px; background: var(--surface-2); border: 1px solid var(--stroke); }
.ticket-after h3 { margin: 0; font-size: 20px; font-weight: 800; }
.ticket-after p { margin: 0; color: var(--fg-2); font-size: 15px; }
.t-legal { margin: -4px 0 0; font-size: 12px; line-height: 1.5; color: var(--fg-3); }
.t-legal a { color: var(--fg-2); }
/* ===== 8. Orizont: răsăritul ===== */
.oriz { overflow: clip; }
.sunband { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.sun { position: absolute; left: 50%; top: 62%; width: min(560px, 90vw); aspect-ratio: 1; margin-left: calc(min(560px, 90vw) / -2); border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #FFE29A, var(--flame-2) 42%, var(--flame) 75%, transparent 76%); filter: blur(.5px); opacity: .55; will-change: transform; }
.sun-glow { position: absolute; left: 50%; top: 55%; width: 140vw; height: 70vw; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, var(--glow-c), transparent); }
.hills { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: calc(46% + 1px); display: block; }
.oriz-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .oriz-grid { grid-template-columns: 1fr auto auto; } }
.oriz-phones { display: flex; gap: 20px; justify-content: center; }
.oriz-phones .p3 { --w: min(260px, 40vw); } .oriz-phones .p3:nth-child(2) { margin-top: 70px; }
@media (max-width: 600px) { .oriz-phones .p3 { --w: 44vw; } .oriz-phones .p3:nth-child(2) { margin-top: 40px; } }
.stats { display: grid; gap: 14px; margin-top: 10px; }
.stat { display: flex; align-items: baseline; gap: 12px; }
.stat b { font-size: clamp(44px, 5.4vw, 72px); font-weight: 800; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { font-weight: 700; color: var(--fg-2); }


/* formular: elemente comune */
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--fg-3); cursor: pointer; }
.consent input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border-radius: 6px; border: 1.5px solid var(--stroke-strong); background: var(--surface); display: grid; place-items: center; cursor: pointer; }
.consent input::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--on-accent); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px,-1px) scale(0); transition: transform .25s var(--ease); }
.consent input:checked { background: var(--accent); border-color: var(--accent); }
.consent input:checked::after { transform: rotate(-45deg) translate(1px,-1px) scale(1); }
.consent a { color: var(--fg-2); }
.form-msg { font-size: 13px; font-weight: 700; min-height: 1.2em; margin: 0; color: var(--error); }
.form-msg.ok { color: var(--accent); }
.form-msg button { background: none; border: 0; padding: 0; color: var(--accent); text-decoration: underline; font-weight: 800; }
.success { display: grid; gap: 12px; padding: 22px; border-radius: 24px; background: var(--surface-2); border: 1px solid var(--stroke); max-width: 500px; }
.success h3 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.success p { margin: 0; color: var(--fg-2); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--stroke); background: var(--surface); font-weight: 700; font-size: 14px; color: var(--fg-2); transition: all .25s var(--ease); }
.chip[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }

/* ===== Footer ===== */
.footer { padding-block: 40px 32px; border-top: 1px solid var(--stroke); }
.foot-row { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; align-items: center; font-size: 14px; color: var(--fg-3); font-weight: 600; }
.foot-row nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-row a { text-decoration: none; } .foot-row a:hover { color: var(--accent); }
/* Legea 365/2002 (who we are) + the ANPC SAL pictogram (Ordinul ANPC 449/2022, modified by 270/2026),
   linked to reclamatiisal.anpc.ro; the official image is loaded from anpc.ro. */
.foot-legal { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; margin-top: 18px; font-size: 13px; color: var(--fg-3); }
.anpc-sal { display: inline-flex; width: 250px; height: 50px; align-items: center; justify-content: center; background: #fff; border-radius: 6px; }
.anpc-sal img { display: block; width: 201px; height: 50px; }
.privacy { margin-top: 28px; padding: 20px 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--stroke); font-size: 14px; color: var(--fg-3); max-width: 860px; display: grid; gap: 6px; }
.privacy h4 { margin: 0; color: var(--fg); font-size: 15px; }
.privacy p { margin: 0; }
.giant { font-size: clamp(90px, 25vw, 380px); font-weight: 800; letter-spacing: -.075em; line-height: .78; margin-top: 40px; white-space: nowrap; overflow: hidden; user-select: none;
  background: linear-gradient(180deg, var(--fg-4), transparent 88%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.toast { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 24px); transform: translate(-50%, 160%); z-index: 80; padding: 14px 20px; border-radius: 999px; background: var(--solid-2); border: 1px solid var(--stroke-strong); font-weight: 800; font-size: 14px; transition: transform .6s var(--ease); max-width: calc(100% - 32px); }
.toast.show { transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.legal-id { margin-top: 26px; display: grid; gap: 4px; font-size: 13px; color: var(--fg-3); font-weight: 500; }
.legal-id p { margin: 0; } .legal-id b { color: var(--fg-2); }
mark.fill { background: var(--flame-soft); color: var(--flame); border-radius: 4px; padding: 0 4px; font-weight: 700; }

/* ---------- Aplicația web (bacup.ro/app) ---------- */
.nav-end { display: inline-flex; align-items: center; gap: 8px; }
.open-app { display: none; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 800; color: var(--on-accent);
  background: linear-gradient(100deg, var(--accent), #6FE0FF 55%, var(--accent)); background-size: 200% 100%; transition: background-position .8s var(--ease), transform .3s var(--ease); white-space: nowrap; }
.open-app:hover { background-position: 100% 0; transform: translateY(-1px); }
.open-app span { transition: transform .4s var(--ease); }
.open-app:hover span { transform: translateX(4px); }
@media (min-width: 560px) { .open-app { display: inline-flex; } }
.web-cta { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 14px; text-decoration: none; font-weight: 800; font-size: 15px; color: var(--on-accent);
  background: linear-gradient(100deg, var(--accent), #6FE0FF 55%, var(--accent)); background-size: 200% 100%; transition: background-position .8s var(--ease), transform .3s var(--ease); }
.web-cta:hover { background-position: 100% 0; transform: translateY(-2px); }
.websec .sec-head { margin-bottom: clamp(32px, 5vw, 56px); }
.websec .sec-head .lead { margin-inline: auto; }
/* ===== Laptopul 3D (aplicația web) =====
   Același model ca telefonul: capacul are o placă în spate (.lap-back) pentru grosime; dedesubt, baza
   (o tavă culcată în perspectivă și buza din față cu scobitura). Se rotește la scroll și după mouse (app.js). */
.lap { --w: min(860px, 84vw); --d: calc(var(--w) * .012); display: block; width: var(--w); margin: 0 auto calc(var(--w) * .11); perspective: 2200px; text-decoration: none; }
.lap-body { position: relative; transform-style: preserve-3d; }
.lap-lid { position: relative; transform-style: preserve-3d; transition: transform .6s var(--ease); }
.lap:hover .lap-lid { transform: translateY(-4px); }
.lap-back { position: absolute; inset: 0; border-radius: calc(var(--w) * .028) calc(var(--w) * .028) calc(var(--w) * .008) calc(var(--w) * .008);
  background: linear-gradient(135deg, var(--edge), var(--frame) 60%); transform: translateZ(calc(var(--d) * -1)); box-shadow: 0 50px 90px -40px var(--shadow); }
.lap-bezel { position: relative; padding: calc(var(--w) * .024) calc(var(--w) * .022) calc(var(--w) * .03); border-radius: calc(var(--w) * .028) calc(var(--w) * .028) calc(var(--w) * .008) calc(var(--w) * .008);
  background: var(--frame); box-shadow: 0 0 0 1.5px var(--frame-edge) inset, 0 0 0 2px var(--edge); }
.lap-cam { position: absolute; left: 50%; top: calc(var(--w) * .009); width: calc(var(--w) * .007); height: calc(var(--w) * .007); border-radius: 50%; background: #1b1f3d; box-shadow: 0 0 0 2px rgba(255,255,255,.06); transform: translateX(-50%); }
.lap-scr { position: relative; overflow: hidden; border-radius: calc(var(--w) * .006); background: var(--bg-base); }
.lap-scr img { display: block; width: 100%; height: auto; }
.lap-bar { display: flex; align-items: center; gap: 12px; padding: calc(var(--w) * .008) calc(var(--w) * .012); background: var(--surface-2); border-bottom: 1px solid var(--stroke); }
.lap-bar .dots { display: inline-flex; gap: 5px; }
.lap-bar .dots i { width: calc(var(--w) * .008); height: calc(var(--w) * .008); max-width: 10px; max-height: 10px; min-width: 5px; min-height: 5px; border-radius: 50%; background: var(--fg-4); }
.lap-bar .url { flex: 1; max-width: 36%; margin: 0 auto; padding: calc(var(--w) * .004) 12px; border-radius: 999px; background: var(--surface); color: var(--fg-3);
  font-size: clamp(9px, calc(var(--w) * .013), 13px); font-weight: 700; text-align: center; }
.lap-base { position: relative; height: calc(var(--w) * .022); margin: 0 calc(var(--w) * -.07); transform-style: preserve-3d; }
/* tava: un plan culcat spre privitor, din marginea de jos a capacului */
.lap-deck { position: absolute; left: 1.5%; right: 1.5%; top: 0; height: calc(var(--w) * .2); transform-origin: top center; transform: rotateX(84deg);
  border-radius: 0 0 calc(var(--w) * .03) calc(var(--w) * .03); background: linear-gradient(180deg, var(--frame) 0%, var(--edge) 100%); opacity: .55; }
.lap-lip { position: absolute; inset: 0; border-radius: 0 0 calc(var(--w) * .03) calc(var(--w) * .03) / 0 0 calc(var(--w) * .02) calc(var(--w) * .02);
  background: linear-gradient(180deg, var(--edge) 0%, var(--frame) 55%, #02030f 100%); box-shadow: 0 0 0 1.5px var(--frame-edge) inset, 0 30px 50px -18px var(--shadow); }
.lap-lip i { position: absolute; left: 50%; top: 0; width: 14%; height: 38%; border-radius: 0 0 10px 10px; background: rgba(0,0,0,.35); transform: translateX(-50%); }
@media (prefers-reduced-motion: reduce) { .lap-lid { transition: none; } }
.web-points { list-style: none; padding: 0; margin: clamp(32px, 5vw, 56px) auto 0; max-width: 1080px; display: grid; gap: 14px; }
@media (min-width: 820px) { .web-points { grid-template-columns: repeat(3, 1fr); } }
.web-points li { padding: 20px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--stroke); display: grid; gap: 6px; }
.web-points b { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.web-points span { color: var(--fg-2); font-size: 15px; line-height: 1.55; }
.web-go { display: flex; justify-content: center; margin-top: 28px; }
.web-go .board { text-decoration: none; min-width: 260px; gap: 24px; }

/* Words joined by a hyphen never break at it (BAC-ul, într-o); anchors clear the fixed menu. */
.nowrap { white-space: nowrap; }
section[id] { scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 84px); }

/* ---------- Funcții: ce poți face, grupat după ce vrei să faci ---------- */
.fx { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; margin-top: clamp(40px, 6vw, 80px); }
@media (min-width: 900px) { .fx { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.fx-tabs { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--stroke); width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; margin-bottom: 18px; }
.fx-tabs::-webkit-scrollbar { display: none; }
.fx-tab { display: inline-flex; align-items: center; gap: 8px; flex: none; border: 0; background: transparent; color: var(--fg-3); font: inherit; font-weight: 800; font-size: 15px; padding: 10px 16px; border-radius: 999px; cursor: pointer; transition: background .3s var(--ease), color .3s; }
.fx-tab:hover { color: var(--fg); }
.fx-tab.on { background: var(--accent); color: var(--on-accent); }
.fx-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fx-panel + .fx-panel { margin-top: 24px; }
.fxsec.js .fx-panel + .fx-panel { margin-top: 0; }
.fxsec.js .fx-panel:not(.on) { display: none; }
.fx-item { position: relative; overflow: hidden; display: grid; gap: 6px; width: 100%; text-align: left; font: inherit; color: var(--fg); padding: 18px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--stroke); cursor: pointer; transition: background .35s var(--ease), border-color .35s, transform .35s var(--ease); }
.fx-item:hover { background: var(--surface-2); transform: translateX(4px); }
.fx-item b { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.fx-item span { color: var(--fg-3); font-size: 15px; line-height: 1.55; }
.fx-item.on { background: var(--surface-2); border-color: var(--accent); }
.fx-item.on b { color: var(--accent); }
.fx-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.fx-item.on .fx-bar.run { animation: fxbar var(--fx-ms, 6000ms) linear forwards; }
@keyframes fxbar { to { transform: scaleX(1); } }
.fx-phone { display: flex; justify-content: center; }
.fx-phone .p3 { --w: min(300px, 72vw); }
.fx-phone .p3-shot img { transition: opacity .35s var(--ease), transform .5s var(--ease); }
.fx-phone.swap .p3-shot img { opacity: 0; transform: scale(.98); }
@media (max-width: 899px) { .fx-phone { order: -1; } .fx-tabs { margin-inline: auto; } }
@media (prefers-reduced-motion: reduce) { .fx-item.on .fx-bar.run { animation: none; } .fx-phone .p3-shot img { transition: none; } }

/* ---------- Pilotul web (temporar: se scoate la finalul pilotului) ---------- */
.nav-links a.nav-pilot { position: relative; color: var(--accent); }
.nav-links a.nav-pilot::after { content: ""; position: absolute; top: 4px; right: -2px; width: 6px; height: 6px; border-radius: 50%; background: var(--flame); box-shadow: 0 0 0 3px var(--flame-soft); }
.pilot-chip { display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; border-radius: 999px; text-decoration: none; font-size: 13px; font-weight: 700; color: var(--fg-2); background: var(--surface); border: 1px solid var(--stroke); transition: background .3s, border-color .3s; }
.pilot-chip b { color: var(--accent); font-weight: 800; }
.pilot-chip:hover { background: var(--surface-2); border-color: var(--accent); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--flame); box-shadow: 0 0 0 0 var(--flame); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,122,69,.55); } 70% { box-shadow: 0 0 0 10px rgba(255,122,69,0); } 100% { box-shadow: 0 0 0 0 rgba(255,122,69,0); } }
.web-pilot-note { text-align: center; margin: 16px 0 0; color: var(--fg-3); font-size: 15px; }
.web-pilot-note a { color: var(--accent); font-weight: 800; text-decoration: none; }

.pilotsec { position: relative; overflow: hidden; }
.pilot-glow { position: absolute; inset: 10% -20% auto; height: 70%; background: radial-gradient(closest-side, var(--glow-a), transparent 70%), radial-gradient(closest-side at 80% 40%, var(--glow-c), transparent 70%); pointer-events: none; filter: blur(10px); }
.pilot-grid { position: relative; display: grid; gap: clamp(40px, 5vw, 72px); align-items: start; }
@media (min-width: 980px) { .pilot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); } .pilot-copy { position: sticky; top: 110px; } }
.pilot-copy { display: grid; gap: 22px; }
.pilot-copy .h2 { font-size: clamp(36px, 5.2vw, 72px); }
.pilot-steps { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.pilot-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.pilot-steps i { font-style: normal; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); font-weight: 800; border: 1px solid var(--stroke); }
.pilot-steps div { display: grid; gap: 2px; padding-top: 2px; }
.pilot-steps b { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.pilot-steps span { color: var(--fg-3); font-size: 15px; line-height: 1.5; }
.pilot-perks { list-style: none; margin: 0; padding: 16px 18px; display: grid; gap: 10px; border-radius: 18px; background: var(--surface); border: 1px dashed var(--stroke-strong); }
.pilot-perks li { display: flex; gap: 10px; color: var(--fg-2); font-size: 15px; font-weight: 600; }
.pilot-have { margin: 0; color: var(--fg-3); }
.pilot-have a { color: var(--accent); font-weight: 800; text-decoration: none; }

.permit { position: relative; border-radius: 28px; background: var(--solid); border: 1px solid var(--stroke-strong); box-shadow: 0 40px 90px -40px var(--shadow); overflow: hidden; }
.permit::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 22px, rgba(125,249,224,.025) 22px 44px); pointer-events: none; }
.permit-head { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 24px; background: linear-gradient(120deg, var(--accent), #45d6c0); color: var(--on-accent); }
.permit-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; }
.permit-logo { display: block; width: 30px; height: 30px; border-radius: 9px; }
.permit-no { font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; opacity: .75; }
.permit-body { position: relative; display: grid; gap: 16px; padding: 22px 24px 26px; }
.p-field { display: grid; gap: 8px; min-width: 0; border: 0; margin: 0; padding: 0; }
.p-field small, .p-field legend small { font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.p-field legend { padding: 0; margin-bottom: 8px; }
.p-field input[type=text], .p-field input[type=email] { width: 100%; min-width: 0; outline: 0; background: var(--surface); color: var(--fg); font: inherit; font-weight: 700; font-size: 16px; padding: 13px 15px; border-radius: 14px; border: 1px solid var(--stroke); transition: border-color .3s, background .3s; }
.p-field input:focus { border-color: var(--accent); background: var(--surface-2); }
.p-field input::placeholder { color: var(--fg-4); font-weight: 600; }
.p-field.bad input[type=text], .p-field.bad input[type=email], .p-field.bad .p-drop, .p-field.bad .p-seats label span { border-color: var(--error); }
.p-row { display: grid; gap: 12px; }
@media (min-width: 520px) { .p-row { grid-template-columns: 1fr 1fr; } }
.p-seats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.p-seats label { position: relative; cursor: pointer; }
.p-seats input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.p-seats span { display: grid; place-items: center; min-height: 48px; border-radius: 14px; border: 1px solid var(--stroke); background: var(--surface); font-weight: 800; font-size: 16px; transition: background .25s, border-color .25s, color .25s, transform .25s var(--ease); }
.p-seats label:hover span { border-color: var(--stroke-strong); }
.p-seats input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: translateY(-2px); }
.p-seats input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.p-drop { position: relative; display: grid; place-items: center; min-height: 150px; border-radius: 18px; border: 1.5px dashed var(--stroke-strong); background: var(--surface); cursor: pointer; overflow: hidden; transition: border-color .3s, background .3s; }
.p-drop:hover, .p-drop.over { border-color: var(--accent); background: var(--accent-soft); }
.p-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.p-drop:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.p-drop-empty { display: grid; gap: 4px; justify-items: center; text-align: center; padding: 18px; pointer-events: none; }
.p-drop-empty b { font-size: 16px; }
.p-drop-empty span:last-child { color: var(--fg-3); font-size: 13px; }
.p-cam { font-size: 30px; }
.p-drop-full { position: relative; display: block; width: 100%; pointer-events: none; }
.p-drop-full img { display: block; width: 100%; max-height: 260px; object-fit: contain; background: var(--space); }
.p-swap { position: absolute; right: 10px; bottom: 10px; padding: 6px 12px; border-radius: 999px; background: var(--solid); border: 1px solid var(--stroke-strong); font-size: 12px; font-weight: 800; }
.p-hint { margin: 0; color: var(--fg-3); font-size: 13px; line-height: 1.5; }
.p-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.p-data { border-radius: 16px; background: var(--accent-soft); border: 1px solid var(--stroke); padding: 12px 16px; font-size: 13px; line-height: 1.55; color: var(--fg-2); }
.p-data summary { cursor: pointer; font-weight: 800; color: var(--fg); font-size: 14px; }
.p-data ul { margin: 10px 0 8px; padding-left: 18px; display: grid; gap: 6px; }
.p-data p { margin: 0; color: var(--fg-3); }
.p-data a, .permit .consent a { color: var(--accent); font-weight: 700; }
.permit .board { width: 100%; }
.permit-done { position: relative; display: grid; gap: 14px; justify-items: center; text-align: center; padding: 40px 28px 44px; }
.permit-done .stamp2 { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; border: 3px solid var(--accent); color: var(--accent); font-size: 38px; transform: rotate(-8deg); animation: stampin .7s var(--ease) both; }
@keyframes stampin { from { transform: scale(1.6) rotate(-20deg); opacity: 0; } to { transform: scale(1) rotate(-8deg); opacity: 1; } }
.permit-done h3 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.permit-done p { margin: 0; color: var(--fg-2); max-width: 38ch; line-height: 1.6; }
.permit-done .em { color: var(--accent); word-break: break-all; }
@media (prefers-reduced-motion: reduce) { .pulse, .permit-done .stamp2 { animation: none; } }
.p-drop-empty[hidden], .p-drop-full[hidden] { display: none; }
.pilot-line { margin: 0 0 14px; }
