@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Bricolage+Grotesque:wght@600;700;800&display=swap');

:root {
  --background: #fefefc;
  --foreground: #282826;
  --card: #fbfaf8;
  --secondary: #f4f3f0;
  --muted-foreground: #85837e;
  --brand: #e0692b;
  --brand-foreground: #fefefe;
  --border: #e4e2dd;
  --foreground-inverse: #fefefe;
  --radius: 0.625rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .font-display {
  font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.wrap {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top bar */
.top-bar {
  background: var(--foreground);
  color: var(--foreground-inverse);
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.02em;
  padding: 8px 16px;
}

/* Header */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(254, 254, 252, 0.92);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1152px;
  margin: 0 auto;
}

nav.primary-nav {
  display: none;
  align-items: center;
  gap: 28px;
}

nav.primary-nav a {
  font-size: 14px;
  color: var(--muted-foreground);
  transition: color 0.15s;
}

nav.primary-nav a:hover {
  color: var(--foreground);
}

.desktop-only {
  display: none;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--foreground);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--border);
  padding: 8px 20px 16px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  padding: 12px 4px;
  font-size: 15px;
  border-bottom: 1px solid var(--border);
}

.mobile-nav a.btn {
  margin-top: 12px;
  border-bottom: none;
  text-align: center;
  justify-content: center;
}

@media (min-width: 768px) {
  nav.primary-nav {
    display: flex;
  }
  .desktop-only {
    display: inline-flex;
  }
  .menu-toggle {
    display: none;
  }
  .mobile-nav {
    display: none !important;
  }
  .header-inner {
    justify-content: space-between;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--brand-foreground);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}

.btn:hover {
  opacity: 0.9;
}

.btn.small {
  padding: 8px 20px;
}

.btn.full {
  width: 100%;
}

/* Hero */
.hero {
  padding: 40px 0 48px;
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .hero {
    padding-top: 64px;
  }
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.eyebrow {
  display: inline-block;
  border: 1px solid var(--border);
  background: var(--secondary);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.hero h1 {
  margin-top: 20px;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 52px;
  }
}

.hero p.lede {
  margin-top: 20px;
  max-width: 420px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.hero-cta {
  margin-top: 28px;
}

/* Stats bar - clean centered row */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 40px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-item .value {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.stat-item .label {
  font-size: 12px;
  color: var(--muted-foreground);
  line-height: 1.3;
}

@media (min-width: 640px) {
  .stat-item .value {
    font-size: 20px;
  }
  .stat-item .label {
    font-size: 13px;
  }
}

/* Hero media */
.hero-media .card-frame {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.card-frame .card-label {
  padding: 6px 10px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-foreground);
}

.card-frame .image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}

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

@media (min-width: 768px) {
  .card-frame img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
  }
}

.hero-media .caption {
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
  color: var(--muted-foreground);
  line-height: 1.4;
}

/* Feature strip */
.feature-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(244, 243, 240, 0.4);
}

.feature-strip .wrap {
  display: grid;
  gap: 32px;
  padding: 40px 20px;
}

@media (min-width: 768px) {
  .feature-strip .wrap {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-item svg {
  color: var(--brand);
}

.feature-item h3 {
  font-size: 16px;
  font-weight: 700;
}

.feature-item p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* Section headings */
.section {
  padding: 72px 20px;
  max-width: 1152px;
  margin: 0 auto;
}

.section-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 768px) {
  .section-grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
}

.section .kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}

.section h2 {
  margin-top: 14px;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .section h2 {
    font-size: 40px;
  }
}

.section p.lede {
  margin-top: 20px;
  max-width: 420px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* Benefits cards */
.benefit-cards {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .benefit-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.benefit-card {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 22px;
}

.check-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(224, 105, 43, 0.15);
  color: var(--brand);
}

.benefit-card h3 {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 700;
}

.benefit-card p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted-foreground);
}

/* In the box */
.in-the-box {
  border-top: 1px solid var(--border);
  background: rgba(244, 243, 240, 0.4);
}

.piece-list {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .piece-list {
    grid-template-columns: 1fr 1fr;
  }
}

.piece-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 10px 16px;
  font-size: 14px;
}

.piece-list .check-badge {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* CTA band */
.cta-band {
  background: var(--foreground);
  color: var(--background);
}

.cta-band .wrap {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 56px 20px;
}

@media (min-width: 768px) {
  .cta-band .wrap {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cta-band .kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}

.cta-band h2 {
  margin-top: 12px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .cta-band h2 {
    font-size: 40px;
  }
}

.cta-band .sub {
  margin-top: 10px;
  font-size: 14px;
  color: rgba(254, 254, 252, 0.7);
}

.cta-band .price-block {
  text-align: left;
  max-width: 340px;
}

@media (min-width: 768px) {
  .cta-band .price-block {
    text-align: right;
  }
}

.cta-band .now {
  display: block;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 36px;
  font-weight: 800;
}

@media (min-width: 768px) {
  .cta-band .now {
    font-size: 44px;
  }
}

.cta-band .price-note {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(254, 254, 252, 0.6);
}

.cta-band .note {
  margin-top: 12px;
  font-size: 12px;
  color: rgba(254, 254, 252, 0.55);
}

.cta-band .btn {
  margin-top: 16px;
}

/* FAQ */
.faq-list {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.faq-item:last-child {
  border-bottom: none;
}

.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 18px 0;
  font-family: inherit;
  color: inherit;
}

.faq-item .q {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 16px;
  font-weight: 600;
}

.faq-item .plus {
  flex-shrink: 0;
  font-size: 20px;
  line-height: 1;
  color: var(--muted-foreground);
  transition: transform 0.2s;
}

.faq-item.open .plus {
  transform: rotate(45deg);
}

.faq-item .a {
  display: none;
  padding-bottom: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.faq-item.open .a {
  display: block;
}

/* Footer */
footer.site-footer {
  border-top: 1px solid var(--border);
  background: var(--background);
}

.footer-grid {
  display: grid;
  gap: 36px;
  padding: 48px 20px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-brand {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-grid p {
  margin-top: 10px;
  max-width: 320px;
  font-size: 14px;
  color: var(--muted-foreground);
}

.footer-grid p.small {
  font-size: 12px;
}

.footer-col h3 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.footer-col ul {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

.footer-col ul a {
  color: var(--muted-foreground);
}

.footer-col ul a:hover {
  color: var(--foreground);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px;
  max-width: 1152px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Legal pages */
.legal-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 20px;
}

.legal-main .back-link {
  font-size: 14px;
  color: var(--muted-foreground);
}

.legal-main .back-link:hover {
  color: var(--foreground);
}

.legal-main h1 {
  margin-top: 20px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .legal-main h1 {
    font-size: 34px;
  }
}

.legal-main .updated {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted-foreground);
}

.legal-main .content {
  margin-top: 36px;
  font-size: 14px;
  line-height: 1.7;
}

.legal-main .content h2 {
  margin-top: 28px;
  font-size: 17px;
  font-weight: 700;
}

.legal-main .content p {
  margin-top: 10px;
}

.legal-main .content ul {
  margin-top: 10px;
  padding-left: 20px;
}

.legal-main .content li {
  margin-top: 4px;
}

/* ========== CHECKOUT PAGE ========== */
.checkout-page {
  min-height: 100vh;
  background: var(--background);
}

.checkout-header {
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
  text-align: center;
}

.checkout-header a {
  font-size: 14px;
  color: var(--muted-foreground);
}

.checkout-header a:hover {
  color: var(--foreground);
}

.checkout-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 20px 64px;
  display: grid;
  gap: 40px;
}

@media (min-width: 860px) {
  .checkout-wrap {
    grid-template-columns: 1fr 340px;
    align-items: start;
    gap: 48px;
  }
}

.checkout-form-section h1 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.checkout-form-section .sub {
  font-size: 14px;
  color: var(--muted-foreground);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--foreground);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--foreground);
  transition: border-color 0.15s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
}

.form-row {
  display: grid;
  gap: 14px;
}

@media (min-width: 520px) {
  .form-row.two {
    grid-template-columns: 1fr 1fr;
  }
}

.form-section-title {
  font-size: 15px;
  font-weight: 700;
  margin: 28px 0 14px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.form-section-title:first-of-type {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

/* Order summary card */
.order-summary {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
  padding: 22px;
  position: sticky;
  top: 80px;
}

.order-summary h2 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
}

.summary-product {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.summary-product img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.summary-product .info h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.summary-product .info p {
  font-size: 13px;
  color: var(--muted-foreground);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 10px;
}

.summary-line.total {
  font-size: 17px;
  font-weight: 700;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.summary-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted-foreground);
  line-height: 1.45;
}

/* Stripe placeholder */
.stripe-placeholder {
  margin-top: 20px;
  padding: 20px;
  border: 1px dashed var(--border);
  border-radius: 12px;
  background: #fafaf8;
  text-align: center;
}

.stripe-placeholder p {
  font-size: 13px;
  color: var(--muted-foreground);
  margin-bottom: 12px;
}

.stripe-placeholder .btn {
  pointer-events: none;
  opacity: 0.7;
}

.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted-foreground);
}
