@font-face { font-family: "DM Sans"; src: url("/static/DMSans.ttf") format("truetype"); font-weight: 100 1000; font-display: swap; }

/* Flat charcoal, one teal accent, bold type. No glows, gradients or shadows. */
:root {
  --bg: #1b1e20;
  --panel: #222629;
  --raise: #2a2e32;
  --line: #33383c;
  --line-2: #444a4f;
  --text: #f1f3f4;
  --muted: #a2aaaf;
  --accent: #14b8a6;
  --accent-strong: #0d9488;
  --accent-hover: #0f766e;
  --danger: #e5707e;
  --mono: ui-monospace, "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 6px;
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body { min-height: 100vh; display: flex; flex-direction: column; margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 30px; line-height: 1.2; font-weight: 700; margin: 0 0 8px; letter-spacing: -.01em; }
h2 { font-size: 13px; line-height: 1.2; font-weight: 700; margin: 0 0 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
p { margin: 0 0 10px; }
code { font-family: var(--mono); font-size: 13px; }
em { font-style: normal; color: var(--accent); }
.muted { color: var(--muted); }
.strong { color: var(--text); font-weight: 700; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 28px 24px 56px; }
main.wrap { flex: 1; }
.narrow { max-width: 440px; }
[hidden] { display: none !important; }

/* top bar */
.top { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.top-in { max-width: 1140px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 24px; width: auto; display: block; }
.links { display: flex; gap: 22px; margin-left: auto; }
.links a, .navlink { white-space: nowrap; color: var(--text); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; }
.links a:hover, .navlink:hover { color: var(--accent); text-decoration: none; }
.links a.docs-link { color: var(--accent); }
.top-r { display: flex; align-items: center; gap: 18px; }
.inline { display: inline; margin: 0; }
.linkbtn { background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.keybar { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 4px 0 10px; border: 1px solid var(--line-2); background: var(--panel); border-radius: var(--r); }
.keybar-l { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.keymask { font-family: var(--mono); font-size: 13px; color: var(--text); white-space: nowrap; }
.keymask.big { font-size: 15px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 38px; padding: 0 18px; font: 600 14px/1 var(--sans); color: var(--text); background: transparent; border: 1px solid var(--line-2); border-radius: var(--r); cursor: pointer; text-decoration: none; transition: background-color .12s, border-color .12s, color .12s; }
.btn:hover { border-color: var(--text); text-decoration: none; }
.btn:focus-visible, input:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn.sm { height: 28px; padding: 0 12px; font-size: 12px; }
.btn.lg { height: 48px; padding: 0 28px; font-size: 15px; }
.btn.primary { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; font-weight: 700; }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.danger { border-color: var(--danger); color: var(--danger); }
.btn.danger:hover { background: rgba(229, 112, 126, .12); }
.block-btn { width: 100%; height: 44px; }

/* tables */
.spec { width: 100%; border-collapse: collapse; margin: 0 0 14px; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 10px 0; border-top: 1px solid var(--line); font-weight: 400; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 1px solid var(--line); }
.spec th { width: 110px; color: var(--muted); padding-right: 14px; white-space: nowrap; }
.spec.wide th { width: 150px; }
.spec td.hd { color: var(--muted); border-top: 0; }
.spec thead th, .spec thead td { border-top: 0; padding-bottom: 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }

/* panels and forms */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; margin-top: 14px; }
.form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
input[type=email], input[type=password], input[type=text] { height: 42px; padding: 0 12px; background: var(--bg); color: var(--text); border: 1px solid var(--line-2); border-radius: var(--r); font: 400 15px var(--sans); }
input:focus { border-color: var(--accent); }
.hint { font-size: 12px; color: var(--muted); }
.err { color: var(--danger); margin: 0 0 12px; }
.notice { color: var(--accent); margin: 0 0 8px; }
.warn { color: var(--danger); font-size: 13px; margin-right: 6px; }
.alt { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.or { display: flex; align-items: center; gap: 10px; margin: 14px 0; color: var(--muted); font-size: 12px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.acct { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.acct .panel { margin-top: 0; }
.keyrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; margin: 0 0 14px; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r); }
.steps { margin: 0 0 10px; padding-left: 18px; }
#regen { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

/* modal */
.modal { position: fixed; inset: 0; background: rgba(0, 0, 0, .7); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 50; }
.modal-box { width: 100%; max-width: 460px; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r); padding: 22px; }
.modal-box h2 { color: var(--text); font-size: 17px; text-transform: none; letter-spacing: 0; margin-bottom: 14px; }
.modal-actions { display: flex; justify-content: flex-end; margin-top: 14px; }

/* footer */
.foot { border-top: 1px solid var(--line); }
.foot-in { padding-top: 18px; padding-bottom: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.foot-in a { color: var(--muted); }
.foot-in a:hover { color: var(--accent); }

/* shared bits */
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line-2); border-radius: var(--r); background: #000; cursor: zoom-in; }
.ticks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 22px; font-size: 14.5px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 10px; height: 5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.doclink { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 600; }
.badge-sig { display: inline-block; vertical-align: middle; font: 700 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--accent-strong); padding: 6px 10px; border-radius: 4px; }

/* landing */
.hero { text-align: center; max-width: 860px; margin: 0 auto; padding: 56px 0 48px; }
.kicker { margin: 0 0 14px; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.hero h1 { font-size: 56px; line-height: 1.08; font-weight: 700; letter-spacing: -.025em; margin: 0 0 18px; text-wrap: balance; }
.hero h1 em { font-style: italic; padding-right: .08em; }
.hero .sub { font-size: 18px; color: var(--muted); max-width: 60ch; margin: 0 auto 22px; text-wrap: balance; }
.dots { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin: 0 0 28px; padding: 0; font-size: 13px; font-weight: 600; }
.dots li { display: flex; align-items: center; gap: 8px; }
.dots li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.fine { margin: 14px 0 0; font-size: 13px; color: var(--muted); }


.sec-h { text-align: center; font-size: 36px; line-height: 1.15; font-weight: 700; letter-spacing: -.02em; text-transform: none; color: var(--text); margin: 84px 0 10px; text-wrap: balance; }
.sec-sub { text-align: center; color: var(--muted); font-size: 17px; max-width: 62ch; margin: 0 auto 40px; }
#views { scroll-margin-top: 80px; }
.sec-h + .steps3, .sec-h + .metrics { margin-top: 40px; }

.feat { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 44px; align-items: center; padding: 36px 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.feat:first-of-type { border-top: 0; }
.feat.rev { grid-template-columns: minmax(0, 1fr) 340px; }
.feat.rev .feat-t { order: 2; }
.feat h3 { font-size: 26px; line-height: 1.2; letter-spacing: -.015em; margin: 6px 0 12px; font-weight: 700; }
.feat p { color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.eyebrow { display: inline-block; font: 700 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.badge-sig + .eyebrow { margin-left: 10px; }
.feat.big { grid-template-columns: 380px minmax(0, 1fr); padding: 44px 0; }
.feat.big.rev { grid-template-columns: minmax(0, 1fr) 380px; }
.feat.big h3 { font-size: 32px; }

.docband { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 72px; padding: 30px 34px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.docband h2 { font-size: 22px; text-transform: none; letter-spacing: -.01em; color: var(--text); margin: 0 0 4px; }
.docband p { margin: 0; color: var(--muted); }

.metrics { max-width: 760px; margin: 0 auto; }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 20px; justify-content: center; margin: 12px 0 10px; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r); padding: 30px 28px 28px; }
.plan h3 { margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.plan .amt { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 26px; }
.plan .amt b { font-size: 52px; line-height: 1; letter-spacing: -.03em; font-weight: 700; }
.plan .amt span { color: var(--muted); font-size: 14px; }
.plan .block-btn { margin-top: auto; }
.plan.best { border: 2px solid var(--accent); padding: 29px 27px 27px; }
.flag { position: absolute; top: 0; right: 20px; transform: translateY(-50%); background: var(--accent-strong); color: #fff; font: 700 11px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 7px 11px; border-radius: 4px; }
.promo { text-align: center; margin: 10px 0 0; }
#pricing .fine { text-align: center; max-width: 740px; margin: 18px auto 0; }

.steps3 { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps3 li { counter-increment: s; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.steps3 li::before { content: counter(s); display: block; margin-bottom: 14px; font: 700 13px/28px var(--sans); width: 28px; height: 28px; text-align: center; border-radius: 50%; background: var(--accent-strong); color: #fff; }
.steps3 b { display: block; font-size: 17px; margin-bottom: 4px; }
.steps3 p { margin: 0; color: var(--muted); }

/* members */
.member { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px; }
.member-status { font-size: 32px; font-weight: 700; letter-spacing: -.015em; margin: 4px 0 6px; }
.member.inactive .member-status { color: var(--danger); }
.member.trial .member-status, .member.purchased .member-status, .member.permanent .member-status { color: var(--accent); }
.member-left { font-size: 16px; margin: 0 0 2px; }
.member-left b { font-size: 24px; }
.member-r { display: flex; gap: 10px; flex-wrap: wrap; }

/* legal and docs */
.legal { max-width: 760px; }
.legal h2 { margin-top: 26px; text-transform: none; letter-spacing: 0; font-size: 17px; color: var(--text); }
.legal p, .legal li { color: var(--text); line-height: 1.7; }
.legal ul { margin: 0 0 8px; padding-left: 20px; }
.docs { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 48px; align-items: start; max-width: 1040px; }
.toc { position: sticky; top: 84px; display: grid; gap: 2px; padding-top: 6px; }
.toc a { display: block; padding: 7px 12px; border-left: 2px solid var(--line); color: var(--muted); font-size: 13.5px; }
.toc a:hover { color: var(--accent); border-left-color: var(--accent); text-decoration: none; }
.doc { min-width: 0; }
.doc h1 { font-size: 40px; letter-spacing: -.02em; margin-bottom: 8px; }
.doc .lead { font-size: 17px; color: var(--muted); margin-bottom: 8px; }
.doc section { padding: 30px 0 8px; border-top: 1px solid var(--line); margin-top: 26px; scroll-margin-top: 84px; }
.doc section:first-of-type { margin-top: 12px; }
.doc h2 { font-size: 26px; line-height: 1.25; text-transform: none; letter-spacing: -.015em; margin: 0 0 14px; color: var(--text); }
.doc h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin: 20px 0 8px; font-weight: 700; }
.doc p, .doc li { font-size: 15.5px; line-height: 1.7; }
.doc ul, .doc ol { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 7px; }
.doc b { font-weight: 700; color: var(--text); }
.doc .badge-sig { margin-left: 10px; }
.callout { margin: 16px 0 8px; padding: 16px 18px; border: 1px solid var(--line-2); border-left: 3px solid var(--accent); background: var(--panel); border-radius: var(--r); font-size: 15px; line-height: 1.65; }
.doc section.sigdoc { border-left: 3px solid var(--accent); padding-left: 20px; margin-left: -23px; }

/* click-to-zoom */
html.zoomed { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 3vh 3vw; background: rgba(0, 0, 0, .9); cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; border: 1px solid var(--line-2); border-radius: var(--r); background: #000; cursor: zoom-out; }
.lightbox-x { position: absolute; top: 14px; right: 18px; width: 40px; height: 40px; font: 400 28px/1 var(--sans); color: var(--text); background: var(--raise); border: 1px solid var(--line-2); border-radius: var(--r); cursor: pointer; }
.lightbox-x:hover { border-color: var(--accent); color: var(--accent); }

@media (max-width: 1000px) {
  .hero h1 { font-size: 42px; }
  .feat, .feat.rev, .feat.big, .feat.big.rev { grid-template-columns: 1fr; gap: 20px; }
  .feat.rev .feat-t { order: 0; }
  .acct { grid-template-columns: 1fr; }
  .docs { grid-template-columns: 1fr; gap: 16px; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
    .toc a { border: 1px solid var(--line); border-radius: var(--r); padding: 5px 11px; }
  .doc section.sigdoc { margin-left: 0; }
}
@media (max-width: 720px) {
  .wrap { padding: 18px 16px 40px; }
  .top-in { padding: 8px 16px; gap: 12px 16px; height: auto; min-height: 56px; flex-wrap: wrap; }
  .brand img { height: 20px; }
  .links { gap: 16px; order: 3; width: 100%; margin-left: 0; overflow-x: auto; }
  .top-r { margin-left: auto; gap: 14px; flex-wrap: wrap; }
  .keybar { order: 5; width: 100%; justify-content: space-between; }
  .keymask.big { font-size: 13px; }
  .hero { padding: 32px 0 36px; }
  .hero h1 { font-size: 34px; }
  .hero .sub { font-size: 16px; }
  .sec-h { font-size: 28px; margin-top: 60px; }
  .plans, .steps3 { grid-template-columns: 1fr; }
  .spec th { width: 92px; }
  .docband { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* annotated screenshots in the docs: the figure, then a numbered key matching its badges */
.doc figure.shot { margin: 16px 0 8px; }
.doc ol.key { list-style: none; counter-reset: key; margin: 12px 0 18px; padding: 0; }
.doc ol.key li { counter-increment: key; position: relative; padding-left: 38px; margin: 0 0 10px; }
.doc ol.key li::before { content: counter(key); position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #0e0a1e; font: 700 13px/24px var(--sans); text-align: center; }
.doc p.ask { margin: 4px 0 18px; color: var(--muted); }
.doc p.ask a { color: var(--accent); }
