:root {
  --black: #0e192a;
  --panel: #172335;
  --white: #ffffff;
  --mint: #f3fbf8;
  --green: #19c99a;
  --green-dark: #079e7a;
  --ink: #080b0a;
  --muted: #5e6662;
  --dark-muted: #aab1ad;
  --line: #d9dfdc;
  --dark-line: #303633;
  --danger: #ff424d;
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--font); line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(calc(100% - 3rem), var(--shell)); margin-inline: auto; }
.dark-section { color: var(--white); background: var(--black); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 0.5rem; left: 0.5rem; padding: 0.7rem 1rem; background: var(--white); color: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: absolute; z-index: 20; inset: 0 0 auto; color: var(--white); background: var(--black); border-bottom: 1px solid rgba(255,255,255,0.08); }
.nav { min-height: 96px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; }
.brand, .closing-brand { display: inline-flex; align-items: center; gap: 0.72rem; width: fit-content; text-decoration: none; font-size: 1.36rem; font-weight: 800; letter-spacing: -0.035em; }
.brand img { width: 3rem; height: 3rem; border-radius: 11px; }
.nav-links { display: flex; align-items: center; gap: 2.15rem; color: #e5e8e6; font-size: 0.9rem; font-weight: 500; }
.nav-links a { text-decoration: none; transition: color 160ms ease; }
.nav-links a:hover { color: var(--green); }
.nav-cta, .button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.35rem; padding: 0 1.3rem; border: 1px solid var(--green); border-radius: 8px; background: var(--green); color: #001d11; text-decoration: none; font-size: 0.9rem; font-weight: 800; box-shadow: 0 12px 34px rgba(0,200,117,0.12); transition: background 170ms ease, border-color 170ms ease, transform 170ms ease; }
.nav-cta { justify-self: end; min-height: 3.1rem; }
.button:hover, .nav-cta:hover { background: #0de08a; border-color: #0de08a; transform: translateY(-2px); }
.menu-button { display: none; width: 2.8rem; height: 2.8rem; padding: 0; border: 0; background: transparent; color: var(--white); }
.menu-button svg { width: 1.7rem; fill: none; stroke: currentColor; stroke-width: 1.7; }
.nav a:focus-visible, .button:focus-visible, .menu-button:focus-visible, .footer a:focus-visible { outline: 3px solid rgba(0,200,117,0.42); outline-offset: 4px; }

.hero { position: relative; min-height: 820px; overflow: hidden; padding-top: 96px; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(390px, 0.82fr); align-items: center; gap: 4rem; min-height: 724px; }
.hero-copy { padding: 5.5rem 0 5rem; }
.hero h1, .section-title, .closing-section h2, .legal-hero h1 { margin: 0; font-weight: 800; letter-spacing: -0.065em; line-height: 0.98; }
.hero h1 { max-width: 720px; font-size: clamp(4.1rem, 6.2vw, 6rem); }
.hero-copy > p { max-width: 620px; margin: 2rem 0 0; color: #bec4c1; font-size: 1.08rem; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 2rem; margin-top: 2.25rem; }
.text-link { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--green); text-decoration: none; font-size: 0.92rem; font-weight: 700; }
.text-link svg { width: 1.2rem; fill: none; stroke: currentColor; stroke-width: 2; }
.hero-media { align-self: end; display: flex; align-items: flex-end; justify-content: center; height: 700px; overflow: hidden; }
.phone-frame { width: min(100%, 320px); padding: 9px; border: 1px solid rgba(255,255,255,0.18); border-radius: 48px; background: #111827; box-shadow: 0 34px 90px rgba(0,0,0,0.32); overflow: hidden; }
.phone-frame img { width: 100%; height: auto; border-radius: 39px; }
.phone-frame-hero { width: min(100%, 330px); transform: translateY(58px); }
.hero-notch { position: absolute; left: 50%; bottom: -1px; width: 4rem; height: 1.5rem; background: var(--mint); clip-path: polygon(0 100%, 50% 0, 100% 100%); transform: translateX(-50%); }

.how-section { padding: 7rem 0 7.5rem; background: var(--mint); overflow: hidden; }
.section-title { font-size: clamp(3.3rem, 5.4vw, 5.45rem); }
.section-title span { color: var(--green-dark); }
.flow-media { max-width: 920px; margin: 2.5rem auto 4.5rem; }
.phone-pair { display: flex; align-items: flex-start; justify-content: center; gap: clamp(1rem, 5vw, 4.5rem); }
.flow-media .phone-frame { width: min(41vw, 315px); border-color: #d9e2de; background: #111827; box-shadow: 0 28px 70px rgba(8, 35, 24, 0.14); }
.phone-frame-result { transform: translateY(4.5rem); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 0.5rem; border-top: 1px solid #aeb8b2; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.35rem; padding: 2.15rem 2rem 0; border-left: 1px solid #aeb8b2; }
.step:first-child { padding-left: 0; border-left: 0; }
.step-number { color: var(--green-dark); font-size: 2.8rem; font-weight: 800; letter-spacing: -0.06em; line-height: 1; }
.step h3, .capability h3, .trust-item h3 { margin: 0; font-size: 1.28rem; font-weight: 800; letter-spacing: -0.035em; line-height: 1.22; }
.step p { max-width: 290px; margin: 0.75rem 0 0; color: var(--muted); font-size: 0.94rem; }

.capabilities-section { overflow: hidden; }
.capabilities-inner { display: grid; grid-template-columns: minmax(0, 0.97fr) minmax(370px, 0.8fr); gap: 4.5rem; align-items: center; min-height: 950px; padding-block: 7rem; }
.section-lede { max-width: 620px; margin: 1.65rem 0 2.8rem; color: var(--dark-muted); font-size: 1rem; }
.capability-list { border-top: 1px solid var(--dark-line); }
.capability { display: grid; grid-template-columns: 5.2rem 1fr 1.5rem; gap: 1.4rem; align-items: center; min-height: 145px; border-bottom: 1px solid var(--dark-line); }
.capability > span { color: var(--green); font-size: 3.2rem; font-weight: 800; letter-spacing: -0.07em; }
.capability h3 { color: var(--white); }
.capability p { max-width: 390px; margin: 0.45rem 0 0; color: var(--dark-muted); font-size: 0.92rem; }
.capability svg { width: 1.4rem; fill: none; stroke: var(--green); stroke-width: 1.7; }
.capabilities-media { position: relative; height: 780px; align-self: center; align-items: center; gap: 0; }
.capabilities-media .phone-frame { position: relative; width: min(76%, 285px); flex: 0 0 auto; }
.capabilities-media .phone-frame:first-child { z-index: 2; transform: translateX(12%); }
.capabilities-media .phone-frame-secondary { z-index: 1; transform: translate(-12%, 4.75rem); opacity: 0.88; }

.trust-section { padding: 7rem 0 6.5rem; background: var(--white); }
.trust-intro p { max-width: 650px; margin: 1.75rem 0 0; color: #414844; font-size: 1rem; }
.trust-list { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 3.5rem; }
.trust-item { display: grid; grid-template-columns: 3.1rem 1fr; gap: 1.15rem; padding: 0 2.6rem; border-left: 1px solid var(--line); }
.trust-item:first-child { padding-left: 0; border-left: 0; }
.trust-item svg { width: 2.8rem; fill: none; stroke: var(--green-dark); stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.trust-item p { margin: 0.65rem 0 0; color: var(--muted); font-size: 0.93rem; }

.closing-section { padding: 5rem 0 3.5rem; background: #01102e; }
.closing-inner { border-bottom: 1px solid var(--dark-line); padding-bottom: 4rem; }
.closing-brand { padding: 0; }
.closing-brand img { width: clamp(9rem, 18vw, 11rem); height: auto; border-radius: 24%; }
.closing-section h2 { max-width: 940px; margin-top: 1.55rem; font-size: clamp(2.8rem, 4.7vw, 4.7rem); }
.closing-section p { margin: 1rem 0 0; color: var(--dark-muted); }
.closing-section .button { margin-top: 1.5rem; }
.footer { padding: 0 0 2.6rem; background: #01102e; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; color: #aeb4b1; font-size: 0.83rem; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--green); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 650ms ease, transform 650ms ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .button, .nav-cta { transition: none; } }

/* Legal and support pages */
.legal-body { background: var(--mint); }
.legal-body .site-header { position: relative; }
.legal-hero { padding: 5.5rem 0 4.2rem; color: var(--white); background: var(--black); }
.legal-hero h1 { font-size: clamp(3.6rem, 7vw, 6.4rem); }
.legal-hero p { max-width: 700px; margin: 1.4rem 0 0; color: var(--dark-muted); }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 5rem; align-items: start; padding-block: 4.5rem 6rem; }
.legal-aside { position: sticky; top: 2rem; display: grid; gap: 0.6rem; font-size: 0.82rem; }
.legal-aside a { color: var(--muted); text-decoration: none; }
.legal-aside a:hover { color: var(--green-dark); }
.legal-card { padding: 3.3rem; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 70px rgba(4,20,12,0.06); }
.legal-card h2 { margin: 2.8rem 0 0.8rem; font-size: 1.55rem; line-height: 1.2; letter-spacing: -0.04em; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card h3 { margin: 1.8rem 0 0.5rem; font-size: 1.02rem; }
.legal-card p, .legal-card li { color: #4f5853; font-size: 0.94rem; }
.legal-card ul { padding-left: 1.25rem; }
.legal-card a { color: var(--green-dark); }
.legal-meta { margin: 0 0 2rem; color: #737c77; font-size: 0.82rem; }
.support-options { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.support-option { padding: 1.5rem; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; }
.support-option strong { display: block; color: var(--ink); }
.support-option span { display: block; margin-top: 0.3rem; color: var(--muted); font-size: 0.87rem; }

@media (max-width: 1000px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-cta { display: none; }
  .hero-inner, .capabilities-inner { grid-template-columns: 1fr 0.72fr; gap: 1rem; }
  .hero h1 { font-size: clamp(3.5rem, 7vw, 5.2rem); }
  .hero-media { height: 620px; }
  .flow-media { margin-top: 2rem; }
  .steps { gap: 0; }
  .step { grid-template-columns: 1fr; padding-inline: 1.4rem; }
  .capabilities-inner { grid-template-columns: 1.04fr 0.7fr; }
  .capabilities-media { height: 650px; }
  .trust-item { grid-template-columns: 1fr; padding-inline: 1.7rem; }
  .legal-layout { grid-template-columns: 1fr; gap: 2rem; }
  .legal-aside { position: static; display: flex; flex-wrap: wrap; gap: 0.7rem 1.2rem; }
}

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 2rem), var(--shell)); }
  .site-header { position: absolute; }
  .nav { min-height: 76px; }
  .brand { font-size: 1.08rem; }
  .brand img { width: 2.4rem; height: 2.4rem; border-radius: 8px; }
  .menu-button { display: grid; place-items: center; justify-self: end; }
  .nav-links { position: fixed; inset: 76px 0 auto; display: grid; align-content: start; gap: 0; padding: 1rem; background: var(--black); border-top: 1px solid var(--dark-line); border-bottom: 1px solid var(--dark-line); transform: translateY(-140%); opacity: 0; pointer-events: none; transition: transform 200ms ease, opacity 200ms ease; }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 1rem 0.5rem; border-bottom: 1px solid var(--dark-line); font-size: 1rem; }
  .nav-links a:last-child { border-bottom: 0; }
  .hero { min-height: auto; padding-top: 76px; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 4.5rem 0 1.5rem; }
  .hero h1 { font-size: clamp(3.25rem, 15vw, 4.5rem); }
  .hero-copy > p { margin-top: 1.5rem; font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.1rem; }
  .hero-media { height: 570px; }
  .phone-frame-hero { width: min(88%, 330px); }
  .how-section, .trust-section { padding-block: 5rem; }
  .section-title { font-size: clamp(2.9rem, 12vw, 4rem); }
  .flow-media { width: 112%; margin: 2.5rem 0 5rem -6%; gap: 0.8rem; }
  .flow-media .phone-frame { width: min(47%, 285px); padding: 6px; border-radius: 34px; }
  .flow-media .phone-frame img { border-radius: 28px; }
  .phone-frame-result { transform: translateY(3rem); }
  .steps { grid-template-columns: 1fr; margin-top: 1.5rem; border-top: 0; }
  .step, .step:first-child { grid-template-columns: 4.3rem 1fr; padding: 1.7rem 0; border-top: 1px solid #aeb8b2; border-left: 0; }
  .step-number { font-size: 2.5rem; }
  .capabilities-inner { grid-template-columns: 1fr; min-height: 0; padding-block: 5rem 3rem; }
  .capability { grid-template-columns: 4rem 1fr 1.3rem; min-height: 132px; }
  .capability > span { font-size: 2.4rem; }
  .capabilities-media { height: 620px; order: 2; }
  .capabilities-media .phone-frame { width: min(68%, 270px); padding: 7px; border-radius: 38px; }
  .capabilities-media .phone-frame img { border-radius: 31px; }
  .trust-intro p { font-size: 0.95rem; }
  .trust-list { grid-template-columns: 1fr; margin-top: 2.5rem; }
  .trust-item, .trust-item:first-child { grid-template-columns: 3rem 1fr; padding: 1.7rem 0; border-top: 1px solid var(--line); border-left: 0; }
  .closing-section { padding-top: 4rem; }
  .closing-section h2 { font-size: clamp(2.7rem, 11vw, 4rem); }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-links { flex-wrap: wrap; gap: 0.8rem 1.4rem; }
  .legal-body .site-header { position: relative; }
  .legal-hero { padding-block: 4rem 3.2rem; }
  .legal-hero h1 { font-size: clamp(3.2rem, 15vw, 4.8rem); }
  .legal-layout { padding-block: 2rem 4rem; }
  .legal-card { padding: 1.5rem; border-radius: 10px; }
  .support-options { grid-template-columns: 1fr; }
}
