/* ==========================================================================
   FixyCome — site stylesheet  (dark edition)
   Same editorial system as before — a display serif set with restraint,
   hairline rules instead of boxes, numbered sections, deliberate asymmetry —
   carried onto a deep blue-navy ground that matches the app and the logo.
   One blue accent, weight kept low. Considered and human, not a grid of cards.
   ========================================================================== */

:root {
  /* text (light on dark) */
  --ink:        #EEF2F8;
  --ink-2:      #C6CFDD;
  --ink-3:      #8B98AD;
  --ink-4:      #63708A;

  /* brand blues */
  --brand:      #2563EB;   /* app-exact — primary button fill            */
  --brand-hover:#3B82F6;   /* button hover (lighter on dark)             */
  --accent:     #6EA0FF;   /* links, numbers, eyebrows — reads on dark   */
  --accent-2:   #9BBEFF;   /* link hover                                 */
  --brand-soft: #17233D;   /* subtle blue fill (chips, chosen bid)       */
  --brand-tint: #2C3E63;   /* subtle blue border                         */
  --green:      #34D399;   /* checks, live dot, chosen flag              */

  /* surfaces */
  --paper:      #10192C;   /* page ground                                */
  --paper-2:    #16223A;   /* banded sections (thesis, demo)             */
  --surface:    #1C2A45;   /* raised cards (job card, form card)         */
  --surface-2:  #131F36;   /* inset fields                               */
  --ink-panel:  #0C1424;   /* darkest band (the beta section)            */

  /* lines */
  --line:       #293750;
  --line-2:     #374966;

  --serif: 'Spectral', Georgia, 'Times New Roman', serif;
  --sans:  'IBM Plex Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --r-sm: 6px;
  --r:    10px;
  --r-lg: 14px;

  --shadow-card:   0 1px 2px rgba(0,0,0,0.40), 0 10px 30px rgba(0,0,0,0.45);
  --shadow-raised: 0 2px 8px rgba(0,0,0,0.50), 0 24px 60px rgba(0,0,0,0.55);

  --wrap: 1140px;
  --measure: 62ch;
  --pad: clamp(20px, 5vw, 44px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; color-scheme: dark; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
}

h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 500; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 1.4rem + 3.9vw, 3.7rem); line-height: 1.06; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.1vw, 2.5rem); line-height: 1.14; }
h3 { font-size: 1.25rem; line-height: 1.3; font-weight: 500; }
p { margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }
img { max-width: 100%; display: block; }
::selection { background: rgba(37,99,235,0.32); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
hr.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---- layout helpers ------------------------------------------------------ */
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }
.section { padding-block: clamp(60px, 8vw, 116px); }
.lead { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem); color: var(--ink-2); line-height: 1.5; font-weight: 400; }
.muted { color: var(--ink-3); }
.measure { max-width: var(--measure); }

/* section index label: "01 — How it works" */
.section-index {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3);
  margin: 0 0 22px;
}
.section-index .idx { color: var(--accent); font-variant-numeric: tabular-nums; }
.section-index::after { content: ""; flex: 1; height: 1px; background: var(--line); max-width: 90px; }

/* ---- buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-size: 0.96rem; font-weight: 500;
  padding: 12px 22px; border-radius: var(--r-sm); border: 1px solid transparent;
  cursor: pointer; transition: background-color .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap; line-height: 1;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-lg { padding: 15px 27px; font-size: 1rem; }

/* ==========================================================================
   Header — a thin masthead with a blue top rule
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(16, 25, 44, 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-top: 3px solid var(--brand);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad);
  display: flex; align-items: center; justify-content: space-between; height: 70px;
}
.nav-links { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); }
.nav-links a { color: var(--ink-2); font-size: 0.94rem; font-weight: 400; }
.nav-links a:hover { color: var(--ink); }
.nav-sep { width: 1px; height: 18px; background: var(--line-2); flex: none; }
.header-cta { display: flex; align-items: center; gap: 16px; }

/* ---- logo ---------------------------------------------------------------- */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-img { display: block; height: auto; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding-top: clamp(52px, 6vw, 92px); padding-bottom: clamp(56px, 7vw, 104px); }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.kicker {
  font-family: var(--sans); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-3); margin: 0 0 20px;
}
.hero-tagline { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-tagline .en {
  font-family: var(--sans); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--ink-3);
}
.hero h1 { margin-bottom: 26px; }
.hero h1 .accent { color: var(--accent); font-style: italic; }
.hero p.lead { max-width: 36ch; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 30px; font-size: 0.9rem; color: var(--ink-3); display: flex; align-items: center; gap: 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-note .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(52,211,153,0.14); flex: none; }

/* ---- signature: the "one job, several bids" card ------------------------- */
.jobcard {
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  box-shadow: var(--shadow-raised); padding: 24px; max-width: 420px; margin-inline: auto; width: 100%;
}
.jobcard-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.jc-label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 8px; }
.jc-title { font-family: var(--serif); font-weight: 500; font-size: 1.28rem; color: var(--ink); line-height: 1.25; }
.jc-meta { margin-top: 9px; font-size: 0.86rem; color: var(--ink-3); }
.tag { display: inline-flex; align-items: center; font-size: 0.72rem; font-weight: 600; color: var(--accent); background: var(--brand-soft); border: 1px solid var(--brand-tint); padding: 5px 11px; border-radius: 999px; }
.jc-bidshead { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; color: var(--ink-3); margin: 18px 2px 12px; text-transform: uppercase; }
.bid { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; border-radius: var(--r-sm); border: 1px solid var(--line); margin-bottom: 9px; }
.bid.is-chosen { border-color: var(--brand-tint); background: var(--brand-soft); }
.bid:last-of-type { margin-bottom: 0; }
.bidder { display: flex; align-items: center; gap: 12px; min-width: 0; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); display: grid; place-items: center; font-size: 0.82rem; font-weight: 600; flex: none; }
.bidder .name { font-size: 0.92rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.bidder .sub { font-size: 0.77rem; color: var(--ink-3); }
.star { color: #E8A63C; }
.price { text-align: right; flex: none; }
.price .amt { font-size: 1rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.price .cur { font-size: 0.72rem; color: var(--ink-4); }
.chosen-flag { font-size: 0.7rem; font-weight: 600; color: var(--green); }

/* ==========================================================================
   Thesis (problem -> solution, editorial, no boxes)
   ========================================================================== */
.thesis { border-top: 1px solid var(--line); background: var(--paper-2); }
.thesis-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.thesis h2 { max-width: 16ch; }
.thesis-body p { margin-bottom: 18px; }
.thesis-body p:last-child { margin-bottom: 0; }
.thesis-body .lead { color: var(--ink); margin-bottom: 22px; }
.principles { list-style: none; margin: 34px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line-2); display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.principles li { padding: 0 26px; }
.principles li + li { border-left: 1px solid var(--line); }
.principles li:first-child { padding-left: 0; }
.principles h3 { font-size: 1.02rem; font-weight: 600; font-family: var(--sans); color: var(--ink); margin-bottom: 7px; }
.principles p { font-size: 0.9rem; color: var(--ink-3); line-height: 1.5; }

/* ==========================================================================
   How it works — editorial numbered list
   ========================================================================== */
.proc { list-style: none; margin: 46px 0 0; padding: 0; }
.proc-row { display: grid; grid-template-columns: 96px 1fr; gap: clamp(20px, 4vw, 52px); align-items: baseline; padding: 30px 0; border-top: 1px solid var(--line); }
.proc-row:last-child { border-bottom: 1px solid var(--line); }
.proc-num { font-family: var(--serif); font-size: clamp(2rem, 1.4rem + 1.6vw, 2.9rem); font-weight: 400; color: var(--accent); line-height: 1; font-variant-numeric: lining-nums; }
.proc-body { max-width: 54ch; }
.proc-body h3 { font-size: 1.3rem; margin-bottom: 9px; }
.proc-body p { color: var(--ink-3); }

.services { margin-top: clamp(40px, 5vw, 60px); display: grid; grid-template-columns: 220px 1fr; gap: clamp(16px, 4vw, 48px); align-items: baseline; }
.services .services-h { font-family: var(--sans); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); padding-top: 6px; }
.svc-list { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.svc { font-size: 0.9rem; font-weight: 500; color: var(--ink-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 15px; transition: border-color .15s ease, color .15s ease; }
.svc:hover { border-color: var(--brand-tint); color: var(--ink); }

/* ==========================================================================
   Demo — the app shown inside a phone frame
   The source clip is a portrait screen-recording centred in a 1920x1080
   canvas. The screen's aspect-ratio (476/1080) plus object-fit:cover crop the
   black side-bars away, so only the app footage is visible.
   ========================================================================== */
.demo { border-top: 1px solid var(--line); background: var(--paper-2); }
.demo .lead { max-width: 52ch; margin-top: 8px; }
.video-frame { margin: clamp(34px, 4vw, 52px) auto 0; display: grid; place-items: center; }

.phone {
  position: relative;
  width: clamp(238px, 66vw, 296px);
  padding: 14px;
  background: linear-gradient(160deg, #0C1220 0%, #05070C 100%);
  border: 1px solid #2A3550;
  border-radius: 46px;
  box-shadow: var(--shadow-raised), inset 0 1px 0 rgba(255,255,255,0.05);
}
.phone::after {            /* faint side-button hint */
  content: ""; position: absolute; right: -2px; top: 132px; width: 2px; height: 52px;
  background: #2A3550; border-radius: 2px;
}
.phone-notch {            /* earpiece slit, sits in the top bezel */
  position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 46px; height: 5px; border-radius: 3px; background: #2A3550; z-index: 4;
}
.phone-screen {
  position: relative; aspect-ratio: 476 / 1080;
  border-radius: 33px; overflow: hidden; background: #000;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}
.phone-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; display: block; border: 0; background: #000;
}
.video-frame figcaption { text-align: center; margin-top: 22px; font-family: var(--serif); font-style: italic; color: var(--ink-3); font-size: 0.94rem; }

/* ==========================================================================
   Who it's for — alternating editorial rows
   ========================================================================== */
.who-row { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 76px); align-items: start; padding: clamp(36px, 5vw, 60px) 0; }
.who-row--rev .who-lead { order: 2; }
.who-row--rev .who-list { order: 1; }
.who-eyebrow { font-family: var(--sans); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.who-lead h2 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 1.95rem); margin-bottom: 16px; }
.who-lead p { color: var(--ink-3); max-width: 40ch; }
.who-list { list-style: none; margin: 0; padding: 0; }
.who-list li { position: relative; padding: 16px 0 16px 26px; border-top: 1px solid var(--line); font-size: 1rem; color: var(--ink-2); line-height: 1.5; }
.who-list li:first-child { border-top: 0; padding-top: 0; }
.who-list li:first-child::before { top: 4px; }
.who-list li::before { content: ""; position: absolute; left: 0; top: 20px; width: 13px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* ==========================================================================
   The private beta (darkest band)
   ========================================================================== */
.beta { background: var(--ink-panel); color: var(--ink-2); border-block: 1px solid var(--line); }
.beta h2 { color: #fff; }
.beta .section-index { color: var(--ink-3); }
.beta .section-index .idx { color: var(--accent); }
.beta .section-index::after { background: var(--line); }
.beta .lead { color: var(--ink-2); }
.beta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 84px); align-items: start; }
.beta-steps { list-style: none; margin: 0; padding: 0; counter-reset: b; }
.beta-steps li { position: relative; padding: 22px 0 22px 52px; border-top: 1px solid var(--line); }
.beta-steps li:first-child { border-top: 0; padding-top: 4px; }
.beta-steps li .bn { counter-increment: b; position: absolute; left: 0; top: 20px; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: var(--accent); line-height: 1; }
.beta-steps li:first-child .bn { top: 0; }
.beta-steps li .bn::before { content: "0" counter(b); }
.beta-steps li h3 { color: #fff; font-family: var(--sans); font-size: 1.02rem; font-weight: 600; margin-bottom: 6px; }
.beta-steps li p { font-size: 0.94rem; color: var(--ink-3); line-height: 1.55; }
.beta-callout { border-left: 2px solid var(--brand); padding: 4px 0 4px 20px; margin-top: 30px; }
.beta-callout p { font-size: 0.96rem; color: var(--ink-2); line-height: 1.6; }
.beta-callout strong { color: #fff; font-weight: 600; }

/* ==========================================================================
   Apply
   ========================================================================== */
.apply { border-top: 1px solid var(--line); }
.apply-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 5vw, 76px); align-items: start; }
.apply-intro p { color: var(--ink-3); margin-top: 16px; max-width: 42ch; }

/* data-security reassurance */
.assure { margin-top: 32px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper-2); padding: 22px 24px; }
.assure-head { display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-weight: 600; font-size: 0.98rem; color: var(--ink); margin-bottom: 14px; }
.assure-head .lock { width: 26px; height: 26px; border-radius: 6px; background: var(--brand-soft); border: 1px solid var(--brand-tint); display: grid; place-items: center; color: var(--accent); flex: none; }
.assure ul { list-style: none; margin: 0; padding: 0; }
.assure li { position: relative; padding: 8px 0 8px 24px; font-size: 0.92rem; color: var(--ink-2); line-height: 1.5; }
.assure li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 10px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }

.form-card { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow-card); padding: clamp(24px, 3vw, 38px); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field .opt { font-weight: 400; color: var(--ink-4); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 0.98rem; color: var(--ink);
  padding: 12px 13px; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  background: var(--surface-2); transition: border-color .15s ease, box-shadow .15s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-4); }
.field textarea { resize: vertical; min-height: 92px; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37,99,235,0.25); }
.field-hint { display: block; margin-top: 6px; font-size: 0.79rem; color: var(--ink-4); line-height: 1.4; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.role { position: relative; }
.role input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.role span { display: block; text-align: center; padding: 13px 12px; border: 1px solid var(--line-2); border-radius: var(--r-sm); font-size: 0.95rem; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: all .15s ease; }
.role input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--accent); box-shadow: inset 0 0 0 1px var(--brand); }
.role input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.pro-only { display: none; }
.pro-only.show { display: block; }
.consent { display: flex; gap: 11px; align-items: flex-start; margin: 6px 0 22px; }
.consent input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--brand); flex: none; }
.consent label { font-size: 0.86rem; color: var(--ink-3); line-height: 1.5; font-weight: 400; }
.form-notice { display: none; margin-top: 16px; padding: 13px 15px; border-radius: var(--r-sm); font-size: 0.9rem; line-height: 1.5; background: var(--brand-soft); border: 1px solid var(--brand-tint); color: var(--ink-2); }
.form-notice.show { display: block; }
.form-notice.is-success { background: #0F2A1E; border-color: #1F5C40; color: #7DE0AD; }
.form-notice.is-error { background: #2E1416; border-color: #6B2A2E; color: #FCA5A5; }
.placeholder-flag { font-size: 0.8rem; color: var(--ink-4); margin-top: 14px; text-align: center; }

/* honeypot */
.hp { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--line); background: var(--paper); }
.footer-full { padding-block: clamp(48px, 5vw, 72px) 30px; }
.footer-slim { padding-block: 34px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.foot-brand p { margin-top: 16px; font-size: 0.92rem; color: var(--ink-3); max-width: 30ch; line-height: 1.55; }
.foot-col h4 { font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-4); margin: 0 0 15px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin-bottom: 11px; }
.foot-col a { color: var(--ink-2); font-size: 0.93rem; font-weight: 400; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: clamp(40px, 4vw, 56px); padding-top: 22px; border-top: 1px solid var(--line); }
.foot-bottom p { font-size: 0.85rem; color: var(--ink-4); }
.foot-legal-note { font-size: 0.8rem; color: var(--ink-4); max-width: 66ch; line-height: 1.55; margin-top: 14px; }

.foot-inner { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot-inner .links { display: flex; gap: 22px; }
.foot-inner a { color: var(--ink-2); font-size: 0.92rem; font-weight: 500; }
.foot-inner a:hover { color: var(--accent); }
.foot-inner .cr { font-size: 0.85rem; color: var(--ink-4); }

/* ==========================================================================
   Legal document pages
   ========================================================================== */
.doc { max-width: 780px; margin: 0 auto; padding-inline: var(--pad); padding-block: clamp(46px, 7vw, 88px); }
.doc .eyebrow { font-family: var(--sans); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.doc h1 { font-size: clamp(2.1rem, 1.4rem + 2.4vw, 2.9rem); line-height: 1.08; margin-bottom: 16px; }
.doc .meta { font-size: 0.92rem; color: var(--ink-3); margin-bottom: 8px; }
.doc .callout { background: var(--paper-2); border: 1px solid var(--line); border-left: 2px solid var(--brand); border-radius: var(--r-sm); padding: 17px 19px; margin: 28px 0 8px; font-size: 0.95rem; color: var(--ink-2); line-height: 1.6; }
.doc h2 { font-size: 1.35rem; line-height: 1.3; margin: 42px 0 12px; }
.doc h2:first-of-type { margin-top: 36px; }
.doc p { margin: 0 0 14px; }
.doc p:last-child { margin-bottom: 0; }
.doc ul { margin: 0 0 14px; padding-left: 20px; }
.doc li { margin-bottom: 8px; }
.doc .back { display: inline-block; margin-top: 46px; font-weight: 500; font-size: 0.95rem; }

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero p.lead { max-width: 48ch; }
  .thesis-grid { grid-template-columns: 1fr; gap: 28px; }
  .principles { gap: 22px 0; }
  .beta-grid { grid-template-columns: 1fr; gap: 42px; }
  .apply-grid { grid-template-columns: 1fr; gap: 36px; }
  .who-row, .who-row--rev { grid-template-columns: 1fr; gap: 22px; }
  .who-row--rev .who-lead { order: 0; }
  .who-row--rev .who-list { order: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 34px 28px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .principles { grid-template-columns: 1fr; }
  .principles li { padding: 0; }
  .principles li + li { border-left: 0; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 20px; }
  .proc-row { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .proc-num { font-size: 1.7rem; }
  .services { grid-template-columns: 1fr; gap: 14px; }
  .field-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { flex: 1 1 auto; }
}
