/* Illumin — illuminreader.com
   Tokens are the 15 per theme from illumin/.agents/rules/design-system.md §2.
   Paper on :root, Ink under prefers-color-scheme: dark. No Sepia on the web. */

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("fonts/source-serif-4-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-500.ttf") format("truetype");
}

:root {
  color-scheme: light dark;
  --bg: #faf8f3;
  --bg2: #f1ede4;
  --card: #ffffff;
  --surface2: #f6f3ec;
  --fg: #23201b;
  --text2: #6e675c;
  --text3: #9a9284;
  --border: #e7e1d5;
  --hairline: #efeae0;
  --primary: #ac5f38;
  --primary-press: #94502e;
  --primary-hover: #8e4c2b;
  --primary-fg: #ffffff;
  --accent: rgba(172, 95, 56, 0.1);
  --highlight: rgba(172, 95, 56, 0.18);
  --destructive: #c0392b;

  /* The one dark moment on the page (install band): foreground in Paper, card in Ink. */
  --band-bg: #23201b;
  --band-fg: #faf8f3;
  --band-muted: #c9c2b6;
  --band-border: #4a443c;
  --band-input: #2c2822;
  --band-primary: #c98a62;
  --band-primary-hover: #dda57f;
  --band-primary-fg: #23201b;

  /* Phone frames used for the product captures. */
  --bezel: #23201b;
  --bezel-edge: transparent;

  --shadow-e1: 0 2px 7px rgba(35, 32, 27, 0.06);
  --shadow-e2: 0 4px 7px rgba(35, 32, 27, 0.08);
  --shadow-e3: 0 -4px 22px rgba(35, 32, 27, 0.14);
  --shadow-phone: 0 26px 64px rgba(35, 32, 27, 0.2), 0 4px 14px rgba(35, 32, 27, 0.1);
  --shadow-phone-sm: 0 18px 44px rgba(35, 32, 27, 0.16);

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --r6: 6px;
  --r10: 10px;
  --r16: 16px;
  --r22: 22px;
  --pill: 999px;

  --gutter: clamp(16px, 3vw, 32px);
  --measure: 1200px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg2: #0a0908;
    --card: #161412;
    --surface2: #201d1a;
    --fg: #ece7dd;
    --text2: #a39c90;
    --text3: #6e685d;
    --border: #302c28;
    --hairline: #262320;
    --primary: #c98a62;
    --primary-press: #b8794f;
    --primary-hover: #dda57f;
    --primary-fg: #1a1310;
    --accent: rgba(201, 138, 98, 0.14);
    --highlight: rgba(201, 138, 98, 0.22);
    --destructive: #e74c3c;

    --band-bg: #161412;
    --band-fg: #ece7dd;
    --band-muted: #a39c90;
    --band-border: #302c28;
    --band-input: #201d1a;
    --band-primary: #c98a62;
    --band-primary-hover: #dda57f;
    --band-primary-fg: #1a1310;

    --bezel: #0a0908;
    --bezel-edge: #302c28;

    --shadow-e1: 0 2px 7px rgba(0, 0, 0, 0.4);
    --shadow-e2: 0 4px 7px rgba(0, 0, 0, 0.5);
    --shadow-e3: 0 -4px 22px rgba(0, 0, 0, 0.5);
    --shadow-phone: 0 26px 64px rgba(0, 0, 0, 0.6), 0 4px 14px rgba(0, 0, 0, 0.4);
    --shadow-phone-sm: 0 18px 44px rgba(0, 0, 0, 0.5);
  }
}

/* ---------- Base ---------- */

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--primary);
  text-decoration: none;
}
a:hover {
  color: var(--primary-hover);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  margin: 0;
  text-wrap: pretty;
}

p {
  margin: 0;
  text-wrap: pretty;
}

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

button {
  font-family: inherit;
}

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

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text2);
}

.num {
  font-family: var(--mono);
  font-weight: 500;
}

.muted {
  color: var(--text2);
}

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

[hidden] {
  display: none !important;
}

/* Phone/desktop variants. Below 768px the hero shows the store badges; above it the CTA pair. */
.only-phone {
  display: none !important; /* beats .badge-row / .hero-actions, which are declared later */
}
@media (max-width: 767px) {
  .only-phone {
    display: flex !important;
  }
  .only-desktop {
    display: none !important;
  }
}

/* ---------- Buttons, chips, badges ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--pill);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color 120ms ease-out,
    border-color 120ms ease-out,
    color 120ms ease-out,
    transform 120ms ease-out;
}
.btn:active {
  transform: scale(0.97); /* springPress */
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
}
.btn-primary:hover {
  background: var(--primary-hover);
  color: var(--primary-fg);
}
.btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--fg);
}
.btn-secondary:hover {
  background: var(--accent);
  color: var(--fg);
}
.btn-ghost {
  background: transparent;
  color: var(--fg);
  padding-inline: 20px;
}
.btn-ghost:hover {
  background: var(--accent);
  color: var(--fg);
}
.btn-sm {
  height: 40px;
  padding: 0 20px;
  font-size: 15px;
}
.btn-block {
  display: flex;
  width: 100%;
  height: auto;
  min-height: 48px;
  padding-block: 12px;
  line-height: 1.25;
  font-size: 15.5px;
  text-align: center;
  white-space: normal;
}

.chip {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 15px;
  border-radius: var(--pill);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text2);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background-color 120ms ease-out,
    color 120ms ease-out,
    transform 120ms ease-out;
}
.chip:active {
  transform: scale(0.97);
}
.chip[aria-pressed="true"] {
  border-color: transparent;
  background: var(--primary);
  color: var(--primary-fg);
}
.chip-static {
  cursor: default;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 18px;
  border-radius: var(--r10);
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--fg);
  transition: border-color 120ms ease-out;
}
.badge:hover {
  border-color: var(--primary);
  color: var(--fg);
}
.badge-label {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.badge-label small {
  font-size: 10.5px;
  color: var(--text2);
}
.badge-label strong {
  font-size: 15px;
  font-weight: 600;
}
/* A store that isn't live yet: same shape, visibly not a link. site.js removes the class once
   the store URL is configured. */
.badge-soon,
.badge-soon:hover {
  border-style: dashed;
  border-color: var(--border);
  background: transparent;
  color: var(--text2);
  cursor: default;
}
.badge-soon .badge-label strong {
  font-weight: 500;
}
.soon-tag {
  margin-left: 4px;
  padding: 1px 7px;
  border-radius: var(--pill);
  background: var(--accent);
  color: var(--text2);
  font-size: 11px;
  font-weight: 500;
}
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--fg);
}
.brand:hover {
  color: var(--fg);
}
.mark {
  width: 34px;
  height: 34px;
  border-radius: var(--r10);
  background: #ac5f38; /* the mark's fixed terracotta-on-cream tile — the one hardcoded colour */
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.mark svg {
  display: block;
}
.mark-sm {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}
.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px clamp(14px, 2vw, 28px);
  font-size: 15px;
}
.nav-links a {
  color: var(--text2);
}
.nav-links a:hover {
  color: var(--fg);
}
.nav-links .btn {
  color: var(--primary-fg);
}
@media (max-width: 480px) {
  .nav-links a:not(.btn) {
    display: none;
  }
}

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

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 56px;
  align-items: center;
  padding-block: 64px 72px;
}
.hero-copy {
  min-width: 0;
}
.hero .eyebrow {
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text2);
  margin-bottom: 30px;
  max-width: 52ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.switcher {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text2);
}
.hero-visual {
  min-width: 0;
  display: flex;
  justify-content: center;
}
@media (max-width: 767px) {
  .hero {
    padding-block: 40px 56px;
    gap: 40px;
  }
  /* The eye lands on the illustration first: phone above the title on a phone. */
  .hero-visual {
    order: -1;
  }
}

/* ---------- Phone frames (real captures from the build, 393pt @2x) ---------- */

.phone {
  margin: 0;
  width: 270px;
  max-width: 100%;
  border-radius: 38px;
  background: var(--bezel);
  padding: 9px;
  box-shadow: var(--shadow-phone-sm);
  outline: 1px solid var(--bezel-edge);
}
.phone-lg {
  width: 326px;
  border-radius: 46px;
  padding: 11px;
  box-shadow: var(--shadow-phone);
}
.shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 30px;
  background: var(--bg);
}
.phone-lg .shot {
  border-radius: 36px;
}

/* ---------- Proof strip ---------- */

.proof {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--card);
}
.proof-claims {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  padding-block: 28px;
}
.proof-claims > div {
  padding: 8px 28px;
  border-right: 1px solid var(--border);
}
.proof-claims > div:first-child {
  padding-left: 0;
}
.proof-claims > div:last-child {
  padding-right: 0;
  border-right: 0;
}
.proof-lead {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 15px;
}
.proof-lead svg {
  stroke: var(--primary);
  flex: none;
}
.proof-claims p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text2);
}
@media (max-width: 767px) {
  .proof-claims > div {
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .proof-claims > div:last-child {
    border-bottom: 0;
  }
}
.proof-ratings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 20px;
  padding-block: 28px;
}
.rating {
  border: 1px solid var(--border);
  border-radius: var(--r16);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.rating .num {
  font-size: 30px;
}
.rating strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}
.rating span {
  font-size: 14px;
  color: var(--text2);
}
/* Switch the strip with data-proof="ratings" on <section class="proof"> once store ratings exist. */
.proof[data-proof="claims"] .proof-ratings,
.proof[data-proof="ratings"] .proof-claims {
  display: none;
}

/* ---------- Section headings ---------- */

.section {
  padding-block: 80px;
}
.section h2 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 40px;
}

/* ---------- How it works ---------- */

.how {
  padding-block: 80px 16px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 32px;
}
.step-shot {
  border: 1px solid var(--border);
  border-radius: var(--r16);
  background: var(--card);
  height: 300px;
  overflow: hidden;
  margin: 0 0 18px;
  box-shadow: var(--shadow-e1);
}
.step-shot .shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
/* Each step frames the part of its capture that shows the verb. */
.step-shot[data-capture="AddBookSheet"] .shot {
  object-position: 50% 78%;
}
.step-shot[data-capture="reader-pill-toolbar"] .shot {
  object-position: 50% 92%;
}
.step-shot[data-capture="selection-menu"] .shot {
  object-position: 50% 12%;
}
.step-num {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  color: var(--primary);
  margin-bottom: 7px;
}
.step-lead {
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 6px;
}
.steps p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text2);
}

/* ---------- Live demo (hidden until an endpoint is configured in site.js) ---------- */

.demo {
  padding-block: 72px 8px;
}
.demo-card {
  border: 1px solid var(--border);
  border-radius: var(--r22);
  background: var(--card);
  padding: clamp(24px, 3vw, 40px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 36px;
  align-items: start;
  box-shadow: var(--shadow-e1);
}
.demo-card .eyebrow {
  margin-bottom: 14px;
}
.demo-card h2 {
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.2;
  margin-bottom: 10px;
}
.demo-intro {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text2);
  margin-bottom: 20px;
}
.demo-passage {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.75;
}
.demo-sentence {
  cursor: pointer;
  border-radius: 3px;
  padding: 1px 2px;
  background: none;
  border: 0;
  font: inherit;
  color: inherit;
  text-align: left;
}
.demo-sentence:hover {
  background: var(--accent);
}
.demo-sentence[aria-pressed="true"] {
  background: var(--highlight);
}
.demo-passage .rest {
  color: var(--text2);
}
.demo-result {
  min-width: 0;
  border-radius: var(--r16);
  border: 1px solid var(--border);
  background: var(--bg);
  padding: 22px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
}
.demo-hint {
  margin: auto;
  text-align: center;
  color: var(--text2);
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 30ch;
}
.demo-state {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.demo-state .row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.demo-state .btn {
  height: 44px;
  padding: 0 20px;
  font-size: 15px;
}
.demo-thinking {
  margin: auto;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text2);
  font-size: 14.5px;
}
.spinner {
  width: 16px;
  height: 16px;
  border-radius: var(--pill);
  border: 2px solid var(--border);
  border-top-color: var(--primary);
  display: inline-block;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.demo-answer {
  font-size: 15px;
  line-height: 1.62;
}
.demo-image {
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  min-height: 150px;
  display: block;
  width: 100%;
  object-fit: cover;
}
.demo-foot {
  font-size: 13px;
  color: var(--text2);
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

/* ---------- Feature sections ---------- */

.features {
  padding-block: 72px;
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 6vw, 88px);
}
.feature {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 48px;
  align-items: center;
}
.feature-copy {
  min-width: 0;
}
.feature h3 {
  font-size: clamp(26px, 2.8vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}
.feature p {
  font-size: 17px;
  line-height: 1.62;
  color: var(--text2);
  max-width: 46ch;
}
.feature-visual {
  min-width: 0;
  display: flex;
  justify-content: center;
}
@media (min-width: 768px) {
  .feature-flip .feature-visual {
    order: -1;
  }
}

/* ---------- The rule ---------- */

.rule {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.rule .wrap {
  max-width: 960px;
  padding-block: 72px;
  text-align: center;
}
.rule p {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.45;
  color: var(--fg);
}

/* ---------- Pricing ---------- */

.pricing h2 {
  max-width: 20ch;
}
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(310px, 100%), 1fr));
  gap: 24px;
  align-items: start;
}
.plan {
  border: 1px solid var(--border);
  border-radius: var(--r16);
  background: var(--card);
  padding: 30px;
  box-shadow: var(--shadow-e1);
}
.plan-plus {
  border-color: var(--primary);
  box-shadow: var(--shadow-e2);
}
.plan-name {
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 16px;
}
.plan-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
}
.price {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 34px;
  margin-bottom: 6px;
}
.price-sub {
  font-size: 14.5px;
  color: var(--text2);
  margin-bottom: 26px;
}
.plan-rows {
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-size: 15px;
  line-height: 1.5;
}
.plan-rows li {
  display: flex;
  gap: 11px;
  list-style: none;
}
.plan-rows {
  padding: 0;
  margin: 0;
}
.plan-rows svg {
  flex: none;
  margin-top: 2px;
  stroke: var(--primary);
}
.plan .btn-block {
  margin-top: 28px;
}
.plan-fine {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text2);
  margin-top: 12px;
}
.plan-plus[data-plan="yearly"] .when-monthly,
.plan-plus[data-plan="monthly"] .when-yearly {
  display: none;
}

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

.faq {
  background: var(--card);
  border-top: 1px solid var(--border);
}
.faq .wrap {
  max-width: 820px;
}
.faq h2 {
  margin-bottom: 36px;
}
.faq-list {
  border-bottom: 1px solid var(--border);
}
.faq-item {
  border-top: 1px solid var(--border);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-weight: 600;
  font-size: 17px;
  color: var(--fg);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  color: var(--text2);
  font-weight: 400;
  flex: none;
}
.faq-item[open] summary::after {
  content: "–";
}
.faq-item p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text2);
  margin: 0 0 22px;
  max-width: 62ch;
}

/* ---------- Install band ---------- */

.install {
  background: var(--band-bg);
  color: var(--band-fg);
  /* In Ink the band and the FAQ above share the card colour; the hairline keeps the edge. */
  border-top: 1px solid var(--band-border);
}
.install .wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 48px;
  align-items: center;
  padding-block: 80px;
}
.install h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
  color: var(--band-fg);
}
.install .lede-sm {
  font-size: 17px;
  color: var(--band-muted);
  margin-bottom: 30px;
}
.install-ways {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.qr-tile {
  width: 124px;
  height: 124px;
  border-radius: var(--r10);
  background: #faf8f3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.qr-tile svg,
.qr-tile img {
  width: 100%;
  height: 100%;
  display: block;
}
.qr span {
  font-size: 13.5px;
  color: var(--band-muted);
}
.qr a {
  font-size: 12.5px;
  color: var(--band-muted);
}
.qr a:hover {
  color: var(--band-fg);
}
.install .badge-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.install .badge {
  background: transparent;
  border-color: var(--band-border);
  color: var(--band-fg);
}
.install .badge:hover {
  border-color: var(--band-primary);
}
.install .badge-label small {
  color: var(--band-muted);
}
.install .badge-soon,
.install .badge-soon:hover {
  border-color: var(--band-border);
  color: var(--band-muted);
}
@media (max-width: 767px) {
  .qr {
    display: none; /* a phone cannot scan itself; badges do the job */
  }
}
.textme {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--band-border);
  max-width: 420px;
}
.textme label {
  display: block;
  font-size: 14px;
  color: var(--band-muted);
  margin-bottom: 10px;
}
.textme form {
  display: flex;
  gap: 10px;
}
.textme input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 16px;
  border-radius: var(--pill);
  border: 1px solid var(--band-border);
  background: var(--band-input);
  color: var(--band-fg);
  font: inherit;
  font-size: 15px;
}
.textme input:focus-visible {
  outline-color: var(--band-primary);
}
.textme .btn {
  height: 48px;
  padding: 0 22px;
  background: var(--band-primary);
  color: var(--band-primary-fg);
  font-weight: 600;
  font-size: 15px;
}
.textme .btn:hover {
  background: var(--band-primary-hover);
}
.textme-note {
  font-size: 12.5px;
  color: var(--band-muted);
  margin-top: 10px;
  min-height: 1.4em;
}
.install .phone {
  background: #000;
  outline-color: var(--band-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
/* ---------- Footer ---------- */

.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 36px;
  padding-block: 56px 28px;
}
@media (min-width: 960px) {
  .footer-grid {
    grid-template-columns: 1.5fr repeat(4, 1fr);
  }
}
.footer-grid > div {
  min-width: 0;
}
.footer .brand {
  margin-bottom: 12px;
}
.footer .wordmark {
  font-size: 19px;
}
.footer-tag {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text2);
  max-width: 32ch;
}
.footer-head {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 14px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
}
.footer-links a {
  color: var(--text2);
}
.footer-links a:hover {
  color: var(--fg);
}
.footer-links .badge {
  height: 42px;
  padding: 0 14px;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--fg);
  align-self: flex-start;
}
.footer-bottom {
  padding-block: 0 40px;
}
.footer-bottom > div {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text2);
}
