:root {
  --navy: #0B2A4A;
  --navy-2: #133B63;
  --blue: #2F7DE1;
  --blue-soft: #EAF3FD;
  --green: #1FA971;
  --red: #D93025;
  --text: #1B2B3C;
  --muted: #5A6B7D;
  --line: #DCE5EF;
  --bg: #FFFFFF;
  --bg-alt: #F5F8FC;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 42, 74, .08);
  --max: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section { padding: 84px 0; }
section.alt { background: var(--bg-alt); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 46em; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--blue); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: 1.1rem; color: var(--navy); cursor: pointer; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; font-family: inherit; transition: transform .12s, background .12s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #1F6BCC; }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-light { background: #fff; color: var(--navy); }
.nav .btn { padding: 9px 18px; color: #fff; }

/* hero */
.hero { padding: 64px 0 40px; background: linear-gradient(180deg, var(--blue-soft) 0%, #fff 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 span { color: var(--blue); }
.hero .lead { margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--navy); font-weight: 600; font-size: .95rem; }
.hero-points li::before { content: "✓"; color: var(--green); font-weight: 900; margin-right: 7px; }
.hero-art { border-radius: 24px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.hero-art img { width: 100%; aspect-ratio: 1024 / 1080; object-fit: cover; object-position: 50% 62%; }

/* cards & grids */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
.icon { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.icon svg { width: 26px; height: 26px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.section-head { margin-bottom: 44px; }

/* steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; position: relative; }
.step::before { counter-increment: step; content: counter(step); display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; margin-bottom: 14px; }
.step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.step p { font-size: .92rem; color: var(--muted); margin: 0; }

/* comparison */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.compare th, .compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--navy); color: #fff; font-size: .95rem; }
.compare thead th.hl { background: var(--blue); }
.compare td.hl { background: #F3F8FF; font-weight: 600; color: var(--navy); }
.yes { color: var(--green); font-weight: 800; }
.no { color: var(--muted); }
.table-scroll { overflow-x: auto; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 8px 0 8px 34px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 11px; width: 22px; height: 22px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* mock window */
.mock { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; font-size: .88rem; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #EEF2F7; border-bottom: 1px solid var(--line); color: var(--muted); font-weight: 600; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #C9D3DF; display: inline-block; }
.mock-bar span { margin-left: 8px; }
.mock-body { display: grid; grid-template-columns: 1.3fr 1fr; }
.mock-form { padding: 16px; border-right: 1px solid var(--line); }
.mock-row { display: grid; grid-template-columns: 110px 1fr; gap: 8px; align-items: center; margin-bottom: 8px; }
.mock-row label { color: var(--muted); font-size: .8rem; }
.mock-row div { border: 1px solid var(--line); border-radius: 6px; padding: 5px 8px; min-height: 30px; background: #FBFCFE; color: var(--navy); font-weight: 600; }
.mock-side { padding: 16px; background: #F7FAFE; }
.mock-side .chip { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); margin: 0 4px 6px 0; }
.mock-side .msg { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; margin-bottom: 8px; }
.mock-side .ok { color: var(--green); font-weight: 700; }

/* package */
.package { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
.package h2, .package h3 { color: #fff; }
.package .lead { color: #C9D7E8; }
.package .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); box-shadow: none; }
.package .card p, .package .card li { color: #D6E2F0; }
.package .icon { background: rgba(47,125,225,.25); }
.package .icon svg { stroke: #9CC4F5; }
.spec { list-style: none; padding: 0; margin: 0; }
.spec li { padding: 6px 0; border-bottom: 1px dashed rgba(255,255,255,.15); }
.spec li:last-child { border-bottom: 0; }
.spec b { color: #fff; }
.note { font-size: .85rem; color: #9FB4CC; margin-top: 18px; }

/* rollout */
.rollout { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.phase { padding: 0 22px 0 0; position: relative; }
.phase .dot { width: 54px; height: 54px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; position: relative; z-index: 1; box-shadow: 0 0 0 8px var(--blue-soft); }
.phase::after { content: ""; position: absolute; top: 27px; left: 54px; right: 0; height: 3px; background: var(--line); }
.phase:last-child::after { display: none; }
.phase p { color: var(--muted); }

/* faq */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 6px; }

/* cta */
.cta { background: var(--blue); color: #fff; border-radius: 24px; padding: 54px 40px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.cta h2 { color: #fff; }
.cta p { color: #E3EEFC; }
.cta .actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

/* footer */
.site-footer { background: var(--navy); color: #B8C8DA; padding: 48px 0 30px; font-size: .92rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: .95rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer .logo-light { height: 30px; width: auto; margin-bottom: 14px; }
.copyright { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; margin-top: 10px; font-size: .85rem; }

/* legal pages */
.legal { padding: 56px 0 80px; }
.legal .wrap { max-width: 820px; }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.todo { background: #FFF4D6; border: 1px dashed #D9A400; padding: 1px 6px; border-radius: 4px; }

/* video hero */
.hero-video { position: relative; min-height: min(88vh, 820px); display: flex; flex-direction: column; justify-content: center; padding: 90px 0 0; background: var(--navy); overflow: hidden; color: #fff; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,28,50,.94) 0%, rgba(8,28,50,.78) 38%, rgba(8,28,50,.2) 70%, rgba(8,28,50,0) 100%); }
.hero-video .wrap { position: relative; display: block; width: 100%; }
.hero-text { max-width: 600px; }
.hero-video h1 { color: #fff; }
.hero-video h1 span { color: #7FB5F5; }
.hero-video .lead { color: #D3E0EE; }
.hero-video .eyebrow { color: #9CC4F5; }
.hero-video .hero-points { color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.8); color: #fff; background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }
.hero-ticker { position: relative; margin-top: 70px; background: rgba(255,255,255,.08); border-top: 1px solid rgba(255,255,255,.15); overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 48px; padding: 14px 0; animation: ticker 38s linear infinite; font-weight: 600; color: #CFE0F4; font-size: .95rem; }
.ticker-track span { color: #CFE0F4; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* photos */
.photo { margin: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: #DDE6F0; }
.photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform 6s ease; }
.photo:hover img { transform: scale(1.04); }
.photo-wide { margin-bottom: 36px; }
.photo-wide img { aspect-ratio: 21 / 8; object-position: 50% 45%; }
.photo-split { margin-top: 64px; }

/* explainer video */
.video-section { background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%); }
.video-frame { position: relative; max-width: 980px; margin: 0 auto; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px rgba(11, 42, 74, .22); background: var(--navy); aspect-ratio: 16 / 9; }
.video-frame video { width: 100%; height: 100%; display: block; object-fit: cover; }
.video-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; border: 0; cursor: pointer; background: linear-gradient(0deg, rgba(8,28,50,.55), rgba(8,28,50,.15)); color: #fff; font: inherit; font-weight: 700; font-size: 1.05rem; }
.video-play svg { width: 92px; height: 92px; padding: 24px 22px 24px 28px; border-radius: 50%; background: var(--blue); fill: #fff; box-shadow: 0 0 0 12px rgba(47,125,225,.3); transition: transform .15s; }
.video-play:hover svg { transform: scale(1.07); }
.video-frame.playing .video-play { display: none; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.mock-row div.typing { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,125,225,.15); }
.mock-row div.typing::after { content: "|"; color: var(--blue); animation: blink .8s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 960px) {
  .hero-shade { background: linear-gradient(180deg, rgba(8,28,50,.88) 0%, rgba(8,28,50,.78) 60%, rgba(8,28,50,.6) 100%); }
  .hero .wrap, .split, .cta { grid-template-columns: 1fr; }
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .rollout { grid-template-columns: 1fr; gap: 28px; }
  .phase::after { display: none; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; padding: 14px 20px 20px; border-bottom: 1px solid var(--line); gap: 12px; }
  .nav.open { display: flex; }
  .nav .btn { justify-content: center; }
  .menu-toggle { display: block; }
}
@media (max-width: 600px) {
  section { padding: 60px 0; }
  .g2, .g3, .g4, .steps { grid-template-columns: 1fr; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-form { border-right: 0; border-bottom: 1px solid var(--line); }
  .cta { padding: 36px 22px; }
}
