/* BookByText marketing stylesheet — the PUBLIC face (item 35).
 *
 * The public pages used to load /app.css, then the dark navy BACKOFFICE theme, so a
 * salon owner comparing us to Square landed on what looked like a hacker console. Item
 * 35 gave the marketing identity its own file: light, quiet, one accent, no dependency
 * on app.css in either direction. Item 42 then brought the backoffice over to this same
 * light identity — the whole product is one thing before and after login now — but the
 * SHEET split stands: backoffice pages load app.css, these pages load site.css, never
 * both, because the two audiences still read different pages (a landing page read once
 * in daylight vs a dense tool checked between clients). Shared values (the palette, the
 * card shadow, Fraunces) are copied between the sheets, not imported.
 *
 * The brand: the Fraunces italic wordmark and the amber accent family — #B4540A, the
 * print-weight darkening of the original backoffice amber (#F4A94B, which was tuned
 * for a navy panel and washes out on paper; app.css uses #B4540A now too).
 *
 * Pages load EITHER app.css (backoffice) or site.css (public), never both. Class names
 * here are prefixed (.m-*, .band, .btn, .tier-*, .lf-*) so nothing collides even in a
 * grep. Page-specific rules stay in each page's own <style> block, same as everywhere
 * else in this codebase: this file holds what more than one public page needs.
 *
 * THE TWO WIDTHS: same discipline as app.css, and the same two numbers only —
 * 768 (tablet portrait and every phone: tap targets grow, fields stop triggering
 * iOS zoom-on-focus) and 560 (a phone held upright; design to 375). index.html's old
 * ad-hoc 760px query is retired by this file. A layout that seems to need a third
 * width wants an intrinsically responsive rule (flex-wrap, auto-fit grid) instead.
 */

:root {
  --paper: #FFFFFF;
  --paper-soft: #F7F5F1;      /* warm off-white for alternating bands */
  --ink: #1C2536;             /* near-navy: the backoffice ground, promoted to text */
  --ink-soft: #4B5568;
  --accent: #B4540A;          /* the brand amber at print weight — AA on white */
  --accent-deep: #8F4108;     /* hover / active */
  --accent-wash: #FBF3EA;     /* tinted fills: badges, notes, featured card */
  --line: rgba(28, 37, 54, 0.14);
  --line-soft: rgba(28, 37, 54, 0.08);
  --radius-sm: 8px;
  --radius-lg: 14px;
  --wrap-max: 1060px;
  --gutter: 20px;
  --tap: 44px;                /* the smallest thing a finger hits reliably */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: ui-sans-serif, -apple-system, 'Segoe UI', system-ui, Arial, sans-serif;

  /* --- Motion, depth and mixable colour (item 51) ---------------------------
   * The public pages had no transition, no gradient and two shadows on the whole site,
   * which is why a shop owner read them as a template. These tokens are the vocabulary
   * that fixes it; every rule that uses them animates opacity and transform ONLY, because
   * those two are the compositor's and a landing page that repaints on scroll on a
   * four-year-old iPad is worse than a flat one. */

  /* One curve, three speeds: a press, a hover and a reveal are not the same event. */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-press: 90ms;
  --dur-hover: 180ms;
  --dur-reveal: 620ms;

  /* Elevation as a scale rather than one shadow doing three jobs. Each step is a tight
     contact shadow plus a wide ambient one — the contact shadow is what stops a card
     looking pasted on. --shadow-card is kept as an alias: pricing.html's featured tier
     and index.html's demo phone both name it. */
  --shadow-1: 0 1px 2px rgba(28, 37, 54, 0.05), 0 4px 12px rgba(28, 37, 54, 0.045);
  --shadow-2: 0 1px 2px rgba(28, 37, 54, 0.06), 0 10px 28px rgba(28, 37, 54, 0.07);
  --shadow-3: 0 2px 4px rgba(28, 37, 54, 0.06), 0 22px 54px rgba(28, 37, 54, 0.10);
  --shadow-card: var(--shadow-2);
  --shadow-accent: 0 1px 2px rgba(143, 65, 8, 0.14), 0 8px 20px rgba(180, 84, 10, 0.16);

  /* The brand colours as channels, so a wash, a paper grain and a highlighter mix from
     the one value instead of three hand-typed rgba() near-misses that drift apart. */
  --accent-rgb: 180, 84, 10;
  --ink-rgb: 28, 37, 54;

  --dot: rgba(var(--ink-rgb), 0.055);   /* the faint printed-paper grain */
  --dot-gap: 22px;
  --band-arch: 56px;                    /* how far a curved band edge rises */

  /* Status colours, lifted out of .lf-status where they were hard-coded. index.html's
     hero mockup needs the same green for its confirmed-booking card, and two copies of
     #1D7A46 is how a brand colour starts drifting. Both are AA on their own wash. */
  --ok: #1D7A46;
  --ok-wash: #EAF6EF;
  --err: #B3261E;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.m-wrap { width: 100%; max-width: var(--wrap-max); margin: 0 auto; padding: 0 var(--gutter); }
/* Legal / long-form pages read best a good deal narrower than a landing page. */
.m-wrap--narrow { max-width: 780px; }

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

a { color: var(--accent); transition: color var(--dur-hover) var(--ease); }
a:hover { color: var(--accent-deep); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* --- Type ------------------------------------------------------------------ */

h1, h2, h3 { margin: 0; color: var(--ink); }
h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: -0.015em;
}
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h3 { font-size: 17px; font-weight: 700; }

/* The brand wordmark — same Fraunces italic as the backoffice, so the two halves of the
   product are recognisably one thing even though their themes are opposites. */
.wordmark {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 21px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark:hover { color: var(--ink); }
.wordmark .tld { color: var(--accent); }

/* Small-caps section label above a heading. */
.m-eyebrow {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 10px;
}
/* A short amber rule before the label. Enough to make a section opener look drawn rather
   than typed, and it costs no markup. */
.m-eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  vertical-align: 0.28em;
  margin-right: 10px;
}

.m-lede { color: var(--ink-soft); font-size: 18px; line-height: 1.6; margin: 14px 0 0; }

/* --- Header + footer ------------------------------------------------------- */

.m-header {
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper);
}
.m-header .m-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  flex-wrap: wrap;
  padding-top: 16px;
  padding-bottom: 16px;
}
.m-nav { display: flex; align-items: center; gap: 4px 6px; flex-wrap: wrap; }
.m-nav a {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 7px 11px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color var(--dur-hover) var(--ease), background var(--dur-hover) var(--ease);
}
.m-nav a:hover { color: var(--ink); background: var(--paper-soft); }
.m-nav a[aria-current="page"] { color: var(--accent); }
.m-nav a.btn { margin-left: 6px; }
/* Specificity, not tidiness: `.m-nav a` (0,1,1) outweighs `.btn-primary` (0,1,0), so
   without these two lines the nav's CTA renders grey-on-amber and its hover swaps the
   amber for the plain link-hover wash. The CTA must stay a button wherever it sits. */
.m-nav a.btn-primary { color: #FFF; }
.m-nav a.btn-primary:hover { color: #FFF; background: var(--accent-deep); }

.m-footer {
  border-top: 1px solid var(--line-soft);
  background: var(--paper-soft);
  margin-top: 72px;
  padding: 36px 0 44px;
  font-size: 14px;
  color: var(--ink-soft);
}
.m-footer .m-wrap {
  display: flex;
  justify-content: space-between;
  gap: 14px 28px;
  flex-wrap: wrap;
  align-items: baseline;
}
.m-footer nav { display: flex; gap: 4px 18px; flex-wrap: wrap; }
.m-footer a { color: var(--ink-soft); text-decoration: none; transition: color var(--dur-hover) var(--ease); }
.m-footer a:hover { color: var(--accent); }
.m-footer .fine { flex-basis: 100%; font-size: 13px; color: var(--ink-soft); margin: 4px 0 0; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  padding: 11px 20px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  /* A button that moves 1px under the cursor and snaps back under the finger is the
     cheapest signal on the page that this thing is alive. transform only — no layout. */
  transition: background var(--dur-hover) var(--ease),
              border-color var(--dur-hover) var(--ease),
              color var(--dur-hover) var(--ease),
              box-shadow var(--dur-hover) var(--ease),
              transform var(--dur-press) var(--ease);
}
.btn:hover { border-color: var(--ink-soft); color: var(--ink); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #FFF; box-shadow: var(--shadow-accent); }
.btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #FFF; }
.btn:disabled { opacity: 0.55; cursor: default; transform: none; box-shadow: none; }
.btn-lg { font-size: 16px; padding: 13px 26px; }

/* --- Bands and sections ----------------------------------------------------
 * A band is a full-width background stripe; the wrap inside it keeps the content on the
 * shared column. Alternating paper / paper-soft is what gives the page its rhythm without
 * a single decorative image. */

.band { padding: 72px 0; position: relative; }
.band--soft { background: var(--paper-soft); }
.band--tight { padding: 44px 0; }
.band-head { max-width: 640px; margin-bottom: 40px; }

/* A band may arch UP into the band above it, so a seam is a lift rather than a ruled
 * line. The arch is a pseudo-element with nothing in it, painted in this band's own
 * colour and pulled above its top edge — so it can never clip a heading, which is the
 * failure mode of every clip-path and mask version of this. border-radius does the
 * curve: no SVG, no data URI, no image, one composited paint.
 *
 * UP, not down, and that is not a preference. Bands are siblings in normal flow, so a
 * later sibling paints over an earlier one: an ::after reaching DOWN would be painted
 * UNDER the next band and simply vanish. Every arch is an ::before on the LOWER band.
 *
 * Two seams only. Five curved edges reads as a template, which is the thing we are
 * getting away from. */
.band--arch::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;                                 /* no negative overhang: nothing can scroll sideways */
  top: calc(var(--band-arch) * -1 + 1px);   /* the 1px overlap kills the subpixel hairline */
  height: var(--band-arch);
  background-color: inherit;                /* COLOUR only, so one rule serves soft-over-white
                                               and white-over-soft alike */
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  pointer-events: none;
}

/* The hero's ground: two stops of the brand amber over paper, the bloom sitting behind
 * where index.html's mockup lands. pricing.html's hero is .band--hero too and gets the
 * same ground on purpose — that shared warmth is what stops the two pages reading as
 * two different sites. */
.band--hero {
  padding: 88px 0 64px;
  background-color: var(--paper);
  background-image:
    radial-gradient(120% 78% at 78% 4%,
        rgba(var(--accent-rgb), 0.11) 0%,
        rgba(var(--accent-rgb), 0.035) 44%,
        rgba(var(--accent-rgb), 0) 72%),
    linear-gradient(180deg,
        var(--accent-wash) 0%,
        rgba(var(--accent-rgb), 0.02) 48%,
        var(--paper) 100%);
}
/* A printed-paper grain over the wash, masked so it fades out down the band — at 5.5%
 * ink it is a texture nobody should be able to name. Its own layer because only this one
 * is masked. NOTE this occupies ::before, the same slot .band--arch uses: the hero is
 * never arched (the band BELOW it does the arching) and must not become so. */
.band--hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(var(--dot) 1px, transparent 1px);
  background-size: var(--dot-gap) var(--dot-gap);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 62%);
          mask-image: linear-gradient(to bottom, #000 0%, transparent 62%);
}
.band--hero .m-wrap { position: relative; z-index: 1; }

/* --- Cards ------------------------------------------------------------------ */

.m-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  box-shadow: var(--shadow-1);
}

/* Numbered how-it-works steps. auto-fit so the row bends at every width instead of
   snapping at one — three across on a laptop, one column on a phone, no breakpoint. */
.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-wash);
  color: var(--accent);
  font-weight: 800;
  font-size: 14.5px;
  margin-bottom: 14px;
}
.step-grid h3 { margin-bottom: 8px; }
.step-grid p { margin: 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; }

/* .step-card is .m-card plus the two things only a step wants: the clipping that keeps
 * the ghost numeral inside the card, and the hover lift. Both are DELIBERATELY not on
 * .m-card — that class is also the lead form and the demo settings panel, where
 * overflow:hidden would clip a focus ring and a hover lift would move a field out from
 * under the cursor mid-sentence. */
.step-card { position: relative; overflow: hidden; }
.step-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--accent); }

.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--accent-wash);
  color: var(--accent);          /* the SVGs stroke currentColor, so this one line recolours them */
  margin-bottom: 16px;
}
.step-icon svg { width: 22px; height: 22px; display: block; }

/* Inside a step card the ordinal stops being a pill and becomes the watermark behind the
 * card. The ELEMENT stays either way: a screen reader reading "1, We wire it up for you"
 * is the correct reading, and the pill definition above is still what any future
 * non-step use gets. */
.step-card .step-num {
  position: absolute;
  top: -26px;
  right: 6px;
  width: auto;
  height: auto;
  margin: 0;
  background: none;
  border-radius: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 128px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

/* Feature checklist — the "every plan includes" list. */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  padding: 7px 0 7px 30px;
  position: relative;
  font-size: 15px;
  color: var(--ink);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  top: 7px;
  color: var(--accent);
  font-weight: 800;
}

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

.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  align-items: stretch;
}
.tier-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 26px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-1);
  transition: transform var(--dur-hover) var(--ease),
              box-shadow var(--dur-hover) var(--ease),
              border-color var(--dur-hover) var(--ease);
}
/* Lift on hover is scoped to the cards that are BROCHURE — a tier, a numbered step. It
   deliberately never reaches bare .m-card, because .m-card is also the lead form and the
   demo settings panel, and a form that jumps while you are typing in it is a bug. */
.tier-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--accent); }
.tier-card--featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-2);
}
.tier-card--featured:hover { box-shadow: var(--shadow-3); }
.tier-flag {
  align-self: flex-start;
  background: var(--accent-wash);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 12px;
}
.tier-name { font-family: var(--font-display); font-weight: 600; font-size: 22px; }
.tier-for { color: var(--ink-soft); font-size: 14px; margin: 4px 0 18px; min-height: 2.6em; }
.tier-price { font-size: 15px; color: var(--ink-soft); }
.tier-price strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.tier-setup { font-size: 14px; color: var(--ink-soft); margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line-soft); }

/* The tier comparison table. Wide content scrolls inside its own box — the page never
   scrolls sideways. Same .table-scroll discipline as the backoffice, local name. */
.compare-scroll { overflow-x: auto; overscroll-behavior-x: contain; }
.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  background: var(--paper);
}
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid var(--line-soft); }
.compare thead th {
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.compare thead th:first-child { text-align: left; }
.compare td { color: var(--ink); }
.compare td + td { text-align: center; white-space: nowrap; }
.compare tr:last-child td { border-bottom: none; }
.compare .yes { color: var(--accent); font-weight: 800; }
.compare .no { color: var(--line); }

/* --- Callout note (status boxes, honesty footnotes) ------------------------- */

.m-note {
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--paper);
  padding: 14px 18px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.m-note strong { color: var(--ink); }

/* --- Lead form --------------------------------------------------------------- */

.lf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.lf-field--wide { grid-column: 1 / -1; }
.lf-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.lf-field .optional { color: var(--ink-soft); font-weight: 400; }
.lf-field input, .lf-field textarea {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  padding: 11px 12px;
  font-size: 15px;
  font-family: var(--font-body);
  outline: none;
}
.lf-field input:focus, .lf-field textarea:focus { border-color: var(--accent); }
.lf-field textarea { resize: vertical; min-height: 88px; }
.lf-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.lf-status { font-size: 14px; line-height: 1.5; }
.lf-status.ok { color: var(--ok); font-weight: 600; }
.lf-status.err { color: var(--err); }

/* --- Reveal on scroll --------------------------------------------------------
 * The rule that HIDES anything is gated on .reveal-ready, which the page's own script
 * puts on <html> only after it has proved it can do the un-hiding: IntersectionObserver
 * present, reduced motion off. If the script 404s, throws above that line, or runs in a
 * browser without IO, nothing is ever hidden and the page is an ordinary page. Content
 * is never hidden by CSS alone — that is the whole design of this utility.
 *
 * The hook is an ATTRIBUTE, not a class, on purpose: several tests match markup with an
 * exact class="..." regex (p.hero-fine, p.compare-note), and appending a reveal class to
 * one of those would fail them. An attribute cannot collide. */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-reveal) var(--ease),
              transform var(--dur-reveal) var(--ease);
}
.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }
/* Cards in a row arrive a beat apart. Two steps only — longer and it reads as a loading
   spinner on a page the visitor is already reading. */
.reveal-ready [data-reveal][data-reveal-delay="1"] { transition-delay: 90ms; }
.reveal-ready [data-reveal][data-reveal-delay="2"] { transition-delay: 180ms; }

/* --- Highlighter mark ---------------------------------------------------------
 * An amber highlighter under one phrase of a heading. It is a background-image on the
 * span ITSELF, not a pseudo-element: a z-index:-1 pseudo would drop behind .band--hero's
 * own background (the band paints one but is not a stacking context) and disappear.
 * Painting order puts the glyphs on top for free, and box-decoration-break keeps the
 * stroke whole if the phrase wraps across two lines. */
.mark {
  background-image: linear-gradient(100deg,
      rgba(var(--accent-rgb), 0) 0%,
      rgba(var(--accent-rgb), 0.30) 5%,
      rgba(var(--accent-rgb), 0.38) 50%,
      rgba(var(--accent-rgb), 0.26) 95%,
      rgba(var(--accent-rgb), 0) 100%);
  background-repeat: no-repeat;
  background-size: 100% 0.34em;
  background-position: 0 88%;
  padding-bottom: 0.05em;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}

/* --- Long-form document pages (privacy / terms / SMS program) ---------------- */

.m-doc { padding-top: 44px; }
.m-doc-updated { color: var(--ink-soft); font-size: 13.5px; margin: 10px 0 28px; }
.m-doc-body {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 34px;
}
.m-doc-body h2 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ink);
  margin: 30px 0 10px;
}
.m-doc-body h2:first-child { margin-top: 0; }
.m-doc-body p, .m-doc-body li { color: var(--ink-soft); font-size: 15px; line-height: 1.75; }
.m-doc-body p { margin: 0 0 12px; }
.m-doc-body ul { padding-left: 22px; margin: 8px 0 12px; }
.m-doc-body strong { color: var(--ink); }

/* --- THE TWO WIDTHS ---------------------------------------------------------- */

@media (max-width: 768px) {
  :root { --gutter: 16px; --band-arch: 40px; }
  h1 { font-size: 34px; }
  h2 { font-size: 25px; }
  .m-lede { font-size: 16.5px; }
  .band { padding: 52px 0; }
  .band--hero { padding: 56px 0 52px; }

  /* Anything a finger has to hit. Height only, same reasoning as app.css. */
  .btn, .m-nav a { min-height: var(--tap); }
  .m-nav a { display: inline-flex; align-items: center; }
  /* iOS Safari zooms the page in on focusing a field under 16px and never zooms back. */
  .lf-field input, .lf-field textarea { min-height: var(--tap); font-size: 16px; }

  .compare-scroll { padding-bottom: 4px; }
  .compare td, .compare th { white-space: nowrap; }
  .compare td:first-child, .compare th:first-child { white-space: normal; min-width: 200px; }
}

@media (max-width: 560px) {
  :root { --band-arch: 28px; }
  .band { padding: 40px 0; }
  .band--hero { padding: 40px 0; }
  .band--tight { padding: 32px 0; }
  .step-card .step-num { font-size: 104px; top: -20px; }
  h1 { font-size: 29px; }
  .m-doc-body { padding: 22px 18px; }
  .lf-grid { grid-template-columns: 1fr; }
  .lf-actions .btn { width: 100%; }
  .m-footer .m-wrap { flex-direction: column; gap: 10px; }
}

/* This block covered animation only, which was enough when the sheet had no transitions
   at all. It now has to neutralise the transitions AND the hover transforms too — a lift
   that happens instantly is still a lift. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .btn:hover, .step-card:hover, .tier-card:hover { transform: none; }
}
