/* ================================================================
   sofee.ai product page. Warm palette, restrained type.
   ================================================================ */

:root {
  --bg:            #FAF6EE;
  --bg-alt:        #F4EDDF;
  --surface:       #FFFFFF;
  --ink:           #1A1614;
  --ink-soft:      #4A4139;
  --ink-muted:     #7A6F61;
  --orange:        #C84820;
  --orange-deep:   #A03818;
  --orange-soft:   #F2A878;
  --orange-tint:   #FBEADA;
  --line:          rgba(26, 22, 20, 0.10);
  --line-strong:   rgba(26, 22, 20, 0.18);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --wrap: 1180px;

  --f-display: 'Newsreader', ui-serif, Georgia, serif;
  --f-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--ink);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}

/* ================================================================
   TYPOGRAPHY
   ================================================================ */

h1, h2 {
  font-family: var(--f-display);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 72;
}

h1 {
  font-size: clamp(38px, 4.5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 24ch;
}

h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  max-width: 22ch;
}

h3 {
  font-family: var(--f-body);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-deep);
}

.lede {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 54ch;
}

.small { font-size: 14px; color: var(--ink-muted); line-height: 1.5; }

/* ================================================================
   BUTTONS + FORMS
   ================================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
}
.btn-primary:hover { background: var(--orange-deep); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); }

.form-footnote {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-muted);
  max-width: 480px;
}

/* ================================================================
   SIGNUP FORM (3 fields: job title, JD, email)
   ================================================================ */

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 480px;
  width: 100%;
}

/* Honeypot. Moved off-screen rather than display:none or hidden, because
   some bots skip inputs they can tell are not rendered. Kept out of the
   tab order and out of the accessibility tree in the markup itself. */
.signup-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Turnstile is set to interaction-only, so it stays invisible and adds no
   layout for the overwhelming majority of visitors. The rule only takes
   effect on the rare occasion Cloudflare decides to show a challenge. */
.signup-turnstile:not(:empty) {
  margin-top: -4px;
}
.signup-form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.signup-form .field > label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.signup-form .field input[type="text"],
.signup-form .field input[type="email"] {
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.signup-form .field input::placeholder { color: var(--ink-muted); }
.signup-form .field input:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(200, 72, 32, 0.14);
}
.signup-form .field.has-error > label { color: var(--orange-deep); }
.signup-form .field.has-error input[type="text"],
.signup-form .field.has-error input[type="email"],
.signup-form .field.has-error .jd-row {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(200, 72, 32, 0.14);
}
.field-hint {
  font-size: 13px;
  line-height: 1.45;
  color: var(--orange-deep);
  margin-top: 4px;
  min-height: 0;
}
.field-hint:empty { display: none; }
.final .field-hint { color: var(--orange-soft); }

.jd-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.jd-upload {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  color: var(--ink-soft);
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
  font-weight: 500;
  max-width: 100%;
}
.jd-upload:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.jd-upload.has-file {
  border-style: solid;
  border-color: var(--orange);
  background: var(--orange-tint);
  color: var(--orange-deep);
}
.jd-upload-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 200px;
}
.jd-or {
  font-size: 13px;
  color: var(--ink-muted);
  font-style: italic;
  font-family: var(--f-display);
}
.jd-none {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-soft);
  cursor: pointer;
  user-select: none;
  padding: 6px 4px;
}
.jd-none input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--orange);
  cursor: pointer;
  margin: 0;
}

.signup-submit {
  align-self: flex-start;
  margin-top: 4px;
  min-width: 180px;
  padding: 14px 22px;
}
.signup-submit.is-sent {
  background: var(--ink);
  pointer-events: none;
}

/* Dark variant (final CTA section) */
.final .signup-form .field > label {
  color: var(--orange-soft);
}
.final .signup-form .field input[type="text"],
.final .signup-form .field input[type="email"] {
  background: rgba(250, 246, 238, 0.06);
  border-color: rgba(250, 246, 238, 0.2);
  color: var(--bg);
}
.final .signup-form .field input::placeholder { color: rgba(250, 246, 238, 0.45); }
.final .signup-form .field input:focus {
  border-color: var(--orange-soft);
  background: rgba(250, 246, 238, 0.10);
}
.final .jd-row {
  background: rgba(250, 246, 238, 0.06);
  border-color: rgba(250, 246, 238, 0.2);
}
.final .jd-upload {
  border-color: rgba(250, 246, 238, 0.25);
  color: rgba(250, 246, 238, 0.8);
}
.final .jd-upload:hover {
  border-color: var(--orange-soft);
  color: var(--orange-soft);
}
.final .jd-upload.has-file {
  border-color: var(--orange-soft);
  background: rgba(242, 168, 120, 0.12);
  color: var(--orange-soft);
}
.final .jd-or { color: rgba(250, 246, 238, 0.5); }
.final .jd-none { color: rgba(250, 246, 238, 0.8); }
.final .form-footnote { color: rgba(250, 246, 238, 0.5); }

/* ================================================================
   NAV
   ================================================================ */

.nav {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.nav-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
  font-family: var(--f-display);
  color: var(--ink);
}
.logo-img {
  height: 32px;
  width: auto;
  display: block;
}
.brand-text {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 14px;
  height: 14px;
  color: var(--orange);
  flex-shrink: 0;
  transform: translateY(1px);
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 14px;
  color: var(--ink-soft);
}
.nav-links a { transition: color 0.18s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.18s ease;
}
.nav-cta:hover { background: var(--orange); color: #fff; }

/* ================================================================
   STICKY NAV (desktop only, fades in past hero)
   ================================================================ */

.sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  pointer-events: none;
}
.sticky-nav[data-state="visible"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.sticky-nav-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.sticky-nav .logo-img {
  height: 26px;
  width: auto;
}
.sticky-nav-cta {
  padding: 10px 18px;
  font-size: 14px;
  min-width: 0;
}

/* ================================================================
   MOBILE BOTTOM CTA BAR (mobile only, fades in past hero)
   ================================================================ */

.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(250, 246, 238, 0.95);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-top: 1px solid var(--line);
  display: none;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.mobile-cta-bar[data-state="visible"] {
  opacity: 1;
  transform: translateY(0);
}
.mobile-cta-btn {
  width: 100%;
  padding: 14px 22px;
  font-size: 15px;
}

/* ================================================================
   MOBILE MENU
   Below 560px the nav links are hidden and nothing revealed them again.
   These are the triggers and the panel. Both triggers stay hidden until
   nav-menu.js sets data-nav-ready, so neither can be a dead control.
   ================================================================ */

.nav-burger,
.mobile-cta-menu {
  display: none;
  /* The bars are a vertical stack. Without this they lay out in a row,
     squash to fit, and read as two staggered lines. */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4.5px;
  flex: none;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
  cursor: pointer;
  width: 42px;
  height: 42px;
}
.nav-burger:hover,
.mobile-cta-menu:hover { border-color: var(--ink); }
.nav-burger span,
.mobile-cta-menu span {
  display: block;
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
}
.mobile-menu[data-state="open"] {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s;
}
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
  padding: 18px 20px calc(28px + env(safe-area-inset-bottom));
}
.mobile-menu-close {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
  cursor: pointer;
}
.mobile-menu-close:hover { border-color: var(--ink); }
.mobile-menu-close svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  fill: none;
}
.mobile-menu-links {
  display: flex;
  flex-direction: column;
  margin-top: 14px;
}
.mobile-menu-links a {
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  padding: 18px 2px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu-links a:active { color: var(--orange-deep); }
.mobile-menu-links .mobile-menu-cta {
  margin-top: 26px;
  border-bottom: 0;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  padding: 16px 22px;
  font-size: 16px;
  font-weight: 500;
}

/* ================================================================
   HERO
   ================================================================ */

.hero {
  padding: 64px 0 80px;
}
.hero-top {
  margin-bottom: 56px;
  max-width: 1116px;
}
.hero-top .eyebrow {
  margin-bottom: 18px;
}
.hero-top h1 {
  margin: 0;
  max-width: none;
  text-wrap: balance;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.hero h1 .price {
  color: var(--orange);
}
.hero-lede {
  margin-bottom: 32px;
  max-width: 52ch;
}
.hero-lede:has(+ .hero-group-note) { margin-bottom: 14px; }
.hero-group-note {
  margin-bottom: 28px;
  max-width: 52ch;
  font-size: 15px;
  color: var(--ink-muted);
}
.hero-group-note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
/* portrait */
.portrait {
  position: relative;
  aspect-ratio: 1/1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(26, 22, 20, 0.04), 0 24px 48px -18px rgba(26, 22, 20, 0.12);
}
.portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  z-index: 1;
}
.portrait-tag {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  z-index: 3;
  box-shadow: 0 8px 24px -8px rgba(26, 22, 20, 0.18);
  max-width: calc(100% - 40px);
}
.portrait-tag-name {
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 2px;
}
.portrait-tag-role {
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.35;
}

/* ================================================================
   LOGO / TRUST STRIP
   ================================================================ */

.trust-strip {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}
.trust-strip-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: center;
  gap: 32px;
}
.trust-strip-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.trust-strip-items {
  display: flex;
  gap: 12px 28px;
  flex-wrap: wrap;
  font-family: var(--f-display);
  font-size: 18px;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.012em;
}
.trust-strip-items span {
  display: inline-flex;
  align-items: center;
}
.trust-strip-items span:not(:last-child)::after {
  content: '·';
  color: var(--orange);
  margin-left: 28px;
  font-weight: 600;
}

/* ================================================================
   SECTION BASICS
   ================================================================ */

section {
  padding: 112px 0;
}

.sec-head {
  margin-bottom: 56px;
  max-width: 720px;
}
.sec-head .eyebrow { margin-bottom: 18px; }
.sec-head p {
  margin-top: 20px;
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 58ch;
}

/* ================================================================
   FEATURES (three cards)
   ================================================================ */

.features { background: var(--bg-alt); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.feature:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.feature-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.feature-kicker-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--orange-deep);
  text-transform: none;
}
.feature h3 {
  font-size: 22px;
  line-height: 1.25;
}
.feature p {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.55;
}

/* ================================================================
   WHAT SOFEE IS / ISN'T
   ================================================================ */

.whatis { background: var(--bg); }
.whatis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.whatis-col {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 28px;
}
.whatis-col h3 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 22px;
}
.whatis-is h3 { color: var(--orange-deep); }
.whatis-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.whatis-col li {
  font-size: 15.5px;
  line-height: 1.5;
  position: relative;
  padding-left: 28px;
}
.whatis-is li {
  color: var(--ink);
}
.whatis-is li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 11px;
  height: 6px;
  border-left: 1.8px solid var(--orange);
  border-bottom: 1.8px solid var(--orange);
  transform: rotate(-45deg);
}
.whatis-isnt li {
  color: var(--ink-muted);
}
.whatis-isnt li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 14px;
  height: 1.5px;
  background: var(--ink-muted);
  opacity: 0.5;
}

/* ================================================================
   HOW IT WORKS (5 steps)
   ================================================================ */

.how { background: var(--bg); }
/* The explainer film. Sits above the written steps: it shows the process, they spell it out.
   preload="none" keeps the 3.5MB off the initial page load; the poster carries the frame. */
.how-film {
  margin: 0 0 46px;
}
.how-film-player {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.how-film-caption {
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* The flow diagram. Sits above the film: what goes in, what Sofee does with it, what comes out.
   Wires are drawn in fixed 110 x 440 columns so the SVG never stretches; node centres sit at
   (i + 0.5) / n of the 440 row, which is why the lists use equal rows and no gap. */
.how-flow {
  margin: 0 0 56px;
}
.how-flow-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1.15fr) 110px minmax(0, 1fr);
  grid-template-rows: auto 440px auto;
  grid-template-areas:
    "label-in  .         .      .          label-out"
    "in        wires-in  engine wires-out  out"
    "note      note      note   .          .";
  row-gap: 22px;
  padding: 40px 44px 30px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.how-flow-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.how-flow-label-in { grid-area: label-in; }
.how-flow-label-out { grid-area: label-out; }

.how-flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}
.how-flow-in { grid-area: in; grid-template-rows: repeat(7, 1fr); }
/* Results sit centred on the Sofee card: four rows of 80 from y=60, matching the out wires. */
.how-flow-out { grid-area: out; grid-template-rows: repeat(4, 1fr); align-self: center; height: 320px; }
.how-flow-list li {
  display: flex;
  padding: 7px 0;
  min-width: 0;
}
.how-flow-node {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 0 16px;
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(26, 22, 20, 0.04), 0 8px 20px -12px rgba(26, 22, 20, 0.14);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}
.how-flow-node::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--orange-soft);
}
.how-flow-node-key { border-color: var(--line-strong); }
.how-flow-node-key::before { background: var(--orange); }
.how-flow-node em {
  margin-left: auto;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--orange-tint);
  color: var(--orange-deep);
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.how-flow-wires {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.how-flow-wires-in { grid-area: wires-in; }
.how-flow-wires-out { grid-area: wires-out; }
.how-flow-wires path {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 1;
}
.how-flow-port {
  fill: var(--bg-alt);
  stroke: var(--ink-muted);
  stroke-width: 1;
}
.how-flow-packet { fill: var(--orange); }

.how-flow-engine {
  grid-area: engine;
  align-self: center;
  padding: 18px 16px 20px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 22px;
  box-shadow: 0 30px 60px -28px rgba(26, 22, 20, 0.55);
}
.how-flow-engine-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 6px 14px;
}
.how-flow-engine-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.how-flow-engine-brand .brand-mark {
  width: 22px;
  height: 22px;
  color: var(--orange);
}
.how-flow-wave {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 18px;
}
.how-flow-wave i {
  width: 3px;
  height: 100%;
  border-radius: 2px;
  background: var(--orange-soft);
  transform-origin: center;
  animation: howFlowWave 1.4s ease-in-out infinite;
}
.how-flow-wave i:nth-child(2) { animation-delay: -0.35s; }
.how-flow-wave i:nth-child(3) { animation-delay: -0.7s; }
.how-flow-wave i:nth-child(4) { animation-delay: -1.05s; }
@keyframes howFlowWave {
  0%, 100% { transform: scaleY(0.35); }
  50% { transform: scaleY(1); }
}

.how-flow-stages {
  list-style: none;
  margin: 0;
  padding: 0;
}
.how-flow-stages li {
  position: relative;
  padding: 13px 34px 13px 14px;
  border-top: 1px solid rgba(250, 246, 238, 0.08);
  border-radius: 10px;
  font-size: 15.5px;
  color: rgba(250, 246, 238, 0.78);
  animation: howFlowStage 9s linear infinite;
}
.how-flow-stages li::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 10px;
  height: 5px;
  border-left: 1.5px solid var(--orange-soft);
  border-bottom: 1.5px solid var(--orange-soft);
  transform: translateY(-70%) rotate(-45deg);
  opacity: 0;
  animation: howFlowCheck 9s linear infinite;
}
/* One stage lit at a time, three seconds each, on a nine-second loop. Negative delays
   start the loop mid-cycle so only the first stage is lit on load. */
.how-flow-stages li:nth-child(2), .how-flow-stages li:nth-child(2)::after { animation-delay: -6s; }
.how-flow-stages li:nth-child(3), .how-flow-stages li:nth-child(3)::after { animation-delay: -3s; }
@keyframes howFlowStage {
  0%, 31% { background: rgba(250, 246, 238, 0.08); color: var(--bg); border-top-color: transparent; }
  33.3%, 100% { background: transparent; color: rgba(250, 246, 238, 0.78); }
}
@keyframes howFlowCheck {
  0%, 31% { opacity: 1; }
  33.3%, 100% { opacity: 0; }
}
.how-flow-engine-foot {
  display: flex;
  gap: 10px;
  margin: 10px 14px 0;
  padding-top: 16px;
  border-top: 1px solid rgba(250, 246, 238, 0.08);
  font-size: 14px;
  line-height: 1.5;
  color: rgba(250, 246, 238, 0.72);
}
.how-flow-engine-foot::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--orange-soft);
}

.how-flow-note {
  grid-area: note;
  font-size: 14px;
  color: var(--ink-soft);
}
.how-flow-note::before {
  content: "\21B3";
  margin-right: 8px;
  color: var(--orange);
}
.how-flow-summary {
  margin: 22px auto 0;
  max-width: 64ch;
  text-align: center;
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}

@media (max-width: 1080px) {
  .how-flow-panel {
    grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1.1fr) 72px minmax(0, 1fr);
    padding: 32px 28px 26px;
  }
  .how-flow-node { font-size: 14px; padding: 0 12px; gap: 10px; }
}

/* Stacked: in, Sofee, out, joined by a short vertical rule. */
@media (max-width: 980px) {
  .how-flow-panel {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas: "label-in" "in" "engine" "label-out" "out" "note";
    row-gap: 0;
    padding: 26px 18px 22px;
  }
  .how-flow-wires { display: none; }
  .how-flow-label { margin-bottom: 10px; }
  .how-flow-list { grid-template-rows: none; gap: 8px; }
  .how-flow-out { height: auto; }
  .how-flow-list li { padding: 0; }
  .how-flow-node { min-height: 50px; padding: 12px 14px; }
  .how-flow-in { grid-template-columns: 1fr 1fr; }
  .how-flow-in li:first-child { grid-column: 1 / -1; }
  .how-flow-in .how-flow-node { font-size: 14px; padding: 10px 12px; gap: 9px; }
  .how-flow-engine,
  .how-flow-label-out { position: relative; margin-top: 44px; }
  .how-flow-engine::before,
  .how-flow-label-out::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -38px;
    height: 32px;
    border-left: 1px solid var(--line-strong);
  }
  .how-flow-note { margin-top: 18px; }
  .how-flow-summary { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .how-flow-packet { display: none; }
  .how-flow-wave i { animation: none; transform: scaleY(0.6); }
  .how-flow-stages li,
  .how-flow-stages li::after { animation: none; }
  .how-flow-stages li:first-child { background: rgba(250, 246, 238, 0.08); color: var(--bg); }
  .how-flow-stages li:first-child::after { opacity: 1; }
}

.steps {
  display: grid;
  gap: 0;
}
.step {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 32px;
  align-items: start;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step-num {
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--orange);
  letter-spacing: -0.015em;
  line-height: 1;
  padding-top: 4px;
}
.step-body h3 {
  margin-bottom: 6px;
  font-size: 19px;
}
.step-body p {
  color: var(--ink-soft);
  font-size: 15.5px;
  max-width: 62ch;
}
.step-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding-top: 10px;
  white-space: nowrap;
}

.how-note {
  margin-top: 32px;
  padding: 18px 22px;
  background: var(--bg-alt);
  border-left: 3px solid var(--orange-soft);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 70ch;
}
.how-note strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 4px;
}

/* ================================================================
   THE RECRUITER REVIEW
   ================================================================ */

.review { background: var(--bg-alt); }
.review-closer {
  margin: 40px auto 0;
  text-align: center;
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.4;
  max-width: 50ch;
}

/* ================================================================
   WHO IT'S FOR
   ================================================================ */

.who { background: var(--bg-alt); }
.who-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.who-col-right {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
}
.chip strong {
  font-weight: 600;
  color: var(--ink);
}
.role-types {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
}
.role-types strong { color: var(--ink); font-weight: 600; }

.fit-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-strong);
}
.fit-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}
.fit-item dt {
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.25;
}
.fit-item dd {
  font-size: 14.5px;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* ================================================================
   PRICING
   ================================================================ */

.pricing { background: var(--bg); }
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  box-shadow: 0 1px 2px rgba(26, 22, 20, 0.04);
}
.pricing-head .eyebrow { margin-bottom: 16px; }
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 14px;
}
.pricing-price-num {
  font-family: var(--f-display);
  font-size: 72px;
  font-weight: 400;
  color: var(--orange);
  letter-spacing: -0.04em;
  line-height: 0.9;
}
.pricing-price-unit {
  font-size: 18px;
  color: var(--ink-soft);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.pricing-compare {
  font-size: 15px;
  color: var(--ink-muted);
  margin-bottom: 18px;
}
.pricing-compare s { color: var(--ink-muted); opacity: 0.7; }
.pricing-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}
.pricing-list li {
  list-style: none;
  font-size: 14.5px;
  color: var(--ink-soft);
  padding-left: 22px;
  position: relative;
}
.pricing-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 10px; height: 6px;
  border-left: 1.5px solid var(--orange);
  border-bottom: 1.5px solid var(--orange);
  transform: rotate(-45deg);
}
.pricing-action {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 240px;
}
.pricing-callout {
  margin: 40px auto 0;
  text-align: center;
  font-family: var(--f-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.3;
  max-width: 38ch;
}
.pricing-aside {
  margin: 24px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 70ch;
  text-align: center;
}
.pricing-aside em {
  font-style: italic;
  font-family: var(--f-body);
}

.alongside-closer {
  margin: 40px auto 0;
  text-align: center;
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.4;
  max-width: 46ch;
}

/* ================================================================
   RUN ALONGSIDE
   ================================================================ */

.alongside { background: var(--bg-alt); }
.alongside-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.alongside-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.alongside-item:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.alongside-num {
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--orange);
  letter-spacing: -0.015em;
  line-height: 1;
  margin-bottom: 6px;
}
.alongside-item h3 {
  font-size: 20px;
  line-height: 1.25;
}
.alongside-item p {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.55;
}

/* ================================================================
   PULL-QUOTE (the single editorial moment)
   ================================================================ */

.pullquote {
  background: var(--bg-alt);
  padding: 96px 0;
}
.pullquote-wrap {
  max-width: 900px;
}
.pullquote blockquote {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.pullquote blockquote::before {
  content: '';
  display: block;
  width: 36px; height: 2px;
  background: var(--orange);
  margin-bottom: 28px;
}
.pullquote cite {
  display: block;
  margin-top: 22px;
  font-family: var(--f-body);
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ================================================================
   CLIENT TESTIMONIAL
   ================================================================ */

.client-testimonial {
  background: var(--bg-alt);
  padding: 96px 0;
}
.client-testimonial-card {
  background: var(--surface);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(26, 22, 20, 0.06), 0 8px 32px rgba(26, 22, 20, 0.08);
  padding: 56px 64px;
  max-width: 760px;
  margin: 0 auto;
}
.client-testimonial-card .eyebrow {
  margin-bottom: 24px;
}
.client-testimonial-card blockquote {
  font-family: var(--f-display);
  font-style: normal;
  font-weight: 400;
  font-variation-settings: "opsz" 72;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}
.client-testimonial-card blockquote::before {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--orange);
  margin-bottom: 28px;
}
.client-testimonial-card cite {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  font-style: normal;
}
.client-testimonial-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}
.client-testimonial-attribution {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.client-testimonial-role {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.client-testimonial-context {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 4px;
}
@media (max-width: 720px) {
  .client-testimonial { padding: 64px 0; }
  .client-testimonial-card { padding: 36px 28px; }
  .client-testimonial-card blockquote::before { margin-bottom: 20px; }
}

/* ================================================================
   TRUST / COMPLIANCE
   ================================================================ */

.trust { background: var(--bg); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-item {
  background: var(--bg);
  padding: 32px 24px 32px 0;
}
.trust-item:not(:first-child) { padding-left: 24px; }
.trust-num {
  font-family: var(--f-display);
  font-size: 40px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 10px;
}
.trust-label {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 22ch;
}
.trust-label strong {
  display: block;
  color: var(--ink);
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  margin-bottom: 4px;
  font-size: 15px;
  letter-spacing: -0.01em;
}

/* ================================================================
   FAQ
   ================================================================ */

.faq { background: var(--bg-alt); }
.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-strong);
  max-width: 820px;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 48px 22px 0;
  font-family: var(--f-display);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.3;
  position: relative;
  transition: color 0.18s ease;
  font-variation-settings: "opsz" 72;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary:hover { color: var(--orange-deep); }
.faq-item > summary:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
  border-radius: 2px;
}
.faq-item > summary::after {
  content: '';
  position: absolute;
  right: 4px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 1.8px solid var(--ink);
  border-bottom: 1.8px solid var(--ink);
  transform: translateY(-75%) rotate(45deg);
  transition: transform 0.2s ease, border-color 0.18s ease;
}
.faq-item[open] > summary::after {
  transform: translateY(-25%) rotate(-135deg);
}
.faq-item > summary:hover::after { border-color: var(--orange-deep); }

.faq-answer {
  padding: 0 32px 24px 0;
}
.faq-answer p {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 68ch;
}

/* ================================================================
   FINAL CTA (dark)
   ================================================================ */

.final {
  background: var(--ink);
  color: var(--bg);
  padding: 112px 0;
}
.final-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
}
.final h2 {
  color: var(--bg);
  margin-bottom: 22px;
}
.final p {
  color: rgba(250, 246, 238, 0.72);
  font-size: 17px;
  max-width: 46ch;
  margin-bottom: 28px;
}
.final .form-footnote { color: rgba(250, 246, 238, 0.5); }

.final-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  background: rgba(250, 246, 238, 0.04);
  border: 1px solid rgba(250, 246, 238, 0.1);
  border-radius: var(--radius-md);
}
.final-side-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-soft);
}
.final-side-q {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 450;
  color: var(--bg);
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.final-side-a {
  font-size: 14.5px;
  color: rgba(250, 246, 238, 0.7);
  line-height: 1.55;
}
.final-side-item + .final-side-item {
  padding-top: 18px;
  border-top: 1px solid rgba(250, 246, 238, 0.1);
}

/* ================================================================
   FOOTER
   ================================================================ */

footer {
  background: #120F0D;
  color: rgba(250, 246, 238, 0.55);
  padding: 56px 0 36px;
  font-size: 14px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(250, 246, 238, 0.1);
  margin-bottom: 24px;
}
.foot-brand-col .brand { color: var(--bg); margin-bottom: 14px; }
.foot-brand-col p {
  color: rgba(250, 246, 238, 0.6);
  font-size: 14px;
  max-width: 34ch;
  margin-bottom: 16px;
  line-height: 1.5;
}
.foot-brand-col .powered {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 13px;
  color: rgba(250, 246, 238, 0.5);
}
.foot-col h5 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg);
  margin-bottom: 16px;
}
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-col a {
  color: rgba(250, 246, 238, 0.65);
  transition: color 0.18s ease;
}
.foot-col a:hover { color: var(--orange-soft); }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: rgba(250, 246, 238, 0.4);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 980px) {
  .wrap { padding: 0 24px; }
  section { padding: 80px 0; }

  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-right { max-width: 460px; }

  .features-grid { grid-template-columns: 1fr; gap: 12px; }
  .whatis-grid { grid-template-columns: 1fr; gap: 16px; }
  .who-layout { grid-template-columns: 1fr; gap: 40px; }
  .alongside-grid { grid-template-columns: 1fr; gap: 12px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-item > summary { padding: 20px 40px 20px 0; }
  .faq-answer { padding: 0 0 20px 0; }

  .pricing-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 28px;
  }
  .pricing-action { min-width: 0; }

  .step { grid-template-columns: 48px 1fr; gap: 20px; padding: 22px 0; }
  .step-num { font-size: 22px; }
  .step-tag { grid-column: 2; padding-top: 4px; }

  .final { padding: 80px 0; }
  .final-layout { grid-template-columns: 1fr; gap: 40px; }

  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  section { padding: 64px 0; }

  .nav-links a:not(.nav-cta) { display: none; }

  /* Swap: hide sticky desktop nav, show mobile bottom CTA bar */
  .sticky-nav { display: none; }
  .mobile-cta-bar { display: flex; align-items: center; gap: 10px; }
  .mobile-cta-btn { flex: 1; width: auto; }

  /* The menu, reachable from the nav at the top and from the bar anywhere
     else, because .nav is not sticky and scrolls away on a long page. */
  .nav-links { gap: 12px; }
  html[data-nav-ready="true"] .nav-burger,
  html[data-nav-ready="true"] .mobile-cta-menu { display: inline-flex; }

  /* Bottom padding so the last section isn't covered by the bar */
  body { padding-bottom: 76px; }

  .hero { padding: 32px 0 48px; }
  .hero h1 { font-size: 42px; }
  .signup-submit { width: 100%; align-self: stretch; }
  .jd-row { flex-direction: column; align-items: flex-start; }
  .jd-or { display: none; }

  .trust-strip-grid { grid-template-columns: 1fr; gap: 14px; }
  .trust-strip-items { font-size: 15px; gap: 18px 28px; }

  .pricing-price-num { font-size: 56px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item, .trust-item:not(:first-child) { padding: 20px 0; }

  .foot-grid { grid-template-columns: 1fr; }

  .portrait-tag { left: 14px; bottom: 14px; padding: 10px 14px; }
}

/* ================================================================
   ENTRANCE
   ================================================================ */

.fade-up {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.d1 { animation-delay: 0.05s; }
.d2 { animation-delay: 0.15s; }
.d3 { animation-delay: 0.25s; }
.d4 { animation-delay: 0.35s; }
.d5 { animation-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
  .mobile-menu,
  .mobile-menu[data-state="open"] { transition: none; }
  .fade-up { animation: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ================================================================
   LEGAL / CONTENT PAGES (About, Privacy, Terms, AI & data policy)
   Reading-width article layout on cream. Matches the 404 pattern.
   ================================================================ */

.legal {
  padding: 80px 0 96px;
}
.legal-inner {
  max-width: 720px;
  margin: 0 auto;
}
.legal .eyebrow {
  margin-bottom: 18px;
}
.legal h1 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 24px;
  font-variation-settings: "opsz" 72;
}
.legal .lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 48px;
}
.legal h2 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 56px 0 16px;
  font-variation-settings: "opsz" 72;
}
.legal h2:first-of-type {
  margin-top: 0;
}
.legal h3 {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.35;
  color: var(--ink);
  margin: 32px 0 10px;
}
.legal p,
.legal li {
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink-soft);
}
.legal p {
  margin: 0 0 18px;
}
.legal ul,
.legal ol {
  margin: 0 0 20px;
  padding-left: 22px;
}
.legal li {
  margin-bottom: 8px;
}
.legal a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.legal a:hover {
  color: var(--orange);
}
.legal .meta-row {
  font-size: 14px;
  color: var(--ink-muted);
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}
.legal hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 56px 0;
}
.legal .legal-cta {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-top: 48px;
}
.legal .legal-cta h3 {
  margin-top: 0;
}
.legal .legal-cta p {
  margin-bottom: 16px;
}
.legal .legal-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

@media (max-width: 640px) {
  .legal { padding: 56px 0 72px; }
  .legal h2 { margin: 44px 0 14px; }
  .legal p, .legal li { font-size: 16px; }
  .legal .lede { font-size: 17px; margin-bottom: 36px; }
}
