/* ============================================================
   Crewshot — crewshot.org
   Palette and type are lifted directly from the app's own design
   tokens (apps/mobile/src/theme/tokens.ts) so the site and the
   product read as one brand: warm ivory ground, charcoal ink,
   deep navy, and a muted "Site Blue" accent used sparingly.
   Fraunces (display serif) + Inter (UI/body), same as the app.
   ============================================================ */

:root {
  /* Base surfaces */
  --ivory: #faf8f4;
  --surface: #ffffff;
  --sunken: #f3f0e9;

  /* Ink */
  --ink: #1b1b18;
  --ink-muted: #6b6559;
  --ink-faint: #9c9384;
  --on-dark: #fdfbf7;
  --on-dark-muted: #c9cbd6;

  /* Brand */
  --navy: #17233b;
  --navy-deep: #0e1626;
  --blue: #2b4570;
  --blue-muted: #3d5a85;
  --blue-soft: #dce4f0;

  /* Lines */
  --hairline: #e7e2d9;
  --hairline-dark: rgba(255, 255, 255, 0.14);

  /* Status */
  --success: #4c7a5a;
  --success-soft: #e4eee6;
  --warning: #b8842f;
  --warning-soft: #f5ead5;

  /* Shape */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-pill: 999px;

  --shadow-soft: 0 6px 16px rgba(23, 35, 59, 0.06);
  --shadow-raised: 0 12px 28px rgba(23, 35, 59, 0.12);
  --shadow-float: 0 28px 60px rgba(23, 35, 59, 0.18);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1140px;
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  max-width: 100%;
  display: block;
}
a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
p {
  margin: 0;
}

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

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-muted);
  margin: 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover {
  background: #22385c;
  box-shadow: var(--shadow-raised);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline);
}
.btn-ghost:hover {
  background: var(--surface);
  border-color: #d6cfc2;
}
.btn-on-dark {
  background: var(--on-dark);
  color: var(--navy);
}
.btn-on-dark:hover {
  background: #fff;
}
.btn-ghost-dark {
  background: transparent;
  color: var(--on-dark);
  border-color: var(--hairline-dark);
}
.btn-ghost-dark:hover {
  background: rgba(255, 255, 255, 0.08);
}
.btn-sm {
  padding: 10px 18px;
  font-size: 14px;
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 244, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.brand:hover {
  text-decoration: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-muted);
}
.nav-links a:hover {
  color: var(--ink);
  text-decoration: none;
}
.nav-links a.btn {
  color: #fff;
}

/* ---------- hero ---------- */
.hero {
  padding: 72px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -280px;
  right: -180px;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(43, 69, 112, 0.09), transparent 65%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
  align-items: center;
  position: relative;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 22px;
}
.pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}
.hero h1 {
  font-size: clamp(2.5rem, 5.2vw, 3.9rem);
  line-height: 1.06;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: italic;
  color: var(--blue);
}
.hero-sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 30em;
  margin-bottom: 32px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hero-note {
  font-size: 14px;
  color: var(--ink-faint);
}

/* ---------- phone mockup ---------- */
.phone {
  width: 300px;
  margin: 0 auto;
  background: var(--navy-deep);
  border-radius: 42px;
  padding: 10px;
  box-shadow: var(--shadow-float);
  position: relative;
}
.phone-screen {
  background: var(--ivory);
  border-radius: 33px;
  overflow: hidden;
  position: relative;
}
.phone-notch {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 20px;
  background: var(--navy-deep);
  border-radius: var(--r-pill);
  z-index: 3;
}
.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 20px 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  background: var(--surface);
}

.app-header {
  padding: 8px 18px 13px;
  border-bottom: 1px solid var(--hairline);
  background: var(--surface);
}
.app-header .app-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}
.app-header .app-meta {
  font-size: 11px;
  color: var(--ink-faint);
  margin-top: 3px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  padding: 12px 12px 76px;
  background: var(--ivory);
}
.photo-tile {
  position: relative;
  border-radius: var(--r-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--sunken);
}
.photo-tile svg {
  width: 100%;
  height: 100%;
}
.photo-stamp {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 5px 4px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: #fff;
  font-size: 5.5px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.photo-stamp b {
  display: block;
  font-size: 5.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
}
.tile-badge {
  position: absolute;
  top: 5px;
  left: 5px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: var(--r-pill);
}
.app-fab {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--blue);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-raised);
  border: 3px solid var(--ivory);
  z-index: 2;
}

/* ---------- pain strip ---------- */
.strip {
  background: var(--navy);
  color: var(--on-dark);
  padding: 56px 0;
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.strip-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.strip-item .ico {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.09);
  display: grid;
  place-items: center;
  color: #93a6c8;
}
.strip-item h3 {
  font-size: 17px;
  color: var(--on-dark);
  margin-bottom: 5px;
  line-height: 1.3;
}
.strip-item p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--on-dark-muted);
}

/* ---------- section frame ---------- */
.section {
  padding: 96px 0;
}
.section--sunken {
  background: var(--sunken);
}
.section--surface {
  background: var(--surface);
}
.section-head {
  max-width: 620px;
  margin-bottom: 56px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(2rem, 3.6vw, 2.7rem);
  line-height: 1.14;
  margin: 14px 0 16px;
}
.section-head p {
  font-size: 18px;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* ---------- alternating feature rows ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--hairline);
}
.feature-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.feature-row.flip .feature-copy {
  order: 2;
}
.feature-num {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  color: var(--blue-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}
.feature-copy h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.05rem);
  line-height: 1.18;
  margin-bottom: 14px;
}
.feature-copy > p {
  font-size: 17px;
  color: var(--ink-muted);
  margin-bottom: 22px;
  line-height: 1.6;
}
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}
.check-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.5;
}
.check-list .tick {
  flex: none;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-top: 2px;
}

/* ---------- mock panels used as feature art ---------- */
.mock {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-raised);
  overflow: hidden;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--hairline);
  background: var(--ivory);
}
.mock-bar .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ded7ca;
}
.mock-bar span {
  margin-left: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}
.mock-body {
  padding: 18px;
  display: grid;
  gap: 10px;
  background: var(--ivory);
}

/* project card mock */
.proj-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 15px;
  box-shadow: var(--shadow-soft);
}
.proj-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.proj-name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
}
.proj-addr {
  font-size: 13.5px;
  color: var(--ink-muted);
  margin-top: 4px;
}
.proj-client {
  font-size: 12px;
  color: var(--ink-faint);
  margin-top: 2px;
}
.proj-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px solid var(--hairline);
  font-size: 12px;
  color: var(--ink-faint);
}
.assigned-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--blue-soft);
  color: var(--blue-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  margin-top: 9px;
}
.star {
  color: var(--blue);
}

/* tag chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.chip {
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--ink-muted);
  border: 1px solid var(--hairline);
}
.chip.on {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

/* checklist mock rows */
.ck-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  background: var(--surface);
  font-size: 14.5px;
}
.ck-box {
  flex: none;
  width: 19px;
  height: 19px;
  border-radius: 5px;
  border: 1.5px solid #d6cfc2;
  display: grid;
  place-items: center;
}
.ck-row.done .ck-box {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}
.ck-row.done span {
  color: var(--ink-faint);
  text-decoration: line-through;
}

/* sync queue mock */
.sync-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--hairline);
}
.sync-thumb {
  flex: none;
  width: 40px;
  height: 32px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--sunken);
}
.sync-meta {
  flex: 1;
  min-width: 0;
}
.sync-meta strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
}
.sync-meta small {
  font-size: 11.5px;
  color: var(--ink-faint);
}
.sync-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.sync-tag.queued {
  background: var(--warning-soft);
  color: var(--warning);
}
.sync-tag.synced {
  background: var(--success-soft);
  color: var(--success);
}
.offline-banner {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border-radius: var(--r-md);
  background: var(--navy);
  color: var(--on-dark);
  font-size: 13px;
  font-weight: 500;
}

/* report page mock */
.report-page {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}
.report-brand {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  padding-bottom: 11px;
  border-bottom: 2px solid var(--navy);
}
.report-brand .rb-name {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}
.report-brand .rb-sub {
  font-size: 10.5px;
  color: var(--ink-faint);
  margin-top: 2px;
}
.report-brand .rb-meta {
  font-size: 10px;
  color: var(--ink-faint);
  text-align: right;
  line-height: 1.45;
  white-space: nowrap;
}
.report-h {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-muted);
  margin: 15px 0 8px;
}
.report-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.report-grid .rg-tile {
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  background: var(--sunken);
  position: relative;
}
.report-grid .rg-tile svg {
  width: 100%;
  height: 100%;
}
.report-lines {
  display: grid;
  gap: 5px;
  margin-top: 12px;
}
.report-lines i {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: var(--sunken);
}

/* ---------- pricing ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 840px;
  margin: 0 auto;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
}
.price-card.featured {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--on-dark);
  box-shadow: var(--shadow-float);
  position: relative;
}
.price-card.featured h3,
.price-card.featured .amount {
  color: var(--on-dark);
}
.price-tag {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--on-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: var(--r-pill);
}
.price-card h3 {
  font-size: 22px;
  margin-bottom: 6px;
}
.price-card .plan-for {
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 22px;
}
.price-card.featured .plan-for {
  color: var(--on-dark-muted);
}
.amount {
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}
.amount small {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0;
}
.price-card.featured .amount small {
  color: var(--on-dark-muted);
}
.price-card .feats {
  list-style: none;
  padding: 0;
  margin: 24px 0 28px;
  display: grid;
  gap: 11px;
  font-size: 15px;
}
.price-card .feats li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.45;
}
.price-card .feats .tick {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-top: 2px;
}
.price-card.featured .feats {
  color: var(--on-dark);
}
.price-card.featured .feats .tick {
  background: rgba(255, 255, 255, 0.15);
  color: #a9bde0;
}
.price-card .btn {
  margin-top: auto;
  width: 100%;
}
.price-foot {
  text-align: center;
  margin-top: 26px;
  font-size: 14.5px;
  color: var(--ink-muted);
}

/* ---------- comparison ---------- */
.compare {
  max-width: 800px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.compare-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  align-items: center;
  gap: 16px;
  padding: 15px 26px;
  border-top: 1px solid var(--hairline);
  font-size: 15px;
}
.compare-row.head {
  border-top: 0;
  background: var(--ivory);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.compare-row .lbl {
  font-weight: 500;
}
.compare-row .val {
  text-align: center;
  color: var(--ink-muted);
  font-size: 14.5px;
}
.compare-row .val.ours {
  color: var(--ink);
  font-weight: 600;
}
.compare-row.head .val.ours {
  color: var(--blue);
}
.compare-note {
  max-width: 800px;
  margin: 18px auto 0;
  font-size: 13.5px;
  color: var(--ink-faint);
  line-height: 1.6;
  text-align: center;
}

/* ---------- faq ---------- */
.faq {
  max-width: 760px;
  margin: 0 auto;
}
.faq details {
  border-bottom: 1px solid var(--hairline);
}
.faq details[open] summary {
  color: var(--blue);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 40px 20px 0;
  font-family: var(--serif);
  font-size: 18.5px;
  font-weight: 600;
  position: relative;
  line-height: 1.35;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink-faint);
  line-height: 1;
}
.faq details[open] summary::after {
  content: "\2013";
  color: var(--blue);
}
.faq .answer {
  padding: 0 40px 22px 0;
  color: var(--ink-muted);
  font-size: 16px;
  line-height: 1.65;
}
.faq .answer p + p {
  margin-top: 12px;
}

/* ---------- cta band ---------- */
.cta-band {
  background: var(--navy-deep);
  color: var(--on-dark);
  padding: 92px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(61, 90, 133, 0.38),
    transparent 62%
  );
  pointer-events: none;
}
.cta-band .inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}
.cta-band .eyebrow {
  color: #93a6c8;
}
.cta-band h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--on-dark);
  line-height: 1.12;
  margin: 14px 0 18px;
}
.cta-band p {
  font-size: 18px;
  color: var(--on-dark-muted);
  margin-bottom: 32px;
}
.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- footer ---------- */
.footer {
  background: var(--navy);
  color: var(--on-dark-muted);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--hairline-dark);
}
.footer .brand {
  color: var(--on-dark);
  margin-bottom: 14px;
}
.footer-about {
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 30em;
}
.footer h4 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #93a6c8;
  margin-bottom: 16px;
}
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}
.footer ul a {
  color: var(--on-dark-muted);
  font-size: 14.5px;
}
.footer ul a:hover {
  color: var(--on-dark);
  text-decoration: none;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 26px;
  font-size: 13.5px;
  color: #7f8ba4;
}

/* ============================================================
   Document pages (terms / privacy / delete-account)
   ============================================================ */
.doc-header {
  background: var(--navy);
  color: var(--on-dark);
  padding: 34px 0 56px;
}
.doc-header .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--on-dark-muted);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 28px;
}
.doc-header .back-link:hover {
  color: var(--on-dark);
  text-decoration: none;
}
.doc-header .eyebrow {
  color: #93a6c8;
}
.doc-header h1 {
  font-size: clamp(2rem, 4.4vw, 2.8rem);
  color: var(--on-dark);
  margin: 12px 0 14px;
  line-height: 1.12;
}
.doc-meta {
  font-size: 14px;
  color: var(--on-dark-muted);
}

.doc-body {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: 52px 56px;
  max-width: 800px;
  margin: -28px auto 80px;
  box-shadow: var(--shadow-soft);
  position: relative;
  font-size: 16.5px;
  line-height: 1.72;
  color: #2f2d28;
}
.doc-body h2 {
  font-size: 22px;
  margin: 40px 0 12px;
  line-height: 1.3;
}
.doc-body h2:first-of-type {
  margin-top: 8px;
}
.doc-body h3 {
  font-size: 18px;
  margin: 26px 0 8px;
}
.doc-body p {
  margin: 0 0 14px;
}
.doc-body ul,
.doc-body ol {
  margin: 0 0 16px;
  padding-left: 24px;
}
.doc-body li {
  margin-bottom: 9px;
}
.doc-body strong {
  color: var(--ink);
  font-weight: 600;
}
.doc-body a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.doc-notice {
  background: var(--warning-soft);
  border: 1px solid #e6d3ac;
  border-left: 4px solid var(--warning);
  border-radius: var(--r-md);
  padding: 16px 20px;
  font-size: 15px;
  line-height: 1.62;
  color: #5c4718;
  margin-bottom: 32px;
}
.doc-notice strong {
  color: #4a3812;
}
.doc-foot,
.draft-foot-marker {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  font-size: 13.5px;
  color: var(--ink-faint);
  line-height: 1.6;
}
.draft-foot-marker + .doc-foot {
  display: none;
}
.doc-body em {
  color: var(--ink-muted);
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero {
    padding: 56px 0 72px;
  }
  .hero-sub {
    max-width: none;
  }
  .feature-row {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .feature-row.flip .feature-copy {
    order: 0;
  }
  .strip-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .nav-links a:not(.btn) {
    display: none;
  }
  .doc-body {
    padding: 36px 28px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .section {
    padding: 64px 0;
  }
  .price-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .compare-row {
    padding: 13px 14px;
    font-size: 13.5px;
    gap: 8px;
  }
  .compare-row .val {
    font-size: 13px;
  }
  .cta-band {
    padding: 68px 0;
  }
  .hero-cta .btn {
    width: 100%;
  }
  .doc-body {
    padding: 28px 20px;
    border-radius: var(--r-lg);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
