/* Gaugemint marketing site. No external fonts or images: system fonts, one stylesheet, no inline styles (CSP: style-src 'self'). */
:root {
  --paper: #f3f7f4;
  --paper-2: #e8f0eb;
  --surface: #ffffff;
  --ink: #10302a;
  --muted: #4a5f58;
  --line: #cfdcd5;
  --accent: #0d7a6b;
  --accent-strong: #0a6054;
  --accent-ink: #ffffff;
  --accent-soft: rgba(13, 122, 107, 0.14);
  --signal: #9a4a06;
  --signal-soft: #fdf0dc;
  --code-bg: #10302a;
  --code-ink: #e6f3ee;
  --shadow: 0 1px 2px rgba(16, 48, 42, 0.06), 0 12px 32px rgba(16, 48, 42, 0.08);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Charter, "Book Antiqua", Georgia, serif;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0d1714;
    --paper-2: #121f1b;
    --surface: #16251f;
    --ink: #e7f2ed;
    --muted: #9fb5ac;
    --line: #2a3f37;
    --accent: #3fc3ae;
    --accent-strong: #66d6c3;
    --accent-ink: #06201b;
    --accent-soft: rgba(63, 195, 174, 0.18);
    --signal: #f2b45b;
    --signal-soft: #3a2c10;
    --code-bg: #0a120f;
    --code-ink: #d6ebe3;
    --shadow: none;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0d1714;
  --paper-2: #121f1b;
  --surface: #16251f;
  --ink: #e7f2ed;
  --muted: #9fb5ac;
  --line: #2a3f37;
  --accent: #3fc3ae;
  --accent-strong: #66d6c3;
  --accent-ink: #06201b;
  --accent-soft: rgba(63, 195, 174, 0.18);
  --signal: #f2b45b;
  --signal-soft: #3a2c10;
  --code-bg: #0a120f;
  --code-ink: #d6ebe3;
  --shadow: none;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--font); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.15rem); margin-bottom: 20px; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 14px; }
a { color: var(--accent-strong); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
code { font-family: var(--mono); font-size: 0.9em; background: var(--paper-2); padding: 1px 6px; border-radius: 5px; overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }
.sr-only, .bill-input { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 8px; z-index: 50; text-decoration: none; }
.skip-link:focus { top: 8px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow > * { max-width: 760px; }
.center { text-align: center; }
.center > * { margin-left: auto; margin-right: auto; }
.center .cta-row { justify-content: center; }
.muted { color: var(--muted); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40em; }
.lede { color: var(--muted); max-width: 44em; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 10px; min-height: 64px; }
.spacer { flex: 1; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 700; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); display: inline-grid; place-items: center; }
.brand-mark svg { width: 18px; height: 18px; }
.nav { display: flex; gap: 2px; margin-left: 8px; }
.nav a { padding: 8px 10px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 0.97rem; }
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.theme-toggle { appearance: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink); width: 38px; height: 38px; border-radius: 10px; cursor: pointer; display: inline-grid; place-items: center; }
.theme-toggle[hidden] { display: none; }
.theme-toggle svg { width: 18px; height: 18px; }

/* buttons */
.btn { white-space: nowrap; appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 10px 18px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 600 0.98rem var(--font); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--paper-2); text-decoration: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.btn.small { min-height: 38px; padding: 6px 14px; font-size: 0.93rem; }
.btn.large { min-height: 52px; padding: 12px 24px; font-size: 1.05rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 10px; }
.small-note { font-size: 0.93rem; }

/* gauge scale: the one recurring device (a ruler's tick marks) */
.scale { height: 18px; background:
  repeating-linear-gradient(90deg, var(--muted) 0 1px, transparent 1px 100px) left bottom / 100% 18px no-repeat,
  repeating-linear-gradient(90deg, var(--muted) 0 1px, transparent 1px 20px) left bottom / 100% 9px no-repeat;
  opacity: 0.45; }

/* sections */
.section { padding: 72px 0; }
.section.tight { padding: 24px 0 56px; }
.section.alt { background: var(--paper-2); border-block: 1px solid var(--line); }
.section.final { padding: 80px 0; }
.page-head { padding: 64px 0 24px; }
.page-head h1 { margin-bottom: 16px; }

/* hero */
.hero { padding: 48px 0 56px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-copy h1 { margin-bottom: 20px; }
.hero-figure { margin: 0; }
.hero-figure figcaption { color: var(--muted); font-size: 0.88rem; margin-top: 10px; }
.dash { width: 100%; height: auto; display: block; filter: drop-shadow(0 14px 28px rgba(16, 48, 42, 0.12)); }
.dash-narrow { display: none; }
.dash text { font-family: var(--font); }
.d-panel { fill: var(--surface); stroke: var(--line); }
.d-tile { fill: var(--paper-2); }
.d-site { fill: var(--ink); font-size: 19px; font-weight: 700; }
.d-k { fill: var(--muted); font-size: 13px; }
.d-v { fill: var(--ink); font: 600 28px var(--serif); }
.d-v.sm { font-size: 22px; }
.d-t { fill: var(--ink); font-size: 14px; }
.d-n { fill: var(--muted); font-size: 13px; }
.d-h { fill: var(--ink); font-size: 14px; font-weight: 700; }
.d-grid { stroke: var(--line); stroke-width: 1; }
.d-area { fill: var(--accent-soft); }
.d-line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; animation: draw 1.6s cubic-bezier(.3, .6, .2, 1) 0.2s both; }
.d-bar-bg { fill: var(--paper-2); }
.d-bar { fill: var(--accent); }
.d-pill { fill: var(--signal-soft); stroke: var(--signal); }
.d-pilltext { fill: var(--signal); font-size: 13px; font-weight: 700; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* who */
.who, .steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 28px; }
.who li { border-left: 3px solid var(--accent); padding-left: 18px; }
.who h3, .steps h3 { margin-bottom: 6px; }
.who p, .steps p { color: var(--muted); margin: 0; }
.steps { counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 44px; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font: 700 0.95rem var(--font); }
.code-block { margin: 32px 0 16px; }
pre { margin: 0 0 18px; padding: 16px 18px; background: var(--code-bg); color: var(--code-ink); border-radius: 12px; font: 0.92rem/1.55 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
pre code { background: none; padding: 0; color: inherit; font-size: inherit; }

/* features */
.features { display: grid; gap: 0; margin: 28px 0 0; }
.features > div { padding: 18px 0; border-top: 1px solid var(--line); }
.features dt { font-weight: 700; margin-bottom: 4px; }
.features dd { margin: 0; color: var(--muted); }

/* privacy facts */
.two-col { display: grid; gap: 32px; margin: 28px 0 24px; }
.ticks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--accent-strong); }
.ticks.yes li::before { background: var(--accent); }

/* plans */
.plan-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.plan-list li { display: grid; gap: 2px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pricing { position: relative; }
.billing-toggle { display: inline-flex; padding: 4px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 24px; }
.billing-toggle label { padding: 8px 20px; border-radius: 9px; cursor: pointer; font-weight: 600; color: var(--muted); min-height: 40px; display: inline-flex; align-items: center; }
#bill-month:checked ~ .billing-toggle label[for="bill-month"], #bill-year:checked ~ .billing-toggle label[for="bill-year"] { background: var(--accent); color: var(--accent-ink); }
#bill-month:focus-visible ~ .billing-toggle label[for="bill-month"], #bill-year:focus-visible ~ .billing-toggle label[for="bill-year"] { outline: 3px solid var(--accent); outline-offset: 2px; }
#bill-year:checked ~ .plans .m { display: none; }
#bill-month:checked ~ .plans .y { display: none; }
.plans { display: grid; gap: 20px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan h3 { font-size: 1.4rem; }
.plan-blurb { color: var(--muted); margin: 4px 0 14px; }
.price { font: 600 2.6rem/1 var(--serif); margin: 0 0 6px; }
.price small { font: 400 0.95rem var(--font); color: var(--muted); }
.plan-save { color: var(--accent-strong); font-size: 0.93rem; margin: 0 0 6px; }
.limits { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 6px; }
.meter { width: 100%; height: 8px; display: block; margin: 4px 0 22px; }
.meter-bg { fill: var(--paper-2); }
.meter-fg { fill: var(--accent); }
.plan .btn { margin-top: auto; }
.center-note { text-align: center; margin-top: 24px; }

/* faq */
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 28px 14px 0; position: relative; list-style: none; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 1.4rem; color: var(--accent-strong); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); margin: 0 0 16px; max-width: 46em; }

/* docs */
.docs { display: grid; gap: 24px; padding-top: 40px; padding-bottom: 72px; }
.docs-nav nav { display: flex; flex-wrap: wrap; gap: 4px; }
.docs-nav a { padding: 8px 12px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 0.95rem; border: 1px solid transparent; }
.docs-nav a:hover { background: var(--paper-2); color: var(--ink); }
.docs-nav a[aria-current="page"] { color: var(--ink); background: var(--paper-2); font-weight: 600; border-color: var(--line); }
.prose { max-width: 720px; min-width: 0; }
.prose h1 { margin-bottom: 12px; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 16px; }
.prose li { margin-bottom: 6px; }
.doc-list { list-style: none; padding: 0 !important; }
.doc-list li { padding: 14px 0; border-top: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; margin: 12px 0 20px; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
thead th { color: var(--muted); font-weight: 600; border-bottom-color: var(--ink); }
tbody th { font-weight: 400; white-space: nowrap; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: var(--paper-2); padding: 40px 0 32px; font-size: 0.95rem; }
.foot { display: grid; gap: 24px; }
.foot p { margin: 0 0 6px; }
.foot-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot-links a { display: inline-block; padding: 8px 0; }
.fine { margin-top: 20px; color: var(--muted); font-size: 0.86rem; }
.fine p { margin: 0 0 6px; }

@media (min-width: 640px) {
  .plan-list li { grid-template-columns: 8em 1fr; }
  .plan-list li .muted { grid-column: 2; }
}
@media (min-width: 760px) {
  .who, .steps { grid-template-columns: repeat(3, 1fr); }
  .two-col { grid-template-columns: 1fr 1fr; gap: 48px; }
  .features { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .foot { grid-template-columns: 1.4fr 1fr; }
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1fr 1.2fr; gap: 56px; }
  .docs { grid-template-columns: 210px 1fr; gap: 56px; }
  .docs-nav { position: sticky; top: 88px; align-self: start; }
  .docs-nav nav { flex-direction: column; }
}
@media (max-width: 640px) {
  .dash-wide { display: none; }
  .dash-narrow { display: block; }
  .nav a { padding: 8px 8px; }
  .bar [data-login] { display: none; }
  .section { padding: 52px 0; }
}
@media (max-width: 400px) {
  .bar { gap: 4px; }
  .brand { font-size: 1.05rem; gap: 8px; }
  .nav { margin-left: 2px; }
  .nav a { padding: 8px 6px; font-size: 0.93rem; }
  .theme-toggle { width: 36px; height: 36px; }
  tbody th { white-space: normal; }
  th, td { padding: 8px 6px; overflow-wrap: anywhere; }
}
@media (max-width: 560px) {
  .bar [data-cta] { display: none; } /* the page's own buttons carry the call to action on a phone */
}
@media (prefers-reduced-motion: reduce) {
  .d-line { animation: none; }
  html { scroll-behavior: auto; }
}
