/* =========================================================================
   LceLive — site.css
   Single small stylesheet. Utility-first primitives, no per-page bespoke
   component classes. Built around: .stack .row .card .field .btn.
   ========================================================================= */

:root {
  /* Type */
  --font-ui: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Surface — warm dark, low chroma */
  --bg: #0c100f;
  --bg-2: #11171a;
  --line: rgba(232, 234, 228, 0.08);
  --line-2: rgba(232, 234, 228, 0.14);
  --line-3: rgba(232, 234, 228, 0.22);

  /* Ink */
  --ink: #ecefe7;
  --ink-2: #b5bbb1;
  --ink-3: #7c8278;
  --ink-4: #4a4f47;

  /* Accents */
  --accent: #e1915d;
  --accent-2: #f3aa76;
  --accent-soft: rgba(225, 145, 93, 0.12);
  --good: #6fc794;
  --good-soft: rgba(111, 199, 148, 0.12);
  --warn: #e8c46a;
  --warn-soft: rgba(232, 196, 106, 0.12);
  --bad: #e88577;
  --bad-soft: rgba(232, 133, 119, 0.12);

  /* Geometry */
  --r-1: 4px;
  --r-2: 8px;
  --r-3: 12px;

  /* Space scale (4px base, doubled at the upper end) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 72px;
  --s-9: 112px;

  /* Layout */
  --w: 880px;
  --gutter: clamp(16px, 4vw, 24px);

  --ease: cubic-bezier(0.2, 0, 0, 1);
}

/* -------------------------------------------------------------------------
   Reset
   ------------------------------------------------------------------------- */

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

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

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

img, svg {
  display: block;
  max-width: 100%;
}

::selection {
  background: var(--accent-soft);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
  border-radius: var(--r-1);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--s-4);
  z-index: 50;
  padding: var(--s-2) var(--s-3);
  background: var(--accent);
  color: #1a0e06;
  border-radius: var(--r-2);
  font-weight: 600;
}

.skip-link:focus {
  top: var(--s-4);
}

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

/* -------------------------------------------------------------------------
   Typography primitives
   ------------------------------------------------------------------------- */

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2rem, 4vw + 1rem, 3.25rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.4rem, 1.5vw + 1rem, 1.75rem);
}

h3 {
  font-size: 1rem;
}

h4 {
  font-size: 0.9rem;
}

p {
  color: var(--ink-2);
}

.lede {
  color: var(--ink-2);
  font-size: clamp(1rem, 0.5vw + 0.95rem, 1.125rem);
  line-height: 1.55;
  max-width: 60ch;
}

.eyebrow {
  display: inline-block;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.muted { color: var(--ink-3); }
.mono { font-family: var(--font-mono); }
.accent { color: var(--accent-2); }

/* Single decorative emphasis, used sparingly in headings */
em.mark,
h1 em,
h2 em {
  color: var(--accent-2);
  font-style: normal;
}

a.link,
.prose a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--ink-4);
  text-underline-offset: 3px;
  transition: text-decoration-color 160ms var(--ease);
}

a.link:hover,
.prose a:hover {
  text-decoration-color: var(--accent-2);
}

/* -------------------------------------------------------------------------
   Layout primitives
   ------------------------------------------------------------------------- */

.shell {
  width: min(var(--w), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.shell-wide {
  width: min(1080px, 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.main {
  flex: 1;
  padding-block: var(--s-7) var(--s-8);
}

/* Vertical rhythm: stack of children with consistent gap */
.stack { display: flex; flex-direction: column; }
.stack-1 { gap: var(--s-1); }
.stack-2 { gap: var(--s-2); }
.stack-3 { gap: var(--s-3); }
.stack-4 { gap: var(--s-4); }
.stack-5 { gap: var(--s-5); }
.stack-6 { gap: var(--s-6); }
.stack-7 { gap: var(--s-7); }
.stack-8 { gap: var(--s-8); }

/* Horizontal cluster: row of items that wrap */
.row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3);
}

.row-tight { gap: var(--s-2); }
.row-end   { justify-content: flex-end; }
.row-between { justify-content: space-between; }

/* Grid for cards */
.grid {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 720px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

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

.hdr {
  border-bottom: 1px solid var(--line);
}

.hdr-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding-block: var(--s-4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 22px;
  height: 22px;
  color: var(--accent-2);
}

.brand-name {
  font-size: 0.95rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--s-1);
}

.nav a {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding-inline: var(--s-3);
  border-radius: var(--r-2);
  color: var(--ink-2);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 140ms var(--ease), background 140ms var(--ease);
}

.nav a:hover {
  color: var(--ink);
}

.nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(232, 234, 228, 0.05);
}

.ftr {
  border-top: 1px solid var(--line);
  padding-block: var(--s-5);
}

.ftr-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  color: var(--ink-3);
  font-size: 0.8rem;
}

.ftr a {
  color: var(--ink-2);
  transition: color 140ms var(--ease);
}

.ftr a:hover {
  color: var(--ink);
}

.ftr-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
}

.ftr-links a {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}

.ftr-links svg {
  width: 14px;
  height: 14px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  height: 38px;
  padding-inline: var(--s-4);
  border: 1px solid var(--line-2);
  border-radius: var(--r-2);
  background: transparent;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  transition:
    background 140ms var(--ease),
    border-color 140ms var(--ease),
    color 140ms var(--ease);
}

.btn:hover {
  border-color: var(--line-3);
  background: rgba(232, 234, 228, 0.04);
}

.btn:active {
  transform: translateY(0.5px);
}

.btn-primary {
  background: var(--accent);
  border-color: transparent;
  color: #1a0e06;
}

.btn-primary:hover {
  background: var(--accent-2);
  border-color: transparent;
}

.btn-ghost {
  border-color: transparent;
  color: var(--ink-2);
}

.btn-ghost:hover {
  color: var(--ink);
  background: rgba(232, 234, 228, 0.05);
  border-color: transparent;
}

.btn-lg {
  height: 44px;
  padding-inline: var(--s-5);
  font-size: 0.95rem;
}

.btn-block {
  width: 100%;
}

/* -------------------------------------------------------------------------
   Card
   ------------------------------------------------------------------------- */

.card {
  padding: var(--s-5);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  background: var(--bg-2);
}

.card-pad-lg {
  padding: clamp(var(--s-5), 4vw, var(--s-6));
}

.card-quiet {
  background: transparent;
}

.card-line {
  border-color: var(--line);
}

/* -------------------------------------------------------------------------
   Form fields
   ------------------------------------------------------------------------- */

.field {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.field-label {
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 500;
}

.field-hint {
  color: var(--ink-3);
  font-size: 0.78rem;
}

.field-error,
.validation-summary {
  color: var(--bad);
  font-size: 0.78rem;
}

.validation-summary:empty {
  display: none;
}

.input {
  width: 100%;
  height: 42px;
  padding-inline: var(--s-3);
  border: 1px solid var(--line-2);
  border-radius: var(--r-2);
  background: var(--bg);
  color: var(--ink);
  font-size: 0.95rem;
  transition: border-color 140ms var(--ease), background 140ms var(--ease);
}

.input::placeholder {
  color: var(--ink-4);
}

.input:hover {
  border-color: var(--line-3);
}

.input:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.input-wrap {
  position: relative;
}

.input-toggle {
  position: absolute;
  inset-block: 0;
  right: var(--s-2);
  display: grid;
  place-items: center;
  width: 32px;
  border: 0;
  background: transparent;
  color: var(--ink-3);
  border-radius: var(--r-1);
}

.input-toggle:hover {
  color: var(--ink);
}

.input-toggle svg {
  width: 16px;
  height: 16px;
}

.input-toggle .pt-eye-off { display: none; }
.input-toggle[aria-pressed="true"] .pt-eye { display: none; }
.input-toggle[aria-pressed="true"] .pt-eye-off { display: block; }

html:not(.js) .input-toggle { display: none; }
html:not(.js) .input-wrap.has-toggle .input { padding-right: var(--s-3); }
html.js .input-wrap.has-toggle .input { padding-right: 44px; }

/* -------------------------------------------------------------------------
   Notice / Flash
   ------------------------------------------------------------------------- */

.notice {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  font-size: 0.875rem;
}

.notice svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.notice-good { border-color: rgba(111, 199, 148, 0.25); background: var(--good-soft); color: #b6e0c6; }
.notice-info { border-color: var(--line-2); background: rgba(232, 234, 228, 0.03); color: var(--ink-2); }
.notice-warn { border-color: rgba(232, 196, 106, 0.25); background: var(--warn-soft); color: #efd99a; }

/* -------------------------------------------------------------------------
   Badge
   ------------------------------------------------------------------------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  height: 24px;
  padding-inline: 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(232, 234, 228, 0.03);
  color: var(--ink-2);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.badge-good {
  border-color: rgba(111, 199, 148, 0.3);
  color: #b6e0c6;
  background: var(--good-soft);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* -------------------------------------------------------------------------
   Hero — homepage
   ------------------------------------------------------------------------- */

.hero {
  padding-block: var(--s-7) var(--s-7);
}

.hero h1 {
  max-width: 14ch;
}

.hero .lede {
  max-width: 52ch;
}

/* -------------------------------------------------------------------------
   Steps — numbered list with visible numerals
   ------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-5);
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; gap: var(--s-5); }
}

.steps li {
  position: relative;
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -10px;
  left: 0;
  padding-inline: var(--s-2);
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--accent-2);
}

.steps h3 {
  margin-bottom: var(--s-2);
}

.steps p {
  font-size: 0.9rem;
}

/* -------------------------------------------------------------------------
   FAQ — clean dividers, no card chrome
   ------------------------------------------------------------------------- */

.faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 var(--s-7);
}

@media (max-width: 720px) {
  .faq { grid-template-columns: 1fr; }
}

.faq dt {
  padding-top: var(--s-5);
  padding-bottom: var(--s-2);
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.faq dd {
  margin: 0 0 var(--s-5) 0;
  color: var(--ink-2);
  font-size: 0.9rem;
}

/* -------------------------------------------------------------------------
   Section heading — small, restrained
   ------------------------------------------------------------------------- */

.section-head {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  margin-bottom: var(--s-5);
  max-width: 56ch;
}

.section-head p {
  font-size: 0.95rem;
}

/* -------------------------------------------------------------------------
   Auth — single-column, centered, no marketing aside
   ------------------------------------------------------------------------- */

.auth {
  width: min(420px, 100% - var(--gutter) * 2);
  margin-inline: auto;
  margin-block-start: var(--s-6);
}

.auth-mark {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
  color: var(--accent-2);
}

.auth-mark svg {
  width: 24px;
  height: 24px;
}

.auth-mark span {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.auth h1 {
  font-size: 1.65rem;
  letter-spacing: -0.025em;
}

/* -------------------------------------------------------------------------
   Code input — large monospace input on the Link page
   ------------------------------------------------------------------------- */

.code {
  width: min(540px, 100% - var(--gutter) * 2);
  margin-inline: auto;
  margin-block-start: var(--s-5);
}

.code-input-wrap {
  position: relative;
}

.code-input {
  width: 100%;
  height: 88px;
  padding-inline: 64px var(--s-3);
  border: 1px solid var(--line-2);
  border-radius: var(--r-3);
  background: var(--bg-2);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 5vw, 2.25rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}

.code-input::placeholder {
  color: var(--ink-4);
  letter-spacing: 0.18em;
}

.code-input:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.code-paste {
  position: absolute;
  right: var(--s-3);
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding-inline: 10px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-1);
  background: var(--bg);
  color: var(--ink-2);
  font-size: 0.74rem;
  font-weight: 500;
}

.code-paste:hover {
  border-color: var(--line-3);
  color: var(--ink);
}

.code-paste svg {
  width: 12px;
  height: 12px;
}

.code-help summary {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  cursor: pointer;
  color: var(--ink-2);
  font-size: 0.875rem;
  font-weight: 500;
  list-style: none;
}

.code-help summary::-webkit-details-marker { display: none; }

.code-help summary svg {
  width: 14px;
  height: 14px;
  transition: transform 180ms var(--ease);
}

.code-help[open] summary svg {
  transform: rotate(180deg);
}

.code-help-body {
  margin-top: var(--s-3);
  padding: var(--s-4);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  background: rgba(232, 234, 228, 0.02);
}

.code-help-body ol {
  list-style: decimal;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  color: var(--ink-2);
  font-size: 0.9rem;
}

.code-help-body ol::marker {
  color: var(--ink-4);
}

/* -------------------------------------------------------------------------
   Account
   ------------------------------------------------------------------------- */

.identity {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  flex-wrap: wrap;
}

.avatar {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: var(--r-3);
  background: var(--accent);
  color: #1a0e06;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.identity-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}

.identity-name {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.identity-handle {
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.identity-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}

/* Empty state */
.empty {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  padding: var(--s-5);
  border: 1px dashed var(--line-2);
  border-radius: var(--r-2);
  color: var(--ink-2);
  font-size: 0.9rem;
}

.empty strong {
  color: var(--ink);
  font-weight: 600;
}

/* Linked devices list */

.device-list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  overflow: hidden;
}

.device-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-4);
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.device-row:first-child {
  border-top: 0;
}

.device-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-2);
  background: var(--accent-soft);
  color: var(--accent-2);
}

.device-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.device-name {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.device-meta {
  margin: 0;
  font-size: 0.78rem;
  color: var(--ink-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.device-when {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}

.device-when-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-4);
}

.device-when-value {
  font-size: 0.85rem;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 540px) {
  .device-row {
    grid-template-columns: auto minmax(0, 1fr);
    gap: var(--s-3);
  }

  .device-when {
    grid-column: 2;
    flex-direction: row;
    align-items: baseline;
    gap: var(--s-2);
  }
}

/* -------------------------------------------------------------------------
   Prose for content pages (Privacy, Error)
   ------------------------------------------------------------------------- */

.prose {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  color: var(--ink-2);
  max-width: 65ch;
}

.prose p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.prose strong {
  color: var(--ink);
  font-weight: 600;
}

.prose code {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: var(--r-1);
  background: var(--bg-2);
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: var(--ink);
}

/* -------------------------------------------------------------------------
   Reduced motion
   ------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* -------------------------------------------------------------------------
   Mobile tweaks
   ------------------------------------------------------------------------- */

@media (max-width: 640px) {
  body { font-size: 14.5px; }

  .main { padding-block: var(--s-5) var(--s-7); }

  .hdr-inner {
    flex-wrap: wrap;
    gap: var(--s-3);
  }

  .nav {
    overflow-x: auto;
    width: 100%;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
  }

  .nav::-webkit-scrollbar { display: none; }

  .ftr-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .code-input {
    height: 72px;
    padding-inline: var(--s-3);
    letter-spacing: 0.12em;
  }

  .code-paste { display: none; }
}

/* =========================================================================
   Support / Ko-fi card
   Optional, low-pressure block on the home page. Matches the warm-accent
   tone of the rest of the site without screaming for attention. Stacks
   vertically on narrow screens.
   ========================================================================= */

.support-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  padding: var(--s-5) var(--s-6);
  border: 1px solid var(--line-2);
  border-radius: var(--r-3);
  background:
    linear-gradient(180deg, var(--accent-soft), transparent 70%),
    var(--bg-2);
}

.support-card__body {
  flex: 1 1 auto;
}

.support-card__body h2 {
  margin: 0 0 var(--s-2);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.support-card__body p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.9375rem;
  max-width: 56ch;
}

.support-card .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .support-card {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--s-4) var(--s-5);
  }

  .support-card .btn {
    width: 100%;
    text-align: center;
  }
}

/* =========================================================================
   Service notices
   For "this isn't your fault, here's what's going on" messages on forms.
   Used by the registration page when we've hit the daily email cap, but
   reusable anywhere a non-validation status needs to surface.
   ========================================================================= */

.notice {
  padding: var(--s-4) var(--s-5);
  border: 1px solid var(--line-2);
  border-radius: var(--r-2);
  background: var(--bg-2);
}

.notice strong {
  display: block;
  margin-bottom: var(--s-2);
  color: var(--ink);
  font-weight: 500;
}

.notice p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.notice-warn {
  border-color: rgba(232, 196, 106, 0.35);
  background:
    linear-gradient(180deg, var(--warn-soft), transparent 70%),
    var(--bg-2);
}

.notice-warn strong {
  color: var(--warn);
}
