:root {
  color-scheme: dark;
  --bg: #171819;
  --surface: #222321;
  --section: #1b1c1e;
  --border: #3b3a35;
  --text: #f4efe5;
  --muted: #bbb7af;
  --gold: #e6b873;
  --ink: #20170b;
  --paper: #eee6d5;
  --paper-ink: #262017;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; line-height: 1.6; }
main { flex: 1; }
a { color: var(--gold); }
a:hover { color: var(--text); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.skip { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 8px 15px; background: var(--surface); transform: translateY(-200%); }
.skip:focus { transform: none; }
.wrap { width: min(74rem, calc(100% - 72px)); margin-inline: auto; }
.masthead { border-bottom: 1px solid var(--border); background: #191a1b; }
.mast { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; gap: 7px; align-items: center; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.32rem; letter-spacing: -.02em; white-space: nowrap; }
.mast nav { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 34px); }
.mast nav a { position: relative; padding: 20px 0; text-decoration: none; color: var(--muted); font-size: .94rem; }
.mast nav a:hover, .mast nav a[aria-current] { color: var(--text); }
.mast nav a[aria-current]::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--gold); }
.mast nav a:last-child { padding: 7px 14px; border: 1px solid #756044; border-radius: 5px; color: var(--gold); }
.mast nav a:last-child[aria-current]::after { content: none; }
.mast nav a:last-child:hover, .mast nav a:last-child[aria-current] { background: var(--gold); color: var(--ink); }
h1, h2, h3, p { margin-block-start: 0; }
h1 { margin-block-end: 18px; font-size: clamp(2.7rem, 5.2vw, 4.85rem); line-height: 1.02; letter-spacing: -.055em; font-weight: 700; text-wrap: balance; }
h2 { margin-block-end: 12px; font-size: clamp(1.45rem, 2.8vw, 2.12rem); line-height: 1.15; letter-spacing: -.036em; text-wrap: balance; }
h3 { margin-block-end: 6px; font-size: 1.2rem; line-height: 1.2; }
p { margin-block-end: 0.8em; }
.hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(25px, 5.2vw, 76px); align-items: center; padding-block: clamp(45px, 6.2vw, 84px) 51px; }
.hero h1 { text-wrap: initial; }
.hero h1 em { color: var(--gold); font-style: normal; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 19px; color: var(--gold); font-size: .92rem; font-weight: 600; letter-spacing: .025em; }
.lead { color: var(--muted); font-size: clamp(1.07rem, 1.9vw, 1.24rem); max-width: 43rem; line-height: 1.57; }
.hero .lead { max-width: 29rem; margin-bottom: 25px; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; }
.button { border: 1px solid transparent; border-radius: 7px; padding: 10px 16px; display: inline-flex; justify-content: center; align-items: center; gap: 5px; font-weight: 650; text-decoration: none; color: var(--text); line-height: 1.45; min-height: 44px; }
.primary { background: var(--gold); color: var(--ink); }
.primary:hover { background: #f1c883; color: var(--ink); }
.secondary { border-color: var(--border); background: var(--surface); }
.secondary:hover { border-color: #a2885d; color: var(--text); }
.plain { background: transparent; }
.plain:hover { background: var(--surface); }
.product-image { margin: 0; }
.product-image figcaption { margin-top: 10px; color: var(--muted); font-size: .9rem; }
.inventory-preview { padding: clamp(14px, 3.2vw, 26px); background: var(--section); border: 1px solid #66583e; border-radius: 8px; box-shadow: 0 17px 45px #0005; }
.inventory-preview-header { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 5px 14px; }
.inventory-preview-header strong { font-size: 1.3rem; }
.inventory-preview-header span { color: var(--gold); font-size: .93rem; }
.inventory-preview-slots { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; max-width: 17rem; margin-block: 16px; }
.inventory-preview-slots span { aspect-ratio: 1; border: 1px solid var(--border); border-radius: 3px; background: var(--bg); }
.inventory-preview-slots .filled { background: #574631; border-color: #8b704c; }
.inventory-preview table { width: 100%; border-collapse: collapse; text-align: left; font-size: .95rem; }
.inventory-preview caption { text-align: left; font-weight: 650; margin-bottom: 4px; }
.inventory-preview :is(th, td) { padding: 6px .38rem; border-bottom: 1px solid var(--border); }
.inventory-preview th { color: var(--muted); font-size: .88rem; }
.text-link { text-underline-offset: .23em; }
.hero .text-link { margin-inline-start: .5rem; }
.farm-band { background: var(--paper); color: var(--paper-ink); }
.farm-split { display: grid; grid-template-columns: 1fr 1.18fr; align-items: center; gap: clamp(28px, 7vw, 104px); padding-block: clamp(38px, 6vw, 72px); }
.farm-split h2 { font-family: Georgia, serif; text-wrap: initial; font-weight: 500; font-size: clamp(1.9rem, 4vw, 3.12rem); letter-spacing: -.048em; }
.farm-split p { color: #51473b; }
.farm-split a { color: #644215; font-weight: 650; }
.farm-split a:hover { color: var(--paper-ink); }
.farm-split :focus-visible { outline-color: #644215; }
.example-report { min-width: 0; margin: 0; padding: 13px 18px; border: 1px solid #c5b79e; border-radius: 5px; background: #f7f0e2; }
.example-report table { width: 100%; border-collapse: collapse; text-align: left; }
.example-report :is(caption, th, td) { padding: 8px .38rem; }
.example-report caption { text-align: left; font-weight: 700; font-size: 1.04rem; }
.example-report th { color: #674f32; font-size: .84rem; }
.example-report tbody tr { border-top: 1px solid #d9cdb6; }
.example-report :is(th, td):last-child { text-align: right; font-variant-numeric: tabular-nums; }
.quick-start { padding-block: 62px 49px; }
.quick-start ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 25px 0 0; padding: 0; list-style-position: inside; }
.quick-start li { padding-top: 10px; border-top: 1px solid #806344; }
.quick-start li::marker { color: var(--gold); font-weight: 700; }
.quick-start p { color: var(--muted); margin: 4px 0 0; }
kbd { border: 1px solid #666054; padding: 1px 5px; border-radius: 4px; font-family: inherit; }
.section-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 18px; }
.home-blog { padding: 31px 0 40px; border-top: 1px solid var(--border); }
.article-list { list-style: none; margin: 0; padding: 0; }
.home-blog .article-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article-list li { padding: 14px 0 3px; border-top: 1px solid var(--border); }
.article-list h3 { font-size: 1.28rem; }
.article-list h3 a { color: var(--text); text-underline-offset: .22em; text-decoration-color: #8c714c; }
.article-list h3 a:hover { color: var(--gold); }
.article-list p { color: var(--muted); font-size: .96rem; }
.article-list .article-topic { color: var(--gold); margin-bottom: .4rem; font-size: .85rem; }
.home-packages { border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 27px 45px; align-items: center; }
.home-packages h2 { margin-bottom: 5px; }
.home-packages p, .subsection p { max-width: 56rem; color: var(--muted); margin-bottom: 0; }
.footer { border-top: 1px solid var(--border); background: #1b1c1e; }
.footer-body { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding-block: 24px; }
.footer-body p { color: var(--muted); margin: 3px 0 0; font-size: .92rem; }
.footer nav { display: flex; max-width: 42rem; flex-wrap: wrap; gap: 7px 20px; padding-top: 9px; }
.footer nav a, .footer nav button { color: var(--muted); text-decoration: none; font-size: .92rem; }
.footer nav button { padding: 0; border: 0; background: transparent; }
.footer nav a:hover, .footer nav button:hover { color: var(--text); text-decoration: underline; }
.page-head { padding-block: clamp(48px, 6vw, 82px) 30px; }
.page-head h1 { font-size: clamp(2.6rem, 5.7vw, 4.55rem); text-wrap: initial; }
.page-head .lead { margin-bottom: 0; }
.page-block { padding-bottom: 62px; }
.download-grid { display: grid; grid-template-columns: 1.06fr 1fr; gap: 15px; align-items: start; }
.surface { padding: 25px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }
.surface h2 { font-size: 1.42rem; }
.download-panel .button { margin-top: 12px; }
.download-panel [data-download-unavailable]:disabled { cursor: default; }
.download-panel [data-release-state], .download-panel [data-release-meta] { margin: 11px 0 0; }
.download-panel [data-checksum] { margin-top: 12px; overflow-wrap: anywhere; }
.download-history { padding-top: 36px; }
.download-history h3 { font-size: 1.2rem; }
.package-layout { max-width: 64rem; margin-inline: max(calc((100% - 74rem)/2), 36px) auto; }
.duration-picker { display: none; border: 0; padding: 0; margin: 0 0 20px; min-inline-size: 0; }
.duration-picker legend { padding: 0; margin-bottom: 8px; font-size: .92rem; font-weight: 600; }
.duration-choices { width: fit-content; max-width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; border: 1px solid var(--border); border-radius: 8px; padding: 4px; background: #1c1d1d; }
.duration-choices label { min-height: 42px; display: grid; place-items: center; padding: 4px clamp(8px, 2vw, 23px); border-radius: 4px; cursor: pointer; color: var(--muted); white-space: nowrap; }
.duration-choices label:hover { color: var(--text); background: #302e2a; }
.duration-choices input:checked + label { color: var(--ink); background: var(--gold); font-weight: 650; }
.duration-choices input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 3px; }
.package-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.package-card { display: flex; flex-direction: column; gap: 17px; padding: clamp(18px, 3.1vw, 32px); border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.package-card.package-party { background: #27251f; border-color: #6a573b; }
.package-card header h2 { margin-bottom: 4px; }
.package-card header p, .offer-price span { margin-bottom: 0; color: var(--muted); }
.package-offer { display: flex; flex: 1; flex-direction: column; font-variant-numeric: tabular-nums; }
.package-offer + .package-offer { padding-top: 16px; border-top: 1px solid var(--border); }
.offer-copy { margin-bottom: 18px; }
.offer-price { margin: 0 0 3px; line-height: 1.16; }
.offer-price strong { font-size: clamp(2.15rem, 5vw, 3.2rem); letter-spacing: -.045em; white-space: nowrap; }
.offer-price span { font-size: .94rem; white-space: nowrap; }
.offer-unit { color: var(--muted); font-size: .92rem; margin: 4px 0 0; }
.offer-breakdown { margin: 13px 0 0; padding-top: 10px; border-top: 1px solid var(--border); }
.offer-breakdown div { display: flex; justify-content: space-between; gap: 12px; padding-block: 3px; font-size: .94rem; }
.offer-breakdown dt { color: var(--muted); }
.offer-breakdown dd { margin: 0; text-align: right; white-space: nowrap; }
.offer-breakdown .offer-saving :is(dt, dd) { color: var(--gold); font-weight: 650; }
.package-buy { width: 100%; margin-top: auto; }
.package-buy:disabled { cursor: default; border-color: #5d5140; background: #302b23; color: #d2c4ae; }
.package-note { color: var(--muted); font-size: .91rem; margin: 9px 0 0; }
#package-sales-state { margin-top: 14px; }
.package-faq { max-width: 47rem; margin-top: 38px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@supports selector(:has(*)) {
  .duration-picker { display: block; }
  .package-offer { display: none; }
  .package-offer + .package-offer { border: 0; padding: 0; }
  .package-options:has(#duration-7g:checked) [data-term="7g"],
  .package-options:has(#duration-15g:checked) [data-term="15g"],
  .package-options:has(#duration-1a:checked) [data-term="1a"],
  .package-options:has(#duration-6a:checked) [data-term="6a"] { display: flex; }
}
.guide-layout { display: grid; grid-template-columns: minmax(155px, .75fr) minmax(0, 2fr); gap: clamp(24px, 5vw, 65px); }
.on-page { position: sticky; top: 18px; display: grid; align-self: start; padding: 8px 15px; border-left: 1px solid var(--border); }
.on-page a { padding-block: 5px; text-underline-offset: .23em; }
.guide-content { max-width: 47rem; }
.guide-content section { scroll-margin-top: 20px; border-top: 1px solid var(--border); margin-bottom: 26px; padding-top: 18px; }
.guide-content p { color: var(--muted); }
.guide-content .guide-note { margin-top: 12px; }
.blog-index .article-list { max-width: 48rem; }
.blog-index .article-list li { padding-block: 20px 13px; }
.blog-index .article-list h3 { font-size: clamp(1.22rem, 2.8vw, 1.65rem); }
.back-link { display: inline-block; margin-top: 28px; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.blog-back + .page-head { padding-top: 22px; }
.blog-article { max-width: 72ch; line-height: 1.72; }
.article-source { padding-top: 7px; font-size: .93rem; }
.related { border-top: 1px solid var(--border); margin-top: 32px; padding-top: 16px; }
.related ul { padding-left: 1.25rem; margin: 0; }
.contact-panel p { max-width: 65ch; }
.subsection { max-width: 55rem; margin-top: 28px; }
.faq { max-width: 60rem; margin-inline: max(calc((100% - 74rem)/2), 36px) auto; }
details { border: 1px solid var(--border); border-radius: 8px; padding: 11px 14px; margin-bottom: 9px; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 8px 0 0; max-width: 50rem; }
.list { margin: 0; padding-inline-start: 1.3rem; color: var(--muted); }
.list li + li { margin-top: 7px; }
.history { display: grid; gap: 13px; }
.history .surface { max-width: 56rem; }
.document { max-width: 66ch; padding-bottom: 60px; margin-inline: max(calc((100% - 74rem)/2), 36px) auto; }
.document h2 { font-size: 1.4rem; }
.prose { margin-bottom: 25px; }
.document p, .muted { color: var(--muted); }
.missing { padding-block: 74px 115px; }
.missing .lead { margin-bottom: 23px; }
code { overflow-wrap: anywhere; color: var(--text); }
.cookie-record { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 16px; padding: 15px 18px; margin: 0 0 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; }
.cookie-record dt { font-weight: 650; }
.cookie-record dd { margin: 0; color: var(--muted); }
.cookie-banner { position: fixed; z-index: 3; inset-inline: 0; bottom: max(16px, env(safe-area-inset-bottom)); width: min(59rem, calc(100% - 30px)); margin-inline: auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 16px 20px; border: 1px solid #6b5b44; border-radius: 8px; background: var(--section); box-shadow: 0 8px 26px #0009; }
.cookie-banner h2 { font-size: 1.1rem; margin: 0 0 4px; }
.cookie-banner p { margin: 0; color: var(--muted); }
dialog { width: min(35rem, calc(100% - 32px)); border: 1px solid #5e5546; border-radius: 12px; padding: 24px; background: var(--section); color: var(--text); box-shadow: 0 14px 60px #0009; }
dialog::backdrop { background: #000a; }
dialog h2 { font-size: 1.55rem; }
dialog .text-link { display: inline-block; margin-top: 12px; }
dialog form { margin: 0; }
@media (max-width: 850px) {
  .wrap { width: calc(100% - 42px); }
  .hero { grid-template-columns: 1fr; gap: 30px; padding-block: 44px; }
  .product-image { max-width: 42rem; }
  .faq, .document, .package-layout { margin-inline: 21px auto; }
  .mast { gap: 12px; }
  .mast nav { gap: 13px; }
}
@media (max-width: 700px) {
  .mast { min-height: 64px; flex-wrap: wrap; gap: 0; }
  .mast .brand { margin-top: 9px; }
  .mast nav { flex-wrap: wrap; width: 100%; column-gap: 16px; row-gap: 0; padding-block: 3px; }
  .mast nav a { padding-block: 10px; }
  .mast nav a:last-child { padding: 3px 9px; margin-block: 6px; }
  .download-grid, .farm-split, .guide-layout { grid-template-columns: 1fr; }
  .quick-start ol, .home-blog .article-list { grid-template-columns: 1fr; gap: 12px; }
  .on-page { position: static; grid-template-columns: 1fr 1fr; }
  .quick-start { padding-block: 39px; }
  .surface { padding: 18px; }
  .footer-body { flex-direction: column; }
  .footer nav { padding-top: 0; }
}
@media (max-width: 400px) {
  .wrap { width: calc(100% - 30px); }
  .faq, .document, .package-layout { margin-inline: 15px auto; }
  .mast nav { column-gap: 12px; }
  .mast nav a { font-size: .88rem; }
}
@media (max-width: 590px) {
  .package-cards { grid-template-columns: 1fr; gap: 12px; }
  .duration-choices { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
