/* Review Frame — product page. Theme follows the 2026-10-06 logo sheet:
   near-white paper, #161616 ink, one heavy geometric sans (Manrope, matched by
   codex against the sheet) for everything, squared corners, no colour accent:
   the Buy button is ink. The wood photos carry the warmth. */
:root {
  --paper: #fbfaf7;
  --paper-2: #f1efe9;
  --white: #ffffff;
  --ink: #161616;
  --ink-2: #3f3d3a;
  --ink-3: #605d58;
  --drift: #8a8681;
  --line: #e3e0d9;
  --accent: #161616;
  --accent-ink: #000000;
  --display: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1160px;
  --radius: 10px;
  --nav-h: 4rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2 { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; margin: 0; }
h1 { font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1.02; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.1; margin-bottom: 1rem; }
h3 { font-family: var(--sans); font-weight: 700; font-size: 1.02rem; line-height: 1.3; margin: 0; }
p { margin: 0 0 1rem; }
figure { margin: 0; }
figcaption { font-size: 0.9rem; color: var(--ink-3); margin-top: 0.5rem; }
[id] { scroll-margin-top: calc(var(--nav-h) + 1rem); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* The capital I in "TapIt": Manrope's I is a bare bar, identical to a lowercase l,
   so the name would read "Taplt". Lexend's I has slab serifs; only that glyph is
   loaded (Google Fonts text=I subset) and swapped in, baseline-aligned by the browser. */
.cap-i { font-family: "Lexend", var(--display); font-weight: 800; font-size: 0.96em; letter-spacing: 0.01em; }

/* buttons */
.btn { display: inline-block; padding: 0.85rem 1.5rem; border-radius: 10px; background: var(--accent); color: var(--white); text-decoration: none; font: inherit; font-weight: 600; border: 1.5px solid var(--accent); white-space: nowrap; cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease; }
.btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn, .btn-buy, .btn-small { font-weight: 700; }
.btn:disabled { opacity: 0.7; cursor: default; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-small { padding: 0.5rem 1.05rem; font-size: 0.92rem; }
.btn-buy { width: 100%; padding: 1.05rem 1.5rem; font-size: 1.1rem; border-radius: 10px; margin-top: 0.5rem; }

/* announcement bar */
.bar { background: var(--ink); color: var(--paper); font-size: 0.85rem; font-weight: 500; text-align: center; padding: 0.5rem 1rem; }
.bar-sep { margin: 0 0.6rem; color: var(--drift); }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 1.5rem; max-width: var(--max); margin: 0 auto; min-height: var(--nav-h); padding: 0.6rem 1.25rem; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); }
.wordmark { display: flex; align-items: center; gap: 0.55rem; font-family: var(--display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; text-decoration: none; margin-right: auto; }
.wordmark .mark { width: 1.9rem; height: 1.9rem; flex: none; }
.wordmark .by { font-weight: 500; font-size: 0.78rem; letter-spacing: 0; color: var(--ink-3); margin-left: 0.1rem; }
.nav-links { display: flex; gap: 1.25rem; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-size: 0.93rem; }
.nav-links a:hover { color: var(--ink); }

/* product: gallery + buy box */
.product { max-width: var(--max); margin: 0 auto; padding: 1.25rem 1.25rem 3rem; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2.5rem; align-items: start; }
.gallery { position: sticky; top: calc(var(--nav-h) + 0.75rem); }
.track { display: block; }
.slide { display: none; }
.slide.is-active { display: block; }
.slide img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: center 45%; border-radius: var(--radius); background: var(--paper-2); }
.dots { display: none; }
.thumbs { display: grid; grid-template-columns: repeat(8, 1fr); gap: 0.5rem; margin-top: 0.6rem; }
.thumb { padding: 0; border: 2px solid transparent; border-radius: 8px; background: none; cursor: pointer; overflow: hidden; }
.thumb img { aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.thumb.is-active { border-color: var(--ink); }
.thumb-3d { display: grid; place-items: center; aspect-ratio: 1; background: var(--white); border: 1.5px solid var(--line); border-radius: 8px; font-weight: 800; font-size: 0.95rem; line-height: 1; color: var(--ink); }
.thumb-3d span { display: grid; gap: 0.15rem; text-align: center; }
.thumb-3d small { font-weight: 500; font-size: 0.62rem; color: var(--ink-3); }
.thumb-3d.is-active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.slide-3d .spin { position: relative; width: 100%; aspect-ratio: 4 / 4.6; border-radius: var(--radius); background: radial-gradient(120% 90% at 50% 20%, #ffffff 0%, var(--paper-2) 100%); overflow: hidden; touch-action: none; }
.slide-3d canvas { display: block; width: 100%; height: 100%; cursor: grab; }
.slide-3d canvas:active { cursor: grabbing; }
.spin-hint { position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.8rem; border-radius: 999px; background: color-mix(in srgb, var(--ink) 82%, transparent); color: var(--paper); font-size: 0.82rem; font-weight: 600; pointer-events: none; transition: opacity 0.4s; }
.spin-hint.is-hidden { opacity: 0; }
.spin-icon { font-size: 1rem; }
.pills-finish .chip { display: inline-block; width: 0.9rem; height: 0.9rem; border-radius: 3px; margin-right: 0.45rem; vertical-align: -0.1rem; border: 1px solid var(--line); }
.chip-black { background: #1c1c1c; }
.chip-white { background: #f3f2ee; }

.buybox { padding-top: 0.25rem; }
.eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 0.5rem; }
.tagline { color: var(--ink-2); margin: 0.75rem 0 1rem; }
.price-row { display: flex; align-items: baseline; gap: 0.75rem; margin-bottom: 1.25rem; }
.price { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; font-size: 2.2rem; line-height: 1; }
.price-note { color: var(--ink-3); font-size: 0.95rem; }

.opt { border: 0; padding: 0; margin: 0 0 1rem; min-width: 0; }
.opt legend, .field > span { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 0.45rem; padding: 0; }
.field > span small { font-weight: 400; color: var(--ink-3); margin-left: 0.3rem; }
.pills { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.pills-tight { grid-template-columns: repeat(4, 1fr); }
.pill { position: relative; display: block; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.pill span { display: block; padding: 0.7rem 0.9rem; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); font-weight: 500; line-height: 1.25; }
.pill span em { display: block; font-style: normal; font-weight: 400; font-size: 0.85rem; color: var(--ink-3); margin-top: 0.1rem; }
.pills-tight .pill span { text-align: center; padding: 0.6rem 0.4rem; }
.pill input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pill input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.field input[type=text] { width: 100%; font: inherit; padding: 0.7rem 0.9rem; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink); }
.field input[type=text]:focus { outline: none; border-color: var(--ink); }

.secure { font-size: 0.85rem; color: var(--ink-3); margin: 0.6rem 0 0; }
.local-line { font-size: 0.9rem; color: var(--ink-2); margin: 0.6rem 0 0; }
.trust { list-style: none; padding: 0; margin: 1.25rem 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 0.35rem; padding: 0.85rem 0; font-size: 0.92rem; color: var(--ink-2); }
.trust li { position: relative; padding-left: 1.4rem; }
.trust li::before { content: "✓"; position: absolute; left: 0; color: var(--ink); font-weight: 700; }
.trust li:empty { display: none; }
.details { margin-top: 0.5rem; }
.details details { border-bottom: 1px solid var(--line); }
.details summary { cursor: pointer; font-weight: 600; padding: 0.85rem 0; list-style: none; position: relative; padding-right: 2rem; }
.details summary::-webkit-details-marker { display: none; }
.details summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.7rem; font-family: var(--display); font-weight: 500; font-size: 1.3rem; color: var(--drift); }
.details details[open] summary::after { content: "–"; }
.details ul { margin: 0 0 1rem; padding-left: 1.1rem; color: var(--ink-2); }
.details li { margin-bottom: 0.4rem; }
.details p { color: var(--ink-2); margin: 0 0 1rem; }

/* sections */
.section { max-width: var(--max); margin: 0 auto; padding: 3.5rem 1.25rem; border-top: 1px solid var(--line); }
.note { color: var(--ink-3); font-size: 0.95rem; margin: 1.25rem 0 0; }

.how .steps { max-width: 40rem; }
.how .why { margin-top: 1.5rem; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 2.25rem 1fr; gap: 0.75rem; padding: 0.9rem 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps .num { font-family: var(--display); font-weight: 800; font-size: 1.1rem; line-height: 1.6; color: var(--ink-3); }
.steps p { color: var(--ink-2); margin: 0.2rem 0 0; }

.why { color: var(--ink-2); max-width: 46rem; }

/* add-on row (checkbox upsell inside the buy box) */
.addon { display: grid; grid-template-columns: auto 3.5rem 1fr auto; gap: 0.75rem; align-items: center; padding: 0.75rem 0.85rem; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); margin: 0.25rem 0 0.9rem; cursor: pointer; }
.addon:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.addon input { width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--ink); }
.addon-price { font-family: var(--display); }
.addon-thumb { padding: 0; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); overflow: hidden; width: 3.5rem; height: 3.5rem; cursor: zoom-in; }
.addon-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.addon-copy { display: block; line-height: 1.3; }
.addon-copy strong { display: block; font-weight: 600; }
.addon-copy small { display: block; color: var(--ink-3); font-size: 0.82rem; margin-top: 0.15rem; }
.addon-price { font-weight: 600; white-space: nowrap; }

.faq { max-width: 48rem; }
.faq details { border-top: 1px solid var(--line); padding: 0.3rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 500; padding: 0.75rem 0; list-style: none; position: relative; padding-right: 2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.6rem; font-family: var(--display); font-weight: 500; font-size: 1.4rem; color: var(--drift); }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--ink-2); margin: 0 0 1rem; }
.faq a { color: var(--ink); }

/* sticky buy bar (mobile) */
.sticky-buy { display: none; }

/* thanks page */
.thanks { max-width: 40rem; margin: 0 auto; padding: 3rem 1.25rem 4rem; }
.thanks .lede { color: var(--ink-2); font-size: 1.1rem; }
.thanks .steps { margin: 1.5rem 0 2rem; }

.foot { max-width: var(--max); margin: 0 auto; padding: 2rem 1.25rem 3rem; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 0.93rem; }
.foot .fine { color: var(--ink-3); font-size: 0.85rem; }

/* responsive */
@media (max-width: 960px) {
  .product { grid-template-columns: 1fr; gap: 1.5rem; }
  .gallery { position: static; }
  .slide img { aspect-ratio: 4 / 3.4; }
}
@media (max-width: 720px) {
  body { font-size: 15.5px; padding-bottom: 4.5rem; }
  .bar { font-size: 0.8rem; padding: 0.4rem 0.75rem; }
  .bar-mid { display: none; }
  .bar-sep { margin: 0 0.4rem; }
  .nav { position: static; min-height: 3.25rem; padding: 0.5rem 1rem; backdrop-filter: none; background: var(--paper); }
  .nav .btn-small { display: none; }
  .nav-links { display: none; }
  .wordmark .by { display: none; }
  [id] { scroll-margin-top: 0.75rem; }

  /* product */
  .product { padding: 0 0 2rem; gap: 1rem; }
  .track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: 0; }
  .track::-webkit-scrollbar { display: none; }
  .slide { display: block; flex: 0 0 100%; scroll-snap-align: start; }
  .slide img { aspect-ratio: 4 / 3.1; border-radius: 0; }
  .slide-3d .spin { aspect-ratio: 4 / 3.1; border-radius: 0; }
  .dots { display: flex; justify-content: center; gap: 0.4rem; margin-top: 0.6rem; }
  .dot { width: 7px; height: 7px; padding: 0; border-radius: 50%; border: 0; background: var(--line); }
  .dot.is-active { background: var(--ink); }
  .thumbs { display: none; }
  .buybox { display: flex; flex-direction: column; padding: 0.25rem 1rem 0; }
  .eyebrow { font-size: 0.74rem; margin-bottom: 0.3rem; }
  h1 { font-size: 2rem; }
  .price-row { margin: 0.4rem 0 0.9rem; }
  .price { font-size: 1.9rem; }
  .tagline { order: 1; margin: 1rem 0 0; font-size: 0.95rem; }
  .trust { order: 2; }
  .details { order: 3; }
  .opt { margin-bottom: 0.75rem; }
  .pill span { padding: 0.6rem 0.75rem; }
  .btn-buy { padding: 0.95rem 1rem; font-size: 1.05rem; margin-top: 0.25rem; }
  .secure, .local-line { font-size: 0.82rem; margin-top: 0.5rem; }
  .trust { margin-top: 1rem; font-size: 0.88rem; }

  /* support sections */
  .section { padding: 2rem 1rem; }
  h2 { font-size: 1.5rem; margin-bottom: 0.75rem; }
  .steps li { padding: 0.7rem 0; }
  .why { font-size: 0.95rem; }
  .addon { grid-template-columns: auto 3rem 1fr auto; gap: 0.6rem; padding: 0.65rem 0.7rem; }
  .addon-thumb { width: 3rem; height: 3rem; }
  .addon-copy small { font-size: 0.78rem; }
  .faq summary { padding: 0.65rem 0; font-size: 0.97rem; }

  /* sticky bar */
  .sticky-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); }
  .sticky-buy[hidden] { display: none; }
  .sticky-buy .btn { flex: 1; text-align: center; }
  .sticky-price { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; font-size: 1.4rem; }
}
