:root {
  --acc: #d4f58f;
  --navy: #0c2461;
  --blue: #1038a0;
  --teal: #00495a;
  --cream: #faf8f1;
}

html, body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

* { box-sizing: border-box; }

a {
  color: var(--blue);
  text-decoration: none;
}
a:hover { color: var(--teal); }

body {
  font-family: 'Geist', system-ui, sans-serif;
}

.mono {
  font-family: 'Geist Mono', monospace;
}

.serif {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
}

/* Nav */
:root { --nav-height: 104px; }

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: 104px;
  /* 3-column grid (not flex + margin:auto) — the old approach only
     centered .nav__center correctly when the left (burger) and right
     (Apply) edges happened to be about the same width. Adding a second
     pill on the right made that side wider than the left, visibly
     pulling the "centered" cluster off-center. Two equal 1fr edge
     columns force true centering no matter how much content sits in
     either edge, as long as that content doesn't itself overflow 1fr. */
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 0 clamp(16px, 4vw, 48px);
  background: rgba(250, 248, 241, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(12, 36, 97, 0.07);
  transition: height 0.3s cubic-bezier(.2,.7,.2,1);
}
.nav__edge--left { display: flex; align-items: center; }
.nav__edge--right { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
/* Centered cluster: left links + logo + right links sit as one group in
   the middle of the bar, hugging the logo. Lives in the grid's middle
   (auto-width) column, so it's never stretched or squeezed by either
   edge column's actual content width. */
.nav__center {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}
.nav__logo img {
  height: 76px;
  width: auto;
  display: block;
  /* Scaled via transform, not an animated height — animating height on a
     raster <img> forces the browser to rescale/resample the bitmap on
     every frame of the transition, which reads as a visible blur while
     it's shrinking. transform: scale() is a paint-only operation (no
     resampling, no layout change), so the logo stays crisp throughout. */
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(.2,.7,.2,1);
}
.nav.is-scrolled .nav__logo img { transform: scale(0.526); } /* 40/76 */
.nav.is-scrolled { height: 64px; }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 28px); font-size: 13px; }
.nav__links a { color: #4f5d73; }
.nav__links a:hover { color: var(--navy); }
.nav__apply {
  background: var(--blue);
  color: #fff;
  padding: 7px 15px;
  border-radius: 999px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav__apply:hover { background: var(--teal); color: #fff; }

.nav__find-advisor {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--acc);
  color: var(--navy);
  padding: 7px 15px;
  border-radius: 999px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav__find-advisor:hover { background: var(--teal); color: #fff; }
.nav__find-advisor svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Hamburger — hidden on desktop, shown under the mobile breakpoint. */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}
.nav__burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile-menu {
  position: fixed;
  /* Matches whichever height .nav currently has (88px open / 64px once
     .is-scrolled) rather than a hardcoded value that would leave a gap
     or overlap depending on scroll position when the menu is opened. */
  top: var(--nav-height, 88px);
  left: 0; right: 0;
  z-index: 49;
  display: none;
  flex-direction: column;
  padding: 8px clamp(16px, 4vw, 48px) 24px;
  background: var(--cream);
  border-bottom: 1px solid rgba(12, 36, 97, 0.1);
  box-shadow: 0 16px 32px -24px rgba(12, 36, 97, 0.25);
}
.nav__mobile-menu a {
  padding: 14px 0;
  font-size: 16px;
  color: var(--navy);
  border-bottom: 1px solid rgba(12, 36, 97, 0.08);
}
.nav__mobile-menu a:last-child { border-bottom: none; }
.nav__apply--mobile, .nav__find-advisor--mobile {
  margin-top: 12px;
  text-align: center;
  border-bottom: none !important;
  justify-content: center;
}
.nav__mobile-menu.is-open { display: flex; }

@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  /* Both pills live in .nav__edge--right now (previously direct
     children of .nav) — hide the whole edge column on mobile so it
     doesn't reserve grid width next to nothing. Only applies on the
     home page, which has a burger menu to fall back on; the simplified
     non-home nav (.nav--simple) has no burger, so it keeps its edges
     visible and just shrinks them instead. */
  .nav:not(.nav--simple) .nav__edge--right { display: none; }
  .nav__burger { position: absolute; left: clamp(16px, 4vw, 48px); }
}

/* Simplified nav for non-home pages (blog, legal): no section links, no
   burger menu — just a way back to the homepage, the logo, and the two
   lead-gen buttons. */
.nav__back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: #4f5d73; white-space: nowrap;
}
.nav__back:hover { color: var(--navy); }
.nav__back svg { width: 16px; height: 16px; flex-shrink: 0; }
@media (max-width: 820px) {
  .nav--simple .nav__back span { display: none; }
  .nav--simple .nav__find-advisor span { display: none; }
  .nav--simple .nav__find-advisor { padding: 9px; }
  .nav--simple .nav__find-advisor svg { width: 16px; height: 16px; }
}
@media (max-width: 560px) {
  .nav--simple .nav__apply { padding: 7px 12px; font-size: 13px; }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
}
.btn--lime { background: var(--acc); color: var(--navy); }
.btn--lime:hover { background: #fff; color: var(--navy); }
.btn--outline {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}
.btn--outline:hover { border-color: #fff; color: #fff; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--teal); color: #fff; }

/* Hero */
.hero {
  position: relative;
  height: 420vh;
}
.hero__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--cream);
}
.hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.2);
}
.hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,24,64,0.1) 0%, rgba(6,24,64,0.55) 100%);
  opacity: 0;
}
.hero__type {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 56px 16px 0;
}
.hero__pre {
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  margin-bottom: clamp(4px, 1vw, 14px);
}
.hero__eyebrow {
  font-size: 12px; letter-spacing: 0.3em; color: var(--teal);
}
.hero__prefix {
  font-size: clamp(40px, 6vw, 96px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.hero__zoom {
  position: relative;
  display: inline-block;
  font-style: italic;
  /* Height-aware, not just width-aware: this sits in a fixed 100vh stage
     with overflow:hidden above it (eyebrow + "Love where you're" line), so
     on short/wide viewports a vw-only clamp can render a glyph box taller
     than the remaining vertical space and get its descenders clipped by
     the stage. 22vh keeps it bounded by whichever dimension is tighter. */
  font-size: clamp(120px, min(27vw, 22vh), 480px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  padding: 0 0.06em 0.12em;
  background-image: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1800&q=75&auto=format&fit=crop');
  background-size: cover;
  background-position: center 60%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  will-change: transform;
}
.hero__copy {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 56px 24px 0;
  pointer-events: none;
  color: #fff;
}
.hero__copy-inner {
  opacity: 0;
  display: flex; flex-direction: column;
  align-items: center; gap: 30px;
}
.hero__copy-eyebrow { font-size: 12px; letter-spacing: 0.3em; color: var(--acc); }
.hero__title {
  margin: 0;
  max-width: 1100px;
  font-size: clamp(48px, 7.4vw, 124px);
  line-height: 0.94;
  letter-spacing: -0.03em;
  text-wrap: balance;
  text-shadow: 0 2px 40px rgba(6,24,64,0.35);
}
.hero__title em { font-style: italic; color: var(--acc); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; pointer-events: auto; }
.hero__promo {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  pointer-events: auto;
  text-align: left;
  transition: border-color 0.2s, background 0.2s;
}
.hero__promo:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.18); }
.hero__promo-tag {
  flex: none;
  font-size: 10px; letter-spacing: 0.14em;
  background: var(--acc); color: var(--navy);
  padding: 5px 10px; border-radius: 999px;
}
.hero__promo-text { font-size: 14px; color: #fff; }
.hero__promo-text em { font-style: italic; color: var(--acc); }
@media (max-width: 560px) {
  .hero__promo { flex-direction: column; text-align: center; padding: 14px 18px; gap: 8px; }
}
.hero__cue {
  position: absolute; bottom: 22px; left: 0; right: 0;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: 0.3em; color: #4f5d73;
}
.hero__cue-line { width: 1px; height: 28px; background: #4f5d73; }

/* Statement */
.statement {
  position: relative;
  height: 240vh;
}
.statement__stage {
  position: sticky; top: 0; height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 0 clamp(20px, 6vw, 80px);
}
.statement__text {
  margin: 0;
  max-width: 1180px;
  font-size: clamp(36px, 5.2vw, 80px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: pretty;
  color: var(--navy);
}
.statement__word { opacity: 0; transition: opacity 0.25s; }
.statement__em {
  font-style: italic;
  color: var(--teal);
}
/* The lime highlight band is per-word, not on the shared wrapper — a
   wrapper-level background renders immediately regardless of whether the
   words inside have faded in yet, which showed the highlight bar before
   any of "small on purpose." had appeared. Painting it on each word's own
   span ties the highlight to that word's own opacity/fade-in. */
.statement__em .statement__word {
  background: linear-gradient(transparent 64%, var(--acc) 64%);
}

/* Bento */
.bento-section {
  padding: clamp(60px, 10vh, 120px) clamp(16px, 4vw, 48px) clamp(100px, 14vh, 160px);
  max-width: 1360px;
  margin: 0 auto;
}
.bento-section__head { text-align: center; margin-bottom: clamp(40px, 7vh, 72px); }
.bento-section h2 {
  margin: 0 auto;
  max-width: 900px;
  font-size: clamp(48px, 7vw, 112px);
  line-height: 0.94;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.bento-section h2 em { font-style: italic; color: var(--blue); }
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 1080px) { .bento { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 720px) { .bento { grid-template-columns: 1fr; } }

.tile { border-radius: 28px; overflow: hidden; position: relative; }
.tile--span2 { grid-column: span 2; }
@media (max-width: 720px) { .tile--span2 { grid-column: span 1; } }

.tile--photo {
  min-height: clamp(380px, 56vh, 560px);
  background: #dfe5e3;
}
.tile--photo.tile--short { min-height: clamp(320px, 44vh, 440px); background: #cfe3e6; }
.tile__parallax {
  position: absolute; left: 0; right: 0; top: -10%;
  width: 100%; height: 120%;
  object-fit: cover;
}
.tile__overlay-bottom {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,24,64,0) 40%, rgba(6,24,64,0.75));
}
.tile__overlay-left {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6,24,64,0.7), rgba(6,24,64,0) 65%);
}
.tile__caption-bottom {
  position: absolute;
  left: clamp(24px, 3vw, 40px); right: clamp(24px, 3vw, 40px); bottom: clamp(24px, 3vw, 40px);
  color: #fff; display: flex; flex-direction: column; gap: 10px;
}
.tile__caption-left {
  position: absolute; left: clamp(24px, 3vw, 40px); top: 0; bottom: 0;
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
  color: #fff; max-width: 420px;
}
.tile__eyebrow { font-size: 11px; letter-spacing: 0.24em; color: var(--acc); }
.tile__heading { font-size: clamp(34px, 3.6vw, 56px); line-height: 1; letter-spacing: -0.02em; max-width: 620px; }
.tile__desc { font-size: 15px; line-height: 1.5; color: #e4ebf5; }

.tile--lime { background: var(--acc); color: var(--navy); padding: clamp(28px,3vw,40px); display: flex; flex-direction: column; justify-content: space-between; min-height: clamp(380px, 56vh, 560px); }
.tile--navy { background: var(--navy); color: #fff; padding: clamp(28px,3vw,40px); display: flex; flex-direction: column; justify-content: space-between; min-height: clamp(320px, 44vh, 440px); }
.tile--white { background: #fff; border: 1px solid rgba(12,36,97,0.08); padding: clamp(28px,3vw,40px); display: flex; flex-direction: column; justify-content: space-between; min-height: clamp(280px, 38vh, 380px); }
.tile--teal { background: var(--teal); color: #fff; padding: clamp(28px,3vw,40px); display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; min-height: clamp(280px, 38vh, 380px); }
.tile__eyebrow-dark { font-size: 11px; letter-spacing: 0.24em; color: var(--teal); }
.tile__big-num { font-size: clamp(110px, 12vw, 190px); line-height: 0.8; letter-spacing: -0.05em; color: var(--blue); }
.tile__big-num--white { font-size: clamp(72px, 7vw, 112px); line-height: 0.85; letter-spacing: -0.04em; }
.tile__big-num--navy { font-size: clamp(72px, 7vw, 112px); line-height: 0.85; letter-spacing: -0.04em; color: var(--navy); }
.tile__num-sub { font-size: 17px; line-height: 1.45; margin-top: 18px; max-width: 260px; }
.tile__num-sub--light { color: #dde3f5; }
.tile__num-sub--muted { color: #4f5d73; }
.tile__heading-lg { font-size: clamp(40px, 4.8vw, 76px); line-height: 0.96; letter-spacing: -0.025em; }
.tile__heading-lg em { font-style: italic; color: var(--acc); }

/* Journey */
.journey { position: relative; height: 520vh; background: #fff; }
.journey__stage { position: sticky; top: 0; height: 100vh; overflow: hidden; padding-top: 56px; }
.journey__grid {
  max-width: 1320px; margin: 0 auto; height: 100%;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  align-items: center; align-content: center; gap: clamp(24px, 6vw, 96px);
  padding: 0 clamp(20px, 5vw, 64px);
}
.journey__left { display: flex; flex-direction: column; gap: 28px; }
.journey__label-row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 12px; letter-spacing: 0.22em; color: #4f5d73;
}
.journey__chnum { color: var(--blue); }
.journey__box { position: relative; height: clamp(300px, 42vh, 430px); }
.journey__text {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center; gap: 20px;
  opacity: 0;
}
.journey__text.is-active { opacity: 1; }
.journey__chapter-label { font-size: 12px; letter-spacing: 0.2em; color: var(--teal); }
.journey__h2 { margin: 0; font-size: clamp(40px, 4.6vw, 72px); line-height: 0.98; letter-spacing: -0.02em; text-wrap: balance; }
.journey__p { margin: 0; font-size: 17px; line-height: 1.6; color: #4f5d73; max-width: 500px; text-wrap: pretty; }
.journey__bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.journey__bar-track { height: 3px; border-radius: 3px; background: #e6e9ef; overflow: hidden; }
.journey__bar-fill { height: 100%; width: 0%; background: var(--blue); }
.journey__frame {
  position: relative;
  height: clamp(260px, 70vh, 720px);
  border-radius: 28px; overflow: hidden;
  background: #e4e8e6;
  box-shadow: 0 40px 90px -40px rgba(12, 36, 97, 0.45);
}
.journey__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
}
.journey__img.is-active { opacity: 1; }

@media (max-width: 900px) {
  .journey__frame { height: min(28vh, 320px); }
  .journey__box { height: min(36vh, 340px); }
  .journey__h2 { font-size: clamp(28px, 5.2vh, 48px); }
  .journey__p { font-size: 15px; }
}

/* Marquee */
.marquee {
  position: relative;
  padding: clamp(100px, 14vh, 160px) 0;
  display: flex; flex-direction: column; gap: 16px;
  overflow: hidden;
}
.marquee__head { padding: 0 clamp(20px, 5vw, 64px); margin-bottom: 36px; text-align: center; }
.marquee__head h2 { margin: 0 auto; max-width: 900px; font-size: clamp(48px, 7vw, 112px); line-height: 0.94; letter-spacing: -0.03em; text-wrap: balance; }
.marquee__head h2 em { font-style: italic; color: var(--blue); }
.marquee__sub { margin: 24px auto 0; max-width: 540px; font-size: 18px; line-height: 1.55; color: #4f5d73; }
.marquee__row { display: flex; gap: 16px; width: max-content; will-change: transform; }
.marquee__card {
  position: relative;
  width: clamp(260px, 32vw, 500px);
  aspect-ratio: 4/3;
  border-radius: 24px; overflow: hidden;
  background: #e4e8e6; flex: none;
}
.marquee__card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.marquee__label {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(255,255,255,0.88); backdrop-filter: blur(8px);
  color: var(--navy); font-size: 13px; font-weight: 500;
  padding: 7px 13px; border-radius: 999px;
}

/* Split */
.split { position: relative; height: 300vh; background: var(--blue); color: #fff; }
.split__stage {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 56px 24px 0; text-align: center;
}
.split__eyebrow { font-size: 12px; letter-spacing: 0.28em; color: var(--acc); }
.split__num {
  font-size: clamp(170px, 30vw, 440px);
  line-height: 0.82;
  letter-spacing: -0.05em;
  margin: 18px 0 8px;
  font-variant-numeric: tabular-nums;
}
.split__num em { font-style: italic; color: var(--acc); }
.split__labels { position: relative; height: 30px; width: 100%; max-width: 600px; }
.split__label { position: absolute; inset: 0; font-size: 19px; color: #fff; opacity: 0; transition: opacity 0.4s, transform 0.4s; }
.split__label.is-active { opacity: 1; }
.split__bar-wrap { width: 100%; max-width: 640px; margin-top: 40px; display: flex; flex-direction: column; gap: 10px; }
.split__bar-track { height: 6px; border-radius: 6px; background: rgba(255,255,255,0.18); overflow: hidden; }
.split__bar-fill { height: 100%; width: 70%; background: var(--acc); border-radius: 6px; }
.split__bar-labels { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 0.18em; color: #fff; }

/* Laptop / tech */
.laptop { position: relative; height: 520vh; background: #05080f; color: #f5f5f7; }
.laptop__stage {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(18px, 3.5vh, 36px);
  padding: 72px 20px 24px;
}
.laptop__head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.laptop__eyebrow { font-size: 12px; letter-spacing: 0.3em; color: var(--acc); }
.laptop__head h2 { margin: 0; font-size: clamp(44px, 6vw, 96px); line-height: 0.94; letter-spacing: -0.03em; }
.laptop__head h2 em { font-style: italic; color: #9fb0d8; }
.laptop__perspective { perspective: 2400px; display: flex; flex-direction: column; align-items: center; }
.laptop__lid {
  width: min(80vw, 72vh, 960px);
  /* 16:9, not the traditional 16:10 laptop ratio — matches the actual
     dashboard screenshots (~1918x860, ~2.1:1) much more closely, so
     object-fit:cover on .laptop__screen img crops far less off the
     sides. 16:9 is also the standard target for any future screen
     captures added here. */
  aspect-ratio: 16/9;
  background: #1c1f26;
  border-radius: 18px 18px 4px 4px;
  padding: 1.4%;
  transform-origin: 50% 100%;
  transform: rotateX(-88deg);
  box-shadow: 0 0 0 1px #2c3039 inset;
}
.laptop__screen-wrap {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 8px;
  overflow: hidden;
  /* Stand-in "desktop wallpaper" behind the app screenshots — visible
     only briefly, during the genie-minimize transition between screens,
     where a flat color fill read as a bare flash. A real photo here
     reads as an actual desktop background glimpsed behind the window.
     A dark overlay (next rule) keeps it from competing with the
     screenshots/motion that are the actual visual focus. */
  background-image:
    linear-gradient(180deg, rgba(5, 8, 15, 0.55), rgba(5, 8, 15, 0.7)),
    url('https://images.unsplash.com/photo-1602002418816-5c0aeef426aa?w=1600&q=70&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
}
.laptop__screen {
  position: absolute; inset: 0;
  background: #eef1f6;
  opacity: 0;
  /* No CSS transition here — opacity/transform are driven directly from
     scroll position every frame (see update() in main.js), continuously,
     like the rest of this section's scroll-linked motion. A CSS
     transition would lag behind the scroll-driven value and fight it,
     which is what made screen swaps read as an abrupt flash instead of
     a smooth scroll-tied crossfade. */
  overflow: hidden;
  will-change: opacity, transform;
}
/* Fake Safari/Chrome-style browser chrome above each screenshot, so the
   laptop screen reads as an actual open browser window rather than a
   bare image. Height is fixed in px (not %) so it's consistent across
   all 4 screens regardless of the image behind it. */
.browser-chrome {
  position: absolute;
  top: 0; left: 0; right: 0;
  /* Fixed % only (no min-height floor) — a %-based height paired with a
     min-height floor can disagree at small frame sizes: the image below
     assumes a fixed % offset, and if the bar's min-height overrides
     that %, the two stop lining up and the image peeks out from under
     the bar. The laptop frame has a sane minimum size of its own
     (min(80vw, 72vh, 960px) at 16:9) so 7.2% never gets unreadably
     small in practice. */
  height: 7.2%;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 3%;
  background: linear-gradient(180deg, #f3f3f3, #e4e4e4);
  border-bottom: 1px solid #c7c7c7;
  z-index: 1;
}
.browser-chrome__dot {
  width: 0.9%;
  aspect-ratio: 1;
  min-width: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.browser-chrome__dot--red { background: #ff5f57; }
.browser-chrome__dot--yellow { background: #febc2e; }
.browser-chrome__dot--green { background: #28c840; }
.browser-chrome__url {
  margin-left: auto;
  margin-right: auto;
  max-width: 55%;
  /* Height capped to 60% of the bar itself (not just small em-based
     padding) — previously the pill's own padding+border could add up to
     taller than the thin chrome bar at smaller laptop sizes, so it
     visibly stuck out past the bar's top and bottom edges. */
  height: 60%;
  max-height: 20px;
  box-sizing: border-box;
  /* flex on the PILL (centers the inner span both ways reliably) —
     text-overflow: ellipsis then goes on the inner span instead, since
     ellipsis truncation doesn't apply correctly to a flex container's
     own text, only to a normal block/inline-block box. Splitting the
     two jobs (centering vs. truncating) across outer/inner elements is
     what actually fixes both at once instead of fighting each other. */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3%;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d8d8d8;
  color: #6b6b6b;
  font-size: clamp(7px, 0.95vw, 10.5px);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.browser-chrome__url span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  /* min-width: 0 is the actual fix — a flex item's default min-width is
     `auto`, which means "never shrink below your own content's full
     intrinsic width" REGARDLESS of overflow:hidden on that same element.
     That's exactly what let the domain text spill out past the white
     pill: the span was refusing to shrink below its full text width no
     matter what the parent's max-width said. min-width: 0 lets it
     actually shrink and hand off to overflow/ellipsis correctly. */
  min-width: 0;
}
.laptop__screen img {
  position: absolute;
  top: 7.2%; left: 0; right: 0; bottom: 0;
  width: 100%; height: 92.8%;
  /* object-fit: cover (not width:100%/height:auto) — the screenshots'
     own aspect ratios don't match the laptop frame's, and height:auto
     could render shorter than the frame, leaving empty space at the
     bottom/right instead of filling it. cover crops to fill instead. */
  object-fit: cover;
  /* left top, not just top — the screenshots (~2.1:1) are still wider
     than the 16:9 frame even after matching the aspect ratio more
     closely, so cover still crops some width. Anchoring left keeps the
     sidebar nav (the most identifying part of each app's UI) in frame
     instead of splitting the crop evenly and losing it. */
  object-position: left top;
  display: block;
}
.laptop__base {
  width: min(92vw, 83vh, 1100px);
  height: clamp(10px, 1.4vw, 16px);
  background: linear-gradient(180deg, #d9dce3, #8d929c);
  border-radius: 2px 2px 14px 14px;
  position: relative;
  display: flex; justify-content: center;
}
.laptop__notch { width: 16%; height: 40%; background: #a9adb6; border-radius: 0 0 8px 8px; }
.laptop__ui { display: flex; flex-direction: column; align-items: center; gap: 14px; opacity: 0; transition: opacity 0.4s; }
.laptop__ui.is-visible { opacity: 1; }
.laptop__tabs { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: #151a24; }
.laptop__tab { padding: 8px 16px; border-radius: 999px; font-size: 13px; color: #8a8f99; transition: background 0.3s, color 0.3s; }
.laptop__tab.is-active { background: #2a3140; color: #f5f5f7; }
.laptop__caption-wrap { position: relative; height: 24px; width: min(90vw, 560px); text-align: center; }
.laptop__caption { position: absolute; inset: 0; font-size: 16px; color: #c7cbd3; opacity: 0; transition: opacity 0.4s; }
.laptop__caption.is-active { opacity: 1; }

/* Plans */
.plans { padding: clamp(100px, 14vh, 160px) clamp(20px, 5vw, 64px); max-width: 1320px; margin: 0 auto; }
.plans__head { text-align: center; margin-bottom: 64px; }
.plans__head h2 { margin: 0 auto; max-width: 900px; font-size: clamp(48px, 7vw, 112px); line-height: 0.94; letter-spacing: -0.03em; text-wrap: balance; }
.plans__head h2 em { font-style: italic; color: var(--blue); }
.plans__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 0; }
.plan {
  padding: 8px clamp(20px, 3vw, 44px) 40px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px;
  border-right: 1px solid rgba(12, 36, 97, 0.1);
}
.plans__grid .plan:last-child { border-right: none; }
.plan__name { font-size: 15px; font-weight: 500; letter-spacing: 0.02em; display: flex; align-items: center; gap: 10px; }
.plan__badge {
  background: var(--acc); color: var(--navy);
  font-size: 10px; letter-spacing: 0.18em;
  padding: 4px 9px; border-radius: 999px;
}
.plan__badge--promo { background: var(--blue); color: #fff; }
.plan__pct { font-size: clamp(96px, 9vw, 140px); line-height: 0.85; letter-spacing: -0.05em; }
.plan__pct--blue { color: var(--blue); }
.plan__pct--teal { color: var(--teal); }
.plan__pct em { font-style: italic; font-size: 0.5em; }
.plan__split-label { font-size: 14px; color: #4f5d73; }
.plan__price { font-size: 17px; font-weight: 500; }
.plan__price span { font-weight: 400; color: #4f5d73; }
.plan__price-strike { text-decoration: line-through; color: #9aa3b2; font-weight: 400; }
.plan__promo-note { font-size: 13px; color: var(--blue); line-height: 1.4; max-width: 220px; }
.plan__divider { width: 40px; height: 1px; background: rgba(12, 36, 97, 0.2); }
.plan__features { display: flex; flex-direction: column; gap: 14px; font-size: 15px; color: #2b3a57; line-height: 1.4; }
.plan__features div:empty::before,
.plan__features .plan__dash { color: #9aa3b2; }

@media (max-width: 1080px) { .plan { border-right: none; border-bottom: 1px solid rgba(12,36,97,0.1); padding-bottom: 40px; } }

/* Fit */
.fit { padding: 0 clamp(20px, 5vw, 64px) clamp(100px, 14vh, 160px); max-width: 1320px; margin: 0 auto; }
.fit__head { margin-bottom: 56px; max-width: 860px; }
.fit__head h2 { margin: 0; font-size: clamp(44px, 6vw, 92px); line-height: 0.96; letter-spacing: -0.03em; text-wrap: balance; }
.fit__head h2 em { font-style: italic; color: var(--blue); }
.fit__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 16px; }
.fit__card { border-radius: 28px; padding: clamp(28px, 3.4vw, 48px); display: flex; flex-direction: column; gap: 22px; }
.fit__card--lime { background: var(--acc); }
.fit__card--white { background: #fff; border: 1px solid rgba(12, 36, 97, 0.08); }
.fit__card-title { font-size: 34px; }
.fit__card-title--navy { color: var(--navy); }
.fit__card-title--muted { color: #4f5d73; }
.fit__list { display: flex; flex-direction: column; gap: 14px; font-size: 17px; line-height: 1.5; }
.fit__list--navy { color: var(--navy); }
.fit__list--muted { color: #4f5d73; }
.fit__list div { display: flex; gap: 14px; }
.fit__plus { color: var(--blue); font-weight: 600; flex: none; }
.fit__minus { flex: none; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 0; border-top: 1px solid rgba(12, 36, 97, 0.14); margin-top: clamp(80px, 12vh, 140px); }
.step { padding: 36px 32px 0 0; display: flex; flex-direction: column; gap: 14px; }
.step__num { font-size: 96px; line-height: 1; color: var(--blue); }
.step__title { font-size: 21px; font-weight: 500; }
.step__desc { font-size: 16px; line-height: 1.6; color: #4f5d73; }

/* Blog preview (home page) — reuses .blog-card from the blog landing page */
.blog-preview { max-width: 1320px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px) clamp(80px, 11vh, 120px); }
.blog-preview__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
.blog-preview__head h2 { margin: 0; font-size: clamp(36px, 4.4vw, 56px); letter-spacing: -0.03em; }
.blog-preview__viewall { font-size: 14px; color: var(--blue); white-space: nowrap; }
.blog-preview__viewall:hover { color: var(--teal); }
.blog-preview__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 960px) { .blog-preview__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-preview__grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq-section { padding: 0 clamp(20px, 5vw, 64px) clamp(100px, 14vh, 160px); max-width: 980px; margin: 0 auto; }
.faq-section h2 { margin: 0 0 40px; font-size: clamp(44px, 5.6vw, 84px); letter-spacing: -0.03em; }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid rgba(12, 36, 97, 0.14); }
.faq-item { border-bottom: 1px solid rgba(12, 36, 97, 0.14); }
.faq-item__btn {
  all: unset; cursor: pointer; width: 100%; box-sizing: border-box;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-size: clamp(17px, 1.6vw, 21px); color: var(--navy);
}
.faq-item__btn:hover { color: var(--blue); }
.faq-item__sign { font-family: 'Geist Mono', monospace; font-size: 20px; color: var(--blue); flex: none; }
.faq-item__answer {
  margin: 0; padding: 0 48px 28px 0;
  font-size: 16px; line-height: 1.65; color: #4f5d73;
  text-wrap: pretty;
  display: none;
}
.faq-item.is-open .faq-item__answer { display: block; }

/* CTA */
.cta { position: relative; height: 260vh; }
.cta__stage { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.cta__clip { position: absolute; inset: 0; clip-path: inset(18% 22% round 32px); overflow: hidden; }
.cta__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); }
.cta__shade { position: absolute; inset: 0; background: rgba(6, 24, 64, 0.35); }
.cta__copy {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 32px;
  padding: 0 24px; color: #fff; opacity: 0;
}
.cta__title { margin: 0; max-width: 1100px; font-size: clamp(56px, 9vw, 160px); line-height: 0.9; letter-spacing: -0.035em; text-wrap: balance; text-shadow: 0 2px 40px rgba(6,24,64,0.35); }
.cta__title em { font-style: italic; color: var(--acc); }
.cta__sub { margin: 0; max-width: 540px; font-size: 19px; line-height: 1.55; color: #fff; }

/* Contact */
.contact-section {
  padding: clamp(80px, 12vh, 140px) clamp(20px, 5vw, 64px);
  max-width: 760px;
  margin: 0 auto;
}
.contact-section__head { text-align: center; margin-bottom: 44px; }
.contact-section__head h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.025em;
}
.contact-section__head h2 em { font-style: italic; color: var(--blue); }
.contact-section__sub { margin: 18px 0 0; font-size: 17px; color: #4f5d73; }

.contact-form {
  background: #fff;
  border: 1px solid rgba(12, 36, 97, 0.08);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 30px 70px -40px rgba(12, 36, 97, 0.25);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 560px) {
  .contact-form__row { grid-template-columns: 1fr; }
}
.contact-form__field { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: #4f5d73; }
.contact-form__field input,
.contact-form__field textarea {
  font: inherit;
  font-size: 15px;
  color: var(--navy);
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(12, 36, 97, 0.16);
  background: var(--cream);
  resize: vertical;
}
.contact-form__field input:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: var(--blue);
}
/* Visually hidden, but still in the tab order would catch sighted bots —
   we instead pull it off-screen AND skip it via tabindex=-1, since a real
   visitor should never be able to focus or fill it by accident. */
.contact-form__honeypot {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.contact-form__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}
.contact-form__status { margin: 0; font-size: 14px; flex: 1; min-width: 160px; }
.contact-form__status[data-state="error"] { color: #b33636; }
.contact-form__status[data-state="success"] { color: #1f7a4d; }
.contact-form__submit { border: none; cursor: pointer; }
.contact-form__submit:disabled { opacity: 0.6; cursor: default; }

/* Footer */
.site-footer-wrap { background: #eef1f8; }

.footer-cta { background: var(--navy); position: relative; overflow: hidden; }
.footer-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 900px 500px at 15% 0%, rgba(16,56,160,0.55), transparent 60%),
              radial-gradient(ellipse 700px 500px at 100% 100%, rgba(0,73,90,0.5), transparent 60%);
}
.footer-cta__stage {
  position: relative;
  max-width: 1320px; margin: 0 auto;
  padding: clamp(64px, 10vh, 120px) clamp(20px, 5vw, 64px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px;
}
.footer-cta__title {
  margin: 0; color: #fff;
  font-size: clamp(36px, 5vw, 72px); line-height: 0.98; letter-spacing: -0.03em; text-wrap: balance;
}
.footer-cta__title em { font-style: italic; color: var(--acc); }

.site-footer { padding: 64px clamp(20px, 5vw, 64px) 40px; max-width: 1320px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 48px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 16px; max-width: 280px; }
.site-footer__brand img { height: 64px; width: auto; align-self: flex-start; }
.site-footer__tagline { font-style: italic; font-size: 32px; line-height: 1.05; color: var(--teal); }
.site-footer__cols { display: flex; flex-wrap: wrap; gap: 56px; font-size: 14px; }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; }
.site-footer__col-label { font-size: 11px; letter-spacing: 0.2em; color: #4f5d73; }
.site-footer__col div, .site-footer__col a { color: #2b3a57; }
.site-footer__col a { transition: color 0.2s; }
.site-footer__col a:hover { color: var(--blue); }
.site-footer__col--badge { gap: 6px; }
.site-footer__badge { width: 160px; height: 160px; }
@media (max-width: 560px) { .site-footer__badge { width: 120px; height: 120px; } }
.site-footer__ensemble { width: 140px; height: auto; display: block; margin-top: 10px; }
@media (max-width: 560px) { .site-footer__ensemble { width: 110px; } }
.site-footer__divider { height: 1px; background: rgba(12, 36, 97, 0.1); }
.site-footer__legal { margin: 0; font-size: 12px; line-height: 1.6; color: #7a8599; }

/* Blog */
.blog-hero { max-width: 1320px; margin: 0 auto; padding: clamp(140px, 18vh, 180px) clamp(20px, 5vw, 64px) 40px; }
.blog-hero .mono { font-size: 12px; letter-spacing: 0.2em; color: #4f5d73; }
.blog-hero h1 { margin: 12px 0 0; font-size: clamp(40px, 6vw, 68px); line-height: 0.98; letter-spacing: -0.03em; max-width: 780px; }
.blog-hero p { margin: 18px 0 0; font-size: 17px; line-height: 1.6; color: #4f5d73; max-width: 620px; }

.blog-grid {
  max-width: 1320px; margin: 0 auto; padding: 20px clamp(20px, 5vw, 64px) 100px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
@media (max-width: 960px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card { display: flex; flex-direction: column; text-decoration: none; }
.blog-card__img-wrap { border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; background: #eef1f8; }
.blog-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-card__img-wrap img { transform: scale(1.04); }
.blog-card__meta { margin: 16px 0 0; font-size: 12px; letter-spacing: 0.1em; color: #7a8599; }
.blog-card__title { margin: 8px 0 0; font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; color: var(--navy); }
.blog-card__excerpt { margin: 8px 0 0; font-size: 14px; line-height: 1.6; color: #4f5d73; }

.blog-breadcrumb { max-width: 760px; margin: 0 auto; padding: clamp(120px, 15vh, 148px) clamp(20px, 5vw, 64px) 0; display: flex; gap: 8px; font-size: 13px; color: #7a8599; }
.blog-breadcrumb a { color: #7a8599; text-decoration: none; }
.blog-breadcrumb a:hover { color: var(--blue); }

.post-header { max-width: 760px; margin: 0 auto; padding: 32px clamp(20px, 5vw, 64px) 0; }
.post-header .mono { font-size: 12px; letter-spacing: 0.15em; color: var(--blue); }
.post-header h1 { margin: 14px 0 0; font-size: clamp(34px, 5vw, 52px); line-height: 1.05; letter-spacing: -0.02em; }
.post-header__meta { margin: 18px 0 0; font-size: 14px; color: #7a8599; }

.post-cover { max-width: 980px; margin: 32px auto 0; padding: 0 clamp(20px, 5vw, 64px); }
.post-cover img { width: 100%; border-radius: 16px; display: block; aspect-ratio: 16/9; object-fit: cover; }
.post-cover figcaption { margin: 10px 0 0; font-size: 12px; color: #7a8599; text-align: center; }

.post-body { max-width: 760px; margin: 0 auto; padding: 40px clamp(20px, 5vw, 64px) 20px; }
.post-body h2 { font-size: clamp(24px, 3vw, 32px); margin: 44px 0 16px; letter-spacing: -0.02em; color: var(--navy); }
.post-body h3 { font-size: 19px; margin: 32px 0 12px; color: var(--navy); }
.post-body p { font-size: 16px; line-height: 1.75; color: #2b3a57; margin: 0 0 18px; }
.post-body ul, .post-body ol { margin: 0 0 18px; padding-left: 22px; }
.post-body li { font-size: 16px; line-height: 1.75; color: #2b3a57; margin-bottom: 8px; }
.post-body a { color: var(--blue); text-decoration: underline; text-decoration-color: rgba(16,56,160,0.3); }
.post-body figure { margin: 36px 0; }
.post-body figure img { width: 100%; border-radius: 14px; aspect-ratio: 16/9; object-fit: cover; display: block; }
.post-body figure figcaption { margin: 10px 0 0; font-size: 12px; color: #7a8599; text-align: center; }
.post-body blockquote {
  margin: 28px 0; padding: 18px 24px; border-left: 3px solid var(--acc);
  background: var(--navy); border-radius: 0 12px 12px 0; font-style: italic; color: #fff;
}

.post-related { max-width: 980px; margin: 60px auto 0; padding: 40px clamp(20px, 5vw, 64px) 80px; border-top: 1px solid rgba(12,36,97,0.1); }
.post-related h3 { font-size: 13px; letter-spacing: 0.15em; color: #7a8599; margin: 0 0 24px; }
.post-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 760px) { .post-related__grid { grid-template-columns: 1fr; } }
