/* HokuTap public pages: the homepage, /inactive, /privacy, the 404 page and the staff pages.
   "Signal" (design/DESIGN.md): built like good signage. True black, white and one star
   yellow, heavy system type, square edges and thick rules, so it reads at arm's length
   in a sunny shop. Yellow is the sign (the hero, the contact band), black is the panel
   (HokuTap Plus, the rules band, the footer), and everything else is white with black
   rules.

   One file, written by hand: the design's tokens, then the components these pages use,
   then their layout, in that order (unused rules dropped). Light only, on purpose: it is
   read on phones in shops, often in sunlight. CSP style-src 'self': no inline styles, no
   web fonts, no url() or @import. Pressed states change at once: no transitions, no
   hover effects. */

/* ---------- Tokens ---------- */
/* Colours are named by the job they do, never by hue. A ground class (.on-sign, .on-dark)
   re-points the same names, so every component works on white, on the yellow sign and on
   a black panel. Contrast (WCAG 2.x): text on white 21:1, --text-quiet on white 8.9:1,
   text on yellow 13.2:1, --on-panel-quiet on black 11.2:1, yellow on black 13.2:1. */
:root {
  /* Grounds */
  --page: #ffffff;          /* the page */
  --field: #f2f2f2;         /* pressed links */
  --sign: #ffc414;          /* the yellow sign: hero, contact, needs attention */
  --panel: #000000;         /* black panels: HokuTap Plus, rules band, footer, status */
  --ground: var(--page);    /* whatever is under a component, for pressed states */

  /* Text and lines */
  --text: #000000;
  --text-quiet: #4a4a4a;    /* secondary copy and captions */
  --rule: #000000;          /* structural rules, 2 or 4 px */
  --rule-quiet: #d4d4d4;    /* 1 px hairlines inside lists and tables */

  /* Fixed inks for the grounds; the ground classes below use them */
  --on-sign: #000000;
  --on-sign-quiet: #3a3a3a; /* 7.1:1 on yellow */
  --sign-rule-quiet: #b88a00;
  --on-panel: #ffffff;
  --on-panel-quiet: #bdbdbd;
  --panel-rule: #4d4d4d;
  --highlight: #ffc414;     /* yellow figures on black: prices, Last tap */

  /* Actions: the primary button is black on light grounds and yellow on black */
  --action: #000000;
  --on-action: #ffffff;
  --action-press: #3a3a3a;
  --focus: #000000;

  /* Data: the bars in the sample page */
  --bar: #000000;

  /* Status shapes. Status is always said in words; the shape repeats it (circle and
     check, triangle and !), and colour comes third. */
  --ok: #1a7f37;            /* working, on light grounds: 5.1:1 on white */
  --ok-bright: #3ccb6c;     /* working, on black: 9.9:1 */
  --icon-knock: #ffffff;    /* the check or ! cut into a status shape */

  /* Type: the system stack only. The wordmark is drawn, never set in a font. */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --text-fine: 0.875rem;    /* 14: small print */
  --text-small: 0.9375rem;  /* 15: captions, table heads */
  --text-body: 1.0625rem;   /* 17: running text */
  --text-lead: 1.25rem;     /* 20: leads, big buttons, questions */
  --text-title: 1.5rem;     /* 24: card and section titles */
  --text-headline: clamp(2rem, 1.25rem + 3.6vw, 3.5rem);     /* 32 at 320, 34 at 390, 56 at 1280 */
  --text-display: clamp(2.5rem, 1.25rem + 6.4vw, 6rem);      /* 40 at 320, 45 at 390, 96 at 1280 */
  --text-numeral: clamp(3.5rem, 2.25rem + 5vw, 6.5rem);      /* 56 at 320, 56 at 390, 100 at 1280 */
  --weight-medium: 600;
  --weight-bold: 700;
  --weight-heavy: 800;
  --leading-display: 0.98;
  --leading-headline: 1.04;
  --leading-title: 1.2;
  --leading-body: 1.5;
  --tracking-display: -0.04em;
  --tracking-headline: -0.03em;
  --tracking-title: -0.015em;

  /* Space: a 4 px base */
  --space-1: 0.25rem;   /* 4 */
  --space-2: 0.5rem;    /* 8 */
  --space-3: 0.75rem;   /* 12 */
  --space-4: 1rem;      /* 16 */
  --space-5: 1.5rem;    /* 24 */
  --space-6: 2rem;      /* 32 */
  --space-7: 3rem;      /* 48 */
  --space-8: 4rem;      /* 64 */
  --space-9: 6rem;      /* 96 */
  --section-y: clamp(2.5rem, 0.75rem + 7vw, 7rem); /* 40 at 320, 40 at 390, 102 at 1280 */

  /* Edges: panels are square; controls get a 2 px corner so they read as pressable;
     only the drawn phone is round, because phones are. */
  --radius-control: 2px;
  --radius-device: 2.5rem;
  --border-hair: 1px;
  --border: 2px;
  --border-heavy: 4px;

  /* Touch */
  --tap-min: 2.75rem;   /* 44 */
  --tap: 3.5rem;        /* 56 */

  /* Layout */
  --page-max: 72rem;    /* 1152 of content, 12 columns from 960 px */
  --gutter: 1.25rem;    /* side margin and column gap */
  --measure: 34rem;     /* longest line of running text */

  color-scheme: light;
}

@media (max-width: 22.5em) {          /* 360 px and under */
  :root { --gutter: 1rem; }
}
@media (min-width: 60em) {            /* 960 px and over */
  :root { --gutter: 2rem; }
}

/* Grounds. A section sets its ground; everything inside follows. */
.on-sign {
  --text: var(--on-sign);
  --text-quiet: var(--on-sign-quiet);
  --rule: var(--on-sign);
  --rule-quiet: var(--sign-rule-quiet);
  --field: #f0b400;
  --action: #000000;
  --on-action: #ffffff;
  --action-press: #3a3a3a;
  --focus: #000000;
  --icon-knock: var(--sign);
  --ground: var(--sign);
  background: var(--sign);
  color: var(--text);
}
.on-dark {
  --text: var(--on-panel);
  --text-quiet: var(--on-panel-quiet);
  --rule: var(--on-panel);
  --rule-quiet: var(--panel-rule);
  --field: #262626;
  --action: var(--highlight);
  --on-action: #000000;
  --action-press: #e0a800;
  --focus: var(--highlight);
  --bar: var(--highlight);
  --ok: var(--ok-bright);
  --icon-knock: #000000;
  --ground: var(--panel);
  background: var(--panel);
  color: var(--text);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  overflow-wrap: break-word;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3 { font-weight: var(--weight-heavy); }
ul, ol { padding: 0; list-style: none; }
svg { display: block; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
strong, b { font-weight: var(--weight-bold); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

/* ---------- Page shell and gutter ---------- */
/* Up to 1152 px of content in 12 columns from 960 px, keeping the gutter and the
   phone's safe areas. */
.wrap {
  margin: 0 auto;
  max-width: calc(var(--page-max) + 2 * var(--gutter));
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}
.skip {
  position: absolute; left: var(--gutter); top: -6rem; z-index: 5;
  display: inline-flex; align-items: center; min-height: var(--tap-min);
  padding: 0 var(--space-4);
  background: var(--action); color: var(--on-action);
  font-weight: var(--weight-bold);
}
.skip:focus { top: var(--space-2); }

/* ---------- Type ---------- */
.t-display {
  font-size: var(--text-display); line-height: var(--leading-display);
  letter-spacing: var(--tracking-display); font-weight: var(--weight-heavy);
}
.t-headline {
  font-size: var(--text-headline); line-height: var(--leading-headline);
  letter-spacing: var(--tracking-headline); font-weight: var(--weight-heavy);
  text-wrap: balance;
}
.t-title {
  font-size: var(--text-title); line-height: var(--leading-title);
  letter-spacing: var(--tracking-title); font-weight: var(--weight-heavy);
}
.t-lead { font-size: var(--text-lead); line-height: 1.45; }
.t-quiet { color: var(--text-quiet); }
.t-fine { font-size: var(--text-fine); color: var(--text-quiet); }
.measure { max-width: var(--measure); }
.nowrap { white-space: nowrap; }   /* a phone number never breaks across lines */
.wide-only { display: none; }
@media (min-width: 60em) { .wide-only { display: inline; } }

/* ---------- Header ---------- */
/* The header is part of the yellow sign (.on-sign). On phones the nav is a strip of
   equal cells under the logo, like a direction panel: two cells, or three with Sign in. */
.head-row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "brand call" "nav nav";
  align-items: center;
  column-gap: var(--space-4);
  padding-top: var(--space-3);
}
.brand { grid-area: brand; display: flex; align-items: center; min-height: var(--tap-min); width: max-content; }
.brand svg { height: 1.625rem; width: auto; }
.head-call { grid-area: call; }
.head-num { display: none; }
.nav {
  grid-area: nav;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  margin: var(--space-3) calc(-1 * max(var(--gutter), env(safe-area-inset-left))) 0;
  border-top: var(--border) solid var(--rule);
  border-bottom: var(--border) solid var(--rule);
}
.nav a {
  display: flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0 var(--space-2);
  font-weight: var(--weight-bold); line-height: 1.15; text-align: center;
  text-decoration: none;
}
.nav a + a { border-left: var(--border) solid var(--rule); }
.nav a:active { background: var(--text); color: var(--ground); }
@media (max-width: 22.5em) {
  .nav a { font-size: var(--text-small); padding: 0 var(--space-1); }
  /* "Get started" stays on one line beside the logo at 320 px. */
  .head-row .head-call { padding-left: var(--space-3); padding-right: var(--space-3); }
}
@media (min-width: 60em) {
  /* Top and bottom only: the side padding is .wrap's gutter, which the row shares. */
  .head-row { grid-template-columns: auto 1fr auto; grid-template-areas: "brand nav call"; padding-top: var(--space-4); padding-bottom: var(--space-4); }
  .brand svg { height: 2rem; }
  .nav { display: flex; justify-content: flex-end; gap: var(--space-1); margin: 0 var(--space-3) 0 0; border: 0; }
  .nav a { min-height: var(--tap-min); padding: 0 var(--space-4); }
  .nav a + a { border-left: 0; }
  .head-num { display: inline; }
}

/* ---------- Footer ---------- */
.site-foot { padding: var(--space-8) 0 calc(var(--space-8) + env(safe-area-inset-bottom)); }
.foot-grid { display: grid; row-gap: var(--space-5); }
.foot-brand { display: flex; align-items: center; min-height: var(--tap-min); width: max-content; }
.foot-brand svg { height: 1.75rem; width: auto; }
.foot-nav { display: flex; flex-wrap: wrap; column-gap: var(--space-5); }
.foot-nav a { display: inline-flex; align-items: center; min-height: var(--tap-min); font-weight: var(--weight-bold); }
.foot-nav a:active { background: var(--field); }
.foot-fine { border-top: var(--border-hair) solid var(--rule-quiet); padding-top: var(--space-5); font-size: var(--text-small); color: var(--text-quiet); }
.foot-fine p + p { margin-top: var(--space-1); }
@media (min-width: 60em) {
  .foot-grid { grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); align-items: center; }
  .foot-brand { grid-column: 1 / span 4; }
  .foot-nav { grid-column: 5 / span 8; justify-content: flex-end; }
  .foot-fine { grid-column: 1 / -1; }
}

/* ---------- The app's black bar (staff pages) ---------- */
.app-head { padding-top: env(safe-area-inset-top); }
.app-bar { display: flex; align-items: center; gap: var(--space-2); min-height: 4.5rem; }
.app-lockup { display: flex; align-items: center; min-height: var(--tap-min); }
.app-lockup svg { height: 1.5rem; width: auto; }

/* ---------- Section ---------- */
/* A section is a band of the page. Sections that share a ground are split by a 4 px
   rule, like the edge of a sign. */
.section { padding: var(--section-y) 0; }
.section-rule { border-top: var(--border-heavy) solid var(--rule); }
.section-head > * + * { margin-top: var(--space-3); }
.section-head p { font-size: var(--text-lead); line-height: 1.45; color: var(--text-quiet); max-width: var(--measure); }

/* ---------- Buttons ---------- */
/* Primary: the main action in view. Secondary: other actions, outlined. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: var(--tap);
  padding: var(--space-2) var(--space-5);
  border: var(--border) solid transparent;
  border-radius: var(--radius-control);
  background: none;
  font-size: var(--text-body); font-weight: var(--weight-bold); line-height: 1.2;
  text-align: center; text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.btn-lg { font-size: var(--text-lead); }
.btn-sm { min-height: var(--tap-min); padding: var(--space-1) var(--space-4); }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--action); border-color: var(--action); color: var(--on-action); }
.btn-primary:active { background: var(--action-press); border-color: var(--action-press); }
.btn-secondary { border-color: var(--rule); color: var(--text); }
.btn-secondary:active { background: var(--text); border-color: var(--text); color: var(--ground); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
/* Email us, then "or call" as a link beside it (never a text). */
.reach { align-items: center; column-gap: var(--space-4); }

/* ---------- Links ---------- */
/* Inside a sentence a link is underlined text. Standing alone it is a .link, with a
   44 px target. */
.link {
  display: inline-flex; align-items: center; min-height: var(--tap-min);
  font-weight: var(--weight-bold);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em;
}
.link:active { background: var(--field); text-decoration: none; }

/* ---------- Status shapes and the status sign ---------- */
/* The shape is currentColor; the check or ! is cut in with --icon-knock, which each
   ground sets. */
.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon-shape { fill: currentColor; }
.icon-glyph { fill: var(--icon-knock); }
.icon-stroke { fill: none; stroke: var(--icon-knock); stroke-width: 3; stroke-linecap: square; }
.icon-ok { color: var(--ok); }
.icon-attention { color: var(--text); }

/* Working: black, circle with check. Needs attention: the yellow sign, triangle with !. */
.status { padding: var(--space-6) 0 var(--space-7); }
.status-h {
  display: grid; grid-template-columns: auto 1fr; column-gap: var(--space-3); align-items: start;
  font-size: clamp(2rem, 1.4rem + 3vw, 3rem); line-height: 1.04;
  letter-spacing: var(--tracking-headline);
  text-wrap: balance;
}
.status-h .icon { width: 0.78em; height: 0.78em; margin-top: 0.12em; }
.status-sub { margin-top: var(--space-2); max-width: var(--measure); }
.status-sub + .status-sub { margin-top: var(--space-1); }
/* The staff pages: one sign that fills the screen under the app's black bar. */
.staff-status { min-height: calc(100vh - 4.5rem); min-height: calc(100svh - 4.5rem - env(safe-area-inset-top)); }
.staff-status.on-dark { border-top: var(--border-hair) solid var(--panel-rule); }

/* ---------- Ticks ---------- */
.ticks { border-top: var(--border) solid var(--rule); }
.ticks li {
  position: relative;
  padding: var(--space-3) 0 var(--space-3) var(--space-6);
  border-bottom: var(--border-hair) solid var(--rule-quiet);
  font-weight: var(--weight-medium); line-height: 1.4;
}
.ticks li::before {
  content: ""; position: absolute; left: 0; top: calc(var(--space-3) + 0.42em);
  width: 0.625rem; height: 0.625rem; background: var(--text);
}
.on-dark .ticks li::before { background: var(--highlight); }

/* ---------- Price block and plan cards ---------- */
.price { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: var(--space-3); }
.price-num {
  font-size: var(--text-numeral); line-height: 0.9; font-weight: var(--weight-heavy);
  letter-spacing: var(--tracking-display); font-variant-numeric: tabular-nums;
}
.on-dark .price-num { color: var(--highlight); }
.price-unit { font-size: var(--text-lead); font-weight: var(--weight-bold); }

/* The stand is the outlined white plate; HokuTap Plus is the black one. */
.plan-card { display: flex; flex-direction: column; padding: var(--space-6) var(--space-5); border: var(--border-heavy) solid var(--rule); }
.plan-card.on-dark { border-color: var(--panel); }
.plan-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2) var(--space-3); }
.plan-name { font-size: var(--text-title); line-height: var(--leading-title); letter-spacing: var(--tracking-title); }
.tag {
  flex: none; border: var(--border) solid var(--highlight); color: var(--highlight);
  padding: 2px var(--space-3); font-size: var(--text-small); font-weight: var(--weight-bold); line-height: 1.3;
}
.tag-ink { border-color: var(--rule); color: var(--text); } /* on white: yellow text there would be 1.6:1 */
.plan-card .price { margin-top: var(--space-5); }
.plan-line { margin-top: var(--space-3); font-weight: var(--weight-bold); }
.plan-card .ticks { margin-top: var(--space-5); }
.plan-foot { margin-top: auto; padding-top: var(--space-5); display: grid; row-gap: var(--space-4); }
.plan-note { color: var(--text-quiet); font-size: var(--text-small); }

/* ---------- FAQ item ---------- */
.faq { border-top: var(--border-heavy) solid var(--rule); }
.faq-item { padding: var(--space-5) 0; }
.faq-item + .faq-item { border-top: var(--border-hair) solid var(--rule-quiet); }
.faq dt { font-size: var(--text-lead); line-height: 1.3; font-weight: var(--weight-heavy); letter-spacing: var(--tracking-title); }
.faq dd { margin-top: var(--space-2); color: var(--text-quiet); max-width: var(--measure); }
@media (min-width: 60em) {
  .faq-item { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); }
  .faq dt { grid-column: 1 / span 5; }
  .faq dd { grid-column: 6 / span 7; margin-top: 0; }
}

/* =================== Page layout. Phone first; the 12-column grid starts at 960 px.
   Yellow is spent twice on the homepage: the hero and the contact sign. =================== */

/* ---------- Hero: the yellow sign, the stand on a black counter ---------- */
.hero-grid { display: grid; row-gap: var(--space-6); padding-top: var(--space-6); }
.hero h1 { max-width: 12ch; }
.hero-lead { margin-top: var(--space-4); font-size: 1.125rem; line-height: 1.45; max-width: var(--measure); }
.hero-offer { margin-top: var(--space-4); line-height: 1.45; max-width: var(--measure); }
.hero-offer strong { font-weight: var(--weight-heavy); }
.hero-actions { margin-top: var(--space-5); display: grid; grid-template-columns: 1fr 1fr; max-width: 26rem; }
.hero-art { justify-self: start; width: min(19.5rem, 94%); }
.hero-art svg { width: 100%; height: auto; }
.counter { height: var(--space-6); background: var(--panel); }

/* ---------- How it works: a real sequence, so it gets numbers ---------- */
.steps { margin-top: var(--space-6); border-top: var(--border-heavy) solid var(--rule); }
.steps li {
  display: grid; grid-template-columns: 3rem 1fr; column-gap: var(--space-4);
  padding: var(--space-5) 0;
}
.steps li + li { border-top: var(--border-hair) solid var(--rule-quiet); }
.step-n {
  grid-row: span 2;
  display: flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem;
  background: var(--panel); color: var(--highlight);
  font-size: 1.75rem; font-weight: var(--weight-heavy); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.steps p { margin-top: var(--space-2); color: var(--text-quiet); max-width: var(--measure); }

/* ---------- Pricing ---------- */
.pricing { padding-top: 0; }
.pricing-head { padding-top: var(--section-y); }
.plans { display: grid; gap: var(--space-5); margin-top: var(--space-6); }
/* One line under both plans: several locations, and ten or more go through Contact us first. */
.plans-more { margin-top: var(--space-5); font-size: var(--text-lead); line-height: 1.45; max-width: var(--measure); }
.plans-more strong { font-weight: var(--weight-heavy); }

/* ---------- Your shop's own page ---------- */
.page-sec { padding-top: 0; }
.page-grid { display: grid; row-gap: var(--space-7); padding-top: var(--section-y); }
.page-copy > * + * { margin-top: var(--space-4); }
.page-copy .actions { margin-top: var(--space-5); }
.page-soon { display: inline-block; }

/* The phone: a picture of the customer page, built in HTML so it stays sharp. */
.phone-fig { display: grid; justify-items: start; row-gap: var(--space-3); }
.phone-fig figcaption { font-size: var(--text-small); font-weight: var(--weight-medium); color: var(--text-quiet); }
.phone {
  width: min(19rem, 100%); overflow: hidden;
  border: 0.625rem solid var(--panel); border-radius: var(--radius-device);
  background: var(--page);
  display: flex; flex-direction: column;
  font-size: var(--text-fine); line-height: 1.35;   /* 14 px at every width, never smaller */
}
.ph-head { background: var(--panel); color: var(--on-panel); padding: var(--space-5) var(--space-4) var(--space-4); --icon-knock: #000000; --ok: var(--ok-bright); }
.ph-bar { display: flex; align-items: center; gap: var(--space-2); }
.ph-bar svg { width: 1.25rem; height: 1.25rem; }
.ph-shop { flex: 1; font-weight: var(--weight-heavy); font-size: 0.9375rem; }
.ph-set { border: 1.5px solid var(--on-panel); padding: 0.125rem 0.5rem; font-weight: var(--weight-bold); }
.ph-status {
  display: grid; grid-template-columns: auto 1fr; column-gap: 0.4rem; align-items: start;
  margin-top: var(--space-4); font-size: 1.375rem; line-height: 1.1;
  font-weight: var(--weight-heavy); letter-spacing: var(--tracking-title);
}
.ph-status .icon { width: 1.05rem; height: 1.05rem; margin-top: 0.15rem; }
.ph-last { margin-top: var(--space-1); color: var(--highlight); font-weight: var(--weight-bold); font-size: 0.9375rem; }
.ph-body { flex: 1; padding: var(--space-4) var(--space-4) var(--space-6); background: var(--page); color: var(--text); }
.ph-h { font-weight: var(--weight-heavy); font-size: 0.875rem; }
.ph-tally { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--space-3); margin: var(--space-2) 0 var(--space-4); }
.ph-tally p { border-top: var(--border) solid var(--rule); padding-top: var(--space-2); color: var(--text-quiet); font-weight: var(--weight-medium); }
.ph-tally b { display: block; font-size: 2.25rem; line-height: 1; color: var(--text); font-weight: var(--weight-heavy); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ph-weeks {
  display: grid; grid-template-columns: auto auto 1fr; column-gap: 0.5rem;
  margin-top: var(--space-1); padding-top: 0.375rem; border-top: var(--border) solid var(--rule);
}
.ph-weeks li { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; align-items: center; min-height: 1.6rem; }
.ph-weeks span { color: var(--text-quiet); font-weight: var(--weight-medium); }
.ph-weeks li:first-child span { color: var(--text); font-weight: var(--weight-bold); }
.ph-weeks b { justify-self: end; font-variant-numeric: tabular-nums; }
.ph-weeks svg { width: 100%; height: 0.625rem; overflow: visible; }
.ph-weeks rect { fill: var(--bar); }
.ph-weeks .ph-partial { fill: none; stroke: var(--bar); stroke-width: 1.5px; vector-effect: non-scaling-stroke; }

/* ---------- Google's rules: the black band ---------- */
.rule-list { margin-top: var(--space-6); border-top: var(--border-heavy) solid var(--highlight); }
.rule-list li { padding: var(--space-5) 0; }
.rule-list li + li { border-top: var(--border-hair) solid var(--rule-quiet); }
.rule-list h3 { font-size: var(--text-lead); line-height: 1.3; letter-spacing: var(--tracking-title); }
.rule-list p { margin-top: var(--space-2); color: var(--text-quiet); max-width: var(--measure); }

/* ---------- Questions ---------- */
.faq { margin-top: var(--space-6); }

/* ---------- Contact: the yellow sign again, email first and then a call ---------- */
.contact-grid { display: grid; row-gap: var(--space-5); }
.contact-grid > * { min-width: 0; }
.contact-actions { margin-top: var(--space-5); }
.contact-side { border-top: var(--border) solid var(--rule); padding-top: var(--space-4); }
.contact-side p + p { margin-top: var(--space-2); }
.contact-google { padding-top: var(--space-3); font-size: var(--text-lead); line-height: 1.4; }

/* ---------- A stand that doesn't open a review page: /inactive and the 404 page ---------- */
.stop { padding: var(--space-7) 0 var(--space-8); }
.stop h1 { max-width: 15ch; }
.stop-lead { margin-top: var(--space-4); max-width: var(--measure); }
.stop-help { display: grid; row-gap: var(--space-7); }
.stop-block > * + * { margin-top: var(--space-3); }
.stop-block .reach { margin-top: var(--space-4); }
.maps-steps { counter-reset: step; border-top: var(--border) solid var(--rule); }
.maps-steps li {
  counter-increment: step;
  display: grid; grid-template-columns: 2rem 1fr; padding: var(--space-3) 0;
  border-bottom: var(--border-hair) solid var(--rule-quiet);
}
.maps-steps li::before { content: counter(step); font-weight: var(--weight-heavy); font-variant-numeric: tabular-nums; }
.stop-own { display: grid; justify-items: start; row-gap: var(--space-4); padding-top: var(--space-6); }
.stop-more { padding-top: 0; }

/* ---------- The privacy and terms pages: plain documents on white ---------- */
/* The sections sit under a heavy rule and are split by hairlines, like the questions.
   Running text keeps the 34rem measure; from 960 px each heading sits left of its text.
   A notice (the terms' limit on implied warranties) is set heavy, in contrast to the
   regular running text, so it is conspicuous (ORS 71.2010(2)(j)). */
.policy-head > * + * { margin-top: var(--space-4); }
.policy-head p { max-width: var(--measure); }
.policy-date { font-size: var(--text-small); font-weight: var(--weight-bold); color: var(--text-quiet); }
.policy-body { margin-top: var(--space-7); border-top: var(--border-heavy) solid var(--rule); }
.policy-item { padding: var(--space-5) 0; }
.policy-item + .policy-item { border-top: var(--border-hair) solid var(--rule-quiet); }
.policy-text { margin-top: var(--space-3); max-width: var(--measure); }
.policy-text p + p { margin-top: var(--space-4); }
.policy-notice strong { font-weight: var(--weight-heavy); }

/* ---------- From 960 px: the 12-column grid ---------- */
@media (min-width: 60em) {
  .hero-grid { grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); padding-top: var(--space-8); }
  .hero-copy { grid-column: 1 / span 7; padding-bottom: var(--space-8); }
  .hero-art { grid-column: 8 / span 5; align-self: end; justify-self: end; width: 100%; max-width: 30rem; }
  .hero-lead { margin-top: var(--space-6); }
  .hero-lead, .hero-offer { font-size: var(--text-lead); }
  .hero-actions { display: flex; max-width: none; margin-top: var(--space-6); }
  .counter { height: var(--space-8); }

  .steps { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: var(--gutter); }
  .steps li { grid-template-columns: 1fr; padding-top: var(--space-6); align-content: start; } /* titles line up whatever each step's length */
  .steps li + li { border-top: 0; }
  .step-n { grid-row: auto; width: 4.5rem; height: 4.5rem; font-size: 2.75rem; margin-bottom: var(--space-5); }

  .plans { grid-template-columns: 5fr 7fr; column-gap: var(--gutter); }
  .plan-card { padding: var(--space-7) var(--space-6); }

  .page-grid { grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); align-items: start; }
  .page-copy { grid-column: 1 / span 6; }
  .phone-fig { grid-column: 8 / span 5; justify-self: end; }
  .phone { width: 22rem; }

  .rule-list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: var(--gutter); }
  .rule-list li:nth-child(2) { border-top: 0; }
  .rule-list li:nth-child(n+3) { border-top: var(--border-hair) solid var(--rule-quiet); }

  .contact-grid { grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); align-items: start; }
  .contact-grid h2 { grid-column: 1 / -1; }
  .contact-main { grid-column: 1 / span 7; }
  .contact-side { grid-column: 9 / span 4; margin-top: 0; }

  .stop { padding: var(--space-9) 0; }
  .stop-help { grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); }
  .stop-help > .stop-block:first-child { grid-column: 1 / span 6; }
  .stop-help > .stop-block:last-child { grid-column: 8 / span 5; }

  .policy-item { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); padding: var(--space-6) 0; }
  .policy-item h2 { grid-column: 1 / span 5; }
  .policy-text { grid-column: 6 / span 7; margin-top: 0; }
}
