:root {
  color-scheme: light dark;
  --background: #f7f8f5;
  --surface: #ffffff;
  --text: #182b25;
  --muted: #4b6058;
  --accent: #146747;
  --accent-text: #ffffff;
  --border: #bacac1;
  --tint: #eaf3ec;
  --notice: #fff2d7;
  --focus: #a04300;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  background: var(--background);
  color: var(--text);
}
@media (prefers-color-scheme: dark) {
  :root {
    --background: #111c18;
    --surface: #1b2b24;
    --text: #edf4ef;
    --muted: #bacac1;
    --accent: #8ddbb2;
    --accent-text: #11261b;
    --border: #4e685b;
    --tint: #233e2e;
    --notice: #3e321c;
    --focus: #ffc37b;
  }
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; overflow-wrap: anywhere; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .15em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.site-header, main, .site-footer { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: 1rem; }
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 2rem; padding-block: 1.5rem; border-bottom: 1px solid var(--border); }
.brand { color: var(--text); font-size: 1.2rem; font-weight: 750; text-decoration: none; }
.brand-dot { color: var(--accent); }
nav { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
nav a { display: inline-flex; min-height: 2.75rem; align-items: center; }
nav a[aria-current="page"] { font-weight: 750; }
main { padding-block: 2rem 4rem; }
.page-heading { margin-bottom: 1.75rem; }
.eyebrow { color: var(--accent); font-size: .8rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.2; text-wrap: balance; }
h1 { max-width: 22ch; font-size: clamp(2rem, 6vw, 3.8rem); letter-spacing: -.035em; margin: .4rem 0 1.5rem; }
h2 { font-size: clamp(1.3rem, 3vw, 1.65rem); margin-top: 0; }
h3 { font-size: 1.05rem; }
p { max-width: 78ch; margin-block: .75rem; }
section { margin-block: 2.5rem; }
li + li { margin-top: .5rem; }
ul, ol { padding-inline-start: 1.4rem; }
.lead { font-size: 1.25rem; line-height: 1.5; }
.small { font-size: .875rem; color: var(--muted); }
.hero, .pricing-grid, .card-grid { display: grid; gap: 1.25rem; align-items: start; }
.hero > *, .card-grid > *, .pricing-grid > * { min-width: 0; }
.card, .sheet-preview { border: 1px solid var(--border); border-radius: 1rem; background: var(--surface); padding: 1.25rem; margin: 0; }
.card-grid { margin-block: 2.5rem; }
.card-grid .card { height: 100%; }
.card h2 { font-size: 1.3rem; }
.sheet-preview { box-shadow: 0 .6rem 2rem #0000000c; }
figcaption { font-weight: 700; }
.featured { background: var(--tint); border: 2px solid var(--accent); }
.price { font-size: 3rem; font-weight: 750; line-height: 1.2; margin-block: 1rem; }
.price span { font-size: 1rem; font-weight: 400; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-block: 1.5rem; }
.button, button { display: inline-flex; justify-content: center; align-items: center; min-height: 2.75rem; max-width: 100%; padding: .7rem 1.05rem; background: var(--accent); color: var(--accent-text); border: 1px solid var(--accent); border-radius: .5rem; font: inherit; font-weight: 650; line-height: 1.4; text-decoration: none; text-align: center; overflow-wrap: anywhere; }
.button:hover { text-decoration: underline; }
.secondary { background: transparent; color: var(--accent); }
button:disabled { background: var(--surface); color: var(--muted); border: 1px dashed var(--muted); cursor: not-allowed; }
code { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .9em; overflow-wrap: anywhere; }
pre { max-width: 100%; padding: 1rem; background: var(--tint); border: 1px solid var(--border); border-radius: .5rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.signature { font-size: 1.1rem; }
.example { margin-block: 1.5rem; padding-inline-start: 1rem; border-inline-start: 3px solid var(--accent); }
.example h3 { font-family: ui-monospace, Consolas, monospace; font-size: .9rem; font-weight: 600; }
table { border-collapse: collapse; width: 100%; table-layout: fixed; margin-block: 1rem; background: var(--surface); }
caption { text-align: start; color: var(--muted); font-size: .875rem; padding-block: .5rem; }
td, th { border-bottom: 1px solid var(--border); text-align: start; vertical-align: top; padding: .7rem .5rem; overflow-wrap: anywhere; }
thead { background: var(--tint); }
td:first-child, th:first-child { width: 30%; }
.notice { padding: 1rem 1.25rem; border-inline-start: 4px solid var(--focus); background: var(--notice); border-radius: .25rem; }
.draft strong { font-size: 1.2rem; }
.guarantees { max-width: 80ch; }
.guarantees li { padding-inline-start: .5rem; margin-block: 1.5rem; }
details { background: var(--surface); padding: 1rem; border: 1px solid var(--border); border-radius: .5rem; }
summary { cursor: pointer; font-weight: 650; min-height: 2.75rem; }
.site-footer { border-top: 1px solid var(--border); padding-block: 2rem; color: var(--muted); }
.skip-link { position: absolute; top: -8rem; left: 1rem; z-index: 1; padding: .75rem 1rem; background: var(--surface); }
.skip-link:focus { top: .5rem; }
@media (min-width: 42rem) {
  .site-header, main, .site-footer { padding-inline: 2rem; }
  main { padding-top: 3rem; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 60rem) {
  .hero { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media print {
  :root { color-scheme: light; --background: #fff; --surface: #fff; --text: #000; --muted: #333; --accent: #000; --border: #777; --tint: #fff; --notice: #fff; }
  .site-header, .site-footer, .actions, .skip-link { display: none; }
  main { max-width: none; padding: 0; }
  h1 { font-size: 2rem; }
  a { text-decoration: underline; }
}
