@font-face { font-family: "Giga Sans"; src: url(fonts/GigaSans-Regular.otf) format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Giga Sans"; src: url(fonts/GigaSans-Medium.otf) format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Giga Sans"; src: url(fonts/GigaSans-Bold.otf) format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Giga Sans"; src: url(fonts/GigaSans-ExtraBold.otf) format("opentype"); font-weight: 800; font-display: swap; }

/* Keep these values in sync with docs/design-system/project/tokens.json. */
:root {
    --navy-700: #201d40;
    --navy-800: #1a1734;
    --navy-50: #f4f4f7;
    --ink-700: #4a4560;
    --ink-500: #6e6a80;
    --gold-500: #c39731;
    --gold-600: #b58c2e;
    --gold-ink: #5e4710;
    --gold-a12: rgba(195, 151, 49, 0.12);
    --red-600: #b3261e;
    --border-card: rgba(32, 29, 64, 0.1);
    --white-a82: rgba(255, 255, 255, 0.82);
    --sage-300: #82c2aa;
    --navy-a06: rgba(32, 29, 64, 0.06);
    --navy-a12: rgba(32, 29, 64, 0.12);
    /* The website has its own warm ground, because the app has no cream tone (D-249). */
    --cream: #fbf8f2;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Giga Sans", system-ui, -apple-system, sans-serif; color: var(--navy-700); background: #fff; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 10; padding: 10px 14px; background: #fff; border-radius: 8px; }

.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -0.3px; text-decoration: none; }
.brand img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 28px; font-weight: 500; font-size: 15px; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { text-decoration: underline; }

h1 { font-weight: 700; font-size: 54px; line-height: 1.08; letter-spacing: -1.4px; }
h2 { font-weight: 700; font-size: 36px; line-height: 1.15; letter-spacing: -0.8px; }
h3 { font-weight: 700; font-size: 19px; letter-spacing: -0.2px; }
p, li { font-weight: 400; font-size: 17px; line-height: 1.6; color: var(--navy-700); }
strong { font-weight: 700; color: var(--navy-700); }
.lede { font-size: 19px; line-height: 1.5; }

.hero { position: relative; color: #fff; background: var(--navy-700); }
.hero-photo { position: absolute; inset: 0; overflow: hidden; background: url(images/hero.jpg) center 30% / cover no-repeat; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(32, 29, 64, 0.95) 0%, rgba(32, 29, 64, 0.84) 45%, rgba(32, 29, 64, 0.45) 100%); }
.hero .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; }
.hero-content { padding: 96px 0 140px; }
.hero-mark { height: 84px; width: auto; margin-bottom: 28px; }
.hero h1 { font-size: 62px; letter-spacing: -1.9px; line-height: 1.03; }
.hero .lede { margin-top: 22px; max-width: 540px; color: var(--white-a82); }

/* The phone hangs 120px below the hero, so the next section adds the same space at its top. */
.hero-stage { position: relative; margin-bottom: -120px; align-self: end; height: 600px; }
.phone { position: absolute; right: 40px; bottom: 0; width: 280px; border-radius: 44px; padding: 10px; background: var(--navy-800); box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35); }
.phone img { border-radius: 34px; }
.float { position: absolute; z-index: 1; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 20px; background: #fff; color: var(--ink-700); font-size: 13.5px; line-height: 1.35; box-shadow: 0 18px 40px rgba(32, 29, 64, 0.22); }
.float strong { display: block; font-size: 15px; margin-bottom: 2px; }
.float-adviser { left: -10px; top: 150px; width: 280px; }
.float-keys { right: -10px; bottom: 90px; width: 230px; justify-content: space-between; background: var(--cream); }
.float-keys img { height: 40px; width: auto; }
.avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--navy-700); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }

section { padding: 96px 0; }
.section-title { max-width: 700px; font-size: 44px; letter-spacing: -1.2px; }

.journey { padding-top: 216px; background: var(--cream); }
.rail { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; padding: 0; list-style: none; }
.rail::before { content: ""; position: absolute; left: 18px; right: 18px; top: 17px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--sage-300) 0 37%, var(--navy-700) 37% 62%, var(--navy-a12) 62%); }
.stop { position: relative; display: flex; flex-direction: column; }
.stop-dot { position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 3px solid var(--navy-700); font-weight: 700; font-size: 14px; }
.stop-done .stop-dot { background: var(--sage-300); border-color: var(--sage-300); }
.stop-live .stop-dot { background: var(--navy-700); color: #fff; }
.stop h3 { margin: 20px 0 6px; font-size: 22px; }
.stop p { font-size: 16px; }
.shot { margin-top: auto; padding-top: 24px; }
.shot img { width: 100%; height: 300px; object-fit: cover; object-position: top; border-radius: 24px; border: 1px solid var(--border-card); background: #fff; }

.your-data { background: var(--navy-700); border-radius: 40px; margin: 24px; }
.your-data h2, .your-data h3 { color: #fff; }
.statements { margin-top: 48px; }
.statement { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; padding: 36px 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.statement h3 { font-size: 30px; letter-spacing: -0.6px; line-height: 1.15; }
.statement p { margin-top: 12px; color: var(--white-a82); font-size: 18px; }
.mini { display: grid; gap: 10px; padding: 20px; border-radius: 22px; background: rgba(255, 255, 255, 0.06); }
.mini-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #fff; color: var(--ink-700); font-size: 13.5px; }
.mini-row strong { display: block; font-size: 15px; }
.mini-icon { flex: none; width: 30px; height: 30px; border-radius: 8px; background: var(--navy-a06); display: grid; place-items: center; font-weight: 700; font-size: 13px; color: var(--navy-700); }
.tick { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--sage-300); display: grid; place-items: center; }
.tick::after { content: ""; width: 10px; height: 5px; border-left: 2px solid var(--navy-700); border-bottom: 2px solid var(--navy-700); transform: translate(0, -1px) rotate(-45deg); }

.pilot { padding: 120px 0; }
.pilot h2 { font-size: 52px; letter-spacing: -1.6px; line-height: 1.08; max-width: 820px; }
.pilot p { margin-top: 18px; max-width: 520px; font-size: 18px; }

.site-footer { background: var(--navy-700); padding: 64px 0 48px; }
.site-footer p { color: var(--white-a82); font-size: 14px; margin-top: 18px; max-width: 760px; }
.site-footer .risk-warning { border: 1.5px solid var(--gold-500); border-radius: 16px; padding: 18px 22px; margin: 0; max-width: none; color: #fff; font-weight: 700; font-size: 17px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 32px; font-weight: 500; font-size: 14px; color: #fff; }

.policy { padding: 48px 0 96px; }
.policy .wrap { max-width: 760px; }
.policy h1 { font-size: 44px; letter-spacing: -1px; }
.policy .updated { margin-top: 12px; color: var(--ink-700); font-size: 14px; }
.policy h2 { font-size: 26px; letter-spacing: -0.4px; margin-top: 52px; }
.policy h3 { margin-top: 28px; }
.policy p, .policy ul, .policy table { margin-top: 14px; }
.policy ul { padding-left: 22px; }
.policy li + li { margin-top: 6px; }
.policy table { width: 100%; border-collapse: collapse; font-size: 15px; }
.policy th, .policy td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--border-card); font-weight: 400; font-size: 17px; color: var(--navy-700); line-height: 1.5; }
.policy th { font-weight: 700; color: var(--navy-700); }
.policy .callout { margin-top: 20px; padding: 20px 24px; border-radius: 20px; background: var(--navy-50); }
.policy .callout p:first-child { margin-top: 0; }
.placeholder { color: var(--red-600); font-weight: 700; }
.policy-nav { border-bottom: 1px solid var(--border-card); }

@media (max-width: 760px) {
    .wrap { padding: 0 20px; }
    .nav-links { gap: 18px; }
    .nav-links .wide-only { display: none; }
    h1 { font-size: 38px; letter-spacing: -0.9px; }
    h2 { font-size: 28px; }
    section { padding: 64px 0; }
    .hero-photo::after { background: linear-gradient(180deg, rgba(32, 29, 64, 0.5) 0%, rgba(32, 29, 64, 0.93) 55%); }
    .hero-content { padding: 140px 0 72px; }
    .hero-mark { height: 64px; }
    .hero-grid { grid-template-columns: 1fr; gap: 0; }
    .hero-content { padding: 120px 0 48px; }
    .hero h1 { font-size: 40px; letter-spacing: -1px; }
    .hero-stage { height: 470px; margin-bottom: -80px; }
    .phone { left: 50%; right: auto; width: 230px; transform: translateX(-50%); }
    .float-adviser { left: 0; top: 40px; width: 250px; }
    .float-keys { right: 0; bottom: 60px; }
    .journey { padding-top: 144px; }
    .section-title { font-size: 32px; letter-spacing: -0.8px; }
    .rail { grid-template-columns: 1fr; gap: 40px; }
    .rail::before { left: 17px; right: auto; top: 18px; bottom: 18px; width: 3px; height: auto; background: linear-gradient(180deg, var(--sage-300) 0 50%, var(--navy-700) 50% 75%, var(--navy-a12) 75%); }
    .stop { padding-left: 56px; }
    .stop-dot { position: absolute; left: 0; top: 0; }
    .stop h3 { margin-top: 4px; }
    .shot img { height: 360px; max-width: 280px; }
    .your-data { margin: 12px; border-radius: 28px; }
    .statement { grid-template-columns: 1fr; gap: 24px; }
    .statement h3 { font-size: 24px; }
    .pilot h2 { font-size: 34px; letter-spacing: -0.9px; }
    .policy h1 { font-size: 34px; }
    .policy table, .policy thead, .policy tbody, .policy tr, .policy th, .policy td { display: block; }
    .policy thead { display: none; }
    .policy td { border: 0; padding: 2px 0; }
    .policy tr { border-bottom: 1px solid var(--border-card); padding: 12px 0; }
}
