@font-face {
  font-family: Manrope;
  src: url("assets/manrope-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f9faff;
  --surface: #fff;
  --wash: #edf0ff;
  --ink: #171d3d;
  --muted: #4e5575;
  --blue: #263dbb;
  --navy: #111f69;
  --yellow: #f6df61;
  --lemon-wash: #fff6cb;
  --rule: #d3daf5;
  --edge: #8d99ce;
  --focus: #795411;
  --sans: Manrope, "Trebuchet MS", Arial, sans-serif;
  --mono: "Cascadia Mono", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.58 var(--sans); }
figure, h1, h2, h3, p, dl, dd { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.25em; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
section[id] { scroll-margin-top: 1rem; }
.wrap { width: min(100% - 5rem, 74rem); margin-inline: auto; }
.block-space { padding-block: clamp(3.25rem, 7.5vw, 6.7rem); }
.skip-link { position: fixed; z-index: 4; top: 0.6rem; left: 0.6rem; transform: translateY(-200%); padding: 0.65rem 0.95rem; background: var(--surface); }
.skip-link:focus { transform: none; }

h2 { color: var(--navy); font-size: clamp(2.2rem, 4.65vw, 4.6rem); font-weight: 800; line-height: 1.01; letter-spacing: -0.07em; text-wrap: balance; }
h3 { font-size: 1.1rem; font-weight: 800; line-height: 1.24; letter-spacing: -0.025em; }
.eyebrow { color: var(--blue); font: 600 0.875rem/1.3 var(--mono); letter-spacing: 0.075em; text-transform: uppercase; }

.site-header { background: var(--surface); }
.header-row { display: flex; min-height: 4.55rem; align-items: center; justify-content: space-between; gap: 1rem; }
.wordmark { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--navy); font-size: clamp(1rem, 2vw, 1.23rem); font-weight: 800; letter-spacing: -0.05em; text-decoration: none; white-space: nowrap; }
.leaf-mark { position: relative; display: block; width: 1.85rem; height: 1.85rem; flex: 0 0 auto; border-radius: 0.5rem; background: var(--blue); }
.leaf-mark::after { position: absolute; inset: 20% 33%; transform: rotate(38deg); border-radius: 100% 0; background: var(--yellow); content: ""; }
.header-actions { display: flex; align-items: center; gap: clamp(0.65rem, 3.1vw, 2rem); }
.phone-link { font-weight: 800; font-variant-numeric: tabular-nums; text-decoration: none; white-space: nowrap; }
.phone-link:hover { text-decoration: underline; }
.header-phone { color: var(--navy); font-size: 0.95rem; }
.site-menu { background: var(--blue); color: var(--surface); }
.site-menu :focus-visible { outline-color: var(--yellow); outline-offset: -4px; }
.menu-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.menu-row a { display: grid; min-height: 3.05rem; place-items: center; padding: 0.55rem 0.7rem; border-inline-start: 1px solid #5366cf; font-size: 0.93rem; font-weight: 750; line-height: 1.25; text-align: center; text-decoration: none; }
.menu-row a:last-child { border-inline-end: 1px solid #5366cf; }
.menu-row a:hover { background: #394fd1; }

.button { display: inline-flex; min-height: 3.1rem; align-items: center; justify-content: center; padding: 0.65rem 1.35rem; border: 1px solid transparent; border-radius: 100vmax; font: 800 0.94rem/1.22 var(--sans); text-align: center; text-decoration: none; transition: background-color 160ms, color 160ms, border-color 160ms; }
.button-primary { background: var(--blue); color: var(--surface); }
.button-primary:hover:not(:disabled) { background: var(--navy); }
.button-primary:disabled { opacity: 0.54; }
.button-outline { min-height: 2.7rem; border-color: var(--edge); color: var(--blue); }
.button-outline:hover { background: var(--wash); }
.header-cta { border-color: transparent; background: var(--yellow); color: var(--navy); }
.header-cta:hover { background: #ffe986; }

.hero { background: var(--wash); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.91fr) minmax(0, 1.09fr); align-items: center; gap: clamp(1.45rem, 6vw, 5.2rem); padding-block: clamp(2.6rem, 6.7vw, 5.6rem); }
.hero-image { width: 100%; overflow: hidden; border-radius: 50%; outline: 1px solid #c5cbf1; outline-offset: clamp(0.35rem, 0.7vw, 0.6rem); background: #d6deff; aspect-ratio: 1; }
.hero-image img, .cooking-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image img { object-position: 51% center; }
.hero-copy { min-width: 0; }
.hero h1 { margin-top: 0.8rem; color: var(--navy); font-size: clamp(4.05rem, 8.15vw, 7.8rem); font-weight: 800; line-height: 0.85; letter-spacing: -0.097em; }
.hero h1 span { display: block; color: var(--blue); }
.hero-description { max-width: 31ch; margin-top: 1.35rem; color: var(--muted); font-size: clamp(1.04rem, 1.7vw, 1.24rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem 1.2rem; margin-top: 1.45rem; }
.hero-price { color: var(--muted); white-space: nowrap; }
.hero-price strong { color: var(--navy); font: 700 1.08rem/1.2 var(--mono); }

.section-header { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 0.6rem 1.2rem; margin-bottom: clamp(1rem, 2.5vw, 1.55rem); }
.section-header p { color: var(--muted); }
.pack-grid { display: grid; grid-template-columns: minmax(0, 0.91fr) minmax(0, 1.09fr); gap: 0.75rem; }
.pack-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: center; gap: 0.6rem; min-width: 0; padding: clamp(0.9rem, 2.5vw, 1.6rem); border: 1px solid var(--rule); border-radius: 1rem; background: var(--surface); text-decoration: none; transition: background-color 160ms, border-color 160ms; }
.pack-card > strong { color: var(--navy); font-size: clamp(2.35rem, 4.7vw, 4.15rem); font-weight: 800; line-height: 0.95; letter-spacing: -0.11em; white-space: nowrap; }
.pack-card small { margin-left: 0.12em; font-size: 0.46em; font-weight: 750; letter-spacing: -0.045em; }
.pack-price { color: var(--navy); font: 700 clamp(0.9rem, 1.7vw, 1.17rem)/1.2 var(--mono); white-space: nowrap; }
.pack-action { justify-self: end; padding: 0.44rem 0.66rem; border-radius: 100vmax; background: var(--wash); color: var(--blue); font-size: 0.875rem; font-weight: 800; white-space: nowrap; }
.pack-card:hover { border-color: var(--edge); background: var(--wash); }
.pack-card:first-child { grid-row: span 2; grid-template-columns: minmax(0, 1fr) auto; align-items: end; row-gap: 1rem; padding: clamp(1.1rem, 3vw, 2rem); border-color: var(--blue); background: var(--blue); }
.pack-card:first-child:hover { background: var(--navy); }
.pack-card:first-child > strong { grid-column: 1 / -1; color: var(--surface); font-size: clamp(4rem, 7.5vw, 6.8rem); }
.pack-card:first-child .pack-price { align-self: center; color: var(--surface); }
.pack-card:first-child .pack-action { background: var(--yellow); color: var(--navy); }

.about { background: var(--wash); }
.about .wrap { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); align-items: start; gap: 0.9rem clamp(1.3rem, 5vw, 4.45rem); }
.about h2 { grid-column: 1; }
.benefit-list { grid-column: 1; }
.benefit-list > div { padding: 0.75rem 0; border-top: 1px solid var(--rule); }
.benefit-list dt, .cooking-list dt, .health-grid dt { font-weight: 800; }
.benefit-list dd, .health-guide dd, .health-intro, .faq-list p { color: var(--muted); }
.benefit-list dd, .cooking-list dd { margin-top: 0.2rem; }
.health-guide { grid-column: 2; grid-row: 1 / 3; padding-inline: clamp(0.95rem, 2.6vw, 1.7rem); border: 1px solid var(--rule); border-radius: 1rem; background: var(--surface); }
.health-guide details + details, .faq-list details + details { border-top: 1px solid var(--rule); }
.health-grid { display: grid; gap: 0.75rem; padding-bottom: 0.9rem; }
.health-grid dt { margin-bottom: 0.15rem; }
.health-intro, .faq-list p { padding-bottom: 0.9rem; }
summary { display: flex; min-height: 3.65rem; align-items: center; justify-content: space-between; gap: 0.65rem; padding-block: 0.55rem; color: var(--navy); font-weight: 800; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { width: 0.82rem; height: 0.82rem; flex: 0 0 auto; background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat; content: ""; }
details[open] > summary::after { background-size: 100% 1.5px, 0 0; }

.cooking { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); }
.cooking-body { padding: clamp(1.2rem, 4.7vw, 4rem); border-radius: 1.15rem 0 0 1.15rem; background: var(--navy); color: var(--surface); }
.cooking h2 { color: var(--yellow); }
.cooking-list { margin-top: clamp(0.8rem, 2.3vw, 1.35rem); }
.cooking-list > div { padding-block: 0.64rem; border-top: 1px solid #475499; }
.cooking-list dd { color: #e3e7ff; }
.cooking-image { min-width: 0; min-height: 0; overflow: hidden; border-radius: 0 1.15rem 1.15rem 0; background: #60523a; }
.cooking-image img { object-position: center; }

.faq { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); align-items: start; gap: 1rem clamp(1.2rem, 4.4vw, 3.75rem); padding-bottom: clamp(3.25rem, 7vw, 6.3rem); }
.faq-list { padding-inline: clamp(0.85rem, 2.7vw, 1.65rem); border: 1px solid var(--rule); border-radius: 1rem; background: var(--surface); }

.checkout-section { padding-block: clamp(2.85rem, 7vw, 5.65rem); background: var(--blue); }
.checkout-intro { margin-bottom: clamp(1rem, 3vw, 1.8rem); }
.checkout-intro h2 { color: var(--surface); }
.checkout-intro p { margin-top: 0.55rem; color: #edf0ff; }
.order-grid { display: grid; grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr); align-items: start; gap: 0.75rem; }
.order-panel { min-width: 0; padding: clamp(1rem, 3vw, 2rem); border-radius: 1rem; background: var(--surface); }
.order-options { background: var(--lemon-wash); }
.product-preview { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.15rem; }
.product-preview img { width: 4.1rem; height: 4.1rem; flex: 0 0 auto; border: 1px solid #e8dc9c; border-radius: 0.65rem; background: #fff; object-fit: cover; }
.product-preview p { margin-top: 0.16rem; color: var(--muted); font-size: 0.91rem; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend, .field > label { display: block; margin-bottom: 0.41rem; padding: 0; font-size: 0.94rem; font-weight: 780; }
.weight-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
.weight-option { position: relative; min-width: 0; cursor: pointer; }
.weight-option input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.weight-option span { display: grid; min-height: 2.85rem; place-items: center; padding: 0.3rem; border: 1px solid #d5ca98; border-radius: 0.6rem; background: #fffdf5; color: var(--navy); font-weight: 800; }
.weight-option:hover span { border-color: var(--blue); }
.weight-option input:checked + span { border-color: var(--blue); background: var(--blue); color: var(--surface); }
.weight-option input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }
.order-fields { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.7rem; margin-top: 0.95rem; }
.field { min-width: 0; }
.field select, .checkout-fields .field input, .checkout-fields textarea, .quantity { width: 100%; min-height: 2.95rem; border: 1px solid var(--edge); border-radius: 0.56rem; background: var(--surface); color: var(--ink); }
.field select { appearance: none; padding: 0.52rem 1.8rem 0.52rem 0.65rem; background-image: linear-gradient(45deg, transparent 50%, var(--blue) 50%), linear-gradient(135deg, var(--blue) 50%, transparent 50%); background-position: right 0.95rem center, right 0.65rem center; background-repeat: no-repeat; background-size: 0.31rem 0.31rem; }
.quantity { display: flex; width: fit-content; align-items: stretch; }
.quantity button { width: 2.75rem; padding: 0; border: 0; border-radius: 0.5rem; background: transparent; color: var(--blue); font-size: 1.25rem; }
.quantity button:hover:not(:disabled) { background: var(--wash); }
.quantity button:disabled { opacity: 0.4; }
.quantity input { appearance: textfield; width: 2.72rem; min-width: 0; padding: 0; border: 0; background: transparent; color: var(--ink); text-align: center; }
.quantity input::-webkit-outer-spin-button, .quantity input::-webkit-inner-spin-button { appearance: none; margin: 0; }
.checkout-fields legend { margin-bottom: 0.7rem; color: var(--navy); font-size: 1.23rem; font-weight: 800; letter-spacing: -0.045em; }
.checkout-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
.checkout-fields .field input, .checkout-fields textarea { display: block; padding: 0.52rem 0.65rem; }
.checkout-fields .field input[aria-invalid="true"] { border-color: #9c3139; }
.checkout-fields textarea { resize: vertical; }
.extra-fields { margin-top: 0.4rem; }
.extra-fields summary { min-height: 2.75rem; color: var(--blue); font-size: 0.92rem; }
.optional-fields { display: grid; gap: 0.55rem; padding-block: 0.25rem 0.65rem; }
.order-summary { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 0.45rem 0.8rem; margin-top: 1rem; padding-top: 0.85rem; border-top: 1px solid #dbcf95; }
#selection { font-size: 0.94rem; font-weight: 800; }
#selected-package, .order-total span { color: var(--muted); font-size: 0.875rem; }
.order-total { display: grid; text-align: right; }
.order-total output { color: var(--navy); font: 700 clamp(1.25rem, 2.5vw, 1.85rem)/1.16 var(--mono); overflow-wrap: anywhere; }
.submit-button { width: 100%; margin-top: 0.65rem; }
.field-error, .form-status { margin-top: 0.4rem; color: #9c3139; font-size: 0.875rem; font-weight: 725; }
.form-status:empty { margin: 0; }
.notice { margin-bottom: 0.75rem; padding: 0.65rem; border-radius: 0.56rem; background: var(--surface); }

.site-footer { padding-block: clamp(1.85rem, 5.5vw, 4rem); background: var(--navy); color: var(--surface); }
.footer-row { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr) auto; align-items: center; gap: 0.85rem clamp(1rem, 3.5vw, 2.7rem); }
.site-footer h2 { color: var(--surface); font-size: clamp(1.75rem, 4.5vw, 3rem); }
.footer-phone { display: inline-block; margin-top: 0.35rem; color: var(--surface); font-size: clamp(1.06rem, 2.1vw, 1.42rem); }
.footer-contacts { max-width: 44ch; color: #e3e7ff; font-style: normal; }
.footer-hours { margin-top: 0.3rem; color: #e3e7ff; font-weight: 800; }
.footer-row > .button { justify-self: start; border-color: #a6b1f5; color: var(--surface); }
.site-footer .button-outline:hover { background: #24358c; }
.site-footer :focus-visible { outline-color: #e3e7ff; }

.receipt-page { display: grid; min-height: 100vh; place-items: center; padding: 1rem; background: var(--wash); }
.receipt { width: min(100%, 38rem); padding: clamp(1.35rem, 5vw, 3.5rem); border: 1px solid var(--rule); border-radius: 1rem; background: var(--surface); }
.receipt h1 { color: var(--navy); font-size: clamp(2.55rem, 6.6vw, 4.45rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.075em; }
.receipt p { margin-top: 0.7rem; color: var(--muted); }
.receipt .eyebrow { margin: 0 0 0.85rem; color: var(--blue); }
.receipt .button { margin-top: 1.35rem; }

@media (max-width: 56rem) {
  .wrap { width: min(100% - 3rem, 74rem); }
  .hero-grid { gap: clamp(1.25rem, 4.5vw, 2.6rem); }
  .pack-card { gap: 0.36rem; }
  .pack-action { padding-inline: 0.45rem; }
  .footer-row { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
}

@media (max-width: 43rem) {
  .wrap { width: min(100% - 2rem, 74rem); }
  .header-row { min-height: 4rem; }
  .hero-grid, .cooking, .about .wrap, .faq, .order-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 1.65rem; padding-block: 1.85rem 2.5rem; }
  .hero-copy { grid-row: 1; }
  .hero h1 { margin-top: 0.55rem; font-size: clamp(2.8rem, 10.1vw, 4.65rem); line-height: 0.93; }
  .hero h1 span { display: inline; }
  .hero-description { margin-top: 0.85rem; }
  .hero-actions { margin-top: 0.95rem; }
  .hero-image { width: min(100% - 1rem, 23rem); justify-self: center; aspect-ratio: 1.12; }
  .pack-grid { grid-template-columns: minmax(0, 1fr); gap: 0.55rem; }
  .pack-card:first-child { grid-row: auto; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; padding: clamp(0.9rem, 2.5vw, 1.6rem); }
  .pack-card:first-child > strong { grid-column: auto; font-size: clamp(2.35rem, 6.5vw, 3.1rem); }
  .health-guide { grid-column: 1; grid-row: auto; }
  .cooking-body { border-radius: 1rem 1rem 0 0; }
  .cooking-image { border-radius: 0 0 1rem 1rem; aspect-ratio: 1.58; }
}

@media (max-width: 31rem) {
  .menu-row { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu-row a { min-height: 2.7rem; border: 0; border-block-end: 1px solid #5366cf; }
  .menu-row a:nth-child(even) { border-inline-start: 1px solid #5366cf; }
  .menu-row a:last-child { border-inline-end: 0; }
  .header-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.15rem 0.65rem; padding-block: 0.55rem; }
  .header-actions { display: contents; }
  .header-phone { grid-area: 2 / 1; }
  .header-cta { grid-area: 1 / 2 / span 2 / 3; align-self: center; }
  .footer-row { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 25rem) {
  .button { padding-inline: 0.9rem; }
  .pack-card { padding-inline: 0.72rem; }
  .pack-card:first-child { padding-inline: 0.72rem; }
  .order-fields, .checkout-grid { grid-template-columns: minmax(0, 1fr); }
  .order-total { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .pack-card { transition: none; }
}
