/*
 * Parking Solver site — one stylesheet, one palette.
 *
 * Tokens are the plugin's own design system (ParkingSolverApp
 * `Parking Solver/Form/Docs/UI_UX_REFACTOR.md` §2–§3, dark column), the same sheet the
 * viewer transcribes. The governing rules apply here too:
 *   1. ONE PALETTE — every colour is a token below; no ad-hoc hex past this block.
 *   2. GREEN IS COMMITTED, YELLOW IS PENDING — green marks product truths and CTAs,
 *      yellow marks roadmap/pending state. Nothing else is saturated.
 *   3. RADIUS IS MEANING — pill radius is reserved for read-only chips; anything
 *      pressable uses sm/md.
 */
:root {
  --bg-page: #1b1e17;
  --bg-rail: #20241b;
  --bg-card: #23271e;
  --bg-inset: #2c3126;
  --line: #3b4133;
  --line-strong: #4e5544;
  --text: #e8ece0;
  --text-2: #9aa38c;
  --text-3: #666e59;
  --on-brand: #12150f;
  --green: #8fb337;
  --green-bright: #9fc24a;
  --green-deep: #2f3d18;
  --yellow: #e0b040;
  --yellow-bright: #eabf58;
  /* Derived tints used by the wireframe (kept as named tokens, not ad-hoc hex). */
  --green-ink: #cdd8b4;      /* text on green-deep ground */
  --green-ink-dim: #9db07a;  /* secondary text on green-deep ground */
  --link: #aecb62;
  --link-hover: #c9e388;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.33, 1, 0.68, 1);
  --nav-h: 52px;
}

/* ── Ground ────────────────────────────────────────────────────────────────── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text);
  text-wrap: pretty;
  font-family: 'Segoe UI Variable Text', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); }
::selection { background: rgba(143, 179, 55, 0.35); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
img { max-width: 100%; }

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

/* Anchored sections land clear of the fixed nav instead of underneath it. */
section[id], div[id].ticker { scroll-margin-top: calc(var(--nav-h) + 16px); }

details summary { list-style: none; cursor: pointer; }
details summary::-webkit-details-marker { display: none; }
details[open] .caret { transform: rotate(180deg); }

[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal="in"] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .ticker__track { animation: none; }
}

@keyframes ps-marquee { to { transform: translateX(-50%); } }
@keyframes ps-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@keyframes ps-pulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: var(--radius-sm);
  background: var(--green); color: var(--on-brand);
  border: 1px solid var(--green-deep);
  font-size: 13.5px; font-weight: 600; font-family: inherit;
  cursor: pointer; white-space: nowrap;
  transition: background 0.15s var(--ease);
}
.btn:hover { background: var(--green-bright); color: var(--on-brand); }
.btn--lg { padding: 11px 22px; font-size: 14px; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: var(--radius-sm);
  background: transparent; color: var(--text);
  border: 1px solid var(--line-strong);
  font-size: 13.5px; font-family: inherit; cursor: pointer; white-space: nowrap;
  transition: border-color 0.15s var(--ease);
}
.btn-ghost:hover { border-color: var(--green); color: var(--text); }

.btn-soft {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px; border-radius: var(--radius-sm);
  background: rgba(35, 39, 30, 0.88); backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong); color: var(--text);
  font-size: 12.5px; font-family: inherit; cursor: pointer; white-space: nowrap;
  transition: border-color 0.15s var(--ease);
}
.btn-soft:hover { border-color: var(--green); color: var(--text); }

.btn-yellow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: var(--radius-sm);
  background: var(--yellow); color: var(--on-brand);
  border: 1px solid rgba(18, 21, 15, 0.35);
  font-size: 13.5px; font-weight: 600; font-family: inherit; cursor: pointer; white-space: nowrap;
  transition: background 0.15s var(--ease);
}
.btn-yellow:hover { background: var(--yellow-bright); }

/* ── Nav ───────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 22px;
  padding: 0 clamp(16px, 3vw, 32px);
  background: var(--green-deep);
  border-bottom: 1px solid rgba(0, 0, 0, 0.35);
}
.nav__brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.nav__brand:hover { color: var(--text); }
.nav__brand img { width: 28px; height: 28px; }
.nav__name { font-size: 15px; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap; }
.nav__tag { font-size: 11.5px; opacity: 0.85; white-space: nowrap; }
.nav__spacer { flex: 1; }
.nav__links { display: flex; gap: 18px; align-items: center; font-size: 13px; }
.nav__links a { color: var(--green-ink); }
.nav__links a:hover { color: var(--text); }
.nav .btn { padding: 7px 16px; font-size: 13px; border-color: rgba(18, 21, 15, 0.4); }
@media (max-width: 880px) { .nav__links { display: none; } }
@media (max-width: 480px) { .nav__tag { display: none; } }

/* ── Hero / demo ───────────────────────────────────────────────────────────── */
.hero {
  position: relative; height: 100svh; min-height: 620px;
  padding-top: var(--nav-h); background: var(--bg-page);
}
.hero__box { position: relative; height: 100%; }
.hero__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: var(--bg-page); }
.hero__scrim {
  position: absolute; inset: 0; z-index: 10; pointer-events: none;
  background:
    radial-gradient(720px 340px at 50% 12%, rgba(27, 30, 23, 0.66), transparent 72%),
    linear-gradient(to bottom, rgba(27, 30, 23, 0.5), transparent 140px),
    linear-gradient(to top, var(--bg-page), rgba(27, 30, 23, 0.5) 90px, transparent 200px),
    radial-gradient(70% 42% at 50% 102%, rgba(143, 179, 55, 0.08), transparent);
}
.hero__title {
  position: absolute; top: clamp(20px, 6vh, 56px); left: 0; right: 0; z-index: 20;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  text-align: center; pointer-events: none; padding: 0 16px;
}
.hero__mark { display: inline-flex; align-items: center; gap: 10px; }
.hero__mark img { width: 34px; height: 34px; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5)); }
.hero__mark span {
  font-size: 13px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--green-ink); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7);
}
.hero h1 {
  font-size: clamp(38px, 6.2vw, 82px); line-height: 1.05; letter-spacing: -0.015em;
  text-shadow: 0 3px 30px rgba(0, 0, 0, 0.7);
}
.hero h1 .accent { color: var(--green); }
.hero__sub {
  font-size: clamp(13px, 1.3vw, 15.5px); color: var(--green-ink); margin: 0;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.75);
}
.hero__pills { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; pointer-events: auto; margin-top: 4px; }
.bob { display: inline-block; animation: ps-bob 1.8s ease-in-out infinite; }

/* Welcome overlay */
.welcome {
  position: absolute; inset: 0; z-index: 30;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  background: radial-gradient(900px 600px at 50% 40%, rgba(16, 18, 13, 0.38), rgba(16, 18, 13, 0.72));
  cursor: pointer;
}
.welcome[hidden] { display: none; }
.welcome__card {
  cursor: auto; max-width: 600px;
  background: rgba(35, 39, 30, 0.94); backdrop-filter: blur(16px);
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}
.welcome__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.welcome__head img { width: 46px; height: 46px; }
.welcome__kicker { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); font-weight: 600; }
.welcome__sub { font-size: 12.5px; color: var(--text-2); }
.welcome__card h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.12; margin: 0 0 14px; }
.welcome__card > p { font-size: 14.5px; line-height: 1.6; color: var(--text-2); margin: 0 0 22px; }
.welcome__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.welcome__hint { font-size: 12px; color: var(--text-3); margin: 18px 0 0; }
.welcome__hint b { color: var(--text-2); font-weight: 600; }

/* ── Capability ticker ─────────────────────────────────────────────────────── */
.ticker { background: var(--green-deep); border-block: 1px solid rgba(0, 0, 0, 0.3); overflow: hidden; padding: 11px 0; }
.ticker__track {
  display: flex; gap: 30px; align-items: center; width: max-content;
  animation: ps-marquee 38s linear infinite;
  font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green-ink);
}
/* Reading a moving line is a chore — hovering parks it. */
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__dot { width: 6px; height: 6px; border-radius: 1px; background: var(--green); flex: none; }
.ticker__dot--y { background: var(--yellow); }

/* ── Sections ──────────────────────────────────────────────────────────────── */
.wrap { max-width: 1240px; margin: 0 auto; padding: 72px clamp(20px, 5vw, 64px) 48px; }
.wrap--first { padding-top: 96px; padding-bottom: 24px; }
.wrap--last { padding-top: 0; padding-bottom: 96px; }

.kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.kicker__dash { width: 44px; height: 2px; background: var(--green); flex: none; }
.kicker__label {
  font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green); font-weight: 600; white-space: nowrap;
}
.kicker--pending .kicker__dash { background: var(--yellow); }
.kicker--pending .kicker__label { color: var(--yellow); }

.section-title { font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 36px; }
.section-title--tight { margin-bottom: 14px; }
.section-lede { font-size: 15px; line-height: 1.65; color: var(--text-2); margin: 0 0 36px; max-width: 62ch; }

/* ── Cards ─────────────────────────────────────────────────────────────────── */
.grid { display: flex; flex-wrap: wrap; gap: 16px; }
.card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px;
  transition: transform 0.18s var(--ease), border-color 0.18s;
}
.card:hover { border-color: var(--green); transform: translateY(-3px); }
.card--static:hover { border-color: var(--line); transform: none; }
.card--deep { background: var(--green-deep); border-color: rgba(0, 0, 0, 0.3); }
.card--deep:hover { border-color: rgba(0, 0, 0, 0.3); transform: none; }
.card h3 { font-size: 17px; margin: 0 0 8px; }
.card p { font-size: 13.5px; line-height: 1.6; color: var(--text-2); margin: 0; }
.card__icon { width: 44px; height: 44px; }
.card__num { font-size: 13px; color: var(--green); font-weight: 600; font-variant-numeric: tabular-nums; }
.card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }

.feature { padding: 28px; }
.feature h3 { font-size: 19px; margin: 0 0 10px; }
.feature p { font-size: 14px; line-height: 1.65; }
.feature .card__icon { width: 48px; height: 48px; margin-bottom: 16px; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 4px 12px; border-radius: var(--radius-pill);
  background: var(--bg-inset); border: 1px solid var(--line);
  font-size: 12px; color: var(--text-2); white-space: nowrap;
}
.chip--live { display: inline-flex; align-items: center; gap: 7px; background: rgba(143, 179, 55, 0.14); border-color: var(--green); color: #cfe39c; }
.chip--pending { display: inline-flex; align-items: center; gap: 7px; background: rgba(224, 176, 64, 0.12); border-color: var(--yellow); color: #ecd08a; }
.chip__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.chip--pending .chip__dot { background: var(--yellow); }

/* ── Feature deep-dives — kicker → claim → proof, media as the proof ───────── */
.deep {
  display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 44px); align-items: center;
  padding: 34px 0;
}
.deep + .deep { border-top: 1px solid var(--line); }
.deep--flip { flex-direction: row-reverse; }
.deep__copy { flex: 1 1 340px; min-width: 0; }
.deep__media { flex: 1.15 1 380px; min-width: 0; }
.deep__media img {
  display: block; width: 100%; border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.deep__media figcaption { font-size: 12px; color: var(--text-3); margin-top: 8px; }
.deep h3 { font-size: clamp(20px, 2.2vw, 26px); margin: 0 0 12px; }
.deep p { font-size: 14.5px; line-height: 1.7; color: var(--text-2); margin: 0 0 14px; max-width: 56ch; }
.deep ul { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 7px; }
.deep li { font-size: 13.5px; line-height: 1.55; color: var(--text-2); padding-left: 20px; position: relative; }
.deep li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.deep li b { color: var(--text); font-weight: 600; }

/* Bento tier: the long tail of capabilities, size = importance. */
.bento { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 34px; }
.bento .card { padding: 20px; }
.bento .card h4 { font-size: 15px; margin: 0 0 6px; }
.bento .card p { font-size: 12.5px; line-height: 1.55; }
.bento .card__icon { width: 36px; height: 36px; margin-bottom: 10px; }

/* ── Gallery — a horizontal scroll-snap rail (drag, peek, fades, no dots) ──── */
.rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: var(--bg-card); border: 1px solid var(--line-strong); color: var(--text);
  font-size: 18px; cursor: pointer; font-family: inherit;
  transition: border-color 0.15s var(--ease), opacity 0.15s;
}
.rail-nav button:hover:not(:disabled) { border-color: var(--green); }
.rail-nav button:disabled { opacity: 0.35; cursor: default; }

.rail {
  display: flex; gap: 16px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  padding: 4px 4px 18px; /* ring room inside the mask */
  scrollbar-width: none;
  cursor: grab;
  /* Edge fades — toggled per side from JS so a fade never lies about content that is not there. */
  --fade-l: 0%; --fade-r: 4%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, black var(--fade-l), black calc(100% - var(--fade-r)), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, black var(--fade-l), black calc(100% - var(--fade-r)), transparent 100%);
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }

.rail__item {
  flex: 0 0 auto; width: min(520px, 82vw);
  scroll-snap-align: start;
}
.rail__media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bg-card);
}
.rail__media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.rail__chip {
  position: absolute; top: 10px; left: 10px;
  padding: 3px 10px; border-radius: var(--radius-pill);
  background: rgba(27, 30, 23, 0.78); backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green-ink, #cdd8b4);
}
.rail__caption { margin: 10px 2px 0; font-size: 13px; color: var(--text-2); line-height: 1.5; }
.rail__caption b { color: var(--text); font-weight: 600; display: block; font-size: 13.5px; }

@media (prefers-reduced-motion: reduce) {
  .rail { scroll-behavior: auto; }
}

/* ── What's new — numbered rows ────────────────────────────────────────────── */
.newlist { display: grid; gap: 0; max-width: 980px; }
.newrow {
  display: grid; grid-template-columns: 64px 280px 1fr; gap: 18px; align-items: baseline;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.newrow:first-child { border-top: 0; }
.newrow__num { font-size: 15px; color: var(--green); font-weight: 600; font-variant-numeric: tabular-nums; }
.newrow__title { font-size: 16.5px; font-weight: 600; }
.newrow__copy { font-size: 13.5px; line-height: 1.65; color: var(--text-2); max-width: 60ch; }
@media (max-width: 880px) {
  .newrow { grid-template-columns: 44px 1fr; }
  .newrow__copy { grid-column: 2; }
}

/* ── Simulation metrics ────────────────────────────────────────────────────── */
.metric { padding: 24px; }
.metric__value { font-size: 34px; font-weight: 600; color: var(--green); font-variant-numeric: tabular-nums; }
.metric p { font-size: 13px; line-height: 1.55; margin: 8px 0 0; }

/* ── Pricing ───────────────────────────────────────────────────────────────── */
.pricing { display: flex; flex-wrap: wrap; gap: 16px; max-width: 900px; }
.plan { display: flex; flex-direction: column; gap: 12px; padding: 28px; }
.plan__tier { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); font-weight: 600; }
.plan__price { font-size: 36px; font-weight: 600; font-variant-numeric: tabular-nums; }
.plan__price small { font-size: 14px; color: var(--text-2); font-weight: 400; }
.plan--hot { border-color: var(--green); box-shadow: 0 0 44px rgba(143, 179, 55, 0.12); }
.plan--hot:hover { transform: none; }
.plan--hot .plan__tier { color: var(--green); }
.plan__list { display: grid; gap: 8px; font-size: 13.5px; color: var(--text-2); }
.plan__list span { display: flex; gap: 8px; align-items: baseline; }
.plan__check { color: var(--green); font-weight: 700; flex: none; }
.plan__fill { flex: 1; }
.plan__fine { font-size: 12px; color: var(--text-3); margin: 0; }

.compare { margin-top: 28px; max-width: 900px; overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.compare th { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line-strong); color: var(--text-2); font-weight: 600; }
.compare th.hl { color: var(--green); }
.compare td { padding: 9px 14px; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare td.mut { color: var(--text-3); }
.compare tbody tr { transition: background 0.12s var(--ease); }
.compare tbody tr:hover { background: rgba(143, 179, 55, 0.05); }

/* ── Roadmap / vote ────────────────────────────────────────────────────────── */
.vote-card { border-top: 2px solid var(--yellow); display: flex; flex-direction: column; gap: 10px; }
.vote-card__icon { font-size: 26px; color: var(--yellow); line-height: 1; }
.vote-card__row { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.vote-card__count { font-size: 13.5px; color: var(--yellow); font-variant-numeric: tabular-nums; }
.notify { display: flex; gap: 10px; align-items: stretch; max-width: 460px; margin-top: 24px; }
.notify input {
  flex: 1; min-height: 38px; padding: 0 14px; border-radius: var(--radius-sm);
  background: var(--bg-inset); border: 1px solid var(--line);
  color: var(--text); font-size: 13.5px; font-family: inherit;
}
.notify .btn-ghost:hover { border-color: var(--yellow); }
.notify-done { font-size: 13px; margin: 12px 0 0; color: var(--green); }

/* ── Learn ─────────────────────────────────────────────────────────────────── */
.learn-media {
  height: 180px; background: var(--bg-inset); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3); font-size: 13px;
}
.learn-files { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; font-size: 13px; }
.card--flush { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card--flush .card__body { padding: 20px; display: grid; gap: 8px; }

/* ── FAQ ───────────────────────────────────────────────────────────────────── */
.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--line); padding: 15px 0; }
.faq summary { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; }
.faq summary .caret { margin-left: auto; color: var(--green); transition: transform 0.2s; flex: none; }
.faq details p { font-size: 13.5px; line-height: 1.65; margin: 10px 0 0; max-width: 60ch; color: var(--text-2); }

/* ── Footer — mirrors urban-solo.com's compact three-band structure ────────── */
.footer { background: var(--green-deep); border-top: 1px solid rgba(0, 0, 0, 0.35); }
.footer__inner { max-width: 1240px; margin: 0 auto; padding: 40px clamp(20px, 5vw, 64px) 24px; }

/* Band 1: brand + tagline · inline links · suite links */
.footer__top {
  display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start;
  justify-content: space-between; padding-bottom: 24px;
}
.footer__brand { display: grid; gap: 6px; }
.footer__brand-row { display: flex; align-items: center; gap: 10px; }
.footer__brand-row img { width: 30px; height: 30px; }
.footer__brand-row .wordmark { font-size: 20px; font-weight: 700; }
.footer__brand-row .wordmark .accent { color: var(--green); }
.footer__tagline { font-size: 13px; margin: 0; color: var(--green-ink); }
.footer__links { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; font-size: 13px; padding-top: 6px; }
.footer__links a { color: var(--green-ink); }
.footer__links a:hover { color: var(--text); }
.footer__mail { display: inline-flex; align-items: center; gap: 6px; }

/* Band 2: copyright · Access Solo */
.footer__bar {
  border-top: 1px solid rgba(0, 0, 0, 0.3);
  padding-top: 16px;
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
}
.footer__copy { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--green-ink-dim); }
.footer__copy img { height: 20px; width: 20px; }
.footer__cta { display: inline-flex; align-items: center; gap: 12px; }
.footer__cta .btn { padding: 7px 16px; font-size: 12.5px; }

/* Band 3: product-of attribution, centered */
.footer__attrib {
  border-top: 1px solid rgba(0, 0, 0, 0.3);
  margin-top: 14px; padding-top: 14px;
  text-align: center; font-size: 12px; color: var(--green-ink-dim);
}

/* ── Sub-pages (checkout / thanks / legal) ─────────────────────────────────── */
.page { max-width: 860px; margin: 0 auto; padding: calc(var(--nav-h) + 48px) clamp(20px, 5vw, 64px) 96px; }
.page--narrow { max-width: 760px; }
.page h1 { font-size: clamp(30px, 4vw, 44px); margin: 0 0 10px; }
.page__lede { font-size: 15px; color: var(--text-2); margin: 0 0 36px; max-width: 62ch; }

.legal h2 { font-size: 21px; margin: 40px 0 12px; }
.legal h3 { font-size: 16px; margin: 24px 0 8px; }
.legal p, .legal li { font-size: 14px; line-height: 1.7; color: var(--text-2); }
.legal ul { padding-left: 22px; margin: 10px 0; }
.legal strong { color: var(--text); font-weight: 600; }
.legal .meta { font-size: 12.5px; color: var(--text-3); margin-bottom: 28px; }

.panel-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px;
}
.form-row { display: grid; gap: 8px; margin: 0 0 18px; }
.form-row label { font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); font-weight: 600; }
.form-row input {
  min-height: 42px; padding: 0 14px; border-radius: var(--radius-sm);
  background: var(--bg-inset); border: 1px solid var(--line);
  color: var(--text); font-size: 14px; font-family: inherit;
}
.form-row input:focus { border-color: var(--green); outline: none; }
.form-hint { font-size: 12.5px; color: var(--text-3); }

.note-pending {
  font-size: 12.5px; margin: 14px 0 0; padding: 8px 12px; border-radius: var(--radius-sm);
  background: rgba(224, 176, 64, 0.1); border-left: 2px solid var(--yellow); color: var(--yellow);
}
.note-error {
  font-size: 12.5px; margin: 14px 0 0; padding: 8px 12px; border-radius: var(--radius-sm);
  background: rgba(224, 176, 64, 0.1); border-left: 2px solid var(--yellow); color: var(--yellow);
}

.key-box {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  background: var(--bg-inset); border: 1px solid var(--green); border-radius: var(--radius-md);
  padding: 18px 20px; margin: 18px 0;
}
.key-box code {
  font-size: 20px; letter-spacing: 0.08em; color: var(--green);
  font-family: Consolas, 'Cascadia Mono', monospace;
  word-break: break-all;
}
.key-box .pulse { animation: ps-pulse 1.4s ease-in-out infinite; color: var(--text-2); font-size: 14px; }

.order-summary { display: grid; gap: 10px; font-size: 13.5px; color: var(--text-2); margin: 0 0 22px; }
.order-summary .row { display: flex; justify-content: space-between; gap: 16px; }
.order-summary .row b { color: var(--text); font-weight: 600; }
.order-summary hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; }
