/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
  --cream: #f4f0e5;
  --sand: #eae4d3;
  --card: #fffdf8;
  --ink: #14261d;
  --ink-2: #1b3428;
  --muted: #45564b;
  --green: #497e64;
  --green-text: #3a6a52;
  --green-light: #a8d5bb;
  --orange: #e8722c;
  --orange-dark: #b8541a;
  --pink: #f6d7e8;
  --blue: #c9e0f2;
  --lime: #d6e59a;
  --peach: #f9d8c0;
  --line: #ddd5c1;
  --success: #2f7a52;
  --error: #b42318;
  --fb: #0866ff;
  --x: #000000;
  --rd: #ff4500;
  --nd: #00b23c;
  /* Page side padding, and the distance from the screen edge to the page content */
  --page-pad: 20px;
  --page-edge: calc(max(0px, (100vw - 1200px) / 2) + var(--page-pad));
  --shadow: 0 1px 2px rgba(20, 38, 29, .05), 0 14px 34px rgba(20, 38, 29, .10);
  --font-head: "Bricolage Grotesque", "Bricolage Fallback", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-body: "Instrument Sans", "Instrument Fallback", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

/* Metric-matched fallbacks so the web font swap does not shift layout */
@font-face {
  font-family: "Bricolage Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 94%;
  ascent-override: 96%;
  descent-override: 26%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Instrument Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 97%;
  ascent-override: 97%;
  descent-override: 25%;
  line-gap-override: 0%;
}

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

html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }

/* Avoid a single word stranded on the last line */
p, li, figcaption { text-wrap: pretty; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
  background: var(--cream);
}

h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.08; margin: 0 0 .5em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 7.4vw, 4.4rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.9rem, 5vw, 3.1rem); letter-spacing: -.04em; font-weight: 700; }
h3 { font-size: 1.3rem; letter-spacing: -.02em; font-weight: 600; line-height: 1.2; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
svg { display: block; }
a { color: var(--green-text); }

mark { background: var(--peach); color: inherit; padding: 0 .15em; border-radius: 4px; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 8px;
}

[hidden] { display: none !important; }

/* Keep anchor targets clear of the sticky header */
section[id] { scroll-margin-top: 72px; }

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

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--page-pad); }
.center { text-align: center; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--cream);
  font-weight: 600;
  border-radius: 10px;
}
.skip-link:focus { top: 12px; }

/* Highlighted headline word: green, with a hand-drawn orange swoosh and sparks */
.hl {
  position: relative;
  display: inline-block;
  font-style: normal;
  color: var(--green);
  white-space: nowrap;
  padding: 0 .42em .06em 0;
  margin-right: -.3em;
}
.hl::after {
  content: "";
  position: absolute;
  left: -2%;
  right: .3em;
  bottom: -.16em;
  height: .3em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 9c50-6 120-7 194 2' fill='none' stroke='%23e8722c' stroke-width='3.2' stroke-linecap='round'/%3E%3Cpath d='M30 16c45-4 100-4 150 1' fill='none' stroke='%23e8722c' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  pointer-events: none;
}
.hl::before {
  content: "";
  position: absolute;
  top: .02em;
  right: 0;
  width: .36em;
  height: .36em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 2l2 7M14 3l-3 7M21 10l-8 3' fill='none' stroke='%23e8722c' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
}

/* ==========================================================================
   Buttons, badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 24px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(2px); }
.btn-primary { background: var(--orange); color: var(--ink); box-shadow: 0 4px 0 var(--orange-dark); }
.btn-primary:hover { box-shadow: 0 5px 0 var(--orange-dark); }
.btn-primary:active { box-shadow: 0 2px 0 var(--orange-dark); }
.btn-outline { background: var(--cream); color: var(--ink); border-color: var(--ink); box-shadow: 0 4px 0 var(--ink); }
.btn-outline:active { box-shadow: 0 2px 0 var(--ink); }
.btn-dark { background: var(--ink); color: var(--cream); box-shadow: 0 3px 0 #06100b; }
.btn-lg { min-height: 54px; padding: 13px 30px; font-size: 1.0625rem; }
.btn-small { white-space: nowrap; min-height: 44px; padding: 8px 18px; font-size: .9375rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--pink);
  color: var(--ink);
  font-size: .875rem;
  font-weight: 500;
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.badge-on-dark { background: var(--peach); }

/* Platform icon discs (generic glyphs in platform colors, not logos) */
.picon { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #fff; }
.picon svg { width: 62%; height: 62%; }
.picon-sm { width: 22px; height: 22px; }
.picon-lg { width: 56px; height: 56px; border-radius: 18px; }
/* Facebook and Reddit logos are full circles, so they render at full size in brand color */
.picon-fb { background: none; color: var(--fb); }
.picon-rd { background: none; color: var(--rd); }
.picon-fb svg,
.picon-rd svg { width: 100%; height: 100%; }
.picon-x { background: var(--x); color: #fff; }
.picon-x svg { width: 52%; height: 52%; }
/* Nextdoor: the house mark in white on a brand-green disc, to match the round Facebook, Reddit and X marks */
.picon-nd { background: var(--nd); color: #fff; }
.picon-nd svg { width: 58%; height: 58%; }

/* Decorative stickers */
.sticker-shape { position: absolute; z-index: 2; width: 52px; height: 52px; pointer-events: none; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 240, 229, .9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; letter-spacing: -.03em; text-decoration: none; }
.brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-mark { flex: none; width: 32px; height: 32px; }
.brand { min-height: 44px; }
.main-nav { display: none; }
.main-nav ul { list-style: none; display: flex; gap: 30px; }
.main-nav a { display: inline-block; padding: 12px 2px; color: var(--ink); text-decoration: none; font-weight: 500; }
.main-nav a:hover { color: var(--orange-dark); text-decoration: underline; text-underline-offset: 6px; }

/* Menu button (phones and tablets) */
.header-inner .btn-small { margin-left: auto; }
.menu-toggle {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 3px 0 var(--ink);
  cursor: pointer;
}
.menu-toggle:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.menu-icon,
.menu-icon::before,
.menu-icon::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, background-color .2s ease; }
.menu-icon { position: relative; }
.menu-icon::before,
.menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.menu-open .menu-icon { background: transparent; }
.menu-open .menu-icon::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 899px) {
  /* The menu drops down under the header */
  .main-nav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 4px var(--page-pad) 18px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(20, 38, 29, .14);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  }
  .menu-open .main-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .18s ease, transform .18s ease; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li + li { border-top: 1px solid var(--line); }
  .main-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    padding: 0 2px;
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -.02em;
  }
  .main-nav a::after { content: ""; width: 8px; height: 8px; margin-right: 6px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); opacity: .5; }
  .main-nav a:hover { text-decoration: none; }
}
@media (max-width: 899px) and (prefers-reduced-motion: reduce) {
  .main-nav, .menu-open .main-nav { transition: none; transform: none; }
}


/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding: 40px 0 64px; }
.hero-grid { display: grid; gap: 56px; align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 { max-width: 16ch; margin: 0 0 20px; font-size: clamp(2.2rem, 6.4vw, 3.9rem); }
.lede { font-size: clamp(1.0625rem, 2vw, 1.2rem); max-width: 52ch; margin: 0 0 28px; color: var(--muted); }
.hero-actions { display: grid; gap: 12px; margin: 0 0 20px; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 0; font-size: .9375rem; color: var(--ink-2); }
.facts li { display: inline-flex; align-items: center; }
.facts li + li::before { content: ""; width: 4px; height: 4px; margin: 0 12px; border-radius: 50%; background: var(--orange); }
.facts strong { color: var(--ink); font-weight: 600; }
.where { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); }
.where-label { margin: 0 0 12px; font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.chips { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); }

/* Scrolling ribbon between hero and How it works */
.ribbon {
  margin: 0 -2%;
  background: var(--green);
  color: #fff;
  transform: rotate(-2deg);
  padding: 13px 0;
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: .01em;
  box-shadow: 0 10px 24px rgba(20, 38, 29, .12);
  overflow: hidden;
}
.ribbon-track { display: flex; width: max-content; }
.ribbon-track span { padding: 0 18px; white-space: nowrap; }
.ribbon-track span::after { content: "|"; margin-left: 36px; opacity: .6; }
@media (prefers-reduced-motion: no-preference) {
  .ribbon-track { animation: marquee 45s linear infinite; }
}
@keyframes marquee { to { transform: translateX(-50%); } }
main { overflow-x: clip; }
.ribbon + .scallop { margin-top: 84px; }
.ribbon + #compare { padding-top: 64px; }

.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot-fb { background: var(--fb); }
.dot-rd { background: var(--rd); }
.dot-nd { background: var(--nd); }
.dot-x { background: var(--x); }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 80px 0; }
.sand { background: var(--sand); }
.lime { background: var(--lime); }

/* Cloud-like scalloped top edge */
.scallop { position: relative; margin-top: 44px; }
.scallop::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -44px;
  height: 45px;
  background:
    radial-gradient(circle 46px at 60px 96px, var(--sand) 45px, transparent 46.5px) 0 100% / 120px 96px repeat-x,
    radial-gradient(circle 34px at 45px 74px, var(--sand) 33px, transparent 34.5px) 60px 100% / 90px 74px repeat-x;
  pointer-events: none;
}

.section-head { margin: 0 0 44px; }
.section-head h2 { margin-bottom: 0; max-width: 18ch; }
.section-sub { font-size: 1.0625rem; color: var(--muted); margin: 16px 0 0; max-width: 42ch; text-wrap: balance; }
.section-head-center { text-align: center; }
.section-head-center h2 { margin: 0 auto; max-width: 22ch; }
.section-head-center .section-sub { margin-left: auto; margin-right: auto; }

/* How it works */
.steps { list-style: none; display: grid; gap: 14px; }
.step { display: flex; gap: 18px; background: var(--card); border-radius: 22px; padding: 22px; box-shadow: 0 1px 2px rgba(20, 38, 29, .05); }
.step-num { flex: none; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--green-text); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: var(--lime); }
.step h3 { margin-bottom: 6px; }
.step-when { display: block; margin-top: 2px; font-family: var(--font-body); font-size: .9375rem; font-weight: 500; letter-spacing: 0; color: var(--orange-dark); }
.step p { margin: 0; }

/* Step illustrations */
/* Stacking cards: each step sticks under the header and the next one slides over it */
.steps-art { gap: 28px; max-width: 1080px; margin: 0 auto; }
.steps-art .step {
  position: sticky;
  top: 84px;
  flex-direction: column;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 -6px 24px rgba(20, 38, 29, .06), 0 18px 40px rgba(20, 38, 29, .10);
}
/* Short screens (small phones, phones in landscape): no stacking, so no card is taller than the screen */
@media (max-height: 620px) {
  .steps-art .step { position: static; }
}
.step-art { position: relative; display: grid; place-items: center; height: 270px; padding: 24px 22px; overflow: hidden; pointer-events: none; user-select: none; }
.art-pink { background: var(--pink); }
.art-blue { background: var(--blue); }
.art-lime { background: var(--lime); }
.art-peach { background: var(--peach); }
.step-body { display: flex; gap: 18px; padding: 22px; }

.mini-card { position: relative; width: 100%; max-width: 290px; padding: 16px 18px; background: var(--card); border-radius: 18px; box-shadow: var(--shadow); font-size: .8125rem; color: var(--ink-2); }
.mini-card p { margin: 0; }
.mini-tilt-l { transform: rotate(-2deg); }
.mini-tilt-r { transform: rotate(2deg); }
.mini-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-family: var(--font-head); font-size: .9375rem; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.mini-price { margin: 6px 0 12px !important; font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.mini-price span { font-size: .45em; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.mini-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px !important; }
.mini-chip { padding: 4px 10px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); font-weight: 500; color: var(--ink); white-space: nowrap; }
.mini-btn { display: block; padding: 9px; border-radius: 999px; background: var(--orange); box-shadow: 0 3px 0 var(--orange-dark); text-align: center; font-weight: 600; color: var(--ink); }
.mini-cursor { position: absolute; width: 24px; height: 24px; right: 34px; bottom: 4px; transform: rotate(-8deg); filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); }

.mini-form .mini-label { margin-top: 7px !important; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.mini-form .mini-label:first-child { margin-top: 0 !important; }
.mini-field { margin-top: 3px !important; padding: 6px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.mini-field-ok { display: flex; justify-content: space-between; align-items: center; border-color: var(--green); }
.mini-check { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--green); color: #fff; font-size: .6875rem; font-weight: 700; }
.mini-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 3px !important; }
.mini-tags span { padding: 3px 9px; border-radius: 999px; background: var(--lime); color: var(--ink); font-weight: 500; }

.mini-thread { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.mini-meta { display: flex; align-items: center; gap: 6px; margin-bottom: 8px !important; font-weight: 700; font-size: .75rem; color: #1c1e21; }
.mini-post { color: #1c1e21; line-height: 1.4; }
.mini-post strong { display: block; }
.mini-reply { margin-top: 10px; padding: 8px 10px; border-radius: 12px; background: #fff4ea; box-shadow: 0 0 0 1.5px var(--orange); color: #1c1e21; line-height: 1.4; }
.mini-reply strong { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--orange-dark); }

.art-peach { gap: 0; align-content: center; }
.mini-call { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; width: max-content; max-width: 100%; margin-bottom: -12px; padding: 10px 16px 10px 10px; border-radius: 16px; background: var(--ink); color: var(--cream); box-shadow: var(--shadow); font-size: .8125rem; }
.mini-call > span:last-child { display: grid; }
.mini-call strong { font-weight: 600; }
.mini-call > span:last-child > span { color: #c9d3cb; }
.mini-call-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #22a355; font-size: 1rem; }
.mini-list { padding-top: 20px; }
.mini-count { padding: 2px 9px; border-radius: 999px; background: var(--lime); font-family: var(--font-body); font-size: .75rem; font-weight: 600; }
.mini-row { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; padding: 7px 0; border-top: 1px solid var(--line); }
.mini-list .mini-title { margin-bottom: 6px; }
.mini-row strong { color: var(--ink); font-weight: 600; white-space: nowrap; }
.mini-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-row .fake-link { margin: 0; font-size: .75rem; }
.fake-link { color: var(--green-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Mock thread */
.mock { margin: 0; }
.mock-tilt { position: relative; transform: rotate(1.5deg); }
.sticker-star { top: -24px; left: -16px; }
.mock-card { background: #fff; border-radius: 22px; color: #1c1e21; font-size: .9375rem; overflow: hidden; box-shadow: var(--shadow); font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.mock-card p { margin: 0; }
.mock-group { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #f0f2f5; font-weight: 700; font-size: .875rem; }
.mock-post { padding: 16px; border-bottom: 1px solid #e4e6eb; }
.mock-author { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.mock-name { font-weight: 700; font-size: .875rem; }
.mock-time { font-size: .8125rem; color: #5b6069; }
.mock-body { font-size: 1rem; }
.mock-stats { margin-top: 10px !important; font-size: .8125rem; color: #5b6069; }
.mock-comments { list-style: none; padding: 14px 16px 18px; display: grid; gap: 10px; }
.comment { display: flex; gap: 8px; align-items: flex-start; }
.comment-bubble { background: #f0f2f5; border-radius: 16px; padding: 8px 12px; }
.comment-ours .comment-bubble { background: #fff4ea; box-shadow: 0 0 0 2px var(--orange); }
.reply-badge { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .75rem; font-weight: 500; vertical-align: 1px; }
.tag { color: #1a56c4; font-weight: 700; }
.avatar { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-size: .75rem; font-weight: 700; color: #fff; }
.comment .avatar { width: 32px; height: 32px; }
.avatar-a { background: #6b4fa0; }
.avatar-b { background: #22734a; }

/* Before / after */
.eyebrow { margin: 0 0 14px; font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ba { display: grid; border-radius: 32px; overflow: hidden; max-width: 1080px; margin: 0 auto; box-shadow: 0 1px 2px rgba(20, 38, 29, .05); }
.ba-panel { position: relative; min-height: 400px; padding: 28px 20px; }
.ba-before { background: var(--sand); }
.ba-after { background: var(--blue); }
.ba-label { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 8px; width: max-content; margin: 0 auto; padding: 10px 20px; border-radius: 999px; background: rgba(20, 38, 29, .07); font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.ba-label-brand { background: var(--card); box-shadow: var(--shadow); }
.ba-label .brand-mark { width: 26px; height: 26px; }
.ba-line { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ba-line-m,
.ba-after .ba-line-m { display: none; }
.ba-pains { list-style: none; margin: 0; padding: 0; }
.pain {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 14px 10px 10px;
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 4px 14px rgba(20, 38, 29, .08);
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
}
.pain::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f6dcd4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 8l8 8M16 8l-8 8' stroke='%23a8432a' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.pain-1 { top: 22%; left: 12%; }
.pain-2 { top: 39%; right: 5%; }
.pain-3 { top: 56%; left: 6%; }
.pain-4 { top: 74%; right: 9%; }
.pain-4 strong { color: #8a3520; }

.ba-label-after { background: var(--card); box-shadow: var(--shadow); }
.ba-wins { list-style: none; margin: 0; padding: 0; position: absolute; z-index: 1; top: 26%; left: 50%; transform: translateX(-50%); display: grid; gap: 16px; justify-items: center; }
.ba-after .ba-line { display: none; }
.ba-after { min-height: 470px; }
.ba-before { min-height: 440px; }
/* Each After card: icon on the left, title and subheading on the right */
.win {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 12px;
  row-gap: 2px;
  align-items: center;
  justify-content: start;
  padding: 10px 18px 11px 10px;
  border-radius: 14px;
  font-family: var(--font-head);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.win-1 { background: var(--card); color: var(--ink); box-shadow: 0 4px 0 #d9d2c1; transform: rotate(-2deg); }
.win-2 { background: var(--ink); color: var(--cream); box-shadow: 0 4px 0 #06100b; transform: rotate(2deg); }
.win-3 { background: var(--lime); color: var(--ink); box-shadow: 0 4px 0 #a9b86a; transform: rotate(-2deg); }
.win-4 { background: var(--orange); color: var(--ink); box-shadow: 0 5px 0 var(--orange-dark); transform: rotate(3deg); padding: 13px 22px 14px; font-size: clamp(1.15rem, 1.8vw, 1.45rem); }
.win-4 strong { font-weight: 700; }
.win strong,
.win .chip-sub { grid-column: 2; }
.win::before {
  content: "";
  grid-row: 1 / span 2;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--sand) center / 17px no-repeat;
}
.win-4 { padding-left: 12px; }
.win-1::before { background-color: var(--sand); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314261d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4 4'/%3E%3C/svg%3E"); }
.win-2::before { background-color: rgba(244, 240, 229, .14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4f0e5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v10H9l-5 4z'/%3E%3Cpath d='M9 10l2 2 4-4'/%3E%3C/svg%3E"); }
.win-3::before { background-color: rgba(255, 255, 255, .7); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314261d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.6 3.5h2.6l1.4 4.2-2 1.4a11 11 0 0 0 6.3 6.3l1.4-2 4.2 1.4v2.6a2 2 0 0 1-2.2 2A16.5 16.5 0 0 1 4.6 5.7a2 2 0 0 1 2-2.2z'/%3E%3C/svg%3E"); }
.win-4::before { background-color: rgba(255, 255, 255, .7); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314261d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M15 9h-4.2a1.5 1.5 0 0 0 0 3h2.4a1.5 1.5 0 0 1 0 3H9M12 7.5v1.5M12 15v1.5'/%3E%3C/svg%3E"); }
.pain strong,
.win strong { display: block; font-weight: 600; }
.chip-sub { display: block; font-family: var(--font-body); font-size: .8125rem; font-weight: 500; letter-spacing: 0; line-height: 1.3; white-space: nowrap; opacity: .78; }
.pain .chip-sub { color: var(--muted); opacity: 1; }
.pain::before { margin-top: 1px; }

/* Benefits */
.benefits { display: grid; gap: 16px; }
.benefit { border-radius: 28px; padding: 26px 24px; }
.benefit h3 { margin-bottom: 8px; }
.benefit p { margin: 0; color: var(--ink-2); }
.bicon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .7); color: var(--ink); margin-bottom: 20px; }
.bicon svg { width: 22px; height: 22px; }
.tint-pink { background: var(--pink); }
.tint-blue { background: var(--blue); }
.tint-lime { background: var(--lime); }
.tint-peach { background: var(--peach); }

/* Testimonials */
.blue { background: var(--blue); }
.testimonials {
  position: relative;
  display: flex;
  gap: 24px;
  /* Full screen width; the first card starts just inside the screen edge */
  margin: -24px calc(-1 * var(--page-edge)) 0;
  padding: 24px var(--page-pad) 36px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--page-pad);
  scrollbar-width: none;
}
.testimonials::-webkit-scrollbar { display: none; }
.testimonials:focus-visible { outline-offset: -3px; border-radius: 0; }
/* About three cards on a laptop; wider screens show more cards, never wider than 370px */
.testimonials .testimonial { flex: 0 0 min(calc(33.333% - 32px), 370px); scroll-snap-align: start; }
.testimonial {
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 30px 28px 26px;
  background: var(--card);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.quote-mark { width: 32px; height: 24px; }
.testimonial blockquote { margin: 0; flex: 1; }
.testimonial blockquote p { margin: 0; font-family: var(--font-head); font-size: 1.25rem; line-height: 1.35; letter-spacing: -.02em; color: var(--ink); word-break: break-word; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.testimonial figcaption strong { display: block; color: var(--ink); font-weight: 600; word-break: break-word; }
.t-meta { display: block; font-size: .875rem; color: var(--muted); word-break: break-word; }
.t-avatar { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--peach); color: var(--ink); }
.t-avatar svg { width: 60%; height: 60%; }
/* Initials in the avatar circle. Swap for a photo later: <img class="t-avatar" src="images/name.jpg" alt=""> */
.t-avatar { font-family: var(--font-head); font-size: 1rem; font-weight: 700; letter-spacing: -.01em; overflow: hidden; }
img.t-avatar { object-fit: cover; }
.t-c1 { background: var(--pink); }
.t-c2 { background: var(--blue); }
.t-c3 { background: var(--lime); }
.t-c4 { background: var(--peach); }
.t-c5 { background: var(--green-light); }
.t-c6 { background: var(--sand); }
.testimonials-note { margin: 22px 0 0; text-align: center; font-size: .875rem; color: var(--muted); }
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: -8px; }
.carousel-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 3px 0 var(--ink);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-btn:hover { transform: translateY(-1px); }
.carousel-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.carousel-btn[disabled] { opacity: .3; cursor: default; transform: none; box-shadow: 0 3px 0 var(--ink); }
.carousel-dots { display: flex; justify-content: center; gap: 8px; }
.carousel-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(20, 38, 29, .2); transition: width .2s ease, background-color .2s ease; }
.carousel-dots span.is-active { width: 22px; border-radius: 4px; background: var(--ink); }
.sticker-t { top: -20px; right: -10px; width: 46px; height: 46px; }

/* Pricing */
.price-card {
  max-width: 500px;
  margin: 0 auto;
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: 30px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.price-flag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: .8125rem; font-weight: 600; }
.price-name { margin-top: 10px; font-size: 1.25rem; }
.price { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; color: var(--ink); margin: 0 0 6px; line-height: 1.05; letter-spacing: -.04em; word-break: break-word; }
.price span { font-size: .42em; font-weight: 600; letter-spacing: -.01em; color: var(--muted); margin-left: .12em; }
.price-sub { font-size: .9375rem; }
.price-note { margin: 14px 0 0; font-size: .875rem; text-align: center; }
.price-features { list-style: none; display: grid; gap: 16px; margin: 22px 0 28px; color: var(--muted); font-size: .9375rem; }
.price-features li { position: relative; padding-left: 34px; line-height: 1.5; }
.price-features strong { color: var(--ink); font-weight: 600; }
.price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .15em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2314261d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* 404 page */
.notfound { max-width: 620px; text-align: center; padding: 40px 0 20px; }
.notfound h1 { font-size: clamp(2rem, 6vw, 3.2rem); margin-bottom: .4em; }
.notfound-lede { font-size: 1.0625rem; margin: 0 auto 32px; max-width: 46ch; }
.notfound-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.notfound-help { margin: 32px 0 0; font-size: .9375rem; }

/* PayPal checkout inside the pricing card */
.checkout { margin-top: 2px; }
.checkout-status { margin: 0 0 14px; text-align: center; font-size: .9375rem; color: var(--muted); }
.checkout-status:focus { outline: none; }
.checkout-buttons { min-height: 48px; }
.checkout-done { margin: 0; padding: 16px 18px; border-radius: 16px; background: #e4f1e9; color: var(--ink); text-align: left; }
.checkout-done strong { display: block; margin-bottom: 2px; font-family: var(--font-head); font-size: 1.1rem; }
.checkout-next { margin-top: 14px; }
.checkout-ref { margin: 12px 0 0; font-size: .8125rem; color: var(--muted); text-align: center; }
.checkout-error { margin: 0; padding: 14px 16px; border-radius: 14px; background: #fbe9e4; color: #7a2e1c; text-align: left; font-size: .9375rem; }
.checkout-error a { color: inherit; font-weight: 600; }

/* FAQ */
.faq-grid { display: grid; gap: 8px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border-radius: 20px; }
.faq summary {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 14px;
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 22px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.3;
  letter-spacing: -.02em;
  color: var(--ink);
  border-radius: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  border-radius: 50%;
  background: var(--sand);
  font-family: var(--font-body);
  font-size: 1.25rem;
  line-height: 1;
  transition: transform .15s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--orange); }
.faq-num { flex: none; width: 24px; font-size: .9375rem; font-variant-numeric: tabular-nums; color: var(--green-text); }
.faq-body { padding: 0 24px 22px 60px; }
.faq-body p { margin: 0; }

/* Final call to action */
.final-cta { background: var(--ink); color: #cdd7cf; padding: 80px 0; text-align: center; }
.final-inner { display: grid; justify-items: center; gap: 18px; }
.final-cta h2 { margin: 0; max-width: 20ch; color: var(--cream); }
.final-cta .hl { color: var(--green-light); }
.final-cta .eyebrow { margin: 0; font-size: .8125rem; color: var(--green-light); }
.final-cta p { margin: 0; font-size: 1.0625rem; }
.final-cta :focus-visible { outline-color: var(--cream); }

/* Footer */
.site-footer { background: #0e1b14; color: #b9c5bc; padding: 36px 0; font-size: .9375rem; }
.site-footer .brand { color: var(--cream); }
.site-footer :focus-visible { outline-color: var(--cream); }
.footer-inner { display: grid; gap: 14px; }
.site-footer p { margin: 0; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 0 22px; }
.footer-links a { display: inline-block; padding: 12px 0; }
.footer-links a { color: var(--cream); }

/* ==========================================================================
   Legal pages (privacy.html, terms.html)
   ========================================================================== */
.legal { padding: 56px 0 80px; }
.legal-inner { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 6vw, 3.1rem); margin-bottom: .3em; }
.legal-date { margin: 0 0 20px; font-size: .9375rem; color: var(--muted); }
.legal-lede { font-size: 1.0625rem; margin: 0; }
.legal-head { margin: 0 0 40px; padding: 0 0 32px; border-bottom: 1px solid var(--line); }

.legal-toc {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 26px;
  margin: 0 0 44px;
}
.legal-toc h2 { font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--green-text); margin: 0 0 12px; font-family: var(--font-body); }
.legal-toc ol { margin: 0; padding-left: 1.4em; font-size: .9375rem; }
.legal-toc li { margin: 0 0 6px; padding-left: .2em; }
.legal-toc li:last-child { margin-bottom: 0; }
.legal-toc a { text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }

.legal-body h2 {
  font-size: 1.375rem;
  letter-spacing: -.02em;
  margin: 44px 0 .6em;
  scroll-margin-top: 84px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body ul { margin: 0 0 1em; padding-left: 1.2em; list-style: disc; }
.legal-body li { margin: 0 0 .5em; padding-left: .2em; }
.legal-body strong { color: var(--ink); }

.legal-back { margin: 56px 0 0; padding: 28px 0 0; border-top: 1px solid var(--line); }
.legal-back a { display: inline-block; padding: 10px 0; }

@media (max-width: 599px) {
  .legal { padding: 36px 0 56px; }
  .legal-head { margin-bottom: 32px; padding-bottom: 24px; }
  .legal-toc { padding: 20px; margin-bottom: 36px; }
  .legal-toc a { display: inline-block; padding: 3px 0; }
  .legal-body h2 { margin-top: 36px; font-size: 1.25rem; }
}

/* ==========================================================================
   Larger screens
   ========================================================================== */
@media (max-width: 420px) {
  .btn-small { padding: 8px 14px; font-size: .875rem; }
  .header-inner { gap: 8px; }
  .site-header .brand { gap: 8px; font-size: 1.1rem; }
  .site-header .brand-mark { width: 30px; height: 30px; }
}

/* ==========================================================================
   Phones (under 600px): shorter page, bigger tap targets, tidier illustrations
   ========================================================================== */
@media (max-width: 599px) {
  /* Hero: headline fills the width as one solid block; shorter paragraph so the buttons sit higher */
  .hero h1 { max-width: none; font-size: min(11.2vw, 2.75rem); line-height: 1.02; letter-spacing: -.05em; margin-bottom: 18px; }
  .lede-long { display: none; }

  /* Price line sits centred under the full-width buttons */
  .facts { justify-content: center; }

  /* Less vertical padding so the page is quicker to scroll */
  .hero { padding: 28px 0 48px; }
  .hero-grid { gap: 40px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 32px; }
  .scallop { margin-top: 36px; }
  .ribbon + .scallop { margin-top: 64px; }
  .ribbon + #compare { padding-top: 48px; }
  .final-cta { padding: 64px 0; }


  /* Hero thread: keep the header text clear of the "6 min" sticker */
  .mock-group { padding-right: 78px; }
  .mock-group > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  /* Step illustrations size to their content on phones */
  .step-art { height: auto; min-height: 210px; padding: 30px 20px; }
  .step-body { gap: 14px; padding: 20px; }
  .mini-meta { display: block; padding-right: 48px; line-height: 1.5; }
  .mini-meta .picon { display: inline-grid; vertical-align: -6px; margin-right: 4px; }

  /* Before/after on phones: a dense scribble with the problems floating on it,
     then one line leaves the scribble and runs straight into the After cards */
  .ba { border-radius: 26px; }
  .ba-panel { padding: 24px 16px; }
  .ba-label { margin: 0; }
  .ba-line { display: none; }
  .ba-before .ba-line-m,
  .ba-after .ba-line-m { display: block; }

  /* Stickers (title + subheading) scattered over big loops */
  .ba-before { min-height: 600px; }
  .pain {
    position: absolute;
    max-width: 88%;
    padding: 11px 16px 12px 12px;
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(20, 38, 29, .10), 0 1px 2px rgba(20, 38, 29, .06);
    font-size: 1rem;
    white-space: normal;
  }
  .pain::before { margin-top: 2px; }
  .pain .chip-sub { white-space: normal; text-wrap: balance; }
  .pain-1 { top: 15%; right: 4%; left: auto; }
  .pain-2 { top: 32%; left: 3%; right: auto; }
  .pain-3 { top: 49%; right: 6%; left: auto; }
  .pain-4 { top: 66%; left: 12%; right: auto; }

  .ba-after { min-height: 0; padding-bottom: 44px; }
  .ba-after .ba-line-m { bottom: auto; height: 150px; }
  .ba-wins {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    display: grid;
    justify-items: center;
    gap: 18px;
    margin: 44px 0 0;
  }
  .win {
    display: grid;
    grid-template-columns: 36px 1fr;
    column-gap: 12px;
    align-items: center;
    width: 94%;
    padding: 13px 16px 13px 13px;
    border-radius: 18px;
    font-size: 1.05rem;
    white-space: normal;
  }
  .win strong,
  .win .chip-sub { white-space: normal; text-wrap: balance; }
  .win::before { width: 36px; height: 36px; border-radius: 11px; background-size: 18px; }
  .win-1 { transform: none; box-shadow: 0 4px 0 #d9d2c1, 0 12px 26px rgba(20, 38, 29, .10); }
  .win-2 { transform: rotate(2deg) translateX(6px); }
  .win-3 { transform: rotate(-2deg) translateX(-4px); }
  .win-4 { transform: rotate(1.5deg); padding: 15px 18px 15px 13px; font-size: 1.25rem; }

  /* Benefits: compact rows (icon left, text right) */
  .benefits { gap: 12px; }
  .benefit { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 20px; border-radius: 22px; }
  .bicon { grid-row: span 2; margin: 0; }
  .benefit h3 { align-self: end; margin-bottom: 4px; }
  .benefit p { grid-column: 2; }

  /* Tighter cards further down */
  .testimonials { gap: 14px; }
  .testimonials .testimonial { flex-basis: 86%; }
  .sticker-t { right: 6px; }
  .carousel-nav { margin-top: -14px; gap: 14px; }
  .testimonial { gap: 16px; padding: 24px 22px 20px; }
  .price-card { padding: 26px 22px; }
  .faq summary { gap: 12px; padding: 17px 52px 17px 18px; font-size: 1.05rem; }
  .faq summary:active { background: var(--cream); }
  .faq-body { padding: 0 20px 18px 54px; }
}

/* Very small phones (under 360px, e.g. iPhone SE 1st gen) */
@media (max-width: 359px) {
  :root { --page-pad: 16px; }
  .header-inner { gap: 10px; }
  .brand { gap: 8px; font-size: 1.05rem; }
  .brand-mark { width: 28px; height: 28px; }
  .btn-small { padding: 8px 12px; font-size: .8125rem; }
  .badge { padding: 5px 12px; font-size: .75rem; white-space: nowrap; }
  .chips { gap: 12px 8px; }
  .chip { gap: 6px; font-size: .875rem; }
  .win { font-size: .95rem; width: 96%; padding-right: 14px; }
  .win-2 { transform: rotate(1.5deg); }
  .win-3 { transform: rotate(-1.5deg); }
  .win-4 { font-size: 1.1rem; transform: rotate(1deg); }
  .mock-card { font-size: .875rem; }
  .hero { padding-top: 18px; }
  .badge { margin-bottom: 14px; }
  .hero h1 { margin-bottom: 14px; }
  .lede { margin-bottom: 20px; font-size: 1rem; }
}

@media (min-width: 600px) and (max-width: 899px) {
  .testimonials { gap: 20px; }
  .testimonials .testimonial { flex-basis: calc(50% - 44px); }
}
@media (min-width: 600px) {
  .benefits { grid-template-columns: 1fr 1fr; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
  .chips { display: flex; flex-wrap: wrap; gap: 10px 22px; }
  .price-card { padding: 38px 36px; }
}

@media (min-width: 900px) {
  :root { --page-pad: 36px; }
  .main-nav { display: block; }
  .menu-toggle { display: none; }
  .header-inner .btn-small { margin-left: 0; }
  .hero { padding: 72px 0 72px; }
  .ribbon + .scallop { margin-top: 110px; }
  .ribbon + #compare { padding-top: 88px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 0 64px; }
  /* The thread card is centred on the headline-to-price block; the platform list sits underneath */
  .hero-copy { display: contents; }
  .hero-main { grid-column: 1; grid-row: 1; }
  .mock { grid-column: 2; grid-row: 1; }
  .where { grid-column: 1; grid-row: 2; }
  .section { padding: 112px 0; }
  .scallop { margin-top: 60px; }

  .section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-bottom: 60px; }
  .section-head .section-sub { margin: 0; text-align: right; }
  .section-head-center { display: block; }
  .section-head-stack { display: block; margin: 0; }
  .section-head-stack .section-sub { text-align: left; margin-top: 18px; }

  .benefits { grid-template-columns: repeat(4, 1fr); }
  .steps-art { gap: 40px; }
  .steps-art .step { top: 96px; display: grid; grid-template-columns: .95fr 1.05fr; min-height: 420px; }
  .steps-art .step-body { order: -1; flex-direction: column; justify-content: center; gap: 22px; padding: 48px 44px; }
  .steps-art .step-num { width: 56px; height: 56px; font-size: 1.3rem; border-radius: 18px; }
  .steps-art .step h3 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); letter-spacing: -.035em; font-weight: 700; margin-bottom: 12px; }
  .steps-art .step-when { margin-top: 8px; font-size: 1rem; letter-spacing: 0; }
  .steps-art .step-body p { font-size: 1.0625rem; max-width: 38ch; }
  .steps-art .step-art { height: auto; padding: 40px; }
  .steps-art .mini-card { max-width: 340px; font-size: .875rem; }
  .steps-art .mini-call { font-size: .875rem; }
  .section-head-center .section-sub { margin: 18px auto 0; text-align: center; }
  .faq-grid { grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
  .faq-grid .section-head-stack { position: sticky; top: 100px; }
  .final-cta { padding: 110px 0; }
  .footer-inner { grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
}

/* Phones and tablets (single-column hero) */
@media (max-width: 899px) {
  /* Show the example thread straight after the buttons; the platform list follows it */
  .hero-grid { gap: 0; }
  .hero-copy { display: contents; }
  .mock { order: 1; margin-top: 48px; }
  .where { order: 2; margin-top: 36px; }

  /* FAQ heading centred, like the other section headings */
  .faq-grid .section-head { text-align: center; }
  .faq-grid .section-head h2,
  .faq-grid .section-sub { margin-left: auto; margin-right: auto; }
}

/* Before/after side by side from 1100px. Below that the panels stack (Before above After),
   because the After cards with icons do not fit beside the line on narrower laptops. */
@media (min-width: 1100px) {
  .ba { grid-template-columns: 1fr 1fr; }
  .ba-panel { min-height: 540px; padding: 36px 28px; }
  .pain { font-size: .9375rem; }
  .pain-1 { left: 34%; }
  .ba-after { min-height: 540px; }
  .ba-after .ba-line { display: block; }
  .ba-after .ba-line-m,
  .ba-before .ba-line-m { display: none; }
  .ba-wins { top: calc(30% - 31px); left: 37.6%; transform: none; justify-items: start; }
}

/* Narrow phones: logo, Subscribe and the menu button must fit on one line */
@media (max-width: 389px) {
  .header-inner { gap: 6px; }
  .site-header .brand { gap: 7px; font-size: 1rem; }
  .site-header .brand-mark { width: 28px; height: 28px; }
  .site-header .btn-small { padding: 8px 12px; font-size: .8125rem; }
}
@media (max-width: 359px) {
  .btn-now { display: none; }
}

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