:root {
  --font-sans: "Instrument Sans Variable", "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --ink: #09090b;
  --ink-soft: #3f3f46;
  --body: #18181b;
  --muted: #52525b;
  --muted-2: #71717a;
  --bg: #f4f4f5;
  --card: #ffffff;
  --border: #e4e4e7;
  --accent: #178455;
  --accent-soft: #e4f8ed;
  --accent-deep: #11351f;
  --radius: 12px;
  --radius-lg: 20px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ---- Header ---- */

header.site {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 16px 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
  width: fit-content;
  max-width: calc(100% - 48px);
  margin: 0 auto;
  background: var(--card);
  border-radius: 9999px;
  padding: 10px 10px 10px 20px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(24, 24, 27, 0.06);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
}

.brand .mark {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--ink);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.brand .mark img { width: 100%; height: 100%; object-fit: cover; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #2a2a2a; }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: #c7d2c9; }

.btn-nav {
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 8px 16px;
}
.btn-nav:hover { background: #136b46; }

/* ---- Hero ---- */

.hero {
  padding: 64px 0 20px;
  position: relative;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  inset: -20% 0 auto 0;
  height: 640px;
  z-index: -1;
  background:
    radial-gradient(420px 320px at 12% 20%, rgba(23, 132, 85, 0.14), transparent 70%),
    radial-gradient(380px 300px at 85% 10%, rgba(236, 138, 33, 0.10), transparent 70%),
    radial-gradient(500px 360px at 55% 55%, rgba(23, 132, 85, 0.07), transparent 70%);
  filter: blur(10px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.eyebrow .badge {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
}

.eyebrow .badge svg { width: 12px; height: 12px; color: var(--accent); }

h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--ink);
}

h1 .accent { color: var(--accent); font-style: italic; }

.lede {
  font-size: 17px;
  color: var(--muted);
  max-width: 460px;
  margin: 0 0 30px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.hero-actions .btn { padding: 13px 24px; font-size: 15px; }

.trust-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted-2);
}

.trust-line svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }

/* ---- Widget mockups (real storefront UI, not stock art) ---- */

.widget-frame {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(23, 37, 33, 0.04), 0 20px 48px -24px rgba(23, 37, 33, 0.16);
  overflow: hidden;
}

.widget-frame .dots {
  display: flex;
  gap: 6px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
}

.widget-frame .dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e3e9e3;
}

.widget-frame .body { padding: 26px; }

.widget-frame img { width: 100%; height: auto; display: block; }

.feature-copy .eyebrow-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.product-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.product-thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background: linear-gradient(145deg, #eef3ee, #dde6de);
  flex-shrink: 0;
}

.product-info h3 { margin: 0 0 4px; font-size: 15px; }
.product-info .price { color: var(--muted); font-size: 13px; }

.bk-bars { display: grid; gap: 8px; }

.bk-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  gap: 10px;
}

.bk-bar.is-selected {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.bk-bar .label { font-weight: 600; flex-shrink: 0; }
.bk-bar .save { color: var(--accent); font-weight: 600; }
.bk-bar .meta { color: var(--muted-2); font-size: 12px; }

.bk-bar select {
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 5px 8px;
  font-size: 12px;
  font-family: inherit;
  background: #fff;
  color: var(--body);
}

.bk-row-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.atc {
  margin-top: 18px;
  width: 100%;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 16px;
}

.savings-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--accent);
  margin: 12px 0 2px;
}

.gift-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0; }

.gift-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
  font-size: 11px;
}

.gift-item .g-thumb {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  background: #eef3ee;
  margin-bottom: 6px;
}

.gift-item.locked { opacity: 0.5; }
.gift-item .g-free { color: var(--accent); font-weight: 600; }

.box-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }

.box-slot {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
}

.box-slot .thumb { width: 100%; aspect-ratio: 1; border-radius: 7px; background: #eef3ee; margin-bottom: 6px; }
.box-slot .x { position: absolute; top: 6px; right: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 1px solid var(--border); display: grid; place-items: center; font-size: 10px; color: var(--muted-2); }

.box-progress { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.box-bar { height: 5px; border-radius: 999px; background: var(--border); overflow: hidden; margin-bottom: 14px; }
.box-bar span { display: block; height: 100%; background: var(--accent); }

.countdown-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-deep);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* ---- Real widget recreation (quantity breaks) ---- */

.bk-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0 14px;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.bk-divider::before, .bk-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.bk-bar-tier {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
}

.bk-bar-tier.is-selected { border-color: var(--ink); border-width: 1.5px; }

.bk-bar-tier .radio {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  margin: 0 auto 8px;
}

.bk-bar-tier.is-selected .radio { border-color: var(--ink); background: radial-gradient(circle, var(--ink) 0 40%, transparent 42%); }

.bk-bar-tier .tier-name { font-weight: 700; font-size: 14px; margin-bottom: 6px; }

.bk-badge {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 7px;
}

.bk-bar-tier .you-save { font-size: 11px; color: var(--muted); margin-bottom: 4px; }
.bk-bar-tier .price-now { font-weight: 700; font-size: 14px; }
.bk-bar-tier .price-was { font-size: 11px; color: var(--muted-2); text-decoration: line-through; display: block; }

.savings-banner {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 13px;
  color: var(--body);
  margin: 14px 0;
}

.savings-banner svg { width: 13px; height: 13px; color: var(--muted); }
.savings-banner strong { color: var(--accent); font-weight: 700; }

.btn-stack { display: grid; gap: 8px; margin-top: 4px; }

.atc-solid, .atc-outline {
  border-radius: 10px;
  padding: 13px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.atc-solid { background: var(--ink); color: #fff; }
.atc-outline { background: #fff; border: 1px solid var(--ink); color: var(--ink); }

/* ---- Build a box recreation ---- */

.box-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.box-picker-head strong { font-size: 14px; }
.box-picker-head span { font-size: 12px; color: var(--muted); }

.box-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }

.box-tile {
  aspect-ratio: 1;
  border-radius: 9px;
  background: linear-gradient(150deg, #eef3ee, #dde6de);
  position: relative;
}

.box-tile.empty { background: var(--bg); border: 1.5px dashed var(--border); }

.box-tile .x {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 9px;
  color: var(--muted-2);
}

/* ---- Gift unlock recreation ---- */

.gift-tier-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  margin-bottom: 8px;
}

.gift-tier-row.unlocked { border-color: var(--accent); background: var(--accent-soft); }

.gift-tier-row .g-label { font-weight: 600; }
.gift-tier-row .g-sub { font-size: 11px; color: var(--muted-2); }
.gift-tier-row .g-status { font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 5px; }
.gift-tier-row.unlocked .g-status { color: var(--accent); }
.gift-tier-row:not(.unlocked) .g-status { color: var(--muted-2); }
.gift-tier-row svg { width: 13px; height: 13px; }

/* ---- Live preview / editor recreation ---- */

.editor-mock {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
}

.editor-mock .panel-a {
  border-right: 1px solid var(--border);
  padding: 20px 18px;
}

.editor-mock .panel-a .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.editor-mock .panel-a .row.active { color: var(--ink); font-weight: 600; }
.editor-mock .panel-a .row:last-child { border-bottom: none; }

.editor-mock .panel-b { padding: 20px 18px; background: var(--bg); }
.editor-mock .panel-b .label { font-size: 11px; color: var(--muted-2); font-weight: 700; letter-spacing: 0.04em; margin-bottom: 10px; }

/* ---- Sections ---- */

section { padding: 60px 0; }

.section-head { max-width: 560px; margin: 0 0 48px; }
.section-head h2 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 44px); margin: 0 0 12px; letter-spacing: -0.01em; }
.section-head p { color: var(--muted); font-size: 16px; margin: 0; }

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

.feature-row:first-of-type { border-top: none; }

.feature-row.reverse .feature-copy { order: 2; }
.feature-row.reverse .feature-visual { order: 1; }

.feature-copy h3 { font-family: var(--font-serif); font-weight: 400; font-size: 30px; margin: 0 0 10px; letter-spacing: -0.01em; line-height: 1.2; }
.feature-copy p { font-size: 15px; color: var(--muted); margin: 0; max-width: 400px; }

/* ---- Facts band ---- */

.facts-band {
  background: var(--accent-deep);
  border-radius: var(--radius-lg);
  padding: 52px 40px;
}

.facts-band .section-head { max-width: 640px; }
.facts-band .section-head h2 { color: #fff; }
.facts-band .section-head p { color: #a9c4b5; }

.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.fact-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 22px;
}

.fact-card .icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.fact-card .icon svg { width: 17px; height: 17px; color: #fff; }

.fact-card h3 { font-size: 15px; color: #fff; margin: 0 0 8px; }
.fact-card p { font-size: 13px; color: #a9c4b5; margin: 0; line-height: 1.6; }

/* ---- FAQ ---- */

.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary .plus {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  position: relative;
}

.faq-item summary .plus::before,
.faq-item summary .plus::after {
  content: "";
  position: absolute;
  background: var(--muted);
}

.faq-item summary .plus::before { width: 10px; height: 1.5px; }
.faq-item summary .plus::after { width: 1.5px; height: 10px; transition: transform 0.15s ease; }

.faq-item[open] summary .plus::after { transform: scaleY(0); }

.faq-item p {
  margin: 14px 0 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 620px;
}

/* ---- CTA band ---- */

.cta-band {
  text-align: center;
  padding: 60px 0 10px;
}

.cta-band h2 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(28px, 3.6vw, 40px); margin: 0 0 12px; }
.cta-band p { color: var(--muted); margin: 0 0 26px; font-size: 15px; }
.cta-band .btn { padding: 13px 26px; font-size: 15px; }

/* ---- Footer ---- */

footer.site {
  border-top: 1px solid var(--border);
  padding: 32px 0 48px;
  margin-top: 40px;
}

.foot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.foot-links {
  display: flex;
  gap: 22px;
  font-size: 13px;
  color: var(--muted);
}

.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--ink); }

.foot-copy { font-size: 13px; color: var(--muted-2); }

/* ---- Legal (privacy page) ---- */

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.legal .kicker {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

.legal h1 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 8px; }

.legal .updated { color: var(--muted-2); font-size: 13px; margin-bottom: 44px; }

.legal h2 {
  font-size: 18px;
  margin: 40px 0 12px;
  letter-spacing: -0.01em;
}

.legal p, .legal li { font-size: 15px; color: var(--ink-soft); line-height: 1.7; }
.legal ul { padding-left: 20px; margin: 10px 0; }
.legal li { margin-bottom: 6px; }

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 20px;
  font-size: 14px;
}

.legal th, .legal td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.legal th { color: var(--muted-2); font-weight: 600; width: 34%; }

.legal .callout {
  background: var(--accent-soft);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 14px;
  color: var(--accent-deep);
  margin: 18px 0;
}

/* ---- Responsive ---- */

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero-grid, .feature-row, .facts-grid { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-copy,
  .feature-row.reverse .feature-visual { order: initial; }
  .feature-row { gap: 24px; padding: 36px 0; }
  .widget-frame .body { padding: 20px; }
  .facts-band { padding: 36px 22px; }
  .hero { padding: 44px 0 10px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
}
