/*
 * THE PRICING PAGE — three plans side by side, no price on any of them.
 *
 * WHY THIS FILE EXISTS SEPARATELY. `page.css` is shared by every plain page and
 * owns the palette; a test reads it token by token against `design-tokens.css`.
 * The cards below are pricing's alone, so about and privacy carry none of it.
 *
 * WHY NO RAW COLOUR. Every colour here is a `var(--vg-*)` from `page.css`, or a
 * `color-mix` of one. `the-pricing-page-cannot-invent-a-colour` goes red on a
 * literal — a hex in this file would be one more copy of the palette, and
 * nothing would check it.
 *
 * WHY THREE EQUAL CARDS. Daniel, 12 Nov 2026: "the 3 options must be side by
 * side - 3 same cards - look good also on mobile". So the cards share one shape
 * and one surface; only the end-to-end card's button is filled, as the one with
 * the most in it. Under 900px they stack into a single column.
 */

.wrap--pricing { max-width: 1200px; padding-bottom: 40px; }

/* ── the bar at the top ─────────────────────────────────────────────── */
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; font-size: 15px; }
.nav a { color: var(--vg-text-secondary); text-decoration: none; }
.nav a:hover { color: var(--vg-text-primary); }
.nav a[aria-current="page"] { color: var(--vg-text-primary); font-weight: 600; }
/* On a phone the four links do not fit beside the wordmark, and left to wrap
   they stacked the button under the links, ragged (seen at 390px, 12 Nov). So
   below 560px the nav takes its own full row under the wordmark. */
@media (max-width: 559px) {
  .wrap--pricing .top { flex-wrap: wrap; padding-bottom: 8px; }
  .nav { width: 100%; justify-content: space-between; gap: 6px 12px; }
}

/* ── buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 24px; border-radius: 999px;
  font-size: 16px; font-weight: 600; text-decoration: none; line-height: 1.2;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ink { background: var(--vg-ink); color: var(--vg-on-ink); border: 1px solid var(--vg-ink); }
.btn--ink:hover { background: var(--vg-ink-elevated); color: var(--vg-on-ink); }
.btn--line { background: var(--vg-surface); color: var(--vg-text-primary); border: 1px solid var(--vg-underline-sand); }
.btn--line:hover { border-color: var(--vg-text-primary); color: var(--vg-text-primary); }
.btn--big { min-height: 56px; padding: 18px 28px; font-size: 17px; }
.nav .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; font-weight: 500; color: var(--vg-on-ink); }
.nav .btn:hover { color: var(--vg-on-ink); }

/* ── the opening ────────────────────────────────────────────────────── */
.hero {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 22px; padding: 56px 0 56px;
}
@media (min-width: 900px) { .hero { padding: 84px 0 64px; } }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--vg-border); background: var(--vg-surface);
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--vg-accent-ink);
}
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--vg-accent); }

.hero h1 {
  margin: 0; max-width: 900px;
  font-weight: 700; font-size: clamp(38px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.035em;
}
.hero .lead { margin: 0; max-width: 640px; font-size: clamp(17px, 2vw, 20px); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }

/* ── the three plans ────────────────────────────────────────────────── */
.plans {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px;
  max-width: 520px; margin: 0 auto; padding: 0 0 80px;
}
@media (min-width: 900px) {
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; padding-bottom: 96px; }
}

.plan {
  display: flex; flex-direction: column; gap: 22px;
  padding: 30px; border-radius: 24px;
  background: var(--vg-surface); border: 1px solid var(--vg-border);
  box-shadow:
    0 1px 2px color-mix(in srgb, var(--vg-ink) 4%, transparent),
    0 12px 40px color-mix(in srgb, var(--vg-ink) 5%, transparent);
}
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 48px; }
.plan-icon { width: 48px; height: 48px; color: var(--vg-accent); }
.plan-icon .chain { color: var(--vg-ink); }
.tag {
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
  color: var(--vg-accent-ink); border: 1px solid var(--vg-underline-sand); padding: 6px 12px; border-radius: 999px;
}
.plan h2 { margin: 0; font-weight: 700; font-size: 26px; letter-spacing: -0.02em; }
.plan-say { margin: 6px 0 0; color: var(--vg-text-tertiary); font-size: 16px; }

.plan-price {
  display: flex; flex-direction: column; gap: 2px;
  padding: 18px 0; border-top: 1px solid var(--vg-divider); border-bottom: 1px solid var(--vg-divider);
}
.plan-price strong { font-size: 36px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.plan-price span { font-size: 15px; color: var(--vg-text-tertiary); }

/* The check list. `page.css` draws a dot before every <li>; these carry a tick
   instead, so the dot is switched off here rather than in the shared sheet. */
.ticks { margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.5; color: var(--vg-text-secondary); }
.ticks li { margin: 0; padding-left: 32px; }
.ticks li::before {
  left: 0; top: 2px; width: 20px; height: 20px; border-radius: 0; background: var(--vg-accent-ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.plan .btn { margin-top: auto; width: 100%; }
.plan .btn--line { border-color: var(--vg-ink); }

/* ── what beta means ────────────────────────────────────────────────── */
.beta {
  display: flex; flex-wrap: wrap; gap: 32px 48px;
  background: var(--vg-surface-recessed); border-radius: 28px; padding: 44px 28px;
}
@media (min-width: 900px) { .beta { padding: 64px 56px; } }
.beta h2 { flex: 1 1 260px; margin: 0; font-weight: 700; font-size: clamp(28px, 3.4vw, 36px); line-height: 1.1; letter-spacing: -0.03em; }
.beta-points { flex: 2 1 560px; min-width: 0; display: flex; flex-wrap: wrap; gap: 28px; }
.beta-points div { flex: 1 1 180px; }
.beta-points b { display: block; font-size: 14px; color: var(--vg-accent-ink); margin-bottom: 8px; }
.beta-points h3 { margin: 0 0 8px; font-size: 19px; font-weight: 600; }
.beta-points p { margin: 0; color: var(--vg-text-secondary); line-height: 1.55; }

/* ── the close ──────────────────────────────────────────────────────── */
.close { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; padding: 88px 0 24px; }
.close h2 { margin: 0; max-width: 760px; font-weight: 700; font-size: clamp(30px, 4.5vw, 52px); line-height: 1.05; letter-spacing: -0.03em; }
.close a.addr {
  font-size: 22px; font-weight: 600; color: var(--vg-accent-ink);
  text-decoration-color: var(--vg-underline-sand); text-underline-offset: 6px;
}

@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
