/* TetherRx landing page.
   Palette: Tether Ink #0E3B43 from the brand kit, on a cool mineral paper.
   Green / amber / red are rule outcomes only (Pass / Needs review / Stopped),
   never decoration. One family (Manrope, the wordmark's face), self-hosted. */

@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0e3b43;
  --paper: #f1f5f4;
  --surface: #ffffff;
  --text: #102a2f;
  --muted: #4b6164;
  --line: #cfdcda;
  --tint: #e3ecea;
  --tether: #0e3b43;
  --btn-bg: #0e3b43;
  --btn-fg: #ffffff;
  --btn-bg-hover: #155461;
  --focus: #1b7f8f;

  --pass: #146c47;
  --pass-bg: #dcf0e5;
  --review: #8a5a0c;
  --review-bg: #f8ecd4;
  --stop: #a3321f;
  --stop-bg: #f8e0db;

  --band-bg: #0e3b43;
  --band-text: #e8f1ef;
  --band-muted: #a9c3c3;

  --radius-lg: 18px;
  --radius: 12px;
  --radius-sm: 8px;

  /* Modular scale, ratio ~1.333 from 17px. */
  --t-xs: 0.8125rem;
  --t-sm: 0.9375rem;
  --t-base: 1.0625rem;
  --t-md: 1.3125rem;
  --t-lg: 1.75rem;
  --t-xl: 2.3125rem;
  --t-hero: clamp(2.75rem, 1.4rem + 5.6vw, 5.5rem);

  --gutter: 24px;
  --max: 1180px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0a1d21;
    --surface: #10292e;
    --text: #e3eeec;
    --muted: #9db3b4;
    --line: #23434a;
    --tint: #15343a;
    --tether: #6fa3a8;
    --btn-bg: #e3eeec;
    --btn-fg: #0e3b43;
    --btn-bg-hover: #ffffff;
    --focus: #7cc8d2;

    --pass: #7fd8a8;
    --pass-bg: #123b2c;
    --review: #f0c46e;
    --review-bg: #3a2c10;
    --stop: #f29a88;
    --stop-bg: #41201a;

    --band-bg: #0e3b43;
    --band-text: #e8f1ef;
    --band-muted: #a9c3c3;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --paper: #0a1d21;
  --surface: #10292e;
  --text: #e3eeec;
  --muted: #9db3b4;
  --line: #23434a;
  --tint: #15343a;
  --tether: #6fa3a8;
  --btn-bg: #e3eeec;
  --btn-fg: #0e3b43;
  --btn-bg-hover: #ffffff;
  --focus: #7cc8d2;
  --pass: #7fd8a8;
  --pass-bg: #123b2c;
  --review: #f0c46e;
  --review-bg: #3a2c10;
  --stop: #f29a88;
  --stop-bg: #41201a;
  color-scheme: dark;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--t-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

a {
  color: inherit;
}

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

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  padding: 10px 16px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  z-index: 10;
}

.skip:focus {
  top: 16px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

/* ---------- Logo ---------- */

.logo {
  display: block;
  color: var(--ink);
  fill: currentColor;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo {
    color: #ffffff;
  }
}

:root[data-theme="dark"] .logo {
  color: #ffffff;
}

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

.site-head {
  padding: 22px 0;
}

.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: block;
  border-radius: 6px;
}

.brand .logo {
  width: 146px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}

.nav-link:hover {
  color: var(--text);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: var(--t-sm);
  font-weight: 700;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.btn-primary {
  background: var(--btn-bg);
  color: var(--btn-fg);
}

.btn-primary:hover {
  background: var(--btn-bg-hover);
}

.btn-quiet {
  color: var(--text);
  border: 1.5px solid var(--line);
}

.btn-quiet:hover {
  border-color: var(--muted);
}

.btn-small {
  min-height: 40px;
  padding: 0 18px;
}

/* ---------- Hero ---------- */

.hero {
  padding: 56px 0 104px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: center;
}

.hook {
  font-size: var(--t-md);
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

/* The fax question gets struck through once, on load. A background line on
   the inline text runs on across a wrapped line, unlike a positioned rule. */
.hook s {
  text-decoration: none;
  background: linear-gradient(var(--text), var(--text)) no-repeat 0 58% / 100% 2px;
  animation: strike 560ms cubic-bezier(0.6, 0, 0.2, 1) 350ms backwards;
}

@keyframes strike {
  from {
    background-size: 0% 2px;
  }
}

.hero h1 {
  font-size: var(--t-hero);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--text);
  max-width: 9.5em;
  text-wrap: balance;
}

.lede {
  margin-top: 28px;
  font-size: var(--t-md);
  line-height: 1.55;
  color: var(--muted);
  max-width: 34em;
}

.lede strong {
  color: var(--text);
  font-weight: 600;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.proof {
  margin-top: 28px;
  font-size: var(--t-sm);
  color: var(--muted);
}

.proof strong {
  color: var(--text);
  font-weight: 700;
}

/* ---------- The order card (hero) ---------- */

.order {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 22px 18px;
  box-shadow: 0 1px 0 rgba(14, 59, 67, 0.04), 0 24px 48px -28px rgba(14, 59, 67, 0.35);
}

.order-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.order-buyer {
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--muted);
}

.order-title {
  font-size: var(--t-md);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.order-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 14px 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: var(--t-xs);
}

.order-meta div {
  display: flex;
  gap: 6px;
}

.order-meta dt {
  color: var(--muted);
}

.order-meta dd {
  font-weight: 700;
}

.urgent {
  color: var(--stop);
}

/* Two labels stacked in one grid cell, so the chip never changes width. */
.swap {
  display: inline-grid;
  justify-items: end;
}

.swap > span {
  grid-area: 1 / 1;
}

.status {
  position: relative;
  overflow: hidden;
  justify-items: center;
  flex: none;
  font-size: var(--t-xs);
  font-weight: 700;
  line-height: 1;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--text);
}

.status > span {
  position: relative;
}

.status::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--pass-bg);
  transform-origin: left center;
  opacity: 0;
  animation: fill 1500ms linear 850ms backwards;
}

@keyframes fill {
  from {
    transform: scaleX(0);
    opacity: 1;
  }
  92% {
    transform: scaleX(1);
    opacity: 1;
  }
  to {
    transform: scaleX(1);
    opacity: 0;
  }
}

.status .is-done {
  animation: appear 260ms ease-out 2350ms backwards;
}

.status .is-pending {
  opacity: 0;
  animation: vanish 120ms linear 2350ms backwards;
}

.rules {
  display: grid;
  gap: 2px;
}

.rule {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 10px;
  margin: 0 -10px;
  border-radius: var(--radius-sm);
}

.rule-name {
  display: block;
  font-size: var(--t-sm);
  font-weight: 600;
  line-height: 1.35;
}

.rule-cite {
  display: block;
  font-size: var(--t-xs);
  color: var(--muted);
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}

.pill {
  flex: none;
  display: inline-grid;
  justify-items: center;
  min-width: 74px;
  font-size: var(--t-xs);
  font-weight: 700;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 999px;
}

.pill > span {
  grid-area: 1 / 1;
}

.pill-pass {
  background: var(--pass-bg);
  color: var(--pass);
}

.pill-review {
  background: var(--review-bg);
  color: var(--review);
}

.pill-stop {
  background: var(--stop-bg);
  color: var(--stop);
}

/* Hero rule check: each row ticks to Pass in turn. Base styles are the
   finished state, so no-animation and reduced-motion both show the result. */
.order .pill-pass {
  animation: pill-bg 240ms ease-out var(--d) backwards;
}

.order .pill .is-pending {
  opacity: 0;
  color: var(--muted);
  animation: vanish 80ms linear var(--d) backwards;
}

.order .pill .is-done {
  animation: appear 240ms cubic-bezier(0.3, 1.4, 0.5, 1) calc(var(--d) + 70ms) backwards;
}

.order .rule {
  animation: sweep 600ms ease-out calc(var(--d) - 120ms) backwards;
}

.rule:nth-child(1) { --d: 900ms; }
.rule:nth-child(2) { --d: 1040ms; }
.rule:nth-child(3) { --d: 1180ms; }
.rule:nth-child(4) { --d: 1320ms; }
.rule:nth-child(5) { --d: 1460ms; }
.rule:nth-child(6) { --d: 1600ms; }
.rule:nth-child(7) { --d: 1740ms; }
.rule:nth-child(8) { --d: 1880ms; }
.rule:nth-child(9) { --d: 2020ms; }

@keyframes appear {
  from {
    opacity: 0;
    transform: scale(0.7);
  }
}

@keyframes vanish {
  from {
    opacity: 1;
  }
}

@keyframes pill-bg {
  from {
    background: var(--tint);
  }
}

@keyframes sweep {
  from {
    background: var(--tint);
  }
}

.order-foot {
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: var(--t-xs);
  color: var(--muted);
  animation: appear-flat 300ms ease-out 2300ms backwards;
}

.order-foot strong {
  color: var(--text);
  font-weight: 700;
}

@keyframes appear-flat {
  from {
    opacity: 0;
  }
}

/* ---------- Sections ---------- */

.section {
  padding: 104px 0;
}

.section-head {
  max-width: 40em;
  margin-bottom: 56px;
}

.section-head h2,
.band h2 {
  font-size: var(--t-xl);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.section-head p {
  margin-top: 18px;
  font-size: var(--t-md);
  line-height: 1.55;
  color: var(--muted);
}

.rule-top {
  border-top: 1px solid var(--line);
}

/* ---------- Comparison ---------- */

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--t-base);
}

.compare th,
.compare td {
  text-align: left;
  vertical-align: top;
  padding: 20px 24px 20px 0;
  border-bottom: 1px solid var(--line);
}

.compare thead th {
  font-size: var(--t-sm);
  font-weight: 700;
  color: var(--muted);
  padding-top: 0;
}

.compare thead .col-us {
  color: var(--text);
}

.compare tbody th {
  font-weight: 700;
  width: 18%;
}

.compare .col-fax {
  color: var(--muted);
  width: 36%;
}

.compare tbody .col-us {
  font-weight: 600;
}

/* ---------- Steps: the tether ---------- */

.steps {
  position: relative;
}

/* The stem of the T, run down the page from ring to ring. */
.step::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 16px;
  bottom: -16px;
  width: 2px;
  background: var(--tether);
  opacity: 0.55;
}

.step:last-child::after {
  content: none;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  padding: 0 0 72px 64px;
}

.step:last-child {
  padding-bottom: 0;
}

/* Each stop is a ring; the last is the logo's mooring ring, heavier. */
.step::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 5px solid var(--tether);
  background: var(--paper);
  z-index: 1;
}

.step:last-child::before {
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-width: 10px;
}

.step-num {
  display: block;
  font-size: var(--t-sm);
  font-weight: 700;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  margin-bottom: 4px;
}

.step h3 {
  font-size: var(--t-lg);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.step-copy p {
  margin-top: 12px;
  color: var(--muted);
  max-width: 30em;
}

.step-copy p strong {
  color: var(--text);
  font-weight: 700;
}

/* Product fragments: small, flat views of the real screens. */
.frag {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: var(--t-sm);
  align-self: start;
}

.frag-title {
  font-size: var(--t-sm);
  font-weight: 700;
  margin-bottom: 12px;
}

.frag-note {
  margin-top: 12px;
  font-size: var(--t-xs);
  color: var(--muted);
}

.qa {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(4, auto);
  grid-auto-flow: column;
  gap: 4px 20px;
}

.qa div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--t-xs);
}

.qa div:nth-child(4n) {
  border-bottom: 0;
}

.qa dt {
  color: var(--text);
}

.qa dt b {
  font-weight: 700;
  margin-right: 4px;
}

.qa dd {
  flex: none;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--muted);
}

.qa .yes {
  background: var(--pass-bg);
  color: var(--pass);
}

.frag .rule {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.frag .rule:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.frag .rule:first-child {
  padding-top: 0;
}

.checks {
  display: grid;
  gap: 8px;
}

.check {
  display: flex;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.box {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 5px;
  background: var(--btn-bg);
  display: grid;
  place-items: center;
}

.box svg {
  width: 12px;
  height: 12px;
  stroke: var(--btn-fg);
}

.check b {
  display: block;
  font-weight: 700;
  line-height: 1.35;
}

.check span {
  display: block;
  font-size: var(--t-xs);
  color: var(--muted);
}

.fake-btn {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  min-height: 38px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: var(--t-sm);
}

.kv {
  display: grid;
}

.kv div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.kv div:first-child {
  padding-top: 0;
}

.kv div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.kv dt {
  color: var(--muted);
}

.kv dd {
  font-weight: 600;
  text-align: right;
}

.kv .num {
  font-variant-numeric: tabular-nums;
}

.frag-sub {
  font-size: var(--t-xs);
  color: var(--muted);
  margin: -8px 0 12px;
}

/* ---------- Band: who decides ---------- */

.band {
  background: var(--band-bg);
  color: var(--band-text);
  padding: 112px 0;
}

.band .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.band h2 {
  font-size: clamp(2.25rem, 1.4rem + 3.2vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.band p {
  font-size: var(--t-md);
  line-height: 1.6;
  color: var(--band-muted);
  max-width: 30em;
}

.band p + p {
  margin-top: 18px;
}

.band p strong {
  color: var(--band-text);
  font-weight: 700;
}

/* ---------- The record ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 48px;
}

.fact {
  padding: 24px 0 32px;
  border-top: 2px solid var(--text);
}

.fact h3 {
  font-size: var(--t-md);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.fact p {
  margin-top: 10px;
  color: var(--muted);
  font-size: var(--t-sm);
  line-height: 1.6;
}

/* ---------- Buyers ---------- */

.buyers .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 64px;
  align-items: start;
}

.buyers .section-head {
  margin-bottom: 32px;
}

.ticks {
  display: grid;
  gap: 14px;
  max-width: 34em;
}

.ticks li {
  position: relative;
  padding-left: 28px;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 3px solid var(--tether);
}

.item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.item-art {
  display: grid;
  place-items: center;
  aspect-ratio: 5 / 2;
  background: var(--tint);
  color: var(--muted);
}

.item-art span {
  font-size: var(--t-xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  opacity: 0.55;
}

.item-body {
  padding: 20px 22px 22px;
}

.badge {
  display: inline-block;
  font-size: var(--t-xs);
  font-weight: 700;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--text);
}

.item-name {
  margin-top: 12px;
  font-size: var(--t-md);
  font-weight: 800;
  letter-spacing: -0.015em;
}

.item-pack {
  font-size: var(--t-sm);
  color: var(--muted);
}

.item-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}

.item-price b {
  font-size: var(--t-lg);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.item-price span {
  font-size: var(--t-sm);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.item-note {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--tint);
  font-size: var(--t-xs);
  color: var(--muted);
}

.item-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.item-actions .fake-btn {
  margin-top: 0;
}

.fake-btn-quiet {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--line);
}

/* ---------- Closing call ---------- */

.close {
  padding: 120px 0 112px;
  text-align: center;
}

.anchor-ring {
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto 36px;
  color: var(--tether);
}

.close h2 {
  font-size: clamp(2.25rem, 1.3rem + 3.6vw, 4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.close p {
  margin: 22px auto 0;
  max-width: 32em;
  font-size: var(--t-md);
  color: var(--muted);
}

.close .actions {
  justify-content: center;
}

.close .mail {
  margin-top: 20px;
  font-size: var(--t-sm);
}

.mail a {
  font-weight: 700;
  text-underline-offset: 3px;
}

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

.site-foot {
  border-top: 1px solid var(--line);
  padding: 40px 0 48px;
  font-size: var(--t-sm);
  color: var(--muted);
}

.site-foot .wrap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 32px;
  align-items: start;
}

.site-foot .logo {
  width: 112px;
  height: auto;
}

.disclaimer {
  max-width: 44em;
}

.foot-meta {
  text-align: right;
}

.foot-meta a {
  font-weight: 700;
  color: var(--text);
  text-underline-offset: 3px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .hero .wrap,
  .band .wrap,
  .buyers .wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .hero .wrap > .order {
    max-width: 560px;
  }

  .buyers .item {
    max-width: 440px;
  }

  .step {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .frag {
    max-width: 520px;
  }

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

@media (max-width: 760px) {
  :root {
    --gutter: 16px;
    --t-xl: 1.875rem;
    --t-lg: 1.5rem;
    --t-md: 1.1875rem;
  }

  .nav-link {
    display: none;
  }

  .brand .logo {
    width: 128px;
  }

  .hero {
    padding: 28px 0 72px;
  }

  .hook {
    font-size: var(--t-base);
  }

  .section {
    padding: 72px 0;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .band {
    padding: 80px 0;
  }

  .close {
    padding: 88px 0 80px;
  }

  .order {
    padding: 18px 16px 14px;
  }

  .rule {
    margin: 0 -8px;
    padding: 8px;
  }

  .step {
    padding: 0 0 56px 48px;
  }

  .step::after {
    left: 11px;
    top: 12px;
    bottom: -12px;
  }

  .step::before {
    left: 0;
    width: 24px;
    height: 24px;
  }

  .step:last-child::before {
    left: -4px;
  }

  .frag {
    padding: 16px;
  }

  .qa {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-auto-flow: row;
  }

  .qa div:nth-child(4) {
    border-bottom: 1px solid var(--line);
  }

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

  /* The comparison becomes one block per row on phones. */
  .compare thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .compare tbody tr {
    display: block;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }

  .compare tbody th,
  .compare tbody .col-fax,
  .compare tbody .col-us {
    display: block;
    width: auto;
    padding: 0;
    border: 0;
  }

  .compare tbody th {
    margin-bottom: 8px;
  }

  .compare tbody td::before {
    display: block;
    font-size: var(--t-xs);
    font-weight: 700;
    color: var(--muted);
  }

  .compare tbody .col-fax::before {
    content: "By fax and email";
  }

  .compare tbody .col-us::before {
    content: "On TetherRx";
    margin-top: 10px;
  }

  .site-foot .wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .foot-meta {
    text-align: left;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  .site-head .nav,
  .actions {
    display: none;
  }

  body {
    background: #fff;
  }
}

/* 404 page reuses the closing block; its heading is the page's h1. */
.close-title {
  font-size: clamp(2.25rem, 1.3rem + 3.6vw, 4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
}
