@font-face { font-family: "Anybody"; src: url("/fonts/anybody.woff2") format("woff2"); font-weight: 100 900; font-stretch: 50% 150%; font-display: swap; }
@font-face { font-family: "Reddit Sans"; src: url("/fonts/reddit-sans.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Reddit Mono"; src: url("/fonts/reddit-mono.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }

:root {
  --ink: #141414;
  --ink-2: #1e1e1c;
  --ink-rule: #3a3a35;
  --ink-mute: #a8a89e;
  --paper: #f2f2ee;
  --paper-2: #e7e7e0;
  --rule: #cdcdc3;
  --mute: #55554d;
  --lime: #c6f432;
  --lime-soft: #e4f9a0;
  --olive: #3b4f00;
  --display: "Anybody", "Arial Narrow", system-ui, sans-serif;
  --body: "Reddit Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Reddit Mono", ui-monospace, "Cascadia Mono", monospace;
  --wrap: 1160px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--display); font-stretch: 118%; font-weight: 760; line-height: 1.02; letter-spacing: -0.015em; margin: 0 0 .5em; text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.25rem; }
code, .num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
code { font-size: .92em; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.band :focus-visible, .ladder :focus-visible, .plan-paid :focus-visible { outline-color: var(--lime); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 50; border-radius: 3px; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgb(242 242 238 / .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.01em; }
.brand .mark { color: var(--ink); background: var(--lime); border-radius: 6px; padding: 3px; width: 32px; height: 32px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; padding: 8px 10px; border-radius: 3px; font-weight: 500; font-size: .95rem; transition: background-color .15s; }
.nav a:hover { background: var(--paper-2); }
.nav a[href="/account"] { background: var(--ink); color: var(--paper); margin-left: 4px; }
.nav a[href="/account"]:hover { background: #2b2b28; }
.xbtn { display: inline-grid; place-items: center; width: 36px; height: 36px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 3px; font: 600 1rem/1 var(--body); text-decoration: none; border: 1.5px solid var(--ink); cursor: pointer; transition: transform .15s var(--ease), background-color .15s, color .15s; touch-action: manipulation; }
.btn:active { transform: translateY(1px) scale(.985); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #2b2b28; }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--paper-2); }
.btn-lime { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.btn-lime:hover { background: #d4fa5a; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .92rem; }
.linkbtn { background: none; border: 0; padding: 8px 0; font: inherit; color: var(--mute); text-decoration: underline; cursor: pointer; }

/* Hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 96px); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 6.6vw, 5.4rem); font-stretch: 112%; font-weight: 820; line-height: .94; letter-spacing: -0.03em; margin-bottom: .38em; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: #33332e; max-width: 34em; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }

/* Ladder: the signature piece */
.ladder { margin: 0; background: var(--ink); color: var(--paper); border-radius: 10px; padding: 20px 20px 18px; box-shadow: 0 1px 0 #000, 0 24px 48px -28px rgb(20 20 20 / .55); }
.ladder-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; font-size: .9rem; margin-bottom: 14px; }
.ladder-cap span:first-child { font-family: var(--display); font-stretch: 120%; font-weight: 700; font-size: 1.02rem; }
.ladder-sub { color: var(--ink-mute); }
.ladder-stage { position: relative; touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; }
.ladder-svg { width: 100%; height: auto; overflow: visible; }
.ladder-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; }
.ladder-stage:has(.ladder-range:focus-visible) { outline: 2px solid var(--lime); outline-offset: 6px; border-radius: 4px; }
.floor { stroke: var(--ink-rule); stroke-width: 1; }
.gate-bg { fill: var(--ink-2); }
.gate-fill { fill: var(--lime); opacity: .42; transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(var(--h)); transition: transform .7s var(--ease), opacity .2s; }
.gate.is-on .gate-fill { opacity: 1; }
.gate.is-void .gate-bg { fill: none; stroke: var(--ink-rule); stroke-dasharray: 3 4; }
.gate-n { fill: var(--ink-mute); font: 500 13px var(--mono); transition: fill .2s; }
.gate.is-on .gate-n { fill: var(--lime); }
.buy { transition: transform .32s var(--ease); }
.buy-head { fill: var(--paper); }
.buy-line { stroke: var(--paper); stroke-width: 1.5; stroke-dasharray: 2 4; opacity: .7; }
.readout { display: block; min-height: 3.1em; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--ink-rule); font-size: .98rem; line-height: 1.5; }
.readout b { font-family: var(--display); font-stretch: 120%; font-weight: 700; color: var(--lime); margin-right: 6px; }
.readout .num { color: var(--lime); }
.readout .dim { color: var(--ink-mute); }

/* Load sequence (JS adds .js to html; without JS nothing is hidden) */
.rise { opacity: 0; transform: translateY(14px); animation: rise .7s var(--ease) forwards; }
.rise:nth-child(2) { animation-delay: .08s; }
.rise:nth-child(3) { animation-delay: .16s; }
.gate-fill { animation: grow .9s var(--ease) backwards; animation-delay: calc(.25s + var(--i) * 55ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleY(0); } }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Sheet sections */
.sheet { padding: clamp(48px, 7vw, 88px) 0; border-top: 1px solid var(--rule); }
.sheet-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 12px 48px; align-items: end; margin-bottom: 26px; }
.sheet-head h2 { margin: 0; }
.sheet-head p { margin: 0; color: var(--mute); max-width: 36em; }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 18px; }
.tab { text-decoration: none; padding: 8px 14px; border: 1.5px solid var(--rule); border-radius: 999px; font-weight: 500; font-size: .94rem; white-space: nowrap; transition: border-color .15s, background-color .15s; min-height: 40px; display: inline-flex; align-items: center; }
.tab:hover { border-color: var(--ink); }
.tab[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* The table, styled as a posted tariff */
.table { border-top: 2.5px solid var(--ink); }
.thead, .row { display: grid; grid-template-columns: 1.35fr repeat(4, 1fr) 1.15fr; align-items: stretch; }
.thead span { padding: 12px 14px 10px; font-size: .85rem; color: var(--mute); border-bottom: 1px solid var(--ink); }
.thead span:not(:first-child) { text-align: right; }
.thead span:last-child { background: var(--lime); color: var(--ink); font-weight: 600; }
.row { border-bottom: 1px solid var(--rule); transition: background-color .2s; }
.row:hover { background: rgb(20 20 20 / .025); }
.rh { padding: 18px 14px; display: flex; flex-direction: column; gap: 2px; }
.rname { font-family: var(--display); font-stretch: 118%; font-weight: 700; font-size: 1.12rem; }
.rsub { font-size: .85rem; color: var(--mute); }
.cell { padding: 18px 14px; text-align: right; display: flex; flex-direction: column; justify-content: center; }
.cl { display: none; }
.cv { font-size: 1.15rem; font-weight: 500; }
.cell.hl { background: var(--lime-soft); }
.cell.hl .cv { font-weight: 650; }
.row.is-empty .cv { color: #9a9a90; }
.t-note { margin: 14px 0 0; font-size: .9rem; color: var(--mute); }
.empty { margin-top: 18px; padding: 18px 20px; border-left: 3px solid var(--lime); background: var(--paper-2); border-radius: 0 6px 6px 0; }
.empty p { margin: 0; color: var(--mute); }
.empty .empty-h { color: var(--ink); font-weight: 600; margin-bottom: 4px; }

/* Method band */
.band { background: var(--ink); color: var(--paper); padding: clamp(56px, 8vw, 104px) 0; }
.band-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 14px 0 14px 46px; border-top: 1px solid var(--ink-rule); color: #d4d4cc; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 13px; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--lime); color: var(--lime); font: 600 .85rem/25px var(--mono); text-align: center; }
.steps strong { color: var(--paper); font-weight: 650; }
.windows { width: 100%; height: auto; }
.wd-slot rect { fill: var(--ink-2); stroke: var(--ink-rule); }
.wd-slot text { fill: var(--ink-mute); font: 500 15px var(--mono); }
.wd-slot.is-first rect { fill: var(--lime); stroke: var(--lime); }
.wd-slot.is-first text { fill: var(--ink); }
.wd-cap, .wd-lab { fill: var(--paper); font: 500 16px var(--body); }
.wd-tick { stroke: var(--lime); stroke-width: 2; }
.wd-brace { fill: none; stroke-width: 1.5; }
.wd-brace.a { stroke: var(--lime); }
.wd-brace.b { stroke: var(--paper); }
.js .band-art .wd-slot { opacity: 0; transition: opacity .4s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.js .band-art.in .wd-slot { opacity: 1; }

/* Plans */
.plan-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 18px; }
.plan { border: 1.5px solid var(--ink); border-radius: 8px; padding: 26px; display: flex; flex-direction: column; }
.plan h3 { margin-bottom: 6px; }
.plan ul { list-style: none; padding: 0; margin: 4px 0 24px; flex: 1; }
.plan li { padding: 9px 0 9px 22px; border-top: 1px solid var(--rule); position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 9px; height: 9px; background: var(--ink); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.price { font-size: 1.5rem; margin: 6px 0 14px; font-weight: 600; }
.price .or, .price .per { font-size: .95rem; font-weight: 400; color: var(--mute); }
.plan .btn { align-self: flex-start; }
.plan-paid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.plan-paid li { border-top-color: var(--ink-rule); }
.plan-paid li::before { background: var(--lime); }
.plan-paid .price .or, .plan-paid .price .per { color: var(--ink-mute); }

/* Footer */
.foot { border-top: 1px solid var(--rule); padding: 32px 0 40px; font-size: .92rem; color: var(--mute); }
.foot-in { display: flex; flex-wrap: wrap; gap: 10px 32px; align-items: center; justify-content: space-between; }
.foot-in p { margin: 0; flex: 1 1 280px; }
.foot-brand { display: flex; gap: 8px; align-items: center; color: var(--ink); font-family: var(--display); font-stretch: 125%; font-weight: 800; }
.foot nav { display: flex; gap: 4px 16px; flex-wrap: wrap; align-items: center; }
.foot nav a { text-decoration: none; padding: 6px 0; }
.foot nav a:hover { text-decoration: underline; }

/* Docs, account, history */
.page-h { font-size: clamp(2.1rem, 5vw, 3.4rem); font-stretch: 112%; font-weight: 820; letter-spacing: -0.025em; }
.doc h2 { margin-top: 1.8em; font-size: 1.5rem; }
.code { background: var(--ink); color: var(--paper); padding: 16px 18px; border-radius: 6px; overflow-x: auto; font-size: .92rem; line-height: 1.6; }
.code code { font-size: inherit; }
.tscroll { overflow-x: auto; margin: 0 0 1em; }
.ftable { width: 100%; border-collapse: collapse; font-size: .94rem; }
.ftable th { text-align: left; font-weight: 600; padding: 8px 10px 8px 0; border-bottom: 1.5px solid var(--ink); }
.ftable td { padding: 9px 10px 9px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.ftable td:first-child { white-space: nowrap; }
.doc p code, .ftable code { background: var(--paper-2); padding: 1px 5px; border-radius: 3px; }
.doc-cta { margin-top: 2em; }

.panel { border: 1.5px solid var(--ink); border-radius: 8px; padding: 22px; margin-bottom: 16px; background: var(--paper); }
.panel h2 { font-size: 1.3rem; }
.panel label { display: block; font-weight: 600; margin-bottom: 6px; }
.panel input[type="password"], .panel input[type="text"] { width: 100%; min-height: 46px; border: 1.5px solid var(--ink); border-radius: 3px; padding: 0 12px; font: 1rem var(--mono); background: #fbfbf8; margin-bottom: 14px; }
.acct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.acct-grid .panel { margin: 0; }
.flash { padding: 12px 16px; border-left: 3px solid var(--lime); background: var(--paper-2); border-radius: 0 6px 6px 0; }
.flash.is-error { border-left-color: #b3261e; }
.keybox { background: var(--lime); border-radius: 8px; padding: 18px 20px; margin-bottom: 16px; }
.keyrow { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.keyrow code { flex: 1 1 220px; background: var(--paper); padding: 10px 12px; border-radius: 3px; word-break: break-all; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0; }
.kv dt { color: var(--mute); }
.kv dd { margin: 0; }
.status-links { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 0; }
.paybtns { display: flex; gap: 10px; flex-wrap: wrap; }
.payreq { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--rule); }
.payreq-h { font-size: 1.1rem; }
.payreq dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; margin: 14px 0; }
.payreq dd { margin: 0; word-break: break-all; }
.hint { color: var(--mute); font-size: .92rem; }
.plist { list-style: none; padding: 0; margin: 0; }
.plist li { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--rule); }

.hist .tabs + .tabs { margin-bottom: 24px; }
.legend { display: flex; align-items: center; gap: 8px; color: var(--mute); font-size: .9rem; }
.lg { display: inline-block; width: 18px; height: 3px; border-radius: 2px; }
.lg-50 { background: var(--ink); }
.lg-75 { background: #8fb21a; margin-left: 10px; }
.chart { width: 100%; height: 220px; }
.ch-grid { stroke: var(--rule); }
.ch-50 { fill: none; stroke: var(--ink); stroke-width: 2; vector-effect: non-scaling-stroke; }
.ch-75 { fill: none; stroke: #8fb21a; stroke-width: 2; vector-effect: non-scaling-stroke; }
.ch-axis { display: flex; justify-content: space-between; gap: 8px; font-size: .8rem; color: var(--mute); margin-top: 6px; }
.hod { display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; height: 150px; align-items: end; margin: 10px 0 18px; }
.hod-col { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.hod-bar { display: block; height: 100%; background: var(--ink); border-radius: 2px 2px 0 0; transform-origin: bottom; transform: scaleY(var(--h)); }
.hod-l { font-size: .7rem; color: var(--mute); height: 1.2em; margin-top: 3px; }
.hod-table [role="row"] { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; padding: 6px 0; border-top: 1px solid var(--rule); font-size: .92rem; }
.hod-table [role="row"] > :not(:first-child) { text-align: right; }
.hod-head { color: var(--mute); font-size: .85rem !important; }

/* Responsive */
@media (max-width: 900px) {
  .hero-in, .band-in { grid-template-columns: 1fr; }
  .sheet-head { grid-template-columns: 1fr; }
  .plan-grid, .acct-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .thead { display: none; }
  .row { grid-template-columns: 1fr 1fr; padding: 4px 0 14px; }
  .rh { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: baseline; padding: 14px 2px 8px; }
  .cell { text-align: left; padding: 8px 2px; }
  .cl { display: block; font-size: .8rem; color: var(--mute); margin-bottom: 1px; }
  .cv { font-size: 1.08rem; }
  .cell.hl { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 4px; margin-top: 4px; }
  .cell.hl .cl { margin: 0; color: var(--ink); }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .nav a[href="/#plans"] { display: none; }
  .nav a { padding: 8px 8px; }
  .ladder { padding: 16px 14px 14px; }
  .cta .btn { flex: 1 1 140px; }
  .panel { padding: 18px; }
}
@media (max-width: 359px) {
  .nav a[href="/#table"] { display: none; }
  .brand { font-size: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rise, .js .reveal, .js .band-art .wd-slot { opacity: 1 !important; transform: none !important; }
}

/* Compact measuring diagram for phones */
.windows-c { display: none; }
.windows-c .wd-slot text { font-size: 12px; }
.windows-c .wd-lab { font-size: 12px; }
.wd-slot.is-second rect { stroke: var(--lime); stroke-width: 1.5; }
.lg-first { fill: var(--lime); }
.lg-second { fill: none; stroke: var(--lime); stroke-width: 1.5; }
@media (max-width: 560px) {
  .windows:not(.windows-c) { display: none; }
  .windows-c { display: block; }
  .tab { padding: 6px 11px; font-size: .9rem; min-height: 38px; }
  .tabs { gap: 5px; }
}
@media (max-width: 760px) { .thead.is-bare { display: none; } }
.table:has(.thead.is-bare) .empty { margin-top: 0; border-radius: 0 0 6px 0; }
