:root {
  color-scheme: light;
  --ink:#172e28; --green:#285142; --muted:#4c6258; --paper:#f8f9f3; --white:#fff; --line:#dbe3d7; --lime:#dbe9ab;
  font: 16px/1.55 "DM Sans", Arial, sans-serif;
  color:var(--ink); background:var(--paper);
}
*,*::before,*::after { box-sizing:border-box; }
body { margin:0; }
a { color:inherit; text-decoration:none; }
button { font:inherit; cursor:pointer; }
a:focus-visible,button:focus-visible,summary:focus-visible { outline:3px solid #558457; outline-offset:4px; }
nav a:hover, footer a:hover { text-decoration:underline; text-underline-offset:5px; }
h1,h2,h3,p { margin:0; }
h1,h2,h3 { font-family:"Instrument Serif", Georgia, serif; font-weight:400; line-height:.97; }
em { color:#386650; font-weight:400; }
.wrap { width:min(1180px, calc(100% - 64px)); margin-inline:auto; }
.top { display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:85px; border-bottom:1px solid var(--line); }
.brand { display:inline-flex; gap:9px; align-items:center; font-size:1.24rem; font-weight:700; letter-spacing:-.05em; }
nav { display:flex; align-items:center; gap:29px; font-size:.94rem; font-weight:600; }
.button { min-height:46px; display:inline-flex; justify-content:center; align-items:center; padding:10px 19px; border:1px solid transparent; border-radius:8px; font-size:.94rem; font-weight:700; transition:background-color .15s,color .15s; text-align:center; }
.button.dark { color:#fff; background:var(--ink); }
.button.dark:hover { background:#386650; }
.button.outline { border-color:#b8cabd; background:transparent; color:var(--ink); }
.button.outline:hover { background:#eaf0e4; }
.hero { display:grid; grid-template-columns:1fr 1.13fr; align-items:center; gap:50px; padding:65px 0 70px; }
.eyebrow { display:inline-flex; align-items:center; gap:9px; color:var(--green); font-size:.875rem; font-weight:700; }
.eyebrow > span { width:8px; height:8px; border-radius:50%; background:#64865a; }
.hero h1 { font-size:clamp(3.75rem,6.4vw,6.35rem); letter-spacing:-.035em; margin:19px 0 20px; }
.hero-copy > p { max-width:380px; color:var(--muted); font-size:1.13rem; margin-bottom:25px; }
.hero-notes { display:flex; flex-wrap:wrap; gap:17px; margin-top:22px; color:var(--muted); font-size:.9rem; }
.hero-notes span::before { content:"✓"; margin-right:6px; font-weight:700; color:#305c41; }
.showcase { display:grid; align-items:center; min-width:0; padding:36px; isolation:isolate; border-radius:21px; background-color:#e5eddc; background-image:linear-gradient(#91a88f32 1px,transparent 1px),linear-gradient(90deg,#91a88f32 1px,transparent 1px),radial-gradient(ellipse at 70% 20%,#f4f5d8,transparent 70%); background-size:22px 22px,22px 22px,auto; }
.catalog { background:#edf2e8; border-block:1px solid var(--line); padding:53px 0 62px; }
.section-top { display:flex; justify-content:space-between; align-items:end; gap:25px; margin-bottom:30px; }
.section-top h2,.about h2,.faq h2 { font-size:clamp(3.2rem,5.5vw,5.1rem); letter-spacing:-.025em; margin-top:10px; }
.section-top p { max-width:310px; color:var(--muted); }
.product-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.product { display:flex; flex-direction:column; gap:14px; border:1px solid #cad8c9; background:#fdfefb; padding:24px; border-radius:12px; }
.product.featured { background:var(--ink); color:#fff; border-color:var(--ink); }
.product .count { color:var(--green); font-size:.89rem; font-weight:700; }
.product.featured .count { color:#dce9a9; }
.product h3 { font-size:2.6rem; }
.product p,.product li,.price small { color:var(--muted); }
.product.featured :is(p,li,.price small) { color:#dce7df; }
.product ul { flex:1; list-style:none; padding:13px 0 0; margin:0; border-top:1px solid var(--line); }
.product.featured ul { border-color:#547266; }
.product li { padding:4px 0; font-size:.94rem; }
.product li::before { content:"✓"; font-weight:700; margin-right:8px; }
.price { display:flex; align-items:baseline; flex-wrap:wrap; gap:8px; }
.price strong { font-weight:500; font-size:2.35rem; letter-spacing:-.06em; }
.price small { font-size:.88rem; }
.product.featured .button { background:var(--lime); color:var(--ink); }
.product.featured .button:hover { background:#edf4cf; }
details { border-top:1px solid var(--line); }
summary { cursor:pointer; font-weight:700; padding:16px 0; }
details p { color:var(--muted); padding:0 0 16px; }
.about,.faq-grid { display:grid; grid-template-columns:1fr 1fr; gap:48px; padding-block:66px; }
.about-details > p { font-size:1.15rem; }
dl { margin:20px 0 0; }
dl > div { border-top:1px solid var(--line); padding:14px 0; }
dt { font-weight:700; }
dd { margin:3px 0 0; color:var(--muted); }
.faq { border-block:1px solid var(--line); background:#f1f4ed; }
footer { display:flex; justify-content:space-between; align-items:center; gap:15px 22px; flex-wrap:wrap; padding-block:25px; }
footer p { color:var(--muted); font-size:.92rem; }
dialog { width:min(500px,calc(100% - 24px)); max-height:calc(100% - 24px); padding:0; border:1px solid var(--line); border-radius:16px; color:var(--ink); background:#fff; }
dialog::backdrop { background:#12271dcc; }
.order-inner { position:relative; display:grid; gap:12px; padding:27px; }
.order-inner h2 { font-size:3rem; }
.order-inner ul { margin:0; padding-inline-start:18px; }
.order-inner .close { position:absolute; right:13px; top:12px; width:39px; height:39px; border-radius:8px; border:1px solid var(--line); color:var(--ink); background:#fff; font-size:1.3rem; }
.order-total { display:flex; align-items:center; justify-content:space-between; border-top:1px solid var(--line); padding-top:12px; }
.checkout-status { background:#edf2e8; padding:12px; border-radius:8px; color:var(--green); }
@media (max-width:920px) {
  .hero { gap:24px; }
  .showcase { padding:22px; }
  .product { padding:17px; }
}
@media (max-width:720px) {
  .wrap { width:calc(100% - 32px); }
  .top { min-height:66px; flex-wrap:wrap; padding-block:12px; gap:9px 15px; }
  nav { gap:14px; }
  .top-action { display:none; }
  .hero,.about,.faq-grid,.product-grid { grid-template-columns:1fr; }
  .hero,.about,.faq-grid { padding-block:43px; gap:27px; }
  .section-top { display:grid; gap:11px; }
  .showcase { padding:17px; }
}
@media (max-width:370px) {
  .hero h1 { font-size:3.35rem; }
}
[hidden] { display:none !important; }
.account-panel { padding:clamp(23px,4vw,42px); border:1px solid #b8cab9; border-radius:13px; background:#fdfefb; box-shadow:0 15px 34px #244b3824; }
.account-panel h2 { font-size:clamp(2.6rem,4.7vw,4.1rem); margin:9px 0 15px; }
.account-panel p { color:var(--muted); }
.account-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; }
.account-status:not(:empty) { padding-top:12px; font-size:.93rem; }
#library { margin-top:12px; border-top:1px solid var(--line); }
#library ul { padding-inline-start:20px; }
.product p { flex:1; }
#identity-form { display:grid; gap:13px; }
#identity-form label { display:block; font-weight:700; margin-bottom:4px; }
#identity-form input { width:100%; padding:9px 11px; font:inherit; color:var(--ink); border:1px solid #8ca193; border-radius:8px; }
.link-button { justify-self:start; background:none; border:0; padding:0; text-align:left; color:var(--green); text-decoration:underline; text-underline-offset:3px; font-size:.9rem; }
button:disabled { opacity:.55; cursor:wait; }
#identity-status:empty,#plan-status:empty { display:none; }
