:root {
  color-scheme: light;
  --paper: #f6f3e9;
  --white: #fffdf7;
  --ink: #193a30;
  --body: #324940;
  --muted: #52665c;
  --line: #c8d0c2;
  --leaf: #e1e9d8;
  --rust: #a03f29;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.56; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 3px solid #b65131;
  outline-offset: 4px;
}
img { max-width: 100%; display: block; }
.wrap { width: min(1160px, 100% - 72px); margin-inline: auto; }
.skip { position: fixed; z-index: 10; top: .5rem; left: .5rem; padding: .7rem; background: white; transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.top { border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-size: 1.05rem; font-weight: 900; letter-spacing: .12em; line-height: 1.15; }
.brand small { display: block; font-size: .62rem; letter-spacing: .16em; color: var(--muted); }
.nav { display: flex; gap: clamp(.85rem, 3vw, 2.4rem); align-items: center; font-size: .91rem; font-weight: 650; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; }
.languages { position: relative; }
.languages summary { cursor: pointer; border: 1px solid var(--line); padding: .5rem .85rem; border-radius: 8px; font-weight: 650; font-size: .9rem; }
.language-menu { position: absolute; z-index: 2; right: 0; top: calc(100% + .35rem); width: 11rem; padding: .35rem; background: var(--white); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 12px 32px #193a301a; }
.language-menu a { display: block; padding: .4rem .65rem; text-decoration: none; border-radius: 5px; }
.language-menu a:hover, .language-menu a[aria-current] { background: var(--leaf); }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.75rem, 5vw, 5rem); padding-block: clamp(2.4rem, 6vw, 5.5rem); }
.eyebrow { display: flex; align-items: center; gap: .55rem; margin: 0 0 .85rem; color: var(--rust); font-size: .73rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.dot { width: 9px; height: 9px; background: currentColor; border-radius: 50%; }
h1, h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 600; letter-spacing: -.047em; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 5.8vw, 5.65rem); line-height: .98; }
h1 em { display: block; margin-top: .17em; font-size: .57em; font-weight: 500; color: var(--rust); letter-spacing: -.04em; }
h2 { font-size: clamp(2rem, 3.7vw, 3.65rem); line-height: 1.08; }
p { margin: 0; }
.intro { max-width: 49ch; margin-block: 1.45rem; font-size: clamp(1rem, 1.5vw, 1.14rem); color: var(--body); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 46px; padding: .72rem 1rem; border: 1px solid transparent; border-radius: 8px; font: inherit; line-height: 1.25; font-weight: 750; text-decoration: none; cursor: pointer; }
.primary { color: var(--white); background: var(--ink); }
.primary:hover { background: #2f574a; }
.quiet { background: transparent; border-color: var(--line); }
.quiet:hover, .light:hover { background: var(--leaf); }
.hero-art { margin: 0; padding: .65rem; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.hero-art img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; border-radius: 6px; background: #dbd6c5; }
figcaption { display: flex; gap: .55rem; padding: .6rem .35rem .05rem; font-size: .76rem; color: var(--muted); }
figcaption span { white-space: nowrap; color: var(--rust); font-weight: 800; letter-spacing: .08em; }
.ribbon { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .65rem 1rem; padding: .8rem 1rem; border-block: 1px solid var(--line); color: var(--muted); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.section { padding-block: clamp(2.7rem, 6vw, 5.2rem); }
.section-head { display: grid; grid-template-columns: 1.15fr 1fr; align-items: end; gap: 1rem 2.5rem; margin-bottom: 1.6rem; }
.section-head > p, .module-copy > p:not(.eyebrow) { color: var(--body); max-width: 57ch; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.category-tile { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: .35rem; min-height: 115px; padding: 1rem; background: var(--leaf); text-decoration: none; border-radius: 10px; border: 1px solid var(--line); }
.category-tile:hover { border-color: var(--ink); text-decoration: underline; }
.category-tile strong { overflow-wrap: anywhere; font-size: clamp(.95rem, 1.5vw, 1.12rem); line-height: 1.24; }
.category-1 { background: #f0e3d3; }
.category-3 { background: #e3e8ec; }
.category-10 { background: #eeded6; }
.tab-number { grid-column: 1 / -1; font-size: .76rem; color: var(--muted); font-weight: 800; letter-spacing: .1em; align-self: start; }
.category-menu { margin-top: .8rem; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.category-menu summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; padding: .85rem 1rem; font-weight: 800; list-style: none; }
.category-menu summary::-webkit-details-marker { display: none; }
.menu-count { display: inline-flex; gap: .55rem; align-items: center; color: var(--muted); }
.menu-count b { font-size: 1.15rem; line-height: 1; }
.category-menu[open] b { transform: rotate(45deg); }
.category-menu ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 1px 0 0; list-style: none; background: var(--line); }
.category-menu a { display: flex; justify-content: space-between; gap: .45rem; min-height: 44px; height: 100%; align-items: center; padding: .65rem .8rem; background: var(--white); text-decoration: none; }
.category-menu a:hover { background: var(--leaf); text-decoration: underline; }
.note { color: var(--muted); font-size: .85rem; margin-top: 1rem; }
.paper { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.5rem 3.2rem; align-items: start; padding: clamp(1.3rem, 4vw, 3.15rem); border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.paper + .paper { margin-top: 1rem; }
.module-copy > p:not(.eyebrow) { margin-top: 1rem; }
.checklist { min-width: 0; margin: 0; padding: .35rem 1rem .8rem; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.checklist legend { padding-inline: .4rem; font-weight: 800; }
.checklist label { display: flex; gap: .7rem; align-items: start; padding-block: .65rem; cursor: pointer; }
.checklist label + label { border-top: 1px solid var(--line); }
.checklist input { width: 1.05rem; height: 1.05rem; flex: 0 0 auto; margin-top: .23rem; accent-color: var(--ink); }
.shipping { background: #e8ecdf; }
.formula { width: fit-content; padding: .5rem .75rem; border: 1px solid #aebfab; border-radius: 6px; font: 700 .92rem ui-monospace, monospace; }
.calculator { display: grid; gap: .7rem; padding: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.calculator label { display: grid; align-content: space-between; gap: .23rem; min-width: 0; font-size: .84rem; font-weight: 650; }
.calculator input { width: 100%; min-height: 43px; padding: .5rem; border: 1px solid #9fab9d; border-radius: 6px; color: var(--ink); background: #fff; font: inherit; font-size: 1rem; }
.result { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .65rem; border-top: 1px solid var(--line); font-size: .86rem; }
.result output { font-weight: 850; font-size: 1.14rem; white-space: nowrap; }
.questions { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1.3rem 3rem; }
.questions details { border-top: 1px solid var(--line); padding: .75rem 0; }
.questions details:last-child { border-bottom: 1px solid var(--line); }
.questions summary { cursor: pointer; font-weight: 750; }
.questions details p { padding-top: .6rem; color: var(--body); }
.endcap { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; background: var(--ink); color: var(--white); padding: clamp(1.3rem, 3.8vw, 3.1rem); border-radius: 12px; }
.endcap .eyebrow { color: #f2b793; }
.light { background: var(--white); color: var(--ink); flex: 0 0 auto; }
.footer { display: flex; justify-content: space-between; gap: .65rem 2rem; padding-block: 1.5rem 2rem; font-size: .83rem; color: var(--muted); }
.footer p { max-width: 75ch; }
.footer a { flex: 0 0 auto; }
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .bar { min-height: 66px; flex-wrap: wrap; padding-block: .7rem; }
  .nav { order: 3; width: 100%; justify-content: space-between; border-top: 1px solid var(--line); padding-top: .55rem; }
  .hero, .section-head, .paper, .questions { grid-template-columns: 1fr; }
  .hero { padding-block: 2.3rem; }
  .category-grid, .category-menu ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .endcap, .footer { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 24px); }
  .category-menu ul { grid-template-columns: 1fr; }
  h1 { font-size: 2.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
}
