:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --ink: #14181f;
  --ink-soft: #5a6472;
  --line: #e6e9ee;
  --brand: #0a7d4b;
  --brand-dark: #086a40;
  --accent: #0b5cd6;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(20, 24, 31, .04), 0 8px 24px rgba(20, 24, 31, .06);
  --maxw: 1080px;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(140%) blur(6px);
  position: sticky; top: 0; z-index: 50;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: 18px; }
.brand:hover { text-decoration: none; }
.brand .dot { width: 26px; height: 26px; border-radius: 7px; background: linear-gradient(135deg, var(--brand), #15a86a); display:inline-block; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--ink-soft); font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--ink); text-decoration: none; }

/* Hero */
.hero { padding: 56px 0 28px; }
.hero h1 { font-size: clamp(28px, 4vw, 44px); margin: 0 0 14px; max-width: 720px; }
.hero p { font-size: 18px; color: var(--ink-soft); max-width: 600px; margin: 0; }
.trust-row { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 22px; color: var(--ink-soft); font-size: 14px; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row .ic { color: var(--brand); font-weight: 700; }
.hero-operator { font-size: 13px; color: var(--ink-soft); margin: 16px 0 0; }

/* JS-disabled fallback */
.noscript-banner {
  max-width: var(--maxw); margin: 16px auto 0; padding: 14px 18px;
  background: #fff7e6; border: 1px solid #f3d99b; border-radius: var(--radius);
  color: #6b4e16; font-size: 15px; line-height: 1.5;
}
.noscript-banner a { color: var(--brand-dark); font-weight: 600; }

/* Secondary reassurance line under bottom buy button */
.reassure-line { color: var(--ink-soft); font-size: 13px; margin: 10px 0 0; }

/* Product grid */
.section-title { font-size: 22px; margin: 40px 0 6px; }
.section-sub { color: var(--ink-soft); margin: 0 0 22px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; padding-bottom: 56px; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--bg); display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card a.cover { display:block; }
.card .thumb { aspect-ratio: 16/10; background: var(--bg-soft); width: 100%; object-fit: cover; }
.card .body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card .cat { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); font-weight: 700; }
.card h3 { margin: 0; font-size: 18px; }
.card h3 a { color: var(--ink); }
.card .desc { color: var(--ink-soft); font-size: 14px; margin: 0; }
.card .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 12px; }
.price { font-weight: 700; font-size: 20px; }
.badge { background: #fdecc8; color: #8a5a00; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--brand); color: #fff; border: 0; border-radius: 10px;
  padding: 12px 20px; font-weight: 600; font-size: 15px; cursor: pointer; transition: background .15s;
}
.btn:hover { background: var(--brand-dark); text-decoration: none; color:#fff; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn.secondary { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.secondary:hover { background: var(--bg-soft); }
.btn.big { padding: 15px 26px; font-size: 16px; }

/* Product page */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; padding: 40px 0 60px; align-items: start; }
.product .media { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); }
.product h1 { font-size: clamp(24px, 3vw, 34px); margin: 6px 0 10px; }
.product .lead { font-size: 17px; color: var(--ink-soft); margin: 0 0 18px; }
.buybox { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); position: sticky; top: 84px; }
.buybox .price { font-size: 30px; }
.buybox .meta { color: var(--ink-soft); font-size: 14px; margin: 4px 0 18px; }
.buybox .btn { width: 100%; }
.buybox .reassure { list-style: none; padding: 0; margin: 16px 0 0; color: var(--ink-soft); font-size: 13px; display: grid; gap: 7px; }
.buybox .reassure li { display: flex; gap: 8px; align-items: flex-start; }
.buybox .reassure .ic { color: var(--brand); font-weight: 700; }
.feature-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 11px; }
.feature-list li { display: flex; gap: 11px; align-items: flex-start; }
.feature-list .ic { color: var(--brand); font-weight: 700; margin-top: 1px; }
.detail-note { color: var(--ink-soft); font-size: 14px; border-top: 1px solid var(--line); padding-top: 16px; }

/* Success / status */
.panel { max-width: 640px; margin: 56px auto; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); text-align: center; }
.panel h1 { font-size: 26px; margin: 14px 0 8px; }
.panel p { color: var(--ink-soft); }
.checkmark { width: 56px; height: 56px; border-radius: 50%; background: var(--brand); color:#fff; display:inline-flex; align-items:center; justify-content:center; font-size: 30px; }
.download-list { margin: 24px 0 8px; display: grid; gap: 12px; }
.download-item { display:flex; align-items:center; justify-content:space-between; gap: 12px; border:1px solid var(--line); border-radius: 10px; padding: 14px 16px; text-align:left; }
.spinner { width: 26px; height: 26px; border: 3px solid var(--line); border-top-color: var(--brand); border-radius: 50%; animation: spin .8s linear infinite; margin: 8px auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Legal pages */
.doc { max-width: 760px; margin: 0 auto; padding: 40px 0 64px; }
.doc h1 { font-size: 30px; }
.doc h2 { font-size: 20px; margin-top: 30px; }
.doc p, .doc li { color: #2b333d; }
.doc .updated { color: var(--ink-soft); font-size: 14px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); margin-top: 40px; }
.site-footer .wrap { padding: 32px 20px; display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; align-items: flex-start; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { color: var(--ink-soft); font-size: 14px; }
.site-footer .legal { color: var(--ink-soft); font-size: 13px; max-width: 460px; }
.muted { color: var(--ink-soft); }

@media (max-width: 760px) {
  .product { grid-template-columns: 1fr; gap: 24px; }
  .buybox { position: static; }
  .nav { gap: 14px; }
  .nav a.hide-sm { display: none; }
}

/* --- CRO additions: gallery, value anchor, sticky mobile buy bar --- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 920px;
  margin: 6px 0 14px;
}
.gitem { margin: 0; }
.gitem img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  background: #fff;
}
.gitem figcaption { font-size: 13px; color: var(--ink-soft); margin-top: 8px; }
.price-note { font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.anchor { font-size: 13px; color: var(--ink-soft); margin: 6px 0 2px; }

.stickybuy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: #fff; border-top: 1px solid var(--line);
  padding: 10px 16px; box-shadow: 0 -6px 20px rgba(20, 24, 31, .10);
}
.stickybuy .sb-price { font-weight: 800; font-size: 19px; }
.stickybuy .btn { margin: 0; flex: 0 0 auto; }
@media (min-width: 761px) { .stickybuy { display: none !important; } }
@media (max-width: 760px) { body { padding-bottom: 78px; } }

/* --- Launch promo: top countdown bar + strikethrough compare price --- */
.promobar {
  background: linear-gradient(90deg, #fff3e0, #ffe9cc);
  color: #7a4a00; text-align: center;
  padding: 9px 14px; font-size: 14px; font-weight: 600;
  border-bottom: 1px solid #ffdca8;
}
.promobar strong { color: #5c3800; }
.was { text-decoration: line-through; color: #9aa3b2; font-weight: 600; }
.price .was { font-size: .62em; margin-right: 6px; }
.sb-price .was { font-size: .72em; margin-right: 5px; }
.cd { font-variant-numeric: tabular-nums; font-weight: 800; white-space: nowrap; }
.promo-line { font-size: 13px; color: var(--ink-soft); margin: 4px 0 8px; }
.badge.promo { background: #ffe1b3; color: #7a4a00; }

/* ===== Product LP v2 (mobile-first hero, trust, reviews) ===== */
.product { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: start; }
.hero-media { grid-column: 1; grid-row: 1; }
.hero-info { grid-column: 2; grid-row: 1; }
.product-detail { grid-column: 1 / -1; }
.hero-media img { width: 100%; height: auto; border-radius: 14px; }
.subhead { font-size: 19px; line-height: 1.4; color: var(--ink); margin: 6px 0 14px; font-weight: 500; }
.heropoints { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 6px; }
.heropoints li { font-size: 15px; color: var(--ink); padding-left: 24px; position: relative; }
.heropoints li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
.chips { list-style: none; padding: 0; margin: 12px 0 4px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 12.5px; font-weight: 600; color: var(--brand-dark); background: #eaf7f0; border: 1px solid #cdeede; border-radius: 999px; padding: 5px 11px; }
.chips li::before { content: "✓ "; }

.founder { background: var(--bg-soft); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 12px; padding: 18px 20px; max-width: 720px; margin: 22px 0; }
.founder p { margin: 0; font-size: 15.5px; color: var(--ink); }
.founder .by { margin-top: 10px; font-weight: 700; color: var(--ink-soft); font-size: 14px; }
.befirst { max-width: 720px; margin: 14px 0; padding: 14px 18px; border-radius: 12px; background: #fff7e9; border: 1px solid #ffe1b3; color: #6b4a00; font-size: 14.5px; }
.trustrow { display: flex; flex-wrap: wrap; gap: 10px 20px; max-width: 760px; margin: 16px 0 6px; font-size: 13.5px; color: var(--ink-soft); font-weight: 600; }

.reviews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 880px; }
.review { margin: 0; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: #fff; box-shadow: var(--shadow); }
.review .stars { color: #f5a623; font-size: 16px; letter-spacing: 1px; }
.review blockquote { margin: 8px 0 10px; font-size: 15px; color: var(--ink); }
.review figcaption { font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.vtag { background: #eaf7f0; color: var(--brand-dark); border-radius: 6px; padding: 1px 7px; font-size: 11px; margin-left: 4px; }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; min-height: 48px; display: flex; align-items: center; padding: 6px 0; }

.sb-left { display: flex; flex-direction: column; line-height: 1.15; }
.sb-cd { font-size: 12px; color: #b54708; font-weight: 700; }

/* Mobile robustness: never allow horizontal scroll; respect iPhone safe area */
html, body { overflow-x: hidden; max-width: 100%; }
* { min-width: 0; }
.stickybuy { padding-bottom: calc(10px + env(safe-area-inset-bottom)); }

/* Mobile: CTA in the first screen, hero image after the offer */
@media (max-width: 760px) {
  .product { display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: 100%; }
  .hero-info, .product-detail { width: 100%; max-width: 100%; min-width: 0; }
  .gallery, .reviews { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .hero-info { order: 1; } .hero-media { order: 2; } .product-detail { order: 3; }
  .hero-media { text-align: center; }
  .hero-media img { max-height: 56vh; width: auto; max-width: 100%; object-fit: contain; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .section-title { margin: 26px 0 6px; }
  .subhead { font-size: 17px; }
  .btn { padding: 13px 22px; }
  .trustrow { gap: 8px 14px; font-size: 13px; }
}
