/* mPainter — bluedino.se/mpainter
   Dark product page. Palette follows the mPainter app: near-black canvas, teal accent. */

:root {
  color-scheme: dark;

  --canvas: #07090a;
  --surface: #0e1113;
  --surface-2: #14181b;
  --surface-3: #1a1f23;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #f4f6f7;
  --secondary: #a8b1b9;
  --muted: #747f88;

  --accent: #5fcfd0;
  --accent-deep: #2a9398;
  --accent-glow: rgba(95, 207, 208, 0.16);

  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;

  --pad-section: clamp(76px, 10vw, 164px);
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--canvas);
  color: var(--text);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
figure, p, h1, h2, h3, dl, dd, ol, ul { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color 150ms var(--ease); }
a:hover { color: var(--accent); }

code, kbd {
  font: 0.9em/1 var(--mono);
  background: var(--surface-3);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0.15em 0.4em;
  color: var(--text);
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
::selection { background: var(--accent); color: #04211f; }

.skip-link {
  position: absolute; top: 10px; left: 16px; z-index: 100;
  padding: 12px 18px; border-radius: var(--r-sm);
  background: var(--text); color: var(--canvas); font-weight: 600;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* ── Layout ─────────────────────────────────────────────────────────── */

.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}
.wrap-wide { max-width: 1420px; }

/* ── Type ───────────────────────────────────────────────────────────── */

h1 {
  font-size: clamp(40px, 7vw, 88px);
  line-height: 1.03;
  letter-spacing: -0.038em;
  font-weight: 600;
}

h2 {
  font-size: clamp(31px, 4.6vw, 58px);
  line-height: 1.07;
  letter-spacing: -0.032em;
  font-weight: 600;
}

h3 {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  font-weight: 600;
}

p { color: var(--secondary); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 600 12px/1.4 var(--mono);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow .num {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 22px;
  padding-inline: 6px;
  border: 1px solid rgba(95, 207, 208, 0.38);
  border-radius: 999px;
  color: var(--accent);
  letter-spacing: 0.06em;
}

.lead {
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
  letter-spacing: -0.012em;
  color: var(--secondary);
}

.body {
  font-size: clamp(16px, 1.25vw, 17.5px);
  line-height: 1.72;
}

/* ── Buttons ────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms var(--ease), color 160ms var(--ease),
              border-color 160ms var(--ease), transform 160ms var(--ease);
}
.btn-primary {
  background: var(--accent);
  color: #04211f;
  box-shadow: 0 10px 40px -14px rgba(95, 207, 208, 0.7);
}
.btn-primary:hover { background: #7cdcdd; color: #04211f; transform: translateY(-1px); }
.btn-primary:active { transform: none; background: var(--accent-deep); color: #eafcfc; }
.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.025);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: rgba(95, 207, 208, 0.07); }
.btn-sm { min-height: 42px; padding: 10px 18px; font-size: 14px; }
.btn-lg { min-height: 58px; padding: 17px 36px; font-size: 17px; }

.text-link {
  display: inline-block;
  margin-top: 22px;
  padding-block: 8px;
  color: var(--accent);
  font-weight: 600;
  font-size: 15.5px;
  text-decoration: none;
  border-bottom: 1px solid rgba(95, 207, 208, 0.35);
}
.text-link:hover { border-bottom-color: var(--accent); }

/* ── Top bar ────────────────────────────────────────────────────────── */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 9, 10, 0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 220ms var(--ease), background-color 220ms var(--ease);
}
.topbar.is-stuck { border-bottom-color: var(--line); background: rgba(7, 9, 10, 0.88); }

.topbar-inner {
  max-width: 1420px;
  margin-inline: auto;
  padding: 11px clamp(16px, 5vw, 48px);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img { width: 26px; height: 26px; border-radius: 6px; }
.brand-name { font-size: 16px; font-weight: 650; letter-spacing: -0.02em; }
.brand:hover { color: var(--text); }

.chip {
  font: 600 10.5px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(95, 207, 208, 0.38);
  border-radius: 999px;
  padding: 4px 8px;
}

.topnav {
  display: flex;
  gap: 26px;
  margin-inline: auto;
  font-size: 14.5px;
}
.topnav a { text-decoration: none; color: var(--secondary); }
.topnav a:hover { color: var(--text); }

/* ── Hero ───────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding-top: clamp(56px, 8vw, 104px);
  padding-bottom: clamp(60px, 7vw, 100px);
  text-align: center;
  overflow: hidden;
}

.glow {
  position: absolute;
  inset-inline: 0;
  top: -340px;
  height: 820px;
  pointer-events: none;
  background:
    radial-gradient(52% 50% at 50% 50%, var(--accent-glow) 0%, rgba(95, 207, 208, 0) 68%),
    radial-gradient(34% 34% at 72% 38%, rgba(95, 207, 208, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
}

.hero-copy { position: relative; }
.hero .eyebrow { justify-content: center; }
.hero h1 { margin-top: 22px; }
.hero .lead { margin: 26px auto 0; max-width: 620px; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 38px;
}

/* ── Video player ───────────────────────────────────────────────────── */

.player {
  position: relative;
  margin-top: clamp(44px, 6vw, 76px);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.05) inset,
    0 60px 120px -50px rgba(0, 0, 0, 0.95),
    0 0 90px -40px rgba(95, 207, 208, 0.45);
}
.player-video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000;
  display: block;
}
.player-fallback { padding: 24px; }

.player-play {
  position: absolute;
  inset: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  background: linear-gradient(180deg, rgba(7, 9, 10, 0.16) 0%, rgba(7, 9, 10, 0.62) 100%);
  transition: opacity 260ms var(--ease), background-color 260ms var(--ease);
}
.player-play svg {
  width: 30px;
  height: 30px;
  fill: #04211f;
  margin-left: 3px;
}
.player-play::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}
.player-play > * { position: relative; }
.player-play span { display: inline-flex; align-items: center; gap: 10px; }
.player-play .player-dur { font: 600 12.5px/1 var(--mono); color: var(--secondary); letter-spacing: 0.08em; }
.player-play svg {
  box-sizing: content-box;
  padding: 21px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 16px 50px -12px rgba(95, 207, 208, 0.75);
  transition: transform 220ms var(--ease), background-color 220ms var(--ease);
}
.player-play:hover svg { transform: scale(1.06); background: #7cdcdd; }
.player.is-playing .player-play { opacity: 0; pointer-events: none; }

.player-caption {
  max-width: 660px;
  margin: 22px auto 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* ── Trust strip ────────────────────────────────────────────────────── */

.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(56px, 7vw, 92px);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  text-align: left;
}
.trust li {
  background: var(--canvas);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.trust strong { font-size: 15.5px; font-weight: 600; letter-spacing: -0.015em; }
.trust span { font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* ── Statement ──────────────────────────────────────────────────────── */

.statement { padding-block: var(--pad-section); border-top: 1px solid var(--line); }
.statement-body {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 60px;
  margin-top: 42px;
  max-width: 1000px;
}
.statement-body p { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.72; }

/* ── Feature sections ───────────────────────────────────────────────── */

.feature { padding-block: var(--pad-section); border-top: 1px solid var(--line); }
.feature .wrap { max-width: 1320px; }

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.feature-flip .feature-copy { order: 2; }

.feature-copy h2 { margin-top: 20px; }
.feature-copy .body { margin-top: 24px; max-width: 520px; }

.shot {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.04) inset,
    0 44px 90px -46px rgba(0, 0, 0, 0.95);
}
.shot img { width: 100%; height: auto; }

.ticks { margin-top: 30px; display: grid; gap: 13px; }
.ticks li {
  position: relative;
  padding-left: 28px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--secondary);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 11px;
  height: 6px;
  border-left: 1.8px solid var(--accent);
  border-bottom: 1.8px solid var(--accent);
  transform: rotate(-45deg);
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.chips li {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--secondary);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
}

.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 32px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  counter-reset: flow;
}
.flow li {
  background: var(--surface);
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.flow strong { font-size: 14.5px; font-weight: 600; letter-spacing: -0.012em; line-height: 1.35; }

.aside {
  margin-top: 28px;
  padding-left: 18px;
  border-left: 2px solid rgba(95, 207, 208, 0.35);
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--muted);
  max-width: 500px;
}
.aside strong { color: var(--secondary); font-weight: 600; }

/* ── More / cards ───────────────────────────────────────────────────── */

.more { padding-block: var(--pad-section); border-top: 1px solid var(--line); }

.section-head { max-width: 760px; }
.section-head h2 { margin-top: 20px; }
.section-head .section-lede {
  margin-top: 26px;
  font-size: clamp(16px, 1.4vw, 18.5px);
  line-height: 1.68;
  max-width: 640px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: clamp(40px, 5vw, 66px);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 220ms var(--ease), background-color 220ms var(--ease), transform 220ms var(--ease);
}
.card:hover { border-color: var(--line-strong); background: var(--surface-2); transform: translateY(-2px); }
.card p { font-size: 15px; line-height: 1.65; }

.card-wide {
  grid-column: span 3;
  flex-direction: row;
  align-items: center;
  gap: clamp(24px, 4vw, 52px);
  padding: 0;
  overflow: hidden;
}
.card-wide .card-shot { flex: 1 1 54%; min-width: 0; align-self: stretch; }
.card-wide .card-shot img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.card-wide .card-body { flex: 1 1 44%; padding: 30px clamp(24px, 3vw, 40px) 30px 0; display: grid; gap: 12px; }

.card-half { grid-column: span 2; }
.card-half .card-shot { flex: 1 1 52%; }

.card-accent { border-color: rgba(95, 207, 208, 0.22); background: linear-gradient(170deg, rgba(95, 207, 208, 0.07), rgba(95, 207, 208, 0) 62%), var(--surface); }

/* ── Placeholders ───────────────────────────────────────────────────── */

.ph { margin: 0; }

.ph-inner {
  aspect-ratio: var(--ph-ratio, 16 / 9);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  padding: 30px clamp(22px, 4vw, 64px);
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-lg);
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.026) 0 10px, rgba(255, 255, 255, 0) 10px 22px),
    var(--surface-2);
}

.ph-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(95, 207, 208, 0.3);
  border-radius: 999px;
  padding: 7px 13px;
}

.ph-what {
  margin: 0;
  max-width: 56ch;
  color: var(--secondary);
  font-size: clamp(14.5px, 1.3vw, 17px);
  line-height: 1.62;
}

.ph-spec {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.ph-flat .ph-inner {
  aspect-ratio: auto;
  height: 100%;
  min-height: 250px;
  border: 0;
  border-right: 1px dashed var(--line-strong);
  border-radius: 0;
  padding: 30px 26px;
}

.band { padding-block: 0 clamp(10px, 2vw, 26px); }
.band .ph-inner { border-radius: 0; border-inline: 0; }

/* ── The foundation ─────────────────────────────────────────────────── */

.manifesto {
  padding-block: var(--pad-section);
  border-top: 1px solid var(--line);
  background: radial-gradient(900px 440px at 50% 0%, rgba(95, 207, 208, 0.055), rgba(95, 207, 208, 0) 72%);
}

.manifesto .section-head { margin-bottom: clamp(36px, 4.4vw, 60px); }

.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: clamp(34px, 4vw, 54px);
}

.pillar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 30px clamp(24px, 2.4vw, 34px) 32px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.pillar h3 {
  margin: 0;
  font-size: clamp(19px, 1.7vw, 23px);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.pillar p {
  margin: 0;
  color: var(--secondary);
  font-size: clamp(15px, 1.25vw, 16.5px);
  line-height: 1.68;
}

.manifesto-close {
  margin: clamp(38px, 4.4vw, 62px) auto 0;
  max-width: 62ch;
  text-align: center;
  text-wrap: balance;
  color: var(--text);
  font-size: clamp(18px, 1.9vw, 24px);
  line-height: 1.55;
  letter-spacing: -0.015em;
}

/* ── Honest / status ────────────────────────────────────────────────── */

.honest { padding-block: var(--pad-section); border-top: 1px solid var(--line); }

.status-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: clamp(40px, 5vw, 62px);
}
.status {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(26px, 3vw, 38px);
}
.status h3 { margin-bottom: 22px; }
.status p { font-size: 15.5px; line-height: 1.68; }
.status p + p { margin-top: 16px; }
.status-next { border-color: rgba(95, 207, 208, 0.22); background: linear-gradient(170deg, rgba(95, 207, 208, 0.06), rgba(95, 207, 208, 0) 60%), var(--surface); }
.status-next .btn { margin-top: 26px; }

/* ── Open source ────────────────────────────────────────────────────── */

.source { padding-block: var(--pad-section); border-top: 1px solid var(--line); }
.source-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.source h2 { margin-top: 20px; }
.source .body { margin-top: 24px; max-width: 560px; }

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.stats > div { background: var(--surface); padding: 26px 24px; display: grid; gap: 8px; }
.stats dt { font: 600 11.5px/1.3 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.stats dd { font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -0.025em; color: var(--text); }

/* ── Buy ────────────────────────────────────────────────────────────── */

.buy {
  position: relative;
  overflow: hidden;
  padding-block: var(--pad-section);
  border-top: 1px solid var(--line);
  text-align: center;
}
.glow-buy { top: auto; bottom: -420px; height: 760px; }
.buy-inner { position: relative; }
.buy .eyebrow { justify-content: center; }
.buy h2 { margin-top: 20px; }

.price {
  margin-top: 26px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--muted);
  letter-spacing: -0.01em;
}
.price span {
  display: block;
  margin-top: 4px;
  font-size: clamp(60px, 9vw, 108px);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 600;
  color: var(--text);
}
.price-sub { max-width: 560px; margin: 26px auto 0; font-size: 16px; line-height: 1.68; }
.buy .btn-lg { margin-top: 34px; }

.platforms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: clamp(44px, 5vw, 64px);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  text-align: left;
}
.platforms li { background: var(--canvas); padding: 24px 26px; display: grid; gap: 7px; }
.platforms strong { font-size: 15.5px; font-weight: 600; letter-spacing: -0.015em; }
.platforms span { font-size: 13.5px; line-height: 1.5; color: var(--muted); }

.fineprint { margin-top: 24px; font-size: 13.5px; line-height: 1.6; color: var(--muted); max-width: 620px; margin-inline: auto; }

/* ── FAQ ────────────────────────────────────────────────────────────── */

.faq { padding-block: var(--pad-section); border-top: 1px solid var(--line); }
.faq-list { margin-top: clamp(36px, 4vw, 54px); max-width: 860px; }

details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary {
  cursor: pointer;
  list-style: none;
  padding: 24px 44px 24px 0;
  position: relative;
  font-size: clamp(16.5px, 1.4vw, 18.5px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.45;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 11px;
  height: 11px;
  margin-top: -7px;
  border-right: 1.8px solid var(--muted);
  border-bottom: 1.8px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 220ms var(--ease), border-color 220ms var(--ease);
}
summary:hover::after { border-color: var(--accent); }
details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
details p { padding: 0 44px 26px 0; font-size: 15.5px; line-height: 1.72; max-width: 720px; }
details p a { color: var(--accent); }

/* ── Footer ─────────────────────────────────────────────────────────── */

.site-footer { border-top: 1px solid var(--line); padding-block: clamp(44px, 5vw, 72px); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 56px; }
.footer-brand { display: grid; gap: 18px; align-content: start; }
.studio {
  width: 112px;
  padding: 9px 13px;
  background: #f4f5f6;
  border-radius: var(--r-sm);
  display: inline-flex;
}
.studio img { width: 100%; height: auto; }
.footer-brand p { font-size: 14px; color: var(--muted); }

.footer-links { display: grid; gap: 12px; align-content: start; font-size: 14.5px; }
.footer-links a { text-decoration: none; color: var(--secondary); justify-self: start; }
.footer-links a:hover { color: var(--accent); }

.legal {
  grid-column: 1 / -1;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 900px;
}
.legal a { color: var(--secondary); }

/* ── Scroll reveal ──────────────────────────────────────────────────── */

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 760ms var(--ease), transform 760ms var(--ease);
  will-change: opacity, transform;
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ── Responsive ─────────────────────────────────────────────────────── */

@media (max-width: 1080px) {
  .topnav { gap: 20px; font-size: 14px; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card-wide { grid-column: span 2; }
}

@media (max-width: 900px) {
  .topnav { display: none; }
  .feature-grid, .source-grid { grid-template-columns: 1fr; }
  .feature-flip .feature-copy { order: 0; }
  .feature-copy .body, .source .body { max-width: none; }
  .statement-body { grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
  .status-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .ph-flat .ph-inner { border-right: 0; border-bottom: 1px dashed var(--line-strong); min-height: 210px; }
  .card-wide { flex-direction: column; align-items: stretch; }
  .card-wide .card-shot { flex: none; }
  .card-wide .card-body { padding: 26px 28px 30px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 76px; }
  .topbar-inner { padding-block: 9px; gap: 12px; }
  .brand-name { font-size: 15px; }
  .chip { display: none; }
  .btn { min-height: 48px; }
  .btn-sm { min-height: 40px; padding: 9px 14px; font-size: 13.5px; }
  .cta-row .btn { width: 100%; }
  .hero { padding-top: 46px; }
  .player { border-radius: var(--r-md); }
  .player-play { gap: 14px; font-size: 15px; }
  .player-play svg { width: 24px; height: 24px; padding: 17px; }
  .trust, .platforms, .flow, .stats { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .ph-inner { padding: 26px 20px; gap: 12px; }
  .ph-what { font-size: 14.5px; }
  .card-wide, .card-half { grid-column: span 1; }
  .ticks li { font-size: 15px; }
  details p { padding-right: 0; }
  summary { padding-right: 34px; }
}

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