:root {
  --stone: #1a1817;
  --clay: #6b5d56;
  --warm-sand: #a89888;
  --linen: #f7f2ea;
  --chalk: #fefcf9;
  --ecru: #f0e8dc;
  --terracotta: #c17d5a;
  --terracotta-deep: #8b4a2e;
  --cedar: #5c3d2e;
  --cedar-deep: #39261f;
  --sage: #7d8a6e;
  --sage-light: #eef0e6;
  --sand-line: #e8ded2;
  --sand-line-strong: #d4c8b8;
  --warning-amber: #f2eadc;
  --shadow-soft: 0 18px 50px rgba(46, 31, 24, 0.10);
  --shadow-stage: 0 34px 90px rgba(46, 31, 24, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--stone);
  background: var(--linen);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(232, 222, 210, 0.8);
  background: rgba(247, 242, 234, 0.88);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
  padding: 18px 0;
}

.brand {
  display: grid;
  gap: 1px;
  min-width: 210px;
  text-decoration: none;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.brand span {
  color: var(--clay);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  font-weight: 550;
}

.nav-links a {
  position: relative;
  color: var(--clay);
  text-decoration: none;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: transparent;
}

.nav-links a:hover,
.nav-links a.active { color: var(--stone); }
.nav-links a.active::after { background: var(--terracotta); }

.desktop-home-nav,
.desktop-site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  font-weight: 550;
}

.desktop-home-nav a,
.mobile-home-nav a,
.desktop-site-nav a,
.mobile-site-nav a {
  position: relative;
  color: var(--clay);
  text-decoration: none;
}

.desktop-home-nav a::after,
.mobile-home-nav a::after,
.desktop-site-nav a::after,
.mobile-site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: transparent;
}

.desktop-home-nav a:hover,
.desktop-home-nav a.active,
.mobile-home-nav a.active,
.desktop-site-nav a:hover,
.desktop-site-nav a.active,
.mobile-site-nav a.active {
  color: var(--stone);
}

.desktop-home-nav a.active::after,
.mobile-home-nav a.active::after,
.desktop-site-nav a.active::after,
.mobile-site-nav a.active::after {
  background: var(--terracotta);
}

.mobile-home-nav,
.mobile-site-nav {
  display: none !important;
}

h1, h2, h3 { margin: 0; }

h1, h2, .display {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 14ch;
  font-size: clamp(48px, 8vw, 88px);
  line-height: 1.05;
}

h2 {
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 1.1;
}

h3 {
  font-size: 21px;
  line-height: 1.25;
  font-weight: 760;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--terracotta-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead {
  max-width: 610px;
  margin: 24px 0 0;
  color: var(--clay);
  font-size: 21px;
  line-height: 1.55;
}

.note {
  color: var(--warm-sand);
  font-size: 13px;
  line-height: 1.5;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 1.04fr);
  gap: 66px;
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
  padding: 104px 0 76px;
  align-items: center;
}

.hero.compact {
  padding: 74px 0 44px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid var(--terracotta);
  border-radius: 5px;
  background: var(--terracotta-deep);
  color: #fff;
  font-size: 16px;
  font-weight: 760;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(139, 74, 46, 0.18);
}

.btn.secondary {
  background: transparent;
  color: var(--terracotta-deep);
  box-shadow: none;
}

.btn.text {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--stone);
  box-shadow: none;
}

.hero-stage,
.product-board {
  position: relative;
  min-height: 560px;
  border: 1px solid var(--sand-line);
  border-radius: 2px;
  background:
    linear-gradient(135deg, rgba(254, 252, 249, 0.96), rgba(240, 232, 220, 0.86)),
    var(--chalk);
  box-shadow: var(--shadow-stage);
  overflow: hidden;
}

.hero-stage::before,
.product-board::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(212, 200, 184, 0.7);
}

.hero-stage::after,
.product-board::after {
  content: "";
  position: absolute;
  left: 42px;
  right: 42px;
  bottom: 42px;
  height: 1px;
  background: var(--sand-line-strong);
}

.homepage-hero-image-stage {
  position: relative;
  min-height: 560px;
  border: 1px solid var(--sand-line);
  border-radius: 2px;
  background:
    linear-gradient(135deg, rgba(254, 252, 249, 0.96), rgba(240, 232, 220, 0.82)),
    var(--chalk);
  box-shadow: var(--shadow-stage);
  overflow: hidden;
}

.homepage-hero-image-stage::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(212, 200, 184, 0.7);
  pointer-events: none;
}

.homepage-hero-image-stage::after {
  content: "";
  position: absolute;
  left: 42px;
  right: 42px;
  bottom: 42px;
  height: 1px;
  background: var(--sand-line-strong);
  pointer-events: none;
}

.homepage-hero-image-wrap {
  position: absolute;
  inset: 46px;
  display: grid;
  place-items: center;
}

.homepage-hero-image {
  display: block;
  width: min(100%, 520px);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 4px;
  filter: drop-shadow(0 26px 50px rgba(57, 38, 31, 0.18));
}

.pouch-scene {
  position: absolute;
  right: 54px;
  bottom: 78px;
  width: min(58%, 340px);
  aspect-ratio: 0.72;
}

.pouch {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(92, 61, 46, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(254, 252, 249, 0.98), rgba(236, 222, 207, 0.92)),
    linear-gradient(90deg, rgba(193, 125, 90, 0.10), transparent 45%, rgba(125, 138, 110, 0.10));
  box-shadow: 0 26px 60px rgba(57, 38, 31, 0.22);
}

.pouch.back {
  inset: 34px 48px auto auto;
  height: 80%;
  background: #e7d9c9;
  transform: rotate(-7deg);
}

.pouch.front {
  transform: rotate(3deg);
}

.pouch.front::before {
  content: "Private Label";
  position: absolute;
  top: 46px;
  left: 30px;
  color: var(--terracotta-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
}

.pouch.front::after {
  content: "Menstrual Heat Patch  |  9.5 x 13cm";
  position: absolute;
  left: 30px;
  bottom: 44px;
  color: var(--clay);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pack-box {
  position: absolute;
  left: 54px;
  bottom: 88px;
  width: 190px;
  height: 230px;
  border: 1px solid rgba(92, 61, 46, 0.18);
  background: linear-gradient(160deg, #fefcf9, #e9ded2);
  box-shadow: 0 18px 44px rgba(57, 38, 31, 0.16);
}

.pack-box::before {
  content: "Retail Box Optional";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 26px;
  color: var(--cedar);
  font-weight: 800;
}

.stage-note {
  position: absolute;
  left: 54px;
  top: 48px;
  max-width: 280px;
  color: var(--clay);
  font-size: 14px;
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: min(1220px, calc(100% - 36px));
  margin: -32px auto 54px;
  justify-content: center;
}

.chip {
  padding: 11px 16px;
  border: 1px solid var(--sand-line);
  background: var(--chalk);
  color: var(--cedar);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section {
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
  padding: 84px 0;
}

.section.alt {
  width: 100%;
  background: var(--ecru);
}

.section.dark {
  width: 100%;
  background: linear-gradient(135deg, var(--cedar), var(--cedar-deep));
  color: var(--chalk);
}

.inner {
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.45fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 38px;
}

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

.dark .section-head p,
.dark .card p,
.dark .note {
  color: rgba(254, 252, 249, 0.74);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  padding: 34px;
  border: 1px solid var(--sand-line);
  background: var(--chalk);
  box-shadow: var(--shadow-soft);
}

.dark .card {
  border-color: rgba(254, 252, 249, 0.16);
  background: rgba(254, 252, 249, 0.08);
  box-shadow: none;
}

.card p, .card li { color: var(--clay); }

.answer-block {
  padding: 28px 30px;
  border: 1px solid rgba(193, 125, 90, 0.28);
  background: linear-gradient(135deg, rgba(254, 252, 249, 0.96), rgba(240, 232, 220, 0.72));
  box-shadow: var(--shadow-soft);
}

.answer-block p:last-child,
.buyer-checklist p:last-child {
  margin-bottom: 0;
}

.answer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.buyer-checklist {
  padding: 28px 30px;
  border: 1px solid var(--sand-line);
  background: var(--chalk);
}

.buyer-checklist ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.buyer-checklist li + li {
  margin-top: 8px;
}

.link-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.link-strip a {
  padding: 8px 12px;
  border: 1px solid var(--sand-line-strong);
  border-radius: 999px;
  color: var(--terracotta-deep);
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
  background: rgba(254, 252, 249, 0.7);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 0.75fr);
  gap: 44px;
  align-items: start;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--sand-line);
  background: var(--chalk);
}

.process-step {
  position: relative;
  padding: 32px 28px;
}

/* Spacer steps: preserve grid slot on desktop, remove on mobile */
.process-step.spacer {
  visibility: hidden;
}

.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -18px;
  width: 36px;
  border-top: 1px dashed var(--terracotta);
  z-index: 2;
}

.section.dark .process {
  border-color: rgba(254, 252, 249, 0.16);
  background: rgba(254, 252, 249, 0.06);
}

.section.dark .process-step {
  border-right: 1px solid rgba(254, 252, 249, 0.1);
}

.section.dark .process-step:last-child {
  border-right: 0;
}

.section.dark .process-step .step-no {
  background: var(--chalk);
  color: var(--cedar-deep);
}

.step-no {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--cedar);
  color: var(--chalk);
  font-weight: 900;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.spec-card {
  padding: 24px;
  border: 1px solid var(--sand-line);
  background: var(--chalk);
}

.spec-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--terracotta-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.comparison {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.mockup {
  height: 170px;
  margin-bottom: 22px;
  border: 1px solid var(--sand-line);
  background:
    linear-gradient(135deg, rgba(254, 252, 249, 0.94), rgba(240, 232, 220, 0.86)),
    repeating-linear-gradient(90deg, rgba(193, 125, 90, 0.08) 0 12px, transparent 12px 24px);
}

.mockup.box { clip-path: polygon(10% 0, 90% 0, 100% 12%, 100% 100%, 0 100%, 0 12%); }
.mockup.sample { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 18px; }
.mockup.sample i { background: rgba(193, 125, 90, 0.16); border: 1px solid var(--sand-line); }

.callout {
  padding: 30px 34px;
  border-left: 4px solid var(--sage);
  background: var(--sage-light);
}

.preview-only {
  border: 1px dashed var(--warning-amber);
  background: #fff8eb;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--clay);
  font-size: 14px;
}

input, select, textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--sand-line);
  padding: 11px 12px;
  background: #f2ede6;
  color: var(--clay);
  font: inherit;
}

textarea { min-height: 128px; resize: vertical; }
button[disabled], input[disabled], select[disabled], textarea[disabled] { cursor: not-allowed; opacity: 0.78; }

/* Guide table styles */
.guide-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.55;
}

.guide-table thead {
  border-bottom: 2px solid var(--sand-line-strong);
}

.guide-table th {
  padding: 10px 14px;
  color: var(--terracotta-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
}

.guide-table td {
  padding: 9px 14px;
  border-bottom: 1px solid var(--sand-line);
  color: var(--stone);
  vertical-align: top;
}

.guide-table tbody tr:last-child td {
  border-bottom: 0;
}

.guide-table tbody tr:nth-child(even) {
  background: rgba(254, 252, 249, 0.5);
}

@media (max-width: 720px) {
  .guide-table {
    font-size: 14px;
  }
  .guide-table th,
  .guide-table td {
    padding: 8px 10px;
  }
}

.footer {
  padding: 42px 0;
  border-top: 1px solid var(--sand-line);
  color: var(--warm-sand);
  text-align: center;
  font-size: 13px;
}

@media (max-width: 980px) {
  .hero, .split, .section-head, .form-layout { grid-template-columns: 1fr; }
  .grid, .grid.two, .grid.four, .comparison, .spec-grid, .process, .form-grid, .answer-grid { grid-template-columns: 1fr; }
  .hero-stage, .product-board, .homepage-hero-image-stage { min-height: 480px; }
  .process-step:not(:last-child)::after { display: none; }
  .process-step.spacer { display: none; }
  .process-step { padding: 22px 18px; }
  .section.dark .process-step { border-right: 0; }
}

@media (max-width: 1200px) {
  .home-page,
  .sub-page {
    overflow-x: hidden;
  }

  .home-page .nav,
  .sub-page .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    padding: 12px 0 10px;
  }

  .home-page .desktop-home-nav,
  .sub-page .desktop-site-nav {
    display: none !important;
  }

  .home-page .mobile-home-nav,
  .sub-page .mobile-site-nav {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    gap: 18px;
    overflow-x: hidden;
    white-space: nowrap;
  }

  .home-page .mobile-home-nav a,
  .sub-page .mobile-site-nav a {
    flex: 0 1 auto;
    min-width: 0;
    font-size: 13px;
    font-weight: 760;
    line-height: 1;
  }
}

@media (max-width: 720px) {
  body { font-size: 16px; line-height: 1.7; }
  .nav { align-items: flex-start; flex-direction: column; }
  .nav-links { justify-content: flex-start; gap: 14px; }
  h1 { font-size: clamp(38px, 9vw, 64px); max-width: none; }
  h2 { font-size: clamp(26px, 5vw, 38px); }
  .hero { padding: 56px 0 46px; }
  .section { padding: 62px 0; }
  .pouch-scene { width: min(72%, 310px); right: 28px; }
  .pack-box { width: 145px; height: 190px; left: 28px; }

  .home-page .brand,
  .sub-page .brand {
    min-width: 0;
  }

  .home-page .brand strong,
  .sub-page .brand strong {
    font-size: 22px;
  }

  .home-page .brand span,
  .sub-page .brand span {
    font-size: 11px;
  }

  .sub-page .actions {
    gap: 8px;
  }

  .sub-page .actions .btn {
    width: 100%;
    min-height: 46px;
  }

  .sub-page .actions .btn.text {
    width: auto;
    min-height: 34px;
  }

  .home-page .hero {
    gap: 14px;
    padding: 18px 0 26px;
  }

  .home-page h1 {
    font-size: clamp(27px, 7.2vw, 34px);
    line-height: 1.04;
    max-width: 13ch;
  }

  .home-page .lead {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.42;
  }

  .home-page .actions {
    gap: 8px;
    margin-top: 14px;
  }

  .home-page .actions .btn {
    width: 100%;
    min-height: 46px;
  }

  .home-page .actions .btn.text {
    width: auto;
    min-height: 34px;
  }

  .home-page .note {
    margin-top: 7px;
    font-size: 11px;
    line-height: 1.35;
  }

  .homepage-hero-image-stage {
    min-height: 260px;
  }

  .homepage-hero-image-stage::before {
    inset: 18px;
  }

  .homepage-hero-image-stage::after {
    left: 24px;
    right: 24px;
    bottom: 24px;
  }

  .homepage-hero-image-wrap {
    inset: 10px 12px 30px;
  }

  .homepage-hero-image {
    width: min(100%, 260px);
    max-height: 218px;
  }
}

@media (max-width: 390px) {
  .home-page .mobile-home-nav,
  .sub-page .mobile-site-nav {
    gap: 12px;
  }

  .home-page .mobile-home-nav a,
  .sub-page .mobile-site-nav a {
    font-size: 11px;
  }

  .home-page h1 {
    font-size: clamp(25px, 7vw, 31px);
  }

  .homepage-hero-image-stage {
    min-height: 248px;
  }

  .homepage-hero-image {
    width: min(100%, 242px);
    max-height: 204px;
  }
}
