/* Goldstraw Brand v3: the grocer's shopfront at night + crisp Paper counter.
   Shared by goldstraw.app/ (welcome.html), /test (test.html), and website-404.html.
   Zero external requests; clean on-brand sans-serif typography matching the app & guides.
   Contrast ratios verified:
     Paper on Deep Green 10.9:1 | Straw Gold on Deep Green 6.5:1 | Deep Green on Straw Gold 6.5:1
     Deep Green on Paper 10.9:1 | --paper-quiet on Deep Green 6.5:1 | --ink-quiet on Paper 5.2:1 */

:root {
  color-scheme: only light;

  /* Core palette */
  --deep-green: #123f2c;
  --straw-gold: #f2b632;
  --paper: #f8f5ee;
  --goldstraw-green: #155b3d;
  --soft-straw: #fbf0cf;
  --white: #ffffff;
  --tomato: #c95f50;

  --paper-quiet: rgb(248 245 238 / 0.78);
  --paper-line: rgb(248 245 238 / 0.56);
  --ink-quiet: rgb(18 63 44 / 0.74);
  --ink-rule: rgb(18 63 44 / 0.14);

  /* Typography: crisp modern sans-serif matching customer-tokens.css & guides-v1.css */
  --display: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --display-weight: 700;
  --display-tracking: -0.028em;
  --display-leading: 1.08;
  --voice-weight: 400;
  --voice-strong: 700;
  --voice-leading: 1.42;
  --reading: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Fluid & zoom-safe sizes (rem-based, max <= 2.5x min per WCAG 1.4.4) */
  --size-name: 1.375rem;
  --size-voice: 1.25rem;
  --size-reading: 1.0625rem;
  --size-small: 1rem;

  /* Spacing & geometry */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --edge: 20px;
  --corner: 10px;
  --box-corner: 6px;
  --line: 2px;
  --tap: 48px;
  --tap-min: 44px;
  --button-height: 56px;

  /* Motion */
  --arrive: cubic-bezier(0.16, 1, 0.3, 1);
  --sway: cubic-bezier(0.45, 0, 0.55, 1);
  --press-in: 80ms;
  --press-out: 180ms;
}

@media (max-width: 374px) {
  :root {
    --edge: 16px;
    --size-voice: 1.1875rem;
    --button-height: 54px;
  }
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  background: var(--deep-green);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.shop-v3 {
  background: var(--deep-green);
  color: var(--paper);
  font: 400 var(--size-reading) / 1.45 var(--reading);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

a { color: inherit; }
ul, ol { list-style: none; padding: 0; }
button, input { font: inherit; color: inherit; }
button { border: 0; background: none; padding: 0; }
svg { display: block; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }

/* Accessible helpers */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 16px;
  z-index: 50;
  padding: 12px 16px;
  border-radius: var(--corner);
  background: var(--straw-gold);
  color: var(--deep-green);
  font-weight: 700;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-300%);
}
.skip-link:focus,
.skip-link:focus-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
  outline: 3px solid var(--deep-green);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--straw-gold), 0 6px 18px rgb(0 0 0 / 0.24);
}
main[tabindex="-1"]:focus { outline: none; }

:focus-visible { outline: 3px solid var(--straw-gold); outline-offset: 3px; }
.counter-page :focus-visible,
.counter :focus-visible { outline-color: var(--deep-green); }

/* Container */
.wrap {
  width: 100%;
  max-width: var(--wrap, 520px);
  margin: 0 auto;
  padding-inline: var(--edge);
}

/* ---------- Header bar ---------- */
.night {
  background: var(--deep-green);
  color: var(--paper);
}
.night .wrap {
  padding-top: 14px;
  padding-bottom: 40px;
}

.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2) var(--space-3);
  min-block-size: var(--tap);
}
.site-header {
  padding-block: 4px;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px var(--space-2);
  max-width: 100%;
}
.site-nav a:not(.quiet-button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-block-size: var(--tap);
  min-inline-size: 44px;
  padding: 8px 12px;
  border-radius: var(--corner);
  color: rgb(248 245 238 / 0.92);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:not(.quiet-button):hover {
  background: rgb(248 245 238 / 0.12);
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 0.22em;
}
.site-nav a:not(.quiet-button)[aria-current="page"] {
  background: rgb(242 182 50 / 0.18);
  color: var(--straw-gold);
  text-decoration: underline;
  text-underline-offset: 0.24em;
}
.site-nav a:focus-visible {
  outline: 3px solid var(--straw-gold);
  outline-offset: 2px;
}
@media (max-width: 520px) {
  .site-header {
    row-gap: var(--space-1);
  }
  .site-nav {
    gap: 4px 6px;
  }
  .site-nav a:not(.quiet-button) {
    padding: 8px 10px;
    font-size: 0.9375rem;
  }
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  min-block-size: var(--tap);
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-synthesis: none;
  letter-spacing: var(--display-tracking);
  font-size: var(--size-name);
  line-height: 1.1;
  color: var(--straw-gold);
  text-decoration: none;
}

/* ---------- Buttons ---------- */
.strong-button,
.quiet-button,
.counter-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--corner);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--press-out) var(--arrive), background-color 180ms ease;
}

.strong-button {
  width: 100%;
  min-block-size: var(--button-height);
  padding: 12px var(--space-6);
  background: var(--straw-gold);
  color: var(--deep-green);
  font-size: var(--size-reading);
  font-weight: 700;
  line-height: 1.2;
}
.strong-button:hover { background: #f6c34d; }

.quiet-button {
  flex: none;
  min-block-size: var(--tap);
  padding: 8px var(--space-4);
  border: var(--line) solid rgb(248 245 238 / 0.56);
  background: rgb(248 245 238 / 0.08);
  color: var(--paper);
  font-size: var(--size-small);
  font-weight: 600;
  line-height: 1.2;
}
.quiet-button:hover { border-color: var(--paper); background: rgb(248 245 238 / 0.18); }

.counter-button {
  width: 100%;
  min-block-size: var(--button-height);
  padding: 12px var(--space-5);
  border: var(--line) solid var(--deep-green);
  background: var(--deep-green);
  color: var(--paper);
  font-size: var(--size-reading);
  font-weight: 700;
  line-height: 1.25;
}
.counter-button:hover { background: var(--goldstraw-green); border-color: var(--goldstraw-green); }

.counter-button.is-primary {
  background: var(--straw-gold);
  border-color: var(--deep-green);
  color: var(--deep-green);
}
.counter-button.is-primary:hover { background: #f6c34d; }

.counter-button.is-secondary {
  background: var(--soft-straw);
  border: 2px solid var(--deep-green);
  color: var(--deep-green);
}
.counter-button.is-secondary:hover { background: var(--straw-gold); }

.strong-button:active,
.quiet-button:active,
.counter-button:active {
  transform: translateY(1px) scale(0.985);
  transition-duration: var(--press-in);
}

/* ---------- Lettering ---------- */
.headline {
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-synthesis: none;
  letter-spacing: var(--display-tracking);
  line-height: var(--display-leading);
  font-size: min(calc(1.25rem + 6.5vw), 3.4rem);
  color: var(--paper);
  text-wrap: balance;
}

.section-heading {
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-synthesis: none;
  letter-spacing: var(--display-tracking);
  line-height: 1.1;
  font-size: clamp(1.5rem, 1.25rem + 1.2vw, 2rem);
  color: var(--deep-green);
  text-wrap: balance;
}

.goldie-says {
  font-family: var(--reading);
  font-style: normal;
  font-weight: var(--voice-weight);
  font-size: 1.125rem;
  line-height: var(--voice-leading);
  color: var(--paper);
  text-wrap: pretty;
}
.goldie-says b,
.goldie-says strong { font-weight: var(--voice-strong); }
.goldie-says .say-line { display: inline; }
@media (min-width: 360px) {
  .goldie-says .say-line { display: inline-block; }
}

.quiet {
  font-size: var(--size-small);
  line-height: 1.4;
  color: var(--paper-quiet);
}

/* ---------- Arched lit grocer window ---------- */
.window {
  position: relative;
  overflow: hidden;
  border-radius: 999px 999px 0 0;
  background: var(--goldstraw-green);
  isolation: isolate;
}
.window-light {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at 50% 42%, #fff8e2 0%, #fbf0ce 62%, #f2d482 100%);
  border: 3px solid var(--straw-gold);
  border-bottom: 0;
}
.doorway {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-top: 28px;
}
.doorway > .goldie {
  position: relative;
  display: block;
  width: min(296px, calc(100% - 20px));
  height: auto;
  aspect-ratio: 6 / 5;
  animation: goldie-arrive 0.65s var(--sway) 0.12s 1 both;
}
.goldie img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.doorway > .goldie-counter-basket img,
.doorway > .goldie-wave img {
  transform: translateY(7.5%);
}

/* Gentle one-shot arrival fade (honours prefers-reduced-motion below; keeps counter seam flush) */
@keyframes goldie-arrive {
  0% { opacity: 0.92; }
  100% { opacity: 1; }
}

/* Counter strip under the window */
.counter {
  background: var(--paper);
  color: var(--deep-green);
  border-top: var(--line) solid var(--deep-green);
}
.counter .goldie-says { color: var(--deep-green); }
.strip {
  padding: 14px var(--space-4) 16px;
}

/* ---------- Home Hero ---------- */
.front {
  display: grid;
  grid-template-areas: "headline" "shop" "says" "choices";
}
.front .headline { grid-area: headline; margin-top: 18px; }
.front .shop { grid-area: shop; margin-top: 22px; }
.front .front-says { grid-area: says; }
.front .choices { grid-area: choices; margin-top: 20px; }
.front .choices .quiet { margin-top: var(--space-2); }

.quiet-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 18px;
  margin-top: var(--space-3);
}
.quiet-links a {
  display: inline-flex;
  align-items: center;
  min-block-size: var(--tap-min);
  font-size: var(--size-small);
  font-weight: 600;
  color: var(--paper);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: var(--paper-line);
}
.quiet-links a:hover { color: var(--straw-gold); text-decoration-color: var(--straw-gold); }

/* ---------- Paper Counter Page ---------- */
.counter-page {
  background: var(--paper);
  color: var(--deep-green);
  border-top: var(--line) solid var(--deep-green);
}
.counter-page .wrap {
  padding-top: 40px;
  padding-bottom: 16px;
}

.ticket {
  display: inline-block;
  padding: 2px 10px 3px;
  border-radius: 4px;
  background: var(--straw-gold);
  color: var(--deep-green);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
}

/* ---------- Interactive 2-Phone Try-It Counter ---------- */
.live-demo {
  padding-bottom: 48px;
  border-bottom: 1px solid var(--ink-rule);
}
.live-demo-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.live-demo-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}
.demo-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgb(21 91 61 / 0.1);
  color: var(--goldstraw-green);
  font-size: 0.875rem;
  font-weight: 600;
}
.demo-live-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--goldstraw-green);
}
.live-demo-sub {
  color: var(--ink-quiet);
  max-width: 56ch;
  text-wrap: pretty;
}
.live-demo-status {
  margin-top: 4px;
  font-family: var(--reading);
  font-style: normal;
  font-weight: 600;
  font-size: 1rem;
  color: var(--goldstraw-green);
  min-block-size: 1.5em;
}

.demo-phones {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.demo-card {
  background: var(--white);
  border: 1px solid rgb(18 63 44 / 0.16);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgb(18 63 44 / 0.05), 0 12px 28px -14px rgb(18 63 44 / 0.14);
  transition: border-color 220ms ease, box-shadow 220ms ease;
}
.demo-card-sam {
  background: #fcfaf5;
  border-color: rgb(18 63 44 / 0.14);
}
.demo-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 13px 16px;
  background: var(--deep-green);
  color: var(--paper);
  font-size: 0.9375rem;
  font-weight: 600;
}
.demo-card-sam .demo-card-head {
  background: var(--goldstraw-green);
}
.demo-pill {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--straw-gold);
  color: var(--deep-green);
  font-size: 0.8125rem;
  font-weight: 700;
}

.demo-add {
  display: flex;
  min-block-size: 52px;
  background: var(--white);
  border-bottom: 1px solid var(--ink-rule);
}
.demo-add:focus-within { background: #fffdf6; }
.demo-add input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 12px 16px;
  font-size: var(--size-reading);
  color: var(--deep-green);
}
.demo-add input::placeholder { color: var(--ink-quiet); opacity: 1; }
.demo-add input:focus { outline: none; }
.demo-add button {
  flex: none;
  min-inline-size: 76px;
  min-block-size: var(--tap);
  padding: 0 18px;
  background: var(--straw-gold);
  color: var(--deep-green);
  font-weight: 700;
  cursor: pointer;
  border-left: 1px solid rgb(18 63 44 / 0.14);
  transition: background-color 140ms ease;
}
.demo-add button:hover { background: #f6c34d; }

.demo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 16px;
  background: #faf7f0;
  border-bottom: 1px solid var(--ink-rule);
}
.demo-chip {
  min-block-size: var(--tap-min);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgb(18 63 44 / 0.2);
  background: var(--white);
  color: var(--deep-green);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, transform 120ms ease;
}
.demo-chip:hover {
  border-color: var(--deep-green);
  background: var(--soft-straw);
}
.demo-chip:active { transform: scale(0.97); }
.demo-chip.is-added {
  background: rgb(21 91 61 / 0.1);
  border-color: rgb(21 91 61 / 0.25);
  color: var(--goldstraw-green);
}

.demo-handoff {
  padding: 12px 16px;
  background: #faf7f0;
  border-top: 1px solid var(--ink-rule);
}
.demo-handoff-link {
  display: inline-flex;
  align-items: center;
  min-block-size: var(--tap-min);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--goldstraw-green);
  text-decoration: none;
}
.demo-handoff-link:hover {
  color: var(--deep-green);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@keyframes demo-row-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
.demo-item-enter {
  animation: demo-row-in 220ms var(--arrive) both;
}

.demo-list li + li {
  border-top: 1px solid var(--ink-rule);
}
.demo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-block-size: 52px;
  padding: 10px 16px;
  text-align: left;
  cursor: pointer;
}
.demo-row:hover { background: rgb(242 182 50 / 0.14); }
.demo-row-static {
  display: flex;
  align-items: center;
  gap: 12px;
  min-block-size: 52px;
  padding: 10px 16px;
}

.demo-box {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: var(--line) solid var(--deep-green);
  border-radius: var(--box-corner);
  background: var(--white);
  transition: background-color 180ms ease;
}
.demo-box svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--straw-gold);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 180ms ease, transform 200ms var(--arrive);
}
.is-ticked .demo-box {
  background: var(--deep-green);
}
.is-ticked .demo-box svg {
  opacity: 1;
  transform: none;
}
.demo-item-name {
  flex: 1;
  min-width: 0;
  font-weight: 600;
}
.is-ticked .demo-item-name {
  text-decoration: line-through;
  opacity: 0.65;
}
.demo-who {
  flex: none;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--soft-straw);
  color: var(--deep-green);
  font-size: 0.875rem;
  font-weight: 600;
}
.demo-card.is-synced {
  border-color: var(--deep-green);
  box-shadow: 0 0 0 3px rgb(242 182 50 / 0.55);
}
.demo-live-badge {
  transition: transform 180ms ease, background-color 180ms ease;
}
.demo-live-badge.is-pulsing {
  background: var(--straw-gold);
  color: var(--deep-green);
  transform: scale(1.04);
}
.demo-row.is-duplicate {
  background: rgb(242 182 50 / 0.32);
  box-shadow: inset 3px 0 0 var(--straw-gold);
}

/* ---------- Reasons ---------- */
.reasons {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 24px;
  padding-top: 48px;
}
.reasons-intro {
  display: flex;
  align-items: center;
  gap: 16px;
}
.reasons .goldie-mark { display: block; width: 72px; height: 72px; flex: none; }
.reason-lines {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  color: var(--deep-green);
}
.reason-lines li {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--ink-rule);
  border-radius: 14px;
}
.prop-icon-wrap {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--soft-straw);
  color: var(--deep-green);
  margin-bottom: 4px;
}
.prop-icon {
  display: block;
  width: 22px;
  height: 22px;
}
.reason-lines h3 {
  font-family: var(--display);
  font-style: normal;
  font-weight: var(--display-weight);
  font-synthesis: none;
  letter-spacing: -0.02em;
  font-size: 1.1875rem;
  line-height: 1.2;
  color: var(--deep-green);
}
.reason-lines p {
  margin-top: 6px;
  font-family: var(--reading);
  font-style: normal;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink-quiet);
}

/* ---------- Editorial Bento & Tactile Planners Shelf ---------- */
.planners-shelf {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--ink-rule);
}
.planners-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 18px;
}
.planners-title {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  color: var(--deep-green);
}
.planners-all-link {
  display: inline-flex;
  align-items: center;
  min-inline-size: var(--tap-min);
  min-block-size: var(--tap-min);
  padding-inline: 14px;
  border-radius: 999px;
  border: 1px solid var(--ink-rule);
  background: var(--white);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--goldstraw-green);
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.planners-all-link:hover {
  border-color: var(--deep-green);
  color: var(--deep-green);
  transform: translateY(-1px);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.planners-all-link:focus-visible {
  outline: 3px solid var(--straw-gold);
  outline-offset: 2px;
}
.planners-bento {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}
.bento-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-block-size: 164px;
  padding: 20px 22px;
  border-radius: 18px;
  border: 1.5px solid var(--ink-rule);
  background: var(--white);
  color: var(--deep-green);
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(18, 63, 44, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.bento-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(18, 63, 44, 0.1);
}
.bento-card:focus-visible {
  outline: 3px solid var(--straw-gold);
  outline-offset: 2px;
}
.bento-card-featured {
  background: var(--deep-green);
  border-color: var(--deep-green);
  color: #f8f5ee;
  box-shadow: 0 10px 26px rgba(18, 63, 44, 0.16);
}
.bento-card-straw {
  box-shadow: inset 0 4px 0 var(--straw-gold), 0 3px 10px rgba(18, 63, 44, 0.05);
}
.bento-card-straw:hover {
  box-shadow: inset 0 4px 0 var(--straw-gold), 0 10px 24px rgba(18, 63, 44, 0.1);
}
.bento-card-green {
  box-shadow: inset 0 4px 0 var(--goldstraw-green), 0 3px 10px rgba(18, 63, 44, 0.05);
}
.bento-card-green:hover {
  box-shadow: inset 0 4px 0 var(--goldstraw-green), 0 10px 24px rgba(18, 63, 44, 0.1);
}
.bento-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--soft-straw);
  color: var(--deep-green);
}
.bento-card-featured .bento-badge {
  background: var(--straw-gold);
  color: var(--deep-green);
}
.bento-card-green .bento-badge {
  background: rgba(21, 91, 61, 0.1);
  color: var(--deep-green);
}
.bento-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: inherit;
  text-wrap: balance;
}
.bento-desc {
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--ink-quiet);
  text-wrap: pretty;
}
.bento-card-featured .bento-desc {
  color: rgba(248, 245, 238, 0.88);
}
.bento-go {
  margin-top: auto;
  padding-top: 6px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--goldstraw-green);
}
.bento-card-featured .bento-go {
  color: var(--straw-gold);
}
@media (min-width: 760px) {
  .planners-bento {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}
.planners-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  padding: 2px 0 0;
}
.planners-col {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--ink-rule);
  border-radius: 16px;
  padding: 18px 20px;
}
.planners-group-label {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-quiet);
  margin: 0 0 12px;
}
.planners-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.planners-pills li {
  border: 0;
  border-top: 0;
  margin: 0;
  padding: 0;
  max-width: 100%;
}
.planner-pill-link {
  display: inline-flex;
  align-items: center;
  min-block-size: var(--tap-min);
  min-inline-size: var(--tap-min);
  max-width: 100%;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--ink-rule);
  background: var(--white);
  color: var(--deep-green);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(18, 63, 44, 0.04);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}
.planner-pill-link:hover {
  transform: translateY(-1px);
  border-color: var(--goldstraw-green);
  background: var(--soft-straw);
  box-shadow: 0 4px 12px rgba(18, 63, 44, 0.08);
}
.planner-pill-link:focus-visible {
  outline: 3px solid var(--straw-gold);
  outline-offset: 2px;
}

/* Smooth intrinsic-size disclosure animation (progressive enhancement) */
details::details-content {
  interpolate-size: allow-keywords;
  overflow: clip;
  contain: layout;
}
details:not([open])::details-content {
  block-size: 0;
}
@media (prefers-reduced-motion: no-preference) {
  details::details-content {
    transition: block-size 0.24s ease-out, content-visibility 0.24s allow-discrete;
  }
}

/* ---------- Native Accordion FAQ & Editorial Card ---------- */
.faq-band {
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid var(--ink-rule);
}
.faq-lead {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-intro {
  color: var(--ink-quiet);
  font-size: 1rem;
  line-height: 1.5;
  max-width: 34ch;
  text-wrap: pretty;
}
.faq-plus-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 6px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--white);
  border: 1.5px solid var(--ink-rule);
  border-left: 4px solid var(--straw-gold);
  box-shadow: 0 3px 12px rgba(18, 63, 44, 0.05);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.faq-plus-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(18, 63, 44, 0.09);
}
.faq-plus-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--soft-straw);
  color: var(--deep-green);
  font-size: 0.9375rem;
  font-weight: 700;
}
.faq-plus-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-inline-size: var(--tap-min);
  min-block-size: var(--tap-min);
  color: var(--deep-green);
  font-family: var(--display);
  font-size: 1.0625rem;
  font-weight: 700;
  text-decoration: none;
}
.faq-plus-link::after {
  content: "\2192";
  color: var(--goldstraw-green);
  font-weight: 700;
}
.faq-plus-link:hover {
  color: var(--goldstraw-green);
}
.faq-plus-link:focus-visible {
  outline: 3px solid var(--straw-gold);
  outline-offset: 2px;
  border-radius: 8px;
}
.faq-items {
  margin-top: 16px;
  background: var(--white);
  border: 1.5px solid var(--ink-rule);
  border-radius: 18px;
  padding: 4px 20px;
  box-shadow: 0 4px 16px rgba(18, 63, 44, 0.05);
}
.faq-items details {
  border-top: 1px solid var(--ink-rule);
}
.faq-items details:first-child {
  border-top: 0;
}
.faq-items summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-block-size: var(--tap);
  padding: 16px 0;
  font-size: var(--size-reading);
  font-weight: 700;
  color: var(--deep-green);
  cursor: pointer;
  list-style: none;
}
.faq-items summary::-webkit-details-marker { display: none; }
.faq-items summary:focus-visible {
  outline: 3px solid var(--straw-gold);
  outline-offset: 2px;
  border-radius: 8px;
}
.faq-items summary::after {
  content: "+";
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--soft-straw);
  color: var(--deep-green);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}
.faq-items summary:hover::after {
  background: var(--straw-gold);
}
.faq-items details[open] summary::after {
  content: "\2212";
  background: var(--deep-green);
  color: var(--straw-gold);
  transform: rotate(180deg);
}
.faq-items p {
  padding-bottom: 18px;
  color: var(--ink-quiet);
  max-width: 58ch;
  text-wrap: pretty;
}
@media (min-width: 900px) {
  .faq-band:has(.faq-lead) {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.35fr);
    gap: 24px 36px;
    align-items: start;
  }
  .faq-band:has(.faq-lead) .faq-items {
    margin-top: 0;
  }
}

/* ---------- Closing Deep Green Counter Band ---------- */
.closing-counter {
  margin-top: 48px;
  padding: 28px 24px;
  border-radius: 24px;
  background: var(--deep-green);
  border: 2px solid var(--straw-gold);
  color: #f8f5ee;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  box-shadow: 0 14px 32px rgba(18, 63, 44, 0.14);
}
.closing-counter-art {
  display: flex;
  justify-content: center;
}
.closing-goldie img {
  display: block;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid var(--straw-gold);
  background: #0e3223;
  object-fit: cover;
}
.closing-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #f8f5ee;
  text-wrap: balance;
}
.closing-sub {
  margin-top: 8px;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: rgba(248, 245, 238, 0.88);
  max-width: 44ch;
  text-wrap: pretty;
}
.closing-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.closing-cta-primary,
.closing-cta-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: var(--tap-min);
  min-block-size: var(--tap);
  padding: 0 22px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}
.closing-cta-primary {
  background: var(--straw-gold);
  color: var(--deep-green);
  border: 2px solid var(--straw-gold);
}
.closing-cta-primary:hover {
  background: #ffd15c;
  border-color: #ffd15c;
  transform: translateY(-1px);
}
.closing-cta-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #f8f5ee;
  border: 1.5px solid rgba(248, 245, 238, 0.45);
}
.closing-cta-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--straw-gold);
  transform: translateY(-1px);
}
.closing-cta-primary:focus-visible,
.closing-cta-ghost:focus-visible {
  outline: 3px solid var(--straw-gold);
  outline-offset: 3px;
}
@media (min-width: 720px) {
  .closing-counter {
    padding: 36px 40px;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 32px;
  }
  .closing-goldie img {
    width: 112px;
    height: 112px;
  }
}

/* ---------- Android Early Access (/test) ---------- */
.tester-hero .wrap {
  padding-bottom: 14px;
}
.tester-hero-grid {
  display: grid;
  grid-template-areas:
    "headline"
    "says"
    "shop";
  gap: 8px;
  margin-top: 8px;
}
.tester-hero-grid .headline {
  grid-area: headline;
  margin-top: 0;
  font-size: clamp(1.5rem, 5.8vw, 2.4rem);
}
.tester-hero-grid .shop {
  grid-area: shop;
  margin-top: 0;
}
.tester-hero-grid .doorway {
  padding-top: 10px;
}
.tester-hero-grid .doorway > .goldie-mark {
  display: block;
  width: 86px;
  height: 86px;
  aspect-ratio: 1;
  margin-bottom: 6px;
}
.tester-hero-grid .doorway > .goldie-wave {
  display: none;
}
.tester-hero-grid .front-says {
  grid-area: says;
  margin-top: 4px;
}
.tester-hero-grid .front-says .goldie-says {
  color: var(--paper);
  font-size: 1rem;
  line-height: 1.35;
}
@media (min-width: 360px) {
  .tester-hero-grid {
    grid-template-columns: minmax(0, 1fr) 98px;
    grid-template-areas:
      "headline shop"
      "says     shop";
    column-gap: 14px;
    row-gap: 0;
    align-items: end;
  }
}

.tester-tip-banner {
  padding: 12px 14px;
  border-radius: var(--corner);
  background: var(--soft-straw);
  border: 1px solid rgb(18 63 44 / 0.22);
  color: var(--deep-green);
  font-size: 0.9375rem;
  line-height: 1.45;
  margin-bottom: 16px;
}

.tester-help-panels {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}
.tester-more {
  border: 1px solid var(--ink-rule);
  border-radius: var(--corner);
  background: var(--white);
  padding: 0 16px;
}
.tester-more.is-top {
  margin-bottom: 16px;
}
.tester-more summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-block-size: 52px;
  font-weight: 700;
  color: var(--deep-green);
  cursor: pointer;
}
.tester-more summary::-webkit-details-marker { display: none; }
.tester-more summary::after {
  content: "+";
  font-size: 1.375rem;
  line-height: 1;
  color: var(--goldstraw-green);
}
.tester-more[open] summary::after {
  content: "\2212";
}
.tester-answers {
  padding: 4px 0 16px;
  display: grid;
  gap: 8px;
  color: var(--ink-quiet);
  font-size: 0.9375rem;
}
.tester-answers h3 {
  font-family: var(--reading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--deep-green);
  margin-top: 6px;
}
.tester-answers a {
  color: var(--goldstraw-green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.tester-steps {
  display: grid;
  gap: 18px;
}

.step-card {
  background: var(--white);
  border: 1px solid rgb(18 63 44 / 0.16);
  border-radius: 16px;
  padding: 20px;
  display: grid;
  gap: 12px;
  box-shadow: 0 1px 2px rgb(18 63 44 / 0.04);
}
.step-card.is-done {
  background: var(--paper);
  border-color: rgb(18 63 44 / 0.35);
}

.step-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.step-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--deep-green);
  color: var(--straw-gold);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.0625rem;
}
.step-card.is-done .step-num {
  background: var(--goldstraw-green);
  color: var(--straw-gold);
}
.step-title {
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-synthesis: none;
  font-size: 1.3125rem;
  line-height: 1.15;
  color: var(--deep-green);
}
.step-done-tag {
  margin-left: auto;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--deep-green);
  color: var(--straw-gold);
  font-size: 0.875rem;
  font-weight: 700;
}

.step-desc {
  color: var(--ink-quiet);
  max-width: 56ch;
  text-wrap: pretty;
}
.step-desc strong {
  color: var(--deep-green);
  font-weight: 700;
}

.step-badge-hint {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--soft-straw);
  border: 1px solid rgb(18 63 44 / 0.25);
  color: var(--deep-green);
  font-weight: 700;
}

.step-privacy-note {
  font-size: 0.875rem;
  color: var(--ink-quiet);
}
.tester-step-details {
  border-top: 1px solid var(--ink-rule);
  padding-top: 6px;
}
.tester-step-details summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-block-size: var(--tap);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--goldstraw-green);
  cursor: pointer;
}
.tester-step-details summary::-webkit-details-marker { display: none; }
.tester-step-details summary::after { content: "+"; font-size: 1.125rem; }
.tester-step-details[open] summary::after { content: "\2212"; }
.tester-step-details p {
  padding-top: 4px;
  color: var(--ink-quiet);
  font-size: 0.9375rem;
}

.tester-aside {
  display: grid;
  gap: 20px;
}
.tester-qr-card {
  display: none;
  padding: 20px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid rgb(18 63 44 / 0.16);
  box-shadow: 0 1px 2px rgb(18 63 44 / 0.04);
  gap: 10px;
}
.tester-qr-card h2 {
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-synthesis: none;
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--deep-green);
}
.tester-qr-caption {
  font-size: 0.9375rem;
  color: var(--ink-quiet);
}
.tester-qr-frame {
  display: inline-flex;
  padding: 12px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--ink-rule);
  justify-self: start;
}
.tester-qr-svg {
  display: block;
  width: 160px;
  height: 160px;
}

@media (max-width: 899px) {
  .tester-night .wrap {
    padding-bottom: 12px;
  }
  .tester-hero-grid {
    margin-top: 8px;
  }
  .tester-hero-grid .headline {
    font-size: clamp(1.5rem, 6.2vw, 2.2rem);
  }
  .tester-night + .counter-page .wrap {
    padding-top: 18px;
  }
  .tester-tip-banner {
    padding: 10px 12px;
    margin-bottom: 12px;
    font-size: 0.875rem;
  }
  .tester-steps {
    gap: 14px;
  }
  .step-card {
    padding: 16px;
    gap: 10px;
  }
}

.tester-share-box {
  margin-top: 28px;
  padding: 20px;
  border-radius: 14px;
  background: var(--deep-green);
  color: var(--paper);
  display: grid;
  gap: 12px;
}
.tester-share-box[hidden] {
  display: none;
}
.tester-share-box .counter-button.is-secondary {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--deep-green);
}
.tester-share-box .counter-button.is-secondary:hover {
  background: var(--soft-straw);
}
.tester-share-box h2 {
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-synthesis: none;
  font-size: 1.375rem;
  line-height: 1.15;
  color: var(--straw-gold);
}
.tester-share-box p {
  color: var(--paper-quiet);
}
.tester-share-status {
  font-weight: 600;
  color: var(--straw-gold);
  min-block-size: 1.4em;
}

.tester-fallback {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--ink-rule);
  display: grid;
  gap: 8px;
  color: var(--ink-quiet);
}
.tester-fallback a {
  color: var(--goldstraw-green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- 404 Notice ---------- */
.site-notice .night {
  min-block-size: 100vh;
  min-block-size: 100dvh;
  display: flex;
}
.site-notice .night .wrap {
  display: flex;
  flex-direction: column;
  padding-bottom: 24px;
}
.site-notice .notice-main {
  margin-top: 18px;
  display: grid;
  gap: 18px;
}
.site-notice .notice-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 8px;
}
.site-notice .notice-actions .strong-button {
  width: auto;
  min-inline-size: min(200px, 100%);
}
.site-notice .notice-foot {
  margin-top: auto;
  padding-top: 28px;
  color: var(--paper-quiet);
}
.site-notice .notice-foot a {
  display: inline-flex;
  align-items: center;
  min-block-size: var(--tap-min);
  color: var(--straw-gold);
  font-weight: 600;
  text-underline-offset: 4px;
}

/* ---------- Site Footer (compatible with scripts/website/syncFooters.mjs) ---------- */
.site-footer {
  background: #0e3223;
  color: #f8f5ee;
  border-top: 3px solid var(--straw-gold);
  padding-block: 36px max(40px, env(safe-area-inset-bottom));
}
.site-footer-inner {
  width: 100%;
  max-width: var(--wrap, 520px);
  margin: 0 auto;
  padding-inline: var(--edge);
}
.site-footer .footer-guides {
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(248, 245, 238, 0.18);
}
.site-footer .footer-guides h2 {
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-synthesis: none;
  font-size: 1.125rem;
  color: #f8f5ee;
  margin-bottom: 12px;
}
.site-footer .footer-guides ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer .footer-guides li {
  max-width: 100%;
}
.site-footer .footer-guides a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: var(--tap-min);
  min-block-size: var(--tap-min);
  max-width: 100%;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(242, 182, 50, 0.3);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #f8f5ee;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.site-footer .footer-guides a:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--straw-gold);
  color: var(--straw-gold);
  transform: translateY(-1px);
}
.site-footer .footer-guides a:focus-visible {
  outline: 2px solid var(--straw-gold);
  outline-offset: 2px;
}
.site-footer nav[aria-label="Footer"] {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-inline: -10px;
}
.site-footer nav[aria-label="Footer"] a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: var(--tap-min);
  min-block-size: var(--tap-min);
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #f8f5ee;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease;
}
.site-footer nav[aria-label="Footer"] a:hover {
  color: var(--straw-gold);
  background: rgba(255, 255, 255, 0.08);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.site-footer nav[aria-label="Footer"] a:focus-visible {
  outline: 2px solid var(--straw-gold);
  outline-offset: 2px;
}
.site-footer p {
  margin-top: 14px;
  color: rgba(248, 245, 238, 0.82);
  font-size: 0.9375rem;
}
.site-footer p a {
  color: var(--straw-gold);
}

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  .shop-v3 {
    --wrap: 720px;
    --edge: 32px;
  }
  .demo-phones {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .front .choices .strong-button,
  .tester-share-box .strong-button {
    width: auto;
    min-inline-size: 260px;
  }
}

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
  .shop-v3 {
    --wrap: 1160px;
    --edge: 40px;
    --size-voice: 1.375rem;
    --size-name: 1.5rem;
  }

  .night .wrap {
    padding-top: 24px;
    padding-bottom: 0;
  }

  .front {
    margin-top: 32px;
    grid-template-columns: minmax(0, 1fr) clamp(360px, 34vw, 440px);
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "headline shop"
      "says     shop"
      "choices  shop";
    column-gap: clamp(40px, 5vw, 72px);
    align-items: start;
  }
  .front .headline {
    margin-top: 16px;
    font-size: min(calc(1.5rem + 3vw), 4.65rem);
  }
  .front .shop {
    margin-top: 0;
    align-self: end;
  }
  .front .doorway {
    min-block-size: 400px;
    padding-top: 44px;
  }
  .front .doorway > .goldie {
    width: min(350px, calc(100% - 36px));
  }
  .front .front-says {
    margin-top: 22px;
    padding: 0;
    background: none;
    border: 0;
    max-width: 44ch;
  }
  .front .front-says .goldie-says { color: var(--paper); }
  .front .choices {
    margin-top: 28px;
    padding-bottom: 52px;
  }

  .tester-hero-grid {
    margin-top: 28px;
    grid-template-columns: minmax(0, 1fr) 360px;
    grid-template-areas:
      "headline shop"
      "says     shop";
    column-gap: 56px;
    align-items: end;
  }
  .tester-hero-grid .headline {
    margin-top: 12px;
    font-size: min(calc(1.35rem + 2.4vw), 3.75rem);
  }
  .tester-hero-grid .front-says {
    margin-top: 20px;
    padding: 0 0 44px;
    background: none;
    border: 0;
    max-width: 38ch;
  }
  .tester-hero-grid .front-says .goldie-says { color: var(--paper); }
  .tester-hero-grid .shop { margin-top: 0; }
  .tester-hero-grid .doorway { min-block-size: 310px; padding-top: 32px; }
  .tester-hero-grid .doorway > .goldie-mark { display: none; }
  .tester-hero-grid .doorway > .goldie-wave { display: block; width: min(300px, calc(100% - 36px)); }

  .reasons {
    grid-template-columns: minmax(0, 1fr);
  }
  .reasons .goldie-mark { width: 80px; height: 80px; }
  .reason-lines {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .planners-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .tester-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    gap: 36px;
    align-items: start;
  }
  .tester-qr-card { display: grid; }
  .tester-share-box { margin-top: 0; }
}

@media (max-width: 899px) {
  .front .headline { margin-top: 10px; font-size: clamp(1.75rem, 7.2vw, 2.5rem); }
  .front .shop { margin-top: 12px; }
  .front .doorway { padding-top: 16px; }
  .front .doorway > .goldie { width: min(232px, calc(100% - 48px)); }
  .front .strip { padding: 11px var(--space-3) 12px; }
  .front .goldie-says { font-size: 1rem; }
  .front .choices { margin-top: 14px; }
  .front .choices .quiet-links { margin-top: var(--space-2); }
  .front + .empty { display: none; }
  .night > .wrap { padding-bottom: 18px; }
  .counter-page .wrap { padding-top: 24px; }
  .live-demo { padding-bottom: 34px; }
  .live-demo-head { margin-bottom: 16px; }
}

@media (min-width: 1040px) {
  .reason-lines {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
