/* ===== Seal & Story · shop page ===== */
:root {
  --ivory: #fbf7ef;
  --paper: #f5eee0;
  --card: #fffdf8;
  --green: #1f3a2c;
  --green-2: #2c4d3b;
  --gold: #a8844a;
  --gold-soft: #d9c59c;
  --ink: #2a2a26;
  --muted: #6d6a60;
  --line: #e4dac6;
  --radius: 14px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  padding-bottom: 84px; /* room for the mobile sticky bar */
}
img { max-width: 100%; display: block; }
a { color: var(--green); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.small { font-size: 13px; }
.muted { color: var(--muted); }

/* ---------- Top bar ---------- */
.topbar { border-bottom: 1px solid var(--line); background: var(--ivory); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; }
.brand { font-family: var(--serif); font-size: 24px; font-weight: 500; color: var(--green); letter-spacing: .02em; }
.brand em { color: var(--gold); font-style: italic; }
.topbar-note { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: none; }

/* ---------- Typography ---------- */
.eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin: 0 0 10px; }
.title, .h2 { font-family: var(--serif); font-weight: 500; color: var(--green); line-height: 1.1; margin: 0 0 14px; }
.title { font-size: 38px; }
.h2 { font-size: 34px; }
.lead { font-size: 17px; color: var(--muted); max-width: 640px; margin: 0 auto 28px; }
.subtitle { font-size: 17px; color: var(--muted); margin: 0 0 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 14px 26px; border-radius: 999px;
  font-family: var(--sans); font-weight: 500; font-size: 16px; letter-spacing: .03em;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background .2s, color .2s, transform .15s, box-shadow .2s;
}
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-buy { background: var(--green); color: var(--ivory); box-shadow: 0 6px 18px rgba(31,58,44,.22); }
.btn-buy:hover { background: var(--green-2); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: var(--ivory); }
.btn-ghost { background: var(--card); color: var(--green); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green); }
.btn-sm { min-height: 44px; padding: 10px 14px; font-size: 14px; width: 100%; }

/* ---------- Product layout ---------- */
.product {
  display: grid; grid-template-columns: 1fr; gap: 28px; padding-top: 24px; padding-bottom: 48px;
  grid-template-areas: "head" "gallery" "info";
}
.product-head { grid-area: head; }
.gallery { grid-area: gallery; min-width: 0; }
.info { grid-area: info; min-width: 0; }

.gallery-sticky { display: flex; flex-direction: column; align-items: center; }
.media-main {
  width: 100%; display: flex; flex-direction: column; align-items: center;
  background: radial-gradient(ellipse at 50% 30%, #fffdf8 0%, var(--paper) 75%);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 16px 14px;
}
.phone {
  position: relative; width: 290px; max-width: 100%; aspect-ratio: 9 / 19;
  background: #141414; border-radius: 42px; padding: 11px;
  box-shadow: 0 24px 50px rgba(31,58,44,.22), inset 0 0 0 2px #2b2b2b;
}
.phone-notch {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 22px; background: #141414; border-radius: 14px; z-index: 2; pointer-events: none;
}
.phone iframe { width: 100%; height: 100%; border: 0; border-radius: 32px; background: var(--ivory); display: block; }
.media-img { width: 100%; max-width: 460px; max-height: 620px; object-fit: contain; border-radius: 8px; }
.media-caption { margin: 12px 0 0; font-size: 13px; color: var(--muted); text-align: center; }

.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; width: 100%; margin-top: 12px; }
.thumb {
  position: relative; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  background: var(--card); cursor: pointer; aspect-ratio: 1 / 1;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active { border-color: var(--green); box-shadow: 0 0 0 2px var(--green); }
.thumb:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.thumb-badge {
  position: absolute; left: 4px; bottom: 4px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  background: var(--green); color: var(--ivory); padding: 1px 6px; border-radius: 999px;
}
.sample-note { font-size: 12px; color: var(--muted); margin: 8px 0 0; }

/* ---------- Info column ---------- */
.price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 22px; }
.price { font-family: var(--serif); font-size: 40px; font-weight: 600; color: var(--green); line-height: 1; }
.price-note { font-size: 14px; color: var(--muted); }

fieldset { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
legend { font-size: 14px; font-weight: 500; margin-bottom: 10px; padding: 0; color: var(--ink); }
legend strong { color: var(--green); font-weight: 600; }

.swatches { display: grid; gap: 8px; }
.swatch {
  display: flex; align-items: center; gap: 12px; text-align: left; width: 100%;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 12px; cursor: pointer; font-family: var(--sans); color: var(--ink);
}
.swatch:hover { border-color: var(--gold-soft); }
.swatch.is-active { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.swatch:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.swatch-dot { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.dot-oldmoney { background: linear-gradient(135deg, #1f3a2c 0 55%, #f3ecdc 55% 100%); }
.dot-sage { background: linear-gradient(135deg, #8fa585 0 50%, #dfe7d6 50% 100%); }
.dot-ivorygold { background: linear-gradient(135deg, #f4ecda 0 55%, #b8955a 55% 100%); }
.swatch-text { display: flex; flex-direction: column; line-height: 1.35; }
.swatch-text strong { font-weight: 500; font-size: 15px; }
.swatch-text small { font-size: 13px; color: var(--muted); }

.variants { display: grid; gap: 10px; }
.variant { position: relative; display: block; cursor: pointer; }
.variant input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.variant-body {
  display: block; position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 16px 12px 46px; transition: border-color .2s, box-shadow .2s;
}
.variant-body::before {
  content: ""; position: absolute; left: 16px; top: 17px; width: 18px; height: 18px;
  border-radius: 50%; border: 1.5px solid var(--muted); background: #fff;
}
.variant input:checked + .variant-body { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); background: #fff; }
.variant input:checked + .variant-body::before { border-color: var(--green); background: radial-gradient(circle, var(--green) 0 5px, #fff 6px); }
.variant input:focus-visible + .variant-body { outline: 3px solid var(--gold); outline-offset: 2px; }
.variant-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.variant-name { font-weight: 500; font-size: 16px; }
.variant-price { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--green); }
.variant-desc { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.variant-access { display: block; font-size: 12px; color: var(--gold); margin-top: 6px; letter-spacing: .02em; }
.variant-rec .variant-body { padding-top: 22px; }
.badge {
  display: inline-block; background: var(--gold); color: #fff; font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; padding: 3px 10px; border-radius: 999px; font-weight: 500;
}
.variant-rec .badge { position: absolute; top: -10px; right: 14px; }
.badge-sm { display: block; width: max-content; margin: 0 auto 4px; font-size: 9px; padding: 2px 7px; }

#buyBtn { width: 100%; min-height: 58px; font-size: 17px; }
.access-line { text-align: center; font-size: 14px; color: var(--green); font-weight: 500; margin: 10px 0 2px; }
.under-btn { text-align: center; font-size: 13px; color: var(--muted); margin: 0 0 18px; }

.trust { list-style: none; padding: 16px 0 0; margin: 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.trust li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.tick { flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--green); position: relative; }
.tick::after { content: ""; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px; border: solid var(--ivory); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.trust-link { color: var(--muted); font-size: 13px; }
.guarantee-line { text-align: center; font-size: 13px; color: var(--ink); margin: 0 0 4px; }

/* ---------- Small content blocks ---------- */
.dare { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--green); margin: 18px 0 0; }
.founder-note {
  max-width: 620px; margin: 32px auto 0; text-align: center;
  font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.45; color: var(--green);
}
.lead strong { color: var(--green); font-weight: 500; }
.compare tr.row-hl th, .compare tr.row-hl td { background: rgba(168,132,74,.12); }
.compare tfoot small.g-small { color: var(--ink); }
.g-rules { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.g-rule { font-size: 15px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); }
.g-rule.is-current { border-color: var(--green); color: var(--ink); background: #fff; }
.g-rule strong { color: var(--green); font-weight: 500; }
.guarantee .h2 { font-size: 28px; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; border-top: 1px solid var(--line); }
.watch { background: var(--paper); }

.steps-strip {
  list-style: none; padding: 0 0 8px; margin: 0 0 28px; display: grid; grid-auto-flow: column;
  grid-auto-columns: 62%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
}
.steps-strip li { scroll-snap-align: start; text-align: center; }
.steps-strip img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
.steps-strip span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }

.obj-grid { display: grid; gap: 16px; margin-top: 28px; }
.obj { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.obj h3, .how-steps h3 { font-family: var(--serif); font-size: 24px; font-weight: 500; color: var(--green); margin: 0 0 8px; line-height: 1.2; }
.obj p, .how-steps p { margin: 0; color: var(--ink); font-size: 15px; }

.how { background: var(--paper); }
.how-steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; counter-reset: none; }
.how-steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.how-num {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font-family: var(--serif); font-size: 20px; margin-bottom: 10px;
}

/* ---------- Comparison table ---------- */
.table-wrap { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 13px; }
.compare th, .compare td { padding: 10px 6px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.compare thead th { font-family: var(--serif); font-size: 17px; font-weight: 600; color: var(--green); padding-top: 18px; line-height: 1.15; }
.th-price { display: block; font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.compare .feat-col { width: 40%; }
.compare tbody th { text-align: left; font-weight: 400; color: var(--ink); padding-left: 12px; }
.compare td.y { color: var(--green); font-size: 16px; font-weight: 600; }
.compare td.n { color: #b9b2a3; }
.compare td.t { font-size: 12px; color: var(--ink); }
.compare .col-rec { background: rgba(168,132,74,.08); }
.compare tfoot td { vertical-align: top; padding: 14px 6px 16px; border-bottom: 0; }
.compare tfoot small { display: block; font-size: 11px; color: var(--muted); margin-top: 6px; line-height: 1.3; }
.compare tfoot .btn-sm { padding: 8px 6px; font-size: 13px; }

/* ---------- Guarantee ---------- */
.guarantee-card {
  display: grid; gap: 20px; align-items: center; max-width: 860px;
  background: var(--card); border: 1px solid var(--gold-soft); border-radius: var(--radius); padding: 28px 22px;
}
.seal {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto;
  background: radial-gradient(circle at 35% 30%, #c49a5a, #8a6a35 70%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(138,106,53,.35), inset 0 0 0 5px rgba(255,255,255,.18);
}
.seal span { font-family: var(--serif); font-size: 26px; font-weight: 600; color: #fff8ea; }
.guarantee-card p { margin: 0 0 10px; }
.condition { font-size: 14px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); margin-top: 24px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative;
  font-family: var(--serif); font-size: 21px; font-weight: 500; color: var(--green);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 26px; color: var(--gold); font-family: var(--sans); font-weight: 300; }
.faq details[open] summary::after { content: "–"; }
.faq summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.faq details p { margin: 0 0 18px; color: var(--ink); font-size: 15px; }

/* ---------- Closing ---------- */
.closing { background: var(--green); color: var(--ivory); border-top: 0; }
.closing .h2 { color: var(--ivory); }
.closing .lead { color: #d8d3c4; }
.closing .btn-buy { background: var(--ivory); color: var(--green); box-shadow: none; }
.closing .btn-buy:hover { background: #fff; }
.closing .access-line { color: var(--gold-soft); }
.closing .muted { color: #b9c2b8; }

/* ---------- Footer ---------- */
.footer { padding: 36px 0 28px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.footer-links a { color: var(--muted); font-size: 14px; text-decoration: none; }
.footer-links a:hover { color: var(--green); text-decoration: underline; }

/* ---------- Sticky bar (mobile) ---------- */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(251,247,239,.97); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(31,58,44,.08);
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky-bar.is-visible { transform: translateY(0); }
.sticky-info { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.sticky-plan { font-weight: 500; font-size: 14px; }
.sticky-price { font-size: 13px; color: var(--muted); }
.btn-sticky { min-height: 48px; padding: 10px 18px; font-size: 15px; white-space: nowrap; }

/* ---------- Breakpoints ---------- */

/* Mobile/tablet first screen: title + price above a compact demo phone,
   horizontally scrolling thumbnails, style picker starting right after. */
@media (max-width: 959px) {
  .product { gap: 14px; padding-top: 16px; }
  .product-head .eyebrow { display: none; }
  .product-head .subtitle { font-size: 15px; line-height: 1.5; margin: 0 0 10px; }
  .product-head .price-row { margin-bottom: 0; }
  .product-head .price { font-size: 34px; }

  .media-main { padding: 12px 10px 8px; }
  /* Phone ~44% of an 844px-tall screen; iframe renders at 328x720 and is scaled 0.5 */
  .phone {
    width: 176px; height: 372px; aspect-ratio: auto; padding: 0;
    border-radius: 28px; overflow: hidden;
    box-shadow: 0 14px 30px rgba(31,58,44,.22), inset 0 0 0 2px #2b2b2b;
  }
  .phone-notch { top: 10px; width: 50px; height: 13px; border-radius: 8px; }
  .phone iframe {
    position: absolute; top: 6px; left: 6px;
    width: 328px; height: 720px; border-radius: 44px;
    transform: scale(.5); transform-origin: 0 0;
  }
  .media-img { max-height: 372px; width: auto; }
  .media-caption { margin-top: 8px; font-size: 12px; }

  .thumbs {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 60px;
    overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
    margin-top: 10px; padding: 2px 2px 4px; justify-content: start;
  }
  .thumb { scroll-snap-align: start; }
  .sample-note { text-align: center; }
}

@media (max-width: 599px) {
  .title { font-size: 30px; margin-bottom: 10px; }
}
@media (min-width: 600px) {
  .steps-strip { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); grid-auto-columns: auto; overflow: visible; }
  .obj-grid { grid-template-columns: 1fr 1fr; }
  .how-steps { grid-template-columns: repeat(3, 1fr); }
  .compare { font-size: 14px; }
  .compare td.t { font-size: 13px; }
  .guarantee-card { grid-template-columns: 120px 1fr; padding: 32px; }
  .seal { width: 110px; height: 110px; }
  .topbar-note { display: block; }
}

@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .sticky-bar { display: none; }
  .product {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    grid-template-areas: "gallery head" "gallery info";
    grid-template-rows: auto 1fr;
    column-gap: 56px; row-gap: 0; padding-top: 40px; padding-bottom: 72px; align-items: start;
  }
  .guarantee .h2 { font-size: 34px; }
  .gallery-sticky { position: sticky; top: 24px; }
  .media-main { padding: 32px 20px 16px; }
  .phone { width: 320px; }
  .title { font-size: 48px; }
  .h2 { font-size: 42px; }
  .section { padding: 88px 0; }
  .compare thead th { font-size: 22px; }
  .compare th, .compare td { padding: 12px 14px; }
  .compare tfoot .btn-sm { padding: 10px 14px; font-size: 14px; }
}
