:root {
  --ink: #17241f;
  --muted: #5c6d65;
  --paper: #f6f3ed;
  --paper-strong: #fffdf9;
  --sage: #5d7164;
  --sage-deep: #31483d;
  --sage-dark: #1f3029;
  --rose: #d9aaa3;
  --rose-light: #f2dfda;
  --gold: #d6a64b;
  --line: rgba(23, 36, 31, .13);
  --radius: 18px;
  --shell: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; font-size: 18px; line-height: 1.55; }
body, button, input, select { -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; }
.shell { width: min(var(--shell), calc(100% - 48px)); margin: 0 auto; }
.site-header { position: absolute; z-index: 5; top: 0; left: 0; right: 0; color: #fff; }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; overflow: hidden; }
.brand-mark img { width: 28px; height: 28px; object-fit: contain; }
.header-links { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 700; }
.header-links a { text-decoration: none; opacity: .85; }
.header-links a:hover { opacity: 1; }
.header-order { padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--sage-dark); opacity: 1 !important; }

.hero { position: relative; min-height: 790px; overflow: hidden; isolation: isolate; background: var(--sage-dark); color: #fff; }
.hero-backdrop { position: absolute; z-index: -2; inset: 0; background-image: linear-gradient(90deg, rgba(20,35,28,.96) 0%, rgba(29,48,39,.85) 39%, rgba(36,54,44,.43) 72%, rgba(28,42,35,.55) 100%), url('../img/mikoherb-hero.webp'); background-size: cover; background-position: center; }
.hero::after { content: ''; position: absolute; z-index: -1; inset: auto 0 0; height: 160px; background: linear-gradient(transparent, rgba(16,29,23,.32)); pointer-events: none; }
.hero-grid { min-height: 790px; position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(220px, .54fr) minmax(270px, .62fr); align-items: center; gap: 18px; padding-top: 72px; padding-bottom: 72px; }
.hero-copy { max-width: 650px; padding-bottom: 20px; }
.eyebrow { margin: 0 0 18px; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.eyebrow span { color: var(--rose); padding: 0 5px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.045em; line-height: 1.08; }
h1 { max-width: 720px; margin-bottom: 22px; font-size: clamp(42px, 6vw, 76px); }
.hero-lead { max-width: 560px; margin-bottom: 30px; color: rgba(255,255,255,.84); font-size: 20px; }
.hero-points { display: grid; gap: 14px; padding: 0; margin: 0 0 34px; list-style: none; }
.hero-points li { display: flex; align-items: flex-start; gap: 13px; }
.point-icon { flex: 0 0 30px; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-weight: 800; }
.hero-points strong, .hero-points small { display: block; }
.hero-points strong { font-size: 16px; }
.hero-points small { margin-top: 1px; color: rgba(255,255,255,.68); font-size: 14px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 52px; padding: 13px 20px; border: 0; border-radius: 999px; cursor: pointer; text-decoration: none; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(18,30,24,.16); }
.button-primary { background: var(--rose); color: #2d2422; }
.button-primary span, .button-submit span { font-size: 22px; line-height: 1; }
.delivery-note { display: inline-grid; gap: 0; color: rgba(255,255,255,.75); font-size: 13px; }
.delivery-note b { color: #fff; font-size: 18px; }
.hero-product { position: relative; align-self: stretch; min-height: 620px; display: flex; align-items: center; justify-content: center; padding: 58px 5px 30px; }
.hero-product img { position: relative; z-index: 1; width: min(250px, 94%); height: 560px; object-fit: contain; filter: drop-shadow(15px 28px 24px rgba(11,18,14,.36)); }
.product-glow { position: absolute; width: 300px; height: 430px; border-radius: 50%; background: radial-gradient(ellipse, rgba(255,255,255,.26), transparent 68%); filter: blur(2px); }
.product-badge { position: absolute; z-index: 2; top: 80px; right: 3%; padding: 8px 12px; border: 1px solid rgba(255,255,255,.42); border-radius: 999px; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.product-caption { position: absolute; z-index: 2; bottom: 30px; display: grid; gap: 1px; text-align: center; color: rgba(255,255,255,.65); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.hero-order-card { align-self: center; width: 100%; }
.price-label, .card-kicker { color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.price-row { display: flex; align-items: baseline; gap: 12px; margin: 4px 0 2px; }
.price-row s { color: rgba(255,255,255,.57); font-size: 19px; }
.price-row strong { color: #fff; font-size: 32px; }
.hero-price p { margin: 0; color: rgba(255,255,255,.66); font-size: 12px; }

.signal-strip { background: var(--paper-strong); border-bottom: 1px solid var(--line); }
.signal-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.signal-grid > div { display: flex; align-items: center; gap: 14px; min-height: 92px; padding: 16px 24px; border-right: 1px solid var(--line); }
.signal-grid > div:first-child { padding-left: 0; }
.signal-grid > div:last-child { border-right: 0; padding-right: 0; }
.signal-number, .card-index { color: var(--rose); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.signal-grid strong, .signal-grid small { display: block; }
.signal-grid strong { font-size: 15px; }
.signal-grid small { color: var(--muted); font-size: 13px; }

.section { padding: 112px 0; }
.section-heading { margin-bottom: 44px; }
.section-heading.narrow { max-width: 660px; }
.section-heading.centered { max-width: 600px; margin-right: auto; margin-left: auto; text-align: center; }
.section-heading h2, .ingredient-copy h2, .order-copy h2 { margin-bottom: 17px; font-size: clamp(34px, 4vw, 56px); }
.section-heading p:not(.eyebrow), .ingredient-copy > p:not(.eyebrow), .order-copy > p { color: var(--muted); }
.concern-section { background: var(--paper); }
.concern-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.concern-card { min-height: 210px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-strong); }
.concern-card h3 { margin: 34px 0 10px; font-size: 25px; }
.concern-card p { margin: 0; color: var(--muted); font-size: 15px; }
.concern-card:nth-child(2) { background: var(--sage-deep); color: #fff; border-color: transparent; }
.concern-card:nth-child(2) p { color: rgba(255,255,255,.74); }

.ingredient-section { background: #e9e6dc; }
.ingredient-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); align-items: center; gap: 74px; }
.ingredient-image { overflow: hidden; border-radius: var(--radius); box-shadow: 18px 22px 0 rgba(49,72,61,.12); }
.ingredient-image img { width: 100%; height: 465px; object-fit: cover; }
.ingredient-copy h2 { max-width: 440px; }
.ingredient-list { display: grid; gap: 12px; padding: 0; margin: 28px 0 20px; list-style: none; }
.ingredient-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(23,36,31,.14); }
.ingredient-list b { font-size: 15px; }
.ingredient-list span { color: var(--muted); font-size: 13px; text-align: right; }
.ingredient-footnote { font-size: 12px !important; line-height: 1.55; }

.how-section { background: var(--paper-strong); }
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 0; margin: 0; list-style: none; counter-reset: how; }
.how-grid li { padding: 23px; border-top: 3px solid var(--sage); background: var(--paper); }
.how-grid li > span { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 32px; border-radius: 50%; background: var(--sage-deep); color: #fff; font-weight: 800; }
.how-grid h3 { margin: 0 0 8px; font-size: 23px; }
.how-grid p { margin: 0; color: var(--muted); font-size: 14px; }

.order-section { padding: 110px 0; background: var(--sage-dark); color: #fff; }
.order-grid { display: grid; grid-template-columns: minmax(0, .93fr) minmax(370px, .77fr); align-items: center; gap: 90px; }
.order-copy { max-width: 560px; }
.order-copy > p { color: rgba(255,255,255,.72); }
.order-copy h2 { color: #fff; }
.order-assurance { display: flex; align-items: flex-start; gap: 13px; margin-top: 24px; }
.order-assurance > span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: var(--gold); color: var(--sage-dark); font-weight: 900; }
.order-assurance strong, .order-assurance small { display: block; }
.order-assurance small { color: rgba(255,255,255,.6); font-size: 13px; }
.order-card { padding: 30px; border-radius: 21px; background: var(--paper-strong); color: var(--ink); box-shadow: 0 24px 70px rgba(5,12,8,.28); }
.order-card-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.order-card h3 { margin: 5px 0 0; font-size: 32px; }
.mini-price { display: grid; justify-items: end; }
.mini-price s { color: var(--muted); font-size: 14px; }
.mini-price b { color: #bd5a54; font-size: 26px; }
.order-form { display: grid; gap: 8px; }
.order-form label { margin-top: 7px; font-size: 14px; font-weight: 800; }
.order-form input, .order-form select { width: 100%; min-height: 49px; padding: 11px 13px; border: 1px solid rgba(23,36,31,.18); border-radius: 10px; background: #fff; color: var(--ink); outline: none; }
.order-form input:focus, .order-form select:focus { border-color: var(--sage); box-shadow: 0 0 0 3px rgba(93,113,100,.18); }
.button-submit { width: 100%; margin-top: 14px; background: var(--rose); color: #302523; }
.form-note { margin: 7px 0 0; color: var(--muted); font-size: 11px; text-align: center; }
.safety-section { background: #e7d8cf; }
.safety-inner { display: flex; align-items: center; gap: 14px; min-height: 90px; }
.safety-mark { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border: 1px solid var(--sage-deep); border-radius: 50%; color: var(--sage-deep); font-weight: 800; }
.safety-inner p { margin: 0; color: #4e423e; font-size: 13px; }
.site-footer { background: #15221c; color: rgba(255,255,255,.65); }
.footer-inner { display: flex; align-items: center; gap: 20px; min-height: 88px; font-size: 12px; }
.footer-inner .brand { margin-right: auto; color: #fff; font-size: 16px; }
.footer-inner .brand-mark { width: 28px; height: 28px; }
.footer-inner a:last-child { color: #fff; text-decoration: none; }

.confirm-modal { position: fixed; z-index: 50; inset: 0; display: grid; place-items: center; padding: 22px; }
.modal-scrim { position: absolute; inset: 0; background: rgba(9,17,13,.72); backdrop-filter: blur(5px); }
.modal-card { position: relative; width: min(100%, 480px); padding: 30px; border-radius: 20px; background: var(--paper-strong); box-shadow: 0 25px 90px rgba(0,0,0,.3); }
.modal-card h2 { margin-bottom: 20px; font-size: 32px; }
.modal-close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; font-size: 28px; }
.confirm-data { display: grid; gap: 8px; padding: 14px; border-radius: 12px; background: var(--paper); }
.confirm-row { display: flex; justify-content: space-between; gap: 15px; font-size: 14px; }
.confirm-row strong { color: var(--muted); }
.confirm-row span { text-align: right; font-weight: 700; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.button-edit { background: transparent; border: 1px solid var(--line); color: var(--ink); }
[hidden] { display: none !important; }

@media (max-width: 900px) {
  .hero, .hero-grid { min-height: 0; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(220px, .65fr); padding-top: 112px; }
  .hero-product { min-height: 490px; }
  .hero-product img { height: 450px; }
  .hero-order-card { grid-column: 1 / -1; width: min(100%, 540px); justify-self: end; }
  .ingredient-grid, .order-grid { gap: 44px; }
  .order-grid { grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr); }
}

@media (max-width: 700px) {
  .shell { width: min(var(--shell), calc(100% - 32px)); }
  .header-inner { min-height: 68px; }
  .header-links > a:first-child { display: none; }
  .header-order { padding: 8px 12px; font-size: 12px; }
  .hero-backdrop { background-position: 66% center; background-image: linear-gradient(180deg, rgba(20,35,28,.95) 0%, rgba(29,48,39,.8) 55%, rgba(29,48,39,.9) 100%), url('../img/mikoherb-hero.webp'); }
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; padding-top: 105px; padding-bottom: 34px; }
  .hero-copy { padding-bottom: 0; }
  h1 { font-size: clamp(39px, 12vw, 58px); }
  .hero-lead { font-size: 17px; }
  .hero-product { min-height: 380px; padding-top: 10px; }
  .hero-product img { width: 230px; height: 360px; }
  .product-badge { top: 15px; right: 18%; }
  .product-caption { bottom: 6px; }
  .hero-order-card { width: 100%; }
  .signal-grid { display: block; }
  .signal-grid > div, .signal-grid > div:first-child, .signal-grid > div:last-child { min-height: 0; padding: 15px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .signal-grid > div:last-child { border-bottom: 0; }
  .section, .order-section { padding: 76px 0; }
  .concern-grid, .ingredient-grid, .how-grid, .order-grid { grid-template-columns: 1fr; }
  .ingredient-grid, .order-grid { gap: 32px; }
  .ingredient-image img { height: 300px; }
  .ingredient-list li { display: grid; gap: 2px; }
  .ingredient-list span { text-align: left; }
  .how-grid { gap: 10px; }
  .how-grid li { min-height: 0; }
  .how-grid li > span { margin-bottom: 18px; }
  .order-card { padding: 22px; }
  .footer-inner { flex-wrap: wrap; padding: 20px 0; }
  .footer-inner .brand { width: 100%; }
  .modal-card { padding: 24px 18px; }
  .modal-actions { display: grid; grid-template-columns: 1fr; }
  .modal-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
