/* Kitsouk site stylesheet, v2 (16 October 2026: teal hero, coloured product cards, screenshot
   strip, display face). Desktop first: the base rules are the desktop layout; max-width queries
   step down to 1024, 768, 480 and 375. Every colour, size and space comes from the tokens below.
   No script anywhere: motion is CSS only and stops under prefers-reduced-motion. */

/* Bricolage Grotesque, SIL Open Font License (assets/fonts/OFL-bricolage-grotesque.txt) */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/bricolage-grotesque-latin-wght.woff2") format("woff2-variations"),
       url("/assets/fonts/bricolage-grotesque-latin-wght.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ------------------------------------------------------------------ tokens */
:root {
  /* product palette */
  --ink: #1F2A37;
  --sand: #F4EDE1;
  --teal: #1F6F6B;
  --saffron: #E3A72F;
  --terracotta: #C0533A;

  /* derived */
  --paper: #FFFDF8;
  --white: #FFFFFF;
  --sand-deep: #EADFCB;
  --line: #E2D5C0;
  --muted: #4B5563;
  --teal-dark: #17524F;
  --teal-deep: #123F3D;
  --berry: #8C2A2E;
  --berry-dark: #6E1F23;
  --gold-soft: #F6E3B8;
  --teal-tint: #E3EFEC;
  --ink-soft: #2C3A4B;

  /* type */
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: 1.625rem;
  --text-2xl: 2.125rem;
  --text-3xl: 3rem;
  --leading: 1.6;
  --leading-tight: 1.15;

  /* space */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 6rem;

  /* shape */
  --radius: 14px;
  --radius-sm: 8px;
  --border: 1px solid var(--line);
  --shadow: 0 1px 2px rgba(31, 42, 55, 0.05), 0 10px 28px rgba(31, 42, 55, 0.08);
  --shadow-lift: 0 2px 4px rgba(18, 63, 61, 0.08), 0 22px 48px rgba(18, 63, 61, 0.22);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  /* layout */
  --container: 1160px;
  --gutter: 40px;
  --measure: 68ch;
  --tap: 44px;
  --header-h: 76px;
  --buybar-h: 0px;

  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--space-3);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading);
  overflow-wrap: break-word;
  padding-bottom: var(--buybar-h);
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--leading-tight);
  margin: 0 0 var(--space-2);
  color: var(--ink);
}
h1 { font-size: var(--text-3xl); letter-spacing: -0.02em; }
h2 { font-size: var(--text-2xl); letter-spacing: -0.01em; }
h3 { font-size: var(--text-lg); }

p, ul, ol, dl { margin: 0 0 var(--space-2); }
ul, ol { padding-left: 1.25em; }
strong, b { font-weight: inherit; } /* house rule: no bold in copy */

a { color: var(--teal); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-dark); text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: 3px;
  border-radius: 4px;
}

.file { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.92em; overflow-wrap: anywhere; }
.email { overflow-wrap: anywhere; }

.skip {
  position: absolute; left: var(--space-2); top: -100px;
  display: inline-flex; align-items: center; min-height: var(--tap);
  background: var(--ink); color: var(--white); padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm); z-index: 10;
}
.skip:focus { top: var(--space-2); color: var(--white); }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: var(--measure); }
.muted { color: var(--muted); }
.small { font-size: var(--text-sm); }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 6;
  background: var(--paper);
  border-top: 3px solid var(--saffron); border-bottom: var(--border);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-3); min-height: var(--header-h);
}
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  min-height: var(--tap);
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 650;
  color: var(--ink); text-decoration: none; letter-spacing: -0.01em;
}
.brand:hover { color: var(--ink); }
.brand img { width: 30px; height: 30px; transition: transform 0.6s var(--ease); }
.brand:hover img { transform: rotate(45deg); }
.header-end { display: flex; align-items: center; gap: var(--space-2); }
.nav ul { display: flex; gap: var(--space-1); list-style: none; margin: 0; padding: 0; }
.nav a {
  display: inline-flex; align-items: center; min-height: var(--tap);
  padding: 0 0.85rem; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-size: var(--text-sm);
}
.nav a:hover { background: var(--sand); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--teal-tint); color: var(--teal-dark); }
.header-buy { min-height: var(--tap); padding: 0 1.1rem; font-size: var(--text-sm); }

/* ------------------------------------------------------------------ sections */
.section { padding: var(--space-6) 0; }
.section + .section { padding-top: 0; }
.band { background: var(--sand); }
.band + .section { padding-top: var(--space-6); }

.kicker::before, .rule-title::before {
  content: ""; display: block; width: 48px; height: 6px;
  background: var(--saffron); border-radius: 3px; margin-bottom: var(--space-2);
}
.section-head { margin-bottom: var(--space-4); max-width: var(--measure); }
.section-head p { color: var(--muted); }

/* ------------------------------------------------------------------ hero (home) */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 520px at 85% 10%, rgba(227, 167, 47, 0.16), transparent 60%),
    linear-gradient(160deg, var(--teal) 0%, var(--teal-deep) 75%);
  color: var(--sand);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: url("/assets/img/pattern-gold.svg") repeat 0 0 / 64px 64px;
  -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 85%);
  mask-image: linear-gradient(100deg, transparent 30%, #000 85%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; padding-top: var(--space-6); padding-bottom: var(--space-6); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--space-5); align-items: center; }
.hero-text { max-width: 640px; }
.hero h1 { font-size: 3.3rem; line-height: 1.05; color: var(--white); margin-bottom: var(--space-3); }
.hero h1 .hl { color: var(--saffron); }
.hero .lede { font-size: var(--text-lg); color: #E9F1EE; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-4) 0 var(--space-3); }
.hero .note { color: #CFE2DD; font-size: var(--text-sm); margin: 0; }
.hero .kicker::before { background: var(--saffron); }

/* the stack of real screens on the right */
.hero-stack { position: relative; min-height: 530px; }
.stack-card {
  position: absolute; margin: 0;
  background: var(--white); border-radius: var(--radius); padding: 14px;
  box-shadow: var(--shadow-lift);
}
.stack-card img { border-radius: 6px; }
.stack-back { top: 0; right: 0; width: 78%; transform: rotate(3deg); }
.stack-mid { bottom: 0; right: 2%; width: 54%; transform: rotate(-2.5deg); z-index: 1; }
.plan-card { top: 84px; left: 0; width: 66%; padding: 18px 18px 14px; transform: rotate(-1deg); z-index: 2; }
.plan-card figcaption {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-1);
  font-family: var(--font-display); font-size: 1.05rem; color: var(--teal-dark); margin-bottom: 0.6rem;
}
.plan-card figcaption span { font-family: var(--font-sans); font-size: 0.75rem; color: var(--muted); }
.plan-card table { width: 100%; border-collapse: collapse; font-size: 0.82rem; font-variant-numeric: tabular-nums; color: var(--ink); }
.plan-card th { text-align: right; font-weight: 400; color: var(--muted); font-size: 0.72rem; padding: 0 0 0.35rem; border-bottom: var(--border); }
.plan-card th:first-child, .plan-card td:first-child { text-align: left; }
.plan-card td { text-align: right; padding: 0.42rem 0; border-bottom: 1px solid #F0E8DA; white-space: nowrap; }
.plan-card tr.now td { background: #FBF0D6; }
.plan-card tr.now td:first-child { box-shadow: inset 3px 0 0 var(--saffron); padding-left: 0.4rem; }
.plan-card .short {
  color: var(--terracotta); border-radius: 6px; padding: 0.1rem 0.35rem;
  box-shadow: 0 0 0 2px var(--terracotta);
  animation: short-glow 2.6s ease-in-out infinite;
}
.plan-card .plan-note { font-size: 0.72rem; color: var(--muted); margin: 0.6rem 0 0; line-height: 1.4; }
@keyframes short-glow {
  0%, 100% { box-shadow: 0 0 0 2px var(--terracotta), 0 0 0 0 rgba(192, 83, 58, 0.35); }
  50% { box-shadow: 0 0 0 2px var(--terracotta), 0 0 0 8px rgba(192, 83, 58, 0); }
}
/* entrance: from a visible, slightly lower resting state */
@keyframes rise { from { opacity: 0.001; translate: 0 26px; } to { opacity: 1; translate: 0 0; } }
.hero-text, .stack-back, .plan-card, .stack-mid { animation: rise 0.9s var(--ease) both; }
.stack-back { animation-delay: 0.12s; }
.plan-card { animation-delay: 0.28s; }
.stack-mid { animation-delay: 0.44s; }

/* proof row under the hero */
.proof { background: var(--white); border-bottom: var(--border); }
.proof ul {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3);
  list-style: none; margin: 0; padding: var(--space-3) 0;
}
.proof li { display: flex; align-items: center; gap: 0.75rem; font-size: var(--text-sm); color: var(--ink-soft); line-height: 1.35; }
.proof svg { flex: none; width: 36px; height: 36px; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0 1.4rem;
  background: var(--teal); color: var(--white);
  border: 2px solid var(--teal); border-radius: 999px;
  font: 600 var(--text-base)/1.2 var(--font-sans);
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--teal); }
.btn-ghost:hover { background: var(--teal-tint); color: var(--teal-dark); border-color: var(--teal-dark); }
.btn-block { width: 100%; }
.btn { transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--saffron); border-color: var(--saffron); color: var(--ink); }
.btn-gold:hover { background: #F0B848; border-color: #F0B848; color: var(--ink); }
.btn-line { background: transparent; border-color: rgba(255, 255, 255, 0.6); color: var(--white); }
.btn-line:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--white); color: var(--white); }
.btn-white { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--ink); }

/* ------------------------------------------------------------------ product cards (home) */
/* auto-fit: two cards fill the row, a third card makes three columns with no CSS change */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-4); }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--teal); color: #E9F1EE; border-radius: 20px;
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card.card-gift { background: var(--berry); color: #F6E4E2; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.card-media { display: block; overflow: hidden; }
.card-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card-media img { transform: scale(1.035) translateY(-6px); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: var(--space-3) var(--space-4) var(--space-4); }
.card-body h3 { font-size: var(--text-xl); }
.card-body h3 a { color: var(--white); text-decoration: none; display: inline-flex; align-items: center; min-height: var(--tap); }
.card-body h3 a:hover { color: var(--white); text-decoration: underline; }
.card-body .meta { color: inherit; opacity: 0.85; font-size: var(--text-sm); }
.card-foot {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-2);
  margin-top: auto; padding-top: var(--space-3); border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.price { font-family: var(--font-display); font-size: var(--text-xl); color: var(--teal-dark); margin: 0; }
.price span { font-family: var(--font-sans); font-size: var(--text-sm); color: var(--muted); margin-left: 0.25rem; }
.card .price {
  display: inline-flex; align-items: baseline; gap: 0.2rem;
  background: var(--saffron); color: var(--ink); border-radius: 999px; padding: 0.3rem 0.9rem;
  font-size: 1.35rem; transform: rotate(-2deg);
}
.card .price span { color: var(--ink); margin: 0; }

/* ------------------------------------------------------------------ screenshot strip (home) */
.strip-section .section-head { margin-bottom: var(--space-3); }
.strip { overflow: hidden; padding: var(--space-2) 0 var(--space-3); }
.strip-track {
  display: flex; gap: 22px; width: max-content; list-style: none; margin: 0; padding: 0 0 0 var(--gutter);
  animation: drift 80s linear infinite;
}
.strip:hover .strip-track, .strip:focus-within .strip-track { animation-play-state: paused; }
.strip-track li { flex: none; }
.strip-track a { display: block; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.strip-track a:hover, .strip-track a:focus-visible { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow-lift); }
.strip-track img { width: 270px; height: 270px; }
@keyframes drift { to { transform: translateX(calc(-50% - 11px)); } }

/* ------------------------------------------------------------------ steps (how buying works) */
.band-teal {
  background: linear-gradient(160deg, var(--teal) 0%, var(--teal-deep) 90%);
  color: #E9F1EE; padding: var(--space-6) 0;
}
.section + .band-teal, .band-teal + .section { padding-top: var(--space-6); }
.band-teal h2, .band-teal h3 { color: var(--white); }
.steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4);
  list-style: none; margin: 0; padding: 0; counter-reset: step;
}
.steps li { counter-increment: step; position: relative; padding: 0 var(--space-2) 0 0; }
.steps li::before {
  content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 3.25rem; height: 3.25rem; margin-bottom: var(--space-2);
  border-radius: 50%; background: var(--saffron); color: var(--ink);
  font: 650 1.5rem/1 var(--font-display);
  position: relative; z-index: 1;
}
/* dotted line from one number to the next */
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 1.625rem; left: 4rem; right: calc(-1 * var(--space-4) + 0.75rem);
  border-top: 2px dotted rgba(246, 227, 184, 0.7);
}
.steps h3 { margin-bottom: var(--space-1); font-size: var(--text-xl); }
.steps p { margin: 0; color: #DCEAE6; }
.after-steps { margin-top: var(--space-4); color: var(--muted); }

/* ------------------------------------------------------------------ support box */
.support {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--space-4);
  align-items: center;
  background: var(--sand); border-radius: 20px;
  padding: var(--space-5);
}
.support::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 36%;
  background: url("/assets/img/pattern.svg") repeat 0 0 / 64px 64px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 80%);
  mask-image: linear-gradient(to right, transparent, #000 80%);
  pointer-events: none;
}
.support > * { position: relative; z-index: 1; }
.support .big-email { font-family: var(--font-display); font-size: var(--text-2xl); margin: 0 0 var(--space-1); }
.support .links { display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: flex-end; }

/* ------------------------------------------------------------------ product page */
.product-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--teal) 0%, var(--teal-deep) 80%);
  color: #E9F1EE;
}
.theme-gift .product-hero { background: linear-gradient(160deg, var(--berry) 0%, var(--berry-dark) 85%); color: #F6E4E2; }
.product-hero::after {
  content: ""; position: absolute; inset: 0;
  background: url("/assets/img/pattern-gold.svg") repeat 0 0 / 64px 64px;
  -webkit-mask-image: linear-gradient(100deg, transparent 45%, #000 95%);
  mask-image: linear-gradient(100deg, transparent 45%, #000 95%);
  pointer-events: none;
}
.product-hero .wrap { position: relative; z-index: 1; }
.product-hero h1 { color: var(--white); }
.product-hero .product-intro .lede { color: inherit; opacity: 0.95; }
.product-hero .crumbs, .product-hero .crumbs a { color: inherit; opacity: 0.85; }
.product-hero .crumbs li + li::before { color: inherit; opacity: 0.5; }
.product-hero .facts li::before { background: var(--saffron); }
.product-hero .product-media {
  border: 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25), var(--shadow-lift);
  transform: rotate(-1.5deg); transition: transform 0.5s var(--ease);
}
.product-hero .product-media:hover { transform: rotate(0deg) scale(1.01); }
.product-hero .buybox { color: var(--ink); box-shadow: var(--shadow-lift); border: 0; }
.crumbs { font-size: var(--text-sm); color: var(--muted); padding-top: var(--space-3); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--line); }
.crumbs a { color: var(--muted); display: inline-flex; align-items: center; min-height: var(--tap); }

.product-top {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: var(--space-5); align-items: start;
  padding: var(--space-3) 0 var(--space-6);
}
.product-media {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  border: var(--border); box-shadow: var(--shadow); background: var(--sand);
}
.product-intro h1 { font-size: 3rem; line-height: 1.05; }
.product-intro .lede { font-size: var(--text-lg); color: var(--ink-soft); }

.buybox {
  background: var(--white); border: var(--border); border-radius: var(--radius);
  padding: var(--space-3) var(--space-4); margin-top: var(--space-3);
}
.buybox .price-line { display: flex; align-items: baseline; gap: var(--space-2); margin-bottom: var(--space-1); }
.buybox .amount { font-family: var(--font-display); font-size: 2.5rem; line-height: 1; color: var(--ink); }
.buybox .terms-line { color: var(--muted); font-size: var(--text-sm); margin: 0; }
.buybox .btn { margin: var(--space-2) 0; }
.buybox .alt { font-size: var(--text-sm); margin: 0; }
.buybox .alt a { display: inline-flex; align-items: center; min-height: var(--tap); }

.facts { list-style: none; padding: 0; margin: var(--space-3) 0 0; display: grid; gap: 0.35rem; }
.facts li, .marks li { position: relative; padding-left: 1.4rem; }
.facts li::before, .marks li::before {
  content: ""; position: absolute; left: 0.2rem; top: 0.62em;
  width: 0.5rem; height: 0.5rem; background: var(--saffron); transform: rotate(45deg);
}
.marks { list-style: none; padding: 0; }
.marks li + li { margin-top: 0.5rem; }
.marks.not li::before { background: var(--terracotta); }

/* file list */
.files { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); }
.files li {
  display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); gap: var(--space-3);
  padding: var(--space-2) var(--space-3); background: var(--white);
  border: var(--border); border-radius: var(--radius-sm);
}
.files .file { color: var(--teal-dark); }

/* tabs list */
.tabs {
  display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr);
  margin: 0; border-top: var(--border);
}
.tabs dt, .tabs dd { padding: 0.9rem 0; border-bottom: var(--border); margin: 0; }
.tabs dt { font-family: var(--font-display); font-size: var(--text-lg); color: var(--teal-dark); padding-right: var(--space-3); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.gallery.wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shot { margin: 0; }
.shot a {
  display: block; border: var(--border); border-radius: var(--radius-sm);
  overflow: hidden; background: var(--white);
}
.shot a { transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.2s; }
.shot a:hover { border-color: var(--teal); transform: translateY(-4px); box-shadow: var(--shadow); }
.shot figcaption { font-size: var(--text-sm); color: var(--muted); margin-top: 0.6rem; }
.gallery-note { margin-top: var(--space-3); }

/* two columns of prose */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
.panel {
  background: var(--white); border: var(--border); border-radius: var(--radius);
  padding: var(--space-4);
}

/* compatibility */
.compat { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2); margin: 0; }
.compat > div {
  display: grid; grid-template-columns: minmax(0, 10rem) minmax(0, 1fr); gap: var(--space-2);
  background: var(--white); border: var(--border); border-radius: var(--radius); padding: var(--space-3);
}
.compat dt { font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.3; }
.compat dd { margin: 0; color: var(--ink-soft); }
.compat .status {
  display: inline-block; margin-bottom: var(--space-1);
  font-size: 0.8125rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--teal-dark); background: var(--teal-tint);
  padding: 0.15rem 0.6rem; border-radius: 999px;
}
.compat .status.built { color: var(--ink); background: var(--sand); }

/* questions */
.faq { border-top: var(--border); max-width: 860px; }
.faq details { border-bottom: var(--border); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-2);
  min-height: 56px; padding: 0.75rem 0;
  font-family: var(--font-display); font-size: var(--text-lg);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-sans); font-size: 1.5rem; color: var(--teal); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 var(--space-3); max-width: var(--measure); }
.faq details > div p:last-child { margin-bottom: 0; }

/* closing buy band */
.buy-band { background: linear-gradient(160deg, var(--teal) 0%, var(--teal-deep) 90%); color: var(--white); }
.theme-gift .buybox .btn { background: var(--berry); border-color: var(--berry); }
.theme-gift .buybox .btn:hover { background: var(--berry-dark); border-color: var(--berry-dark); }
.theme-gift .buy-band { background: linear-gradient(160deg, var(--berry) 0%, var(--berry-dark) 90%); }
.buy-band .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  padding-top: var(--space-5); padding-bottom: var(--space-5);
}
.buy-band h2 { color: var(--white); margin: 0 0 0.25rem; font-size: var(--text-xl); }
.buy-band p { margin: 0; color: var(--sand); }
.buy-band .btn { background: var(--saffron); border-color: var(--saffron); color: var(--ink); }
.buy-band .btn:hover { background: #F0B848; border-color: #F0B848; color: var(--ink); }
.buy-band a:not(.btn) { color: var(--white); }

/* sticky buy bar: only shown at 768 and below */
.buybar { display: none; }

/* ------------------------------------------------------------------ legal and contact pages */
.page-head { background: var(--sand); border-bottom: var(--border); }
.page-head .wrap { padding-top: var(--space-6); padding-bottom: var(--space-5); }
.page-head h1 { margin-bottom: var(--space-1); }
.page-head p { margin: 0; color: var(--muted); }
.prose { max-width: var(--measure); padding: var(--space-5) 0 var(--space-6); }
.prose h2 { font-size: var(--text-xl); margin-top: var(--space-5); }
.prose h2:first-child { margin-top: 0; }
.prose li + li { margin-top: 0.35rem; }
.contact-card {
  background: var(--white); border: var(--border); border-radius: var(--radius);
  padding: var(--space-4); margin-bottom: var(--space-4);
}
.contact-card .big-email { font-family: var(--font-display); font-size: var(--text-2xl); margin: 0 0 var(--space-1); }
.contact-card .big-email a { display: inline-flex; align-items: center; min-height: var(--tap); }

/* ------------------------------------------------------------------ 404 */
.notfound { padding: var(--space-7) 0; }
.notfound .actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--ink); color: var(--sand); margin-top: var(--space-6); font-size: var(--text-sm); }
.site-footer::before {
  content: ""; display: block; height: 10px;
  background: linear-gradient(90deg, var(--teal) 0 40%, var(--saffron) 40% 70%, var(--terracotta) 70% 100%);
}
.site-footer .wrap { padding-top: var(--space-5); padding-bottom: var(--space-4); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.site-footer h2 {
  font-family: var(--font-sans); font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--saffron); margin-bottom: var(--space-1);
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer a { color: var(--sand); text-decoration: none; display: inline-flex; align-items: center; min-height: var(--tap); min-width: var(--tap); }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer .brand { color: var(--white); font-size: 1.375rem; }
.site-footer p { color: #D9D0C1; }
.footer-base { border-top: 1px solid rgba(244, 237, 225, 0.18); margin-top: var(--space-4); padding-top: var(--space-3); color: #CFC6B6; }
.footer-base p { margin: 0; color: inherit; }

/* hero and section spacing for the home after hero */
.home-products { padding-top: var(--space-6); }
main > .section:last-child { padding-bottom: var(--space-6); }

/* ================================================================== 1024 */
@media (max-width: 1024px) {
  :root { --gutter: 32px; }
  h1 { font-size: 2.625rem; }
  .hero h1 { font-size: 2.75rem; }
  .hero .wrap { padding-top: var(--space-6); }
  .product-top { gap: var(--space-4); }
  .product-intro h1 { font-size: 2.375rem; }
  .cards { gap: var(--space-3); }
  .card-body { padding: var(--space-3); }
  .files li { grid-template-columns: minmax(0, 1fr); gap: 0.25rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) repeat(3, minmax(0, 0.8fr)); gap: var(--space-3); }
  .support { padding: var(--space-4); }
  .hero h1 { font-size: 3rem; }
  .hero-grid { gap: var(--space-4); }
  .hero-stack { min-height: 430px; }
  .plan-card { width: 74%; }
  .proof ul { gap: var(--space-2); }
  .strip-track img { width: 240px; height: 240px; }
}

/* ================================================================== 768 */
@media (max-width: 768px) {
  :root { --gutter: 24px; --header-h: auto; --buybar-h: 72px; }
  body:not(.has-buybar) { --buybar-h: 0px; }
  h1, .hero h1, .product-intro h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  .section, .band + .section, .home-products { padding: var(--space-5) 0; }
  .section + .section { padding-top: 0; }

  .site-header { position: static; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; gap: 0; padding-top: var(--space-1); padding-bottom: var(--space-1); }
  .header-end, .nav { width: 100%; }
  .header-buy { display: none; }
  .nav ul { flex-wrap: wrap; gap: 0.25rem; margin-left: -0.85rem; }

  .hero::after { opacity: 0.5; }
  .hero .wrap { padding-top: var(--space-5); padding-bottom: var(--space-5); }
  .hero .lede { font-size: var(--text-base); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-stack { min-height: 420px; max-width: 540px; width: 100%; margin: 0 auto; }
  .proof ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band-teal, .section + .band-teal, .band-teal + .section { padding: var(--space-5) 0; }
  .steps li:not(:last-child)::after { display: none; }
  .strip-track img { width: 220px; height: 220px; }
  .product-intro h1 { font-size: 2.25rem; }

  .cards, .steps, .split, .compat, .support { grid-template-columns: minmax(0, 1fr); }
  .support .links { justify-content: flex-start; }
  .product-top { grid-template-columns: minmax(0, 1fr); padding-bottom: var(--space-5); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery.wide { grid-template-columns: minmax(0, 1fr); }
  .tabs { grid-template-columns: minmax(0, 1fr); }
  .compat > div { grid-template-columns: minmax(0, 1fr); gap: 0.25rem; }
  .tabs dt { border-bottom: 0; padding-bottom: 0; }
  .tabs dd { padding-top: 0.25rem; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid > :first-child { grid-column: 1 / -1; }

  .buy-band .wrap { flex-direction: column; align-items: flex-start; }

  .buybar {
    display: flex; align-items: center; justify-content: space-between; gap: var(--space-2);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 5;
    min-height: var(--buybar-h);
    padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
    background: var(--white); border-top: var(--border);
    box-shadow: 0 -6px 18px rgba(31, 42, 55, 0.08);
  }
  .buybar .bb-name { font-size: var(--text-sm); color: var(--muted); line-height: 1.3; margin: 0; }
  .buybar .bb-price { display: block; font-family: var(--font-display); font-size: var(--text-lg); color: var(--ink); }
  .buybar .btn { flex-shrink: 0; }
}

/* ================================================================== 480 */
@media (max-width: 480px) {
  :root { --gutter: 20px; --text-base: 1rem; }
  h1, .hero h1, .product-intro h1 { font-size: 1.95rem; }
  h2 { font-size: 1.5rem; }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .card-foot { flex-direction: column; align-items: stretch; }
  .card-foot .btn { width: 100%; }
  .buybox { padding: var(--space-3); }
  .buybox .btn { width: 100%; }
  .support, .contact-card, .panel { padding: var(--space-3); }
  .support .big-email, .contact-card .big-email { font-size: var(--text-xl); }
  .page-head .wrap { padding-top: var(--space-5); padding-bottom: var(--space-4); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .faq summary { font-size: 1.125rem; }
  /* phones: only the paycheck table, in the flow */
  .hero-stack { min-height: 0; }
  .stack-back, .stack-mid { display: none; }
  .plan-card { position: relative; top: auto; left: auto; width: 100%; padding: 14px 14px 10px; transform: rotate(-1deg); }
  .plan-card table { font-size: 0.8rem; }
  .card-foot .price { align-self: flex-start; }
  .proof ul { grid-template-columns: minmax(0, 1fr); gap: var(--space-1); }
  .hero-actions .btn { width: 100%; }
  .strip-track img { width: 200px; height: 200px; }
}

/* ================================================================== 375 */
@media (max-width: 375px) {
  :root { --gutter: 16px; }
  h1, .hero h1, .product-intro h1 { font-size: 1.75rem; }
  .brand { font-size: 1.3rem; }
  .nav a { padding: 0 0.6rem; }
  .nav ul { margin-left: -0.6rem; }
  .buybar .btn { padding: 0 1rem; }
  .buybox .amount { font-size: 2.125rem; }
  .plan-card { transform: none; }
}

/* ------------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .card:hover, .card:hover .card-media img, .strip-track a:hover, .shot a:hover { transform: none; }
  .strip { overflow-x: auto; }
  .strip-track .dup { display: none; }
}

/* ------------------------------------------------------------------ print */
@media print {
  .site-header .nav, .buybar, .buy-band, .site-footer::before { display: none; }
  body { background: var(--white); padding: 0; }
}
