/* OK Book Sync: the sales site. One stylesheet, no framework. */
:root {
  --ink: #18222E; --ink-2: #4E5A66; --ink-3: #5E6A76; --line: #D3D9DF; --line-2: #A9B4BF;
  --paper: #E2E6EA; --paper-2: #EEF1F4; --white: #FFFFFF;
  --green: #21724A; --green-dark: #185A3A; --green-soft: #E5F1EA; --mint: #8FD3AE;
  --red: #BD3227; --amber-soft: #FCEFD9; --amber: #7A4B00;
  --night-2: #233040; --night-line: #3A4757; --night-text: #C3CCD5; --night-mute: #B4BEC8;
  --focus: #1F6FD1;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Archivo", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--ink); padding: 10px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 32px); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- header ---------- */
.top { background: var(--ink); color: #F2F4F6; }
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; padding-top: 14px; padding-bottom: 14px; }
.bar.slim { justify-content: space-between; max-width: 1120px; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--white); text-decoration: none; font-weight: 800; font-size: 24px; font-stretch: 80%; }
.brand:hover { color: var(--white); }
.brand.footbrand { color: var(--ink); font-size: 22px; }
.brand.footbrand:hover { color: var(--ink); }
.mainnav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; flex: 1 1 auto; font-size: 15px; }
.mainnav a, .quiet { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #D9DFE5; text-decoration: none; font-size: 15px; }
.mainnav a:hover, .quiet:hover { color: var(--white); }
.soon { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 7px; border-radius: 999px; border: 1px solid var(--ink-3); color: var(--night-mute); }
.topcta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
@media (max-width: 900px) {
  .mainnav { display: none; }
  .bar { justify-content: space-between; }
}
@media (max-width: 520px) {
  .topcta .quiet { display: none; }
  .bar { flex-wrap: nowrap; }
  .top .brand { font-size: 20px; }
  .topcta .btn { padding: 0 14px; font-size: 14px; white-space: nowrap; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: 8px; border: 0; font-weight: 700; font-size: 15px; text-decoration: none; }
.btn.big { min-height: 56px; padding: 0 26px; border-radius: 10px; font-size: 18px; }
.btn.block { display: flex; width: 100%; }
.btn.go { background: var(--green); color: var(--white); }
.btn.go:hover { background: var(--green-dark); color: var(--white); }
.btn.ink { background: var(--ink); color: var(--white); }
.btn.ink:hover { background: #0F1720; color: var(--white); }
.btn.outline { border: 1px solid #4E5A66; color: var(--white); font-weight: 600; background: transparent; }
.btn.outline:hover { border-color: #8693A0; color: var(--white); }

/* ---------- type ---------- */
.eyebrow { margin: 0 0 14px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-dark); }
.eyebrow.mint { color: var(--mint); }
.eyebrow.grey { color: var(--ink-3); }
h1, h2, h3 { margin: 0; }
h2 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.02; font-weight: 800; font-stretch: 72%; }
h2.narrow { max-width: 760px; }
h2.white { color: var(--white); }
.sub { margin: 18px 0 0; font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.lede { margin: 26px 0 0; max-width: 700px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--night-text); }
.fine { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.fine.light, .fine.light a { color: var(--night-mute); }
.muted { margin-top: 6px; font-size: 15px; color: var(--night-mute); }
.mint { color: var(--mint); }

/* ---------- sections ---------- */
.band { padding: 96px 0; }
.band.white { background: var(--white); }
.band.paper { background: var(--paper); }
.dark { background: var(--ink); color: #F2F4F6; }
.hero { padding: 64px 0 0; }
.hero h1 { max-width: 940px; font-size: clamp(44px, 6.6vw, 88px); line-height: 0.96; font-weight: 800; font-stretch: 70%; letter-spacing: -0.01em; color: var(--white); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.ticks { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-family: var(--mono); font-size: 13px; color: var(--night-mute); }
.ticks li { display: flex; align-items: center; gap: 8px; }
.heroshot { margin: 52px 0 -150px; border-radius: 14px; overflow: hidden; background: var(--white); box-shadow: 0 32px 64px rgba(8, 14, 22, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.heroshot img { display: block; width: 100%; height: auto; }
.afterhero { padding-top: 210px; }
@media (max-width: 700px) {
  .heroshot { margin-bottom: -60px; }
  .afterhero { padding-top: 120px; }
  .band { padding: 72px 0; }
}

/* problem */
.intro { max-width: 760px; }
.intro .sub { font-size: 19px; }
.compare { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 44px; }
.compare > div { flex: 1 1 420px; min-width: 0; padding: 30px 32px; }
.byhand { background: var(--paper-2); border: 1px solid #CCD3DA; border-radius: 12px; }
.withus { background: var(--white); border-top: 5px solid var(--ink); border-radius: 4px 4px 12px 12px; box-shadow: 0 10px 24px rgba(24, 34, 46, 0.10); }
.compare ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; font-size: 18px; line-height: 1.45; }
.byhand ul { color: var(--ink-2); }
.compare li { display: flex; gap: 14px; }
.compare li svg { flex: 0 0 auto; margin-top: 2px; }
.compare .eyebrow { margin-bottom: 20px; }

/* steps */
.steps { list-style: none; padding: 0; margin: 52px 0 0; display: flex; flex-wrap: wrap; gap: 32px; }
.steps li { flex: 1 1 300px; min-width: 0; border-top: 2px solid var(--ink); padding-top: 24px; }
.steps .num { font-family: var(--mono); font-size: 14px; color: var(--ink-3); }
.steps h3 { margin: 12px 0; font-size: 28px; line-height: 1.1; font-weight: 750; font-stretch: 80%; }
.steps p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-2); }

/* tour */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 24px; }
.tabs button { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--white); color: var(--ink); font-size: 16px; font-weight: 600; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.panel { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; background: var(--white); border-radius: 16px; padding: clamp(24px, 3vw, 40px); }
.panel + .panel { margin-top: 20px; }
.js .panel + .panel { margin-top: 0; }
.paneltext { flex: 1 1 300px; min-width: 0; }
.paneltext h3 { margin: 0 0 18px; font-size: 32px; line-height: 1.05; font-weight: 800; font-stretch: 75%; }
.paneltext ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 12px; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.panelshot { flex: 2 1 560px; min-width: 0; height: 470px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.panelshot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
@media (max-width: 700px) { .panelshot { height: 300px; } }

/* cards */
.cards { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 48px; }
.card { flex: 1 1 320px; min-width: 0; border: 1px solid var(--line); border-radius: 12px; padding: 28px; }
.card .icon { width: 46px; height: 46px; border-radius: 10px; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.card h3 { margin: 20px 0 10px; font-size: 22px; line-height: 1.15; font-weight: 750; font-stretch: 85%; }
.card p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }

/* calculator */
.calc { display: flex; flex-wrap: wrap; gap: 40px; align-items: stretch; }
.calcinputs { flex: 1 1 440px; min-width: 0; }
.calcinputs .field { margin-top: 28px; max-width: 520px; }
.calcinputs .field:first-of-type { margin-top: 36px; }
.labelrow { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.calcinputs label { font-size: 17px; font-weight: 650; }
.calcinputs output { font-family: var(--mono); font-size: 20px; font-weight: 500; }
.calcinputs input[type=range] { width: 100%; height: 32px; margin-top: 8px; accent-color: var(--green); }
.money { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 20px; color: var(--ink-2); }
.money input { width: 130px; min-height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--white); font-size: 18px; color: var(--ink); }
.calcresult { flex: 1 1 400px; min-width: 0; border-radius: 16px; padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.bignum { font-size: clamp(56px, 7vw, 92px); line-height: 0.95; font-weight: 800; font-stretch: 68%; color: var(--white); }
.bignum + .muted { margin-top: 10px; font-size: 18px; }
.pair { display: flex; flex-wrap: wrap; gap: 22px 44px; border-top: 1px solid rgba(255, 255, 255, 0.16); padding-top: 24px; }
.midnum { font-size: 34px; font-weight: 750; font-stretch: 85%; }

/* pricing */
.plans { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 48px; align-items: stretch; }
.plan { flex: 1 1 440px; min-width: 0; border: 2px solid var(--ink); border-radius: 16px; padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 24px; }
.plan.upcoming { flex-basis: 380px; border: 2px dashed var(--line-2); background: #F5F7F8; gap: 20px; }
.planhead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.planhead h3 { font-size: 30px; font-weight: 800; font-stretch: 78%; }
.pill { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.pill.green { background: var(--green-soft); color: var(--green-dark); }
.pill.amber { background: var(--amber-soft); color: var(--amber); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; font-size: 18px; color: var(--ink-2); }
.price span { font-size: 72px; line-height: 1; font-weight: 800; font-stretch: 68%; color: var(--ink); }
.plan ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 17px; line-height: 1.45; }
.plan li { display: flex; gap: 12px; }
.plan li svg { flex: 0 0 auto; margin-top: 2px; }
.planfoot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.planfoot p { margin: 0; text-align: center; font-size: 14px; color: var(--ink-2); }
.plan.upcoming .sub { margin: 0; }
.group { margin: 28px 0 0; font-size: 17px; color: var(--ink-2); }

/* waitlist */
.waitlist { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.waitlist label { flex: 1 1 100%; font-size: 15px; font-weight: 600; }
.waitlist input[type=email] { flex: 1 1 220px; min-width: 0; min-height: 50px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--white); font-size: 17px; color: var(--ink); }
.waitlist .btn { min-height: 50px; }
.waitlist.ondark { margin-top: 30px; max-width: 560px; }
.waitlist.ondark label { color: #D9DFE5; }
.waitlist.ondark input[type=email] { border-color: var(--ink-3); background: var(--night-2); color: var(--white); }
.formerror { flex: 1 1 100%; margin: 0; color: var(--red); font-size: 15px; }
.waitlist.ondark .formerror { color: #FF9C93; }
.joined { margin: auto 0 0; padding: 16px 18px; border-radius: 10px; background: var(--green-soft); color: var(--green-dark); font-size: 17px; font-weight: 600; }
.joined.ondark { margin-top: 30px; padding: 0; background: none; color: var(--mint); font-size: 18px; }

/* scanner */
.scanner { padding: 104px 0; }
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.half { flex: 1 1 460px; min-width: 0; }
.scanner h2 { font-size: clamp(36px, 4.6vw, 62px); line-height: 1; font-stretch: 70%; }
.scanner .lede { margin-top: 22px; max-width: 560px; font-size: 19px; line-height: 1.55; }
.invoice { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px; }
.paper-invoice { flex: 1 1 230px; max-width: 290px; background: var(--white); color: var(--ink); border-radius: 6px; padding: 22px 20px; font-family: var(--mono); font-size: 13px; line-height: 1.5; transform: rotate(-2deg); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35); }
.paper-invoice .row, .bill .row { display: flex; justify-content: space-between; gap: 8px; }
.paper-invoice .strong { font-weight: 500; }
.paper-invoice .grey { color: var(--ink-3); }
.paper-invoice .lines { border-top: 1px dashed var(--line-2); margin: 12px 0; padding-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.paper-invoice .total { border-top: 1px dashed var(--line-2); padding-top: 10px; }
.bill { flex: 1 1 230px; max-width: 290px; background: var(--night-2); border: 1px solid var(--night-line); border-radius: 12px; padding: 22px 20px; display: flex; flex-direction: column; gap: 12px; }
.billhead { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--night-mute); }
.bill .row { font-size: 15px; }
.bill .row span:first-child { color: var(--night-mute); }
.bill .ok { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 14px; color: var(--mint); }

/* founder */
.founder { margin: 0; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; max-width: 980px; }
.avatar { flex: 0 0 auto; width: 96px; height: 96px; border-radius: 50%; background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 40px; font-weight: 800; font-stretch: 75%; }
.founder > div:last-child { flex: 1 1 480px; min-width: 0; }
.founder blockquote { margin: 0; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.38; font-weight: 500; }
.founder figcaption { margin-top: 20px; font-size: 17px; color: var(--ink-2); }

/* faq */
.faqwrap { align-items: flex-start; gap: 40px; }
.faqintro { flex: 1 1 300px; min-width: 0; }
.faqintro .sub { font-size: 17px; line-height: 1.6; }
.faqs { flex: 2 1 560px; min-width: 0; border-top: 1px solid var(--line); }
.faqs details { border-bottom: 1px solid var(--line); }
.faqs summary { min-height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-size: 19px; font-weight: 650; cursor: pointer; list-style: none; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: ""; flex: 0 0 auto; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); margin: -6px 6px 0 0; transition: transform 0.15s; }
.faqs details[open] summary::after { transform: rotate(225deg); margin-top: 6px; }
.faqs details p { margin: 0 0 22px; max-width: 680px; font-size: 17px; line-height: 1.6; color: var(--ink-2); }

/* closing */
.closing { padding: 88px 0; }
.closingrow { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: center; justify-content: space-between; }
.closingrow h2 { flex: 1 1 520px; min-width: 0; font-size: clamp(34px, 4.4vw, 58px); line-height: 1; font-stretch: 70%; }
.closingrow .ctas { margin-top: 0; }

/* footer */
.foot { background: var(--paper); padding: 48px 0 56px; color: var(--ink-2); font-size: 14px; }
.foot .wrap { display: flex; flex-direction: column; gap: 24px; }
.footrow { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; }
.footrow nav { display: flex; flex-wrap: wrap; gap: 0 22px; font-size: 15px; }
.footrow nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); }
.foot p { margin: 0; max-width: 820px; line-height: 1.6; }

/* ---------- trial pages ---------- */
.trial { max-width: 1120px; padding-top: 48px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.sheet { flex: 1 1 560px; min-width: 0; background: var(--white); border-top: 5px solid var(--ink); border-radius: 4px 4px 16px 16px; padding: clamp(28px, 4vw, 48px); box-shadow: 0 12px 28px rgba(24, 34, 46, 0.10); }
.sheet h1 { font-size: clamp(36px, 4.4vw, 54px); line-height: 1; font-weight: 800; font-stretch: 70%; }
.sheet .sub { margin-top: 14px; }
.sheet.small { border-top: 0; border-radius: 16px; padding: 30px; box-shadow: none; }
.sheet.small.dark { background: var(--ink); color: #F2F4F6; padding: 26px 30px; }
.sheet.small h2 { margin: 0 0 20px; font-size: 26px; line-height: 1.1; font-weight: 800; font-stretch: 78%; }
.aside { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.aside .sheet { flex: 0 0 auto; }
.next { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 18px; }
.next li { display: flex; gap: 14px; }
.next .dot { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 13px; }
.next b, .choice b { display: block; font-size: 17px; font-weight: 650; }
.next small, .choice small { display: block; margin-top: 3px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.asideticks { list-style: none; padding: 0; margin: 0 0 4px; display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.asideticks li { display: flex; gap: 10px; align-items: center; }
.sheet.small.dark .fine { margin-top: 18px; }

.trialform { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 24px; }
.trialform .field { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.trialform .field.full { flex-basis: 100%; }
.field label, .field legend, fieldset legend { font-size: 15px; font-weight: 650; }
.field input, .field select, .field textarea { min-height: 52px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 8px; font-size: 17px; color: var(--ink); background: var(--white); }
.field textarea { padding: 12px 14px; min-height: 0; resize: vertical; }
.field input[aria-invalid="true"] { border-color: var(--red); }
.fielderror { margin: 0; color: var(--red); font-size: 15px; }
.errorsum { margin-top: 20px; padding: 14px 16px; border-radius: 10px; background: #FBE9E7; color: #8C2118; font-weight: 600; }
fieldset { margin: 0; padding: 0; border: 0; }
.choices { gap: 10px; }
.choices legend { padding: 0; margin-bottom: 10px; }
.choice { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 10px; cursor: pointer; font-weight: 400; }
.choice small { font-weight: 400; }
.choice:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--green); flex: 0 0 auto; }
.choice em { font-style: normal; font-weight: 400; color: var(--green-dark); }
.trialform .btn { margin-top: 4px; }
.trialform .fine { flex-basis: 100%; }

.badge { width: 56px; height: 56px; border-radius: 50%; background: var(--green-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.dlrow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 22px; }
.callbox { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 24px; }
.callbox h2 { font-size: 28px; line-height: 1.1; font-stretch: 78%; }
.callbox .sub { font-size: 17px; margin-top: 10px; }
.callform { display: flex; flex-direction: column; gap: 18px; margin-top: 20px; }
.callform legend { margin-bottom: 10px; }
.callform .field { display: flex; flex-direction: column; gap: 8px; max-width: 520px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pillopt { position: relative; }
.pillopt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pillopt span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--white); font-size: 16px; font-weight: 600; cursor: pointer; }
.pillopt input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pillopt input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.narrowpage { max-width: 760px; padding-top: 56px; padding-bottom: 80px; }
.narrowpage .btn { margin-top: 26px; }
.prose h2 { margin: 30px 0 8px; font-size: 24px; line-height: 1.15; font-stretch: 85%; }
.prose p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.prose .fine { margin-top: 10px; }

/* admin */
.admin { padding-top: 40px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 24px; }
.admin .sheet { flex: none; border-top-width: 3px; }
.adminhead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.adminhead h2 { font-size: 26px; font-stretch: 80%; }
.count { font-family: var(--mono); font-size: 15px; color: var(--ink-3); }
.quietdark { color: var(--ink-2); font-size: 15px; }
.tablewrap { overflow-x: auto; }
.admin table { border-collapse: collapse; width: 100%; font-size: 14px; }
.admin th, .admin td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin th { font-weight: 650; color: var(--ink-2); text-transform: capitalize; white-space: nowrap; }

/* license key */
.keybox { margin-top: 28px; padding: 22px 24px; border-radius: 12px; background: var(--paper-2); border: 1px solid var(--line); }
.keylabel { margin: 0 0 10px; font-size: 15px; font-weight: 650; }
.keyrow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 12px; }
.key { font-family: var(--mono); font-size: clamp(15px, 3.9vw, 22px); font-weight: 500; letter-spacing: 0.02em; padding: 10px 14px; border-radius: 8px; background: var(--white); border: 1px solid var(--line-2); user-select: all; }
.key.small { font-size: 14px; padding: 4px 8px; letter-spacing: 0.02em; }
.keyrow .btn { min-height: 48px; }
.keyline { margin-top: 28px; }
.keyline code { font-family: var(--mono); }
@media (max-width: 520px) { .keybox { padding: 18px 16px; } .key { padding: 8px 10px; } }
.plainlist { margin: 22px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 17px; line-height: 1.55; color: var(--ink-2); }

/* admin tools */
.notice { margin: 0; padding: 14px 18px; border-radius: 10px; background: var(--green-soft); color: var(--green-dark); font-weight: 600; }
.admin td code, .setup code { font-family: var(--mono); font-size: 13px; overflow-wrap: anywhere; }
.admin td .fine { font-size: 13px; }
.actions { display: flex; flex-wrap: wrap; gap: 6px; }
.actions form { margin: 0; }
.actions button { min-height: 32px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--white); color: var(--ink); font-size: 13px; font-weight: 600; white-space: nowrap; }
.actions button:hover { border-color: var(--ink); }
.newkey { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.newkey h3 { flex-basis: 100%; font-size: 20px; font-stretch: 85%; }
.newkey .field { flex: 1 1 180px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.newkey .field.wide { flex-basis: 360px; }
.newkey .field input, .newkey .field select { min-height: 44px; font-size: 15px; }
.setup { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 10px 20px; margin: 0; font-size: 15px; }
.setup dt { font-weight: 650; color: var(--ink-2); }
.setup dd { margin: 0; min-width: 0; }
.secret { margin-top: 20px; }
.secret summary { cursor: pointer; font-weight: 650; min-height: 44px; display: flex; align-items: center; }
.secret .fine { margin: 6px 0 10px; }
@media (max-width: 600px) { .setup { grid-template-columns: 1fr; } }

/* the page after paying: get the app */
.getapp { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 26px; }
.getapp h2 { font-size: 28px; line-height: 1.1; font-stretch: 78%; }
.getapp .sub { font-size: 17px; margin-top: 10px; }
.getapp .dlrow { margin-top: 18px; }
.narrowpage .getapp .btn { margin-top: 0; }
