/* ==========================================================================
   Wedding Culler — design tokens
   Neutral graphite surface (the tonal-gray convention pro color tools use so
   the UI itself never casts color onto the photos being judged), with a
   single semantic pair borrowed from the culling verb itself: Pick (green)
   and Reject (red) — the same two calls a photographer makes on every frame.
   ========================================================================== */

:root {
  /* surfaces */
  --ink-950: #2F363F;
  --ink-900: #343C46;
  --ink-800: #3A434E;
  --ink-750: #414A56;
  --ink-700: #49535F;
  --ink-600: #5C6875;

  /* text */
  --paper-100: #FFFFFF;
  --mist-400: #C6CDD3;
  --mist-600: #A6AEB1;

  /* pick / reject / pending — the culling call, reused as brand + status */
  --brand-600: #4E5D72;
  --brand-500: #66768B;
  --brand-300: #A9B7C2;
  --brand-soft: rgba(169, 183, 194, 0.16);
  --pick-500: #4e9c74;
  --pick-400: #6bb88f;
  --pick-soft: rgba(78, 156, 116, 0.14);
  --reject-500: #c4534a;
  --reject-400: #d97169;
  --reject-soft: rgba(196, 83, 74, 0.14);
  --amber-500: #c79a3d;
  --amber-soft: rgba(199, 154, 61, 0.14);

  /* type — two voices: a serif for the human/wedding register, a mono for
     the machine's calls (verdicts, confidences, filenames). Body stays a
     quiet system sans between them. */
  --font-display: "Space Grotesk", -apple-system, "Segoe UI", Arial, sans-serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;
  --fs-xs: 0.75rem;
  --fs-sm: 0.8125rem;
  --fs-base: 0.9375rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.375rem;
  --fs-xl: 1.75rem;

  /* geometry */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --content-width: 700px;
  --bar-width: 1040px;

  color-scheme: dark;
}

/* ==========================================================================
   Reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink-950);
  background-image: radial-gradient(ellipse 900px 420px at 50% -10%, rgba(169, 183, 194, 0.10), transparent 60%);
  background-repeat: no-repeat;
  color: var(--paper-100);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, dl, dd, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: var(--paper-100); }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Visible keyboard focus everywhere, mouse clicks stay quiet */
a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--brand-300);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

.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;
}

.skip-link {
  position: absolute; left: 1rem; top: -3rem;
  background: var(--brand-300); color: var(--ink-950);
  padding: 0.6rem 1rem; border-radius: var(--r-sm);
  font-weight: 700; font-size: var(--fs-sm);
  transition: top 0.15s ease;
  z-index: 100;
}
.skip-link:focus { top: 1rem; }

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Signature mark — the "tag" glyph.
   Same pentagon a photographer's culling app uses to flag a keeper; reused
   as the brand icon, the trust marker, and (via ::before) every status chip.
   ========================================================================== */

.tag-mark { flex-shrink: 0; color: var(--brand-300); }
.brand-logo { height: 56px; width: auto; }

/* ==========================================================================
   Instrument bar (nav)
   ========================================================================== */

.topbar {
  border-bottom: 1px solid var(--ink-700);
  background: rgba(20, 23, 27, 0.72);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.topbar-inner {
  max-width: var(--bar-width);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--paper-100);
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  white-space: nowrap;
}
.brand-name {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-eyebrow {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist-600);
  white-space: nowrap;
}

.topbar-trust {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-xs);
  color: var(--mist-400);
  margin-left: auto;
  white-space: nowrap;
}
.topbar-trust svg { color: var(--brand-300); }

.topbar-user {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-left: 1.25rem;
  border-left: 1px solid var(--ink-700);
}
.user-email {
  font-size: var(--fs-xs);
  color: var(--mist-400);
  max-width: 11rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ==========================================================================
   Page shell
   ========================================================================== */

.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
}

.page-head { margin-bottom: 1.75rem; }
.eyebrow {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand-300);
  margin-bottom: 0.5rem;
}
.page-head h1 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 560;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}
.lede { color: var(--mist-400); font-size: var(--fs-base); }
.lede strong { color: var(--paper-100); font-weight: 600; }

/* ==========================================================================
   Trust banner — the one claim this product exists to make
   ========================================================================== */

.trust-banner {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-left: 3px solid var(--brand-500);
  border-radius: var(--r-md);
  padding: 1.25rem 1.4rem;
  margin-bottom: 1.75rem;
}
.trust-banner__title {
  font-size: var(--fs-md);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}
.trust-banner__body {
  color: var(--mist-400);
  font-size: var(--fs-sm);
  line-height: 1.55;
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: var(--r-md);
  padding: 1.5rem 1.5rem 1.6rem;
  margin-bottom: 1.25rem;
}
.card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.card__header h2 {
  font-size: var(--fs-md);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.card--auth { max-width: 26rem; }

.muted { color: var(--mist-400); font-size: var(--fs-sm); }
.fine-print { color: var(--mist-600); font-size: var(--fs-xs); margin-top: 0.75rem; }

/* ==========================================================================
   Meta grid (subscription facts)
   ========================================================================== */

.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1.5rem;
}
.meta-grid dt {
  font-size: var(--fs-xs);
  color: var(--mist-600);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.15rem;
}
.meta-grid dd {
  font-size: var(--fs-base);
  color: var(--paper-100);
}

/* ==========================================================================
   Forms
   ========================================================================== */

.field { margin-bottom: 1.1rem; }
label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--mist-400);
  margin-bottom: 0.4rem;
}
input[type="email"],
input[type="password"],
input[type="text"] {
  width: 100%;
  background: var(--ink-750);
  border: 1px solid var(--ink-600);
  color: var(--paper-100);
  border-radius: var(--r-sm);
  padding: 0.65rem 0.8rem;
  font-size: var(--fs-base);
  font-family: inherit;
}
input::placeholder { color: var(--mist-600); }
input:hover { border-color: #4a515a; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  padding: 0.65rem 1.15rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}
.btn--primary { background: var(--brand-500); color: #FFFFFF; }
.btn--primary:hover { background: var(--brand-600); }
.btn--secondary { background: transparent; color: var(--paper-100); border-color: var(--ink-600); }
.btn--secondary:hover { border-color: var(--mist-400); }
.btn--ghost { background: transparent; color: var(--mist-400); border-color: transparent; padding: 0.45rem 0.8rem; }
.btn--ghost:hover { color: var(--paper-100); background: var(--ink-750); }
.btn--danger { background: var(--reject-500); color: #1a0d0b; }
.btn--danger:hover { background: var(--reject-400); }
.btn--danger-outline { background: transparent; color: var(--reject-400); border-color: var(--reject-500); }
.btn--danger-outline:hover { background: var(--reject-soft); }
.btn--sm { padding: 0.4rem 0.75rem; font-size: var(--fs-xs); }
.btn--block { width: 100%; }

.decision-form { display: flex; gap: 0.75rem; margin-top: 1.4rem; }

/* ==========================================================================
   Status chips — the tag-mark rendered small, colored by call
   ========================================================================== */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.2rem 0.65rem 0.2rem 0.5rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.badge::before {
  content: "";
  width: 8px;
  height: 8px;
  clip-path: polygon(0 0, 65% 0, 100% 50%, 65% 100%, 0 100%);
  background: currentColor;
}
.badge-active { background: var(--pick-soft); color: var(--pick-400); }
.badge-trialing { background: var(--amber-soft); color: var(--amber-500); }
.badge-past_due, .badge-canceled { background: var(--reject-soft); color: var(--reject-400); }

/* ==========================================================================
   Table
   ========================================================================== */

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 30rem; }
th {
  text-align: left;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mist-600);
  padding: 0 0.65rem 0.6rem;
}
td { padding: 0.7rem 0.65rem; border-top: 1px solid var(--ink-700); vertical-align: middle; }
.table-actions { text-align: right; }

/* ==========================================================================
   Model version chip
   ========================================================================== */

.version-chip {
  display: inline-block;
  background: var(--ink-750);
  border: 1px solid var(--ink-600);
  border-radius: var(--r-sm);
  padding: 0.15rem 0.5rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--brand-300);
}
.model-version { margin-bottom: 0.2rem; }

/* ==========================================================================
   Device authorization code
   ========================================================================== */

.device-code-label {
  font-size: var(--fs-xs);
  color: var(--mist-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}
.code-chip {
  display: inline-block;
  font-size: var(--fs-xl);
  font-weight: 700;
  letter-spacing: 0.14em;
  background: var(--ink-750);
  border: 1px solid var(--ink-600);
  border-radius: var(--r-sm);
  padding: 0.6rem 1rem;
  margin-bottom: 1.1rem;
}
.device-copy { color: var(--paper-100); font-size: var(--fs-base); line-height: 1.55; margin-bottom: 0.4rem; }
.device-copy strong { font-weight: 700; }

/* ==========================================================================
   Messages / alerts
   ========================================================================== */

.messages { margin-bottom: 1.25rem; }
.alert {
  padding: 0.75rem 0.9rem;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  margin-bottom: 0.5rem;
}
.alert--error { background: var(--reject-soft); color: var(--reject-400); border: 1px solid rgba(196, 83, 74, 0.35); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 640px) {
  .topbar-inner { flex-wrap: wrap; row-gap: 0.6rem; padding: 0.8rem 1.25rem; }
  .topbar-trust, .topbar-nav { display: none; }
  .topbar-user { margin-left: auto; padding-left: 0; border-left: none; }
  .container { padding: 1.75rem 1.25rem 4rem; }
  .meta-grid { grid-template-columns: 1fr; }
  .card { padding: 1.25rem; }
  .card__header { flex-wrap: wrap; }
  .decision-form { flex-direction: column; }
  .code-chip { font-size: var(--fs-lg); letter-spacing: 0.1em; }
}

/* ==========================================================================
   Topbar nav + footer
   ========================================================================== */

.topbar-nav {
  display: flex;
  gap: 1.4rem;
  margin-left: auto;
}
.topbar-nav a {
  font-size: var(--fs-sm);
  color: var(--mist-400);
  text-decoration: none;
  transition: color 0.15s ease;
}
.topbar-nav a:hover { color: var(--paper-100); }
.topbar-user { margin-left: 0; }

.btn--lg { padding: 0.85rem 1.5rem; font-size: var(--fs-base); }

.site-footer { border-top: 1px solid var(--ink-700); }
.site-footer-inner {
  max-width: var(--bar-width);
  margin: 0 auto;
  padding: 1.4rem 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: var(--fs-xs);
  color: var(--mist-600);
}
.site-footer-inner a { color: var(--mist-400); text-decoration: none; }
.site-footer-inner a:hover { color: var(--paper-100); }

/* ==========================================================================
   Landing page
   The machine's voice is mono; the human voice is the Fraunces display face.
   ========================================================================== */

.landing { padding: 0; max-width: none; }
.landing section { padding: 4.5rem 1.5rem; }
.landing .display {
  font-family: var(--font-display);
  font-weight: 560;
  letter-spacing: -0.015em;
  line-height: 1.08;
}
.landing .display em { font-style: italic; font-weight: 640; }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); text-align: center; margin-bottom: 2.75rem; }

/* the three calls, always in the machine's voice */
.call {
  font-family: var(--font-mono);
  font-size: 0.82em;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.call--keep { color: var(--pick-400); }
.call--reject { color: var(--reject-400); }
.call--review { color: var(--amber-500); }

/* --- hero ---------------------------------------------------------------- */

.hero {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  padding-top: 5.5rem !important;
  padding-bottom: 3rem !important;
}
.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.4rem);
  margin: 0.75rem 0 1.4rem;
}
.hero-lede {
  max-width: 640px;
  margin: 0 auto 2.2rem;
  color: var(--mist-400);
  font-size: var(--fs-md);
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}
.hero-fact {
  margin-top: 1.4rem;
  font-size: var(--fs-xs);
  color: var(--mist-600);
  letter-spacing: 0.04em;
}

/* --- signature: the contact sheet that culls itself ---------------------- */

.cullstrip { padding-top: 1rem !important; }
.cullstrip-track {
  display: flex;
  gap: 1rem;
  justify-content: safe center;
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 1.5rem 0.5rem 1rem;
}
.frame {
  position: relative;
  flex: 0 0 146px;
  margin: 0;
  scroll-snap-align: center;
  opacity: 0;
  transform: translateY(10px);
  animation: frame-in 0.45s ease forwards;
  animation-delay: var(--d, 0s);
}
@keyframes frame-in { to { opacity: 1; transform: none; } }

.frame-img {
  height: 105px;
  border: 1px solid var(--ink-600);
  border-radius: 4px;
}
.frame-num {
  font-size: 0.66rem;
  color: var(--mist-600);
  margin-top: 0.45rem;
  letter-spacing: 0.03em;
}

/* abstract frames — no fake photos, just the light of a wedding day */
.img-goldenhour { background: linear-gradient(155deg, #8a5a33 0%, #52351f 48%, #241812 100%); }
.img-soft { opacity: 0.62; filter: saturate(0.7); }
.img-dress { background: radial-gradient(circle at 38% 30%, #d8d2c4 0%, #8d887b 55%, #4e4b43 100%); }
.img-dancefloor {
  background:
    radial-gradient(circle 5px at 22% 32%, rgba(199, 154, 61, 0.85) 0%, transparent 100%),
    radial-gradient(circle 3px at 68% 18%, rgba(217, 113, 105, 0.7) 0%, transparent 100%),
    radial-gradient(circle 4px at 82% 60%, rgba(199, 154, 61, 0.55) 0%, transparent 100%),
    radial-gradient(circle 3px at 42% 72%, rgba(155, 178, 216, 0.5) 0%, transparent 100%),
    radial-gradient(circle 6px at 12% 78%, rgba(199, 154, 61, 0.35) 0%, transparent 100%),
    #15121b;
}
.img-veil { background: linear-gradient(200deg, #b9b3a6 0%, #7c7466 52%, #3c382f 100%); }
.img-greenery { background: linear-gradient(160deg, #4a5a42 0%, #2a3527 58%, #171d15 100%); }
.img-nightexit {
  background:
    radial-gradient(circle 4px at 30% 40%, rgba(230, 195, 120, 0.9) 0%, transparent 100%),
    radial-gradient(circle 3px at 55% 28%, rgba(230, 195, 120, 0.7) 0%, transparent 100%),
    radial-gradient(circle 5px at 72% 52%, rgba(230, 195, 120, 0.5) 0%, transparent 100%),
    radial-gradient(circle 2px at 44% 62%, rgba(230, 195, 120, 0.8) 0%, transparent 100%),
    #100d0b;
}

.stamp {
  position: absolute;
  top: 34px;
  left: 50%;
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
  padding: 0.28rem 0.55rem;
  border-radius: 4px;
  background: rgba(14, 16, 19, 0.88);
  opacity: 0;
  transform: translateX(-50%) scale(1.7) rotate(-7deg);
  animation: stamp-in 0.3s cubic-bezier(0.2, 1.3, 0.5, 1) forwards;
  animation-delay: calc(var(--d, 0s) + 0.4s);
}
@keyframes stamp-in { to { opacity: 1; transform: translateX(-50%) scale(1) rotate(-3deg); } }
.stamp em { font-style: normal; font-weight: 400; opacity: 0.75; }
.stamp .tag {
  width: 7px; height: 7px;
  align-self: center;
  clip-path: polygon(0 0, 65% 0, 100% 50%, 65% 100%, 0 100%);
  background: currentColor;
}
.stamp--keep { color: var(--pick-400); border: 1px solid rgba(107, 184, 143, 0.55); }
.stamp--reject { color: var(--reject-400); border: 1px solid rgba(217, 113, 105, 0.5); }
.stamp--review { color: var(--amber-500); border: 1px solid rgba(199, 154, 61, 0.5); }

/* the corrected frame: the AI's call struck through, the human's call wins */
.stamp--struck::after {
  content: "";
  position: absolute;
  left: 8%; right: 8%; top: 50%;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  animation: strike-in 0.25s ease forwards;
  animation-delay: calc(var(--d, 0s) + 1.15s);
}
@keyframes strike-in { to { transform: scaleX(1); } }
.correction {
  position: absolute;
  top: 66px;
  left: 8px;
  right: -30px;
  font-size: 0.62rem;
  color: var(--pick-400);
  opacity: 0;
  animation: frame-in 0.35s ease forwards;
  animation-delay: calc(var(--d, 0s) + 1.45s);
}
.frame--corrected { flex-basis: 178px; }

.cullstrip-caption {
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--mist-600);
  margin-top: 1.25rem;
  letter-spacing: 0.04em;
}

/* --- the problem ---------------------------------------------------------- */

.nightafter {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.nightafter h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: 1.4rem; }
.nightafter p { color: var(--mist-400); font-size: var(--fs-md); line-height: 1.7; }

/* --- steps (a real sequence, so it earns its numbers) ---------------------- */

.steps { max-width: 1040px; margin: 0 auto; }
.steps-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps-list li { position: relative; padding-top: 0.4rem; }
.step-no {
  display: block;
  font-size: var(--fs-sm);
  color: var(--brand-300);
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}
.steps-list h3 {
  font-size: var(--fs-md);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}
.steps-list p { color: var(--mist-400); font-size: var(--fs-sm); line-height: 1.65; }

/* --- learning -------------------------------------------------------------- */

.learning { max-width: 1040px; margin: 0 auto; }
.learning-head { max-width: 720px; margin: 0 auto 2.75rem; text-align: center; }
.learning-head .section-title { margin-bottom: 1.2rem; }
.learning-lede { color: var(--mist-400); line-height: 1.65; }
.learning-lede strong { color: var(--paper-100); }
.learning-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.learn-card {
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: var(--r-md);
  padding: 1.6rem 1.7rem;
}
.learn-key {
  font-size: var(--fs-xs);
  color: var(--brand-300);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.learn-card h3 {
  font-size: var(--fs-md);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.55rem;
}
.learn-card p { color: var(--mist-400); font-size: var(--fs-sm); line-height: 1.65; }

/* --- privacy: the hard line ------------------------------------------------ */

.privacy {
  text-align: center;
  border-top: 1px solid var(--ink-700);
  border-bottom: 1px solid var(--ink-700);
  background:
    radial-gradient(ellipse 700px 320px at 50% 0%, rgba(78, 156, 116, 0.07), transparent 65%),
    var(--ink-900);
}
.privacy-mark { margin: 0 auto 1.4rem; }
.privacy h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); max-width: 640px; margin: 0 auto 1.3rem; }
.privacy-body { max-width: 620px; margin: 0 auto 2.5rem; color: var(--mist-400); line-height: 1.7; }
.privacy-cols {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  text-align: left;
}
.privacy-col {
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: var(--r-md);
  padding: 1.4rem 1.6rem;
  min-width: 260px;
}
.privacy-col h3 {
  font-size: var(--fs-xs);
  letter-spacing: 0.09em;
  margin-bottom: 0.9rem;
  font-weight: 600;
}
.privacy-col--syncs h3 { color: var(--brand-300); }
.privacy-col--never h3 { color: var(--reject-400); }
.privacy-col li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.45rem;
  font-size: var(--fs-sm);
  color: var(--paper-100);
}
.privacy-col--syncs li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.36em;
  width: 8px; height: 8px;
  clip-path: polygon(0 0, 65% 0, 100% 50%, 65% 100%, 0 100%);
  background: var(--brand-300);
}
.privacy-col--never li::before {
  content: "\00d7";
  position: absolute;
  left: 0; top: -0.08em;
  color: var(--reject-400);
  font-weight: 700;
}

/* --- features -------------------------------------------------------------- */

.features { max-width: 1040px; margin: 0 auto; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.feature {
  border: 1px solid var(--ink-700);
  border-radius: var(--r-md);
  padding: 1.4rem 1.5rem;
}
.feature h3 {
  font-size: var(--fs-base);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.feature p { color: var(--mist-400); font-size: var(--fs-sm); line-height: 1.6; }

/* --- closing ---------------------------------------------------------------- */

.closing {
  text-align: center;
  padding-top: 5.5rem !important;
  padding-bottom: 6rem !important;
}
.closing h2 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  margin-bottom: 2rem;
}

/* --- landing responsive ------------------------------------------------------ */

@media (max-width: 860px) {
  .steps-list, .features-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  /* declared after .topbar-nav's display:flex so it wins on small screens */
  .topbar-nav { display: none; }
}
@media (max-width: 640px) {
  .landing section { padding: 3rem 1.25rem; }
  .steps-list, .features-grid, .learning-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 3.5rem !important; }
  .hero-actions .btn { width: 100%; }
  .privacy-col { width: 100%; }
}
