/* ==========================================================================
   Sukoon Herbal Oil — Stylesheet
   Design tokens, layout, components, responsive rules
   ========================================================================== */

:root {
  /* Color */
  --bg: #16231C;
  --bg-soft: #1E2E24;
  --surface: #24352A;
  --accent: #C9A227;
  --accent-soft: #D4B24C;
  --clay: #A6673C;
  --text: #F3EFE3;
  --text-muted: #B9C2B6;
  --border: #33473A;
  --focus: #E7C563;

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --max-width: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius-sm: 6px;
  --radius-md: 12px;
  --section-space: clamp(3.5rem, 8vw, 6.5rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; margin: 0 0 0.6em; }
p { margin: 0 0 1em; color: var(--text-muted); }
ul { padding-left: 1.2em; }
button { font-family: inherit; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Visible focus state everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.wrap {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-space); }
.section-alt { background: var(--bg-soft); }
.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.section-head .kicker { color: var(--accent-soft); font-family: var(--font-display); font-style: italic; font-size: 1.05rem; margin-bottom: 0.5rem; display: block; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.divider { height: 1px; background: var(--border); border: none; margin: 2.5rem 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 1.6em;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  min-height: 44px;
}
.btn-primary { background: var(--accent); color: #1A1406; }
.btn-primary:hover { background: var(--accent-soft); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--accent-soft); color: var(--accent-soft); }
.btn-block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(22, 35, 28, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.7rem;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 36px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 2rem; }
.nav-links { list-style: none; display: flex; gap: 1.6rem; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--accent-soft); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.6rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .main-nav .nav-links {
    position: fixed;
    inset: 60px 0 auto 0;
    flex-direction: column;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
    padding: 1rem var(--gutter) 1.5rem;
    gap: 0.2rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }
  .main-nav .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
  }
  .main-nav .order-link { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding-block: clamp(2.5rem, 7vw, 5rem);
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent-soft);
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
  display: block;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  max-width: 14ch;
}
.hero-lede {
  font-size: 1.08rem;
  max-width: 46ch;
  margin-bottom: 1.8rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.6rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.4rem; font-size: 0.88rem; color: var(--text-muted); }
.hero-trust li { list-style: none; display: flex; align-items: center; gap: 0.5em; }
.hero-trust ul { display: flex; flex-wrap: wrap; gap: 1.4rem; padding: 0; margin: 0; }
.hero-trust svg { flex-shrink: 0; }

.hero-visual { position: relative; }
.hero-visual img { width: 100%; height: auto; }

@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 320px; margin-inline: auto; }
}

/* ==========================================================================
   About / Story — alternating layout
   ========================================================================== */
.story-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.story-grid.reverse .story-media { order: 2; }
.story-media img { border-radius: var(--radius-md); }
.story-text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.story-text p { max-width: 52ch; }

@media (max-width: 880px) {
  .story-grid, .story-grid.reverse .story-media { grid-template-columns: 1fr; order: initial; }
  .story-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Benefits — quiet list, not a card-kit
   ========================================================================== */
.benefit-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}
.benefit-item {
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 1rem;
}
.benefit-item:nth-child(odd) { border-right: 1px solid var(--border); padding-right: 1.6rem; }
.benefit-item:nth-child(even) { padding-left: 1.6rem; }
.benefit-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface);
  border-radius: var(--radius-sm);
  color: var(--accent-soft);
}
.benefit-item h3 { font-size: 1.08rem; margin-bottom: 0.3em; }
.benefit-item p { font-size: 0.94rem; margin: 0; }

@media (max-width: 700px) {
  .benefit-list { grid-template-columns: 1fr; }
  .benefit-item:nth-child(odd) { border-right: none; padding-right: 0; }
  .benefit-item:nth-child(even) { padding-left: 0; }
}

/* ==========================================================================
   Ingredients — apothecary style
   ========================================================================== */
.ingredients-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.ingredient-rows { list-style: none; margin: 0; padding: 0; }
.ingredient-rows li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.ingredient-rows dt { font-family: var(--font-display); font-size: 1.05rem; color: var(--text); }
.ingredient-rows dd { margin: 0; color: var(--text-muted); font-size: 0.92rem; text-align: right; max-width: 30ch; }
.ingredient-note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem;
  font-size: 0.9rem;
  margin-top: 1.5rem;
}
.ingredient-note strong { color: var(--accent-soft); }

@media (max-width: 880px) {
  .ingredients-grid { grid-template-columns: 1fr; }
  .ingredients-grid img { max-width: 360px; margin-inline: auto; }
  .ingredient-rows dd { text-align: left; }
  .ingredient-rows li { flex-direction: column; gap: 0.2rem; }
}

/* ==========================================================================
   How to Use — real numbered sequence
   ========================================================================== */
.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.steps-list li {
  counter-increment: step;
  position: relative;
  padding-top: 2.6rem;
}
.steps-list li::before {
  content: counter(step);
  position: absolute;
  top: 0; left: 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.3rem;
  width: 2.4rem;
}
.steps-list h3 { font-size: 1rem; margin-bottom: 0.3em; }
.steps-list p { font-size: 0.9rem; margin: 0; }

@media (max-width: 880px) {
  .steps-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .steps-list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Order section
   ========================================================================== */
.order-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.8rem;
}
.price-card .price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.price-card .price small { font-size: 1rem; color: var(--text-muted); font-family: var(--font-body); }
.price-card ul { list-style: none; padding: 0; margin: 1.2rem 0; }
.price-card ul li { padding: 0.45rem 0; border-bottom: 1px solid var(--border); font-size: 0.92rem; color: var(--text-muted); }

.order-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(1.4rem, 3vw, 2.2rem);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { margin-bottom: 1.1rem; }
.form-field label { display: block; font-size: 0.88rem; color: var(--text-muted); margin-bottom: 0.4rem; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 0.7rem 0.85rem;
  font-size: 0.96rem;
  font-family: inherit;
  min-height: 44px;
}
.form-field textarea { min-height: 90px; resize: vertical; }

.payment-options { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 0.4rem 0 1.2rem; }
.payment-options label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.9rem;
  font-size: 0.88rem;
  cursor: pointer;
  color: var(--text-muted);
}
.payment-options input { width: auto; min-height: auto; }
.payment-options input:checked + span { color: var(--text); }

.form-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.8rem; }
.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.success { background: rgba(201,162,39,0.14); border: 1px solid var(--accent); color: var(--text); }

@media (max-width: 880px) {
  .order-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Safety notice
   ========================================================================== */
.safety-box {
  background: var(--surface);
  border-left: 3px solid var(--clay);
  border-radius: var(--radius-sm);
  padding: 1.4rem 1.6rem;
}
.safety-box h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.safety-box ul { margin: 0; padding-left: 1.2em; color: var(--text-muted); font-size: 0.94rem; }
.safety-box li { margin-bottom: 0.4em; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { max-width: 760px; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.08rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.4rem;
  color: var(--accent-soft);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin-top: 0.8rem; font-size: 0.95rem; }

/* ==========================================================================
   Disclaimer
   ========================================================================== */
.disclaimer-box p { font-size: 0.9rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding-block: 3rem 1.6rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand img { height: 32px; margin-bottom: 0.8rem; }
.footer-brand p { font-size: 0.9rem; max-width: 32ch; }
.footer-col h4 { font-size: 0.95rem; color: var(--text); margin-bottom: 0.8rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a { text-decoration: none; color: var(--text-muted); font-size: 0.9rem; }
.footer-col a:hover { color: var(--accent-soft); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.4rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
}

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Utility
   ========================================================================== */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
