/* occideas.com — shared styles
   Colours follow the design doc: OccIDEAS teal on white and pale blue-grey.
   --teal (#3d9cbf) is only 3.1:1 on white, so it is used for large text,
   borders and decoration. Body links and buttons use --teal-ink (6:1). */

:root {
  --teal: #3d9cbf;
  --teal-ink: #246a8c;
  --teal-ink-hover: #1b5672;
  --deep: #16465c;          /* footer and dark bands; logo-reversed.svg is cut to this colour */
  --on-deep-accent: #8fd0e8;
  --mist: #edf2f5;
  --ink: #1c2b33;
  --muted: #4a5a63;
  --line: #d5dfe5;
  --white: #ffffff;

  /* Report colours: only inside report samples, never as decoration */
  --level-high: #a8492f;
  --level-medium: #9a6a12;
  --level-low: #8a7414;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 10px;
  --wrap: 1120px;
  --gutter: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3 {
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }      /* 36–56px */
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

a { color: var(--teal-ink); }
a:hover { color: var(--teal-ink-hover); }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.narrow { max-width: 720px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--white);
  padding: 8px 16px;
  z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 2px solid var(--teal-ink);
  background: var(--teal-ink);
  color: var(--white);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn:hover { background: var(--teal-ink-hover); border-color: var(--teal-ink-hover); color: var(--white); }

.btn-outline { background: transparent; color: var(--teal-ink); }
.btn-outline:hover { background: var(--teal-ink); color: var(--white); }

.btn-light { background: var(--white); border-color: var(--white); color: var(--deep); }
.btn-light:hover { background: var(--mist); border-color: var(--mist); color: var(--deep); }

.btn-ghost-light { background: transparent; border-color: var(--white); color: var(--white); }
.btn-ghost-light:hover { background: var(--white); color: var(--deep); }

.btn-small { min-height: 40px; padding: 8px 16px; font-size: 0.9rem; }

/* Main call to action: bigger, with an arrow that nudges forward on hover */
.btn-large { min-height: 56px; padding: 14px 30px; font-size: 1.15rem; }
.btn-arrow { transition: transform 0.15s; }
.btn:hover .btn-arrow, .btn:focus-visible .btn-arrow { transform: translateX(3px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
}

.brand img { height: 40px; width: auto; }

.site-nav { margin-left: auto; }
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
}
.site-nav a {
  display: block;
  padding: 8px 12px;
  color: var(--ink);
  text-decoration: none;
  font-size: 1rem;
  border-radius: 6px;
}
.site-nav a:hover { background: var(--mist); }
.site-nav a[aria-current="page"] { color: var(--teal-ink); font-weight: 600; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    margin: 0;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; padding: 8px var(--gutter) 16px; }
  .site-nav a { padding: 12px; }
  .header-code { margin-left: auto; }
  .nav-toggle { order: 3; margin-left: 0; }
  .brand img { height: 34px; }
}

@media (max-width: 420px) {
  .header-code .long { display: none; }
}

/* Minimal header for worker pages (no sales navigation) */
.site-header.minimal .header-inner { justify-content: space-between; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--deep);
  color: rgba(255, 255, 255, 0.88);
  padding: 48px 0 32px;
  font-size: 0.95rem;
}
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--on-deep-accent); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}
.footer-logo { height: 44px; width: auto; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-heading { font-weight: 600; color: var(--white); margin-bottom: 8px; }
.footer-base {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.85rem;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Story chapters (home page) ---------- */

.chapter {
  position: relative;
  display: flex;
  align-items: center;
  padding: 80px 0;
}
.chapter.alt { background: var(--mist); }

.chapter-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-ink);
  margin-bottom: 12px;
}

.chapter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.chapter-grid.flip > :first-child { order: 2; }

.lead { font-size: 1.2rem; color: var(--muted); }

@media (max-width: 860px) {
  .chapter { padding: 72px 0; }
  .chapter-grid { grid-template-columns: 1fr; gap: 36px; }
  .chapter-grid.flip > :first-child { order: 0; }
}

/* Reveal on scroll — only when JS runs and motion is allowed */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Chapter progress marker */
.progress-rail {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
}
.progress-rail ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.progress-rail a {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  background: var(--white);
  position: relative;
}
.progress-rail a[aria-current="step"] { background: var(--teal-ink); border-color: var(--teal-ink); }
.progress-rail .rail-tip {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  background: var(--ink);
  color: var(--white);
  font-size: 0.8rem;
  padding: 3px 8px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
}
.progress-rail a:hover .rail-tip,
.progress-rail a:focus-visible .rail-tip { opacity: 1; }
@media (max-width: 1000px) { .progress-rail { display: none; } }

/* Chapter 1 — opening */
.hero {
  /* Shorter than the screen, so the next chapter peeks in and shows there is more */
  min-height: calc(80vh - 68px);
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(22, 70, 92, 0.55) 0%, rgba(22, 70, 92, 0.92) 75%),
    url('../assets/hero.jpg') 35% center / cover no-repeat,
    var(--deep);
  overflow: hidden;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { max-width: 22ch; }
.hero .lead { color: rgba(255, 255, 255, 0.9); max-width: 36rem; }
.hero .chapter-label { color: var(--on-deep-accent); }
/* Main action sits on the right with its note underneath; on phones it stacks first.
   Each button has a short label above it: understand it, buy it, try it */
.hero .btn-row {
  display: grid;
  grid-template-areas:
    "method-path employers-path try-path"
    "method employers try"
    ". . note";
  justify-content: start;
  justify-items: start;
  align-items: center;
  column-gap: 12px;
  row-gap: 0;
  margin-top: 32px;
}
.hero .hero-path {
  justify-self: center;
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-deep-accent);
}
.hero .hero-path-method { grid-area: method-path; }
.hero .hero-path-employers { grid-area: employers-path; }
.hero .hero-path-try { grid-area: try-path; }
.hero .hero-method { grid-area: method; }
.hero .hero-employers { grid-area: employers; }
.hero .btn-large { grid-area: try; }
/* width: 0 + min-width: 100% keeps the note to the button's width instead of widening the column */
.hero .cta-note { grid-area: note; width: 0; min-width: 100%; margin: 12px 0 0; text-align: center; font-size: 0.95rem; line-height: 1.4; color: rgba(255, 255, 255, 0.85); }
@media (max-width: 640px) {
  .hero .btn-row {
    grid-template-areas: "try-path" "try" "note" "method-path" "method" "employers-path" "employers";
    row-gap: 0;
  }
  .hero .hero-path { justify-self: start; }
  .hero .cta-note { margin: 12px 0 0; text-align: left; }
  .hero .hero-path-method { margin-top: 28px; }
  .hero .hero-path-employers { margin-top: 20px; }
}
.hero-swirl {
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 640px;
  opacity: 0.12;
  pointer-events: none;
}
@media (max-width: 860px) {
  .hero {
    min-height: calc(80svh - 68px);
    background:
      linear-gradient(180deg, rgba(22, 70, 92, 0.55) 0%, rgba(22, 70, 92, 0.92) 75%),
      url('../assets/hero-small.jpg') 35% center / cover no-repeat,
      var(--deep);
  }
  .hero-swirl { width: 420px; right: -160px; bottom: -120px; }
}

/* Photo placeholders — replace with real photography before launch */
.photo-placeholder {
  display: flex;
  align-items: flex-end;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  padding: 16px;
  background:
    repeating-linear-gradient(135deg, rgba(61, 156, 191, 0.10) 0 14px, rgba(61, 156, 191, 0.04) 14px 28px),
    var(--mist);
  border: 2px dashed var(--teal);
  color: var(--muted);
  font-size: 0.9rem;
}
/* Chapter 2 — the gap */
.contrast {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contrast-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.contrast-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.contrast-card p { font-size: 0.95rem; color: var(--muted); margin: 0 0 12px; }
.people {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}
.people span {
  aspect-ratio: 1 / 1.4;
  border-radius: 40% 40% 8px 8px;
  background: var(--line);
}
.people span.on { background: var(--teal); }
@media (max-width: 480px) {
  .contrast { gap: 10px; }
  .contrast-card { padding: 14px; }
  .people { gap: 4px; }
  .phone { width: 240px; }
}

/* Chapter 3 — the method */
.method-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  counter-reset: step;
}
.method-steps li {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 6px solid var(--teal);
  border-radius: var(--radius);
  padding: 18px 20px 18px 64px;
}
.method-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal-ink);
  color: var(--white);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
}
.method-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 33px;
  bottom: -17px;
  width: 2px;
  height: 16px;
  background: var(--teal);
}
.method-steps strong { display: block; font-size: 1.1rem; }
.method-steps span { color: var(--muted); font-size: 0.95rem; }

/* Chapter 4 — phone mock-up */
.phone-demo { display: grid; justify-items: center; gap: 16px; }
.phone {
  width: 280px;
  max-width: 100%;
  aspect-ratio: 9 / 18;
  border-radius: 36px;
  border: 10px solid var(--ink);
  background: var(--white);
  box-shadow: 0 24px 48px rgba(22, 70, 92, 0.18);
  position: relative;
  overflow: hidden;
}
.phone-screen {
  position: absolute;
  inset: 0;
  padding: 36px 18px 18px;
  font-size: 0.85rem;
  line-height: 1.45;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.phone-screen.is-active { opacity: 1; }
.phone-screen .ps-step { color: var(--teal-ink); font-weight: 700; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }
.phone-screen .ps-q { font-weight: 600; font-size: 1rem; margin: 6px 0 14px; color: var(--ink); }
.phone-screen .ps-opt {
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.phone-screen .ps-opt.sel { border-color: var(--teal-ink); background: var(--mist); font-weight: 600; }
.ps-bar { height: 10px; border-radius: 5px; background: var(--mist); margin: 6px 0 14px; overflow: hidden; }
.ps-bar i { display: block; height: 100%; background: var(--teal); }
.phone-steps { display: flex; gap: 8px; }
.phone-steps button {
  font: inherit;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}
.phone-steps button[aria-pressed="true"] { border-color: var(--teal-ink); color: var(--teal-ink); font-weight: 600; }

.fact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.fact-list li { display: flex; gap: 12px; align-items: flex-start; }
.fact-list svg { flex: none; margin-top: 3px; color: var(--teal-ink); }

/* Report samples (chapters 5 and 6) */
.sample-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px 8px;
  margin-bottom: 12px;
}
.report-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 12px 32px rgba(22, 70, 92, 0.08);
}
.report-card h3 { margin-bottom: 16px; }
.finding {
  border-top: 1px solid var(--line);
  padding: 14px 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  align-items: start;
}
.finding:last-child { padding-bottom: 0; }
.level {
  display: inline-block;
  min-width: 124px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  padding: 3px 10px;
  border-radius: 4px;
}
.level.high { background: var(--level-high); }
.level.medium { background: var(--level-medium); }
.level.low { background: var(--level-low); }
.level.none { background: var(--white); color: var(--muted); border: 1px solid var(--line); }
.finding p { margin: 0; font-size: 0.95rem; }
.finding .agent { font-weight: 600; }
.report-note { margin: 16px 0 0; font-size: 0.85rem; color: var(--muted); }

.tbc {
  background: #fff6d6;
  outline: 1px dashed #b08a00;
  padding: 0 4px;
  border-radius: 3px;
  font-style: italic;
}

.workforce-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.workforce-table th,
.workforce-table td { text-align: left; padding: 10px 8px; border-top: 1px solid var(--line); vertical-align: middle; }
.workforce-table thead th { border-top: none; font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.workforce-table td.num { text-align: right; font-variant-numeric: tabular-nums; width: 3.5em; }
.stack { display: flex; height: 12px; border-radius: 6px; overflow: hidden; background: var(--mist); min-width: 80px; }
.stack i { display: block; height: 100%; }
.stack .high { background: var(--level-high); }
/* Bars step dark to light so levels read apart; the counts carry the data */
.stack i + i { border-left: 2px solid var(--white); }
.stack .medium { background: #c98a2b; }
.stack .low { background: #e2cd72; }
@media (max-width: 520px) { .workforce-table .bar-col { display: none; } }

/* Chapter 7 — privacy */
.privacy-points {
  list-style: none;
  margin: 40px 0 32px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.privacy-points li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.privacy-points .icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--teal-ink);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.privacy-points h3 { font-size: 1.1rem; }
.privacy-points p { color: var(--muted); font-size: 0.95rem; margin: 0; }
@media (max-width: 860px) { .privacy-points { grid-template-columns: 1fr; } }

/* Chapter 8 — get started */
.cta-band { background: var(--deep); color: var(--white); }
.cta-band .chapter-label { color: var(--on-deep-accent); }
.cta-band .lead { color: rgba(255, 255, 255, 0.88); }
.cta-band a:not(.btn) { color: var(--white); }

/* ---------- Inner pages ---------- */

.page-hero {
  background: var(--mist);
  padding: 72px 0 56px;
}
.page-hero .lead { max-width: 40rem; }

.section { padding: 64px 0; }
.section.alt { background: var(--mist); }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 32px;
  counter-reset: s;
}
.steps > li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
}
.steps > li::before {
  counter-increment: s;
  content: counter(s);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--teal-ink);
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
}
.steps h2 { font-size: 1.5rem; margin-bottom: 8px; }
.steps h3 { font-size: 1.25rem; margin-bottom: 6px; }
.steps p:last-child { margin-bottom: 0; }

.callout {
  border-left: 6px solid var(--teal);
  background: var(--mist);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.placeholder-block {
  border: 2px dashed var(--teal);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--mist);
  color: var(--muted);
}

/* ---------- Forms ---------- */

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 12px 32px rgba(22, 70, 92, 0.06);
}
.field { margin-bottom: 18px; }
.field label,
.field legend { display: block; font-weight: 600; margin-bottom: 6px; font-size: 1rem; }
.field .hint { display: block; font-weight: 400; color: var(--muted); font-size: 0.9rem; }
.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid #8fa3ae;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--teal-ink); outline: 3px solid rgba(61, 156, 191, 0.35); outline-offset: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

fieldset.field { border: 0; padding: 0; margin: 0 0 18px; }
.choice { display: flex; flex-wrap: wrap; gap: 10px; }
.choice label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
}
.choice input { accent-color: var(--teal-ink); }

.field-error {
  color: var(--level-high);
  font-size: 0.95rem;
  margin-top: 6px;
}
[aria-invalid="true"] { border-color: var(--level-high) !important; }

.form-status {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--mist);
}

.email-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.email-line .address { font-weight: 600; font-size: 1.1rem; }

/* ---------- Try page ---------- */

.try-options {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.try-options li {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.try-options h2 { font-size: 1.35rem; }
.try-options p { flex: 1; color: var(--muted); }
.try-options .btn { width: 100%; }
@media (max-width: 860px) { .try-options { grid-template-columns: 1fr; } }
/* Catches workers with an employer code who clicked Try it free by mistake */
.try-code-note { margin: 24px 0 0; color: var(--muted); }
.try-code-note a { font-weight: 600; }
.try-about { margin-top: 56px; }
.try-about h2 { font-size: 1.5rem; }

/* ---------- Start page (workers) ---------- */

.start-main {
  background: var(--mist);
  padding: 40px 0 64px;
  min-height: calc(100vh - 68px - 120px);
}
.start-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 24px;
}
.start-card h1 { font-size: clamp(1.9rem, 6vw, 2.5rem); }
.code-input {
  width: 100%;
  font: inherit;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  padding: 14px 16px;
  border: 2px solid #8fa3ae;
  border-radius: 10px;
}
.code-input:focus { border-color: var(--teal-ink); outline: 3px solid rgba(61, 156, 191, 0.35); outline-offset: 0; }
.start-card .btn { width: 100%; margin-top: 16px; font-size: 1.1rem; }
.expect { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.expect li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; }
.expect svg { flex: none; margin-top: 3px; color: var(--teal-ink); }
.no-code { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 1rem; }
.no-code p { margin: 0; }

.site-footer.minimal { padding: 24px 0; }
@media (prefers-reduced-motion: reduce) {
  .phone-screen { transition: none; }
}

/* ---- Trial disclaimer dialog ---- */
.disclaimer {
  width: min(560px, calc(100% - 2 * var(--gutter)));
  max-height: calc(100% - 2 * var(--gutter));
  overflow-y: auto;
  padding: 28px;
  border: 0;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 20px 50px rgba(22, 70, 92, 0.25);
}
.disclaimer::backdrop { background: rgba(22, 70, 92, 0.6); }
.disclaimer h2 { margin-top: 0; }
.disclaimer p { color: var(--muted); }
.disclaimer .btn-row { margin-top: 24px; }
@media (max-width: 420px) {
  .disclaimer { padding: 22px; }
  .disclaimer .btn-row .btn { width: 100%; }
}

/* ---- Hazard lists (homepage and Try page) ---- */
.hazard-group { margin: 20px 0 8px; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.report-card h3 + .hazard-group { margin-top: 0; }
.hazard-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hazard-chips li { padding: 6px 14px; border-radius: 999px; background: var(--mist); color: var(--ink); font-size: 0.95rem; font-weight: 600; }
.hazard-chips.extra li { background: var(--white); border: 1px solid var(--line); font-weight: 400; }
.hazard-note { margin: 10px 0 0; font-size: 0.85rem; color: var(--muted); }

/* ---- Pricing ---- */
.price-card { margin-top: 24px; }
.price { margin: 0 0 4px; font-size: 1.15rem; }
.price strong { font-size: 2rem; color: var(--deep); }
.price-plus { margin: 0 6px; color: var(--muted); }
.price-card .fact-list { margin-top: 0; }
.price-line { margin: 32px 0 0; padding: 16px 20px; border-left: 6px solid var(--teal); background: var(--white); }

/* ---- Hazard comparison table ---- */
/* The card has no side padding so group bands run edge to edge;
   the outer cells carry the inset instead (--compare-inset). */
.compare-card { --compare-inset: 24px; margin-top: 24px; padding: 0 0 8px; }
.compare { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.compare th:first-child { padding-left: var(--compare-inset); }
.compare tr > :last-child { padding-right: var(--compare-inset); }
.compare thead th {
  position: sticky; top: var(--header-h, 0px); z-index: 1;
  background: var(--white);
  padding-top: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--line);
  font-size: 0.85rem; font-weight: 600; text-align: center; color: var(--ink); vertical-align: bottom;
}
.compare thead th:first-child { text-align: left; border-top-left-radius: var(--radius); }
.compare thead th:last-child { border-top-right-radius: var(--radius); }
.compare-count { display: block; margin-top: 2px; font-size: 1.25rem; font-weight: 700; color: var(--deep); }
.compare th, .compare td { padding-top: 9px; padding-bottom: 9px; }
.compare tbody th { padding-right: 8px; text-align: left; font-weight: 400; }
.compare td { width: 18%; padding-left: 8px; padding-right: 8px; text-align: center; }
.compare thead th:not(:first-child) { padding-left: 8px; padding-right: 8px; }
.compare tbody tr:not(.group-row) { border-bottom: 1px solid var(--line); }
.compare tbody tr:not(.group-row):has(+ .group-row),
.compare tbody tr:last-child { border-bottom: 0; }
.compare .group-row th {
  padding-top: 10px; padding-bottom: 10px;
  background: var(--mist);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--deep);
}
.compare td.yes { color: var(--teal-ink); }
.compare td.yes svg { margin: 0 auto; }
.compare td.no { color: var(--line); }
@media (max-width: 520px) {
  .compare-card { --compare-inset: 16px; }
  .compare { font-size: 0.9rem; }
  .compare thead th { font-size: 0.75rem; }
  .compare thead th:not(:first-child), .compare td { padding-left: 4px; padding-right: 4px; }
  .compare td { width: 16%; }
  .compare tr > :last-child { padding-right: var(--compare-inset); }
}
