/* Imagik — imagik.io
   Black canvas, spectrum accent, SF-first type. The app icon sets the palette:
   a white eye on black with the spectrum pouring out of the pupil. */

:root {
  color-scheme: dark;

  --ink: #f5f5f7;
  --ink-dim: #a1a1a6;
  --ink-faint: #6e6e73;
  --bg: #000;
  --bg-raised: #0a0a0c;
  --bg-card: #131316;
  --hairline: rgba(255, 255, 255, 0.09);
  --hairline-strong: rgba(255, 255, 255, 0.16);

  --red: #ff3b30;
  --orange: #ff8a00;
  --yellow: #ffd60a;
  --green: #30d158;
  --blue: #0a84ff;
  --indigo: #5e5ce6;
  --violet: #af52de;

  --spectrum: linear-gradient(
    100deg,
    var(--red) 0%, var(--orange) 17%, var(--yellow) 33%,
    var(--green) 50%, var(--blue) 67%, var(--indigo) 83%, var(--violet) 100%
  );

  --shell: min(1120px, calc(100vw - 44px));
  --radius: 20px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont,
    "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

::selection { background: rgba(10, 132, 255, 0.4); }

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

.shell { width: var(--shell); margin-inline: auto; }
.narrow { width: min(760px, calc(100vw - 44px)); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  padding: 10px 18px;
  background: var(--ink);
  color: #000;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  z-index: 100;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; text-decoration: none; }

/* ---------- Type scale ---------- */

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.025em; }

.display {
  font-size: clamp(44px, 9vw, 104px);
  line-height: 1.03;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.headline {
  font-size: clamp(32px, 5.4vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.subhead {
  font-size: clamp(19px, 2.2vw, 25px);
  line-height: 1.35;
  color: var(--ink-dim);
  letter-spacing: -0.014em;
  font-weight: 400;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 14px;
}

.spectrum-text {
  background: var(--spectrum);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* Painting gradient text on black can clip descenders in some engines. */
  padding-bottom: 0.06em;
}

.lede { font-size: 19px; color: var(--ink-dim); line-height: 1.55; }

/* ---------- Navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline);
}

.nav-inner {
  height: 56px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-right: auto;
}
.nav-brand:hover { text-decoration: none; }
.nav-brand img { width: 24px; height: 24px; border-radius: 6px; }

.nav-links { display: flex; gap: 28px; align-items: center; }

.nav-links a {
  font-size: 13px;
  color: var(--ink-dim);
  letter-spacing: -0.005em;
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--ink); text-decoration: none; }

@media (max-width: 720px) {
  .nav-links { gap: 18px; }
  .nav-links a.optional { display: none; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
    border-color 0.2s var(--ease), opacity 0.2s var(--ease);
  cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--ink); color: #000; }
.btn-primary:hover { background: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline-strong);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.4); }

.btn[aria-disabled="true"] {
  cursor: default;
  opacity: 0.55;
}
.btn[aria-disabled="true"]:hover { transform: none; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ---------- Sections ---------- */

section { position: relative; }

.section {
  padding: clamp(88px, 13vw, 168px) 0;
  border-top: 1px solid var(--hairline);
}
.section.flush { border-top: 0; }

.section-head { max-width: 720px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin: 20px 0 0; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(64px, 10vw, 116px) 0 clamp(56px, 8vw, 96px);
  text-align: center;
  overflow: hidden;
}

/* The spectrum plume from the icon, abstracted into ambient light. */
.hero-glow {
  position: absolute;
  top: 0;
  left: -12%;
  right: -12%;
  height: 900px;
  background:
    radial-gradient(38% 30% at 18% 44%, rgba(255, 59, 48, 0.34), transparent 70%),
    radial-gradient(34% 28% at 38% 30%, rgba(255, 214, 10, 0.24), transparent 68%),
    radial-gradient(36% 30% at 60% 38%, rgba(48, 209, 88, 0.24), transparent 70%),
    radial-gradient(42% 34% at 84% 30%, rgba(94, 92, 230, 0.38), transparent 72%);
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.hero > .shell { position: relative; z-index: 1; }

.hero .display { margin-bottom: 26px; }
.hero .subhead { max-width: 660px; margin: 0 auto 36px; }

.hero-note {
  margin-top: 22px;
  font-size: 13px;
  color: var(--ink-faint);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-dim);
  margin-bottom: 30px;
  background: rgba(255, 255, 255, 0.03);
}
.badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--spectrum);
  margin-left: 6px;
}

/* ---------- iPhone mockup ---------- */

.stage {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: clamp(48px, 7vw, 84px);
}

.phone {
  position: relative;
  width: min(330px, 78vw);
  aspect-ratio: 9 / 19.5;
  border-radius: 54px;
  padding: 11px;
  background: linear-gradient(160deg, #2b2b30, #0d0d10 40%, #232328);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.11),
    0 42px 90px -28px rgba(0, 0, 0, 0.9),
    0 0 120px -20px rgba(94, 92, 230, 0.35);
}

.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 44px;
  overflow: hidden;
  background: #08080a;
  display: flex;
  flex-direction: column;
}

.phone-island {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 26px;
  border-radius: 999px;
  background: #000;
  z-index: 4;
}

/* Recreated app canvas: a golden-hour frame with the layer stack over it.
   The "photo" is drawn in CSS — sky, sun, haze, ridge line, silhouette — so
   the mockup needs no licensed photography. */
.app-canvas {
  position: relative;
  flex: 1;
  overflow: hidden;
  background:
    radial-gradient(60% 26% at 50% 62%, rgba(255, 241, 196, 0.95), transparent 42%),
    radial-gradient(120% 50% at 50% 64%, rgba(255, 176, 74, 0.85), transparent 62%),
    linear-gradient(
      180deg,
      #14213f 0%, #2c2a55 18%, #6b3f60 34%, #b55b41 50%,
      #e88b3c 62%, #c96a33 70%, #4a2a22 82%, #170f10 100%
    );
}

/* Haze band just above the horizon. */
.app-canvas::before {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  top: 52%;
  height: 22%;
  background: linear-gradient(180deg, transparent, rgba(255, 214, 150, 0.45), transparent);
  filter: blur(12px);
}

/* Far ridge line: wide and shallow, so it reads as a distant horizon. */
.app-canvas::after {
  content: "";
  position: absolute;
  left: -60%;
  right: -60%;
  top: 66%;
  height: 40%;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: linear-gradient(180deg, #43271f, #1b1113 60%);
  opacity: 0.94;
}

/* Foreground silhouette: shoulders with a head, the shape a portrait makes. */
.canvas-subject {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 64%;
  height: 42%;
  z-index: 2;
  border-radius: 46% 46% 0 0 / 62% 62% 0 0;
  background: linear-gradient(180deg, #120c0e, #070506);
}

.canvas-subject::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -30%;
  transform: translateX(-50%);
  width: 34%;
  aspect-ratio: 1 / 1.16;
  border-radius: 50% 50% 44% 44%;
  background: linear-gradient(180deg, #150e10, #0a0709);
}

/* Rim light, so the silhouette reads as lit from behind rather than as a hole. */
.canvas-subject::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(100deg, rgba(255, 190, 120, 0.5), transparent 26%);
  mix-blend-mode: screen;
}

.canvas-toolbar {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 22px;
  z-index: 3;
}

.chip-row {
  display: flex;
  gap: 7px;
  margin-bottom: 10px;
  overflow: hidden;
}

.chip {
  flex: 0 0 auto;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink-dim);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  white-space: nowrap;
}
.chip.on { color: #000; background: #fff; }

.tile-row { display: flex; gap: 8px; }

.tile {
  flex: 1;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.07);
  position: relative;
  overflow: hidden;
}
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.85;
}
.tile:nth-child(1)::before { background: linear-gradient(150deg, #ff8a00, #ff3b30); }
.tile:nth-child(2)::before { background: linear-gradient(150deg, #ffd60a, #30d158); }
.tile:nth-child(3)::before { background: linear-gradient(150deg, #0a84ff, #5e5ce6); }
.tile:nth-child(4)::before { background: linear-gradient(150deg, #af52de, #ff3b30); }
.tile.sel { border-color: #fff; box-shadow: 0 0 0 1.5px #fff; }

/* iOS chrome: status bar and home indicator, so the mockup reads as a device
   rather than a rounded rectangle. */
.status-bar {
  position: absolute;
  top: 13px;
  left: 22px;
  right: 22px;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.status-bar .icons { display: flex; align-items: center; gap: 4px; }
.status-bar .icons span {
  display: block;
  width: 3px;
  border-radius: 1px;
  background: currentColor;
}
.status-bar .icons span:nth-child(1) { height: 4px; }
.status-bar .icons span:nth-child(2) { height: 6px; }
.status-bar .icons span:nth-child(3) { height: 8px; }
.status-bar .icons span:nth-child(4) { height: 10px; }
.status-bar .battery {
  width: 20px;
  height: 10px;
  border: 1.2px solid currentColor;
  border-radius: 3px;
  margin-left: 4px;
  padding: 1.4px;
}
.status-bar .battery i {
  display: block;
  height: 100%;
  width: 72%;
  border-radius: 1px;
  background: currentColor;
}

.home-indicator {
  position: absolute;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  z-index: 5;
}

.stack-card {
  position: absolute;
  top: 46px;
  left: 12px;
  right: 12px;
  z-index: 3;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(20, 20, 24, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stack-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 8px;
}

.stack-layer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  padding: 4px 0;
  color: var(--ink);
}
.stack-layer + .stack-layer { border-top: 1px solid rgba(255, 255, 255, 0.06); }
.stack-layer .sw {
  width: 8px; height: 8px; border-radius: 3px; flex: 0 0 auto;
}
.stack-layer .meta { margin-left: auto; font-size: 10px; color: var(--ink-faint); }
.stack-layer.off { color: var(--ink-faint); }

/* ---------- Cards ---------- */

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
}

.card {
  padding: 30px 28px 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.card:hover { border-color: var(--hairline-strong); transform: translateY(-2px); }

.card h3 {
  font-size: 21px;
  letter-spacing: -0.022em;
  margin-bottom: 8px;
}

.card p { margin: 0; color: var(--ink-dim); font-size: 15.5px; line-height: 1.55; }

.card .kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 18px;
}

.glyph {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--hairline);
}
.glyph svg { width: 21px; height: 21px; }

.glyph.prism { color: var(--yellow); }
.glyph.forge { color: var(--orange); }
.glyph.spark { color: var(--blue); }
.glyph.quill { color: var(--violet); }

/* Six privacy cards read better as 3 x 2 than as 4 + 2. */
#privacy .grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
@media (min-width: 1000px) {
  #privacy .grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Capability list ---------- */

.capabilities {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--hairline);
}

.capability {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--hairline);
  align-items: baseline;
}

.capability h3 { font-size: 20px; letter-spacing: -0.02em; }
.capability p { margin: 0; color: var(--ink-dim); font-size: 16px; }
.capability .tags {
  margin: 12px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.capability .tag {
  font-size: 12.5px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  color: var(--ink-faint);
}

@media (max-width: 700px) {
  .capability { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- Pricing ---------- */

.plan-toggle {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 44px;
}

.plan-toggle button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-dim);
  font: inherit;
  font-size: 14px;
  padding: 8px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.plan-toggle button[aria-pressed="true"] { background: var(--ink); color: #000; }

.plans {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  align-items: stretch;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 30px 26px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  background: var(--bg-card);
  position: relative;
}

.plan.featured {
  border-color: transparent;
  background:
    linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    var(--spectrum) border-box;
  border: 1px solid transparent;
}

.plan-flag {
  position: absolute;
  top: -11px;
  left: 26px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--spectrum);
  color: #000;
}

.plan h3 { font-size: 19px; margin-bottom: 4px; }
.plan .plan-sub { font-size: 14px; color: var(--ink-faint); margin: 0 0 20px; }

.price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}
.price .amount { font-size: 38px; font-weight: 600; letter-spacing: -0.035em; }
.price .per { font-size: 14px; color: var(--ink-faint); }

.price-note { font-size: 13px; color: var(--ink-faint); margin: 0 0 22px; min-height: 18px; }

.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.plan li {
  font-size: 14.5px;
  color: var(--ink-dim);
  display: flex;
  gap: 9px;
  align-items: flex-start;
  line-height: 1.45;
}
.plan li svg { width: 14px; height: 14px; flex: 0 0 auto; margin-top: 4px; color: var(--green); }

.credit-explainer {
  margin-top: 44px;
  padding: 28px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--hairline);
  background: var(--bg-raised);
}
.credit-explainer h3 { font-size: 18px; margin-bottom: 14px; }
.credit-explainer dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px 28px;
}
.credit-explainer dt { font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.credit-explainer dd { margin: 0; font-size: 14px; color: var(--ink-dim); }

/* ---------- Stats ---------- */

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 56px;
}
.stat { text-align: center; }
.stat .n {
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat .l { font-size: 14px; color: var(--ink-faint); margin-top: 10px; }

/* ---------- Closing CTA ---------- */

.closer { text-align: center; position: relative; overflow: hidden; }
.closer .closer-glow {
  position: absolute;
  left: 50%;
  bottom: -260px;
  transform: translateX(-50%);
  width: 900px;
  height: 520px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(94, 92, 230, 0.4), transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}
.closer > .shell { position: relative; z-index: 1; }
.closer img.mark {
  width: 84px; height: 84px;
  border-radius: 20px;
  margin: 0 auto 30px;
  /* The icon's own ground is black, so it needs an edge to read as an icon. */
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 20px 50px -18px rgba(0, 0, 0, 0.9);
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--hairline);
  padding: 48px 0 56px;
  font-size: 13px;
  color: var(--ink-faint);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 22px;
}
.footer-links a { color: var(--ink-dim); }
.footer-links a:hover { color: var(--ink); }
.footer p { margin: 0 0 8px; max-width: 660px; line-height: 1.6; }

/* ---------- Legal pages ---------- */

.legal { padding: clamp(56px, 8vw, 96px) 0 clamp(72px, 10vw, 120px); }
.legal h1 { font-size: clamp(36px, 6vw, 56px); letter-spacing: -0.03em; margin-bottom: 12px; }
.legal .updated { color: var(--ink-faint); font-size: 14px; margin: 0 0 48px; }
.legal h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 44px 0 14px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
}
.legal h3 { font-size: 17px; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--ink-dim); font-size: 16.5px; line-height: 1.62; }
.legal p { margin: 0 0 16px; }
.legal ul { margin: 0 0 18px; padding-left: 22px; display: grid; gap: 9px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal .callout {
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  margin: 0 0 28px;
}
.legal .callout p:last-child { margin-bottom: 0; }

/* Tables are the one wide element on a legal page; let them scroll alone
   rather than pushing the page sideways on a phone. */
.table-scroll { overflow-x: auto; margin: 0 0 22px; -webkit-overflow-scrolling: touch; }
.table-scroll table { margin-bottom: 0; min-width: 460px; }

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 22px;
  font-size: 15.5px;
}
.legal th, .legal td {
  text-align: left;
  padding: 12px 14px 12px 0;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
  color: var(--ink-dim);
}
.legal th { color: var(--ink); font-weight: 600; font-size: 14px; }

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
