:root {
  --navy-900: #071224;
  --navy-800: #0A1A30;
  --navy-700: #11264A;
  --navy-600: #1A3563;
  --accent: #8FB4E8;       /* light steel blue, the highlight inside the navy family */
  --paper: #F5F2EB;
  --paper-2: #ECE7DC;
  --card: #FFFDF8;
  --ink: #0A1A30;
  --ink-soft: rgba(10, 26, 48, 0.66);
  --rule: rgba(10, 26, 48, 0.10);
  --on-dark-soft: rgba(245, 242, 235, 0.70);
  --on-dark-rule: rgba(245, 242, 235, 0.14);
  --r-lg: 24px;
  --r-md: 16px;
  --head: "Sora", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
ul, ol { list-style: none; }
svg { display: block; }

.wrap { width: min(1200px, 100% - 48px); margin: 0 auto; }

/* ---------- type ---------- */
h1, h2, h3, .kicker, .label, .btn, .pill { font-family: var(--head); }
h1 {
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
h1 em, h2 em { font-style: normal; color: var(--accent); }
.section-title {
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 820px;
  margin-bottom: 56px;
}
.section-title em { color: var(--navy-600); }
.label {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

/* ---------- wordmark ---------- */
.wordmark { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.wm-main { font-family: var(--head); font-weight: 600; font-size: 17px; letter-spacing: 0.32em; }
.wm-sub { font-family: var(--head); font-weight: 400; font-size: 8.5px; letter-spacing: 0.56em; margin-top: 6px; opacity: 0.7; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  color: var(--paper);
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: rgba(7, 18, 36, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--on-dark-rule);
}
.nav-inner { width: min(1200px, 100% - 48px); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 14px; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--on-dark-soft); transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--paper); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 500;
  text-decoration: none;
  padding: 16px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .2s, background .2s, color .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-light { background: var(--paper); color: var(--navy-800); box-shadow: 0 8px 30px rgba(143, 180, 232, 0.18); }
.btn-light:hover { background: #fff; box-shadow: 0 10px 36px rgba(143, 180, 232, 0.32); }
.btn-outline { color: var(--paper); border-color: var(--on-dark-rule); }
.btn-outline:hover { border-color: var(--paper); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 80% 0%, var(--navy-700) 0%, var(--navy-800) 45%, var(--navy-900) 100%);
  color: var(--paper);
  padding: 168px 0 0;
}
.glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.glow-a { width: 520px; height: 520px; right: -120px; top: 60px; background: rgba(143, 180, 232, 0.22); }
.glow-b { width: 420px; height: 420px; left: -160px; bottom: -120px; background: rgba(26, 53, 99, 0.9); }
.waves { position: absolute; left: 0; right: 0; bottom: 70px; width: 100%; height: 360px; opacity: 0.5; pointer-events: none; }
.waves path { fill: none; stroke: rgba(143, 180, 232, 0.22); stroke-width: 1.2; }
.waves path:nth-child(2) { stroke: rgba(143, 180, 232, 0.14); }
.waves path:nth-child(3) { stroke: rgba(143, 180, 232, 0.08); }

.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 400; letter-spacing: 0.02em;
  padding: 8px 16px;
  border: 1px solid var(--on-dark-rule);
  border-radius: 999px;
  background: rgba(245, 242, 235, 0.04);
  color: var(--on-dark-soft);
  margin-bottom: 32px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(143, 180, 232, 0.18); }
.lede { max-width: 560px; margin-top: 28px; font-size: 18px; color: var(--on-dark-soft); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* hero visual: the call-flow card */
.hero-visual { position: relative; }
.phone-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  border: 1px solid var(--on-dark-rule);
  border-radius: var(--r-lg);
  padding: 22px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35);
}
.pc-head { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 18px; }
.pc-title { font-family: var(--head); font-size: 14px; font-weight: 500; }
.pc-tag { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-soft); border: 1px solid var(--on-dark-rule); border-radius: 999px; padding: 4px 10px; }
.flow { display: grid; gap: 10px; }
.flow-item {
  display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center;
  background: rgba(7, 18, 36, 0.55);
  border: 1px solid var(--on-dark-rule);
  border-radius: var(--r-md);
  padding: 14px 16px;
}
/* the reveal only runs once JS has marked the card as on-screen; without JS everything shows */
.js .flow-item { opacity: 0; transform: translateY(10px); }
.js .phone-card.play .flow-item { animation: rise .6s ease forwards; }
.js .phone-card.play .flow-item:nth-child(1) { animation-delay: .2s; }
.js .phone-card.play .flow-item:nth-child(2) { animation-delay: 1s; }
.js .phone-card.play .flow-item:nth-child(3) { animation-delay: 1.8s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.fi-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(245, 242, 235, 0.08); }
.fi-icon svg { width: 18px; height: 18px; fill: none; stroke: var(--paper); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fi-icon.live { background: rgba(143, 180, 232, 0.2); }
.fi-icon.live svg { fill: var(--accent); stroke: none; }
.fi-icon.done { background: var(--paper); }
.fi-icon.done svg { stroke: var(--navy-800); stroke-width: 2.2; }
.fi-main { font-size: 14.5px; font-weight: 500; }
.fi-sub { font-size: 13px; color: var(--on-dark-soft); margin-top: 2px; }
.fi-time { font-size: 12px; color: var(--on-dark-soft); font-variant-numeric: tabular-nums; }
.fi-time.accent { color: var(--accent); font-weight: 600; }
.eq { display: flex; align-items: center; gap: 3px; height: 18px; margin-top: 6px; }
.eq i { width: 3px; border-radius: 2px; background: var(--accent); height: 30%; animation: eq 1.1s ease-in-out infinite; }
.eq i:nth-child(3n) { animation-delay: -.3s; }
.eq i:nth-child(3n+1) { animation-delay: -.6s; }
.eq i:nth-child(4n) { animation-delay: -.9s; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }

.built-strip {
  position: relative;
  display: flex; align-items: center; flex-wrap: wrap; gap: 18px 28px;
  margin-top: 120px;
  padding: 28px 0 32px;
  border-top: 1px solid var(--on-dark-rule);
  font-family: var(--head); font-size: 18px; font-weight: 400;
}
.bs-label { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--on-dark-soft); margin-right: 8px; }
.sep { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); opacity: .7; }

/* ---------- sections ---------- */
section:not(.hero) { padding: clamp(88px, 12vh, 140px) 0; }
section[id] { scroll-margin-top: 80px; }

.statement { font-family: var(--head); font-weight: 400; font-size: clamp(26px, 3vw, 40px); line-height: 1.25; letter-spacing: -0.025em; max-width: 960px; }
.statement .mute { color: var(--ink-soft); }
.statement-sm { margin-top: 32px; font-size: 19px; color: var(--ink-soft); max-width: 620px; }

.services { background: var(--paper-2); }
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.svc-card {
  position: relative; overflow: hidden;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 44px 40px 40px;
  transition: transform .25s, box-shadow .25s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(10, 26, 48, 0.10); }
.svc-num {
  position: absolute; top: 18px; right: 28px;
  font-family: var(--head); font-weight: 600; font-size: 96px; line-height: 1;
  color: rgba(10, 26, 48, 0.05);
}
.kicker {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--navy-600);
  background: rgba(143, 180, 232, 0.22);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 24px;
}
.svc-card h3 { font-weight: 500; font-size: 26px; line-height: 1.25; letter-spacing: -0.02em; margin-bottom: 16px; max-width: 420px; }
.svc-body { color: var(--ink-soft); }
.checks { margin-top: 28px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; font-size: 15.5px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--navy-800) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8.5' fill='none' stroke='%23F5F2EB' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 36px 32px; }
.step-n {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy-800); color: var(--paper);
  font-family: var(--head); font-weight: 500; font-size: 16px;
  margin-bottom: 28px;
}
.step h3 { font-weight: 500; font-size: 22px; margin-bottom: 10px; }
.step p { color: var(--ink-soft); }

.principles { padding-top: 0 !important; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prin { padding: 8px 4px; }
.prin-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(143, 180, 232, 0.25); margin-bottom: 22px; }
.prin-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--navy-700); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.prin h3 { font-weight: 500; font-size: 20px; margin-bottom: 8px; }
.prin p { color: var(--ink-soft); }

.closing { padding-top: 0 !important; }
.closing-panel {
  position: relative; overflow: hidden;
  text-align: center;
  background: radial-gradient(90% 120% at 50% 0%, var(--navy-700), var(--navy-900));
  color: var(--paper);
  border-radius: 32px;
  padding: clamp(64px, 10vw, 120px) 32px;
}
.glow-c { width: 600px; height: 300px; left: 50%; top: -120px; transform: translateX(-50%); background: rgba(143, 180, 232, 0.25); }
.closing-panel h2 { position: relative; font-weight: 400; font-size: clamp(32px, 4.4vw, 58px); line-height: 1.1; letter-spacing: -0.03em; max-width: 820px; margin: 0 auto 44px; }
.closing-panel .btn { position: relative; }
.contact { position: relative; margin-top: 24px; color: var(--on-dark-soft); font-size: 15px; }

/* ---------- footer ---------- */
.footer { padding: 36px 0 48px; color: var(--ink-soft); font-size: 13px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--rule); padding-top: 32px; }
.wordmark.small { color: var(--ink); }
.wordmark.small .wm-main { font-size: 14px; }

/* ---------- sticky CTA ---------- */
.sticky-cta {
  position: fixed; left: 50%; bottom: 20px; z-index: 30;
  width: min(760px, 100% - 32px);
  transform: translate(-50%, 160%);
  opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
}
.sticky-cta.show { transform: translate(-50%, 0); opacity: 1; }
.sc-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(7, 18, 36, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--paper);
  border: 1px solid var(--on-dark-rule);
  border-radius: 999px;
  padding: 10px 10px 10px 26px;
  box-shadow: 0 20px 50px rgba(7, 18, 36, 0.35);
}
.sc-text { display: flex; flex-direction: column; line-height: 1.3; font-size: 13px; }
.sc-text strong { font-family: var(--head); font-weight: 500; font-size: 14px; }
.sc-text span { color: var(--on-dark-soft); }

@media (prefers-reduced-motion: reduce) {
  .js .flow-item, .js .phone-card.play .flow-item { animation: none; opacity: 1; transform: none; }
  .eq i { animation: none; height: 60%; }
  html { scroll-behavior: auto; }
}

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .hero { padding-top: 128px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .built-strip { margin-top: 72px; }
  .cards-2, .steps, .cards-3 { grid-template-columns: 1fr; }
  .svc-card { padding: 36px 26px 32px; }
  .svc-num { font-size: 72px; }
}
@media (max-width: 640px) {
  .nav-links a:not(.btn) { display: none; }
  .wm-main { font-size: 14px; letter-spacing: 0.26em; }
  .cta-row .btn { width: 100%; justify-content: center; }
  .sc-text span { display: none; }
  .sc-text strong { font-size: 13px; white-space: nowrap; }
  .sc-inner { padding-left: 20px; }
  .built-strip { gap: 10px 22px; font-size: 17px; }
  .built-strip .sep { display: none; }
  .bs-label { width: 100%; }
  .flow-item { grid-template-columns: 36px 1fr; }
  .fi-time { grid-column: 2; }
}
