:root {
  --navy: #0B1D33;
  --red: #D90429;
  --surface: #F5F6F8;
  --bg: #FFFFFF;
  --text: #0B1D33;
  --muted: #51607A;
  --line: #DDE2EA;
  --amber: #B45309;
  --radius: 14px;
  --font: Inter, "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.mark { width: 34px; height: 34px; overflow: visible; }
.word { font-weight: 800; font-size: 22px; letter-spacing: -0.03em; }
.word span { font-weight: 700; }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--navy); }

.btn { display: inline-block; background: var(--navy); color: #fff; font: 600 16px/1 var(--font); padding: 15px 22px; border: 0; border-radius: 10px; text-decoration: none; cursor: pointer; transition: background .15s; }
.btn:hover { background: #14304F; }
.btn:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid #7FA8E0; outline-offset: 2px; }
.btn-small { padding: 11px 16px; font-size: 14px; white-space: nowrap; }
.btn-full { width: 100%; margin-top: 6px; }
.btn[disabled] { opacity: .6; cursor: default; }

/* hero */
.hero { background: linear-gradient(180deg, var(--surface), #fff); padding: 56px 0 40px; }
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 18px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; }
.lead { font-size: 19px; color: var(--muted); margin-top: 20px; max-width: 34em; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; font-size: 16px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 14px; height: 8px; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg); }

/* form */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(11,29,51,.08); }
.form { padding: 26px; }
.form h2 { font-size: 24px; }
.form-lead { color: var(--muted); font-size: 15px; margin: 8px 0 14px; }
label { display: block; font-size: 14px; font-weight: 600; margin: 14px 0 6px; }
.opt { font-weight: 400; color: var(--muted); }
input[type=email], input[type=text], select { width: 100%; font: 16px var(--font); color: var(--text); padding: 12px 13px; border: 1px solid #B8C1CF; border-radius: 9px; background: #fff; }
input::placeholder { color: #93A0B4; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-weight: 400; font-size: 13.5px; color: var(--muted); margin: 18px 0 14px; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--navy); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { min-height: 22px; margin-top: 12px; font-size: 15px; font-weight: 600; }
.msg.ok { color: #0F6B3C; }
.msg.err { color: var(--red); }
.form.done > :not(h2):not(.msg) { display: none; }

/* interface preview */
.preview { padding: 8px 0 64px; }
.screen { background: var(--navy); border-radius: 18px; padding: 14px; box-shadow: 0 24px 60px rgba(11,29,51,.25); }
.screen-bar { display: flex; align-items: center; gap: 12px; color: #fff; padding: 4px 6px 14px; font-size: 14px; }
.screen-title { font-weight: 700; font-size: 16px; }
.screen-note { margin-left: auto; color: #9FB0C8; font-size: 12.5px; }
.chip { font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 999px; }
.chip-live { background: rgba(217,4,41,.18); color: #FF8A9B; }
.tiles { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(3, 120px); gap: 10px; }
.tile { position: relative; border-radius: 10px; overflow: hidden; color: #fff; font-size: 13px; background-size: cover; }
.tile.big { grid-row: 1 / span 3; }
.t1 { background: radial-gradient(60% 50% at 62% 55%, #F2B544 0, #C2410C 28%, #5B1A4A 58%, #14123A 100%); }
.t2 { background: linear-gradient(160deg, #35513F, #1D2E2A 60%, #10201E); }
.t3 { background: linear-gradient(200deg, #7FA3C4, #3F5E7C 45%, #2B3F33 46%, #1E2C24); }
.t4 { background: repeating-linear-gradient(135deg, #1A2A40 0 12px, #16243A 12px 24px); }
.tag { position: absolute; top: 10px; left: 10px; font-weight: 800; font-size: 11px; letter-spacing: .05em; padding: 4px 7px; border-radius: 5px; }
.tag.live { background: var(--red); }
.tag.warn { background: #FBBF24; color: #3B2A00; }
.src { position: absolute; left: 10px; bottom: 10px; background: rgba(6,14,26,.72); padding: 4px 8px; border-radius: 6px; }
.meta { position: absolute; right: 10px; bottom: 10px; font-variant-numeric: tabular-nums; background: rgba(6,14,26,.72); padding: 4px 8px; border-radius: 6px; }

/* sections */
.sec { padding: 72px 0; }
.sec.alt { background: var(--surface); }
.sec h2 { font-size: clamp(28px, 3.6vw, 38px); font-weight: 800; }
.sec-lead { color: var(--muted); font-size: 18px; margin-top: 12px; max-width: 40em; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.feat { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; border-top: 4px solid var(--navy); }
.feat h3 { font-size: 18px; margin-bottom: 8px; }
.feat p { color: var(--muted); font-size: 15px; }
.later { margin-top: 36px; padding: 24px 26px; background: var(--surface); border-radius: var(--radius); }
.later h3 { font-size: 18px; }
.later ul { margin: 12px 0 0; padding-left: 20px; color: var(--muted); display: grid; grid-template-columns: 1fr 1fr; gap: 6px 32px; }

.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 14px; }
.steps h3 { font-size: 19px; margin-bottom: 6px; }
.steps p { color: var(--muted); }

.who { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.who li { border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: 15px; }
.cta { margin-top: 44px; background: var(--navy); color: #fff; border-radius: 18px; padding: 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta p { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.cta .btn { background: var(--red); }
.cta .btn:hover { background: #B80322; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
.foot-in { display: grid; gap: 8px; }
.fine { font-size: 13px; }

/* policy page */
.doc { max-width: 760px; padding-top: 48px; padding-bottom: 72px; }
.doc h1 { font-size: 34px; margin-bottom: 8px; }
.doc h2 { font-size: 21px; margin: 32px 0 8px; }
.doc p, .doc li { color: #2A3B55; }
.doc p { margin: 10px 0; }
.doc ul { padding-left: 22px; }

@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; gap: 32px; }
  .grid4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .nav { display: none; }
  .btn-small { margin-left: auto; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .hero { padding-top: 36px; }
  .grid4, .later ul { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; grid-template-rows: 170px 90px 90px; }
  .tile.big { grid-row: auto; grid-column: 1 / span 2; }
  .t4 { grid-column: 1 / span 2; }
  .screen-note { display: none; }
  .cta { padding: 26px; }
  .btn-small { padding: 10px 12px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.hero-in > *, .tiles > * { min-width: 0; }
.push { margin-left: auto; }
