/* Aligned KPIs marketing site — shared styles (v2, Oct 2026).
   Tokens follow Brand Strategy.md, Appendix D. Apple-inspired: generous space, quiet surfaces, one accent. */

*,*::before,*::after { box-sizing: border-box; }
html,body { margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
img,svg,picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

:root {
  --navy: #16314f;
  --blue: #2178c4;
  --blue-70: #64a1d5;
  --blue-40: #9bc2e4;
  --green: #6fb52c;
  --green-ink: #3f8f1f;      /* green darkened for text on light */
  --bg: #f5f5f7;
  --surface: #ffffff;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --ice: #aec2da;
  --pale: #cfe0f2;
  --line: #e3e6ea;
  --red: #d6455a;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-1: 0 1px 2px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);
  --shadow-2: 0 2px 6px rgba(0,0,0,0.06), 0 30px 60px -20px rgba(0,0,0,0.18);
  --shadow-shot: 0 0 0 1px rgba(0,0,0,0.05), 0 60px 120px -30px rgba(0,0,0,0.28), 0 30px 60px -30px rgba(22,49,79,0.26);
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  --navy-grad: radial-gradient(60% 90% at 85% 0%, rgba(111,181,44,0.20), transparent 60%),
               radial-gradient(50% 80% at 8% 100%, rgba(33,120,196,0.30), transparent 60%),
               linear-gradient(160deg, #1c3d61 0%, #16314f 55%, #102944 100%);
}

body { font-family: var(--font-text); color: var(--ink); background: var(--bg); line-height: 1.5; letter-spacing: -0.005em; overflow-x: hidden; }

/* ---------- Type ---------- */
.display { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; margin: 0; }
h1.display { font-size: clamp(42px, 6.4vw, 88px); }
h2.display { font-size: clamp(32px, 4.3vw, 56px); }
h3.display { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.02em; line-height: 1.15; }
.eyebrow { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.16em; font-weight: 600; font-size: 12px; color: var(--blue); }
.lede { font-size: clamp(18px, 1.45vw, 22px); color: var(--ink-2); line-height: 1.45; margin: 0; max-width: 62ch; }
.small, .note { font-size: 13px; color: var(--muted); }
.accent { color: var(--blue); }
.grow { color: var(--green-ink); }
p { margin: 0 0 1em; }

/* ---------- Layout ---------- */
.wrap { width: min(1180px, 92vw); margin-inline: auto; }
.wrap.narrow { width: min(900px, 92vw); }
section { padding: clamp(72px, 11vh, 140px) 0; position: relative; }
section + section { padding-top: clamp(24px, 6vh, 90px); }
.sec-head { text-align: center; max-width: 820px; margin: 0 auto; }
.sec-head h2 { margin: 12px auto 0; max-width: 22ch; }
.sec-head .lede { margin: 18px auto 0; }
.sec-head.left { text-align: left; margin: 0; }
.sec-head.left h2, .sec-head.left .lede { margin-left: 0; }
.center { text-align: center; }

/* ---------- Launch banner ---------- */
.announce { background: var(--navy); color: rgba(255,255,255,0.88); font-size: 13.5px; text-align: center; padding: 9px 0; }
.announce .tag { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); background: #c7e79a; border-radius: 999px; padding: 2px 8px; margin-right: 8px; vertical-align: 1px; }
.announce a { color: #fff; font-weight: 600; margin-left: 6px; white-space: nowrap; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(245,245,247,0.78); border-bottom: 1px solid rgba(0,0,0,0.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 20px; }
.brand-logo { height: 32px; width: auto; }
.nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--ink-2); }
.nav ul a:hover, .nav ul a.current { color: var(--ink); }
.nav ul a.current { font-weight: 600; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-login { font-size: 14px; color: var(--ink-2); }
.nav-login:hover { color: var(--ink); }
.nav-cta { background: var(--ink); color: #fff; padding: 9px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 500; white-space: nowrap; transition: background .2s ease, transform .2s ease; }
.nav-cta:hover { background: #000; transform: translateY(-1px); }
.nav-toggle { display: none; background: transparent; border: 0; width: 40px; height: 40px; padding: 8px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav .m-only { display: none; }
@media (max-width: 920px) {
  .nav-toggle { display: flex; }
  .nav-login { display: none; }
  .nav .m-only { display: list-item; }
  .nav ul { display: none; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(245,245,247,0.98); border-bottom: 1px solid var(--line); padding: 6px 0; box-shadow: 0 24px 40px -24px rgba(0,0,0,0.3); }
  .nav.open ul { display: flex; }
  .nav ul a { display: block; padding: 13px 24px; font-size: 16px; }
}
@media (max-width: 420px) { .nav-cta { padding: 8px 12px; font-size: 12.5px; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 500; font-size: 15.5px;
  border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; text-align: center; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-primary:hover { background: #000; transform: translateY(-1px); box-shadow: 0 12px 28px rgba(0,0,0,0.22); }
.btn-ghost { color: var(--ink); border-color: rgba(0,0,0,0.18); background: rgba(255,255,255,0.65); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-1px); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-outline-light:hover { border-color: #fff; }
.arrow { transition: transform .2s ease; }
.btn:hover .arrow, .link:hover .arrow { transform: translateX(3px); }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.ctas.center { justify-content: center; }
.link { color: var(--blue); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(64px, 10vh, 120px); padding-bottom: clamp(40px, 7vh, 80px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto -10%; height: 90%; pointer-events: none; z-index: 0; filter: blur(20px);
  background: radial-gradient(40% 60% at 20% 30%, rgba(33,120,196,0.16), transparent 60%),
              radial-gradient(50% 60% at 80% 10%, rgba(111,181,44,0.16), transparent 60%),
              radial-gradient(40% 50% at 70% 70%, rgba(22,49,79,0.08), transparent 60%); }
.hero > .wrap { position: relative; z-index: 1; }
.hero .center h1 { margin: 16px auto 20px; max-width: 18ch; }
.hero .center .lede { margin: 0 auto; }
.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-split h1 { margin: 16px 0 22px; font-size: clamp(40px, 4.8vw, 64px); }
.hero-split h1 span { display: block; }
@media (max-width: 960px) { .hero-split { grid-template-columns: 1fr; } }
.ticks { display: flex; gap: 10px 20px; flex-wrap: wrap; margin-top: 18px; font-size: 13.5px; color: var(--ink-2); }
.ticks span { display: inline-flex; gap: 6px; align-items: center; }
.ck { color: var(--green); font-weight: 700; flex: 0 0 auto; }
.x { color: var(--red); font-weight: 700; flex: 0 0 auto; }

/* ---------- Product shots ---------- */
.shot { border-radius: var(--radius-lg); overflow: hidden; background: #f4f6f9; box-shadow: var(--shadow-shot); }
.shot.md { border-radius: var(--radius-md); }
.shot-wide { margin: clamp(40px, 6vw, 72px) auto 0; max-width: 1180px; }
.shot-cap { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 14px; }

/* ---------- Logo strip ---------- */
.logos { margin-top: clamp(48px, 7vw, 84px); text-align: center; }
.logos p { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 20px; }
.logo-row { display: flex; align-items: center; justify-content: center; gap: clamp(22px, 4vw, 56px); flex-wrap: wrap; }
.logo-row img { height: 40px; width: auto; filter: grayscale(1); opacity: 0.7; transition: filter .3s, opacity .3s; }
.logo-row img:hover { filter: none; opacity: 1; }
@media (max-width: 560px) { .logo-row img { height: 30px; } .logo-row { gap: 18px 26px; } .announce { font-size: 12.5px; padding: 8px 12px; } }
.logo-row .ms { height: 40px; width: 40px; border-radius: 10px; background: #1d1d1f; display: grid; place-items: center; opacity: 0.7; }
.logo-row .ms img { height: 24px; filter: none; opacity: 1; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: clamp(14px, 1.7vw, 22px); margin-top: clamp(34px, 4.5vw, 56px); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .g3 { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } .g2 { grid-template-columns: 1fr; max-width: 600px; margin-inline: auto; } }
@media (max-width: 560px) { .g4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); padding: clamp(26px, 2.8vw, 36px); }
.card.sm { border-radius: var(--radius-md); padding: clamp(22px, 2.3vw, 28px); }
.card .kicker { font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.card h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; font-size: clamp(19px, 1.8vw, 22px); line-height: 1.22; margin: 10px 0 10px; color: var(--ink); }
.card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.card p + p { margin-top: 10px; }
.card.navy { background: var(--navy-grad); border-color: transparent; box-shadow: var(--shadow-2); color: #fff; }
.card.navy h3 { color: #fff; }
.card.navy p { color: rgba(255,255,255,0.82); }
.card.navy .kicker { color: #c7e79a; }
.ic { width: 44px; height: 44px; border-radius: 13px; display: flex; align-items: center; justify-content: center; color: var(--blue); margin-bottom: 16px;
  background: linear-gradient(160deg, rgba(33,120,196,0.14), rgba(111,181,44,0.12)); }
.ic svg { width: 22px; height: 22px; }
.card.navy .ic { color: #c7e79a; background: rgba(111,181,44,0.18); }

.checks { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.checks li b { color: var(--ink); font-weight: 600; }
.card.navy .checks li { color: rgba(255,255,255,0.82); }
.card.navy .checks li b { color: #fff; }
.card.navy .ck { color: #a6d96a; }

.quotes { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.quotes li { font-size: 15px; line-height: 1.5; color: var(--ink-2); font-style: italic; padding-left: 14px; border-left: 2px solid var(--line); }

/* proof row (three short claims under a shot) */
.proof { display: flex; justify-content: center; gap: clamp(18px, 3vw, 44px); flex-wrap: wrap; margin-top: clamp(26px, 3.5vw, 40px); }
.proof > div { display: flex; gap: 9px; align-items: flex-start; max-width: 260px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); text-align: left; }
.proof b { color: var(--ink); font-weight: 600; display: block; }

/* split feature: text + visual */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.flip > :first-child { order: 2; }
.split h2 { margin: 12px 0 18px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 20px); margin-top: clamp(34px, 4.5vw, 56px); counter-reset: step; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); padding: clamp(24px, 2.6vw, 32px); position: relative; }
.step .num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 15px; color: #fff; background: var(--blue); }
.step .when { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 16px; }
.step h3 { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; margin: 6px 0 8px; }
.step p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.step.last { background: var(--navy-grad); border-color: transparent; color: #fff; }
.step.last .num { background: var(--green); }
.step.last .when { color: #c7e79a; }
.step.last p { color: rgba(255,255,255,0.82); }

/* compare */
.compare li { display: flex; gap: 12px; }
.compare li b { display: block; }

/* navy band */
.band { border-radius: var(--radius-lg); background: var(--navy-grad); color: #fff; padding: clamp(36px, 5vw, 64px); box-shadow: var(--shadow-2); position: relative; overflow: hidden; }
.band .eyebrow { color: #c7e79a; }
.band h2 { color: #fff; margin: 12px 0 16px; }
.band .lede { color: rgba(255,255,255,0.82); }
.band strong { color: #fff; }

/* philosophy line */
.philos { max-width: 900px; margin: clamp(34px, 4.5vw, 56px) auto 0; text-align: center; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em;
  font-size: clamp(20px, 2.2vw, 30px); line-height: 1.3; color: var(--ink); }
.philos .b { color: var(--blue); } .philos .g { color: var(--green-ink); }

/* big numbers */
.stat-n { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; font-size: clamp(36px, 3.8vw, 52px); line-height: 1; color: var(--navy); }
.card.navy .stat-n { color: #fff; }

/* ---------- Testimonials ---------- */
.t-feature { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 760px) { .t-feature { grid-template-columns: 1fr; } .t-feature .t-photo { max-width: 260px; } }
.t-photo { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 1 / 1; background: #e9edf2; }
.t-photo img { width: 100%; height: 100%; object-fit: cover; }
.t-quote { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; font-size: clamp(20px, 2.1vw, 28px); line-height: 1.35; color: var(--ink); margin: 0; }
.t-quote .lead { color: var(--blue); }
.t-attr { margin-top: 20px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.t-name { font-weight: 600; color: var(--ink); }
.t-role { font-size: 14px; color: var(--muted); }
.t-logo { height: 32px; width: auto; }
.t-card { display: flex; flex-direction: column; }
.t-card .t-top { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.t-card .t-top .t-photo { width: 64px; height: 64px; border-radius: 50%; flex: 0 0 auto; }
.t-card blockquote { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); flex: 1; }
.t-watch { margin-top: 18px; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 1px solid rgba(0,0,0,0.16);
  border-radius: 999px; padding: 8px 14px; font-size: 13.5px; font-weight: 500; color: var(--ink); transition: border-color .2s; }
.t-watch:hover { border-color: var(--ink); }
.t-watch .play { width: 0; height: 0; border-left: 8px solid var(--blue); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.video-modal { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,0.78); display: none; align-items: center; justify-content: center; padding: 20px; }
.video-modal.open { display: flex; }
.video-modal-inner { position: relative; width: min(960px, 100%); aspect-ratio: 16 / 9; background: #000; border-radius: 14px; overflow: hidden; }
.video-modal-inner iframe { width: 100%; height: 100%; border: 0; }
.video-close { position: absolute; top: -44px; right: 0; background: transparent; border: 0; color: #fff; font-size: 30px; line-height: 1; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: clamp(30px, 4vw, 48px) auto 0; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 0 24px; margin-bottom: 12px; box-shadow: var(--shadow-1); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 22px; line-height: 1; font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 20px; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }

/* ---------- Final CTA ---------- */
.cta-card { margin: 0 auto; width: min(1180px, 92vw); padding: clamp(60px, 8vw, 110px) 28px; border-radius: clamp(22px, 3vw, 36px); text-align: center;
  background: var(--navy-grad); box-shadow: var(--shadow-2); color: #fff; position: relative; overflow: hidden; }
.cta-card .eyebrow { color: #c7e79a; }
.cta-card h2 { max-width: 20ch; margin: 14px auto 16px; color: #fff; }
.cta-card .lede { margin: 0 auto; color: rgba(255,255,255,0.84); }
.cta-card .ctas { justify-content: center; }
.cta-card .note { color: rgba(255,255,255,0.65); margin-top: 18px; }
.cta-card .note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
footer { padding: 64px 0 36px; color: var(--muted); border-top: 1px solid var(--line); margin-top: clamp(60px, 9vh, 110px); font-size: 13.5px; }
.foot-belief { text-align: center; padding-bottom: 44px; margin-bottom: 44px; border-bottom: 1px solid var(--line); }
.foot-belief p { font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 1.8vw, 24px); letter-spacing: -0.02em; line-height: 1.35; color: var(--ink); max-width: 34ch; margin: 0 auto; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
.foot-brand img { height: 34px; width: auto; margin-bottom: 16px; }
.foot-tag { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 15px; margin: 0 0 6px; }
.foot-sub { margin: 0; line-height: 1.55; }
.foot-h { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 13.5px; margin-bottom: 14px; }
footer ul { display: flex; flex-direction: column; gap: 10px; list-style: none; margin: 0; padding: 0; }
footer ul a:hover { color: var(--ink); }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12px; }
.foot-legal a:hover { color: var(--ink); }
.foot-legal .tm { flex-basis: 100%; opacity: 0.85; }
.site-version { font-size: 11px; opacity: .75; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
@media print { .nav, .video-modal { display: none; } .reveal { opacity: 1; transform: none; } }
