:root {
  --bg: #f4f1ec;
  --bg-alt: #ebe6de;
  --surface: #ffffff;
  --ink: #1a2332;
  --ink-soft: #4a5568;
  --muted: #718096;
  --accent: #c45c4a;
  --accent-hover: #a84a3a;
  --accent-soft: #f9ebe8;
  --teal: #2a6f7a;
  --teal-dark: #1e4f57;
  --teal-soft: #e8f4f6;
  --border: rgba(26, 35, 50, 0.1);
  --shadow: 0 8px 32px rgba(26, 35, 50, 0.08);
  --shadow-lg: 0 24px 64px rgba(26, 35, 50, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1140px;
  --error: #c53030;
  --success: #276749;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-display: "Literata", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

/* —— Top bars —— */
.advertorial-bar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
  padding: 9px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.promo-pill {
  background: var(--teal);
  color: #fff;
  text-align: center;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
}

/* —— Header —— */
.site-header {
  background: var(--surface);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.logo span {
  color: var(--accent);
}

.nav-inline {
  display: none;
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
}

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

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

@media (min-width: 768px) {
  .nav-inline {
    display: flex;
  }
}

/* —— Buttons —— */
.btn-primary,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #fff !important;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 8px;
  font-size: 14px;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  font-family: var(--font-body);
}

.btn-primary:hover,
.header-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary--lg {
  padding: 16px 32px;
  font-size: 15px;
}

.btn-on-dark {
  background: #fff !important;
  color: var(--teal-dark) !important;
}

.btn-on-dark:hover {
  background: var(--teal-soft) !important;
}

.header-cta {
  padding: 10px 20px;
  font-size: 13px;
}

/* —— Story hero —— */
.story-hero {
  padding: 48px 0 64px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

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

@media (min-width: 900px) {
  .story-hero-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 56px;
  }
}

.story-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--muted);
}

.story-byline .tag {
  background: var(--accent-soft);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.story-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.18;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}

.story-lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin: 0 0 20px;
  line-height: 1.7;
}

.story-hero-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.story-hero-img img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.story-hero-img figcaption {
  background: var(--bg);
  padding: 12px 16px;
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  border-top: 1px solid var(--border);
}

.story-note {
  font-size: 13px;
  color: var(--muted);
  margin: 16px 0 0;
  padding: 12px 16px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--teal);
}

/* —— Chapters —— */
.story-chapter {
  padding: 56px 0;
  position: relative;
}

.story-chapter:nth-child(even) {
  background: var(--bg-alt);
}

.story-chapter .container {
  max-width: 760px;
}

.chapter-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.story-chapter h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  margin: 0 0 20px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.story-chapter p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.75;
  margin: 0 0 18px;
}

.story-chapter img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 24px 0;
  border: 1px solid var(--border);
}

.story-quote {
  background: var(--surface);
  border-left: 4px solid var(--accent);
  padding: 20px 24px;
  margin: 28px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.55;
  box-shadow: var(--shadow);
}

.story-quote cite {
  display: block;
  margin-top: 10px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

/* —— Features strip —— */
.features-strip {
  background: var(--teal-dark);
  color: #fff;
  padding: 32px 0;
}

.features-grid {
  display: grid;
  gap: 20px;
}

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

.feature-item {
  text-align: center;
  padding: 8px 12px;
}

.feature-item .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.feature-item h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.feature-item p {
  margin: 0;
  font-size: 13px;
  opacity: 0.82;
  line-height: 1.5;
}

/* —— Product block —— */
.product-block {
  padding: 64px 0;
  background: var(--surface);
}

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

@media (min-width: 900px) {
  .product-block-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  padding: 10px 0 10px 28px;
  position: relative;
  font-size: 15px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--border);
}

.checklist li:last-child {
  border-bottom: none;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--teal);
  font-weight: 800;
  font-size: 14px;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin: 0 0 10px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

/* —— Specs —— */
.specs-wrap {
  display: grid;
  gap: 32px;
  align-items: start;
}

@media (min-width: 900px) {
  .specs-wrap {
    grid-template-columns: 1fr 1fr;
  }
}

.specs-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.specs-card h2 {
  font-family: var(--font-display);
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.specs-card .sub {
  color: var(--muted);
  margin: 0 0 20px;
  font-size: 14px;
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--border);
}

.swatch.purple { background: #6b4fa3; }
.swatch.mint { background: #7ec8b8; }
.swatch.grey { background: #9aa0a8; }
.swatch.sand { background: #d4c4a8; }
.swatch.peach { background: #e8a598; }
.swatch.black { background: #222; }
.swatch.ruby { background: #c41e3a; }

.specs {
  list-style: none;
  padding: 0;
  margin: 0;
}

.specs li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.specs li:last-child {
  border-bottom: none;
}

.specs span:last-child {
  font-weight: 600;
  text-align: right;
}

.steps-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 20px;
}

.steps {
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  margin-bottom: 22px;
  align-items: start;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 44px;
  height: 44px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}

.step h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* —— FAQ —— */
.faq-section {
  padding: 64px 0;
  background: var(--bg-alt);
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item .answer {
  padding: 0 20px 16px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
}

/* —— Order form —— */
.order-section {
  padding: 72px 0;
  background: linear-gradient(180deg, var(--teal-soft) 0%, var(--bg) 100%);
  scroll-margin-top: 80px;
}

.order-layout {
  display: grid;
  gap: 32px;
}

@media (min-width: 960px) {
  .order-layout {
    grid-template-columns: 340px 1fr;
    align-items: start;
  }
}

.order-summary {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: sticky;
  top: 88px;
}

.order-summary img {
  width: 100%;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.order-summary .price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 4px;
}

.order-summary .price-note {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 16px;
}

.order-summary ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
}

.order-summary ul li {
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.order-summary ul li:last-child {
  border-bottom: none;
}

.order-form-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.order-form-card h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 6px;
}

.order-form-card > p {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 24px;
}

.form-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 600px) {
  .form-grid--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.form-field label .req {
  color: var(--accent);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(42, 111, 122, 0.15);
  background: var(--surface);
}

.form-field input.is-invalid,
.form-field select.is-invalid,
.form-field textarea.is-invalid {
  border-color: var(--error);
  background: #fff5f5;
}

.form-field input.is-valid,
.form-field select.is-valid {
  border-color: var(--success);
}

.field-hint {
  font-size: 12px;
  color: var(--muted);
}

.field-error {
  font-size: 12px;
  color: var(--error);
  font-weight: 600;
  min-height: 0;
  display: none;
}

.field-error.is-visible {
  display: block;
}

.form-checkbox {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.form-checkbox input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
  flex-shrink: 0;
}

.form-checkbox label {
  flex: 1;
  min-width: 200px;
}

.form-checkbox .field-error {
  flex-basis: 100%;
  margin-left: 28px;
}

.form-checkbox.is-invalid label {
  color: var(--error);
}

.btn-submit {
  width: 100%;
  padding: 16px 24px;
  font-size: 16px;
  margin-top: 8px;
}

.btn-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}

.form-success.is-visible {
  display: block;
}

.form-success .icon {
  width: 64px;
  height: 64px;
  background: #c6f6d5;
  color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
  font-weight: 800;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 10px;
}

.form-success p {
  color: var(--ink-soft);
  margin: 0 0 8px;
  font-size: 15px;
}

.order-form-body.is-hidden {
  display: none;
}

/* —— CTA band —— */
.cta-band {
  background: var(--teal-dark);
  color: #fff;
  padding: 48px 0;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  margin: 0 0 12px;
}

.cta-band > .container > p {
  opacity: 0.9;
  max-width: 520px;
  margin: 0 auto 24px;
  font-size: 15px;
}

/* —— Footer —— */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  padding: 44px 0 28px;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  margin-bottom: 24px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-links span {
  opacity: 0.35;
}

.footer-company {
  max-width: 560px;
  margin: 0 auto 22px;
  text-align: center;
  line-height: 1.75;
}

.footer-company strong {
  color: #fff;
}

.footer-company a {
  color: #90cdf4;
}

.legal-block {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  line-height: 1.7;
  opacity: 0.75;
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
}

.copyright {
  text-align: center;
  font-size: 13px;
  opacity: 0.5;
  margin: 16px 0 0;
}

.health-disclaimer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 24px 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.65;
}

.health-disclaimer .container {
  max-width: 820px;
}

/* —— Inner pages —— */
.page-hero {
  background: var(--surface);
  padding: 36px 0 28px;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-family: var(--font-display);
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2rem);
}

.prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 0 56px;
}

.prose h2 {
  font-size: 1.1rem;
  margin: 28px 0 10px;
}

.prose p,
.prose li {
  color: var(--ink-soft);
  margin: 0 0 14px;
}

.prose ul {
  padding-left: 1.2rem;
}

/* —— Sticky CTA —— */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  z-index: 100;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
  border-top: 1px solid var(--border);
}

.sticky-cta .btn-primary {
  padding: 11px 20px;
  font-size: 13px;
}

@media (min-width: 900px) {
  .sticky-cta {
    display: none;
  }
}

body.has-sticky {
  padding-bottom: 72px;
}

@media (min-width: 900px) {
  body.has-sticky {
    padding-bottom: 0;
  }
}

/* —— Scroll reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
