/* ──────────────────────────────────────────────────────────────────
   BilgeRise — landing page
   Aesthetic: nautical chart utility · cream paper + navy ink + buoy red
   Type: Newsreader (serif) · Inter (body) · JetBrains Mono (technical)
   Architecture: MOBILE-FIRST — base styles = smallest screen,
                 min-width queries layer up to larger viewports
   ────────────────────────────────────────────────────────────────── */

:root {
  /* paper */
  --cream:        #f1e8d0;
  --cream-soft:   #f8f1dd;
  --cream-warm:   #e6dcbf;
  --cream-deep:   #d9cda7;

  /* ink */
  --navy:         #0e2a44;
  --navy-deep:    #061b2e;
  --navy-soft:    #1f4566;
  --navy-line:    #1a3a5a;

  --ink:          #0e2a44;
  --ink-soft:     #3d5772;
  --ink-faint:    #7a8da3;

  /* signal colours (chart conventions) */
  --buoy-red:     #a8362a;
  --buoy-red-soft:#c45645;
  --light-green:  #2f6a4a;
  --brass:        #ad8857;

  /* rules */
  --rule:         rgba(14, 42, 68, 0.18);
  --rule-strong:  rgba(14, 42, 68, 0.45);
  --rule-soft:    rgba(14, 42, 68, 0.10);

  /* type */
  --serif:        "Newsreader", "Source Serif Pro", Georgia, serif;
  --body:         "Inter", system-ui, -apple-system, sans-serif;
  --mono:         "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  /* spacing — tighter on mobile, grows up */
  --gutter:       16px;
  --section-y:    56px;
}

@media (min-width: 480px) {
  :root {
    --gutter: 24px;
  }
}

@media (min-width: 768px) {
  :root {
    --gutter: max(28px, 4vw);
    --section-y: clamp(64px, 8vw, 112px);
  }
}

/* ── reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

html {
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  background: var(--cream);
  color: var(--ink);
  background-image:
    linear-gradient(to right, rgba(14,42,68,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14,42,68,0.035) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* ── layout ────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ── type primitives ───────────────────────────────────────────── */
.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 5vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0;
  text-wrap: balance;
}
.display em {
  font-style: italic;
  font-weight: 500;
  color: var(--buoy-red);
}

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 5vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0 0 16px;
  text-wrap: balance;
}
.section-title em { font-style: italic; color: var(--buoy-red); font-weight: 500; }

.lede {
  font-family: var(--body);
  font-size: clamp(15px, 2.2vw, 19px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0;
  text-wrap: pretty;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--ink-soft);
  flex-shrink: 0;
}
.eyebrow--light { color: var(--cream-warm); }
.eyebrow--light::before { background: var(--cream-warm); }

/* ── buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 13px 22px;
  min-height: 44px;
  border: 1.5px solid var(--navy);
  background: var(--navy);
  color: var(--cream);
  border-radius: 2px;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--navy);
}
.btn--primary {
  background: var(--navy);
  color: var(--cream);
}
.btn--ghost {
  background: transparent;
  color: var(--navy);
}
.btn--ghost:hover {
  background: var(--cream-soft);
}
.btn--large {
  padding: 16px 32px;
  font-size: 16px;
  width: 100%;
}
@media (min-width: 480px) {
  .btn--large {
    width: auto;
  }
}
.btn .arrow {
  display: inline-block;
  transition: transform 0.18s ease;
}
.btn:hover .arrow { transform: translateX(3px); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }

/* ── nav ───────────────────────────────────────────────────────── */
.nav {
  border-bottom: 1px solid var(--rule);
  background-color: rgba(241, 232, 208, 0.95);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(6px);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--gutter);
  max-width: 1200px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand__mark {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.brand__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.brand__sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border-left: 1px solid var(--rule);
  padding-left: 10px;
  margin-left: 2px;
  display: none;
}
@media (min-width: 480px) {
  .brand__sub { display: block; }
}

.nav__links {
  display: none;
}
@media (min-width: 840px) {
  .nav__links {
    display: flex;
    gap: 24px;
    font-family: var(--body);
    font-size: 14px;
    color: var(--ink-soft);
  }
  .nav__links a:hover { color: var(--navy); }
}

.nav__cta {
  display: none;
}
@media (min-width: 840px) {
  .nav__cta {
    display: inline-flex;
    align-items: center;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--navy);
    border: 1px solid var(--navy);
    padding: 8px 14px;
    min-height: 36px;
    border-radius: 2px;
    transition: background 0.12s ease;
    white-space: nowrap;
  }
  .nav__cta:hover { background: var(--navy); color: var(--cream); }
}

.nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}
@media (min-width: 840px) {
  .nav__hamburger { display: none; }
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
  transform-origin: center;
}
.nav__hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav__hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav__drawer {
  display: none;
  flex-direction: column;
  background-color: rgba(241, 232, 208, 0.98);
  border-top: 1px solid var(--rule);
  padding: 8px var(--gutter) 20px;
  gap: 0;
}
.nav__drawer.is-open { display: flex; }
@media (min-width: 840px) {
  .nav__drawer { display: none !important; }
}
.nav__drawer a {
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink-soft);
  padding: 14px 0;
  border-bottom: 1px solid var(--rule-soft);
  display: block;
}
.nav__drawer a:last-child { border-bottom: none; }
.nav__drawer a:hover { color: var(--navy); }
.nav__drawer .nav__drawer-cta {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  border: 1px solid var(--navy);
  padding: 12px 16px;
  min-height: 44px;
  border-radius: 2px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: none;
}
.nav__drawer .nav__drawer-cta:hover { background: var(--navy); color: var(--cream); }

/* ── HERO ───────────────────────────────────────────────────────── */
.hero {
  padding: clamp(20px, 3vw, 44px) 0 clamp(24px, 4vw, 52px);
  position: relative;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  width: 16px; height: 16px;
  border-color: var(--navy);
  border-style: solid;
  pointer-events: none;
}
.hero::before {
  top: 20px; left: var(--gutter);
  border-width: 1px 0 0 1px;
}
.hero::after {
  top: 20px; right: var(--gutter);
  border-width: 1px 1px 0 0;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 5vw, 48px);
}
@media (min-width: 880px) {
  .hero__inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(28px, 5vw, 64px);
    align-items: stretch;
  }
}

.hero__text {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 4px;
}
.hero__cta-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}
@media (min-width: 480px) {
  .hero__cta-row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
}
.hero__lede {
  margin-top: 12px;
}
.hero__sub {
  margin-top: 6px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--navy-soft);
}

.hero__meta {
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.hero__meta-cell .label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 4px;
  display: block;
}
.hero__meta-cell .value {
  font-family: var(--serif);
  font-size: clamp(18px, 4vw, 22px);
  color: var(--navy);
  font-weight: 500;
}
.hero__meta-cell .value sup {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin-left: 3px;
  vertical-align: middle;
  font-weight: 400;
}

.hero__photo {
  margin: 0;
  position: relative;
}

/* ── photo slot ─────────────────────────────────────────────────── */
.photo-slot {
  position: relative;
  border: 1px solid var(--navy);
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0 18px,
      rgba(14,42,68,0.045) 18px 19px
    ),
    var(--cream-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 28px 20px;
  min-height: 280px;
  width: 100%;
}
@media (min-width: 600px) {
  .photo-slot { min-height: 340px; }
}
.photo-slot__label {
  position: absolute;
  top: 10px;
  left: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-soft);
}
.photo-slot__caption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 10px;
  max-width: 28ch;
}
.photo-slot__brief {
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 36ch;
}

.photo-slot::before, .photo-slot::after,
.photo-slot > .tick-bl, .photo-slot > .tick-br {
  content: "";
  position: absolute;
  width: 10px; height: 10px;
  border-color: var(--navy);
  border-style: solid;
}
.photo-slot::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.photo-slot::after  { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
.photo-slot .tick-bl { bottom: -1px; left: -1px;  border-width: 0 0 2px 2px; display: block; }
.photo-slot .tick-br { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; display: block; }

.photo-slot--hero { min-height: 220px; }
@media (min-width: 880px) {
  .photo-slot--hero { min-height: 100%; height: 100%; }
}
.photo-slot--large { min-height: 300px; }
@media (min-width: 600px) {
  .photo-slot--large { min-height: 360px; }
}

/* ── DUO photos section ─────────────────────────────────────────── */
.duo {
  padding: var(--section-y) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.duo__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 5vw, 40px);
}
@media (min-width: 760px) {
  .duo__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(20px, 3vw, 40px);
  }
}
.duo__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.duo__cap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.duo__cap-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.duo__cap h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(18px, 3vw, 22px);
  line-height: 1.2;
  color: var(--navy);
  margin: 0;
  letter-spacing: -0.01em;
}
.duo__cap p {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0;
  max-width: 48ch;
}

/* ── HOW IT WORKS ────────────────────────────────────────────────── */
.how {
  background: var(--navy);
  color: var(--cream);
  padding: var(--section-y) 0;
  position: relative;
  background-image:
    linear-gradient(to right, rgba(241,232,208,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(241,232,208,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
}
.how .section-title { color: var(--cream); margin-bottom: 24px; }
.how .section-title em { color: var(--buoy-red-soft); }

.how__grid {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 48px);
}
@media (min-width: 880px) {
  .how__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: stretch;
  }
}

.how__diagram {
  background: var(--cream);
  border: 1px solid var(--cream-deep);
  padding: clamp(16px, 3vw, 28px);
  position: relative;
  overflow: hidden;
}
.how__diagram::before, .how__diagram::after,
.how__diagram .corner-bl, .how__diagram .corner-br {
  content: "";
  position: absolute;
  width: 10px; height: 10px;
  border-color: var(--navy);
  border-style: solid;
}
.how__diagram::before { top: 6px;  left: 6px;  border-width: 1px 0 0 1px; }
.how__diagram::after  { top: 6px;  right: 6px; border-width: 1px 1px 0 0; }
.how__diagram .corner-bl { bottom: 6px; left: 6px;  border-width: 0 0 1px 1px; }
.how__diagram .corner-br { bottom: 6px; right: 6px; border-width: 0 1px 1px 0; }

.how__diagram-caption {
  position: absolute;
  bottom: 12px; left: 12px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.how__diagram-coord {
  position: absolute;
  top: 12px; right: 16px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
}

.how__tiers {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}
.tier-card {
  border: 1px solid rgba(241,232,208,0.32);
  padding: 20px;
  background: rgba(241, 232, 208, 0.03);
  position: relative;
}
.tier-card__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-warm);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.tier-card__label .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--cream-warm);
  flex-shrink: 0;
}
.tier-card__label--alert { color: var(--buoy-red-soft); }
.tier-card__label--alert .dot { background: var(--buoy-red-soft); }
.tier-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(18px, 3vw, 22px);
  color: var(--cream);
  margin: 0 0 8px;
  line-height: 1.2;
}
.tier-card p {
  font-size: 14px;
  color: rgba(241, 232, 208, 0.78);
  margin: 0;
  line-height: 1.55;
}
.tier-card--alert {
  border-color: rgba(196, 86, 69, 0.55);
  background: rgba(168, 54, 42, 0.08);
}

/* ── SURVEY ────────────────────────────────────────────────────── */
.survey {
  padding: var(--section-y) 0;
}
.survey__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
@media (min-width: 880px) {
  .survey__inner {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(28px, 5vw, 80px);
  }
}
.survey__intro {
  position: static;
}
@media (min-width: 880px) {
  .survey__intro {
    position: sticky;
    top: 96px;
  }
}
.survey__intro p { color: var(--ink-soft); margin: 14px 0 0; }

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(18px, 3vw, 36px);
  background: var(--cream-soft);
  border: 1px solid var(--rule);
  width: 100%;
}
.form__q {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form__q + .form__q {
  border-top: 1px solid var(--rule);
  padding-top: 20px;
}
.form__q legend {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(16px, 2.5vw, 18px);
  color: var(--navy);
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
  text-wrap: balance;
}
.form__q legend .num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 400;
  flex-shrink: 0;
}
.form__q legend .req {
  color: var(--buoy-red);
  font-family: var(--mono);
  font-size: 11px;
  margin-left: 6px;
}
.form__help {
  font-size: 13px;
  color: var(--ink-soft);
  margin: -2px 0 4px;
  font-family: var(--mono);
  line-height: 1.5;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  font-family: var(--body);
  font-size: 14px;
  color: var(--navy);
  background: var(--cream);
  border: 1px solid var(--rule-strong);
  padding: 11px 16px;
  min-height: 44px;
  border-radius: 2px;
  transition: background 0.1s ease, color 0.1s ease, border-color 0.1s ease;
  display: inline-flex;
  align-items: center;
}
.chip:hover { border-color: var(--navy); }
.chip.is-selected {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

.form__email-row {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--navy);
  background: var(--cream);
  border-radius: 2px;
  overflow: hidden;
}
.form__email-row input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 14px 16px;
  font: 15px/1.4 var(--body);
  color: var(--navy);
  outline: none;
  min-height: 48px;
  min-width: 0;
}
.form__email-row input::placeholder { color: var(--ink-faint); }

.form__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-soft);
  cursor: pointer;
  font-family: var(--body);
}
.form__check input {
  margin-top: 3px;
  accent-color: var(--navy);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.form__submit {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.form__note {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-faint);
  margin: 0;
  letter-spacing: 0.04em;
}

.form-status {
  font-family: var(--mono);
  font-size: 12px;
  min-height: 1.4em;
  margin: 0;
  letter-spacing: 0.02em;
}
.form-status.ok { color: var(--light-green); }
.form-status.err { color: var(--buoy-red); }

/* ── SPECS ─────────────────────────────────────────────────────── */
.specs {
  padding: var(--section-y) 0;
  border-top: 1px solid var(--rule);
  background: var(--cream-soft);
}
.specs__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
@media (min-width: 880px) {
  .specs__inner {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(28px, 5vw, 80px);
    align-items: start;
  }
}
.specs__intro p {
  color: var(--ink-soft);
  margin-top: 14px;
  max-width: 50ch;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--body);
  font-size: 15px;
  border-top: 1.5px solid var(--navy);
  border-bottom: 1.5px solid var(--navy);
}
.spec-table tr + tr { border-top: 1px solid var(--rule); }

.spec-table tr {
  display: flex;
  flex-direction: column;
  padding: 14px 0;
}
.spec-table tr + tr {
  border-top: 1px solid var(--rule);
}
.spec-table th,
.spec-table td {
  padding: 0;
  text-align: left;
  vertical-align: top;
}
.spec-table th {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 500;
  margin-bottom: 4px;
}
.spec-table td {
  color: var(--navy);
  font-size: 15px;
}
.spec-table td .note {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-faint);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

@media (min-width: 600px) {
  .spec-table tr {
    display: table-row;
  }
  .spec-table th,
  .spec-table td {
    padding: 15px 4px 15px 0;
  }
  .spec-table th {
    width: 160px;
    padding-top: 18px;
    margin-bottom: 0;
  }
}

/* ── PATHS ────────────────────────────────────────────────────── */
.paths {
  padding: var(--section-y) 0;
  border-top: 1px solid var(--rule);
}
.paths__sub {
  margin-top: 12px;
  max-width: 60ch;
}
.paths__grid {
  margin-top: clamp(32px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .paths__grid {
    grid-template-columns: 1fr 1fr;
  }
}
.path-card {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--rule-strong);
  position: relative;
}
.path-card + .path-card {
  border-top: none;
}
@media (min-width: 760px) {
  .path-card + .path-card {
    border-top: 1px solid var(--rule-strong);
    border-left: none;
  }
}

.path-card--oss {
  background: var(--cream-soft);
}
.path-card--managed {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

.path-card__head { flex: 1; }

.path-card__tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: block;
  margin-bottom: 14px;
}
.path-card--managed .path-card__tag {
  color: rgba(241, 232, 208, 0.5);
}

.path-card__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0 0 14px;
}
.path-card--managed .path-card__title { color: var(--cream); }

.path-card__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  max-width: 46ch;
  text-wrap: pretty;
}
.path-card--managed .path-card__desc { color: rgba(241, 232, 208, 0.75); }

.path-card__list {
  list-style: none;
  padding: 0;
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}
.path-card--managed .path-card__list { border-top-color: rgba(241, 232, 208, 0.15); }

.path-card__list li {
  font-size: 14px;
  color: var(--ink-soft);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.path-card__list li::before {
  content: "—";
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-faint);
  flex-shrink: 0;
}
.path-card--managed .path-card__list li { color: rgba(241, 232, 208, 0.78); }
.path-card--managed .path-card__list li::before { color: rgba(241, 232, 208, 0.35); }

.path-card__foot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.path-card__cta { width: 100%; justify-content: center; }
@media (min-width: 480px) {
  .path-card__cta { width: auto; }
}

.path-card--managed .btn--primary {
  background: var(--cream);
  color: var(--navy);
  border-color: var(--cream);
}
.path-card--managed .btn--primary:hover {
  background: var(--cream-soft);
  box-shadow: 3px 3px 0 rgba(241, 232, 208, 0.25);
}

.path-card__note {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  margin: 0;
}
.path-card--managed .path-card__note { color: rgba(241, 232, 208, 0.4); }

.paths__footnote {
  margin-top: clamp(24px, 4vw, 40px);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  padding-top: 20px;
  border-top: 1px solid var(--rule-soft);
  max-width: 72ch;
  line-height: 1.6;
}

/* ── FOOTER ────────────────────────────────────────────────────── */
.footer {
  background: var(--navy-deep);
  color: var(--cream);
  padding: clamp(36px, 6vw, 64px) 0;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 600px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
  }
}
.footer__brand {
  font-family: var(--serif);
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}
.footer__tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(241, 232, 208, 0.55);
  margin: 0;
}
.footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  font-size: 14px;
}
@media (min-width: 600px) {
  .footer__links {
    align-items: flex-end;
  }
}
.footer__links a {
  color: rgba(241, 232, 208, 0.78);
  border-bottom: 1px solid rgba(241, 232, 208, 0.2);
  padding-bottom: 2px;
}
.footer__links a:hover { color: var(--cream); border-color: var(--cream); }
.footer__coord {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(241, 232, 208, 0.4);
}

/* ── helpers ───────────────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
