/* Lightening: dark theme, no external fonts or assets. */
:root {
  --bg: #0b0f17;
  --bg-2: #111827;
  --card: #141b2b;
  --card-2: #1a2336;
  --line: #26314a;
  --text: #e8edf7;
  --muted: #9aa6bd;
  --accent: #ffd23f;
  --accent-2: #ffb703;
  --accent-ink: #1a1400;
  --ok: #34d399;
  --ok-bg: rgba(52, 211, 153, 0.14);
  --warn: #fbbf24;
  --warn-bg: rgba(251, 191, 36, 0.14);
  --bad: #f87171;
  --bad-bg: rgba(248, 113, 113, 0.14);
  --info: #60a5fa;
  --info-bg: rgba(96, 165, 250, 0.14);
  --radius: 14px;
  --focus: 0 0 0 3px rgba(255, 210, 63, 0.55);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(255, 210, 63, 0.08), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(96, 165, 250, 0.07), transparent 60%),
    var(--bg);
  color: var(--text);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
}

[hidden] { display: none !important; }

a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-2); }

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }

h1, h2 { line-height: 1.2; margin: 0 0 0.4em; }
h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); letter-spacing: -0.02em; }
h2 { font-size: 1.2rem; }

.visually-hidden, .offscreen {
  position: absolute !important;
  width: 1px !important; height: 1px !important; min-width: 0 !important;
  padding: 0 !important; margin: -1px !important;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: 0.5rem 0.9rem; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ---------------------------------------------------------------- top bar */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11, 15, 23, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: 1080px; margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex; align-items: center; gap: 1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--text); text-decoration: none;
  font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em;
}
.brand:hover { color: var(--text); }
.brand-bolt {
  width: 30px; height: 30px; padding: 4px;
  color: var(--accent-ink);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 9px;
  box-shadow: 0 0 18px rgba(255, 210, 63, 0.35);
}
.site-nav { margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; align-items: center; }
.nav-list a, .linklike {
  display: inline-block;
  color: var(--muted); text-decoration: none;
  padding: 0.5rem 0.75rem; border-radius: 8px;
  font: inherit; font-weight: 500; white-space: nowrap;
  background: none; border: 0; cursor: pointer;
}
.nav-list a:hover, .linklike:hover { color: var(--text); background: var(--card); }
.nav-list a[aria-current="page"] { color: var(--text); background: var(--card-2); }
.nav-list a.nav-cta { color: var(--accent-ink); background: var(--accent); font-weight: 700; }
.nav-list a.nav-cta:hover { background: var(--accent-2); }

.nav-toggle {
  margin-left: auto; display: none;
  background: var(--card); color: var(--text);
  border: 1px solid var(--line); border-radius: 10px;
  width: 44px; height: 44px; padding: 10px; cursor: pointer;
}
.nav-toggle svg { width: 100%; height: 100%; display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    padding: 0.5rem 1rem 1rem;
  }
  .site-nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-list a, .linklike { display: block; width: 100%; text-align: left; padding: 0.8rem 0.75rem; }
}

/* ---------------------------------------------------------------- layout */
main {
  flex: 1;
  width: 100%; max-width: 1080px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}
main:focus { outline: none; box-shadow: none; }

.view { animation: fade 0.18s ease-out; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .view { animation: none; } }

.hero { text-align: center; margin: 1rem auto 1.75rem; max-width: 560px; }
.lead { color: var(--muted); font-size: 1.05rem; margin: 0; }

.view-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem;
}
.view-head h1 { margin: 0; }

.card {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.card.narrow { max-width: 480px; margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 1rem; }
.stats { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 1rem; }
.stats .card { margin: 0; padding: 1.1rem 1.25rem; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .stats { grid-template-columns: 1fr; } }

.stat-label { margin: 0 0 0.3rem; color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
.stat-value { margin: 0; font-size: 1.6rem; font-weight: 700; }
.stat-value.small { font-size: 1.05rem; font-weight: 600; }

.kv { display: grid; grid-template-columns: max-content 1fr; gap: 0.5rem 1.25rem; margin: 0 0 1rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; overflow-wrap: anywhere; }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }

.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.center { text-align: center; }
.mono { font-family: var(--mono); }
.big { font-size: 1.35rem; font-weight: 700; margin: 0; }
.address { overflow-wrap: anywhere; word-break: break-all; margin: 0; font-size: 0.98rem; }

/* ---------------------------------------------------------------- forms */
.field { margin: 0 0 1.1rem; }
.field > label, .field-label, legend {
  display: block; margin: 0 0 0.35rem;
  font-weight: 600; font-size: 0.92rem; color: var(--text);
}
.field-label { color: var(--muted); font-weight: 500; }
fieldset { border: 0; padding: 0; margin: 0 0 1.1rem; min-width: 0; }

input[type=email], input[type=password], input[type=text], input[type=number], select {
  width: 100%;
  font: inherit; color: var(--text);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  min-height: 46px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: var(--focus); }
input:disabled, select:disabled { opacity: 0.55; }
select {
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}

.input-prefix { position: relative; }
.input-prefix > span {
  position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%);
  color: var(--muted); pointer-events: none;
}
.input-prefix input { padding-left: 1.8rem; }

.hint { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.85rem; }

.choice-group { display: grid; gap: 0.6rem; }
.choice {
  display: flex; gap: 0.75rem; align-items: flex-start;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg-2); cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.choice:hover { border-color: #3a4766; }
.choice:has(input:checked) { border-color: var(--accent); background: rgba(255, 210, 63, 0.06); }
.choice input { margin: 0.25rem 0 0; accent-color: var(--accent); width: 18px; height: 18px; flex: none; }
.choice-body { display: grid; gap: 0.1rem; }
.choice-title { font-weight: 600; }
.choice-desc { color: var(--muted); font-size: 0.88rem; }

.form-error {
  margin: 0 0 1rem; padding: 0.7rem 0.9rem;
  color: #fecaca; background: var(--bad-bg);
  border: 1px solid rgba(248, 113, 113, 0.35); border-radius: 10px;
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  min-height: 46px; padding: 0.65rem 1.15rem;
  font: inherit; font-weight: 650; text-decoration: none;
  border-radius: 10px; border: 1px solid transparent; cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.05s;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-ink); }
.btn-primary:hover { color: var(--accent-ink); filter: brightness(1.06); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { color: var(--text); background: var(--card-2); border-color: #3a4766; }
.btn-small { min-height: 38px; padding: 0.4rem 0.8rem; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn[aria-busy="true"] { cursor: progress; }

/* ---------------------------------------------------------------- notices and badges */
.notice { margin: 0 0 1rem; padding: 0.8rem 1rem; border-radius: 10px; border: 1px solid var(--line); }
.notice-info { background: var(--info-bg); border-color: rgba(96, 165, 250, 0.35); }
.notice-ok { background: var(--ok-bg); border-color: rgba(52, 211, 153, 0.35); }
.notice-warn { background: var(--warn-bg); border-color: rgba(251, 191, 36, 0.35); }
.notice-error { background: var(--bad-bg); border-color: rgba(248, 113, 113, 0.35); }

.badge {
  display: inline-block;
  padding: 0.25rem 0.65rem; border-radius: 999px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em;
  border: 1px solid transparent; white-space: nowrap;
}
.stat-value .badge { font-size: 1rem; padding: 0.3rem 0.8rem; }
.badge-ok { color: var(--ok); background: var(--ok-bg); border-color: rgba(52, 211, 153, 0.35); }
.badge-bad { color: var(--bad); background: var(--bad-bg); border-color: rgba(248, 113, 113, 0.35); }
.badge-warn { color: var(--warn); background: var(--warn-bg); border-color: rgba(251, 191, 36, 0.35); }
.badge-info { color: var(--info); background: var(--info-bg); border-color: rgba(96, 165, 250, 0.35); }
.badge-wait { color: var(--accent); background: rgba(255, 210, 63, 0.12); border-color: rgba(255, 210, 63, 0.35); }
.badge-muted { color: var(--muted); background: var(--card-2); border-color: var(--line); }

.flash {
  position: fixed; left: 50%; bottom: 1.25rem; z-index: 50;
  transform: translateX(-50%);
  max-width: calc(100% - 2rem);
  padding: 0.8rem 1.1rem; border-radius: 12px;
  background: var(--card-2); border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  font-weight: 500;
}
.flash-ok { border-color: rgba(52, 211, 153, 0.55); }
.flash-warn { border-color: rgba(251, 191, 36, 0.55); }
.flash-error { border-color: rgba(248, 113, 113, 0.55); }
.flash-info { border-color: rgba(96, 165, 250, 0.55); }

/* ---------------------------------------------------------------- invoice */
.invoice-grid { display: grid; grid-template-columns: 300px 1fr; gap: 1.25rem; align-items: start; }
.invoice-grid > .card { margin: 0; }
@media (max-width: 760px) { .invoice-grid { grid-template-columns: 1fr; } }

.qr-card { text-align: center; }
.qr-frame {
  display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 12px;
  aspect-ratio: 1 / 1; width: 100%; max-width: 260px;
  margin: 0 auto 1rem; padding: 10px;
}
.qr-frame img { width: 100%; height: auto; display: block; image-rendering: pixelated; }
.qr-frame .muted { color: #475569; }

.copy-row {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.85rem 1rem; margin-bottom: 0.75rem;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px;
}
.copy-text { min-width: 0; }
.copy-text .field-label { margin-bottom: 0.15rem; font-size: 0.82rem; }
.copy-btn { flex: none; }

/* ---------------------------------------------------------------- history table */
.table-card { padding: 0.5rem; }
.table-card > .muted { padding: 1rem; margin: 0; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.table th, .table td { padding: 0.75rem 0.9rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th { color: var(--muted); font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
.table .num { text-align: right; white-space: nowrap; }

@media (max-width: 640px) {
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { padding: 0.6rem 0.4rem; border-bottom: 1px solid var(--line); }
  .table tbody tr:last-child { border-bottom: 0; }
  .table td { display: flex; justify-content: space-between; gap: 1rem; border: 0; padding: 0.3rem 0.5rem; text-align: right; }
  .table td::before { content: attr(data-label); color: var(--muted); font-weight: 600; text-align: left; }
  .table .num { text-align: right; }
}

/* ---------------------------------------------------------------- download */
.download {
  display: flex; align-items: center; gap: 1.25rem;
  max-width: 720px; margin: 2rem auto 0;
}
.download h2 { margin-bottom: 0.25rem; }
.download p { margin: 0; }
.download-body { flex: 1; min-width: 0; }
.download-icon {
  flex: none; width: 56px; height: 56px; padding: 12px;
  border-radius: 16px; color: var(--accent-ink);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.download-icon svg { width: 100%; height: 100%; display: block; }
.download .btn { flex: none; }
@media (max-width: 640px) {
  .download { flex-direction: column; align-items: stretch; text-align: center; }
  .download-icon { margin: 0 auto; }
}

/* ---------------------------------------------------------------- footer */
.footer {
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 0.85rem;
  text-align: center; padding: 1.25rem;
}
.footer p { margin: 0; }

/* ---------------------------------------------------------------- email confirmation / password reset */
.notice-text { margin: 0 0 0.6rem; }
#login-unconfirmed { margin-top: 0.5rem; }

/* ---------------------------------------------------------------- main page (how the app works) */
.hero-wide { max-width: 720px; }
.hero-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin: 1.25rem 0 0; }
.home-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1rem; align-items: start; }
.home-grid > .card { margin: 0; }
@media (max-width: 860px) { .home-grid { grid-template-columns: 1fr; } }
.home-grid.single { grid-template-columns: 1fr; }

/* Drawings of the app's widget, in the app's own colours (dark panel, orange / blue / green). */
.mock {
  background: #1e1e1e; border: 2px solid #42a5f5; border-radius: 10px;
  padding: 0.6rem; margin: 0.9rem auto; max-width: 400px;
  color: #fff; font-size: 0.86rem; line-height: 1.3;
}
.mock-row { display: flex; gap: 0.4rem; align-items: stretch; margin-bottom: 0.4rem; }
.mock-grow { flex: 1 1 auto; min-width: 0; }
.mock-btn, .mock-check {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  background: #333; border-radius: 6px; padding: 0.45rem 0.7rem; font-weight: 600; white-space: nowrap;
}
.mock-check { justify-content: flex-start; background: transparent; padding-left: 0.2rem; font-weight: 400; white-space: normal; }
.mock-box { display: inline-block; flex: none; width: 1rem; height: 1rem; border: 2px solid #ff9800; border-radius: 3px; }
.mock-plain { position: relative; color: #bdbdbd; padding: 0 0.2rem; }
.mock-stores { color: #4caf50; margin: 0.2rem 0 0; }
.mock-log { color: #00ff00; font-family: var(--mono); }
.mock-orange { color: #ff9800; }
.mock-blue { color: #42a5f5; }
.mock-red { color: #f44336; }
.mock-green { background: #4caf50; color: #fff; }
.mock-strong { font-weight: 700; }
.mock-offer {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.35rem 0.4rem;
  background: #2a2a2a; border-radius: 8px; padding: 0.45rem; margin-bottom: 0.4rem;
}
.mock-cells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.3rem; }
.mock-cells > span { position: relative; background: #333; border-radius: 5px; padding: 0.35rem 0.2rem; text-align: center; }
.mock-accept {
  position: relative; display: flex; align-items: center; justify-content: center;
  background: #4caf50; border-radius: 6px; padding: 0 0.7rem; font-weight: 700; white-space: nowrap;
}
.mock-store { position: relative; grid-column: 1 / -1; font-weight: 700; padding: 0 0.15rem; }
.mock-offer-big { margin-bottom: 0; }
.mock-offer-big .mock-cells > span { padding: 0.55rem 0.2rem; }
/* numbered badge: sits on the corner of the part it explains */
.mock-n {
  position: absolute; top: -0.5rem; left: -0.45rem; z-index: 1;
  width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  font: 700 0.72rem/1.25rem system-ui, sans-serif; text-align: center;
  box-shadow: 0 0 0 2px #1e1e1e;
}
.mock-offer > .mock-n { top: -0.45rem; left: -0.45rem; }

.legend, .steps { margin: 0; padding-left: 0; list-style: none; counter-reset: n; }
.legend li, .steps li { position: relative; counter-increment: n; padding-left: 2.1rem; margin: 0 0 0.55rem; }
.legend li { color: var(--muted); font-size: 0.93rem; }
.legend li::before, .steps li::before {
  content: counter(n); position: absolute; left: 0; top: 0.1rem;
  width: 1.45rem; height: 1.45rem; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: 0.8rem; line-height: 1.45rem; text-align: center;
}
.steps li { margin-bottom: 0.8rem; }
.steps li::before { background: var(--card-2); color: var(--accent); box-shadow: inset 0 0 0 1px var(--line); }

.terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem 1.5rem; margin: 0 0 1rem; }
@media (max-width: 760px) { .terms { grid-template-columns: 1fr; } }
.terms dt { font-weight: 700; }
.terms dd { margin: 0.15rem 0 0; color: var(--muted); font-size: 0.95rem; }
.terms dd.plain { margin-top: 0; color: var(--text); font-size: inherit; }
.t-orange { color: #ff9800; }
.t-blue { color: #60a5fa; }
.t-green { color: #4ade80; }
.t-purple { color: #c084fc; }
/* badges on a line of text sit in front of the text, not on top of it */
.mock-store > .mock-n, .mock-stores > .mock-n { position: static; display: inline-block; vertical-align: middle; margin-right: 0.35rem; box-shadow: none; }

/* Payment countdown on the invoice page (time limit set in the admin center). */
.pay-timer { border: 1px solid var(--ok); background: var(--ok-bg); border-radius: 12px; padding: 0.9rem 1rem; margin: 0 0 1rem; text-align: center; }
.pay-timer .field-label { margin: 0; }
.pay-timer-clock { font-size: 2.6rem; font-weight: 800; line-height: 1.15; margin: 0.1rem 0 0.5rem; color: var(--ok); font-variant-numeric: tabular-nums; }
.pay-timer-bar { display: block; width: 100%; height: 0.6rem; border: 0; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, 0.12); color: var(--ok); accent-color: var(--ok); appearance: none; -webkit-appearance: none; }
.pay-timer-bar::-webkit-progress-bar { background: rgba(255, 255, 255, 0.12); border-radius: 999px; }
.pay-timer-bar::-webkit-progress-value { background: var(--ok); border-radius: 999px; }
.pay-timer-bar::-moz-progress-bar { background: var(--ok); border-radius: 999px; }
.pay-timer p.small { margin: 0.55rem 0 0; }
.pay-timer-low { border-color: var(--warn); background: var(--warn-bg); }
.pay-timer-low .pay-timer-clock { color: var(--warn); }
.pay-timer-low .pay-timer-bar::-webkit-progress-value { background: var(--warn); }
.pay-timer-low .pay-timer-bar::-moz-progress-bar { background: var(--warn); }
.pay-timer-critical, .pay-timer-over { border-color: #f87171; background: rgba(248, 113, 113, 0.14); }
.pay-timer-critical .pay-timer-clock, .pay-timer-over .pay-timer-clock { color: #f87171; }
.pay-timer-critical .pay-timer-bar::-webkit-progress-value { background: #f87171; }
.pay-timer-critical .pay-timer-bar::-moz-progress-bar { background: #f87171; }
@media (max-width: 480px) { .pay-timer-clock { font-size: 2.2rem; } }

/* Plans (Basic / Premium) on the account page. */
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1rem 0; }
.plan-col { border: 1px solid var(--line, rgba(255, 255, 255, 0.12)); border-radius: 12px; padding: 1rem; display: flex; flex-direction: column; }
.plan-col.plan-mine { border-color: var(--ok); background: var(--ok-bg); }
.plan-col h3 { margin: 0 0 0.35rem; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.plan-price { font-size: 1.35rem; font-weight: 800; margin: 0; }
.plan-col p.small { margin: 0 0 0.75rem; }
.plan-feats { list-style: none; margin: 0 0 1rem; padding: 0; flex: 1; }
.plan-feats li { position: relative; padding: 0.22rem 0 0.22rem 1.6rem; overflow-wrap: anywhere; }
.plan-feats li::before { position: absolute; left: 0; top: 0.22rem; width: 1.2rem; text-align: center; font-weight: 800; }
.plan-feats li.yes::before { content: "\2713"; color: var(--ok); }
.plan-feats li.no { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, 0.25); }
.plan-feats li.no::before { content: "\2013"; color: var(--muted); }
#plan-confirm p { margin: 0 0 0.75rem; }
#plan-confirm .actions { margin: 0; }
@media (max-width: 640px) { .plan-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- help & about */
.disclaimer { border-color: rgba(251, 191, 36, 0.55); background: var(--warn-bg); }
.disclaimer h2 { margin-top: 0; }
.disclaimer-list { margin: 0.75rem 0 0; padding-left: 1.4rem; }
.disclaimer-list li { margin: 0 0 0.55rem; }
.footer p.footer-note { margin-top: 0.35rem; }
/* the owner's sentence stands on its own line, so the fixed words after it never depend on its punctuation */
.site-notice { display: block; }
.site-notice:empty { display: none; }
#help-body.only-disclaimer > :not(#help-disclaimer) { display: none; }
#help-failed .linklike { display: inline; padding: 0; color: var(--accent); text-decoration: underline; }
