/* Maxie website, site v1 (26 Sep 2026).
   Direction: white ground, one confident blue for actions and heading accents, real
   screenshots doing the work. The app's activity colours (feed peach, nappy sage, sleep
   lilac-blue, growth sky) appear only as small accents in feature rows.
   Type: Bricolage Grotesque for headings (a little character, human rather than
   corporate), Figtree for body and UI (open, readable at 16 px on a phone). */

:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --sunken: #F6F6F8;
  --ink: #151824;
  --ink-soft: #5A5C66;
  --line: #E4E4EA;
  --line-strong: #CFCFD6;

  --primary: #0066EE;          /* buttons, links in body copy, heading accent words */
  --primary-hover: #1943CF;
  --primary-soft: #E8F0FE;
  --primary-ink: #0052C2;

  /* kept for older pages: the accent is now the primary blue */
  --accent: var(--primary);
  --accent-soft: var(--primary-soft);
  --accent-ink: var(--primary-ink);

  /* activity colours, from the app: meaning only */
  --feed: #F4B183;   --feed-soft: #FDEBDD;
  --breast: #B9A7E6; --breast-soft: #EEE9F9;
  --nappy: #9CC5A1;  --nappy-soft: #E6F2E7;
  --sleep: #A7B3D6;  --sleep-soft: #E9ECF7;
  --growth: #8FB8DE; --growth-soft: #E4EFF9;
  --ok: #3E7A55;
  --danger: #B4442F;

  --radius-card: 12px;
  --radius-btn: 999px;
  --shadow-sm: 0 1px 2px rgba(21,24,36,.06);
  --shadow-md: 0 6px 20px rgba(21,24,36,.08);

  --wrap: 1140px;
  --sans: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --head: "Bricolage Grotesque", "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: var(--head);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, picture { max-width: 100%; display: block; }
img { height: auto; }
svg { flex: none; width: 1.15em; height: 1.15em; vertical-align: -0.2em; stroke: currentColor; }

h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4.1rem); }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .45vw, 1.35rem); line-height: 1.25; letter-spacing: -0.01em; }
h4 { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin: 0 0 .4em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.hl { color: var(--primary); }
.h1-line { display: block; }
@media (max-width: 380px) { .hero h1 { font-size: 2.2rem; } }

a { color: var(--primary-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--primary-hover); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.tnum { font-variant-numeric: tabular-nums; }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 .8rem; }
.lede { font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); color: var(--ink-soft); max-width: 58ch; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 60; background: var(--ink); color: #fff; padding: 12px 18px; }
.skip:focus { left: 0; }
[hidden] { display: none !important; }
.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; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 40; background: #FFFFFF; border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand {
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--head); font-size: 1.3rem;
  font-weight: 700; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; padding: 8px 4px; margin-left: -4px;
}
.brand:hover { color: var(--ink); }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 12px; white-space: nowrap;
  text-decoration: none; font-size: .98rem; font-weight: 500; color: var(--ink);
}
.site-nav a:hover { color: var(--primary); }
.site-nav a[aria-current="page"] { color: var(--primary); font-weight: 600; }
.site-nav .nav-cta {
  background: var(--primary); color: #fff; font-weight: 600; margin-left: 10px; padding: 10px 18px; border-radius: var(--radius-btn);
}
.site-nav .nav-cta:hover { background: var(--primary-hover); color: #fff; }
@media (max-width: 640px) {
  .site-head .wrap { gap: 6px; }
  .site-nav a { padding: 10px 8px; font-size: .92rem; }
  .site-nav .nav-cta { margin-left: 4px; padding: 10px 14px; }
  .site-nav .nav-hide-sm { display: none; }
}
@media (max-width: 340px) { .site-nav .nav-hide-xs { display: none; } }
@media (max-width: 400px) { .brand { font-size: 1.15rem; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px; border-radius: var(--radius-btn);
  font-family: var(--sans); font-size: 1.04rem; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: background-color .15s ease, color .15s ease;
}
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; }
.btn-primary[disabled] { background: #8FA8D6; cursor: not-allowed; }
.btn-secondary { background: #fff; color: var(--primary-ink); border-color: var(--primary); }
.btn-secondary:hover { background: var(--primary-soft); color: var(--primary-ink); }
.btn-quiet { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 4px; font-weight: 600; color: var(--primary-ink); text-decoration: none; }
.btn-quiet:hover { text-decoration: underline; }
.btn-quiet svg { width: 18px; height: 18px; }

/* ---------- sections ---------- */
section { padding: clamp(56px, 7vw, 100px) 0; }
.band { background: var(--sunken); }
.sec-head { max-width: 60ch; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head p { color: var(--ink-soft); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 24px; }
.card p { max-width: 68ch; }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.icon-badge { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--primary-soft); margin-bottom: 16px; }
.icon-badge svg { width: 22px; height: 22px; stroke: var(--primary-ink); }
.icon-badge.is-breast { background: var(--breast-soft); }
.icon-badge.is-nappy { background: var(--nappy-soft); }
.icon-badge.is-growth { background: var(--growth-soft); }
.icon-badge.is-breast svg, .icon-badge.is-nappy svg, .icon-badge.is-growth svg { stroke: var(--ink); }

/* ---------- hero ---------- */
.hero { padding-top: clamp(36px, 5vw, 72px); padding-bottom: clamp(44px, 6vw, 88px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: .4em; text-wrap: balance; }
.hero .lede { margin-bottom: 0; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 28px; }
.hero-note { margin-top: 16px; font-size: .94rem; color: var(--ink-soft); }
.hero-media { position: relative; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-media { justify-self: center; } }

/* ---------- real framed screenshots (bezel is in the image) ---------- */
.shot { width: var(--sw, 300px); max-width: 100%; margin: 0 auto; filter: drop-shadow(0 18px 30px rgba(21,24,36,.14)); }
.shot img { width: 100%; height: auto; }
.hero .shot { --sw: 340px; }
@media (max-width: 900px) { .hero .shot { --sw: 280px; } }
@media (max-width: 420px) { .shot { --sw: 250px; } .hero .shot { --sw: 260px; } }

/* ---------- feature rows ---------- */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.row + .row { margin-top: clamp(56px, 7vw, 96px); }
.row .row-media { display: flex; justify-content: center; }
.row.flip .row-text { order: 2; }
.row.flip .row-media { order: 1; }
.row-text h2 { font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.3rem); }
.row-text > p { color: var(--ink-soft); max-width: 48ch; }
@media (max-width: 900px) {
  .row { grid-template-columns: 1fr; }
  .row.flip .row-text, .row.flip .row-media { order: initial; }
}
/* the activity colour is the only accent in a row: a short bar and the tag */
.feat-tag {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink);
}
.feat-tag::before { content: ""; width: 22px; height: 6px; border-radius: 3px; background: var(--dot, var(--primary)); }
.is-feed { --dot: var(--feed); --dot-soft: var(--feed-soft); }
.is-breast { --dot: var(--breast); --dot-soft: var(--breast-soft); }
.is-nappy { --dot: var(--nappy); --dot-soft: var(--nappy-soft); }
.is-sleep { --dot: var(--sleep); --dot-soft: var(--sleep-soft); }
.is-growth { --dot: var(--growth); --dot-soft: var(--growth-soft); }
.feat-block ul { margin: 18px 0 0; padding: 0; list-style: none; }
.feat-block li { position: relative; padding-left: 24px; margin-bottom: 10px; color: var(--ink-soft); }
.feat-block li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: var(--dot, var(--primary)); }

/* ---------- steps (switch pages) ---------- */
.step .num {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 700; font-size: 1rem; font-variant-numeric: tabular-nums; margin-bottom: 14px;
}
.step p { color: var(--ink-soft); }
.steps-big .step h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); }
.badge-soon {
  display: inline-block; font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--sunken); border: 1px solid var(--line-strong); border-radius: 4px; padding: 2px 8px; margin-left: 6px; vertical-align: middle;
}

/* ---------- switch block (home) ---------- */
.switch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .switch-grid { grid-template-columns: 1fr; } }
.switch-card { display: block; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 24px; transition: border-color .15s ease; }
.switch-card:hover { border-color: var(--primary); color: var(--ink); }
.switch-card h3 { margin-bottom: .35em; }
.switch-card p { color: var(--ink-soft); margin-bottom: 14px; }
.switch-card .go { color: var(--primary-ink); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- callouts ---------- */
.callout { background: var(--sunken); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 20px 22px; }
.callout-quiet { background: #fff; }
.src-note { font-size: .88rem; color: var(--ink-soft); }
.ticks { list-style: none; margin: 20px 0 0; padding: 0; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.ticks svg { position: absolute; left: 0; top: .25em; width: 19px; height: 19px; stroke: var(--primary); }

/* ---------- tables ---------- */
.table-scroll { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-card); border: 1px solid var(--line); background: #fff; }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .96rem; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--sunken); font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
td.num, th.num { font-variant-numeric: tabular-nums; }
caption { caption-side: bottom; padding: 14px 16px; font-size: .86rem; color: var(--ink-soft); text-align: left; }
table.fit { min-width: 0; }

/* comparison table: Maxie column carries the blue */
.compare th.us, .compare td.us { background: var(--primary-soft); }
.compare thead th.us { color: var(--primary-ink); }
.compare td.us { font-weight: 600; color: var(--ink); }
.compare tbody th { font-weight: 600; white-space: nowrap; }
@media (max-width: 640px) {
  .compare { min-width: 0; font-size: .86rem; }
  .compare th, .compare td { padding: 11px 9px; }
  .compare tbody th { white-space: normal; }
  .compare thead th { font-size: .72rem; letter-spacing: .02em; }
}

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
details summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between;
  gap: 18px; min-height: 60px; padding: 16px 2px; font-weight: 600; font-size: 1.06rem;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: ""; flex: none; width: 11px; height: 11px; border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary); transform: rotate(45deg) translateY(-3px); transition: transform .2s ease;
}
details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
details .answer { padding: 0 2px 20px; color: var(--ink-soft); max-width: 68ch; }
@media (prefers-reduced-motion: reduce) { details summary::after { transition: none; } }

/* ---------- forms ---------- */
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: .9rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
input[type="email"], input[type="text"], select {
  width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; font-size: 1rem;
  color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 8px;
}
input[type="email"]:focus, select:focus { border-color: var(--primary); }
input::placeholder { color: #6C6C70; }
.field.is-bad input, .field.is-bad select { border-color: var(--danger); }
.form-msg:empty { display: none; }

/* ---------- beta block (home) ---------- */
.beta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .beta-grid { grid-template-columns: 1fr; } }
.beta-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: clamp(22px, 3vw, 32px); }
.beta-alt { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 18px; }
.beta-alt h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; letter-spacing: 0; margin: 0 0 4px; }
.beta-alt p { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.beta-ios { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; }
.beta-ios img { width: 112px; height: 112px; border: 1px solid var(--line); border-radius: 8px; padding: 6px; background: #fff; }
.beta-ios code { font-size: .78rem; word-break: break-all; color: var(--ink-soft); }
@media (max-width: 380px) { .beta-ios { grid-template-columns: 1fr; } }

/* ---------- store badges ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 22px; }
.badges img { height: 56px; width: auto; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--sunken); border-top: 1px solid var(--line); }
.cta-band .inner { display: grid; grid-template-columns: 1.2fr auto; gap: 32px; align-items: center; }
@media (max-width: 800px) { .cta-band .inner { grid-template-columns: 1fr; } }

/* ---------- sticky mobile CTA (hidden once the form is on screen) ---------- */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; gap: 12px; align-items: center; justify-content: space-between;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line);
    transition: transform .2s ease;
  }
  .sticky-cta p { margin: 0; font-size: .9rem; font-weight: 600; line-height: 1.3; }
  .sticky-cta .btn { min-height: 46px; padding: 10px 20px; font-size: .98rem; }
  .sticky-cta.is-hidden { transform: translateY(110%); }
  body.has-sticky { padding-bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }

/* ---------- document pages ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: clamp(40px, 5vw, 72px) 20px clamp(64px, 8vw, 104px); }
.doc h2 { font-size: clamp(1.4rem, 1.2rem + .9vw, 1.85rem); margin-top: 2em; }
.doc h3 { font-size: 1.12rem; margin-top: 1.6em; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: .5em; }
.doc .faq-block { border-top: 1px solid var(--line); padding-top: 26px; margin-top: 26px; }
.doc .faq-block h3 { margin-top: 0; }

/* ---------- footer ---------- */
.site-foot { background: var(--sunken); border-top: 1px solid var(--line); padding: clamp(44px, 6vw, 72px) 0 40px; font-size: .94rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.site-foot .foot-h { font-family: var(--sans); font-weight: 700; line-height: 1.4; margin: 0 0 12px; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; text-decoration: none; color: var(--ink-soft); }
.site-foot li a:hover { color: var(--primary-ink); text-decoration: underline; }
.foot-base { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-strong); color: var(--ink-soft); }
.foot-base p { margin-bottom: .6em; max-width: 72ch; font-size: .9rem; }

/* ---------- reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
  html.js .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- guides (v2) ---------- */
.crumbs { font-size: .88rem; color: var(--ink-soft); margin-bottom: 18px; }
.crumbs a { color: var(--ink-soft); }
.guide .lede { margin-bottom: 22px; }
.guide-note { margin: 8px 0 12px; }
.guide-note p { font-size: .95rem; }
.guide .table-scroll { margin: 18px 0; }
.guide-cta { margin-top: 40px; }
.src-list { padding-left: 22px; }
.src-list li { margin-bottom: .45em; font-size: .95rem; }
.guide-list { grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
@media (max-width: 700px) { .guide-list { grid-template-columns: 1fr; } }
.guide-card { display: block; color: var(--ink); text-decoration: none; }
.guide-card:hover { box-shadow: var(--shadow-md); }
.guide-card h2 { font-size: 1.2rem; margin: 10px 0 8px; }
.guide-card p { color: var(--ink-soft); font-size: .95rem; }
.thanks-list { columns: 2; padding-left: 22px; }

/* ---------- printable log (v2) ---------- */
.sheet-wrap { padding-top: 0; }
.sheet-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 4px 2px 12px; }
.sheet {
  background: #fff; color: #1d1d24; width: 100%; min-width: 620px; max-width: 210mm; margin: 0 auto;
  padding: 10mm; box-shadow: var(--shadow-md); border-radius: 6px; font-size: 11px; line-height: 1.35;
}
.sheet p { margin: 0; }
.sheet-head { display: flex; justify-content: space-between; gap: 6mm; align-items: flex-end; border-bottom: 2px solid #1d1d24; padding-bottom: 3mm; }
.sheet-title { font-family: var(--serif); font-size: 20px; font-weight: 600; line-height: 1.1; }
.sheet-sub { color: #55555f; margin-top: 1mm !important; }
.sheet-fields { display: flex; gap: 4mm; flex-wrap: wrap; justify-content: flex-end; }
.sheet-fields span, .totals span { display: inline-flex; align-items: flex-end; gap: 2mm; font-weight: 600; }
.sheet-fields i, .totals i { display: inline-block; width: 28mm; border-bottom: 1px solid #1d1d24; height: 5mm; }
.sheet-fields i.short { width: 12mm; }
.totals i { width: 16mm; }
table.log { width: 100%; border-collapse: collapse; margin-top: 3mm; font-size: 10.5px; }
table.log th, table.log td { border: 1px solid #8a8a94; padding: 1mm 1.5mm; text-align: left; vertical-align: middle; }
table.log thead th { background: #f1ede6; font-weight: 700; font-size: 10px; line-height: 1.2; }
table.log thead th small { font-weight: 500; }
table.log tbody td { height: 10.4mm; }
table.log .w-time { width: 15mm; } table.log .w-side { width: 17mm; } table.log .w-min { width: 15mm; }
table.log .w-ml { width: 20mm; } table.log .w-ck { width: 11mm; text-align: center; }
table.log .lr { color: #62626F; font-size: 10px; }
table.log td.ck { text-align: center; }
table.log .box { display: inline-block; width: 4mm; height: 4mm; border: 1px solid #55555f; border-radius: 1mm; }
.sheet-foot { display: flex; gap: 6mm; margin-top: 4mm; align-items: flex-start; }
.totals { flex: 1; }
.totals p { display: flex; flex-wrap: wrap; gap: 3mm 5mm; margin-top: 1.5mm !important; }
.totals .t-h { font-weight: 700; display: block; }
.totals .lines { display: block; }
.totals .lines i { display: block; width: 100%; height: 6mm; }
.qr-box { display: flex; gap: 3mm; align-items: center; width: 64mm; border: 1px solid #c9c4ba; border-radius: 3mm; padding: 2.5mm; }
.qr-box .qr { width: 22mm; height: 22mm; flex: none; }
.qr-box p { font-size: 9.5px; }
.sheet-legal { margin-top: 4mm !important; font-size: 8.5px; color: #55555f; border-top: 1px solid #c9c4ba; padding-top: 2mm; }

@page { size: A4 portrait; margin: 0; }
@media print {
  html, body { background: #fff !important; }
  .skip, .site-head, .site-foot, .noprint, .cta-band, #beta { display: none !important; }
  main > section.sheet-wrap { padding: 0 !important; margin: 0 !important; }
  .sheet-wrap .wrap { padding: 0 !important; max-width: none !important; }
  .sheet-scroll { overflow: visible; padding: 0; }
  .sheet { box-shadow: none; border-radius: 0; width: 210mm; height: 296mm; max-width: none; min-width: 0; margin: 0; padding: 10mm 11mm; overflow: hidden; }
  .sheet, .sheet * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  html.js .reveal { opacity: 1 !important; transform: none !important; }
}

.row-text h2, .sec-head h2 { text-wrap: balance; }

/* ---------- beta signup: install steps shown after a successful join (js/site.js 5a) ---------- */
.beta-done { background: #fff; border: 1px solid var(--line, #E4E4EA); border-radius: 12px; padding: 22px; }
.beta-done h3 { margin-top: 0; outline: none; }
.beta-done-step { margin: 18px 0; }
.beta-done-h { font-weight: 700; margin-bottom: 8px; }
.beta-done .btn { width: 100%; justify-content: center; }
.beta-done ol { padding-left: 22px; margin: 0; }
.beta-done li { margin-bottom: .5em; }
.beta-done-url { word-break: break-all; font-size: .88rem; }
.beta-done-qr { display: flex; gap: 14px; align-items: center; margin-top: 12px; }
.beta-done-qr p { margin: 0; font-size: .92rem; color: var(--ink-soft); }
@media (max-width: 700px) { .beta-done-qr { display: none; } }
.beta-form .beta-done { border: 0; padding: 0; background: none; }
