/* Inter (SIL OFL, see fonts/Inter-OFL.txt) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/inter-latin-wght-normal.woff2) format("woff2");
}

:root {
  --navy: #0B1D39;
  --navy-2: #13284A;
  --navy-3: #2A3F5F;
  --paper: #FBF8F3;
  --paper-2: #F3EFE7;
  --white: #FFFFFF;
  --slate: #4B5A70;
  --mist: #C9D1DC;
  --haze: #EEF1F5;
  --line: #E4E0D7;
  --approved: #1E7A4F;
  --approved-soft: #E3F1EA;
  --pending: #E0A100;
  --pending-soft: #FBF1D6;
  --pending-text: #8A6200;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(11, 29, 57, .06), 0 12px 32px rgba(11, 29, 57, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 22px; border-radius: 12px;
  font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; transition: background .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 15px; border-radius: 10px; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-line { border-color: rgba(11, 29, 57, .25); color: var(--navy); }
.btn-line:hover { border-color: var(--navy); background: rgba(11, 29, 57, .03); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--haze); }
.btn-line-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-line-light:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid #6E9BE0; outline-offset: 2px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-row { display: flex; align-items: center; gap: 32px; height: 72px; }
.nav-logo img { width: 196px; height: auto; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--slate); }
.nav-links a:hover { color: var(--navy); }

/* ---------- Shared ---------- */
section { padding: 112px 0; }
.kicker { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--slate); margin-bottom: 16px; }
.kicker-light { color: var(--mist); }
.section-title { font-size: clamp(32px, 4.2vw, 48px); line-height: 1.08; max-width: 760px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 104px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5vw, 58px); line-height: 1.03; letter-spacing: -0.035em; margin-bottom: 24px; }
.hero .lede { font-size: 19px; color: var(--slate); max-width: 560px; margin-bottom: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 0; margin: 32px 0 0; list-style: none; font-size: 15px; font-weight: 500; color: var(--slate); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: var(--approved-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m5 9.5 2.5 2.5L13 6.5' fill='none' stroke='%231E7A4F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

.hero-flow { position: relative; display: grid; gap: 16px; padding: 8px 0; }
.hero-flow::before {
  content: ""; position: absolute; left: 50%; top: -40px; bottom: -40px; width: 140%; transform: translateX(-50%);
  background: radial-gradient(60% 50% at 55% 50%, rgba(11, 29, 57, .07), transparent 70%);
  z-index: -1;
}
.flow-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.flow-label { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--slate); margin-bottom: 12px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--navy); }
.dot-amber { background: var(--pending); box-shadow: 0 0 0 4px var(--pending-soft); }

.flow-chat { width: 78%; justify-self: start; }
.chat-photo { margin: 0 0 10px; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; }
.chat-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.voice { display: flex; align-items: center; gap: 10px; background: var(--haze); border-radius: 999px; padding: 6px 12px 6px 6px; }
.play { width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; flex: none; }
.wave { display: flex; align-items: center; gap: 3px; flex: 1; height: 20px; }
.wave i { width: 3px; border-radius: 2px; background: var(--slate); opacity: .55; }
.wave i:nth-child(3n) { height: 70%; } .wave i:nth-child(3n+1) { height: 40%; } .wave i:nth-child(3n+2) { height: 95%; }
.wave i:nth-child(5n) { height: 55%; }
.dur { font-size: 12px; font-weight: 600; color: var(--slate); font-variant-numeric: tabular-nums; }
.quote { font-size: 14px; color: var(--slate); font-style: italic; margin-top: 10px; line-height: 1.5; }

.flow-variation { width: 86%; justify-self: end; margin-top: -48px; position: relative; }
.var-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.var-ref { font-size: 12.5px; font-weight: 600; color: var(--slate); }
.var-title { font-size: 17px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; margin-top: 2px; }
.var-amt { text-align: right; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.var-amt span { display: block; font-size: 11.5px; font-weight: 500; color: var(--slate); letter-spacing: 0; }
.var-checks { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; font-size: 13.5px; color: var(--slate); }
.var-checks li { display: flex; gap: 8px; align-items: baseline; }
.var-checks li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mist); flex: none; transform: translateY(-1px); }
.var-checks li:first-child::before { background: var(--pending); }
.var-checks b { color: var(--navy); font-weight: 600; }

.flow-approved {
  width: max-content; max-width: 100%; justify-self: center; margin-top: -10px; position: relative;
  display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 999px;
  background: var(--navy); color: #fff; border-color: var(--navy);
}
.flow-approved .tick { width: 30px; height: 30px; border-radius: 50%; background: var(--approved); display: grid; place-items: center; flex: none; }
.flow-approved b { display: block; font-size: 14.5px; }
.flow-approved span { font-size: 12.5px; color: var(--mist); }

/* ---------- Problem ---------- */
.problem { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 96px 0; }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 48px; }
.problem-grid > div { border-top: 2px solid var(--navy); padding-top: 20px; }
.problem h3 { font-size: 19px; line-height: 1.3; margin-bottom: 10px; letter-spacing: -0.01em; }
.problem p { color: var(--slate); font-size: 16px; }

/* ---------- How ---------- */
.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px 20px; display: flex; flex-direction: column; }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 40px; right: -13px; width: 10px; height: 10px; z-index: 1;
  border-top: 2px solid var(--mist); border-right: 2px solid var(--mist); transform: rotate(45deg);
}
.step-n { width: 32px; height: 32px; border-radius: 10px; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px; margin-bottom: 18px; }
.steps h3 { font-size: 17px; line-height: 1.3; letter-spacing: -0.01em; margin-bottom: 8px; }
.steps p { font-size: 14.5px; color: var(--slate); line-height: 1.55; margin-bottom: 16px; }
.step-who { margin-top: auto; align-self: flex-start; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--haze); color: var(--slate); }
.steps li:nth-child(2) .step-who, .steps li:nth-child(3) .step-who { background: var(--pending-soft); color: var(--pending-text); }
.steps li:nth-child(5) .step-who { background: var(--approved-soft); color: var(--approved); }

.demo-band {
  margin-top: 32px; padding: 28px 32px; border-radius: var(--radius); background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.demo-band h3 { font-size: 22px; margin-bottom: 4px; }
.demo-band p { color: var(--mist); font-size: 15.5px; max-width: 620px; }

/* ---------- Savings ---------- */
.savings { background: var(--navy); color: #fff; }
.savings-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.savings-copy p { color: var(--mist); margin-top: 20px; max-width: 480px; }
.savings-copy .fine { font-size: 14px; color: #93A1B5; }
.calc { background: var(--navy-2); border: 1px solid var(--navy-3); border-radius: 20px; padding: 32px; display: grid; gap: 24px; }
.field { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; align-items: baseline; }
.field label { font-size: 15px; font-weight: 500; color: #DCE2EA; }
.field output { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.field input { grid-column: 1 / -1; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; margin: 0; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(to right, #fff var(--p, 50%), var(--navy-3) var(--p, 50%)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: linear-gradient(to right, #fff var(--p, 50%), var(--navy-3) var(--p, 50%)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; margin-top: -8px; box-shadow: 0 0 0 5px rgba(255, 255, 255, .15); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, .15); }
.results { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; padding-top: 8px; border-top: 1px solid var(--navy-3); margin-top: 4px; padding-top: 24px; }
.result { background: rgba(255, 255, 255, .06); border-radius: 14px; padding: 18px 20px; }
.result span { display: block; font-size: 13.5px; color: var(--mist); margin-bottom: 4px; }
.result strong { font-size: 28px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.result-main { background: #fff; color: var(--navy); }
.result-main span { color: var(--slate); }
.result-main strong { font-size: 36px; color: var(--approved); }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 56px; }
.feature { background: var(--paper); padding: 32px 28px; }
.feature svg { width: 28px; height: 28px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.feature h3 { font-size: 18px; letter-spacing: -0.01em; margin-bottom: 8px; }
.feature p { font-size: 15px; color: var(--slate); }

/* ---------- Setup ---------- */
.setup { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.setup-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; }
.setup-grid > div { position: sticky; top: 120px; }
.lede-sm { color: var(--slate); margin: 20px 0 32px; max-width: 440px; }
.setup-list { list-style: none; padding: 0; margin: 0; counter-reset: st; }
.setup-list li { counter-increment: st; position: relative; padding: 0 0 36px 64px; }
.setup-list li::before {
  content: counter(st); position: absolute; left: 0; top: -4px; width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--navy); display: grid; place-items: center; font-weight: 700; font-size: 16px; background: #fff;
}
.setup-list li:not(:last-child)::after { content: ""; position: absolute; left: 19.5px; top: 40px; bottom: 0; width: 1.5px; background: var(--line); }
.setup-list li:last-child::before { background: var(--navy); color: #fff; }
.setup-list h3 { font-size: 19px; letter-spacing: -0.01em; margin-bottom: 6px; }
.setup-list p { color: var(--slate); font-size: 16px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 72px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-size: 18px; font-weight: 600; letter-spacing: -0.01em;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); transition: transform .2s;
}
details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
details p { color: var(--slate); padding: 0 40px 24px 0; max-width: 680px; }

/* ---------- Final ---------- */
.final { background: var(--navy); color: #fff; text-align: center; }
.final-inner { display: flex; flex-direction: column; align-items: center; }
.final img { width: 96px; margin-bottom: 32px; }
.final h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.03em; }
.final p { color: var(--mist); font-size: 19px; margin: 16px 0 36px; }
.cta-center { justify-content: center; }

/* ---------- Footer ---------- */
.footer { padding: 40px 0 48px; }
.footer-row { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer-row nav { display: flex; gap: 24px; flex-wrap: wrap; font-size: 15px; }
.footer-row nav a { text-decoration: none; color: var(--slate); }
.footer-row nav a:hover { color: var(--navy); }
.footer-row p { margin-left: auto; font-size: 14px; color: var(--slate); }

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li:not(:last-child)::after { display: none; }
  .steps li:last-child { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  section { padding: 80px 0; }
  .nav-links { display: none; }
  .nav-row { justify-content: space-between; }
  .hero { padding: 40px 0 72px; }
  .hero-grid, .savings-grid, .setup-grid, .faq-wrap { grid-template-columns: 1fr; gap: 48px; }
  .setup-grid > div { position: static; }
  .problem-grid { grid-template-columns: 1fr; gap: 28px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .faq-wrap { gap: 24px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav-row { height: 64px; }
  .nav-logo img { width: 160px; }
  .hero .lede { font-size: 17px; }
  .cta-row .btn { flex: 1 1 100%; }
  .flow-chat, .flow-variation { width: 100%; }
  .flow-variation { margin-top: 0; }
  .flow-approved { margin-top: 0; }
  .var-head { flex-direction: column; gap: 6px; }
  .var-amt { text-align: left; }
  .steps { grid-template-columns: 1fr; }
  .demo-band { flex-direction: column; align-items: stretch; padding: 24px; }
  .calc { padding: 22px; }
  .results { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-row p { margin-left: 0; }
}
