:root {
  --hutan: #1E3A1F;      /* label green */
  --hutan-2: #2A4A27;
  --daun: #4F7334;       /* leaf */
  --emas: #C9A24A;       /* label gold */
  --kertas: #EEF0E5;     /* pale leaf-grey paper */
  --kad: #FBF8EF;        /* note card */
  --tinta: #1B2318;      /* ink */
  --tinta-2: #4A5446;
  --garis: #CDD3C1;
  --serif: "Young Serif", Georgia, serif;
  --sans: "Lexend", system-ui, sans-serif;
  --hand: "Kalam", "Comic Sans MS", cursive;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--kertas);
  color: var(--tinta);
  font: 400 1.125rem/1.65 var(--sans);   /* 18px Lexend: parents read this too */
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; margin: 0; }
h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); line-height: 1.12; }
p { margin: 0; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--emas); color: var(--hutan); padding: 10px 14px; z-index: 10; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--emas); outline-offset: 3px; border-radius: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 26px; border-radius: 999px;
  font: 600 1.0625rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background-color .15s, color .15s;
}
.btn-gold { background: var(--emas); color: var(--hutan); }
.btn-gold:hover { background: #D8B45E; }
.btn-line { border-color: rgba(251, 248, 239, .55); color: var(--kad); }
.btn-line:hover { border-color: var(--kad); }
.btn-green { background: var(--hutan); color: var(--kad); }
.btn-green:hover { background: var(--hutan-2); }

/* Header + hero share the label green */
.site-header { background: var(--hutan); color: var(--kad); }
.header-row { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.logo img { width: 150px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 1.0625rem; opacity: .9; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.header-tools { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; border: 1px solid rgba(251, 248, 239, .4); border-radius: 999px; padding: 3px; }
.lang button {
  background: none; border: 0; color: var(--kad); font: 600 .9375rem var(--sans);
  padding: 6px 12px; border-radius: 999px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--kad); color: var(--hutan); }
.cart-link { text-decoration: none; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.cart-count {
  display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px;
  border-radius: 999px; background: var(--emas); color: var(--hutan); font-size: .875rem;
}

.hero { background: var(--hutan); color: var(--kad); padding: 40px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: 1.04; max-width: 13ch; }
.hero-sub { margin-top: 24px; font-size: 1.25rem; max-width: 34ch; color: #DCE3D3; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-price { margin-top: 20px; color: #C3CDB8; font-size: 1.0625rem; }
.hero-price [data-config] { color: var(--kad); font-weight: 600; }
.hero-media { margin: 0; }
.hero-media img { border-radius: 8px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

/* Facts */
.facts { border-bottom: 1px solid var(--garis); }
.facts-list { list-style: none; padding: 34px 0; margin-block: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 28px; }
.facts-list li { display: grid; gap: 4px; padding-left: 16px; border-left: 3px solid var(--emas); }
.facts-list strong { font-size: 1.125rem; }
.facts-list span { color: var(--tinta-2); font-size: 1rem; }

/* Buy box: price and cart first, gift note optional */
.buy { padding: 96px 0; background: #fff; }
.buy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.buy-form { display: grid; gap: 10px; max-width: 480px; }
.buy-lede { color: var(--tinta-2); }
.buy-label { font-weight: 600; margin-bottom: 10px; padding: 0; }
.buy-form .box-options { margin: 18px 0 6px; grid-template-columns: 1fr 1fr; gap: 12px; }
.buy-form .box-option { padding: 16px 18px 16px 52px; }
.buy-form .box-option input { left: 18px; top: 19px; width: 20px; height: 20px; }
.gift-toggle { display: flex; align-items: center; gap: 12px; font-weight: 600; cursor: pointer; padding: 6px 0; }
.gift-toggle input { width: 22px; height: 22px; accent-color: var(--hutan); }
.gift-fields { border: 0; margin: 0; padding: 16px 18px 20px; display: grid; gap: 6px; background: var(--kertas); border-radius: 12px; }
.gift-fields label { font-weight: 600; margin-top: 8px; }
.gift-fields input, .gift-fields textarea {
  font: 400 1.0625rem/1.5 var(--sans); color: var(--tinta); width: 100%;
  background: #fff; border: 2px solid var(--garis); border-radius: 10px; padding: 11px 14px;
}
.gift-fields input:focus, .gift-fields textarea:focus { border-color: var(--daun); outline: none; box-shadow: 0 0 0 3px rgba(79, 115, 52, .25); }
.gift-fields textarea { resize: vertical; }
.hint { font-size: .9375rem; color: var(--tinta-2); }
.buy-btn { margin-top: 10px; width: 100%; }
.buy-alt { font-size: 1rem; color: var(--tinta-2); }
.toast { font-weight: 600; color: var(--daun); }

.buy-stage { position: relative; }
.buy-stage > img { border-radius: 8px; aspect-ratio: 1; object-fit: cover; width: 100%; }

.card {
  position: absolute; right: -18px; bottom: -28px; width: min(78%, 400px);
  background: var(--kad); padding: 26px 28px 30px; border-radius: 4px;
  box-shadow: 0 22px 40px -18px rgba(27, 35, 24, .45), 0 2px 6px rgba(27, 35, 24, .12);
  transform: rotate(-2.5deg);
  font-family: var(--hand); font-size: 1.5rem; line-height: 1.35; color: #24324F; /* pen blue */
  background-image: repeating-linear-gradient(to bottom, transparent 0 31px, rgba(36, 50, 79, .1) 31px 32px);
  background-position: 0 18px;
}
.card-to-label { opacity: .8; }
.card-body { margin-top: 8px; white-space: pre-wrap; overflow-wrap: anywhere; min-height: 2.7em; }
.card-from { margin-top: 12px; text-align: right; }
.card.is-updated { animation: settle .35s ease-out; }
@keyframes settle { from { transform: rotate(-1deg) translateY(-4px); } to { transform: rotate(-2.5deg); } }
@media (prefers-reduced-motion: reduce) { .card.is-updated { animation: none; } }

/* Farm */
.farm { position: relative; color: var(--kad); background: var(--hutan); }
.farm > img { width: 100%; height: min(78vh, 720px); object-fit: cover; }
.farm-text { position: absolute; inset: auto 0 0 0; padding-bottom: 56px; }
.farm-panel { background: rgba(30, 58, 31, .9); padding: 34px 36px; max-width: 560px; border-radius: 8px; }
.farm-panel p { margin-top: 16px; color: #DCE3D3; }

/* Inside the bottle */
.inside { padding: 104px 0; }
.inside-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.inside-grid > img { border-radius: 8px; }
.claim { margin: 24px 0 0; padding: 18px 22px; background: #fff; border-left: 4px solid var(--emas); border-radius: 0 8px 8px 0; }
.claim p { font-size: 1.25rem; }
.claim cite { display: block; margin-top: 6px; font-style: normal; font-size: .9375rem; color: var(--tinta-2); }
.specs { margin: 28px 0 0; }
.specs > div { display: grid; grid-template-columns: 11rem 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--garis); }
.specs > div:last-child { border-bottom: 1px solid var(--garis); }
.specs dt { color: var(--tinta-2); }
.specs dd { margin: 0; font-weight: 600; }

/* Boxes */
.lede { margin-top: 14px; color: var(--tinta-2); max-width: 52ch; }
.box-options { border: 0; padding: 0; display: grid; }
.box-option {
  position: relative; display: grid; gap: 2px; padding: 22px 24px 22px 60px; cursor: pointer;
  border: 2px solid var(--garis); border-radius: 12px; background: var(--kertas);
}
.box-option input { position: absolute; left: 22px; top: 25px; width: 22px; height: 22px; accent-color: var(--hutan); }
.box-option:has(input:checked) { border-color: var(--hutan); background: #fff; }
.box-name { font-weight: 600; font-size: 1.25rem; }
.box-detail { color: var(--tinta-2); font-size: 1rem; }
.box-price { margin-top: 4px; font-family: var(--serif); font-size: 1.4rem; }

/* Steps */
.steps { padding: 96px 0; }
.steps-list { list-style: none; counter-reset: s; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.steps-list li { counter-increment: s; font-size: 1.125rem; max-width: 30ch; }
.steps-list li::before {
  content: counter(s); display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px;
  border-radius: 50%; background: var(--hutan); color: var(--kad); font: 1.375rem var(--serif);
}

/* FAQ */
.faq { padding: 0 0 104px; }
.faq-wrap { max-width: 820px; }
.faq h2 { margin-bottom: 20px; }
.faq details { border-top: 1px solid var(--garis); }
.faq details:last-of-type { border-bottom: 1px solid var(--garis); }
.faq summary { cursor: pointer; padding: 22px 40px 22px 0; font-weight: 600; font-size: 1.1875rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font: 1.75rem var(--serif); color: var(--daun); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 24px; color: var(--tinta-2); max-width: 62ch; }

/* Footer */
.site-footer { background: var(--hutan); color: #C9D2BE; padding: 56px 0 64px; font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; }
.footer-grid img { margin-bottom: 14px; }
.footer-grid nav { display: grid; gap: 8px; align-content: start; }
.footer-grid nav a { text-decoration: none; }
.footer-grid nav a:hover { text-decoration: underline; }
.disclaimer { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(201, 210, 190, .25); font-size: .9375rem; }

/* Unconfirmed facts, visible until CONFIG is filled */
.ph { display: inline-block; width: fit-content; justify-self: start; background: #FFE58A; color: #3A2E00; padding: 0 6px; border-radius: 4px; font-weight: 600; font-family: var(--sans); font-size: .9em; }

@media (max-width: 960px) {
  .hero-grid, .buy-grid, .inside-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps-list { grid-template-columns: 1fr; gap: 28px; }
  .card { right: 12px; bottom: -24px; }
  .buy-stage { margin-bottom: 24px; }
  .buy-form { max-width: none; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .header-tools { margin-left: auto; }
  .header-row { min-height: 72px; gap: 12px; }
  .logo img { width: 118px; }
  .hero { padding: 24px 0 56px; }
  .hero-grid { gap: 28px; }
  .hero h1 { font-size: 34px; }
  .hero-sub { font-size: 1.125rem; margin-top: 14px; }
  .hero-actions { margin-top: 22px; gap: 10px; }
  .hero-price { margin-top: 14px; }
  .facts-list { grid-template-columns: 1fr; gap: 18px; }
  .buy, .inside { padding: 72px 0; }
  .steps { padding: 72px 0; }
  .card { position: relative; right: auto; bottom: auto; width: 92%; margin: -64px auto 0; }
  .farm > img { height: 62vh; }
  .farm-text { position: static; padding: 0 0 40px; margin-top: -80px; }
  .farm-panel { padding: 26px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .buy-form .box-options { grid-template-columns: 1fr; }
}
