/* Tellmerge marketing site — design system.
 *
 * Palette, type pairing and the indigo/red split are shared with Tellsheet on
 * purpose: these are sibling products from one publisher and should read as a
 * family. Indigo carries brand and trust (headers, bands, links); red is
 * reserved for ACTION and appears only on primary buttons — if red ever shows
 * up as decoration, the CTA stops being findable.
 *
 * Every colour is a token defined on :root. Dark mode redefines the tokens and
 * nothing else, so a component never needs a media query of its own.
 */

@import url("/assets/fonts.css");

/* ---- tokens --------------------------------------------------------------- */

:root {
  --indigo: #2a2986;
  --indigo-text: #2a2986;
  --indigo-soft: #ededf8;
  --on-indigo: #ffffff;
  --red: #ed1c24;
  --red-hover: #c9121a;

  --bg: #fafafc;
  --surface: #ffffff;
  --surface2: #f1f1f7;
  --ink: #17173a;
  --muted: #42425c;
  --faint: #9090a8;
  --line: #dedeea;
  --line2: #ebebf3;

  --band: #2a2986;
  --band-ink: #ffffff;
  --band-muted: #b9b9e2;
  --band-line: #44439c;

  --ok: #17803d;
  --ok-soft: #e8f6ed;

  /* Type. Space Grotesk sets headlines (tight, technical, a little mechanical);
     Public Sans carries everything you actually read. Two families, one job each. */
  --display: "Space Grotesk", "Public Sans", system-ui, sans-serif;
  --text: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;

  /* Fluid scale. The jump from --t-lead to --t-hero is deliberately large —
     hierarchy here comes from scale contrast, not from weight alone. */
  --t-hero: clamp(2.6rem, 1.4rem + 4.6vw, 5rem);
  --t-h2: clamp(1.9rem, 1.3rem + 2.2vw, 3rem);
  --t-h3: clamp(1.15rem, 1rem + 0.6vw, 1.45rem);
  --t-lead: clamp(1.05rem, 0.99rem + 0.35vw, 1.28rem);
  --t-body: 1rem;
  --t-small: 0.875rem;
  --t-tiny: 0.78rem;

  --shell: 1120px;
  --gap: clamp(1rem, 0.6rem + 1.6vw, 2rem);
  --section: clamp(4rem, 2.6rem + 5vw, 8rem);

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;

  --shadow-1: 0 1px 2px rgb(23 23 58 / 6%), 0 2px 8px rgb(23 23 58 / 4%);
  --shadow-2: 0 2px 6px rgb(23 23 58 / 7%), 0 18px 40px -18px rgb(23 23 58 / 22%);
  --shadow-3: 0 3px 10px rgb(23 23 58 / 9%), 0 34px 70px -28px rgb(42 41 134 / 34%);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --fast: 140ms;
  --normal: 260ms;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --indigo: #2a2986;
    --indigo-text: #a3a2ee;
    --indigo-soft: #1c1c3d;
    --red-hover: #ff2f37;

    --bg: #0d0d1f;
    --surface: #14142b;
    --surface2: #1a1a33;
    --ink: #e9e9f4;
    --muted: #a6a6c2;
    --faint: #52526f;
    --line: #26264a;
    --line2: #1e1e3a;

    --band: #131332;
    --band-ink: #ededf8;
    --band-muted: #9f9fc8;
    --band-line: #2c2c55;

    --ok: #4ade80;
    --ok-soft: #10281a;

    --shadow-1: 0 1px 2px rgb(0 0 0 / 40%);
    --shadow-2: 0 2px 6px rgb(0 0 0 / 45%), 0 18px 40px -18px rgb(0 0 0 / 60%);
    --shadow-3: 0 3px 10px rgb(0 0 0 / 50%), 0 34px 70px -28px rgb(0 0 0 / 70%);
  }
}

/* ---- base ----------------------------------------------------------------- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: var(--t-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1rem; max-width: 68ch; text-wrap: pretty; }
img, svg { max-width: 100%; height: auto; }

a {
  color: var(--indigo-text);
  text-decoration-color: color-mix(in oklab, var(--indigo-text) 35%, transparent);
  text-underline-offset: 3px;
  transition: color var(--fast) var(--ease), text-decoration-color var(--fast) var(--ease);
}
a:hover { color: var(--red); text-decoration-color: currentColor; }

:focus-visible {
  outline: 2px solid var(--indigo-text);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--surface); color: var(--ink);
  padding: 12px 18px; border-radius: 0 0 var(--r-sm) 0;
  box-shadow: var(--shadow-2);
}
.skip:focus { left: 0; }

/* ---- layout --------------------------------------------------------------- */

.shell { width: min(100% - 2.5rem, var(--shell)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.6); }

.eyebrow {
  font-family: var(--display);
  font-size: var(--t-tiny);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--indigo-text);
  margin: 0 0 0.85rem;
}
.band .eyebrow { color: var(--band-muted); }

.lead { font-size: var(--t-lead); color: var(--muted); max-width: 60ch; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---- header --------------------------------------------------------------- */

.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; gap: 1.5rem; height: 66px; }

.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--display); font-weight: 700; font-size: 1.12rem;
  letter-spacing: -0.02em; color: var(--ink); text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand svg { width: 26px; height: 26px; display: block; }

.nav { display: flex; align-items: center; gap: 1.4rem; margin-left: auto; }
.nav a {
  font-size: var(--t-small); font-weight: 500; color: var(--muted); text-decoration: none;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
@media (max-width: 760px) {
  .nav a.hide-sm { display: none; }
}

/* ---- buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--text); font-size: var(--t-small); font-weight: 600;
  padding: 0.72rem 1.25rem; border-radius: var(--r-sm);
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease),
              border-color var(--fast) var(--ease), transform var(--fast) var(--ease),
              box-shadow var(--fast) var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--red); color: #fff; box-shadow: var(--shadow-1); }
.btn-primary:hover { background: var(--red-hover); color: #fff; box-shadow: var(--shadow-2); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--indigo-text); color: var(--ink); background: var(--surface); }

.btn-on-band { background: #fff; color: var(--indigo); }
.btn-on-band:hover { background: var(--band-muted); color: var(--indigo); }

/* The secondary button on a band: outlined, white text. A real class rather
   than the inline styles this used to carry, so it also gets a hover state. */
.btn-outline-band { background: transparent; color: #fff; border-color: var(--band-line); }
.btn-outline-band:hover {
  background: color-mix(in oklab, #fff 12%, transparent);
  color: #fff;
  border-color: var(--band-muted);
}

.btn-lg { padding: 0.95rem 1.7rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---- hero ----------------------------------------------------------------- */

.hero { padding-block: clamp(3rem, 1.6rem + 5vw, 6.5rem) var(--section); overflow: hidden; }
.hero-grid {
  display: grid; gap: clamp(2.5rem, 1rem + 5vw, 4.5rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 940px) {
  .hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); }
}

.hero h1 { font-size: var(--t-hero); margin-bottom: 1.1rem; }
.hero h1 em {
  font-style: normal;
  color: var(--indigo-text);
  /* The one flourish on the page: a hand-drawn-ish underline that ties the
     headline to the brand without another block of colour. */
  background-image: linear-gradient(to top, color-mix(in oklab, var(--indigo-text) 26%, transparent) 0 0.22em, transparent 0.22em);
}
.hero .lead { margin-bottom: 1.8rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.hero-note { font-size: var(--t-small); color: var(--faint); margin: 1.15rem 0 0; }

/* ---- task-pane mock (hero visual) ----------------------------------------
   A CSS drawing of the actual product, not a stock illustration. It shows the
   preview step because that IS the product's promise: you see each message
   before anything sends. */

.mock {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-3);
  overflow: hidden;
  max-width: 430px;
  margin-inline: auto;
  width: 100%;
}
.mock-bar {
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.7rem 1rem; border-bottom: 1px solid var(--line2); background: var(--surface2);
}
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.mock-title { font-size: var(--t-tiny); font-weight: 600; color: var(--faint); margin-left: 0.35rem; letter-spacing: 0.03em; }
.mock-body { padding: 1.15rem 1.15rem 1.35rem; }

.mock-steps { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.15rem; }
.mock-step {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: var(--t-tiny); font-weight: 600; color: var(--faint);
}
.mock-step b {
  width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center;
  background: var(--line2); color: var(--faint); font-size: 10px; font-weight: 700;
}
.mock-step.on { color: var(--indigo-text); }
.mock-step.on b { background: var(--indigo); color: #fff; }
.mock-track { flex: 1; height: 2px; background: var(--line2); border-radius: 2px; }

.mock-h { font-family: var(--display); font-size: 1.05rem; font-weight: 700; margin: 0 0 0.15rem; letter-spacing: -0.02em; }
.mock-sub { font-size: var(--t-tiny); color: var(--faint); margin: 0 0 0.9rem; }

.mock-mail { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.mock-row { display: flex; gap: 0.7rem; padding: 0.5rem 0.8rem; border-bottom: 1px solid var(--line2); font-size: var(--t-tiny); }
.mock-row .k { color: var(--faint); width: 34px; flex: none; font-weight: 600; }
.mock-row .v { color: var(--ink); overflow-wrap: anywhere; }
.mock-msg { padding: 0.85rem 0.8rem; font-size: 0.82rem; color: var(--muted); line-height: 1.6; }
.mock-msg mark { background: color-mix(in oklab, var(--indigo-text) 15%, transparent); color: var(--ink); border-radius: 3px; padding: 0 2px; }
.mock-file { color: var(--indigo-text); font-weight: 600; }

.mock-ok {
  display: flex; align-items: center; gap: 0.5rem; margin-top: 0.9rem;
  background: var(--ok-soft); color: var(--ok);
  border-radius: var(--r-sm); padding: 0.6rem 0.8rem;
  font-size: var(--t-tiny); font-weight: 600;
}
.mock-send {
  margin-top: 0.7rem; background: var(--indigo); color: #fff;
  border-radius: var(--r-sm); padding: 0.7rem; text-align: center;
  font-size: var(--t-small); font-weight: 600;
}

/* ---- generic cards -------------------------------------------------------- */

.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.5rem;
  transition: border-color var(--normal) var(--ease), box-shadow var(--normal) var(--ease),
              transform var(--normal) var(--ease);
}
.card h3 { font-size: var(--t-h3); margin-bottom: 0.5rem; }
.card p { font-size: var(--t-small); color: var(--muted); margin: 0; }
.card:hover { border-color: color-mix(in oklab, var(--indigo-text) 40%, var(--line)); box-shadow: var(--shadow-2); transform: translateY(-2px); }

.num {
  font-family: var(--display); font-size: 0.8rem; font-weight: 700;
  width: 27px; height: 27px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 0.9rem;
  background: var(--indigo-soft); color: var(--indigo-text);
}

/* ---- indigo band ---------------------------------------------------------- */

.band { background: var(--band); color: var(--band-ink); }
.band h2, .band h3 { color: var(--band-ink); }
.band p { color: var(--band-muted); }
/* Prose links inside a band go white — but NOT buttons, which carry their own
   colour. `.band a` (0,1,1) outranks `.btn-on-band` (0,1,0), so without the
   :not() the white-on-indigo button rendered white text on its white fill and
   disappeared completely. */
.band a:not(.btn) { color: #fff; }
.band .rule { background: var(--band-line); }
.band-card { border: 1px solid var(--band-line); border-radius: var(--r); padding: 1.4rem; background: color-mix(in oklab, #fff 5%, transparent); }
.band-card h3 { font-size: var(--t-h3); margin-bottom: 0.45rem; }
.band-card p { font-size: var(--t-small); margin: 0; }

/* ---- feature list --------------------------------------------------------- */

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.checks li { display: flex; gap: 0.65rem; align-items: flex-start; font-size: var(--t-small); color: var(--muted); }
.checks svg { flex: none; margin-top: 3px; color: var(--ok); }
.checks b { color: var(--ink); font-weight: 600; }
.band .checks li { color: var(--band-muted); }
.band .checks b { color: var(--band-ink); }
.band .checks svg { color: #7ee2a8; }

/* ---- pricing -------------------------------------------------------------- */

.tiers { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 285px), 1fr)); align-items: start; }

.tier {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.9rem 1.6rem;
  display: flex; flex-direction: column; gap: 1.1rem;
  transition: border-color var(--normal) var(--ease), box-shadow var(--normal) var(--ease);
}
.tier:hover { border-color: color-mix(in oklab, var(--indigo-text) 45%, var(--line)); box-shadow: var(--shadow-2); }

/* The recommended tier is raised out of the row rather than just recoloured —
   depth reads faster than a badge, and the badge still explains why. */
.tier--best {
  border-color: var(--indigo);
  box-shadow: var(--shadow-3);
  position: relative;
}
@media (min-width: 900px) { .tier--best { transform: translateY(-14px); } }

.tier-tag {
  position: absolute; top: -11px; left: 1.6rem;
  background: var(--indigo); color: #fff;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.25rem 0.6rem; border-radius: 100px;
}
.tier h3 { font-size: 1.05rem; letter-spacing: 0.01em; }
.tier-price { display: flex; align-items: baseline; gap: 0.4rem; }
.tier-price .amt { font-family: var(--display); font-size: 3rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.tier-price .per { font-size: var(--t-small); color: var(--faint); }
.tier-for { font-size: var(--t-small); color: var(--muted); margin: 0; min-height: 3em; }
.tier .checks { margin-top: auto; }

.qty { display: flex; align-items: center; gap: 0.6rem; font-size: var(--t-small); color: var(--muted); }
.qty input {
  width: 74px; padding: 0.45rem 0.6rem; font: inherit;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); color: var(--ink);
}
.qty input:focus-visible { border-color: var(--indigo-text); }

/* ---- comparison ----------------------------------------------------------- */

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
table.cmp { border-collapse: collapse; width: 100%; min-width: 540px; font-size: var(--t-small); }
table.cmp th, table.cmp td { padding: 0.85rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line2); }
table.cmp thead th { font-family: var(--display); font-size: var(--t-tiny); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); background: var(--surface2); }
table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp td.us { font-weight: 700; color: var(--ink); background: color-mix(in oklab, var(--indigo-soft) 60%, transparent); }
table.cmp td.them { color: var(--muted); }

/* ---- FAQ ------------------------------------------------------------------ */

.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 2.2rem 1.15rem 0; position: relative;
  font-family: var(--display); font-weight: 700; font-size: 1.02rem; letter-spacing: -0.015em;
  transition: color var(--fast) var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--indigo-text); }
.faq summary::after {
  content: "+"; position: absolute; right: 0.3rem; top: 50%; transform: translateY(-50%);
  font-size: 1.35rem; font-weight: 400; color: var(--faint); transition: transform var(--normal) var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { font-size: var(--t-small); color: var(--muted); padding-right: 2.2rem; }
.faq details p:last-child { margin-bottom: 1.2rem; }

/* ---- prose (legal pages) --------------------------------------------------- */

.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.7rem); margin: 2.6rem 0 0.85rem; }
.prose h3 { font-size: var(--t-h3); margin: 1.9rem 0 0.6rem; }
.prose p, .prose li { color: var(--muted); font-size: 0.97rem; }
.prose ul, .prose ol { padding-left: 1.15rem; margin: 0 0 1rem; display: grid; gap: 0.4rem; }
.prose strong { color: var(--ink); }
.prose .updated { font-size: var(--t-small); color: var(--faint); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--t-small); margin: 0 0 1.4rem; }
.prose table th, .prose table td { border: 1px solid var(--line); padding: 0.6rem 0.8rem; text-align: left; vertical-align: top; }
.prose table th { background: var(--surface2); font-family: var(--display); font-size: var(--t-tiny); text-transform: uppercase; letter-spacing: 0.07em; color: var(--faint); }

.callout {
  border-left: 3px solid var(--indigo);
  background: var(--indigo-soft);
  padding: 1rem 1.2rem; border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin: 0 0 1.5rem;
}
.callout p { margin: 0; color: var(--muted); font-size: var(--t-small); }
.callout p + p { margin-top: 0.6rem; }

/* ---- footer --------------------------------------------------------------- */

.foot { border-top: 1px solid var(--line); background: var(--surface); padding-block: 3rem 2.2rem; }
.foot-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.foot h4 { font-family: var(--display); font-size: var(--t-tiny); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 0.9rem; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.foot a { font-size: var(--t-small); color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot-base { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line2); display: flex; flex-wrap: wrap; gap: 0.8rem 1.5rem; align-items: center; }
.foot-base p { font-size: var(--t-tiny); color: var(--faint); margin: 0; }

/* ---- utility -------------------------------------------------------------- */

.center { text-align: center; margin-inline: auto; }
.center p { margin-inline: auto; }
.mt-0 { margin-top: 0; }
.mb-lg { margin-bottom: 2.6rem; }
.stack > * + * { margin-top: 1.1rem; }
.pill {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: var(--indigo-soft); color: var(--indigo-text);
  font-size: var(--t-tiny); font-weight: 600;
  padding: 0.34rem 0.8rem; border-radius: 100px;
}
code { font-family: var(--mono); font-size: 0.88em; background: var(--surface2); padding: 0.12em 0.38em; border-radius: 4px; }

/* Paddle's overlay sits above everything; keep our sticky header out of its way. */
body.paddle-open .top { z-index: 1; }

/* ---- checkout details dialog ----------------------------------------------
   Lives here rather than being injected by checkout.js so the site's CSP can
   keep script-src at 'self' with no inline-style workarounds in JS. */

.tmd-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgb(13 13 31 / 55%);
  backdrop-filter: blur(3px);
  display: grid; place-items: center; padding: 1.2rem;
}
.tmd-overlay[hidden] { display: none; }
.tmd-card {
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-3);
  width: min(100%, 420px); padding: 1.8rem 1.6rem; position: relative;
}
.tmd-x {
  position: absolute; top: 0.7rem; right: 0.9rem;
  background: none; border: 0; font-size: 1.5rem; line-height: 1;
  color: var(--faint); cursor: pointer;
}
.tmd-x:hover { color: var(--ink); }
.tmd-title { font-family: var(--display); font-size: 1.4rem; margin: 0 0 0.3rem; }
.tmd-sub { font-size: var(--t-small); color: var(--faint); margin: 0 0 1.3rem; }
.tmd-label { display: block; font-size: var(--t-small); font-weight: 600; margin: 0 0 0.35rem; }
.tmd-req { color: var(--red); }
.tmd-opt { color: var(--faint); font-weight: 400; }
.tmd-input {
  width: 100%; padding: 0.65rem 0.8rem; font: inherit;
  color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-sm); margin: 0 0 1rem;
}
.tmd-input:focus-visible { border-color: var(--indigo-text); }
.tmd-err { color: var(--red); font-size: var(--t-small); margin: -0.8rem 0 0.9rem; }
.tmd-err[hidden] { display: none; }
.tmd-help { font-size: var(--t-tiny); color: var(--faint); margin: 0 0 1.1rem; }
.tmd-foot { font-size: var(--t-tiny); color: var(--faint); margin: 0.9rem 0 0; text-align: center; }
