/* ============================================================
   RiftMark — Premium dark theme
   Near-black base, single lilac/purple accent.
   Editorial service language: prose, hairlines, typographic
   numbers — no app-UI patterns.
   ============================================================ */

:root {
  --bg: #09090b;
  --bg-2: #0d0d10;
  --panel: #111114;
  --panel-2: #16161a;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.12);
  --ink: #f4f3f7;
  --ink-2: #b9b7c2;
  --muted: #85838f;
  --accent: #b48cf5;
  --accent-deep: #7c4df0;
  --green: #6fdca0;
  --radius: 18px;
  --font: "General Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.5;
}

::selection { background: rgba(180, 140, 245, 0.35); }

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(1180px, 92vw); margin: 0 auto; }

/* ============ Reveal animations ============ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  background: linear-gradient(180deg, #a97ef5 0%, var(--accent-deep) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 8px 24px rgba(124, 77, 240, 0.28);
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 12px 30px rgba(124, 77, 240, 0.4);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-strong);
  box-shadow: none;
  color: var(--ink);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  box-shadow: none;
  filter: none;
}
.btn .arrow { font-size: 15px; transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translate(2px, -2px); }

/* ============ NAV ============ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease;
}
.nav.scrolled {
  background: rgba(9, 9, 11, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.nav-inner {
  width: min(1180px, 94vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.brand svg { width: 20px; height: 22px; }

.nav-links { display: flex; gap: 6px; }
.nav-links a {
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease;
}
.nav-links a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); }

@media (max-width: 860px) {
  .nav-links { display: none; }
}

/* ============ HERO ============ */
.hero { position: relative; padding: 190px 0 90px; overflow: hidden; }

/* Retro halftone: three dot layers at different scales, each fading at a
   different radius so dot density and brightness taper like a print screen. */
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.10) 1px, transparent 1.4px),
    radial-gradient(circle, rgba(255, 255, 255, 0.05) 0.8px, transparent 1.2px);
  background-size: 22px 22px, 11px 11px;
  background-position: 0 0, 5.5px 5.5px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 0%, rgba(0, 0, 0, 0.4) 45%, transparent 72%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 0%, rgba(0, 0, 0, 0.4) 45%, transparent 72%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(190, 155, 248, 0.22) 1.5px, transparent 2px);
  background-size: 44px 44px;
  background-position: 11px 11px;
  -webkit-mask-image: radial-gradient(ellipse 42% 36% at 50% 24%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 42% 36% at 50% 24%, #000 0%, transparent 78%);
  animation: dot-breathe 7s ease-in-out infinite;
}
@keyframes dot-breathe {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg::after { animation: none; opacity: 0.75; }
}
.hero-glow {
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 520px;
  background: radial-gradient(ellipse at center, rgba(124, 77, 240, 0.16) 0%, transparent 65%);
  pointer-events: none;
}
.hero h1 {
  font-size: clamp(38px, 5.4vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 600;
  max-width: 15ch;
  position: relative;
}
.hero h1 .tint {
  background: linear-gradient(120deg, var(--accent) 0%, #dcc9fb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .sub {
  margin-top: 22px;
  color: var(--ink-2);
  font-size: 16.5px;
  max-width: 54ch;
  position: relative;
}
.hero-actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; position: relative; }
.hero-note {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13.5px;
  position: relative;
}
.hero-note svg {
  width: 15px;
  height: 15px;
  color: var(--green);
  flex-shrink: 0;
}

/* ============ LEDGER — a week written as a concierge report ============ */
.ledger {
  margin: 76px auto 0;
  max-width: 920px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: rgba(13, 13, 16, 0.88);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55);
  position: relative;
  overflow: hidden;
}
.ledger-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 32px;
  border-bottom: 1px solid var(--line);
}
.ledger-head h4 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.ledger-head span { color: var(--muted); font-size: 12.5px; }

.l-row {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 20px;
  align-items: baseline;
  padding: 19px 32px;
  border-bottom: 1px solid var(--line);
}
.l-day {
  color: var(--accent);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.l-text {
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.65;
  max-width: 62ch;
}
.l-text b { color: var(--ink); font-weight: 600; }
.l-out {
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ledger-foot {
  padding: 20px 32px;
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}
.ledger-foot b { color: var(--ink); font-weight: 600; }

@media (max-width: 720px) {
  .l-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 22px; }
  .l-out { display: none; }
  .ledger-head, .ledger-foot { padding: 18px 22px; }
}

/* ============ DISCIPLINES STRIP ============ */
.strip { padding: 64px 0 30px; text-align: center; }
.strip p { color: var(--muted); font-size: 13px; margin-bottom: 26px; }
.marquee { overflow: hidden; position: relative; }
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.28);
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* ============ SECTIONS ============ */
.section { padding: 110px 0; position: relative; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.section-label .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.14;
}
.section-head .sub {
  margin-top: 16px;
  color: var(--ink-2);
  font-size: 15.5px;
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}

/* ============ ABOUT / word reveal ============ */
.about-copy {
  font-size: clamp(22px, 2.9vw, 33px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
  max-width: 28ch;
  margin: 0 auto;
  text-align: center;
}
.about-copy .w { color: rgba(255, 255, 255, 0.16); transition: color 0.35s ease; }
.about-copy .w.on { color: var(--ink); }

/* ============ STATS ============ */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 72px;
}
.stat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 30px 28px;
}
.stat-num {
  font-size: clamp(40px, 4.6vw, 58px);
  font-weight: 600;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, #fff 10%, var(--accent) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.stat-label .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.stat-note { color: var(--ink-2); font-size: 13.5px; margin-top: 12px; line-height: 1.55; }
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr; }
}

/* ============ BRIEF (Meet the Friday Brief) ============ */
.brief-visual {
  position: relative;
  border-radius: 24px;
  padding: clamp(28px, 5vw, 64px);
  background:
    radial-gradient(ellipse 70% 90% at 30% 0%, rgba(124, 77, 240, 0.32), transparent 60%),
    radial-gradient(ellipse 60% 80% at 85% 100%, rgba(180, 140, 245, 0.18), transparent 60%),
    var(--panel);
  border: 1px solid var(--line-strong);
  overflow: hidden;
}
.brief-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.09) 1px, transparent 1.4px),
    radial-gradient(circle, rgba(190, 155, 248, 0.12) 1.3px, transparent 1.8px);
  background-size: 20px 20px, 40px 40px;
  background-position: 0 0, 10px 10px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 30% 0%, #000 0%, transparent 62%);
  mask-image: radial-gradient(ellipse 70% 90% at 30% 0%, #000 0%, transparent 62%);
  pointer-events: none;
}
.brief-visual > * { position: relative; }
.brief-card {
  max-width: 620px;
  margin: 0 auto;
  background: rgba(13, 13, 16, 0.92);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  font-size: 12.5px;
}
.brief-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.brief-head .from { display: flex; align-items: center; gap: 11px; }
.brief-head .avatar {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: linear-gradient(160deg, var(--accent), var(--accent-deep));
  display: grid;
  place-items: center;
}
.brief-head .avatar svg { width: 13px; height: 15px; }
.brief-head .who b { display: block; font-size: 13px; font-weight: 600; }
.brief-head .who span { color: var(--muted); font-size: 11px; }
.brief-head time { color: var(--muted); font-size: 11px; }
.brief-body { padding: 20px; }
.brief-body h6 { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 14px; }
.brief-line {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}
.brief-line:last-of-type { border-bottom: none; }
.brief-line svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }
.brief-line b { color: var(--ink); font-weight: 600; }
.brief-line .end { margin-left: auto; color: var(--muted); font-size: 11px; white-space: nowrap; }

/* ============ EDITORIAL COLUMNS ============ */
.ed-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 56px;
}
.ed-col {
  border-top: 1px solid var(--line-strong);
  padding-top: 20px;
}
.ed-label {
  display: block;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.ed-col p { color: var(--muted); font-size: 13.5px; line-height: 1.65; }
@media (max-width: 860px) {
  .ed-cols { grid-template-columns: 1fr; gap: 26px; }
}

/* ============ SERVICE ROWS ============ */
.svc-rows { border-top: 1px solid var(--line-strong); }
.svc-row {
  display: grid;
  grid-template-columns: 90px 1fr 1.15fr;
  gap: 28px;
  align-items: start;
  padding: 38px 6px;
  border-bottom: 1px solid var(--line);
}
.svc-row .idx {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding-top: 6px;
}
.svc-row h3 {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.svc-row p {
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 52ch;
}
.svc-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 13.5px;
}
.svc-note .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  flex-shrink: 0;
}
@media (max-width: 860px) {
  .svc-row { grid-template-columns: 1fr; gap: 10px; padding: 28px 2px; }
  .svc-row .idx { padding-top: 0; }
}

/* ============ HOW WE WORK — steps ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}
.step { position: relative; }
.step-num {
  display: block;
  font-size: 58px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: transparent;
  background: linear-gradient(180deg, rgba(180, 140, 245, 0.5), rgba(180, 140, 245, 0.06));
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 22px;
}
.step h5 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.step p { color: var(--muted); font-size: 13.5px; line-height: 1.7; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 36px; }
}

/* ============ TOOLS LINE ============ */
.tools-line {
  text-align: center;
  color: var(--muted);
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ============ FAQ ============ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
}
.faq-col { display: flex; flex-direction: column; gap: 12px; }
details.faq {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  overflow: hidden;
  transition: border-color 0.3s ease;
}
details.faq[open] { border-color: rgba(180, 140, 245, 0.35); }
details.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.01em;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary .plus {
  flex-shrink: 0;
  width: 22px; height: 22px;
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: transform 0.3s ease, color 0.3s ease;
}
details.faq summary .plus svg { width: 14px; height: 14px; }
details.faq[open] summary .plus { transform: rotate(45deg); color: var(--accent); }
details.faq .faq-body {
  padding: 0 20px 20px;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.65;
}
details.faq .faq-body a { color: var(--accent); }
@media (max-width: 760px) {
  .faq-grid { grid-template-columns: 1fr; }
}

/* ============ FINAL CTA ============ */
.cta-final { padding: 40px 0 110px; }
.cta-card {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background:
    radial-gradient(ellipse 60% 100% at 85% 20%, rgba(124, 77, 240, 0.22), transparent 60%),
    var(--panel);
  padding: clamp(36px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1.4px),
    radial-gradient(circle, rgba(190, 155, 248, 0.11) 1.3px, transparent 1.8px);
  background-size: 20px 20px, 40px 40px;
  background-position: 0 0, 10px 10px;
  -webkit-mask-image: radial-gradient(ellipse 65% 110% at 85% 20%, #000 0%, transparent 64%);
  mask-image: radial-gradient(ellipse 65% 110% at 85% 20%, #000 0%, transparent 64%);
  pointer-events: none;
}
.cta-card > * { position: relative; }
.cta-card h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
}
.cta-copy p {
  margin-top: 18px;
  color: var(--ink-2);
  font-size: 15px;
  max-width: 46ch;
  line-height: 1.65;
}
.cta-copy .btn { margin-top: 30px; }

/* case — a recovery told as a story, not a UI */
.case {
  border-left: 1px solid var(--line-strong);
  padding-left: clamp(28px, 4vw, 48px);
}
.case-label {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.case-num {
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(120deg, #fff 10%, var(--accent) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.case-line {
  margin-top: 10px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.case p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
  max-width: 40ch;
}
@media (max-width: 860px) {
  .cta-card { grid-template-columns: 1fr; }
  .case { border-left: none; border-top: 1px solid var(--line-strong); padding: 28px 0 0; }
}

/* ============ TOAST ============ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 16px);
  background: var(--panel-2);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 12px 20px;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 200;
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============ FOOTER ============ */
.footer { border-top: 1px solid var(--line); padding: 64px 0 0; }
.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 48px;
}
.footer-brand p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 14px;
  max-width: 30ch;
  line-height: 1.6;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a, .footer-col p {
  color: var(--ink-2);
  font-size: 13.5px;
  transition: color 0.25s ease;
}
.footer-col a:hover { color: var(--ink); }
.footer-fine {
  color: rgba(255, 255, 255, 0.28);
  font-size: 11px;
  line-height: 1.7;
  max-width: 96ch;
  padding-bottom: 26px;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12.5px;
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--ink-2); }
@media (max-width: 860px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

/* ============ LEGAL PAGES ============ */
.legal-page {
  width: min(760px, 92vw);
  margin: 0 auto;
  padding: 170px 0 90px;
}
.legal-page h1 {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}
.legal-page .updated { color: var(--muted); font-size: 13px; margin-bottom: 40px; }
.legal-page h2 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
}
.legal-page p, .legal-page li {
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.75;
}
.legal-page p { margin-bottom: 14px; }
.legal-page ul { padding-left: 22px; margin-bottom: 14px; list-style: disc; }
.legal-page li { margin-bottom: 8px; }
.legal-page a { color: var(--accent); }
.legal-page a:hover { text-decoration: underline; }
.legal-page strong { color: var(--ink); font-weight: 600; }
