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

:root {
  --navy: #121340;
  --navy-2: #1b1d5c;
  --red: #DA242B;
  --red-hi: #EA1F27;
  --blue: #2638C4;
  --blue-2: #1E7FC1;
  --ink: #121340;
  --muted: #4a4d6b;
  --line: #d9dbe7;
  --soft: #f4f5fa;
  --white: #fff;
  --pass: #17803d;
  --fail: #c41a20;
  --warn: #9a6200;
  --gold: #f6c343;
  --r: 10px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; font: 400 17px/1.55 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 48px); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--white); color: var(--navy); padding: 10px 14px; border-radius: 6px; z-index: 100; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 2px; }
[tabindex="-1"]:focus { outline: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 16px/1 Inter, system-ui, sans-serif; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--red); color: var(--white); box-shadow: 0 6px 18px -8px rgba(218, 36, 43, .7); }
.btn-primary:hover:not(:disabled) { background: #c31d24; }
.btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .55); background: transparent; }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn-quiet { background: var(--white); color: var(--navy); border-color: var(--line); }
.btn-quiet:hover { border-color: var(--navy); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* App bar */
.bar { position: sticky; top: 0; z-index: 50; background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.bar-in { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { height: 36px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: rgba(255, 255, 255, .86); text-decoration: none; font-weight: 500; font-size: 15px; padding: 0 12px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 8px; }
.nav a:hover { color: var(--white); background: rgba(255, 255, 255, .08); }

/* Hero */
.hero { position: relative; background: radial-gradient(1200px 500px at 80% 0%, #24277a 0%, transparent 60%), var(--navy); color: var(--white); overflow: hidden; padding: 120px 0 96px; }
.lights { position: absolute; left: 0; top: 0; width: 100%; height: 150px; overflow: visible; pointer-events: none; }
.lights .wire { fill: none; stroke: #2a2d63; stroke-width: 2.5; }
.lights .cap { fill: #3a3d70; }
.lights .glass { animation: twinkle 3.2s ease-in-out infinite; filter: drop-shadow(0 0 8px var(--c)); }
.garland { position: absolute; left: 0; right: 0; top: 100%; width: 100%; height: 0; overflow: hidden; pointer-events: none; background: var(--navy); transition: height .35s ease; }
.garland.show { height: 26px; box-shadow: 0 6px 14px -8px rgba(18, 19, 64, .5); }
.garland .wire { fill: none; stroke: #3a3d70; stroke-width: 1.5; }
.garland .cap { fill: #5d6091; }
.garland .glass { fill: #2c2f68; transition: fill .4s ease; }
.garland .lit .glass { fill: var(--c); filter: drop-shadow(0 0 4px var(--c)); }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; position: relative; }
.pill { display: inline-flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: var(--white); padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); font-weight: 700; margin: 22px 0 18px; letter-spacing: -0.025em; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: rgba(255, 255, 255, .86); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.demo-card { background: var(--white); color: var(--ink); border-radius: 16px; padding: 22px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); max-width: 400px; margin-left: auto; }
.demo-file { display: flex; gap: 14px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.35; }
.demo-file small { color: var(--muted); }
.demo-thumb { width: 64px; height: 40px; border-radius: 6px; background: linear-gradient(135deg, #2638C4, #121340 60%, #DA242B); flex: none; }
.demo-checks { list-style: none; margin: 10px 0 0; padding: 0; }
.demo-checks li { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-weight: 500; font-size: 15px; }
.demo-checks em { margin-left: auto; font-style: normal; color: var(--muted); font-size: 14px; }
.demo-ok { margin-top: 12px; padding: 10px 14px; border-radius: 8px; background: #e8f5ec; color: #0f5a2a; font-weight: 600; font-size: 15px; opacity: 0; transition: opacity .4s ease; }
.demo-card.done .demo-ok { opacity: 1; }

/* Bulb */
.bulb { width: 14px; height: 18px; flex: none; position: relative; border-radius: 50% 50% 46% 46% / 58% 58% 42% 42%; background: #d4d6e2; transition: background-color .3s ease, box-shadow .3s ease; }
.bulb::before { content: ""; position: absolute; left: 3px; top: -5px; width: 8px; height: 6px; background: #8d90a8; border-radius: 2px 2px 1px 1px; }
.bulb.on, .is-pass > .bulb { background: #2fb55a; box-shadow: 0 0 12px 2px rgba(47, 181, 90, .55); }
.is-fail > .bulb { background: #e5333a; box-shadow: 0 0 12px 2px rgba(229, 51, 58, .5); }
.is-warn > .bulb { background: var(--gold); box-shadow: 0 0 12px 2px rgba(246, 195, 67, .55); }

/* Sections */
section { padding: 96px 0; }
.band { background: var(--soft); }
.sub { color: var(--muted); font-size: 18px; margin-top: 12px; max-width: 44em; }
.tiles { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; transition: transform .18s ease, box-shadow .18s ease; }
.tile:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(18, 19, 64, .35); }
.tile p { color: var(--muted); margin-top: 8px; font-size: 16px; }
.ico { width: 28px; height: 28px; fill: none; stroke: var(--red); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.ico-lg { width: 40px; height: 40px; stroke: var(--blue); margin: 0 auto 12px; }

.spec-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.spec { border-radius: var(--r); padding: 26px 24px; background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.spec::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--red-hi), var(--blue)); }
.spec b { display: block; font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; letter-spacing: -0.02em; }
.spec span { color: rgba(255, 255, 255, .8); font-size: 16px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.ticks li { position: relative; padding-left: 26px; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2.5px solid var(--pass); border-bottom: 2.5px solid var(--pass); transform: rotate(-45deg); }
.h3 { font-size: 22px; margin: 56px 0 16px; }

/* Accordions */
.acc { display: grid; gap: 10px; }
.acc details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.acc summary { list-style: none; cursor: pointer; min-height: 56px; display: flex; align-items: center; gap: 10px; padding: 0 52px 0 20px; font-weight: 600; position: relative; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary small { font-weight: 500; color: var(--muted); font-size: 14px; }
.acc summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.acc details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.acc details > :not(summary) { margin: 0; padding: 0 20px 18px 40px; color: #2b2e52; }
.acc details > p { padding-left: 20px; }
.acc li { margin: 6px 0; }

/* Export tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.tabs [role="tab"] { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--navy); font: 600 15px/1 Inter, system-ui, sans-serif; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.tabs [role="tab"]:hover { border-color: var(--navy); }
.tabs [role="tab"][aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.tabpanel { margin-top: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 28px; min-height: 230px; }
.tabpanel h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.tab-note { font-size: 14px; font-weight: 600; color: var(--pass); }
.tabpanel ol { margin: 0; padding-left: 22px; color: #2b2e52; }
.tabpanel li { margin: 8px 0; }
@media (max-width: 720px) { .tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 0 16px 4px; scrollbar-width: none; } .tabs [role="tab"] { flex: none; } .tabpanel { padding: 20px; } }

/* Submit */
.submit { background: linear-gradient(180deg, var(--white), #eef0f8); }
.steps { list-style: none; padding: 0; margin: 40px 0 22px; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.steps::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 18px; height: 2px; background: var(--line); }
.steps li { display: flex; flex-direction: column; align-items: center; gap: 12px; position: relative; font-weight: 600; font-size: 15px; color: var(--muted); }
.steps .bulb { width: 22px; height: 28px; margin-top: 8px; }
.steps .bulb::before { left: 6px; top: -7px; width: 10px; height: 8px; }
.steps li[aria-current="step"] { color: var(--ink); }
.steps li[aria-current="step"] .bulb { background: var(--gold); box-shadow: 0 0 16px 4px rgba(246, 195, 67, .6); }
.steps li.done .bulb { background: #2fb55a; box-shadow: 0 0 12px 2px rgba(47, 181, 90, .45); }
.steps li.done { color: var(--ink); }

.card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 32px; box-shadow: 0 24px 50px -30px rgba(18, 19, 64, .35); }
.pane { border: 0; margin: 0; padding: 0; min-width: 0; }
.pane-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 28px; }

.drop { display: flex; flex-direction: column; align-items: center; text-align: center; border: 2px dashed #b9bdd6; border-radius: 14px; padding: 52px 20px; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.drop:hover, .drop.over { border-color: var(--blue); background: #f2f4ff; }
.drop:focus-within { outline: 3px solid var(--blue-2); outline-offset: 2px; }
.drop-h { font-size: 22px; font-weight: 700; }
.drop-s { color: var(--muted); margin-top: 6px; }
.drop-s u { color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 3px; }

.file-row { display: flex; align-items: center; gap: 16px; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.file-name { font-weight: 700; font-size: 18px; word-break: break-all; }
.file-meta { color: var(--muted); font-size: 15px; margin-top: 2px; }
.status { margin-top: 18px; color: var(--muted); font-weight: 500; }
.status::after { content: ""; display: inline-block; width: 1.2em; text-align: left; animation: dots 1.2s steps(4) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
.checks { list-style: none; padding: 0; margin: 8px 0 0; }
.checks li { display: grid; grid-template-columns: 22px 1fr auto; gap: 4px 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid #eceef5; opacity: .35; transition: opacity .3s ease; }
.checks li.shown { opacity: 1; }
.checks .lbl { font-weight: 600; }
.checks .lbl small { font-weight: 500; color: var(--muted); font-size: 13px; margin-left: 6px; }
.checks .val { font-variant-numeric: tabular-nums; font-weight: 600; }
.checks .is-fail .val { color: var(--fail); }
.checks .is-warn .val { color: var(--warn); }
.checks .is-pass .val { color: var(--pass); }
.checks .why { grid-column: 2 / -1; color: var(--fail); font-size: 15px; }
.checks .is-warn .why { color: var(--warn); }

.verdict { margin-top: 22px; border-radius: 12px; padding: 18px 20px; font-weight: 500; }
.verdict h3 { font-size: 18px; margin-bottom: 6px; }
.verdict.ok { background: #e8f5ec; color: #0f5a2a; }
.verdict.no { background: #fdecec; color: #8a1116; }
.verdict a { color: inherit; font-weight: 700; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.span2 { grid-column: span 2; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.field label small { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--white); border: 1.5px solid #b9bdd6; border-radius: 8px; padding: 11px 13px; min-height: 48px; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(38, 56, 196, .2); }
.field [aria-invalid="true"] { border-color: var(--fail); }
.err { color: var(--fail); font-size: 14px; font-weight: 500; min-height: 0; margin-top: 4px; }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.terms { max-height: 340px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; padding: 20px 24px; background: var(--soft); }
.terms h3 { font-size: 17px; margin-bottom: 8px; }
.terms ol { margin: 0; padding-left: 22px; }
.terms li { margin: 8px 0; }
.check { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-weight: 600; min-height: 44px; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--red); flex: none; }

.review { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0; }
.review dt { color: var(--muted); font-weight: 500; }
.review dd { margin: 0; font-weight: 600; word-break: break-word; }
.note { margin-top: 22px; padding: 12px 16px; border-radius: 8px; background: #fff4dc; color: #6b4600; font-weight: 500; }

/* Upload */
.upload { margin-top: 26px; padding: 22px; border-radius: 12px; background: var(--navy); color: var(--white); }
.upbulbs { display: grid; grid-template-columns: repeat(24, 1fr); gap: 4px; align-items: start; padding-top: 6px; position: relative; }
.upbulbs::before { content: ""; position: absolute; left: 0; right: 0; top: 3px; height: 2px; background: #3a3d70; }
.upbulbs i { justify-self: center; width: 12px; height: 16px; border-radius: 50% 50% 46% 46% / 58% 58% 42% 42%; background: #2c2f68; position: relative; transition: background-color .3s ease, box-shadow .3s ease; }
.upbulbs i::before { content: ""; position: absolute; left: 3px; top: -4px; width: 6px; height: 5px; background: #6d7099; border-radius: 1px; }
.upbulbs i.on { background: var(--c); box-shadow: 0 0 10px 1px var(--c); }
.upbulbs.lit i { background: var(--c); box-shadow: 0 0 10px 1px var(--c); animation: twinkle 2.6s ease-in-out infinite; }
.up-row { display: flex; align-items: baseline; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.up-pct { font-size: 34px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.up-stat { color: rgba(255, 255, 255, .85); font-variant-numeric: tabular-nums; }
.up-keep { margin-top: 6px; color: rgba(255, 255, 255, .7); font-size: 15px; }
.resume { margin-bottom: 18px; padding: 14px 16px; border-radius: 10px; background: #fff4dc; color: #6b4600; font-weight: 500; }
.pane.done { text-align: center; padding: 12px 0; }
.pane.done .upbulbs { max-width: 560px; margin: 0 auto 26px; }
.pane.done .upbulbs::before { background: var(--line); }
.done-h { font-size: clamp(28px, 3vw, 36px); font-weight: 700; }
.done-ref { margin-top: 10px; font-size: 18px; }
.done-ref b { font-size: 22px; letter-spacing: .02em; }
.done-p { margin: 12px auto 0; max-width: 34em; color: var(--muted); }
.pane-actions.center { justify-content: center; }
@media (max-width: 720px) { .upbulbs { grid-template-columns: repeat(12, 1fr); row-gap: 14px; } .upbulbs::before { display: none; } }

.foot { border-top: 1px solid var(--line); padding: 32px 0; }
.foot .wrap { display: flex; align-items: center; gap: 20px; justify-content: space-between; }
.foot img { height: 32px; width: auto; }
.foot p { color: var(--muted); font-size: 14px; }

@media (max-width: 1000px) {
  .hero-in { grid-template-columns: 1fr; }
  .demo-card { margin: 0; transform: none; }
  .tiles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .hero { padding: 116px 0 64px; }
  .wrap, .narrow { width: calc(100% - 32px); }
  .nav { display: none; }
  .bar-in { justify-content: space-between; }
  .tiles, .spec-row, .grid2 { grid-template-columns: 1fr; }
  .span2 { grid-column: auto; }
  .hero-actions .btn, .pane-actions .btn { flex: 1 1 auto; }
  .card { padding: 20px; }
  .steps li { font-size: 13px; text-align: center; }
  .file-row { flex-direction: column; align-items: stretch; }
  .review { grid-template-columns: 1fr; gap: 2px; }
  .review dd { margin-bottom: 10px; }
  .foot .wrap { flex-direction: column; align-items: flex-start; }
  .demo-card { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
