/* fellowtrails website. Tokens, type and rules follow the brand guide v2 (brand/README.md, brand/tokens.json), which follows prototype v28. */

@font-face { font-family: "Gelasio"; src: url("/fonts/Gelasio-Variable.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Gelasio"; src: url("/fonts/Gelasio-Italic-Variable.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/fonts/Nunito-Variable.woff2") format("woff2"); font-weight: 200 1000; font-style: normal; font-display: swap; }

:root {
  /* Named brand colours: logo, illustration and marketing */
  --deep-teal: #145057;
  --trail-teal: #287f89;
  --deep-water: #22464a;
  --night: #0e2326;
  --sunset: #cf8b76;
  --ember: #c57d62;
  --clay: #a7523c;
  --mint: #8ab7ac;
  --mint-light: #c7f0e4;
  --lagoon: #39bdb4;
  --seafoam: #e3f2ed;
  --sand: #fbf7f0;
  --linen: #f4f1ea;

  /* Semantic tokens (light theme) */
  --bg: var(--sand);
  --bg-alt: #f1f6f3;
  --panel: #e2eee6;
  --surface: #ffffff;
  --surface-warm: #fffcf7;
  --ink: var(--deep-water);
  --text: var(--deep-water);
  --muted: #536d72;
  --brand: var(--trail-teal);
  --brand-hover: #267982;
  --brand-ink: #ffffff;
  --brand-text: #1b626b;
  --brand-soft: var(--seafoam);
  --coral: var(--ember);
  --coral-soft: #fff0e9;
  --coral-text: var(--clay);
  --border: #e9ebe3;
  --line: #d5e2de;
  --focus: #b86e53;
  --notice: #fff4e9;
  --notice-border: #f1d6c4;
  --success: #1b704a;
  --warning: #8f5b00;
  --danger: #9b1c36;
  --shadow-card: 0 8px 28px rgb(21 61 61 / 0.04);

  /* The footer and horizon foreground */
  --band: var(--night);
  --band-text: #dbe7e4;
  --band-muted: #a7bcb9;
  --band-ink: #fbf7f0;
  --band-accent: #eeb6a3;
  --band-border: #2a4a4f;

  /* Prototype v28 hero gradient (brand gradient-hero). White text holds 5:1 only on its left half. */
  --teal-gradient: linear-gradient(120deg, #15515a, #739d91);
  --on-teal: #ffffff;
  --on-teal-soft: #e3f1ee;
  --on-teal-accent: var(--mint-light);
  --photo-scrim: linear-gradient(90deg, rgb(15 59 66 / 0.86) 0%, rgb(15 59 66 / 0.6) 50%, rgb(15 59 66 / 0.12) 100%);

  --radius-sm: 13px;
  --radius-md: 16px;
  --radius: 23px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --display: Georgia, Gelasio, "Times New Roman", serif;
  --sans: "Avenir Next", Nunito, "Trebuchet MS", Arial, sans-serif;
  color-scheme: light;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0.005em;
  font-optical-sizing: auto;
}

img, svg { display: block; }
img { max-width: 100%; height: auto; }
/* Georgia for h1 and hero headlines; section headings and card titles in the sans, bold and tight, as the prototype. */
h1, h2 { color: var(--ink); margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-family: var(--display); font-weight: 400; letter-spacing: -0.04em; line-height: 1.08; }
h2 { font-family: var(--sans); font-weight: 700; letter-spacing: -0.035em; line-height: 1.15; }
h3 { font-family: var(--sans); font-weight: 700; font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.035em; color: var(--ink); margin: 0 0 0.4em; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--brand-text); text-underline-offset: 0.18em; }
a:hover { color: var(--deep-teal); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
strong { color: var(--ink); font-weight: 700; }
.tnum { font-variant-numeric: tabular-nums; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.measure { max-width: 64ch; }
.narrow { max-width: 640px; }
.center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 20;
  background: var(--brand); color: var(--brand-ink); padding: 10px 18px; border-radius: var(--radius-pill); font-weight: 700;
}
.skip-link:focus { top: 12px; }

.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Type styles */
.eyebrow { font-size: 0.6875rem; line-height: 1.45; font-weight: 850; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); margin: 0 0 1rem; }
.lead { font-family: var(--sans); font-size: clamp(1.125rem, 1.8vw, 1.25rem); line-height: 1.55; color: var(--ink); text-wrap: pretty; }
.accent-italic { font-family: var(--display); font-style: italic; color: var(--coral-text); font-size: 1.0625rem; line-height: 1.4; }
.section-title { font-size: clamp(1.75rem, 3vw, 2.45rem); margin-bottom: 0.45em; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head p:not(.eyebrow) { color: var(--muted); }
.accent { color: var(--coral); }

/* The name in text: always lower case, with "fellow" in deep water and "trails" in coral, like the wordmark.
   Text-size coral is coral-text (AA); on teal and in the footer it takes the reversed wordmark's colours. */
.ft { color: var(--ink); text-transform: none; white-space: nowrap; }
.ft > span { color: var(--coral-text); }
.band .ft, .site-footer .ft { color: var(--band-ink); }
.band .ft > span, .site-footer .ft > span { color: var(--band-accent); }
/* On gradients and photos the contrast of coral varies, so the name takes the surrounding colour. */
.page-banner .ft, .page-banner .ft > span, .photo-cta .ft, .photo-cta .ft > span, .side-photo .ft, .side-photo .ft > span, .button .ft, .button .ft > span { color: inherit; }

.chip {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.75rem; line-height: 1.33; font-weight: 700;
  padding: 5px 10px; border-radius: var(--radius-pill); background: var(--brand-soft); color: var(--brand-text);
}
.chip.later { background: var(--coral-soft); color: var(--coral-text); }
.chip.now { background: var(--brand); color: var(--brand-ink); }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 12px 18px; border-radius: var(--radius-pill);
  font: 700 1rem/1.3 var(--sans); text-decoration: none; border: 1px solid transparent;
  transition: transform 0.15s ease-out, background-color 0.15s ease-out, border-color 0.15s ease-out, color 0.15s ease-out;
}
.button:hover { transform: translateY(-1px); }
.button .icon { width: 20px; height: 20px; }
.button.primary { background: var(--brand); color: var(--brand-ink); }
.button.primary:hover { background: var(--brand-hover); color: var(--brand-ink); }
/* The prototype's outline button */
.button.ghost { background: var(--surface-warm); color: var(--brand-text); border-color: var(--line); }
.button.ghost:hover { border-color: var(--brand); color: var(--brand-text); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (prefers-reduced-motion: reduce) { .button { transition: none; } .button:hover { transform: none; } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--surface-warm) 94%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 80px; }
.brand { display: inline-flex; flex: none; border-radius: 12px; }
.brand img { height: 48px; width: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: var(--radius-pill);
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 0.97rem;
}
.nav-list a:hover { background: var(--brand-soft); color: var(--brand-text); }
.nav-list a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-text); }
.nav-list .nav-cta { background: var(--brand); color: var(--brand-ink); margin-left: 8px; }
.nav-list .nav-cta:hover { background: var(--brand-hover); color: var(--brand-ink); }

.menu { position: relative; display: none; }
.menu summary {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px;
  border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--surface-warm);
  color: var(--ink); font-weight: 700; cursor: pointer; list-style: none;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary .icon { width: 20px; height: 20px; }
.menu[open] summary { border-color: var(--brand); }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(280px, calc(100vw - 32px));
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow-card);
}
.menu-panel ul { list-style: none; margin: 0; padding: 0; }
.menu-panel a { display: flex; min-height: 44px; align-items: center; padding: 8px 14px; border-radius: var(--radius-sm); color: var(--ink); font-weight: 700; text-decoration: none; }
.menu-panel a:hover { background: var(--brand-soft); }
.menu-panel .nav-cta { margin-top: 6px; justify-content: center; border-radius: var(--radius-pill); background: var(--brand); color: var(--brand-ink); }
.menu-panel .nav-cta:hover { background: var(--brand-hover); }

/* Sections */
.section { padding: clamp(64px, 8.5vw, 104px) 0; }
.section.alt { background: var(--bg-alt); }
.section.tight-top { padding-top: 0; }

/* Hero */
.hero { padding: clamp(16px, 3vw, 32px) 0 clamp(48px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: clamp(16px, 2.2vw, 24px); align-items: stretch; }
.hero-copy {
  background: var(--panel); border-radius: var(--radius-lg);
  padding: clamp(32px, 5.2vw, 68px); display: flex; flex-direction: column; justify-content: center;
}
.hero h1 { font-size: clamp(2.75rem, 6.6vw, 4.75rem); margin-bottom: 0.32em; }
/* The headline accent: Georgia italic in coral on light grounds, upright in mint light on photos and teal. */
.hero h1 em { font-style: italic; }
.photo-cta h2 em, .page-hero h1 em { font-style: normal; }
.hero h1 em { display: block; color: var(--coral); }
.hero-copy p { max-width: 50ch; }
.hero-copy .lead { margin-bottom: 0.8em; }
.hero-copy .button-row { margin-top: 12px; }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 28px; color: var(--text); font-size: 0.97rem; }
.hero-note .icon { color: var(--brand-text); }

.hero-media { position: relative; min-height: 560px; }
.hero-photo { position: absolute; inset: 0; margin: 0; border-radius: var(--radius-lg); overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }

/* Example trip in the hero: a day of the itinerary, with a Crossing Paths suggestion */
.chat-card {
  position: absolute; left: 24px; top: 24px; width: min(350px, calc(100% - 48px));
  margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px;
}
.chat-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--border); }
.chat-head .eyebrow { font-size: 0.6875rem; color: var(--muted); margin: 0 0 4px; }
.chat-title { font-weight: 700; color: var(--ink); font-size: 1.0625rem; line-height: 1.3; margin: 0 0 2px; }
.chat-meta { font-size: 0.875rem; color: var(--muted); margin: 0; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--coral-soft); color: var(--coral-text); font-weight: 800; font-size: 1rem;
}
.avatar.t2 { background: var(--brand-soft); color: var(--brand-text); }
.avatar.t3 { background: var(--trail-teal); color: #ffffff; }
.avatar.t4 { background: #f3eedd; color: var(--deep-water); }
.chat-head .chip { flex: none; }
.chip .icon { width: 14px; height: 14px; }
.day-label { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral-text); margin: 0 0 10px; }
/* Itinerary rows, shared by the hero card and the My Trips example: time, then a mint timeline line (brand Timeline) */
.plan-list, .timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan-list li, .timeline li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; align-items: start; }
.plan-list .time, .timeline .time { font-size: 0.8125rem; font-weight: 800; line-height: 1.45; color: var(--ink); }
.plan-list .what, .timeline .what { border-left: 3px solid var(--mint); padding-left: 12px; font-size: 0.8125rem; line-height: 1.4; color: var(--muted); }
.plan-list strong, .timeline strong { display: block; font-size: 0.9375rem; color: var(--ink); }
.cp-nudge { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-md); background: var(--coral-soft); }
.cp-nudge .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--coral-text); }
.cp-nudge p { margin: 0; font-size: 0.875rem; line-height: 1.4; color: var(--text); }
.cp-nudge strong { display: block; font-size: 0.8125rem; color: var(--coral-text); }

/* Core message */
.statement { padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 7vw, 88px); text-align: center; }
.statement-inner { max-width: 880px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.statement img { width: clamp(120px, 14vw, 160px); height: auto; border-radius: 50%; }
.statement-text { font-family: var(--display); font-size: clamp(1.75rem, 3.6vw, 2.6rem); line-height: 1.25; letter-spacing: -0.02em; color: var(--ink); margin: 0; text-wrap: balance; }
.statement-text em { color: var(--coral); font-style: italic; }

/* Who it's for */
.who-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.who-list li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 14px 18px 14px 44px; position: relative; }
.who-list li::before { content: ""; position: absolute; left: 18px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: var(--sunset); }
.not-dating { margin: 24px 0 0; }

.purpose { display: flex; gap: 20px; align-items: center; padding: 24px; background: var(--panel); border-radius: var(--radius); }
.purpose img { width: 96px; height: 96px; border-radius: 50%; flex: none; }
.purpose .eyebrow { margin-bottom: 6px; }
.purpose p:last-child { font-family: var(--display); font-size: 1.3rem; line-height: 1.35; color: var(--ink); letter-spacing: -0.01em; }

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.step-num { display: block; font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.08em; color: var(--coral-text); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.steps p { margin: 0; color: var(--muted); font-size: 1rem; }
.steps.four { grid-template-columns: repeat(4, 1fr); }
/* The optional step: a dashed edge and a coral "Optional" chip */
.steps li.optional { border: 1px dashed var(--mint); background: var(--surface-warm); }
.step-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.step-head .step-num { margin: 0; }

/* Two sides */
.sides { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.side { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
/* Photo feature header, as in prototype v28: the title sits on the photo over a teal scrim */
.side-photo { position: relative; min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 3vw, 32px); color: var(--on-teal); isolation: isolate; }
.side-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.side-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(15 52 58 / 0.88) 0%, rgb(15 52 58 / 0.45) 55%, rgb(15 52 58 / 0.05) 100%); }
.side-photo .eyebrow { color: var(--on-teal); margin-bottom: 8px; }
.side-photo h3 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.2; margin: 0 0 4px; color: var(--on-teal); }
.side-photo .tagline { font-family: var(--display); font-style: italic; color: var(--on-teal-accent); margin: 0; font-size: 1.0625rem; }
.side-body { padding: clamp(24px, 3vw, 32px); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .icon { color: var(--brand-text); width: 22px; height: 22px; margin-top: 2px; }

/* Featured sections (My Trips, Crossing Paths): a hero-style headline, Georgia with the accent line below */
.spot-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-bottom: 1rem; }
.spot-kicker .eyebrow { margin: 0; }
.spot-title { font-family: var(--display); font-weight: 400; font-size: clamp(2.25rem, 4.6vw, 3.5rem); line-height: 1.08; letter-spacing: -0.04em; margin-bottom: 0.35em; }
.spot-title em { display: block; font-style: italic; color: var(--coral); }
.spot-tagline { font-family: var(--display); font-style: italic; font-size: clamp(1.125rem, 1.8vw, 1.3125rem); line-height: 1.4; color: var(--coral-text); }
.spot-copy p:not(.eyebrow) { max-width: 52ch; }

/* My Trips */
.spotlight { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.planner { margin: 0; display: grid; grid-template-columns: 188px minmax(0, 1fr); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.planner-trips { background: var(--bg-alt); border-right: 1px solid var(--border); padding: 20px 12px; }
.planner-trips .eyebrow { color: var(--muted); margin: 0 8px 10px; }
.planner-trips ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.planner-trips li { padding: 10px 12px; border: 1px solid transparent; border-radius: var(--radius-sm); font-size: 0.8125rem; line-height: 1.4; color: var(--muted); }
.planner-trips li strong { display: block; font-size: 0.9375rem; color: var(--ink); }
.planner-trips li.on { background: var(--surface); border-color: var(--border); box-shadow: var(--shadow-card); }
.planner-add { display: flex; align-items: center; gap: 6px; margin: 12px 8px 0; font-size: 0.875rem; font-weight: 800; color: var(--brand-text); }
.planner-add .icon { width: 16px; height: 16px; }
.planner-main { padding: 20px 22px 22px; min-width: 0; }
.planner-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
/* The brand's segmented control */
.seg { display: inline-flex; flex: none; padding: 4px; margin: 0; border-radius: var(--radius-sm); background: var(--bg-alt); font-size: 0.8125rem; font-weight: 700; color: var(--muted); }
.seg span { padding: 4px 12px; border-radius: 10px; }
.seg .on { background: var(--surface); color: var(--brand-text); box-shadow: 0 1px 4px rgb(21 61 61 / 0.12); }
.day-tabs { list-style: none; margin: 0 0 16px; padding: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--border); }
.day-tabs li { padding: 5px 12px; border-radius: var(--radius-pill); background: var(--bg-alt); font-size: 0.8125rem; font-weight: 700; color: var(--muted); }
.day-tabs li.on { background: var(--brand); color: var(--brand-ink); }
.timeline { gap: 12px; }
.suggest { margin-top: 18px; padding: 14px; border-radius: var(--radius-md); background: var(--brand-soft); }
.suggest .eyebrow { color: var(--brand-text); margin-bottom: 10px; }
.suggest ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.suggest li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: var(--radius-sm); background: var(--surface); font-size: 0.8125rem; line-height: 1.4; color: var(--muted); }
.suggest li strong { display: block; font-size: 0.875rem; color: var(--ink); }
.save { display: inline-flex; flex: none; align-items: center; gap: 4px; font-weight: 800; color: var(--brand-text); }
.save .icon { width: 14px; height: 14px; }
.spot-details { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 16px; margin-top: clamp(40px, 5vw, 56px); }
.spot-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(24px, 3vw, 32px); }
.spot-card.warm { background: var(--panel); border-color: transparent; box-shadow: none; }
.spot-card h3 { margin-bottom: 16px; }
.checks.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
/* The budget card: what it'll cost, with an example group budget in the site's data table */
.spot-card.budget { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.spot-card.budget > div > p { color: var(--text); }
.budget .checks { margin-top: 16px; }
.budget-example { margin: 0; }
.budget-example .eyebrow { margin-bottom: 10px; color: var(--muted); }
.budget-example .table-wrap { margin: 0; box-shadow: none; }
.budget-example .data-table th, .budget-example .data-table td { padding: 10px 14px; font-size: 0.9375rem; }
.num, .data-table .num { text-align: right; white-space: nowrap; }
.data-table tfoot th, .data-table tfoot td { border-top: 2px solid var(--border); font-weight: 800; color: var(--ink); }
.shares { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.shares li { display: flex; flex-direction: column; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--brand-soft); }
.shares span { font-size: 0.8125rem; font-weight: 700; color: var(--brand-text); }
.shares strong { font-size: 1.0625rem; color: var(--ink); }
.dots { margin: 0 0 1em; padding-left: 1.2em; }
.dots li { margin-bottom: 4px; }
.dots li::marker { color: var(--coral-text); }
.fine { font-size: 0.9375rem; color: var(--muted); }

/* Crossing Paths: a photo panel with an example suggestion. Text sits on the left, under a deep-teal scrim. */
.cp-panel { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-lg); display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(32px, 5.5vw, 72px); color: var(--on-teal-soft); }
.cp-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; z-index: -2; }
.cp-panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(15 52 58 / 0.95) 0%, rgb(15 52 58 / 0.88) 52%, rgb(15 52 58 / 0.42) 100%); }
.cp-copy .eyebrow, .cp-copy h2 { color: var(--on-teal); }
/* On photos the accent stays upright in mint light (brand README, Typography) */
.cp-copy .spot-title em { font-style: normal; color: var(--on-teal-accent); }
.cp-copy p { max-width: 52ch; }
.cp-lead { font-family: var(--display); font-style: italic; font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.35; color: var(--on-teal); }
.cp-story { margin-top: 24px; padding: 18px 20px; border-radius: var(--radius-md); background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.2); }
.cp-story .eyebrow { margin-bottom: 6px; }
.cp-example { margin: 0; background: var(--surface); color: var(--text); border-radius: var(--radius); padding: clamp(20px, 2.6vw, 28px); box-shadow: 0 18px 50px rgb(8 30 33 / 0.3); }
.cp-route { display: grid; grid-template-columns: 1fr 1fr; text-align: center; max-width: 380px; margin-inline: auto; }
.cp-traveller { display: flex; flex-direction: column; align-items: center; font-size: 0.8125rem; line-height: 1.4; color: var(--muted); }
.cp-traveller .avatar { margin-bottom: 6px; }
.cp-traveller strong { font-size: 1rem; color: var(--ink); }
.cp-trails { grid-column: 1 / -1; width: 100%; height: auto; margin-top: 4px; }
.cp-trails path { fill: none; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 0.5 9; }
.cp-trail-a { stroke: var(--trail-teal); }
.cp-trail-b { stroke: var(--sunset); }
.cp-pin { fill: var(--coral); }
.cp-place { grid-column: 1 / -1; justify-self: center; display: inline-flex; align-items: center; gap: 6px; margin: 2px 0 0; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--coral-soft); color: var(--coral-text); font-size: 0.875rem; font-weight: 800; }
.cp-place .icon { width: 16px; height: 16px; }
.cp-both { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.cp-view { display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius-md); }
.cp-view .eyebrow { margin: 0; font-size: 0.625rem; letter-spacing: 0.14em; color: var(--muted); }
.cp-person { display: flex; gap: 10px; align-items: flex-start; }
.cp-person .avatar { width: 36px; height: 36px; font-size: 0.875rem; }
.cp-name { margin: 0; font-weight: 700; color: var(--ink); }
.cp-intro { margin: 0; font-size: 0.8125rem; line-height: 1.4; color: var(--muted); }
.cp-meta { margin: 0; font-size: 0.8125rem; font-weight: 700; color: var(--coral-text); }
.cp-view .mini { align-self: flex-start; margin-top: auto; }
.cp-shared { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.cp-shared .cp-fit, .cp-shared .cp-tags { margin: 0; }
.cp-suggest-note { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0 0; font-size: 0.875rem; color: var(--muted); }
.cp-suggest-note .icon { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--brand-text); }
/* Interest chips, as the brand's interest chip */
.cp-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cp-tags li { padding: 5px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); font-size: 0.8125rem; font-weight: 700; color: var(--brand-text); }
.mini { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--surface-warm); font-size: 0.875rem; font-weight: 700; color: var(--brand-text); }
.mini.primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
/* The optional compatibility indicator: shared interests, never a score */
.cp-fit { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: var(--radius-pill); background: var(--brand-soft); color: var(--brand-text); font-size: 0.8125rem; font-weight: 800; }
.cp-fit .icon { width: 14px; height: 14px; }
.cp-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
.cp-card.warm { background: var(--panel); border-color: transparent; box-shadow: none; }
.cp-card .checks { margin-bottom: 16px; }

/* Discover → Connect → Chat → Meet up, above the example screens */
.connect-head { margin-bottom: 20px; }
.trail { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.trail li { display: inline-flex; align-items: center; gap: 8px; }
.trail li > span { padding: 6px 14px; border-radius: var(--radius-pill); background: var(--brand-soft); color: var(--brand-text); font-weight: 800; font-size: 0.9375rem; }
/* The arrow is decoration; the empty alternative keeps screen readers from announcing it */
.trail li:not(:last-child)::after { content: "→"; content: "→" / ""; font-weight: 800; color: var(--coral-text); }
.trail-note { font-weight: 600; }
/* Screenshots of the prototype (Fellow Travellers, a chat and a meetup) in a phone-like frame */
.screens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; margin-top: 28px; }
/* A subgrid lines the frames up, whatever the length of each caption */
.screen { margin: 0; display: grid; grid-row: span 2; grid-template-rows: subgrid; }
.shot { width: 100%; max-width: 300px; margin-inline: auto; border: 8px solid var(--night); border-radius: 36px; overflow: hidden; background: var(--surface); box-shadow: 0 18px 40px rgb(14 35 38 / 0.18); }
.shot img { width: 100%; height: auto; }
.screen figcaption { max-width: 340px; margin-inline: auto; padding: 18px 4px 0; font-size: 0.9375rem; color: var(--muted); }
.screen figcaption strong { color: var(--ink); }
.shots-note { margin: 20px auto 0; max-width: 64ch; text-align: center; font-size: 0.875rem; color: var(--muted); }

/* fellowtrails+ in the pricing panel: planned, nothing to buy */
.plus { margin-top: 24px; padding: 20px 22px; border-radius: var(--radius); background: var(--surface); }
.plus .spot-kicker { margin-bottom: 8px; }
.plus h3 { font-size: 1.125rem; }
.cp-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(24px, 3vw, 32px); }
.cp-card h3 { margin-bottom: 16px; }
.cp-card .flow { margin: 0; }
.cp-card .flow li { background: var(--bg-alt); border-color: transparent; box-shadow: none; }
.never { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
.never li { display: flex; gap: 12px; align-items: flex-start; }
.never .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--coral-text); }

/* Supporting features, grouped */
.fgroups { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.fgroup { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(24px, 3vw, 32px); }
.fgroup-head { display: flex; align-items: center; gap: 14px; }
.fgroup-head h3 { margin: 0; }
.fgroup-head .chip { margin-left: auto; }
.fg-icon { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--brand-soft); color: var(--brand-text); }
.fgroup:nth-child(4n+2) .fg-icon, .fgroup:nth-child(4n+3) .fg-icon { background: var(--coral-soft); color: var(--coral-text); }
.fgroup .accent-italic { margin: 14px 0 6px; }
.fg-items { list-style: none; margin: 0; padding: 0; }
.fg-items li { padding: 14px 0; border-top: 1px solid var(--border); }
.fg-items li:first-child { border-top: 0; }
.fg-items li:last-child { padding-bottom: 0; }
.fg-items strong { display: block; margin-bottom: 2px; }
.fg-items p { margin: 0; color: var(--muted); font-size: 1rem; }
.later-title { font-size: 1.5rem; line-height: 1.25; margin: clamp(48px, 6vw, 64px) 0 8px; }

/* Teal banner: privacy and control (prototype v28 page-hero gradient) */
.banner-wrap { padding: clamp(32px, 4vw, 48px) 0; }
/* Solid deep teal: the list runs the full width, past where white text holds 4.5:1 on the gradient. */
.band { background: var(--deep-teal); color: var(--on-teal-soft); border-radius: var(--radius-lg); padding: clamp(36px, 5.5vw, 72px); }
.band h2, .band .eyebrow { color: var(--on-teal); }
.band .section-head p:not(.eyebrow) { color: var(--on-teal-soft); }
.nots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.nots li { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-top: 1px solid rgb(255 255 255 / 0.18); }
.nots .icon { color: var(--on-teal-accent); margin-top: 2px; }
.nots strong { color: var(--on-teal); display: block; font-size: 1.0625rem; margin-bottom: 2px; }
.nots span { color: var(--on-teal-soft); font-size: 1rem; }
.band-note { display: flex; gap: 14px; align-items: flex-start; margin: 24px 0 0; padding: 16px 20px; border-radius: var(--radius-md); background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.2); color: var(--on-teal-soft); }
.band-note .icon { color: var(--on-teal-accent); margin-top: 2px; }

/* Safety and trust */
.trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trust li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.trust .icon-well { margin-bottom: 16px; }
.trust p { margin: 0; color: var(--muted); font-size: 1rem; }
/* The prototype's notice block */
.honest { display: flex; gap: 16px; align-items: flex-start; margin-top: 24px; padding: 18px 22px; background: var(--notice); border: 1px solid var(--notice-border); border-radius: var(--radius-md); }
.honest .icon { color: var(--ink); margin-top: 2px; }
.honest p { margin: 0; }
.after-grid { margin-top: 32px; }

/* Free + roadmap */
.free-roadmap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 24px; align-items: stretch; }
.free { background: var(--panel); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); }
.free h2 { font-size: clamp(2rem, 4vw, 2.6rem); }
.free p { color: var(--text); }
.roadmap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); }
.roadmap h2 { font-size: clamp(1.75rem, 3.4vw, 2.25rem); }
.roadmap-intro { color: var(--muted); max-width: 56ch; }
.phases { list-style: none; margin: 24px 0 0; padding: 0; position: relative; display: grid; gap: 0; }
.phases li { position: relative; padding: 0 0 24px 40px; }
.phases li:last-child { padding-bottom: 0; }
.phases li::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: -8px; width: 2px; background: var(--border); }
.phases li:last-child::before { display: none; }
.phase-dot { position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--brand); background: var(--surface); }
.phases li.current .phase-dot { background: var(--sunset); border-color: var(--sunset); }
.phases h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 2px; }
.phases p { margin: 0; color: var(--muted); font-size: 1rem; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--border); }
.faq details:last-of-type { border-bottom: 1px solid var(--border); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 1.125rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--brand-text); transition: transform 0.2s ease-out; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .answer { padding: 0 0 24px; max-width: 68ch; }
@media (prefers-reduced-motion: reduce) { .faq summary .icon { transition: none; } }

/* Photo banner: prototype v28 home hero ("Where will we go together?") */
.photo-cta { position: relative; overflow: hidden; border-radius: var(--radius-lg); min-height: 420px; display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 6vw, 72px); color: var(--on-teal); isolation: isolate; margin-bottom: 24px; }
.photo-cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; z-index: -2; }
.photo-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--photo-scrim); }
.photo-cta > *:not(img) { max-width: 560px; }
.photo-cta .eyebrow { color: var(--on-teal); }
.photo-cta h2 { font-family: var(--display); font-weight: 400; color: var(--on-teal); font-size: clamp(2.5rem, 5.6vw, 4.25rem); line-height: 1.08; letter-spacing: -0.04em; margin-bottom: 0.3em; }
.photo-cta h2 em { color: var(--on-teal-accent); display: block; }
.photo-cta p { color: var(--on-teal-soft); font-size: 1.125rem; }
.photo-cta .button-row { margin-top: 12px; }
.photo-cta .button.primary { background: var(--sand); color: var(--deep-teal); }
.photo-cta .button.primary:hover { background: #ffffff; color: var(--deep-teal); }
.photo-cta a:focus-visible { outline-color: #ffffff; }

/* Get involved */
.involve { background: var(--panel); padding-top: clamp(64px, 8.5vw, 104px); overflow: hidden; }
.involve .section-head { margin-inline: auto; text-align: center; }
.involve .section-head p:not(.eyebrow) { color: var(--text); }
.involve-head { margin-top: clamp(40px, 5vw, 56px); margin-bottom: 28px; }
.involve-head .later-title { margin: 0 0 8px; }
.involve-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.involve-grid li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.involve-grid p { color: var(--muted); font-size: 1rem; }
.involve-grid .button { margin-top: auto; align-self: flex-start; }
.involve-note { text-align: center; margin: 24px auto 0; font-size: 0.97rem; color: var(--text); max-width: 60ch; }

.horizon { width: 100%; height: clamp(150px, 22vw, 300px); margin-top: clamp(40px, 6vw, 72px); }
.hz-sun { fill: var(--sunset); }
.hz-far { fill: var(--deep-water); }
.hz-near { fill: var(--trail-teal); }
.hz-trail-a { fill: var(--sand); }
.hz-trail-b { fill: var(--sunset); }
.hz-front { fill: var(--band); }

/* Footer */
.site-footer { background: var(--band); color: var(--band-muted); padding: 32px 0 32px; font-size: 0.97rem; }
.site-footer.plain { padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 32px; }
.footer-brand img { height: 44px; width: auto; margin-bottom: 16px; }
.footer-brand p { max-width: 36ch; color: var(--band-text); }
.footer-col h2 { font-family: var(--sans); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--band-ink); margin: 6px 0 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer a { color: var(--band-ink); text-decoration: none; font-weight: 600; display: inline-flex; min-height: 32px; align-items: center; }
.site-footer a:hover { color: var(--band-accent); text-decoration: underline; }
.footer-small { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--band-border); font-size: 0.875rem; display: grid; gap: 4px; }
.footer-small p { margin: 0; }

/* Inner pages: a teal banner like the prototype's page heroes */
.page-hero { padding: clamp(16px, 3vw, 32px) 0 clamp(32px, 4vw, 48px); }
.page-banner { background: var(--teal-gradient); border-radius: var(--radius-lg); padding: clamp(32px, 5.5vw, 64px); color: var(--on-teal); position: relative; overflow: hidden; }
.page-banner .eyebrow, .page-banner h1 { color: var(--on-teal); }
.page-banner h1 { font-size: clamp(2.5rem, 5.6vw, 3.75rem); max-width: 18ch; }
.page-banner h1 em { color: var(--on-teal-accent); }
.page-banner .lead { color: var(--on-teal); max-width: 44ch; }
.page-banner .updated { color: var(--on-teal); font-size: 0.97rem; margin-top: 1em; }
.page-banner a { color: var(--on-teal); }
.page-banner .banner-mark { position: absolute; right: clamp(24px, 5vw, 64px); top: 50%; translate: 0 -50%; width: clamp(120px, 16vw, 200px); height: auto; }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.625rem, 3vw, 2rem); margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--brand-text); }
.prose ul.tips, .prose ol.flow { padding-left: 0; }
.page-body { padding-bottom: clamp(64px, 8vw, 104px); }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.toc { position: sticky; top: 112px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; }
.toc .eyebrow { margin-bottom: 10px; }
.toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: flex; min-height: 36px; align-items: center; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.97rem; }
.toc a:hover { color: var(--brand-text); text-decoration: underline; }

.callout { display: flex; gap: 16px; align-items: flex-start; padding: 20px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); margin-bottom: 32px; }
.callout .icon { margin-top: 2px; }
.callout.danger { border-left: 4px solid var(--danger); }
.callout.danger .icon, .callout.danger .callout-label { color: var(--danger); }
.callout.info { border-left: 4px solid var(--brand); }
.callout.info .icon { color: var(--brand-text); }
.callout-label { display: block; font-weight: 800; color: var(--ink); margin-bottom: 2px; }
.callout p { margin: 0; }
.callout p + p { margin-top: 0.5em; }

.tips { list-style: none; margin: 0 0 1em; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tips li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px 20px; margin: 0; }
.tips h3 { margin: 0 0 4px; font-size: 1.0625rem; }
.tips p { margin: 0; color: var(--muted); font-size: 1rem; }

.does { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 1em; }
.does > div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; }
.does h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
.does .yes .icon { color: var(--success); }
.does .no .icon { color: var(--danger); }
.does ul { margin: 0; }

.flow { list-style: none; margin: 0 0 1em; padding: 0; counter-reset: flow; display: grid; gap: 12px; }
.flow li { counter-increment: flow; position: relative; padding: 16px 20px 16px 64px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); margin: 0; }
.flow li::before { content: counter(flow); position: absolute; left: 18px; top: 14px; width: 32px; height: 32px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-text); display: grid; place-items: center; font-weight: 800; font-size: 0.95rem; }

.targets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0 0 1em; }
.targets div { background: var(--panel); border-radius: var(--radius-md); padding: 18px 20px; }
.targets strong { display: block; font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); }
.targets span { color: var(--text); font-size: 1rem; }

.contact-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.contact-grid li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.contact-grid .icon-well { margin-bottom: 14px; }
.contact-grid p { color: var(--muted); font-size: 1rem; }
.card-title { font-family: var(--sans); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.035em; line-height: 1.3; margin: 0 0 0.4em; }
.contact-grid a.link { margin-top: auto; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.contact-grid a.link .icon { width: 18px; height: 18px; }

.data-table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: 1rem; }
.data-table th, .data-table td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.data-table thead th { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); border-bottom: 2px solid var(--border); }
.data-table tbody th { color: var(--ink); font-weight: 700; }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 1.5em; }
.table-wrap .data-table { margin: 0; }
.table-wrap tr:last-child th, .table-wrap tr:last-child td { border-bottom: 0; }

.error-page { min-height: 70vh; display: grid; place-items: center; padding: 64px 0; text-align: center; }
.error-page img { width: 120px; height: 120px; margin: 0 auto 28px; }
.error-page h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); }
.error-page .button-row { justify-content: center; margin-top: 24px; }

/* Cards: a surface, a 1px border and the prototype's card shadow (brand README, Layout) */
.chat-card, .who-list li, .steps li, .side, .planner, .spot-card, .cp-card, .fgroup, .trust li, .roadmap, .involve-grid li, .toc, .callout, .tips li, .does > div, .flow li, .contact-grid li, .table-wrap { box-shadow: var(--shadow-card); }

/* Responsive */
@media (max-width: 1180px) {
  /* The trip list moves above the day, as a row */
  .planner { grid-template-columns: 1fr; }
  .planner-trips { border-right: 0; border-bottom: 1px solid var(--border); padding: 14px 16px; }
  .planner-trips .eyebrow, .planner-add { display: none; }
  .planner-trips ul { display: flex; flex-wrap: wrap; }
  .planner-trips li { padding: 6px 12px; }
}
@media (max-width: 1080px) {
  .nav-list a { padding: 8px 12px; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .nav-list { display: none; }
  .menu { display: block; }
  .hero-grid, .free-roadmap, .page-grid, .spotlight, .spot-details, .cp-panel { grid-template-columns: 1fr; }
  .hero-media { min-height: 0; display: grid; }
  .hero-photo { position: relative; aspect-ratio: 16 / 11; }
  .chat-card { position: relative; left: auto; top: auto; width: auto; margin: -72px 16px 0; }
  .steps.four, .who-list { grid-template-columns: repeat(2, 1fr); }
  .steps, .trust, .involve-grid { grid-template-columns: repeat(2, 1fr); }
  .cp-panel::after { background: linear-gradient(0deg, rgb(15 52 58 / 0.94) 0%, rgb(15 52 58 / 0.9) 60%, rgb(15 52 58 / 0.78) 100%); }
  .screens { grid-template-columns: minmax(0, 340px); justify-content: center; }
  .screen:not(:first-child) { margin-top: 36px; }
  .toc { position: static; order: -1; }
}
@media (max-width: 680px) {
  .header-inner { min-height: 68px; }
  .brand img { height: 40px; }
  .steps, .steps.four, .who-list, .trust, .involve-grid, .sides, .nots, .tips, .does, .contact-grid, .fgroups, .cp-details, .checks.two { grid-template-columns: 1fr; }
  .nots { gap: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .purpose { flex-direction: column; align-items: flex-start; }
  .chat-card { margin: -56px 12px 0; }
  .planner-main { padding: 18px 16px; }
  .cp-panel { padding: 28px 20px; }
  .cp-example { padding: 18px; }
  .cp-both { grid-template-columns: 1fr; }
  .spot-card.budget { grid-template-columns: 1fr; }
  .shares { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .targets { grid-template-columns: 1fr; }
  .page-banner .banner-mark { display: none; }
  /* On phones the copy runs the full width, so the banner is solid deep teal (white text 9:1). */
  .page-banner { background: var(--deep-teal); }
  .photo-cta { min-height: 380px; }
  .photo-cta::after { background: linear-gradient(0deg, rgb(15 59 66 / 0.9) 0%, rgb(15 59 66 / 0.65) 60%, rgb(15 59 66 / 0.35) 100%); }
}
@media (max-width: 380px) {
  .brand img { height: 34px; }
  .menu summary { padding: 8px 12px; }
}
