:root {
  color-scheme: light dark;
  --ground: #f5f7f8;
  --surface: #e5ecef;
  --ink: #172a32;
  --accent: #075d57;
  --accent-ink: #ffffff;
  --hero: #d5e7e5;
  --focus: #ab370d;
  --body: 1.0625rem;
  --small: 1rem;
  --lead: clamp(1.25rem, 2vw, 1.5rem);
  --heading: clamp(1.8rem, 4vw, 3rem);
  --display: clamp(3.3rem, 10vw, 9rem);
  --gutter: clamp(1rem, 4vw, 4rem);
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #101d24;
    --surface: #20333c;
    --ink: #edf4f5;
    --accent: #95ded0;
    --accent-ink: #101d24;
    --hero: #193d3d;
    --focus: #ffd38a;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--ground); color: var(--ink); font: var(--body)/1.6 system-ui, sans-serif; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .15em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
header, footer { padding: 1.5rem var(--gutter); }
header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { font-size: var(--lead); font-weight: 700; letter-spacing: -.03em; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
nav a { display: inline-flex; align-items: center; min-height: 44px; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.035em; text-wrap: balance; overflow-wrap: anywhere; }
h1, h2 { font-size: var(--heading); }
h3 { font-size: var(--lead); }
p { max-width: 60ch; text-wrap: pretty; }
section { scroll-margin-top: 1.5rem; }
.home > section { padding: clamp(4rem, 9vw, 8rem) var(--gutter); }
.home > .hero { background: var(--hero); padding-top: clamp(3rem, 7vw, 6rem); }
.hero h1 { font-size: var(--display); margin: 0 0 3rem; line-height: .98; letter-spacing: -.055em; }
.hero-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.hero-bottom p { max-width: 44ch; font-size: var(--lead); margin: 0; }
.button, button { display: inline-block; background: var(--accent); color: var(--accent-ink); padding: .8rem 1.3rem; font: inherit; font-weight: 600; border: 0; border-radius: 0; cursor: pointer; text-decoration: none; min-height: 44px; }
button:disabled { opacity: .65; cursor: wait; }
.tool { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; margin-top: 4rem; }
.tool h3 { margin-top: 0; }
.tool p:first-child { margin-top: 0; }
blockquote { margin: 1.5rem 0; padding: 1.2rem 1.5rem; background: var(--surface); }
#quick-start { background: var(--surface); }
details { padding: 1.2rem 0; }
summary { cursor: pointer; min-height: 44px; font-weight: 600; }
details[open] > summary { margin-bottom: 1rem; }
pre { padding: 1.25rem; background: var(--surface); overflow-x: auto; max-width: 100%; font-size: var(--small); line-height: 1.5; }
#quick-start pre { background: var(--ground); }
code { font-family: ui-monospace, monospace; font-size: .95em; overflow-wrap: anywhere; }
pre code { overflow-wrap: normal; }
.table-scroll { overflow-x: auto; max-width: 100%; }
table { width: 100%; border-collapse: collapse; text-align: left; font-variant-numeric: tabular-nums; }
caption { text-align: left; padding: 1rem 0; }
th, td { padding: 1rem; vertical-align: top; }
thead { background: var(--ink); color: var(--ground); }
tbody tr:nth-child(odd) { background: var(--surface); }
#checkout { margin-top: 4rem; }
form { max-width: 34rem; }
label { display: block; margin: 1.5rem 0 .5rem; }
input, select { width: 100%; border: 2px solid var(--ink); border-radius: 0; background: var(--ground); color: var(--ink); padding: .75rem; font: inherit; min-height: 44px; }
input[type="checkbox"] { width: 1.25rem; min-height: 1.25rem; margin-right: .5rem; vertical-align: middle; }
form button { margin-top: 1.5rem; }
#checkout-details { padding: 1.5rem; background: var(--surface); overflow-wrap: anywhere; }
[role="status"] { min-height: 1.6em; }
.faq { background: var(--hero); }
.faq details { margin-left: 30%; }
.document { max-width: 76rem; margin: 0 auto; padding: 3rem var(--gutter) 6rem; }
.document > section { margin-top: 4rem; }
.document h2 code { font-size: clamp(1.15rem, 3.4vw, 2.5rem); }
dl { max-width: 70ch; }
dt { font-weight: 600; margin-top: 1.5rem; }
dd { margin: .25rem 0 1rem; overflow-wrap: anywhere; }
footer { background: var(--ink); color: var(--ground); padding-top: 3rem; padding-bottom: 3rem; }
footer a { color: inherit; }
.footer-name { font-size: clamp(2rem, 8vw, 6rem); font-weight: 700; letter-spacing: -.05em; margin: 0; overflow-wrap: anywhere; }
.skip { position: absolute; top: -10rem; left: 1rem; padding: 1rem; background: var(--ground); z-index: 1; }
.skip:focus { top: 1rem; }
[hidden] { display: none !important; }
@media (max-width: 600px) {
  .hero-bottom { display: block; }
  .hero-bottom .button { margin-top: 2rem; }
  .tool { display: block; margin-top: 3rem; }
  .faq details { margin-left: 0; }
  th, td { padding: .75rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .button, button { transition: transform .15s ease; }
  .button:hover, button:not(:disabled):hover { transform: translateY(-2px); }
}
