/* ==========================================================================
   Outposter — shared stylesheet
   Sections:
   0. Reset
   1. Tokens (:root)
   2. Base typography
   3. Layout utilities (container, section, grid)
   4. Bits: eyebrow, badge, status pill, buttons
   5. Site header + nav + mobile menu
   6. Hero + signature hero mock (calendar, post card, flight arc, plane)
   7. Features (2x2)
   8. How it works (steps along flight path)
   9. LinkedIn focus callout + roadmap chips
   10. CTA band
   11. FAQ (details/summary accordion)
   12. Footer
   13. Legal pages
   14. Scroll-reveal helpers
   15. Responsive breakpoints
   16. Motion (keyframes + reduced-motion gate)
   ========================================================================== */

/* 0. RESET ================================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul[class] { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; text-wrap: balance; }
p { text-wrap: pretty; }
:target { scroll-margin-top: 96px; }

/* 1. TOKENS ================================================================ */
:root {
  /* color */
  --brand: #3D4EE8;
  --brand-600: #2E3ACF;
  --brand-700: #2530A8;
  --brand-tint: #EEF0FE;
  --lavender: #E4E7FA;
  --navy: #141B3C;
  --navy-800: #1B2350;
  --ink: #202542;
  --muted: #5A607A;
  --line: #E7E9F2;
  --bg: #FFFFFF;
  --bg-soft: #F6F7FC;
  --grad: linear-gradient(135deg, #4453EC 0%, #6E7CF7 100%);
  --glow: radial-gradient(closest-side, rgba(61,78,232,.18), rgba(61,78,232,0));

  /* radii */
  --r-xs: 8px;
  --r-sm: 12px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --pill: 999px;

  /* shadows */
  --shadow-sm: 0 1px 2px rgba(20,27,60,.06), 0 1px 3px rgba(20,27,60,.08);
  --shadow: 0 12px 32px -14px rgba(61,78,232,.28), 0 4px 10px -6px rgba(20,27,60,.10);
  --shadow-lg: 0 34px 70px -22px rgba(61,78,232,.34);

  /* layout */
  --container: 1120px;
  --pad: 24px;

  /* fonts */
  --font-display: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

/* 2. BASE TYPOGRAPHY ======================================================= */
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); }
h1 { font-size: clamp(2.6rem, 5.5vw, 4rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 700; letter-spacing: -0.015em; }
h3 { font-size: 1.25rem; font-weight: 700; }
p  { line-height: 1.65; }
small, .small { font-size: 0.9rem; }
a { color: var(--brand); transition: color .15s ease; }
a:hover { color: var(--brand-600); }
strong { font-weight: 600; color: var(--navy); }
::selection { background: var(--brand); color: #fff; }

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

/* skip link */
.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--r-xs);
  box-shadow: var(--shadow);
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

/* 3. LAYOUT UTILITIES ====================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 62ch; margin-bottom: clamp(36px, 5vw, 56px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__intro { margin-top: 16px; color: var(--muted); font-size: 1.125rem; }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.lead { font-size: 1.2rem; color: var(--muted); line-height: 1.6; }

/* 4. BITS ================================================================== */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand);
  margin-bottom: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-700);
  background: var(--brand-tint);
  border: 1px solid var(--lavender);
  border-radius: var(--pill);
  padding: 6px 12px;
}
.badge__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand);
}

/* status pill (generic) */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--pill);
  padding: 5px 11px;
  white-space: nowrap;
}
.status-pill::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: currentColor;
}
.status-pill--scheduled { color: #9A6412; background: #FFF3DF; }
.status-pill--published { color: #127A45; background: #E4F7EC; }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 13px 22px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--brand-600); color: #fff; box-shadow: var(--shadow); }
.btn--ghost {
  background: #fff;
  color: var(--navy);
  border-color: var(--line);
}
.btn--ghost:hover { color: var(--navy); border-color: var(--brand); background: var(--brand-tint); }
.btn--lg { padding: 16px 28px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
/* ghost on dark surfaces */
.btn--on-dark {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.28);
  color: #fff;
}
.btn--on-dark:hover { background: rgba(255,255,255,.16); color: #fff; }

/* 5. SITE HEADER + NAV ===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}

/* logo */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo:hover { color: inherit; }
.logo__icon { width: 34px; height: 34px; flex: none; }
.logo__word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.logo__o { color: var(--brand); }

/* primary nav */
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: inline-block;
  color: var(--muted);
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--r-xs);
  transition: color .15s ease, background-color .15s ease;
}
.nav__link:hover { color: var(--navy); background: var(--brand-tint); }
.site-header .btn--primary { margin-left: 12px; }
/* the in-nav CTA is for the mobile menu only; desktop uses the standalone header button */
.nav__cta { display: none; }

/* hamburger */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  margin-left: auto;
  border-radius: var(--r-xs);
  align-items: center;
  justify-content: center;
  color: var(--navy);
}
.nav-toggle:hover { background: var(--brand-tint); }
.nav-toggle__bars { position: relative; width: 22px; height: 16px; }
.nav-toggle__bars span {
  position: absolute; left: 0; height: 2px; width: 100%;
  background: currentColor; border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease, top .2s ease;
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 7px; }
.nav-toggle__bars span:nth-child(3) { top: 14px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

/* 6. HERO + SIGNATURE MOCK ================================================= */
.hero {
  position: relative;
  padding-block: clamp(56px, 8vw, 104px);
  overflow: hidden;
}
.hero::before { /* soft brand glow behind hero */
  content: "";
  position: absolute;
  top: -180px; right: -120px;
  width: 620px; height: 620px;
  background: var(--glow);
  pointer-events: none;
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.hero__title { margin-top: 6px; }
.hero__lead {
  margin-top: 20px;
  font-size: 1.2rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 34ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.hero__note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--muted);
}
.hero__note svg { width: 16px; height: 16px; color: var(--brand); flex: none; }

/* ---- hero mock (the signature element) ---- */
.hero-mock {
  position: relative;
  aspect-ratio: 5 / 4.4;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
}
/* dotted flight arc svg — decorative, fills the whole mock */
.hero-mock__flight {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 3;
}
.hero-mock__arc {
  fill: none;
  stroke: var(--brand);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 1 9;
  opacity: .5;
}

/* calendar panel */
.hero-mock__calendar {
  position: absolute;
  left: 0; top: 6%;
  width: 74%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: 16px;
  z-index: 1;
}
.calendar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.calendar__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
}
.calendar__month {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.calendar__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 6px;
}
.calendar__day {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  color: var(--muted);
}
.calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.calendar__cell {
  aspect-ratio: 1;
  border-radius: var(--r-xs);
  background: var(--bg-soft);
  border: 1px solid transparent;
  position: relative;
}
.calendar__chip {
  position: absolute;
  left: 4px; right: 4px; bottom: 4px;
  height: 5px;
  border-radius: var(--pill);
  background: var(--lavender);
}
.calendar__chip--brand { background: var(--brand); }
.calendar__cell--slot {
  background: var(--brand-tint);
  border-color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
}
.calendar__slot-time {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 700;
  color: var(--brand-700);
}

/* floating post card */
.hero-mock__card {
  position: absolute;
  right: 0; bottom: 4%;
  width: 62%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  padding: 15px;
  z-index: 2;
}
.post-card__head { display: flex; align-items: center; gap: 10px; }
.post-card__avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--grad);
  flex: none;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
}
.post-card__meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.post-card__name { font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; color: var(--navy); }
.post-card__time {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.03em;
  color: var(--muted);
}
.post-card__brand {
  margin-left: auto;
  width: 22px; height: 22px;
  border-radius: 5px;
  background: #0A66C2;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.68rem;
  flex: none;
}
.post-card__body { margin-top: 12px; display: flex; flex-direction: column; gap: 7px; }
.post-card__line {
  height: 8px;
  border-radius: var(--pill);
  background: var(--lavender);
}
.post-card__line:nth-child(1) { width: 100%; }
.post-card__line:nth-child(2) { width: 92%; }
.post-card__line:nth-child(3) { width: 60%; }
.post-card__foot {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
/* status flip: two pills stacked in one cell */
.hero-mock__status { display: inline-grid; }
.hero-mock__status .status-pill { grid-area: 1 / 1; }
.hero-mock__status .status-pill--scheduled { opacity: 0; }   /* default resting = Published */
.hero-mock__status .status-pill--published { opacity: 1; }

/* paper plane — positioned element, rests at flight-arc end */
.hero-mock__plane {
  position: absolute;
  z-index: 4;
  top: 4%; right: 6%;
  width: 46px; height: 46px;
  color: var(--navy);
  filter: drop-shadow(0 8px 14px rgba(20,27,60,.22));
  pointer-events: none;
}

/* 7. FEATURES (bento: one spotlight + three compact) ======================= */
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--lavender); }
.feature-card__icon {
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  background: var(--brand-tint);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-card__icon svg { width: 24px; height: 24px; }
.feature-card__title { margin-bottom: 8px; }
.feature-card__text { color: var(--muted); line-height: 1.6; }

/* spotlight — the core feature spans the full row beside a scheduling queue */
.feature-card--spotlight {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(28px, 3.4vw, 44px);
  background: linear-gradient(115deg, #fff 42%, var(--brand-tint));
}
.feature-card--spotlight:hover { transform: none; box-shadow: var(--shadow-sm); border-color: var(--line); }
.feature-card--spotlight .feature-card__text { font-size: 1.05rem; max-width: 42ch; }

/* mini scheduling queue (decorative product hint) */
.queue { display: flex; flex-direction: column; gap: 12px; }
.queue__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
}
.queue__row--active { border-color: var(--brand); box-shadow: var(--shadow); }
.queue__day {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  color: var(--navy);
  white-space: nowrap;
}
.queue__bar { height: 8px; border-radius: var(--pill); background: var(--lavender); }
.queue__row--active .queue__bar { background: var(--brand); }
.queue__dot { width: 11px; height: 11px; border-radius: 50%; background: var(--line); flex: none; }
.queue__dot--done { background: #2FBF71; }
.queue__dot--next { background: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); }

/* 8. HOW IT WORKS ========================================================== */
.how__track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
/* dotted flight-path connecting the step markers (desktop = horizontal) */
.how__track::before {
  content: "";
  position: absolute;
  top: 27px; left: 12%; right: 12%;
  height: 3px;
  background-image: linear-gradient(90deg, var(--brand) 0 40%, transparent 0);
  background-size: 14px 3px;
  background-repeat: repeat-x;
  opacity: .45;
  z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; }
.step__marker {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--brand);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--brand-700);
}
.step__title { margin-bottom: 8px; }
.step__text { color: var(--muted); line-height: 1.6; max-width: 34ch; margin-inline: auto; }

/* 9. LINKEDIN FOCUS CALLOUT ================================================ */
.focus__inner {
  background: var(--navy);
  background-image: var(--grad);
  border-radius: var(--r-xl);
  padding: clamp(32px, 5vw, 56px);
  color: #fff;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}
.focus .eyebrow { color: #C9D0FF; }
.focus__title { color: #fff; }
.focus__text { margin-top: 14px; color: rgba(255,255,255,.86); line-height: 1.6; }
.roadmap__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,.7);
  margin-bottom: 14px;
}
.roadmap__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 9px 14px;
  border-radius: var(--pill);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
}
.chip::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: currentColor;
}
.chip--live { background: rgba(255,255,255,.16); }
.chip--live::before { background: #7CF0AC; }
.chip--soon { opacity: .72; }
.chip--soon::before { background: rgba(255,255,255,.55); }

/* 10. CTA BAND ============================================================= */
.cta-band__inner {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}
.cta-band__title { font-size: clamp(2rem, 4vw, 3rem); }
.cta-band__text { margin-top: 16px; color: var(--muted); font-size: 1.15rem; }
.cta-band__actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.cta-band__note { margin-top: 16px; font-size: 0.88rem; color: var(--muted); }

/* 11. FAQ ================================================================== */
.faq__list { max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq__item[open] { border-color: var(--lavender); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--brand-700); }
.faq__icon {
  flex: none;
  width: 24px; height: 24px;
  position: relative;
  color: var(--brand);
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .2s ease;
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a { padding: 0 22px 20px; color: var(--muted); line-height: 1.65; }
.faq__a p + p { margin-top: 12px; }

/* 12. FOOTER =============================================================== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.72);
  padding-top: clamp(48px, 7vw, 80px);
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px;
}
.site-footer .logo__word { color: #fff; }
.site-footer .logo__o { color: #8B97FA; }
.site-footer__tagline {
  margin-top: 16px;
  max-width: 30ch;
  color: rgba(255,255,255,.62);
  line-height: 1.6;
  font-size: 0.95rem;
}
.footer-col__title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,.55);
  margin-bottom: 16px;
}
.footer-col__list { display: flex; flex-direction: column; gap: 10px; }
.footer-col__link { color: rgba(255,255,255,.78); font-size: 0.95rem; }
.footer-col__link:hover { color: #fff; }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-block: 24px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}
.site-footer__disclaimer { color: rgba(255,255,255,.5); }

/* 13. LEGAL PAGES ========================================================== */
.legal-hero {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(48px, 7vw, 88px);
}
.legal-hero__title { font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
.legal-updated {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.legal { padding-block: clamp(48px, 7vw, 80px); }
.legal__wrap {
  max-width: 72ch;
  margin-inline: auto;
}
.legal__toc {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 26px;
  margin-bottom: 48px;
}
.legal__toc-title {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 14px;
}
.legal__toc ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.legal__toc a { color: var(--brand-700); }
.legal h2 {
  font-size: 1.5rem;
  margin-top: 44px;
  margin-bottom: 14px;
  padding-top: 8px;
}
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.15rem; margin-top: 28px; margin-bottom: 10px; color: var(--navy-800); }
.legal p { margin-bottom: 16px; color: var(--ink); }
.legal ul { margin: 0 0 16px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal li { line-height: 1.6; }
.legal ul li::marker { color: var(--brand); }
.back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  margin-bottom: 28px;
}
.back-home svg { width: 16px; height: 16px; }

/* 14. SCROLL-REVEAL ======================================================== */
/* Content is visible by default; JS opts elements in with .reveal-on.
   Only .reveal-on elements start hidden and are revealed by .is-visible. */
[data-reveal].reveal-on {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}
[data-reveal].reveal-on.is-visible {
  opacity: 1;
  transform: none;
}

/* 15. RESPONSIVE =========================================================== */
@media (max-width: 900px) {
  :root { --pad: 20px; }

  /* nav -> hamburger */
  .nav-toggle { display: inline-flex; }
  .site-header .btn--primary { display: none; }
  .nav {
    position: fixed;
    inset: 68px 0 auto 0;
    margin: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 12px var(--pad) 20px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav__link { padding: 12px 14px; font-size: 1.05rem; }
  .nav__cta { display: block; margin: 8px 0 0; }
  .nav .btn--primary { display: inline-flex; width: 100%; }

  /* hero -> single column, mock below copy */
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__lead { max-width: 46ch; }
  .hero-mock { max-width: 460px; }

  /* focus callout stacks */
  .focus__inner { grid-template-columns: 1fr; }

  /* footer */
  .site-footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  /* collapse all multi-column grids */
  .grid--2, .grid--3, .grid--4,
  .features__grid { grid-template-columns: 1fr; }
  .feature-card--spotlight { grid-template-columns: 1fr; gap: 28px; }

  /* how it works: vertical path */
  .how__track { grid-template-columns: 1fr; gap: 20px; }
  .how__track::before {
    top: 0; bottom: 0; left: 27px; right: auto;
    width: 3px; height: auto;
    background-image: linear-gradient(180deg, var(--brand) 0 40%, transparent 0);
    background-size: 3px 14px;
    background-repeat: repeat-y;
  }
  .step { text-align: left; display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; align-items: start; }
  .step__marker { margin: 0; }
  .step__text, .step__title { grid-column: 2; }
  .step__title { margin-top: 12px; }
  .step__text { margin-inline: 0; }

  .site-footer__inner { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }

  .hero__actions .btn { flex: 1 1 auto; }
}

/* 16. MOTION =============================================================== */
@media (prefers-reduced-motion: no-preference) {

  /* draw the dotted flight arc */
  .hero-mock__arc {
    stroke-dasharray: 1 9;
    animation: arcDraw 1.6s ease .2s both;
  }
  @keyframes arcDraw {
    from { opacity: 0; }
    to   { opacity: .5; }
  }

  /* the plane glides the arc once, then rests */
  .hero-mock__plane {
    animation: planeFlight 2.4s cubic-bezier(.34, .12, .3, 1) .25s both;
  }
  @keyframes planeFlight {
    0%   { transform: translate(-190px, 150px) rotate(-16deg) scale(.7); opacity: 0; }
    12%  { opacity: 1; }
    55%  { transform: translate(-88px, 26px) rotate(-4deg) scale(.9); opacity: 1; }
    100% { transform: translate(0, 0) rotate(0) scale(1); opacity: 1; }
  }

  /* status pill flips Scheduled -> Published after the plane lands */
  .hero-mock__status .status-pill--scheduled { animation: pillScheduled 3s ease .25s both; }
  .hero-mock__status .status-pill--published { animation: pillPublished 3s ease .25s both; }
  @keyframes pillScheduled {
    0%, 78% { opacity: 1; }
    88%, 100% { opacity: 0; }
  }
  @keyframes pillPublished {
    0%, 82% { opacity: 0; }
    92%, 100% { opacity: 1; }
  }

  /* gentle idle float on the post card once it has landed */
  .hero-mock__card { animation: cardFloat 6s ease-in-out 3s infinite; }
  @keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
  }
}

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