:root{color-scheme:light dark;--ink:#111;--bg:#fafaf9;--muted:#5f5f5a;--rule:#e2e2de;--strong-rule:#111}
@media(prefers-color-scheme:dark){:root{--ink:#ededea;--bg:#141413;--muted:#a3a39d;--rule:#2e2e2c;--strong-rule:#ededea}}
body{max-width:44rem;margin:0 auto;padding:0 1rem 4rem;color:var(--ink);background:var(--bg);font:16px/1.6 system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased}
body.wide{max-width:72rem}
/* Readable line length everywhere, including wide pages */
main p,main li,main dd,main dt,main h1,main h2,main h3,main h4,main details{max-width:44rem}

/* Type scale: four clearly separated steps. h2 opens a section with a rule above it. */
h1,h2,h3,h4{line-height:1.25;font-weight:650;letter-spacing:-.01em;text-wrap:balance}
h1{font-size:2.125rem;letter-spacing:-.025em;margin:1.5rem 0 .75rem}
h2{font-size:1.4rem;margin:3.5rem 0 1rem;padding-top:1.5rem;border-top:1px solid var(--rule)}
h3{font-size:1.125rem;margin:2rem 0 .5rem}
h4{font-size:1rem;margin:1.5rem 0 .25rem}
h1+p{font-size:1.125rem;line-height:1.5}
h3+p,h4+p{margin-top:0}
p,li,dd{text-wrap:pretty}

/* Secondary text */
small,.muted,.analysis-references,.profile-references,.breadcrumb{font-size:.85rem;color:var(--muted)}
.muted{font-size:inherit}
.analysis-references,.profile-references{display:block;margin:-.5rem 0 1rem}

a{color:inherit;text-decoration-line:underline;text-decoration-thickness:1px;text-underline-offset:.2em;text-decoration-color:color-mix(in srgb,currentColor 35%,transparent)}
a:hover{text-decoration-color:currentColor}
a[aria-current]{font-weight:600;text-decoration:none}

header{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.25rem 1.5rem;padding:1.25rem 0 1rem;border-bottom:1px solid var(--rule)}
header p{margin:0}header p a{text-decoration:none;font-weight:650}
header nav,footer nav,.analysis-toc,.profile-nav{display:flex;flex-wrap:wrap;gap:.25rem 1.25rem}
.breadcrumb{display:block;margin-top:1.25rem}
footer{margin-top:4rem;padding-top:1rem;border-top:1px solid var(--rule);font-size:.9rem}

ul,ol{padding-left:1.25rem}li{margin:.4em 0}
/* Service lists: name and facts on one line, description below */
.services{list-style:none;padding:0;max-width:44rem}
.services li{margin:0;padding:.85rem 0;border-bottom:1px solid var(--rule)}
.services li:first-child{border-top:1px solid var(--rule)}
.columns{columns:13rem;column-gap:2rem;max-width:none}.columns li{break-inside:avoid;margin:.2em 0}
details summary{cursor:pointer}
details>ul{margin-top:.75rem}

/* Tables */
table{border-collapse:collapse;width:100%;margin:1rem 0}
th,td{border-bottom:1px solid var(--rule);padding:.7rem 1rem .7rem 0;text-align:left;vertical-align:top}
thead th{border-bottom:1.5px solid var(--strong-rule);vertical-align:bottom}
th small,th details,.plan{font-weight:400}
caption{text-align:left;font-weight:600;padding:.5rem 0}
.table-wrap{overflow-x:auto}
.comparison-table{min-width:40rem}
.comparison-table th[scope=row]{width:26%}
.comparison-table tr.group th{padding-top:1.5rem;font-size:.85rem;color:var(--muted)}
.plans-table{max-width:44rem}.plans-table th[scope=row]{width:22%}.plans-table td:nth-child(2){width:28%}
dt{font-weight:600}dd{margin:0 0 .75em}

/* Controls */
button,input,select,textarea{font:inherit;font-size:.875rem;color:inherit}
button{background:transparent;border:1px solid currentColor;border-radius:4px;padding:.3em .75em;cursor:pointer}
button:hover,button[aria-pressed=true]{background:var(--ink);color:var(--bg);border-color:var(--ink)}
button[data-add],button[data-add]:hover{background:none;color:var(--ink);border:0;border-radius:0;padding:0;font-size:.85rem;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.2em;text-decoration-color:color-mix(in srgb,currentColor 35%,transparent)}
button[data-add]:hover{text-decoration-color:currentColor}
input,select,textarea{background:var(--bg);border:1px solid var(--rule);border-radius:4px;padding:.3em .5em}
input[type=checkbox]{accent-color:var(--ink)}
:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.controls{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1.5rem;margin:.75rem 0;font-size:.9rem}
.controls .push{margin-left:auto}
textarea{width:100%;min-height:30rem;font-family:ui-monospace,Menlo,monospace;box-sizing:border-box}

td:target,li:target{background:color-mix(in srgb,var(--ink) 8%,transparent)}
#compare-tray{position:sticky;bottom:0;background:var(--bg);border-top:1px solid var(--rule);padding:.75rem 0;font-size:.9rem}
#toast{position:fixed;bottom:4.5rem;left:1rem;right:1rem;max-width:40rem;margin:auto;background:var(--ink);color:var(--bg);border-radius:4px;padding:.6em .9em;font-size:.9rem}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.skip-link{position:absolute;left:-999px}.skip-link:focus{left:1rem;top:.5rem;background:var(--bg)}
[hidden]{display:none!important}
