:root {
  --ink: #0e1b2c;
  --ink-2: #3c4a5c;
  --muted: #6b7889;
  --line: #e2e7ee;
  --bg: #f6f8fb;
  --card: #ffffff;
  --navy: #0b2545;
  --navy-2: #13315c;
  --green: #0f8a5f;
  --green-2: #0b6e4b;
  --green-soft: #e3f4ec;
  --red: #c0392b;
  --red-soft: #fdecea;
  --gold: #e8b23a;
  --gold-soft: #fff6e0;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(14, 27, 44, 0.06), 0 8px 24px rgba(14, 27, 44, 0.06);
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--green-2); }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; letter-spacing: -0.01em; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.hidden { display: none !important; }
.mono { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; }

/* header */
.topbar { background: var(--navy); color: #fff; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.15rem; }
.logo-mark { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--green), #26b07f); display: grid; place-items: center; font-size: 1rem; }
.nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav a { color: #cfd9e8; text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: 0.95rem; }
.nav a:hover, .nav a.active { color: #fff; background: rgba(255, 255, 255, 0.08); }

.lang-switch { display: inline-flex; margin-left: 6px; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 8px; overflow: hidden; }
.lang-switch button { background: transparent; color: #cfd9e8; border: 0; padding: 7px 10px; font: inherit; font-weight: 800; font-size: 0.8rem; cursor: pointer; }
.lang-switch button.active { background: #fff; color: var(--navy); }
.lang-switch button:focus-visible { outline: 2px solid #7be3b8; outline-offset: -2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px; padding: 12px 20px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; transition: transform 0.06s, background 0.15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-2); }
.btn-light { background: #fff; color: var(--navy); border: 1px solid var(--line); }
.btn-light:hover { background: #f0f3f7; }
.btn-ghost { background: rgba(255, 255, 255, 0.1); color: #fff; border: 1px solid rgba(255, 255, 255, 0.25); }
.btn-danger { background: var(--red); color: #fff; }
.btn-sm { padding: 7px 12px; font-size: 0.875rem; border-radius: 8px; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* hero */
.hero { background: radial-gradient(1200px 400px at 80% -10%, #1d4e89 0%, transparent 60%), var(--navy); color: #fff; padding: 56px 0 72px; }
.hero h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800; max-width: 760px; }
.hero p.lead { font-size: 1.15rem; color: #cfd9e8; max-width: 640px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.season { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 0.875rem; margin-bottom: 18px; }
.season.open { background: rgba(38, 176, 127, 0.18); color: #7be3b8; }
.season.closed { background: rgba(232, 178, 58, 0.16); color: #f5cf7a; }
.season .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.date-tiles { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.date-tile { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 12px; padding: 12px 16px; min-width: 150px; }
.date-label { font-size: 0.78rem; color: #9fb0c6; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.date-value { font-size: 1.25rem; font-weight: 800; color: #fff; margin-top: 2px; }
.date-note { font-size: 0.82rem; color: #9fb0c6; margin: 8px 0 0; }
.trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 32px; color: #cfd9e8; font-size: 0.95rem; }
.trust b { color: #fff; }

/* sections */
section.block { padding: 56px 0; }
section.block h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.step-num { width: 34px; height: 34px; border-radius: 50%; background: var(--green-soft); color: var(--green-2); display: grid; place-items: center; font-weight: 800; margin-bottom: 10px; }

/* pricing */
.plan { position: relative; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--green); }
.plan .badge { position: absolute; top: -12px; right: 16px; background: var(--green); color: #fff; font-size: 0.78rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.plan .price { font-size: 1.9rem; font-weight: 800; margin: 6px 0 12px; }
.plan ul { padding-left: 0; list-style: none; margin: 0 0 18px; flex: 1; }
.plan li { padding: 5px 0 5px 26px; position: relative; }
.plan li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 800; }

.notice { border-radius: 12px; padding: 14px 16px; border: 1px solid; }
.notice.warn { background: var(--gold-soft); border-color: #f1d79a; }
.notice.info { background: #eaf2fd; border-color: #c4d9f6; }
.notice.ok { background: var(--green-soft); border-color: #a9dcc5; }
.notice.err { background: var(--red-soft); border-color: #f2b8b1; }

details.faq { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
details.faq + details.faq { margin-top: 10px; }
details.faq summary { font-weight: 700; cursor: pointer; }

footer { background: var(--navy); color: #9fb0c6; padding: 32px 0; font-size: 0.875rem; margin-top: 40px; }
footer a { color: #cfd9e8; }

/* forms */
.form-section { margin-bottom: 18px; }
.form-section h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; }
.form-section h3 .n { width: 28px; height: 28px; border-radius: 8px; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 0.85rem; }
.fields { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.field label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 6px; }
.field .hint { font-size: 0.8rem; color: var(--muted); margin-top: 4px; }
.field .error { font-size: 0.82rem; color: var(--red); margin-top: 4px; }
.field.wide { grid-column: 1 / -1; }
input, select, textarea { width: 100%; font: inherit; padding: 11px 12px; border: 1px solid #cdd5df; border-radius: 10px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(15, 138, 95, 0.35); border-color: var(--green); }
.field.invalid input, .field.invalid select { border-color: var(--red); }

.plan-pick { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.plan-pick label { border: 2px solid var(--line); border-radius: 12px; padding: 14px; cursor: pointer; font-weight: 600; display: block; }
.plan-pick label { position: relative; }
.plan-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.plan-pick label:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 2px; }
.plan-pick label:has(input:checked) { border-color: var(--green); background: var(--green-soft); }

.photo-box { display: flex; gap: 14px; align-items: center; }
.photo-box img { width: 96px; height: 96px; border-radius: 10px; object-fit: cover; border: 1px solid var(--line); background: #f0f3f7; }
.photo-box img.doc, .photo-box .ph.doc { width: 140px; height: 96px; object-fit: contain; background: #fff; }
.photo-box .ph { width: 96px; height: 96px; border-radius: 10px; border: 2px dashed #cdd5df; display: grid; place-items: center; color: var(--muted); font-size: 1.6rem; flex-shrink: 0; }

/* profile */
.code-card { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; border-radius: 18px; padding: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.code-card .code { font-size: 2rem; font-weight: 800; letter-spacing: 0.08em; font-family: ui-monospace, Consolas, monospace; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 20px 0; }
.steps .s { text-align: center; font-size: 0.82rem; font-weight: 700; color: var(--muted); }
.steps .s .bar { height: 6px; border-radius: 3px; background: var(--line); margin-bottom: 8px; }
.steps .s.done { color: var(--green-2); }
.steps .s.done .bar { background: var(--green); }
.conf { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border: 1px dashed #a9dcc5; background: var(--green-soft); border-radius: 10px; margin-top: 8px; flex-wrap: wrap; }
.conf .num { font-family: ui-monospace, Consolas, monospace; font-weight: 800; font-size: 1.1rem; word-break: break-all; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; display: flex; gap: 12px; }
.timeline time { color: var(--muted); white-space: nowrap; }

.winner-banner { background: linear-gradient(135deg, #f7d16b, var(--gold)); color: #3a2a00; border-radius: 16px; padding: 18px 22px; font-weight: 800; font-size: 1.2rem; text-align: center; }

/* winner overlay */
.win-overlay { position: fixed; inset: 0; z-index: 50; background: rgba(6, 18, 38, 0.82); display: grid; place-items: center; padding: 16px; }
.win-overlay canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.win-card { position: relative; background: #fff; border-radius: 22px; padding: 34px 26px; text-align: center; max-width: 440px; width: 100%; animation: pop 0.6s cubic-bezier(0.2, 1.6, 0.4, 1) both; }
.win-card .medal { font-size: 4rem; animation: bounce 1.4s ease-in-out infinite; display: inline-block; }
.win-card h2 { font-size: 2.2rem; color: var(--green-2); margin: 8px 0; }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes bounce { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-12px) rotate(6deg); } }
@media (prefers-reduced-motion: reduce) { .win-card, .win-card .medal { animation: none; } }

/* admin */
.admin-layout { display: grid; grid-template-columns: 1fr; gap: 16px; padding: 20px 0; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 16px 0; }
.tabs button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; font: inherit; font-weight: 700; font-size: 0.85rem; cursor: pointer; }
.tabs button.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { background: #f3f6fa; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-2); }
tr.row { cursor: pointer; }
tr.row:hover td { background: #f8fafc; }
.pill { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 0.75rem; font-weight: 800; background: #eef1f5; color: var(--ink-2); }
.pill.queued { background: #eef1f5; }
.pill.awaiting_payment { background: var(--gold-soft); color: #8a6100; }
.pill.payment_review { background: #ffe8cc; color: #9a4b00; }
.pill.paid { background: #e1ecfb; color: #1d4e89; }
.pill.submitted { background: var(--green-soft); color: var(--green-2); }
.pill.selected { background: var(--gold); color: #3a2a00; }
.pill.refund_requested { background: #ffe8cc; color: #9a4b00; }
.pill.refunded { background: #eef1f5; color: var(--muted); }
.pill.rejected, .pill.not_selected { background: var(--red-soft); color: var(--red); }

.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(720px, 100%); background: var(--bg); box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15); overflow-y: auto; z-index: 40; padding: 20px 16px 60px; }
.kv { display: grid; grid-template-columns: minmax(130px, 38%) 1fr auto; gap: 0; font-size: 0.9rem; }
.kv > div { padding: 7px 8px; border-bottom: 1px solid var(--line); }
.kv .k { color: var(--muted); }
.kv .v { font-weight: 700; word-break: break-word; }
.copy { border: 0; background: transparent; cursor: pointer; color: var(--green-2); font-size: 0.8rem; font-weight: 700; }
.photos { display: flex; gap: 12px; flex-wrap: wrap; }
.photos figure { margin: 0; text-align: center; font-size: 0.78rem; }
.photos img { width: 120px; height: 120px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); display: block; }
.stat { font-size: 1.6rem; font-weight: 800; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; }

@media (max-width: 600px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .code-card .code { font-size: 1.5rem; }
  .kv { grid-template-columns: 1fr auto; }
  .kv .k { grid-column: 1 / -1; border-bottom: 0; padding-bottom: 0; }
}

/* legal pages + consent */
.legal { padding-top: 28px; padding-bottom: 40px; }
.legal h2 { font-size: 1.15rem; margin-top: 1.6em; }
.legal p { color: var(--ink-2); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--green); }

/* contact page: chat + callback */
.contact-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 18px; align-items: start; }
.chat-log { height: 340px; overflow-y: auto; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.bubble { max-width: 85%; padding: 9px 12px; border-radius: 14px; font-size: 0.95rem; white-space: pre-wrap; word-break: break-word; }
.bubble.mine { align-self: flex-end; background: var(--green); color: #fff; border-bottom-right-radius: 4px; }
.bubble.theirs { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bubble-meta { font-size: 0.72rem; opacity: 0.75; margin-bottom: 2px; }
.chat-input { display: flex; gap: 8px; align-items: flex-end; margin-top: 10px; }
.chat-input textarea { resize: vertical; min-height: 46px; }
.direct { display: flex; flex-direction: column; gap: 8px; }
.sep { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 30; display: inline-flex; align-items: center; gap: 8px; background: var(--green); color: #fff; text-decoration: none; font-weight: 800; padding: 12px 16px; border-radius: 999px; box-shadow: 0 8px 24px rgba(15, 138, 95, 0.35); transition: transform 0.15s; }
.fab:hover { transform: translateY(-2px); }
.fab:focus-visible { outline: 3px solid #7be3b8; outline-offset: 2px; }
@media (max-width: 600px) { .fab-text { display: none; } .fab { padding: 14px; font-size: 1.2rem; } }
.chat-list { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 12px; }
.chat-list .item { padding: 10px 12px; border-bottom: 1px solid var(--line); cursor: pointer; }
.chat-list .item.active, .chat-list .item:hover { background: #f3f6fa; }
.chat-list .item .unread { background: var(--red); color: #fff; border-radius: 999px; padding: 0 7px; font-size: 0.75rem; font-weight: 800; margin-left: 6px; }
@media (max-width: 700px) { .chat-list { grid-template-columns: 1fr; } }

/* profile documents + share */
.share { margin-top: 18px; }
.share-grid { display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-end; }
.share-grid figure { margin: 0; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.share-grid img { border-radius: 12px; border: 1px solid var(--line); background: var(--navy); }
.share-grid img.share-story { width: 160px; height: 284px; }
.share-grid img.share-post { width: 220px; height: 220px; }

/* eligibility quiz */
.quiz-progress { height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; margin-bottom: 16px; }
.quiz-progress div { height: 100%; width: 0; background: var(--green); transition: width 0.3s; }
.quiz-card h2 { font-size: 1.4rem; }
.quiz-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin-top: 12px; }
.quiz-col { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.quiz-opt { justify-content: flex-start; text-align: left; padding: 14px 16px; }
.quiz-opt:hover { border-color: var(--green); background: var(--green-soft); }
.quiz-result { border-radius: 14px; padding: 18px; margin-bottom: 12px; }
.quiz-result.ok { background: var(--green-soft); }
.quiz-result.no { background: var(--red-soft); }
.quiz-result h2 { margin: 0; }

/* admin: overdue rows, stats bars */
tr.row.overdue td { background: var(--red-soft); }
.bars { display: flex; gap: 4px; align-items: flex-end; height: 170px; overflow-x: auto; padding-top: 8px; }
.bar-col { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 18px; }
.bar-stack { width: 16px; background: #cbd8e6; border-radius: 4px 4px 0 0; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.bar-paid { background: var(--green); width: 100%; }
.bar-label { font-size: 0.65rem; color: var(--muted); }

/* checkboxes keep their natural size (the global input rule sets width: 100%) */
input[type=checkbox], input[type=radio] { width: auto; }

/* the main call to action: big, unmistakable, gently breathing */
.btn-cta { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; text-decoration: none; color: #fff;
  background: linear-gradient(135deg, #12a46f, var(--green-2)); border-radius: 16px; padding: 18px 26px;
  box-shadow: 0 10px 28px rgba(15, 138, 95, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25); animation: cta-pulse 2.4s ease-in-out infinite;
  transition: transform 0.12s; max-width: 100%; }
.btn-cta:hover { transform: translateY(-2px); }
.btn-cta:active { transform: translateY(1px); }
.btn-cta:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.cta-main { font-size: clamp(1.15rem, 3.6vw, 1.45rem); font-weight: 800; line-height: 1.25; }
.cta-sub { font-size: 0.85rem; font-weight: 600; color: #d6f5e7; }
.cta-arrow { display: inline-block; transition: transform 0.15s; }
.btn-cta:hover .cta-arrow { transform: translateX(4px); }
@keyframes cta-pulse { 0%, 100% { box-shadow: 0 10px 28px rgba(15, 138, 95, 0.45), 0 0 0 0 rgba(38, 176, 127, 0.55); } 50% { box-shadow: 0 10px 28px rgba(15, 138, 95, 0.45), 0 0 0 12px rgba(38, 176, 127, 0); } }
@media (prefers-reduced-motion: reduce) { .btn-cta { animation: none; } }
@media (max-width: 600px) { .btn-cta { width: 100%; } .hero .cta .btn { flex: 1 1 100%; } }
.nav .nav-cta { background: var(--green); color: #fff; }
.nav .nav-cta:hover { background: var(--green-2); color: #fff; }
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 31; display: block; text-align: center; text-decoration: none;
  background: var(--green); color: #fff; font-weight: 800; font-size: 1.05rem; padding: 15px 18px; border-radius: 14px;
  box-shadow: 0 10px 26px rgba(15, 138, 95, 0.45); }
.sticky-cta[hidden] { display: none; }
@media (min-width: 900px) { .sticky-cta { display: none !important; } }
@media (max-width: 899px) { body.has-sticky .fab { bottom: 84px; } }

/* landing polish */
.how .card { display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; align-items: start; }
.how .card .step-num { grid-row: span 2; margin: 0; }
.how .card h3 { margin: 4px 0; }
.how .card p { margin: 0; }
.applicants { margin: 18px 0 0; font-weight: 700; color: #7be3b8; }
.compare { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; margin-top: 16px; }
.cmp-row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; border-top: 1px solid var(--line); }
.cmp-row:first-child { border-top: 0; }
.cmp-row > div { padding: 12px 14px; font-size: 0.93rem; }
.cmp-row > div:first-child { font-weight: 700; }
.cmp-row > div:nth-child(2) { color: var(--muted); }
.cmp-row > div:nth-child(3) { background: var(--green-soft); color: var(--green-2); font-weight: 700; }
.cmp-row:not(.cmp-head) > div:nth-child(2)::before { content: '✕ '; color: var(--red); }
.cmp-row:not(.cmp-head) > div:nth-child(3)::before { content: '✓ '; }
.cmp-head > div { font-weight: 800; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--ink) !important; }
.cmp-head > div:nth-child(3) { background: var(--green); color: #fff !important; }
.final-cta { background: radial-gradient(900px 300px at 20% 0%, #1d4e89 0%, transparent 60%), var(--navy); color: #fff; padding: 56px 0; text-align: center; }
.final-cta p { color: #cfd9e8; max-width: 560px; margin: 0 auto 24px; }
footer { margin-top: 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.footer-links a { white-space: nowrap; }
@media (max-width: 600px) {
  .topbar .wrap { min-height: 56px; padding-top: 6px; padding-bottom: 6px; }
  .nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 4px; width: calc(100% + 32px); }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; padding: 7px 10px; font-size: 0.9rem; }
  .lang-switch { flex-shrink: 0; }
  .hero { padding: 32px 0 44px; }
  .date-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .date-tile { min-width: 0; padding: 9px 8px; }
  .date-label { font-size: 0.62rem; }
  .date-value { font-size: 0.84rem; white-space: nowrap; }
  .trust { flex-direction: column; gap: 10px; }
  .how { gap: 10px; }
  .how .card { padding: 16px; }
  .cmp-row { grid-template-columns: 1fr 1fr; }
  .cmp-row > div:first-child { grid-column: 1 / -1; padding-bottom: 4px; background: #f6f8fb; font-size: 0.85rem; }
  .cmp-head > div:first-child { display: none; }
  .cmp-row > div { padding: 9px 12px; font-size: 0.88rem; }
}

/* modern: glass sticky header */
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(11, 37, 69, 0.82); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* hero with product mockup */
.hero { position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; inset: auto -10% -40% auto; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(38, 176, 127, 0.28), transparent 65%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: center; position: relative; z-index: 1; }
.mock { background: rgba(255, 255, 255, 0.96); color: var(--ink); border-radius: 22px; padding: 20px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); position: relative; transform: rotate(2deg); animation: mock-float 6s ease-in-out infinite; }
.mock-top { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 0.9rem; color: var(--muted); }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.mock-tag { margin-left: auto; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.05em; background: #eef1f5; padding: 3px 8px; border-radius: 99px; }
.mock-code { font-size: 2rem; font-weight: 800; letter-spacing: 0.06em; margin-top: 10px; color: var(--navy); }
.mock-name { color: var(--muted); font-size: 0.88rem; margin-bottom: 12px; }
.mock-steps { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.mock-steps li { display: flex; gap: 10px; align-items: center; font-size: 0.9rem; font-weight: 600; }
.mock-steps li::before { content: ''; width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; background: #eef1f5; }
.mock-steps li.done::before { content: '✓'; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 0.72rem; font-weight: 800; }
.mock-steps li.now { color: var(--muted); }
.mock-steps li.now::before { border: 2px solid var(--gold); background: var(--gold-soft); animation: pulse-dot 1.6s ease-in-out infinite; }
.mock-confirm { background: var(--green-soft); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; }
.mock-confirm span { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; color: var(--green-2); letter-spacing: 0.04em; }
.mock-confirm b { font-family: ui-monospace, Consolas, monospace; font-size: 1rem; color: var(--navy); }
.mock-toast { position: absolute; left: -36px; bottom: -22px; background: var(--navy-2); color: #fff; font-size: 0.82rem; font-weight: 700; padding: 10px 14px; border-radius: 12px; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35); transform: rotate(-3deg); }
@keyframes mock-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes pulse-dot { 50% { box-shadow: 0 0 0 5px rgba(232, 178, 58, 0.25); } }
@media (prefers-reduced-motion: reduce) { .mock, .mock-steps li.now::before { animation: none; } }
@media (max-width: 899px) { .hero-grid { grid-template-columns: 1fr; } .mock { display: none; } }

/* video section */
.eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--green-2); background: var(--green-soft); padding: 4px 10px; border-radius: 99px; margin-bottom: 10px; }
.video-grid { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; }
.video-card { border-radius: 24px; overflow: hidden; box-shadow: 0 24px 50px rgba(14, 27, 44, 0.22); background: #000; aspect-ratio: 9 / 16; }
.video-card video { width: 100%; height: 100%; display: block; object-fit: cover; }
.ticks { list-style: none; padding: 0; margin: 16px 0 22px; display: grid; gap: 8px; }
.ticks li { padding-left: 28px; position: relative; font-weight: 600; }
.ticks li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #fff; font-size: 0.72rem; font-weight: 800; display: grid; place-items: center; }
@media (max-width: 760px) { .video-grid { grid-template-columns: 1fr; gap: 24px; } .video-card { max-width: 280px; margin: 0 auto; } }

/* cards: subtle lift, scroll reveal */
.card { transition: transform 0.2s, box-shadow 0.2s; }
main .card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(14, 27, 44, 0.06), 0 16px 32px rgba(14, 27, 44, 0.1); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
