/* BooProxies. Clean white pages, aubergine ink, a violet accent for anything
   you act on, and ectoplasm green for the moments that glow: the ghost's eyes,
   highlights, and every dark section. */
@font-face { font-family: "Geist"; src: url("/static/fonts/geist-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/static/fonts/geist-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/static/fonts/geist-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/static/fonts/bricolage-grotesque-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/static/fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/static/fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/static/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --ink: #15111e;
  --ink-soft: #5b5568;
  --night: #15111e;
  --night-2: #221c30;
  --code: #1b1626;
  --mist: #f6f4fa;
  --cloud: #fbfafd;
  --haze: #e9e4f2;
  --paper: #ffffff;
  --line: #d9d3e4;
  --hair: #ece8f2;
  --accent: #5b3fd0;
  --accent-deep: #4327b0;
  --accent-soft: #efebfd;
  --lime: #c8f169;
  --lime-deep: #a8d63f;
  --lime-soft: #f1fbd9;
  --green: #0f7a4f;
  --red: #b42318;
  --body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 40px);
  --r1: 10px;
  --r2: 16px;
  --r3: 24px;
  --float: 0 1px 2px rgba(21, 17, 30, 0.04), 0 18px 44px -18px rgba(21, 17, 30, 0.22);
  --ease: 0.18s cubic-bezier(0.3, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1rem; line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
main { flex: 1; }
img, svg { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; transition: color var(--ease); }
a:hover { color: var(--accent-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--lime); color: var(--ink); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.06; letter-spacing: -0.025em; margin: 0 0 0.45em; text-wrap: balance; }
h1 { font-size: clamp(2.05rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 2.9vw, 2.2rem); margin-top: 1.6em; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.015em; margin-top: 1.4em; }
h2 a, h3 a, th a { color: inherit; text-decoration: none; }
h2 a:hover, h3 a:hover, th a:hover { color: var(--accent); text-decoration: underline; text-decoration-thickness: 2px; }
section > h2:first-child, .wrap > h2:first-child, div > h2:first-child, form > h2:first-child, article > h2:first-child, li > h2:first-child, li > h3:first-child { margin-top: 0; }
p { margin: 0 0 1em; }
ul, ol { padding-inline-start: 1.2em; }
li { margin-bottom: 0.35em; }
code, .line, pre { font-family: var(--mono); font-size: 0.875rem; }
p code, li code, td code, dd code, th code { background: var(--cloud); border: 1px solid var(--hair); border-radius: 4px; padding: 1px 5px; overflow-wrap: anywhere; }
.lead { font-size: 1.15rem; line-height: 1.55; max-width: 56ch; color: var(--ink-soft); }
.muted, .hint, .sub { color: var(--ink-soft); }
.hint { font-size: 0.9rem; margin-top: 0.35em; }
.sub { display: block; font-size: 0.875rem; font-weight: 400; }
.measure { max-width: 68ch; }
.num { text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.neg { color: var(--red); }
.pos { color: var(--green); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 60; border-radius: var(--r1); }
.skip:focus { inset-inline-start: 8px; }
.icon { flex: none; color: var(--ink); }
/* The icon family: an ink outline with one accent part in magenta (pink on dark). */
.icon .a { stroke: var(--icon-accent, var(--accent)); }
.icon .af { fill: var(--icon-accent, var(--accent)); stroke: none; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline-start: var(--gutter); padding-inline-end: var(--gutter); }
.pad { padding-top: clamp(32px, 5.5vw, 64px); padding-bottom: clamp(32px, 5.5vw, 64px); }
.narrow-left { max-width: 860px; margin-inline-start: max(0px, calc((100% - 1180px) / 2)); }
.band { background: var(--mist); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.section-head { margin-bottom: 22px; }
.section-head h2 { margin: 0 0 6px; }
.section-head p { margin: 0; color: var(--ink-soft); max-width: 62ch; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 56px; align-items: start; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--hair); transition: box-shadow var(--ease); }
.site-head.scrolled { box-shadow: 0 8px 24px -18px rgba(21, 17, 30, 0.55); }
.head-row { display: flex; align-items: center; gap: 10px 26px; padding-top: 10px; padding-bottom: 10px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 800; font-size: 1.4rem; line-height: 1; color: var(--ink); text-decoration: none; letter-spacing: -0.035em; }
.brand b { font-weight: 800; }
.brand em { font-style: normal; font-weight: 500; color: var(--ink-soft); }
.brand:hover { color: var(--ink); }
.mark { color: var(--ink); flex: none; transition: transform 0.35s cubic-bezier(0.3, 0, 0.2, 1); transform-origin: 50% 60%; }
.mark .eye { fill: var(--lime); }
.brand:hover .mark { transform: translateX(3px) rotate(4deg); }
.brand small { font-family: var(--body); font-size: 0.75rem; font-weight: 600; background: var(--lime); color: var(--ink); padding: 3px 8px; border-radius: 999px; letter-spacing: 0; }
.main-nav { display: flex; align-items: center; gap: 2px 4px; flex: 1; flex-wrap: wrap; }
.main-nav > a, .menu-trigger { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: 0.95rem; padding: 8px 12px; border-radius: 999px; transition: background var(--ease), color var(--ease); }
.main-nav > a:hover, .menu-trigger:hover, .menu.open .menu-trigger { background: var(--mist); color: var(--ink); }
.main-nav > a[aria-current="page"] { color: var(--ink); background: var(--mist); }
.menu-trigger svg { transition: transform var(--ease); }
.menu.open .menu-trigger svg { transform: rotate(180deg); }
.menu { position: relative; }
.menu-panel { display: none; position: absolute; top: calc(100% + 12px); border-radius: var(--r3) !important; padding: 12px !important; inset-inline-start: -12px; width: min(620px, 92vw); background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r2); box-shadow: var(--float); padding: 10px; grid-template-columns: 1fr 1fr; gap: 2px; }
.menu.open .menu-panel { display: grid; animation: drop 0.16s ease-out; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.menu-panel a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; color: var(--ink); text-decoration: none; transition: background var(--ease); }
.menu-panel a:hover { background: var(--mist); }
.menu-panel .icon { color: var(--ink); background: var(--mist); border-radius: 10px; padding: 8px; width: 40px; height: 40px; }
.menu-panel strong { display: block; font-weight: 600; line-height: 1.2; }
.menu-panel small { color: var(--ink-soft); font-size: 0.875rem; }
.head-end { display: flex; align-items: center; gap: 16px; margin-inline-start: auto; }
.head-end form { margin: 0; }
.head-end > a:not(.btn):not(.balance) { color: var(--ink); font-weight: 500; text-decoration: none; }
.head-end > a:not(.btn):not(.balance):hover { text-decoration: underline; }
.balance { font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--ink); text-decoration: none; padding: 3px 12px; border-radius: 999px; background: var(--lime); transition: box-shadow var(--ease); }
.balance:hover { color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.count { display: inline-block; font-family: var(--body); font-size: 0.78rem; font-weight: 600; line-height: 1; background: var(--accent); color: #fff; padding: 3px 7px; border-radius: 999px; margin-inline-start: 6px; }
.admin .main-nav { gap: 2px; flex-wrap: nowrap; }
.admin .main-nav > a { padding: 8px 5px; font-size: 0.9rem; white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1240px) { .admin .main-nav > a { padding: 8px 3px; font-size: 0.84rem; } .admin .head-end a { font-size: 0.9rem; } }
@media (max-width: 960px) { .admin .main-nav { flex-wrap: wrap; } }
.nav-toggle { display: none; margin-inline-start: auto; background: none; border: 1px solid var(--hair); border-radius: 12px; padding: 8px; color: var(--ink); cursor: pointer; }

/* ---------- buttons and forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: 0.95rem; line-height: 1.2; padding: 11px 18px; border: 1.5px solid var(--ink); border-radius: 12px; background: var(--ink); color: #fff; text-decoration: none; cursor: pointer; transition: background var(--ease), border-color var(--ease), color var(--ease), transform var(--ease), box-shadow var(--ease); }
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 22px -12px var(--accent); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn.ghost { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--ink); box-shadow: 0 10px 22px -14px rgba(21, 17, 30, 0.5); }
.btn.light { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.btn.light:hover { background: #fff; border-color: #fff; color: var(--ink); box-shadow: 0 10px 26px -12px var(--lime); }
.btn.outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn.outline-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; color: #fff; }
.btn.small { padding: 7px 14px; font-size: 0.9rem; border-radius: 10px; }
.btn.big { padding: 14px 24px; font-size: 1rem; border-radius: 14px; }
.btn.wide { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
button.link { font: inherit; background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; font-weight: 500; }
.actions { display: flex; gap: 10px 14px; flex-wrap: wrap; align-items: center; }
label { display: block; font-weight: 500; }
input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="search"], input:not([type]), select, textarea {
  display: block; width: 100%; margin-top: 5px; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 10px 13px; min-height: 44px; transition: border-color var(--ease), box-shadow var(--ease);
}
input:hover, select:hover, textarea:hover { border-color: var(--ink-soft); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(91, 63, 208, 0.16); }
textarea { resize: vertical; }
textarea[readonly] { font-family: var(--mono); font-size: 0.875rem; line-height: 1.6; white-space: pre; overflow: auto; }
input::placeholder, textarea::placeholder { color: #9a93a8; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--accent); width: 18px; height: 18px; }
.narrow-input { max-width: 6.5em; }
fieldset { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
legend { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; font-size: 1.2rem; padding: 0; margin-bottom: 8px; }
.stack > * + * { margin-top: 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; flex: none; }
.inline-form { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; margin: 0 0 8px; }
.inline-form label { flex: 1 1 180px; max-width: 320px; }
.inline-form > p { flex-basis: 100%; margin: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: end; margin: 16px 0; }

.flash { border: 1px solid #bfe3cf; background: #ecf8f1; padding: 12px 16px; margin: 16px 0; overflow-wrap: anywhere; border-radius: var(--r1); }
.flash.error { border-color: #f3c6c1; background: #fdf0ee; }
.notice { background: #f1fbd9; border: 1px solid #d3ec98; border-radius: var(--r2); padding: 12px 14px; margin: 0 0 20px; }
.notice > :last-child { margin-bottom: 0; }
ul.plain, ul.plainlist { list-style: none; padding: 0; margin: 0 0 1em; }
ul.plainlist li { padding-inline-start: 18px; position: relative; margin-bottom: 8px; }
ul.plainlist li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.62em; width: 8px; height: 2px; background: var(--accent); }

/* ---------- hero ---------- */
/* reassurance rows: short promises the site keeps, each with an icon */
.assure { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-soft); font-size: 0.95rem; }
.assure li { display: flex; gap: 8px; align-items: flex-start; margin: 0; max-width: 34ch; line-height: 1.35; }
.assure .icon { margin-top: 1px; --icon-accent: var(--green); }
.assure.hero-assure { flex-direction: column; gap: 8px; }
.assure.hero-assure li { max-width: none; }
.assure.compact { flex-direction: column; gap: 8px; margin: 16px 0 0; font-size: 0.9rem; }
.assure.auth-assure { max-width: 440px; margin: 20px auto 0; justify-content: center; }
.assure.auth-assure li { flex: 1 1 190px; }
.foot-pay { display: flex; gap: 8px; align-items: center; margin: 0 0 8px !important; font-size: 0.92rem; }
.foot-pay .icon { --icon-accent: var(--green); }
.product-badge { display: inline-flex; width: 64px; height: 64px; align-items: center; justify-content: center; border-radius: 16px; background: var(--paper); border: 1px solid var(--hair); margin-bottom: 14px; }
.calc-buy { margin: 14px 0 0; }
.next-steps { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 12px; max-width: 560px; }
.next-steps li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.next-steps .icon { margin-top: 2px; }
.hero-note { display: flex; gap: 8px; align-items: center; color: var(--ink-soft); font-size: 0.95rem; margin: 18px 0 0; }

/* Cards that hold a form: white, soft border, a long low shadow. */
.builder, .auth-card { background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r3); padding: clamp(18px, 3vw, 30px); box-shadow: var(--float); }
.builder > * + * { margin-top: 14px; }
.builder-title { font-family: var(--display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
.line { display: block; background: var(--code); color: var(--lime); padding: 14px 16px; border-radius: var(--r1); font-size: 0.85rem; overflow-wrap: anywhere; min-height: 3.4em; line-height: 1.5; }

.facts-band { background: var(--ink); color: #fff; }
.facts-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0; margin: 0; }
.facts-row > div { padding: 22px 20px 20px 0; display: flex; flex-direction: column-reverse; }
.facts-row > div + div { padding-inline-start: 24px; border-inline-start: 1px solid rgba(255, 255, 255, 0.16); }
.facts-row dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: 2.4rem; line-height: 1; font-variant-numeric: tabular-nums; }
.facts-row dt { color: #b3abc6; font-size: 0.95rem; margin-top: 4px; }

/* ---------- analytics (admin) ---------- */
.range { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; }
.range a { padding: 6px 14px; border: 1px solid var(--hair); border-radius: 999px; background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.range a:hover { border-color: var(--ink-soft); }
.range a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.live { margin: 0; }
.stat-row.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.chart-card { margin: 0 0 28px; background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r2); padding: 20px 22px 14px; }
.chart-card figcaption h2 { margin: 0 0 2px; font-size: 1.5rem; }
.chart-card figcaption p { margin: 0 0 10px; font-size: 0.92rem; }
.chart-scroll { overflow-x: auto; }
.chart-bars { display: block; width: 100%; min-width: 620px; height: auto; }
.chart-bars .grid { stroke: var(--hair); stroke-width: 1; }
.chart-bars text { font-family: var(--body); font-size: 12px; fill: var(--ink-soft); font-variant-numeric: tabular-nums; }
.chart-bars .bar path { fill: var(--ink); transition: fill var(--ease); }
.chart-bars .bar.partial path { fill: var(--line); }
.chart-bars .bar .hit { fill: transparent; }
.chart-bars .bar:hover .hit { fill: var(--cloud); }
.chart-bars .bar:hover path { fill: var(--accent); }
.chart-table { border: 0; margin-top: 6px; }
.chart-table summary { font-size: 0.92rem; font-weight: 500; padding: 8px 26px 8px 0; display: inline-block; color: var(--ink-soft); }
.chart-table .table-wrap { margin: 8px 0 6px; max-height: 320px; overflow-y: auto; }
.tip { position: absolute; z-index: 60; pointer-events: none; background: var(--code); color: #fff; font-size: 0.85rem; line-height: 1.3; padding: 6px 10px; border-radius: var(--r1); white-space: nowrap; box-shadow: var(--float); }
.rank-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; margin: 0 0 30px; align-items: start; }
.rank { background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r2); padding: 18px 20px 10px; min-width: 0; }
.rank h2 { font-size: 1.3rem; margin: 0 0 8px; }
.rank thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.rank th, .rank td { padding: 7px 0; border-bottom: 1px solid var(--hair); vertical-align: middle; }
.rank tbody th { font-weight: 400; width: 100%; max-width: 0; }
.rank td.num { padding-inline-start: 16px; white-space: nowrap; text-align: end; font-weight: 600; font-variant-numeric: tabular-nums; }
.rank-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-name code { background: none; border: 0; padding: 0; }
.rank-bar { display: block; width: 100%; height: 4px; margin-top: 5px; }
.rank-bar rect { fill: var(--line); }

/* ---------- blog ---------- */
.blog-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 34px; }
.blog-cats a { display: inline-flex; align-items: baseline; gap: 8px; padding: 7px 14px; background: var(--paper); border: 1px solid var(--hair); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; transition: border-color var(--ease), color var(--ease); }
.blog-cats a:hover { border-color: var(--accent); color: var(--accent-deep); }
.blog-cats small { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.blog-group { padding: 26px 0 8px; border-top: 2px solid var(--ink); }
.blog-group .section-head { margin-bottom: 14px; }
.blog-links { list-style: none; padding: 0; margin: 0 0 18px; columns: 4 200px; column-gap: 28px; }
.blog-links li { margin: 0; padding: 5px 0; break-inside: avoid; }
.blog-links a { color: var(--ink); text-decoration-color: var(--line); }
.blog-links a:hover { color: var(--accent-deep); text-decoration-color: currentColor; }
.blog-cards { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.blog-cards li { margin: 0; background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r2); padding: 18px 20px; }
.blog-cards h2 { font-size: 1.4rem; font-weight: 600; margin: 0 0 6px; }
.blog-cards p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
.kicker { margin: 0 0 8px; font-size: 0.9rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.kicker a { color: var(--accent); text-decoration: none; }
.post-head { max-width: 760px; margin-bottom: 30px; }
.post-head .lead { max-width: none; }
.post-meta { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }
.post-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.post-body { max-width: 720px; min-width: 0; }
.post-body h2 { font-size: 1.75rem; margin-top: 1.7em; }
.post-body > h2:first-child { margin-top: 0; }
.post-body li { margin-bottom: 0.5em; }
.post-body .table-wrap { margin-top: 6px; }
.post-body table.spec th { width: 30%; }
.post-steps { padding-inline-start: 1.3em; }
.post-steps li { padding-inline-start: 4px; }
.post-notes { padding-inline-start: 1.2em; }
/* code in posts keeps its line breaks and scrolls sideways when a line is long */
.post-body .code pre { white-space: pre; overflow-x: auto; }
.code-label { margin: 14px 0 6px; font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); }
.post-products, .post-tools { list-style: none; padding: 0; margin: 0 0 18px; }
.post-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.post-products li { margin: 0; }
.post-products a { display: flex; gap: 12px; align-items: center; padding: 12px 14px; background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r2); color: var(--ink); text-decoration: none; transition: border-color var(--ease); }
.post-products a:hover { border-color: var(--accent); }
.post-products .icon { color: var(--ink); flex: none; }
.post-products strong { display: block; font-family: var(--display); font-size: 1.25rem; font-weight: 600; line-height: 1.1; }
.post-products small { color: var(--ink-soft); }
.post-tools li { margin: 0; padding: 12px 0; border-top: 1px solid var(--hair); display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 4px 20px; }
.post-tools li:last-child { border-bottom: 1px solid var(--hair); }
.post-tools a { font-weight: 600; }
.post-tools span { color: var(--ink-soft); font-size: 0.98rem; }
.post-legal { margin-top: 34px; padding-top: 16px; border-top: 1px solid var(--hair); color: var(--ink-soft); font-size: 0.9rem; }
.post-side { position: sticky; top: 88px; display: grid; gap: 20px; }
.post-card { background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r2); padding: 20px; box-shadow: var(--float); }
.post-card h2 { font-size: 1.5rem; margin: 0 0 12px; }
.post-card dl { margin: 0 0 14px; }
.post-card dl div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--hair); }
.post-card dt { color: var(--ink-soft); font-size: 0.92rem; }
.post-card dd { margin: 0; text-align: end; overflow-wrap: anywhere; }
.post-price { font-family: var(--display); font-weight: 700; font-size: 1.5rem; margin: 0 0 12px; }
.post-related h2 { font-family: var(--body); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 8px; }
.post-related ul { list-style: none; padding: 0; margin: 0 0 10px; }
.post-related li { margin: 0; padding: 6px 0; border-top: 1px solid var(--hair); }
.post-related li a { color: var(--ink); text-decoration: none; }
.post-related li a:hover { color: var(--accent-deep); text-decoration: underline; }
/* ---------- short answers: the part of a page written to be quoted ---------- */
.in-short { background: var(--paper); border: 1px solid var(--hair); border-top: 2px solid var(--ink); border-radius: 0 0 var(--r2) var(--r2); padding: 16px 20px 6px; margin: 0 0 30px; }
.post-body .in-short h2 { font-family: var(--body); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 8px; }
.in-short p { margin: 0 0 12px; font-size: 1.1rem; overflow-wrap: anywhere; }
.in-short dl { margin: 0; }
.in-short dl div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 2px 16px; padding: 8px 0; border-top: 1px solid var(--hair); }
.in-short dt { color: var(--ink-soft); font-size: 0.95rem; }
.in-short dd { margin: 0; overflow-wrap: anywhere; }
.answer-block { border-top: 2px solid var(--ink); padding-top: 14px; margin: 0 0 40px; max-width: 78ch; }
.answer-block h2 { font-size: 1.75rem; margin: 0 0 8px; }
.answer-block p { margin: 0 0 10px; font-size: 1.1rem; }
.answer-block p + p { color: var(--ink-soft); font-size: 1.0625rem; }
.asof { color: var(--ink-soft); font-size: 0.95rem; margin: -8px 0 26px; }
.after-faq { margin-top: 22px; }
.narrow-faq { max-width: 860px; }
h2.after-faq { margin-top: 1.6em; }
.wrap > .post-tools { max-width: 900px; margin-bottom: 22px; }
.post-head .lead.answer { color: var(--ink); }
.gloss-group { margin: 0 0 30px; }
.gloss-group > h2 { font-size: 1.75rem; margin: 0 0 4px; }
.gloss-list { margin: 0; }
.gloss-list > div { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 4px 28px; padding: 12px 0; border-top: 1px solid var(--hair); }
.gloss-list dt { font-weight: 600; }
.gloss-list dt a { color: var(--ink); text-decoration-color: var(--line); }
.gloss-list dt a:hover { color: var(--accent-deep); text-decoration-color: currentColor; }
.gloss-list dd { margin: 0; color: var(--ink-soft); max-width: 70ch; }
.gloss-more { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--hair); }
.crawl-does { display: block; color: var(--ink-soft); font-weight: 400; font-size: 0.875rem; margin-top: 2px; }
/* ---------- tables ---------- */
.table-wrap { position: relative; overflow-x: auto; margin: 0 0 20px; background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r2); }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: start; padding: 13px 16px; vertical-align: top; border-bottom: 1px solid var(--hair); }
tbody tr:last-child > * { border-bottom: 0; }
thead th { font-size: 0.875rem; font-weight: 600; color: var(--ink-soft); background: var(--cloud); white-space: nowrap; vertical-align: bottom; }
tbody th { font-weight: 600; }
tbody tr { transition: background var(--ease); }
table.prices tbody tr:hover, table.data tbody tr:hover { background: var(--cloud); }
table.prices tbody th { font-family: var(--display); font-size: 1.5rem; font-weight: 600; line-height: 1.1; white-space: nowrap; }
table.prices tbody th a { display: inline-flex; align-items: center; gap: 10px; }
table.prices tbody th .icon { color: var(--ink); }
table.prices td { vertical-align: middle; }
table.prices td.num strong { font-family: var(--display); font-size: 1.7rem; font-weight: 700; line-height: 1; }
table.prices.grid td.num { font-family: var(--display); font-size: 1.35rem; font-weight: 600; }
table.prices td.act { text-align: end; white-space: nowrap; }
table.data td code { white-space: nowrap; }
/* volume prices: the same product gets cheaper per GB as the order grows */
table.prices td.num .bulk { display: block; font-size: 0.9rem; font-weight: 500; margin-top: 4px; white-space: nowrap; }
table.prices.volume thead th.num, table.prices.volume td.num { text-align: end; }
table.prices.volume tbody th { font-size: 1.25rem; }
table.prices.volume td.num { color: var(--ink-soft); }
table.prices.volume td.cut { color: var(--ink); }
table.prices.volume td.cut:last-child { color: var(--accent-deep); }
table.volume-one th, table.volume-one td { padding: 9px 16px; }
table.volume-one tbody th { width: auto; color: var(--ink); white-space: nowrap; }
table.volume-one td:last-child { color: var(--green); font-weight: 600; }
.h-small { font-size: 1.2rem; margin: 18px 0 8px; }
.swipe-hint { display: none; margin: -12px 0 20px; }
.volume-note { display: flex; gap: 10px; align-items: flex-start; margin: -4px 0 26px; max-width: 70ch; }
.volume-note .icon { --icon-accent: var(--green); flex: none; margin-top: 2px; }
.saving { display: block; font-size: 0.95rem; color: var(--ink-soft); min-height: 1.5em; }
.saving.on { color: var(--green); font-weight: 500; }
.saving:empty { min-height: 0; }
.calc .gb-row .saving { grid-column: 1 / -1; }
.buy-side .saving { margin: -6px 0 14px; }
.ladder { border: 0; margin-top: 12px; }
.ladder summary { font-size: 0.95rem; font-weight: 600; padding: 4px 0; }
.ladder ul { list-style: none; padding: 0; margin: 6px 0 0; }
.ladder li { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 6px 0; border-top: 1px solid var(--hair); font-size: 0.95rem; }
.ladder li span { color: var(--green); font-weight: 600; }
.was { color: var(--ink-soft); font-weight: 400; font-size: 0.95rem; margin-inline-start: 6px; }
.seo-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 18px; margin: 0 0 18px; }
.seo-card { background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r2); padding: 20px 22px; display: flex; flex-direction: column; }
.seo-card header { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; justify-content: space-between; margin-bottom: 4px; }
.seo-card h3 { margin: 0; }
.seo-card ol { margin: 0 0 16px; padding-inline-start: 1.3em; flex: 1; }
.seo-card li { margin-bottom: 0.5em; }
.seo-card input { font-family: var(--mono); font-size: 0.85rem; }
.copy-line { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.ladder-edit { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 10px 28px; margin: 0 0 20px; }
.ladder-edit > div { display: flex; gap: 14px; align-items: center; }
.ladder-edit label { display: flex; gap: 8px; align-items: center; font-weight: 400; color: var(--ink-soft); white-space: nowrap; }
.ladder-edit input { width: 4.6em; margin: 0; }
table.spec th { width: 34%; font-weight: 500; color: var(--ink-soft); }
table.spec thead th { width: auto; }
table.data th a { font-weight: 600; color: var(--accent-deep); text-decoration: underline; }
td.usage { min-width: 220px; }
progress { appearance: none; -webkit-appearance: none; display: block; width: 100%; height: 8px; border: 0; border-radius: 999px; background: var(--haze); overflow: hidden; }
progress::-webkit-progress-bar { background: var(--haze); }
progress::-webkit-progress-value { background: var(--accent); border-radius: 999px; }
progress::-moz-progress-bar { background: var(--accent); border-radius: 999px; }
.usage-text { display: block; font-size: 0.9rem; color: var(--ink-soft); margin-top: 5px; }
.usage.big .usage-text { font-size: 1rem; color: var(--ink); }

.tag { display: inline-block; font-size: 0.82rem; font-weight: 600; line-height: 1.2; padding: 4px 9px; border-radius: 999px; white-space: nowrap; color: var(--ink-soft); background: var(--mist); }
.tag-active, .tag-fulfilled, .tag-finished { color: #0d4a36; background: #d2ecdf; }
.tag-failed, .tag-cancelled, .tag-refunded { color: #7b1d14; background: #f6d9d5; }
.tag-review, .tag-partially_paid, .tag-processing, .tag-confirming, .tag-confirmed, .tag-sending { color: #3f5208; background: var(--lime); }
.state { display: inline-block; padding-inline-start: 18px; position: relative; font-size: 0.95rem; }
.state::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.5em; width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.state.done::before { background: var(--green); }
.state.todo::before { background: #d19a00; }

/* ---------- landing sections ---------- */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 40px; }
.steps li { counter-increment: step; margin: 0; position: relative; padding-top: 14px; border-top: 2px solid var(--ink); }
.steps li::before { content: counter(step); font-family: var(--display); font-weight: 700; font-size: 3.2rem; line-height: 1; color: var(--accent); display: block; }
.steps h3 { margin-top: 0.2em; }
.steps p { margin: 0; color: var(--ink-soft); }
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r2); overflow: hidden; }
.rules > div { padding: 22px 22px 20px; border-inline-end: 1px solid var(--hair); border-bottom: 1px solid var(--hair); margin: 0 -1px -1px 0; transition: background var(--ease); }
.rules > div:hover { background: var(--cloud); }
.rules .icon { color: var(--ink); margin-bottom: 12px; display: block; width: 32px; height: 32px; }
.rules dt { font-family: var(--display); font-weight: 600; font-size: 1.4rem; line-height: 1.1; margin-bottom: 6px; }
.rules dd { margin: 0; color: var(--ink-soft); }
.country-cloud { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.country-cloud li { margin: 0; }
.country-cloud a { display: block; padding: 6px 12px; background: var(--paper); border: 1px solid var(--hair); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 0.95rem; transition: border-color var(--ease), color var(--ease), transform var(--ease); }
.country-cloud a:hover { border-color: var(--accent); color: var(--accent-deep); transform: translateY(-1px); }
.faq details, details { border-bottom: 1px solid var(--hair); }
.faq details:first-of-type { border-top: 2px solid var(--ink); }
summary { cursor: pointer; font-weight: 600; font-size: 1.12rem; padding: 15px 30px 15px 0; position: relative; list-style: none; transition: color var(--ease); }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; inset-inline-end: 6px; top: 50%; width: 9px; height: 9px; border-inline-end: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: translateY(-70%) rotate(45deg); transition: transform var(--ease); }
details[open] > summary::after { transform: translateY(-30%) rotate(225deg); }
summary:hover { color: var(--accent-deep); }
details p { max-width: 68ch; color: var(--ink-soft); }
.calc { background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r2); padding: 18px 20px; margin: 0 0 16px; }
.calc h3 { margin-top: 0; }
.calc .row3 { margin-bottom: 0; }
.calc .gb-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 28px; align-items: end; }
.calc .gb-row .quick { grid-column: 1 / -1; margin: 0; }
.calc-out { margin: 0; }
.calc-out output, .total output, .bignum { font-family: var(--display); font-weight: 700; font-size: 2.6rem; line-height: 1; display: block; font-variant-numeric: tabular-nums; }
.bignum { font-size: 4rem; margin-bottom: 6px; }
.ticks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 8px 28px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.ticks .icon { --icon-accent: var(--green); margin-top: 2px; }
.cta-band { background: var(--ink); color: #fff; background-image: radial-gradient(120% 140% at 100% 100%, rgba(91, 63, 208, 0.35), transparent 55%); }
.cta-row { display: flex; gap: 20px 40px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding-top: clamp(36px, 6vw, 64px); padding-bottom: clamp(36px, 6vw, 64px); }
.cta-row h2 { margin: 0 0 6px; font-size: clamp(2rem, 4.4vw, 3rem); }
.cta-row p { margin: 0; color: #c4bdd6; max-width: 52ch; }
.cta-row .actions { margin: 0; }

/* ---------- code ---------- */
.tabs, .code { position: relative; background: var(--code); color: #ebe6f6; border-radius: var(--r2); overflow: hidden; min-width: 0; }
.tab-list { display: flex; gap: 2px; padding: 8px 8px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.tab-list button { font: inherit; font-size: 0.92rem; font-weight: 600; color: #a49cb8; background: none; border: 0; padding: 8px 14px; border-radius: 6px 6px 0 0; cursor: pointer; border-bottom: 2px solid transparent; transition: color var(--ease); }
.tab-list button:hover { color: #fff; }
.tab-list button[aria-selected="true"] { color: #fff; border-bottom-color: var(--lime); }
.tab-panel { position: relative; }
.js .tab-panel[hidden] { display: none; }
pre { margin: 0; padding: 18px 20px; overflow-x: auto; line-height: 1.65; tab-size: 2; white-space: pre-wrap; overflow-wrap: anywhere; }
.code pre, .tab-panel pre { padding-inline-end: 86px; }
pre code { background: none; border: 0; padding: 0; color: inherit; }
.tabs .copy, .code .copy { position: absolute; inset-inline-end: 10px; top: 10px; background: rgba(255, 255, 255, 0.08); color: #e3ddf0; border-color: rgba(255, 255, 255, 0.25); }
.tabs .copy:hover, .code .copy:hover { background: #fff; color: var(--ink); }
.code { margin: 0 0 20px; }

/* ---------- product pages ---------- */
.product-hero { background: var(--cloud); border-bottom: 1px solid var(--hair); }
.product-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr); gap: 28px 56px; align-items: center; }
.product-head h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 0.95; }
.price-card { background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r2); padding: 22px; box-shadow: var(--float); }
.price-big { font-family: var(--display); font-weight: 700; font-size: 3.8rem; line-height: 0.95; margin: 0 0 14px; font-variant-numeric: tabular-nums; }
.price-big small { display: block; font-family: var(--body); font-weight: 400; font-size: 1rem; color: var(--ink-soft); margin-top: 4px; }
.points { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 44px; }
.points li { margin: 0; border-top: 2px solid var(--ink); padding-top: 14px; }
.points h2 { font-size: 1.55rem; font-weight: 600; margin: 0 0 6px; }
.points p { margin: 0; color: var(--ink-soft); }
.uses, .other { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.uses li { margin: 0; background: var(--mist); border-radius: var(--r2); padding: 18px 20px; transition: transform var(--ease); }
.wrap > .uses li { background: var(--paper); border: 1px solid var(--hair); }
.uses li:hover { transform: translateY(-2px); }
.uses h2, .uses h3 { font-size: 1.4rem; font-weight: 600; margin: 0 0 4px; }
.uses p { margin: 0; color: var(--ink-soft); }
.other li { margin: 0; }
.other a { display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r2); color: var(--ink); text-decoration: none; transition: border-color var(--ease), transform var(--ease); }
.other a:hover { border-color: var(--accent); transform: translateY(-2px); }
.other .icon { color: var(--ink); }
.other strong { display: block; font-family: var(--display); font-size: 1.35rem; font-weight: 600; line-height: 1.1; }
.other small { color: var(--ink-soft); }
.prose-wide { max-width: 70ch; }
.prose-wide h2 { font-size: 1.6rem; margin-top: 1.4em; }

/* ---------- locations, docs, contact, status ---------- */
.locations { columns: 4 220px; column-gap: 36px; margin-bottom: 20px; }
.loc-group { break-inside: avoid; margin-bottom: 18px; }
.loc-group h2 { font-size: 1.3rem; color: var(--accent); margin: 0 0 4px; border-bottom: 1px solid var(--hair); padding-bottom: 2px; }
.loc-group ul { list-style: none; padding: 0; margin: 0; }
.loc-group li { display: flex; justify-content: space-between; gap: 10px; margin: 0; padding: 3px 0; }
.loc-group a { color: var(--ink); text-decoration: none; }
.loc-group a:hover { color: var(--accent-deep); text-decoration: underline; }
.loc-group small { color: var(--ink-soft); white-space: nowrap; }
.docs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px 56px; align-items: start; }
.docs-nav { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 2px; }
.docs-nav a { color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: var(--r1); border-inline-start: 3px solid transparent; transition: background var(--ease); }
.docs-nav a:hover { background: var(--cloud); }
.docs-nav a[aria-current="page"] { border-inline-start-color: var(--accent); background: var(--paper); font-weight: 600; border-radius: 0 var(--r1) var(--r1) 0; }
.docs-body { max-width: 780px; min-width: 0; }
.docs-body h2 { font-size: 1.7rem; margin-top: 1.5em; }
.doc-steps { list-style: none; counter-reset: d; padding: 0; margin: 0 0 8px; }
.doc-steps > li { counter-increment: d; position: relative; padding: 0 0 6px 54px; margin: 0 0 14px; }
.doc-steps > li::before { content: counter(d); position: absolute; inset-inline-start: 0; top: -2px; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.4rem; display: grid; place-items: center; }
.doc-steps h2 { margin: 0 0 4px; font-size: 1.5rem; }
.docs-help { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--hair); color: var(--ink-soft); }
.contact { list-style: none; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.contact li { display: flex; gap: 16px; background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r2); padding: 20px; margin: 0; }
.contact .icon { color: var(--ink); margin-top: 4px; width: 32px; height: 32px; }
.contact h2 { font-size: 1.5rem; margin: 0 0 4px; }
.contact p { margin: 0 0 8px; }
.status-now { font-family: var(--display); font-weight: 700; font-size: 2rem; display: flex; align-items: center; gap: 12px; margin: 0 0 4px; }
.status-now i, .status-pill i { width: 12px; height: 12px; border-radius: 50%; background: var(--line); flex: none; }
.s-ok i { background: #1d9a6c; box-shadow: 0 0 0 4px rgba(29, 154, 108, 0.2); }
.s-degraded i { background: #d19a00; box-shadow: 0 0 0 4px rgba(209, 154, 0, 0.2); }
.s-down i { background: var(--red); box-shadow: 0 0 0 4px rgba(163, 42, 31, 0.2); }
.days { list-style: none; padding: 0; margin: 18px 0 6px; display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 3px; }
.days li { height: 38px; border-radius: 3px; background: var(--haze); margin: 0; }
.days li.ok { background: #1d9a6c; }
.days li.part { background: #d19a00; }
.days li.bad { background: var(--red); }

/* ---------- dashboard ---------- */
.title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 18px; }
.title-row h1 { margin: 0; }
.crumb { font-size: 0.92rem; color: var(--ink-soft); margin: 0 0 10px; }
.crumb a { color: var(--ink-soft); }
.empty { background: var(--paper); border: 1.5px dashed var(--line); border-radius: var(--r2); padding: 28px; max-width: 560px; }
.empty h2 { margin-top: 0; }
.facts { display: flex; gap: 14px 40px; flex-wrap: wrap; margin: 0 0 22px; }
.facts dt { font-size: 0.9rem; color: var(--ink-soft); }
.facts dd { margin: 0; font-weight: 600; font-size: 1.1rem; }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; margin-bottom: 12px; }
.creds { margin: 0 0 8px; background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r2); overflow: hidden; }
.creds > div { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--hair); }
.creds > div:last-child { border-bottom: 0; }
.creds dt { color: var(--ink-soft); font-size: 0.95rem; }
.creds dd { margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.creds code { overflow-wrap: anywhere; font-weight: 500; background: none; border: 0; padding: 0; }
.copy, .chip { font: inherit; font-size: 0.85rem; font-weight: 600; background: var(--paper); color: var(--ink); border: 1.5px solid var(--line); border-radius: var(--r1); padding: 4px 10px; cursor: pointer; flex: none; transition: background var(--ease), color var(--ease), border-color var(--ease); }
.copy:hover, .chip:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.quick { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 0; }
.gen-controls { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin-bottom: 14px; }
.gen textarea { background: var(--code); color: #ebe6f6; border-color: var(--code); border-radius: var(--r2); padding: 14px 16px; }
.gen .actions { margin-top: 12px; }
#test-result { font-weight: 600; }

.buy { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 28px 44px; align-items: start; }
.choices { background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r2); overflow: hidden; }
.choices legend { float: left; width: 100%; padding: 14px 16px 10px; margin: 0; border-bottom: 1px solid var(--hair); }
.choice { clear: both; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--hair); cursor: pointer; font-weight: 400; transition: background var(--ease), box-shadow var(--ease); }
.choice:last-of-type { border-bottom: 0; }
.choice:hover { background: var(--cloud); }
.choice input { width: 20px; height: 20px; margin: 0; }
.choice:has(input:checked) { background: #fff; box-shadow: inset 5px 0 0 var(--accent); }
.choice-body strong { display: block; font-family: var(--display); font-size: 1.4rem; font-weight: 600; line-height: 1.1; }
.choice-body span { color: var(--ink-soft); font-size: 0.95rem; }
.choice-price { font-family: var(--display); font-weight: 700; font-size: 1.5rem; text-align: end; line-height: 1; white-space: nowrap; }
.choice-price small { display: block; font-family: var(--body); font-weight: 400; font-size: 0.85rem; color: var(--ink-soft); margin-top: 3px; }
.buy-side { position: sticky; top: 88px; background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r2); padding: 22px; box-shadow: var(--float); }
.buy-side fieldset > label + label { margin-top: 14px; }
.total { display: flex; align-items: baseline; justify-content: space-between; border-top: 1px solid var(--hair); padding-top: 14px; margin: 6px 0 16px; }
.pay-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 8px 0 12px; }
.pay-options form { background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r2); padding: 20px; }
.pay-options h2 { font-size: 1.5rem; margin-top: 0; }
.pay-options.crypto-first form:last-child { order: -1; }
.pay-balance { display: flex; justify-content: space-between; align-items: baseline; margin: -6px 0 14px; color: var(--ink-soft); }
.pay-balance strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.pay-buttons { display: grid; gap: 10px; }
.pay-note { display: block; margin-top: 12px; }

/* ---------- sign-in pages ---------- */
.auth-wrap { display: flex; flex-direction: column; align-items: center; padding-top: clamp(28px, 7vw, 72px); padding-bottom: 40px; }
.auth-card { width: 100%; max-width: 430px; }
.auth-card h1 { font-size: 2.3rem; }
.auth-foot { margin: 20px 0 0; font-size: 0.95rem; line-height: 1.8; }
.confirm-email { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 18px; }
.confirm-email p { margin: 0; flex: 1 1 320px; }
form.inline { display: inline; }
.hp { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.auth-alt { margin-bottom: 18px; }
.auth-alt .btn { text-align: center; }
.auth-alt .hint { margin: 10px 0 0; }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 18px 0 0; color: var(--ink-soft); font-size: 0.9rem; }
.auth-or::before, .auth-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* ---------- long-form pages ---------- */
.prose { max-width: 780px; margin-inline-start: max(0px, calc((100% - 1180px) / 2)); }
.prose h2 { font-size: 1.55rem; margin-top: 1.5em; }

/* ---------- footer ---------- */
.site-foot { background: var(--paper); border-top: 1px solid var(--hair); font-size: 0.97rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 28px 32px; padding: 44px 0 30px; }
.foot-brand p { color: var(--ink-soft); max-width: 30ch; margin: 12px 0 14px; }
.site-foot nav { display: flex; flex-direction: column; gap: 7px; }
.site-foot nav h2 { font-family: var(--body); font-size: 0.875rem; font-weight: 600; color: var(--ink-soft); margin: 0 0 4px; letter-spacing: 0; }
.site-foot nav a { color: var(--ink); text-decoration: none; }
.site-foot nav a:hover { color: var(--accent-deep); text-decoration: underline; }
.foot-base { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; padding: 16px 0 20px; border-top: 1px solid var(--hair); color: var(--ink-soft); }
.foot-base p { margin: 0; }
.foot-social { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot-social a { color: var(--ink); text-decoration-color: var(--line); }
.foot-social a:hover { color: var(--accent-deep); text-decoration-color: currentColor; }
.site-foot.slim .foot-base { border-top: 0; }
.status-pill { display: inline-flex; align-items: center; gap: 9px; padding: 6px 13px 6px 11px; border: 1px solid var(--hair); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: border-color var(--ease); }
.status-pill:hover { border-color: var(--ink); color: var(--ink); }
.status-pill i { width: 9px; height: 9px; box-shadow: none; }

/* ---------- support chat ---------- */
.chat { position: fixed; inset-inline-end: 0; bottom: 22px; z-index: 50; }
/* The launcher is a pennant flying from the right edge of the screen. */
.chat-tab { display: flex; align-items: center; gap: 9px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; padding: 12px 18px 12px 30px; clip-path: polygon(16px 50%, 0 0, 100% 0, 100% 100%, 0 100%); transition: padding var(--ease), background var(--ease); position: relative; }
.chat-tab:hover { color: #fff; background: var(--accent); padding-inline-end: 26px; }
.chat-tab .icon { color: #fff; --icon-accent: var(--lime); }
.chat-tab:hover .icon { --icon-accent: #fff; }
.chat-badge { min-width: 20px; height: 20px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 0.78rem; font-weight: 700; display: grid; place-items: center; padding: 0 5px; }
.chat.open .chat-tab { display: none; }
.chat-panel { position: fixed; inset-inline-end: 18px; bottom: 18px; width: min(380px, calc(100vw - 24px)); height: min(560px, calc(100vh - 110px)); background: var(--paper); border-radius: 16px 16px 6px 16px; box-shadow: 0 2px 0 rgba(21, 17, 30, 0.06), 0 28px 70px -20px rgba(21, 17, 30, 0.6); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--hair); animation: rise 0.2s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
.chat-panel > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--ink); color: #fff; padding: 14px 14px 14px 18px; }
.chat-panel > header strong { display: block; font-family: var(--display); font-size: 1.35rem; font-weight: 600; line-height: 1.1; }
.chat-presence { display: block; font-size: 0.85rem; color: #b3abc6; margin-top: 2px; }
.chat-presence.on::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #4fd09c; margin-inline-end: 6px; }
.chat-close { background: none; border: 0; color: #fff; padding: 8px; border-radius: var(--r1); cursor: pointer; display: grid; transition: background var(--ease); }
.chat-close:hover { background: rgba(255, 255, 255, 0.14); }
.chat-log { flex: 1; overflow-y: auto; list-style: none; margin: 0; padding: 16px 14px 8px; display: flex; flex-direction: column; gap: 8px; overscroll-behavior: contain; background: var(--cloud); }
.chat-log li { margin: 0; max-width: 86%; }
.chat-log .m { padding: 9px 13px; border-radius: 14px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.4; font-size: 0.98rem; }
.chat-log .you { align-self: flex-end; }
.chat-log .you .m { background: var(--ink); color: #fff; border-end-end-radius: 4px; }
.chat-log .team .m { background: var(--paper); border: 1px solid var(--hair); border-end-start-radius: 4px; }
.chat-log .auto .m { background: #f1fbd9; border: 1px solid #d3ec98; border-end-start-radius: 4px; }
.chat-log small { display: block; font-size: 0.75rem; color: var(--ink-soft); margin: 3px 4px 0; }
.chat-log .you small { text-align: end; }
.chat-log .note { align-self: center; max-width: 100%; text-align: center; color: var(--ink-soft); font-size: 0.88rem; padding: 4px 8px; }
.chat-log .intro { max-width: 100%; }
.chat-log .intro p { margin: 0 0 10px; font-size: 0.98rem; }
.chat-quick { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.chat-quick button { font: inherit; font-size: 0.93rem; text-align: start; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; cursor: pointer; transition: border-color var(--ease), color var(--ease); }
.chat-quick button:hover { border-color: var(--accent); color: var(--accent-deep); }
.chat-email { max-width: 100%; background: var(--paper); border: 1px solid var(--hair); border-radius: 12px; padding: 12px; }
.chat-email p { margin: 0 0 8px; font-size: 0.92rem; }
.chat-email form { display: flex; gap: 6px; }
.chat-email input { margin: 0; min-height: 38px; padding: 6px 10px; font-size: 0.95rem; }
.chat-email button { flex: none; }
.chat-form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid var(--hair); background: var(--paper); }
.chat-form textarea { margin: 0; min-height: 44px; max-height: 130px; resize: none; border-radius: 14px; padding: 10px 14px; line-height: 1.35; }
.chat-send { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background var(--ease), transform var(--ease); }
.chat-send:hover { background: var(--accent-deep); transform: scale(1.06); }
.chat-send[disabled] { opacity: 0.5; cursor: default; transform: none; }
.chat-trap { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; opacity: 0; }
.chat-error { color: var(--red); font-size: 0.88rem; padding: 0 14px 8px; margin: 0; background: var(--paper); }

/* ---------- admin ---------- */
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.stat { background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r2); padding: 16px 18px; }
.stat span { display: block; color: var(--ink-soft); font-size: 0.95rem; }
.stat strong { display: block; font-family: var(--display); font-size: 2.6rem; line-height: 1.05; }
.stat small { color: var(--ink-soft); }
.alerts { list-style: none; padding: 0; margin: 0 0 20px; }
.alerts li { display: flex; justify-content: space-between; gap: 14px; align-items: center; background: var(--paper); border-inline-start: 5px solid #d19a00; border-radius: 0 var(--r1) var(--r1) 0; padding: 10px 14px; margin-bottom: 8px; }
.alerts li.alert { border-inline-start-color: var(--red); }
.alerts form { margin: 0; flex: none; }
.checks { list-style: none; padding: 0; }
.checks li { padding: 8px 0 8px 30px; border-bottom: 1px solid var(--hair); position: relative; margin: 0; }
.checks li::before { position: absolute; inset-inline-start: 4px; font-weight: 700; }
.checks .done::before { content: "\2713"; color: var(--green); }
.checks .todo::before { content: "!"; color: var(--red); }
.filters { display: flex; gap: 6px 18px; flex-wrap: wrap; }
.filters a[aria-current="page"] { font-weight: 600; color: var(--ink); text-decoration-thickness: 3px; text-decoration-color: var(--accent); }
.review { margin-top: 10px; padding: 12px; background: var(--mist); border-radius: var(--r1); font-weight: 400; }
.inbox { list-style: none; padding: 0; margin: 0 0 16px; background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r2); overflow: hidden; }
.inbox li { margin: 0; border-bottom: 1px solid var(--hair); }
.inbox li:last-child { border-bottom: 0; }
.inbox a { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr) auto; gap: 6px 18px; align-items: baseline; padding: 14px 16px; color: var(--ink); text-decoration: none; transition: background var(--ease); }
.inbox a:hover { background: var(--cloud); }
.inbox .unread a { box-shadow: inset 4px 0 0 var(--accent); }
.inbox-who { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inbox .unread .inbox-last { color: var(--ink); font-weight: 500; }
.inbox-last { color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inbox-when { color: var(--ink-soft); font-size: 0.9rem; white-space: nowrap; }
.thread { list-style: none; padding: 16px; margin: 0 0 18px; background: var(--cloud); border: 1px solid var(--hair); border-radius: var(--r2); display: flex; flex-direction: column; gap: 10px; max-height: 62vh; overflow-y: auto; }
.thread .msg { margin: 0; max-width: 80%; }
.thread .msg p { margin: 0; padding: 10px 14px; border-radius: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.thread .from-them p { background: var(--paper); border: 1px solid var(--hair); border-end-start-radius: 4px; }
.thread .from-team { align-self: flex-end; }
.thread .from-team p { background: var(--ink); color: #fff; border-end-end-radius: 4px; }
.thread time { display: block; font-size: 0.78rem; color: var(--ink-soft); margin: 3px 4px 0; }
.thread .from-team time { text-align: end; }
.reply textarea.plain { min-height: 110px; }

@media (max-width: 960px) {
  .js .nav-toggle { display: inline-grid; }
  .js .main-nav { display: none; order: 5; flex-basis: 100%; flex-direction: column; align-items: stretch; padding: 8px 0 12px; }
  .js .nav-open .main-nav { display: flex; }
  .js .head-row { flex-wrap: wrap; }
  .js .head-end { order: 2; margin-inline-start: auto; }
  .js .nav-toggle { order: 3; margin-inline-start: 0; }
  .main-nav > a, .menu-trigger { padding: 10px 12px; }
  .menu-panel { position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 6px 10px; grid-template-columns: 1fr; background: transparent; }
  .head-row { flex-wrap: wrap; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .docs { grid-template-columns: minmax(0, 1fr); }
  .docs-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .docs-nav a { border-inline-start: 0; border-bottom: 3px solid transparent; }
  .docs-nav a[aria-current="page"] { border-bottom-color: var(--accent); border-radius: var(--r1) var(--r1) 0 0; }
}
@media (max-width: 860px) {
  .stat-row.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .post-side { position: static; }
  .post-tools li { grid-template-columns: minmax(0, 1fr); }
  .buy, .plan-grid, .pay-options, .steps, .stat-row, .split, .product-head, .points { grid-template-columns: minmax(0, 1fr); }
  .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .buy-side { position: static; }
  .row3 { grid-template-columns: minmax(0, 1fr); }
  .head-end .signin { display: none; }
  .inbox a { grid-template-columns: minmax(0, 1fr) auto; }
  .inbox-last { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 640px) {
  .in-short dl div, .gloss-list > div { grid-template-columns: minmax(0, 1fr); }
  /* the volume table scrolls sideways; the product names stay put */
  table.prices.volume th, table.prices.volume td { padding: 11px 12px; }
  table.prices.volume th:first-child { position: sticky; inset-inline-start: 0; z-index: 1; background: var(--paper); box-shadow: 1px 0 0 var(--hair); max-width: 8.2em; white-space: normal; }
  table.prices.volume thead th:first-child { background: var(--cloud); }
  table.prices.volume tbody th { font-size: 1.1rem; }
  table.prices.grid.volume td.num { font-size: 1.2rem; }
  .swipe-hint { display: block; }
  /* The price list becomes a stack of rows: name and price, then the description. */
  table.prices:not(.grid) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  table.prices:not(.grid), table.prices:not(.grid) tbody { display: block; }
  table.prices:not(.grid) tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--hair); }
  table.prices:not(.grid) tr:last-child { border-bottom: 0; }
  table.prices:not(.grid) th, table.prices:not(.grid) td { padding: 0; border: 0; }
  table.prices:not(.grid) tbody th { white-space: normal; }
  table.prices:not(.grid) td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; color: var(--ink-soft); }
  table.prices:not(.grid) td.num { grid-column: 2; grid-row: 1; }
  table.prices:not(.grid) td.act { grid-column: 1 / -1; text-align: start; margin-top: 4px; }
  .rules { grid-template-columns: minmax(0, 1fr); }
  .facts-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-row > div { padding: 16px 12px 14px 0; }
  .facts-row > div + div { padding-inline-start: 16px; }
  .facts-row > div:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .facts-row > div:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.16); }
  .foot-grid { padding-top: 32px; }
  .days { gap: 2px; }
  .chat { bottom: 14px; }
  .chat-tab { padding: 11px 14px 11px 26px; }
  .chat-panel { inset-inline-end: 8px; inset-inline-start: 8px; bottom: 8px; width: auto; height: min(74vh, 600px); border-radius: 16px; }
}
@media (max-width: 520px) {
  body { font-size: 1rem; }
  .row2 { grid-template-columns: minmax(0, 1fr); }
  .creds > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .choice { grid-template-columns: auto minmax(0, 1fr); }
  .choice-price { grid-column: 2; text-align: start; }
  .choice-price small { display: inline; margin-inline-start: 6px; }
  th, td { padding: 10px 12px; }
  .head-end .btn.small { padding: 6px 10px; }
  .brand { font-size: 1.4rem; }
  .head-row { gap: 10px 12px; }
  .head-end { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
.acting { background: var(--accent, #5b3fd0); color: #fff; }
.acting .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 10px; padding-bottom: 10px; }
.acting p { margin: 0; }
.acting .btn { background: #fff; color: #15111e; border-color: #fff; }


/* ---------- languages ---------- */
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--hair); border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 0.9rem; color: var(--ink); background: var(--paper); user-select: none; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu[open] summary { border-color: var(--ink); }
.lang-menu summary .icon { --icon-accent: var(--accent); }
.lang-menu summary::after { content: none; }
.main-nav .nav-out { display: none; margin: 0; }
.lang-menu ul { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 60; list-style: none; margin: 0; padding: 6px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; min-width: 330px; max-height: 72vh; overflow: auto; background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r2); box-shadow: var(--float); animation: drop 0.16s ease-out; }
.lang-menu li { margin: 0; }
.lang-menu a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.lang-menu a:hover { background: var(--mist); }
.lang-menu a[aria-current] { background: var(--cloud); font-weight: 700; }
.foot-langs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 16px 0 0; font-size: 0.9rem; }
.foot-langs .icon { color: var(--ink-soft); }
.foot-langs a { color: var(--ink-soft); text-decoration: none; }
.foot-langs a:hover { color: var(--ink); text-decoration: underline; }
.foot-langs a[aria-current] { color: var(--ink); font-weight: 600; }
.lang-list { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lang-list li { margin: 0; }
.lang-list a { display: inline-block; padding: 6px 12px; border: 1px solid var(--hair); border-radius: 999px; color: var(--ink); text-decoration: none; background: var(--paper); }
.lang-list a:hover { border-color: var(--ink); }
.lang-list a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.lang-suggest { background: var(--ink); color: #fff; padding: 10px 0; font-size: 0.95rem; }
.lang-suggest .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.lang-suggest p { margin: 0; }
.lang-suggest .lang-keep { color: #fff; opacity: 0.8; }
.lang-suggest .lang-keep:hover { opacity: 1; }
@media (max-width: 960px) {
  .head-end { gap: 10px; }
}
@media (max-width: 560px) {
  .lang-menu summary { padding: 7px; }
  .lang-menu summary span { display: none; }
  .lang-menu ul { position: fixed; top: 64px; inset-inline: 12px; min-width: 0; }
  .head-end .btn.small { padding: 8px 12px; }
  /* Signed in on a phone: Sign out moves into the menu so the header stays on one row. */
  .head-end form { display: none; }
  .main-nav .nav-out { display: block; }
  .main-nav .nav-out button { padding: 10px 12px; width: 100%; text-align: start; }
}
/* Right-to-left pages: fonts with Arabic letters, and arrows that point the other way. */
[dir="rtl"] body { font-family: "Noto Sans Arabic", "Segoe UI", Tahoma, var(--body), sans-serif; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] .display { letter-spacing: 0; }
[dir="rtl"] code, [dir="rtl"] pre, [dir="rtl"] .mono, [dir="rtl"] input[type="email"], [dir="rtl"] input[type="password"] { direction: ltr; unicode-bidi: plaintext; }

/* Thai: tall vowel and tone marks need room above and below the line, and
   long words need a smaller headline to fit on a phone. */
:lang(th) h1, :lang(th) h2, :lang(th) h3 { line-height: 1.28; letter-spacing: 0; }
:lang(th) h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
:lang(th) .hero h1, :lang(th) .product-head h1 { font-size: clamp(2.1rem, 5.4vw, 3.9rem); line-height: 1.2; max-width: 16ch; }
:lang(th) body { line-height: 1.7; }

/* Deposit bonus / invitation line on top of the page. */
.promo-bar { background: linear-gradient(90deg, #efebfd, #f1fbd9); border-bottom: 1px solid #dcd2f7; color: var(--ink); font-size: 0.95rem; }
.promo-bar .wrap { display: flex; align-items: center; gap: 10px 14px; padding-block: 8px; flex-wrap: wrap; }
.promo-bar p { margin: 0; flex: 1 1 260px; font-weight: 500; }
.promo-bar .icon { --icon-accent: var(--accent); flex: none; }
.promo-note { display: flex; gap: 8px; align-items: flex-start; background: #efebfd; border: 1px solid #dcd2f7; border-radius: var(--r1); padding: 10px 12px; margin: 12px 0 0; font-weight: 500; }
.promo-note .icon { flex: none; margin-top: 2px; --icon-accent: var(--accent); }
/* The invitation box on the Balance page. */
.invite-box { background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r2); padding: 18px 20px; margin: 28px 0; }
.invite-box h2 { margin-top: 0; }
.copy-row { display: flex; gap: 8px; margin-top: 6px; max-width: 560px; }
.copy-row input { flex: 1 1 auto; min-width: 0; direction: ltr; font-family: var(--mono, monospace); font-size: 0.92rem; }
/* Admin > Growth */
.growth h2 { margin-top: 2.2em; }
.growth h2#next { margin-top: 1em; }
.next-list { padding-inline-start: 1.3em; max-width: 72ch; }
.next-list li { margin-bottom: 8px; }
.checks { margin: 10px 0 0; }
.checks li { margin-bottom: 8px; }
.checks .sub, .group .sub { display: block; color: var(--ink-soft); font-size: 0.9rem; }
.funnel { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 8px; }
.funnel .stat strong { font-size: 2rem; }
.copy-line { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.copy-line code { overflow-wrap: anywhere; }
.group, .play { border: 1px solid var(--hair); border-radius: var(--r2); background: var(--paper); padding: 12px 16px; margin: 0 0 10px; }
.group > summary, .play > summary { position: relative; padding-inline-end: 24px; cursor: pointer; }
.group[open] > summary, .play[open] > summary { margin-bottom: 10px; }
.count-pill { display: inline-block; min-width: 2em; padding: 1px 8px; border-radius: 999px; background: var(--mist); font-size: 0.85rem; text-align: center; font-weight: 600; }
.play.is-done > summary .state { color: var(--ink-soft); }
.template { display: block; max-width: 760px; margin-top: 10px; }
.template textarea { width: 100%; font-family: inherit; font-size: 0.95rem; line-height: 1.45; margin-top: 4px; }
@media (max-width: 960px) { .funnel { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .funnel { grid-template-columns: repeat(2, minmax(0, 1fr)); } .copy-row { flex-wrap: wrap; } }
.growth-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--hair); margin: 0 0 22px; }
.growth-tabs a { padding: 10px 14px; color: var(--ink-soft); text-decoration: none; font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.growth-tabs a:hover { color: var(--ink); }
.growth-tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.plan-card { background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r2); padding: 16px 20px; margin: 0 0 14px; }
.plan-card h3 { margin-top: 0; }
.sprint { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.sprint > li { background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r2); padding: 14px 18px; }
.sprint > li.is-done { opacity: 0.75; }
.sprint h3 { margin: 0 0 8px; font-size: 1.15rem; }
.sprint h3 .state, .play summary .state { font-size: inherit; }

/* =====================================================================
   Boo layer: the look of the public pages. Later rules win over the
   general ones above, so components keep their markup and change face.
   ===================================================================== */
.icon .a { stroke: var(--icon-accent, var(--accent)); }
.icon .af { fill: var(--icon-accent, var(--accent)); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: var(--lime); box-shadow: 0 0 0 3px var(--lime-soft); }
.section-head { margin-bottom: 32px; }
.section-head h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
.section-head p { font-size: 1.05rem; }
.section-head.center { text-align: center; margin-inline: auto; max-width: 720px; }
.section-head.center p { margin-inline: auto; }
.split-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.center-link { text-align: center; margin: 22px 0 0; }
.center-link a, a.more { font-weight: 600; text-decoration: none; }
.center-link a:hover, a.more:hover { text-decoration: underline; }
.actions.center { justify-content: center; }
.pad { padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(48px, 8vw, 96px); }

/* ---- hero: centred copy on a dotted field, then the dashboard window ---- */
.hero { position: relative; overflow: hidden; background: var(--paper); padding-bottom: clamp(40px, 6vw, 72px); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, #d9d3e4 1.1px, transparent 1.3px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); pointer-events: none; }
.hero-glow { position: absolute; left: 50%; top: 52%; width: min(1100px, 120vw); height: 520px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(200, 241, 105, 0.55), rgba(91, 63, 208, 0.12) 55%, transparent 80%); filter: blur(30px); pointer-events: none; }
.hero-center { position: relative; text-align: center; padding-top: clamp(44px, 8vw, 96px); padding-bottom: clamp(36px, 5vw, 56px); display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.3rem); line-height: 1.02; letter-spacing: -0.045em; max-width: 17ch; margin: 0 0 20px; }
.hero .lead { margin: 0 auto 28px; font-size: clamp(1.05rem, 1.6vw, 1.2rem); }
.hero-pill { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 6px 10px; margin: 0 0 26px; padding: 7px 16px 7px 12px; background: var(--paper); border: 1px solid var(--hair); border-radius: 999px; font-size: 0.88rem; font-weight: 500; color: var(--ink); box-shadow: 0 6px 18px -12px rgba(21, 17, 30, 0.35); }
.hero-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime-deep); box-shadow: 0 0 0 4px var(--lime-soft); }
.hero-pill i { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }
.scribble { position: relative; white-space: nowrap; z-index: 0; }
.scribble::after { content: ""; position: absolute; z-index: -1; left: -4%; right: -4%; bottom: 0.04em; height: 0.36em; background: var(--lime); border-radius: 0.3em; transform: rotate(-1.5deg); }
.assure.hero-assure { flex-direction: row; justify-content: center; gap: 8px 24px; margin-top: 24px; font-size: 0.9rem; }
.assure.hero-assure li { max-width: none; align-items: center; }
.assure .icon { --icon-accent: var(--accent); }

.app-window { position: relative; max-width: 1040px; margin: 0 auto; background: var(--paper); border: 1px solid var(--hair); border-radius: 22px; box-shadow: 0 2px 4px rgba(21, 17, 30, 0.04), 0 40px 90px -40px rgba(21, 17, 30, 0.45); overflow: hidden; text-align: start; }
.app-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--hair); background: var(--cloud); }
.app-bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--haze); }
.app-bar span:first-child { background: var(--lime); }
.app-bar b { margin: 0 auto; padding: 4px 16px; background: var(--paper); border: 1px solid var(--hair); border-radius: 999px; font-weight: 500; font-size: 0.8rem; color: var(--ink-soft); font-family: var(--mono); }
.app-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); }
.app-side { border-inline-end: 1px solid var(--hair); padding: 18px 12px; background: var(--cloud); }
.app-who { display: flex; align-items: center; gap: 8px; margin: 0 8px 14px; font-weight: 600; font-size: 0.9rem; }
.app-side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.app-side li { display: flex; align-items: center; gap: 10px; margin: 0; padding: 9px 10px; border-radius: 10px; font-size: 0.88rem; color: var(--ink-soft); }
.app-side li.on { background: var(--paper); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(21, 17, 30, 0.06), 0 0 0 1px var(--hair); }
.app-window .builder { border: 0; border-radius: 0; box-shadow: none; margin: 0; padding: clamp(18px, 3vw, 28px); }
.app-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.live-tag { display: inline-flex; align-items: center; gap: 7px; font-size: 0.78rem; font-weight: 600; color: var(--green); background: #ecf8f1; padding: 4px 10px; border-radius: 999px; }
.live-tag i { width: 7px; height: 7px; border-radius: 50%; background: #1fae6e; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px rgba(31, 174, 110, 0.18); } }
.app-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 6px 0 0; }
.app-stats div { background: var(--mist); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column-reverse; }
.app-stats dd { margin: 0; font-family: var(--display); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.03em; line-height: 1.1; }
.app-stats dt { font-size: 0.8rem; color: var(--ink-soft); }
.check.toggle { align-items: center; }
.check.toggle input { appearance: none; -webkit-appearance: none; width: 38px; height: 22px; margin: 0; border-radius: 999px; background: var(--haze); position: relative; cursor: pointer; transition: background var(--ease); }
.check.toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(21, 17, 30, 0.3); transition: transform var(--ease); }
.check.toggle input:checked { background: var(--accent); }
.check.toggle input:checked::after { transform: translateX(16px); }

/* ---- works-with strip ---- */
.tools-strip { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); background: var(--cloud); padding: 26px 0; }
.tools-label { text-align: center; margin: 0 0 14px; font-size: 0.85rem; font-weight: 500; color: var(--ink-soft); }
.tool-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tool-chips li { margin: 0; }
.tool-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 7px; background: var(--paper); border: 1px solid var(--hair); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.9rem; transition: border-color var(--ease), transform var(--ease); }
.tool-chips a:hover { border-color: var(--accent); transform: translateY(-1px); color: var(--ink); }
.tool-chips b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--lime); font-size: 0.75rem; font-weight: 700; }

/* ---- product cards ---- */
.product-cards { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 255px), 1fr)); gap: 16px; }
.pcard { padding: 22px; }
.pcard.featured { grid-column: span 2; }
.pcard.featured .pcard-points { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .pcard.featured { grid-column: auto; } .pcard.featured .pcard-points { grid-template-columns: 1fr; } }
.pcard { margin: 0; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r3); padding: 24px; transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease); }
.pcard:hover { border-color: var(--line); box-shadow: var(--float); transform: translateY(-3px); }
.pcard.featured { background: var(--night); color: #fff; border-color: var(--night); --icon-accent: var(--lime); }
.pcard.featured .icon { color: #fff; }
.pcard-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.pcard-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--mist); }
.pcard.featured .pcard-icon { background: rgba(255, 255, 255, 0.08); }
.pcard-tag { font-size: 0.75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-deep); }
.pcard.featured .pcard-tag { background: var(--lime); color: var(--ink); }
.pcard h3 { margin: 0 0 6px; font-size: 1.35rem; }
.pcard h3 a { color: inherit; }
.pcard-blurb { color: var(--ink-soft); font-size: 0.95rem; margin: 0 0 16px; }
.pcard.featured .pcard-blurb { color: #c4bdd6; }
.pcard-points { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; font-size: 0.92rem; }
.pcard-points li { display: flex; gap: 8px; align-items: flex-start; margin: 0; }
.pcard-points .icon { flex: none; margin-top: 2px; --icon-accent: var(--green); }
.pcard.featured .pcard-points .icon { --icon-accent: var(--lime); }
.pcard-price { margin: auto 0 16px; padding-top: 16px; border-top: 1px solid var(--hair); display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.pcard.featured .pcard-price { border-top-color: rgba(255, 255, 255, 0.12); }
.pcard-price small { flex-basis: 100%; font-size: 0.8rem; color: var(--ink-soft); }
.pcard.featured .pcard-price small, .pcard.featured .pcard-price span { color: #b3abc6; }
.pcard-price strong { font-family: var(--display); font-weight: 800; font-size: 2rem; letter-spacing: -0.03em; line-height: 1; }
.pcard-price span { color: var(--ink-soft); font-size: 0.9rem; }
.pcard-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; }
.pcard.featured .btn { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.pcard.featured .btn:hover { background: #fff; border-color: #fff; }
.pcard.featured a.more { color: var(--lime); }
.volume-note { margin: 18px auto 0; justify-content: center; text-align: start; padding: 12px 18px; background: var(--lime-soft); border: 1px solid #dff2b6; border-radius: 14px; max-width: 760px; }

/* ---- comparison table ---- */
table.compare th, table.compare td { padding: 15px 18px; vertical-align: middle; font-size: 0.92rem; }
table.compare thead th { background: var(--cloud); text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.72rem; }
table.compare tbody th { white-space: nowrap; }
table.compare tbody th a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
table.compare tbody th a:hover { color: var(--accent); }
table.compare td.num { text-align: start; }
table.compare td.num strong { color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em; }
table.compare td { color: var(--ink-soft); min-width: 140px; }
table.compare tbody tr:hover { background: var(--cloud); }
#compare h3 { margin-top: 2em; }

/* ---- steps ---- */
.steps { gap: 18px; }
.steps li { border-top: 0; padding: 26px; background: var(--mist); border-radius: var(--r3); }
.steps li::before { content: counter(step, decimal-leading-zero); display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--ink); color: var(--lime); font-family: var(--display); font-weight: 800; font-size: 1rem; margin-bottom: 14px; }

/* ---- dark network section ---- */
.night { background: var(--night); color: #fff; position: relative; overflow: hidden; }
.night::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 85% 20%, rgba(200, 241, 105, 0.16), transparent 70%), radial-gradient(500px 300px at 10% 90%, rgba(91, 63, 208, 0.35), transparent 70%); pointer-events: none; }
.night .eyebrow { color: var(--lime); }
.night .eyebrow::before { box-shadow: 0 0 0 3px rgba(200, 241, 105, 0.2); }
.night h2 { color: #fff; }
.night p { color: #c4bdd6; }
.network { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px 56px; align-items: center; }
.network-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 22px 0 26px; }
.network-stats div { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; padding: 14px 16px; }
.network-stats dd { margin: 0; font-family: var(--display); font-weight: 800; font-size: 1.8rem; letter-spacing: -0.03em; color: var(--lime); line-height: 1.1; }
.network-stats dt { font-size: 0.85rem; color: #b3abc6; }
.country-cloud.flags { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 0; }
.country-cloud.flags a { display: flex; align-items: center; gap: 9px; padding: 10px 12px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; color: #fff; font-size: 0.88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.country-cloud.flags a:hover { border-color: var(--lime); color: var(--lime); }
.flag { font-size: 1.15rem; line-height: 1; }

/* ---- use cases ---- */
.case-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 205px), 1fr)); gap: 12px; }
.case-grid li { margin: 0; }
.case-grid a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px 20px; background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r2); color: var(--ink); text-decoration: none; transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease); }
.case-grid a:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--float); color: var(--ink); }
.case-grid strong { font-family: var(--display); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em; }
.case-grid span { color: var(--ink-soft); font-size: 0.9rem; }

/* ---- rules as feature cards ---- */
.rules { gap: 14px; background: transparent; border: 0; border-radius: 0; overflow: visible; }
.rules > div { margin: 0; background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r3); padding: 24px; }
.rules > div:hover { background: var(--paper); border-color: var(--line); box-shadow: var(--float); }
.rules .icon { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--accent-soft); margin-bottom: 16px; }
.rules dt { font-weight: 700; font-size: 1.12rem; letter-spacing: -0.02em; }
.rules dd { font-size: 0.95rem; }

/* ---- code ---- */
.code-split { align-items: center; }
.tabs, .code { background: var(--code); color: #ebe6f6; border-radius: var(--r2); box-shadow: 0 30px 60px -30px rgba(21, 17, 30, 0.6); }
.tab-list button[aria-selected="true"] { border-bottom-color: var(--lime); }

/* ---- FAQ ---- */
.faq-split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 24px 56px; align-items: start; }
.faq { display: grid; gap: 10px; }
.faq details, .faq details:first-of-type { border: 1px solid var(--hair); border-radius: var(--r2); background: var(--paper); padding: 0 20px; transition: border-color var(--ease); }
.faq details[open] { border-color: var(--line); box-shadow: 0 10px 30px -22px rgba(21, 17, 30, 0.4); }
.faq summary { font-size: 1rem; padding: 17px 34px 17px 0; }
summary::after { border-color: var(--ink-soft); }
summary:hover { color: var(--accent); }
.faq details p { margin-top: 0; padding-bottom: 6px; }

/* ---- blog cards ---- */
.read-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.read-cards li { margin: 0; }
.read-cards a { display: flex; flex-direction: column; gap: 8px; height: 100%; color: var(--ink); text-decoration: none; }
.read-cards a:hover strong { color: var(--accent); }
.read-art { display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: var(--r2); margin-bottom: 6px; border: 1px solid var(--hair); }
.read-art .icon { width: 44px; height: 44px; }
.art-0 { background: linear-gradient(135deg, var(--lime-soft), var(--accent-soft)); }
.art-1 { background: linear-gradient(135deg, var(--accent-soft), #fff); }
.art-2 { background: var(--night); --icon-accent: var(--lime); }
.art-2 .icon { color: #fff; }
.art-3 { background: linear-gradient(135deg, #fff, var(--lime-soft)); }
.read-cards strong { font-family: var(--display); font-weight: 700; font-size: 1.08rem; letter-spacing: -0.02em; line-height: 1.25; transition: color var(--ease); }
.read-cards a > span:last-child { color: var(--ink-soft); font-size: 0.9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---- closing band ---- */
.cta-band { background: var(--paper); color: var(--ink); background-image: none; padding: 0 var(--gutter) clamp(48px, 7vw, 88px); }
.cta-row { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; max-width: 1180px; margin: 0 auto; padding: clamp(44px, 7vw, 80px) clamp(20px, 5vw, 64px); background: var(--night); color: #fff; border-radius: 32px; }
.cta-row::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 260px at 50% 0%, rgba(200, 241, 105, 0.22), transparent 70%), radial-gradient(400px 260px at 100% 100%, rgba(91, 63, 208, 0.45), transparent 70%); pointer-events: none; }
.cta-row > * { position: relative; }
.cta-ghost { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 22px; background: var(--lime); margin-bottom: 18px; transform: rotate(-6deg); }
.cta-ghost .icon { color: var(--ink); --icon-accent: var(--ink); }
.cta-row h2 { color: #fff; margin: 0 0 10px; font-size: clamp(2rem, 4.6vw, 3.2rem); }
.cta-row p { color: #c4bdd6; margin: 0 auto; }
.cta-ticks { list-style: none; padding: 0; margin: 20px 0 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 0.92rem; color: #e3ddf0; }
.cta-ticks li { display: flex; align-items: center; gap: 7px; margin: 0; }
.cta-ticks .icon { color: #fff; --icon-accent: var(--lime); }
.cta-row .actions { margin: 0; }
.btn.outline-light { border-color: rgba(255, 255, 255, 0.3); }

/* ---- facts band (pages without the country list) ---- */
.facts-band { background: var(--night); }
.facts-row dd { font-weight: 800; font-size: 2rem; letter-spacing: -0.03em; color: var(--lime); }

/* ---- the rest of the site, in the same voice ---- */
.table-wrap { border-radius: var(--r2); }
thead th { background: var(--cloud); }
table.prices tbody th { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; }
table.prices td.num strong { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.03em; }
table.prices.grid td.num { font-size: 1.05rem; font-weight: 700; }
.calc, .price-card, .buy-side, .choices, .creds, .stat, .chart-card, .rank, .contact li, .blog-cards li, .post-card, .seo-card, .invite-box, .plan-card, .empty, .pay-options form, .inbox, .group, .play, .sprint > li { border-radius: var(--r2); }
.calc-out output, .total output, .bignum { font-weight: 800; font-size: 2.1rem; letter-spacing: -0.03em; }
.bignum { font-size: 3rem; }
.price-big { font-weight: 800; font-size: 3rem; letter-spacing: -0.04em; }
.product-hero { background: var(--mist); }
.product-head h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.02; letter-spacing: -0.04em; }
.product-badge { border-radius: 18px; }
.points li { border-top: 0; padding: 22px; background: var(--mist); border-radius: var(--r2); }
.points h2 { font-size: 1.15rem; font-weight: 700; }
.uses h2, .uses h3 { font-size: 1.12rem; font-weight: 700; }
.other strong, .post-products strong { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.02em; }
.choice-body strong { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; }
.choice-price { font-weight: 800; font-size: 1.2rem; }
.choice:has(input:checked) { box-shadow: inset 4px 0 0 var(--accent); background: var(--accent-soft); }
.stat strong { font-weight: 800; font-size: 2rem; letter-spacing: -0.03em; }
.status-now { font-weight: 800; font-size: 1.6rem; letter-spacing: -0.03em; }
.doc-steps > li::before { background: var(--ink); color: var(--lime); font-size: 1rem; border-radius: 12px; }
.blog-cards h2, .contact h2, .pay-options h2, .post-card h2 { font-size: 1.15rem; font-weight: 700; }
.blog-group { border-top: 1px solid var(--hair); }
.post-body h2, .docs-body h2 { font-size: 1.5rem; }
.post-price { font-weight: 800; font-size: 1.4rem; }
.answer-block, .in-short { border-top-width: 1px; }
.in-short { border-radius: var(--r2); border-top: 1px solid var(--hair); box-shadow: inset 4px 0 0 var(--lime); }
.answer-block h2 { font-size: 1.5rem; }
.chat-panel > header strong { font-size: 1.05rem; font-weight: 700; }
.auth-card h1 { font-size: 1.9rem; }
.auth-wrap { background-image: radial-gradient(circle at 1px 1px, #e3ddec 1px, transparent 1.2px); background-size: 22px 22px; }
.tag { border-radius: 8px; }
.tag-review, .tag-partially_paid, .tag-processing, .tag-confirming, .tag-confirmed, .tag-sending { background: var(--lime-soft); color: #3f5208; }
progress::-webkit-progress-value { background: var(--accent); }
.days li { border-radius: 4px; }
.docs-nav a { border-radius: 10px; }
.docs-nav a[aria-current="page"] { background: var(--accent-soft); border-inline-start-color: var(--accent); border-radius: 0 10px 10px 0; }
.balance { background: var(--lime); }

/* the chat launcher: a round bubble with the ghost's colours */
.chat { inset-inline-end: 20px; bottom: 20px; }
.chat-tab { clip-path: none; border-radius: 999px; padding: 12px 18px 12px 14px; box-shadow: 0 16px 34px -14px rgba(21, 17, 30, 0.6); }
.chat-tab:hover { background: var(--accent); padding-inline-end: 18px; transform: translateY(-2px); }
.chat-panel { border-radius: 22px; }
.chat-send { background: var(--ink); }
.chat-send:hover { background: var(--accent); }
.chat-log .you .m { background: var(--accent); }

/* footer */
.site-foot { background: var(--mist); border-top: 1px solid var(--hair); }
.site-foot nav h2 { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; }
.site-foot nav a { color: var(--ink-soft); font-size: 0.93rem; }
.site-foot nav a:hover { color: var(--ink); }
.status-pill { background: var(--paper); }

@media (max-width: 960px) {
  .network, .faq-split { grid-template-columns: minmax(0, 1fr); }
  .app-body { grid-template-columns: minmax(0, 1fr); }
  .app-side { display: none; }
}
@media (max-width: 640px) {
  .app-stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .app-stats div:nth-child(3) { display: none; }
  .assure.hero-assure { flex-direction: column; align-items: center; }
  .cta-band { padding-inline: 12px; }
  .cta-row { border-radius: 24px; }
  .chat { inset-inline-end: 12px; }
  .chat-tab { padding: 12px 16px 12px 12px; }
}

.eyebrow + h2, .eyebrow + h1 { margin-top: 0; }
.site-foot nav.foot-langs { flex-direction: row; justify-content: flex-start; padding: 16px 0 0; border-top: 1px solid var(--hair); }
@media (max-width: 560px) {
  .head-end .lang-menu { display: none; }
  .js .head-row { flex-wrap: nowrap; }
  .js .nav-open .head-row { flex-wrap: wrap; }
  .brand { font-size: 1.2rem; }
  .assure.hero-assure { align-items: flex-start; text-align: start; max-width: 330px; margin-inline: auto; }
}
.admin .head-end a { white-space: nowrap; }
.admin .main-nav > a { padding: 7px 7px; font-size: 0.86rem; }
.app-bar b, .line { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .btn > span[aria-hidden], [dir="rtl"] a.more > span[aria-hidden], [dir="rtl"] .center-link span[aria-hidden] { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] .scribble::after { transform: rotate(1.5deg); }

/* =====================================================================
   Customer dashboard: a sidebar app. The sidebar is white, the work area
   a soft lilac mist, cards are white with long low shadows.
   ===================================================================== */
body.app { background: var(--mist); }
.shell { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; background: var(--paper); border-inline-end: 1px solid var(--hair); padding: 18px 14px 14px; overflow-y: auto; z-index: 45; }
.side-top { display: flex; align-items: center; justify-content: space-between; padding: 4px 8px 18px; }
.side-close { display: none; background: none; border: 0; color: var(--ink-soft); padding: 6px; border-radius: 10px; cursor: pointer; }
.side-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.side-nav > a, .side-sub a { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 12px; color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: 0.93rem; transition: background var(--ease), color var(--ease); }
.side-nav > a .icon { color: currentColor; }
.side-nav > a:hover, .side-sub a:hover { background: var(--mist); color: var(--ink); }
.side-nav > a[aria-current="page"] { background: var(--ink); color: #fff; --icon-accent: var(--lime); }
.side-nav > a[aria-current="page"] .icon { color: #fff; }
.side-label { margin: 18px 12px 6px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: #9a93a8; }
.side-sub { display: flex; flex-direction: column; gap: 1px; margin: 2px 0 4px 22px; padding-inline-start: 10px; border-inline-start: 1px solid var(--hair); }
.side-sub a { padding: 6px 10px; font-size: 0.86rem; gap: 9px; }
.side-new { margin-inline-start: auto; font-size: 0.68rem; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--lime); color: var(--ink); }
.side-user { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px; border: 1px solid var(--hair); border-radius: 16px; background: var(--cloud); }
.avatar { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--ink); color: var(--lime); font-family: var(--display); font-weight: 800; }
.who { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.who strong { font-size: 0.84rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who a { font-size: 0.78rem; color: var(--ink-soft); text-decoration: none; }
.who a:hover { color: var(--accent); }
.side-user form { margin: 0 0 0 auto; }
.side-out { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; border: 0; background: none; color: var(--ink-soft); cursor: pointer; }
.side-out:hover { background: var(--paper); color: var(--red); }
.shell-main { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 14px; height: 64px; padding: 0 28px; background: rgba(246, 244, 250, 0.82); backdrop-filter: blur(12px) saturate(1.4); -webkit-backdrop-filter: blur(12px) saturate(1.4); border-bottom: 1px solid var(--hair); }
.side-toggle { display: none; background: var(--paper); border: 1px solid var(--hair); border-radius: 12px; padding: 7px; color: var(--ink); cursor: pointer; }
.topbar-title { margin: 0; font-weight: 600; font-size: 0.95rem; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-end { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.topbar-end .btn .icon { color: currentColor; --icon-accent: var(--lime); }
.topbar .balance { font-size: 0.95rem; padding: 6px 14px; }
.shell-main > main { flex: 1; }
.shell .wrap { max-width: 1280px; }
.shell .wrap.pad { padding-top: 28px; padding-bottom: 40px; padding-inline: clamp(16px, 3vw, 32px); }
.shell h1 { font-size: clamp(1.6rem, 2.6vw, 2rem); letter-spacing: -0.035em; }
.shell .flash, .shell .notice.confirm-email { margin-top: 18px; }
.shell-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; padding: 18px clamp(16px, 3vw, 32px); border-top: 1px solid var(--hair); font-size: 0.85rem; color: var(--ink-soft); }
.shell-foot p { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.shell-foot a { color: var(--ink-soft); text-decoration: none; }
.shell-foot a:hover { color: var(--ink); text-decoration: underline; }
.side-scrim { display: none; }
/* the cards and tables of the inner pages sit on white in the mist */
.shell .table-wrap, .shell .calc, .shell .creds, .shell .choices, .shell .buy-side, .shell .pay-options form, .shell .invite-box, .shell .empty { background: var(--paper); border-color: var(--hair); }

/* ---- overview ---- */
.dash-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 20px; }
.dash-head h1 { margin: 0 0 2px; }
.dash-head p { margin: 0; }
.dash-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.dash-links a { display: inline-flex; align-items: center; gap: 6px; font-size: 0.9rem; font-weight: 500; color: var(--ink-soft); text-decoration: none; }
.dash-links a:hover { color: var(--accent); }
.dash-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 16px; }
.dash-stats > div { position: relative; background: var(--paper); border: 1px solid var(--hair); border-radius: 20px; padding: 18px 20px; display: flex; flex-direction: column; overflow: hidden; }
.dash-stats > div:first-child { background: var(--night); color: #fff; border-color: var(--night); }
.dash-stats > div:first-child::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(200, 241, 105, 0.35), transparent); }
.dash-stats dt { order: 1; font-size: 0.82rem; color: var(--ink-soft); }
.dash-stats > div:first-child dt { color: #b3abc6; }
.dash-stats dd { order: 2; margin: 2px 0 8px; font-family: var(--display); font-weight: 800; font-size: 1.9rem; letter-spacing: -0.035em; line-height: 1.1; }
.dash-stats > div:first-child dd { color: var(--lime); }
.dash-stats a { order: 3; font-size: 0.85rem; font-weight: 600; text-decoration: none; }
.dash-stats > div:first-child a { color: #fff; }
.ptiles { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 228px), 1fr)); gap: 12px; }
.ptiles li { margin: 0; }
.ptiles a { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "icon text" "price price" "go go"; gap: 10px 12px; height: 100%; padding: 16px; background: var(--paper); border: 1px solid var(--hair); border-radius: 20px; color: var(--ink); text-decoration: none; transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease); }
.ptiles a:hover { border-color: var(--accent); box-shadow: var(--float); transform: translateY(-2px); color: var(--ink); }
.ptile-icon { grid-area: icon; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--accent-soft); }
.ptiles li:nth-child(3n + 2) .ptile-icon { background: var(--lime-soft); }
.ptiles li:nth-child(3n) .ptile-icon { background: var(--mist); }
.ptile-text { grid-area: text; display: flex; flex-direction: column; min-width: 0; }
.ptile-text strong { font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: -0.02em; }
.ptile-text small { color: var(--ink-soft); font-size: 0.8rem; line-height: 1.3; }
.ptile-price { grid-area: price; justify-self: start; font-size: 0.78rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--mist); color: var(--ink); }
.ptile-go { grid-area: go; display: flex; justify-content: center; align-items: center; gap: 6px; padding: 8px; border: 1px solid var(--hair); border-radius: 12px; font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); transition: background var(--ease), color var(--ease), border-color var(--ease); }
.ptiles a:hover .ptile-go { background: var(--ink); border-color: var(--ink); color: #fff; }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; align-items: start; margin-bottom: 16px; }
.card { background: var(--paper); border: 1px solid var(--hair); border-radius: 22px; padding: 18px; min-width: 0; }
.card-head { display: flex; align-items: center; gap: 12px; padding: 0 2px 14px; margin-bottom: 12px; border-bottom: 1px solid var(--hair); flex-wrap: wrap; }
.card-head h2 { margin: 0; font-size: 1.05rem; letter-spacing: -0.02em; }
.card-head p { margin: 0; font-size: 0.82rem; color: var(--ink-soft); }
.card-head .more { margin-inline-start: auto; font-size: 0.88rem; }
.card-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--mist); }
.card-empty { padding: 20px 4px; margin: 0; }
.tabs-pill { margin-inline-start: auto; display: flex; gap: 4px; padding: 4px; background: var(--mist); border-radius: 12px; }
.tabs-pill a { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 9px; font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); text-decoration: none; }
.tabs-pill a b { font-size: 0.72rem; padding: 1px 7px; border-radius: 999px; background: var(--paper); color: var(--ink); }
.tabs-pill a[aria-current="page"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(21, 17, 30, 0.1); }
.tabs-pill a[aria-current="page"] b { background: var(--ink); color: var(--lime); }
.prows, .irows { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; max-height: 470px; overflow-y: auto; }
.prow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; margin: 0; padding: 14px; border: 1px solid var(--hair); border-radius: 16px; transition: border-color var(--ease); }
.prow:hover { border-color: var(--line); }
.prow-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--night); --icon-accent: var(--lime); }
.prow-icon .icon { color: #fff; }
.prow-main { min-width: 0; }
.prow-name { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 3px; font-weight: 600; }
.prow-name a { color: var(--ink); text-decoration: none; }
.prow-name a:hover { color: var(--accent); }
.prow-meta { display: flex; flex-wrap: wrap; gap: 2px 12px; margin: 0; font-size: 0.82rem; color: var(--ink-soft); }
.prow-meta code { background: none; border: 0; padding: 0; font-size: 0.78rem; }
.meter { display: block; width: 100%; max-width: 260px; height: 5px; margin-top: 8px; }
.meter-bg { fill: var(--haze); }
.meter-fg { fill: var(--accent); }
.prow-actions { display: flex; gap: 8px; margin: 0; }
.prow-actions .btn .icon { color: currentColor; --icon-accent: currentColor; }
.irows li { margin: 0; }
.irows a { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "top amt" "meta amt"; gap: 4px 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--hair); border-radius: 16px; color: var(--ink); text-decoration: none; transition: border-color var(--ease), background var(--ease); }
.irows a:hover { border-color: var(--line); background: var(--cloud); color: var(--ink); }
.irow-top { grid-area: top; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.irow-top code { background: none; border: 0; padding: 0; font-weight: 600; font-size: 0.85rem; }
.irow-meta { grid-area: meta; display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--ink-soft); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.irow-meta .icon { color: var(--ink-soft); --icon-accent: var(--ink-soft); }
.irow-meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--line); flex: none; }
.irow-amt { grid-area: amt; font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; }
.empty-ghost { text-align: center; padding: 26px 12px 16px; }
.empty-ghost .icon { width: 56px; height: 56px; padding: 10px; border-radius: 18px; background: var(--lime-soft); }
.empty-ghost h3 { margin: 12px 0 4px; }
.empty-ghost p { color: var(--ink-soft); margin: 0 auto 14px; max-width: 40ch; }
.dash-help { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.help-card { text-align: center; padding: 28px 24px; display: flex; flex-direction: column; align-items: center; }
.help-card h2 { font-size: 1.2rem; margin: 12px 0 6px; }
.help-card p { color: var(--ink-soft); max-width: 46ch; margin: 0 0 16px; font-size: 0.93rem; }
.help-art { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--accent-soft); }
.help-card.dark { background: var(--night); border-color: var(--night); color: #fff; }
.help-card.dark p { color: #c4bdd6; }
.help-card.dark h2 { color: #fff; }
.help-card.dark .help-art { background: var(--lime); }
.help-card.dark .help-art .icon { color: var(--ink); --icon-accent: var(--ink); }

@media (max-width: 1100px) {
  .dash-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { position: fixed; inset-block: 0; inset-inline-start: 0; width: min(300px, 86vw); transform: translateX(-104%); transition: transform 0.25s cubic-bezier(0.3, 0, 0.2, 1); box-shadow: 0 30px 80px -20px rgba(21, 17, 30, 0.5); }
  [dir="rtl"] .side { transform: translateX(104%); }
  .side-open .side { transform: none; }
  .side-open .side-scrim { display: block; position: fixed; inset: 0; z-index: 44; background: rgba(21, 17, 30, 0.35); }
  .side-close, .side-toggle { display: inline-grid; }
  .topbar { padding: 0 14px; }
  .dash-help { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .dash-stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .dash-stats > div:first-child { grid-column: 1 / -1; }
  .topbar .lang-menu, .topbar-title { display: none; }
  .topbar-end .btn span { display: none; }
  .prow { grid-template-columns: auto minmax(0, 1fr); }
  .prow-actions { grid-column: 1 / -1; }
  .prow-actions .btn { flex: 1; }
}

/* ---- support chat: a round launcher and a messenger-style panel ---- */
.chat { inset-inline-end: 22px; bottom: 22px; }
.chat .chat-tab, .chat.open .chat-tab { display: grid; place-items: center; position: relative; width: 60px; height: 60px; padding: 0; border-radius: 50%; clip-path: none; background: var(--ink); color: #fff; box-shadow: 0 18px 40px -14px rgba(21, 17, 30, 0.65), 0 0 0 4px rgba(200, 241, 105, 0.0); transition: transform 0.2s cubic-bezier(0.3, 0, 0.2, 1), box-shadow 0.2s, background 0.2s; }
.chat .chat-tab:hover { transform: scale(1.06); background: var(--ink); padding: 0; box-shadow: 0 18px 40px -14px rgba(21, 17, 30, 0.65), 0 0 0 5px rgba(200, 241, 105, 0.45); }
.chat-ico { grid-area: 1 / 1; display: grid; place-items: center; transition: transform 0.25s cubic-bezier(0.3, 0, 0.2, 1), opacity 0.2s; }
.chat-ico .icon { color: #fff; --icon-accent: var(--lime); }
.chat-ico-close { opacity: 0; transform: rotate(-90deg) scale(0.6); color: var(--lime); }
.chat.open .chat-ico-open { opacity: 0; transform: rotate(90deg) scale(0.6); }
.chat.open .chat-ico-close { opacity: 1; transform: none; }
.chat .chat-badge { position: absolute; top: -2px; right: -2px; background: var(--lime); color: var(--ink); box-shadow: 0 0 0 3px var(--paper); }
.chat-panel { inset-inline-end: 22px; bottom: 96px; width: min(390px, calc(100vw - 24px)); height: min(640px, calc(100vh - 120px)); border-radius: 26px; border: 1px solid var(--hair); box-shadow: 0 2px 6px rgba(21, 17, 30, 0.06), 0 40px 90px -30px rgba(21, 17, 30, 0.55); background: var(--paper); transform-origin: 100% 100%; animation: chatpop 0.24s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes chatpop { from { opacity: 0; transform: translateY(12px) scale(0.96); } to { opacity: 1; transform: none; } }
.chat-panel > header { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 16px 18px; text-align: center; color: #fff; background:
  radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.10) 1.2px, transparent 1.4px) 0 0 / 16px 16px,
  radial-gradient(260px 140px at 85% 0%, rgba(200, 241, 105, 0.32), transparent 70%),
  linear-gradient(160deg, #2a1f55 0%, var(--accent) 55%, #3b2a8f 100%); border-radius: 26px 26px 0 0; }
.chat-head-row { position: relative; width: 100%; display: flex; justify-content: center; align-items: center; }
.chat-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 16px; border-radius: 999px; background: rgba(21, 17, 30, 0.35); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); font-weight: 600; font-size: 0.88rem; }
.chat-pill .icon { color: #fff; --icon-accent: var(--lime); }
.chat-panel .chat-close { position: absolute; inset-inline-end: 0; top: 50%; transform: translateY(-50%); color: rgba(255, 255, 255, 0.85); padding: 7px; border-radius: 10px; }
.chat-faces { display: flex; justify-content: center; margin: 12px 0 8px; }
.chat-faces span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.95); margin-inline-start: -10px; }
.chat-faces span:first-child { margin-inline-start: 0; }
.chat-faces .f1 { background: #efebfd; --icon-accent: var(--accent); }
.chat-faces .f2 { width: 52px; height: 52px; margin-top: -3px; background: var(--ink); color: var(--lime); z-index: 1; }
.chat-faces .f2 .eyes ellipse { fill: var(--ink); }
.chat-faces .f3 { background: var(--lime); --icon-accent: var(--ink); }
.chat-faces .icon { color: var(--ink); }
.chat-panel > header strong { font-family: var(--display); font-weight: 800; font-size: 1.12rem; letter-spacing: -0.02em; }
.chat-panel .chat-presence { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; color: rgba(255, 255, 255, 0.82); margin: 0; }
.chat-presence::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); }
.chat-presence.on::before { background: var(--lime); box-shadow: 0 0 0 3px rgba(200, 241, 105, 0.3); margin: 0; }
.chat-log { background: var(--paper); padding: 18px 16px 10px; gap: 10px; }
.chat-log li.team, .chat-log li.auto { position: relative; padding-inline-start: 38px; }
.chat-log li.team::before, .chat-log li.auto::before { content: ""; position: absolute; inset-inline-start: 0; top: 2px; width: 28px; height: 28px; border-radius: 50%; background: var(--ink) url("/static/favicon.svg") center / 24px no-repeat; }
.chat-log .team .m { background: var(--mist); border: 0; border-radius: 16px 16px 16px 6px; }
.chat-log .auto .m { background: var(--lime-soft); border: 1px solid #dff2b6; border-radius: 16px 16px 16px 6px; }
.chat-log .you .m { background: var(--accent); color: #fff; border-radius: 16px 16px 6px 16px; }
.chat-log .intro p { color: var(--ink-soft); font-size: 0.88rem; }
.chat-quick button { border-color: var(--hair); background: var(--paper); font-size: 0.88rem; }
.chat-quick button:hover { border-color: var(--accent); color: var(--accent); }
.chat-form { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 14px 10px; border-top: 0; }
.chat-compose { border: 1.5px solid var(--line); border-radius: 18px; padding: 10px 12px 8px; transition: border-color var(--ease), box-shadow var(--ease); }
.chat-compose:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(91, 63, 208, 0.12); }
.chat-form .chat-compose textarea { border: 0; box-shadow: none; padding: 0; margin: 0; min-height: 44px; border-radius: 0; resize: none; background: transparent; }
.chat-form .chat-compose textarea:focus { box-shadow: none; }
.chat-tools { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.chat-hint { font-size: 0.74rem; color: #9a93a8; }
.chat-form .chat-send { width: 36px; height: 36px; background: var(--ink); color: var(--lime); }
.chat-form .chat-send:hover { background: var(--accent); color: #fff; }
.chat-foot { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; font-size: 0.74rem; color: #9a93a8; }
.chat-foot svg { width: 13px; height: 13px; color: #9a93a8; }
.chat-foot svg .eyes ellipse { fill: var(--paper); }
.chat-email { border-color: var(--hair); border-radius: 16px; }
@media (max-width: 640px) {
  .chat { inset-inline-end: 14px; bottom: 14px; }
  .chat .chat-tab, .chat.open .chat-tab { width: 54px; height: 54px; }
  .chat-panel { inset-inline: 8px; bottom: 80px; width: auto; height: min(76vh, 620px); border-radius: 22px; }
  .chat-panel > header { border-radius: 22px 22px 0 0; }
}
.topbar-brand { display: none; }
.shell { background: linear-gradient(to right, var(--paper) 264px, transparent 264px); }
[dir="rtl"] .shell { background: linear-gradient(to left, var(--paper) 264px, transparent 264px); }
@media (max-width: 900px) {
  .shell { background: none; }
  .topbar-brand { display: inline-flex; }
}
@media (max-width: 640px) {
  .ptiles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
  .ptiles a { grid-template-columns: minmax(0, 1fr); grid-template-areas: "icon" "text" "price"; padding: 12px; gap: 8px; border-radius: 16px; }
  .ptile-icon { width: 36px; height: 36px; border-radius: 11px; }
  .ptile-text small, .ptile-go { display: none; }
  .ptile-text strong { font-size: 0.9rem; }
}
.side { overflow: hidden; }
.side-nav { min-height: 0; overflow-y: auto; margin: 0 -6px; padding: 0 6px; scrollbar-width: thin; }
.side-label { margin-top: 14px; }

/* ---- admin support inbox: three panes, like a messenger's back office ---- */
body.support-inbox { background: var(--mist); }
body.support-inbox .site-foot, body.support-inbox .chat { display: none; }
.sx { display: grid; grid-template-columns: 230px 360px minmax(0, 1fr); height: calc(100vh - 72px); min-height: 520px; background: var(--paper); border-top: 1px solid var(--hair); }
.sx-nav { display: flex; flex-direction: column; padding: 18px 12px; background: var(--cloud); border-inline-end: 1px solid var(--hair); overflow-y: auto; }
.sx-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 8px 14px; font-family: var(--display); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.sx-online { flex-basis: 100%; display: inline-flex; align-items: center; gap: 6px; font-family: var(--body); font-style: normal; font-weight: 500; font-size: 0.78rem; color: var(--green); }
.sx-online::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #1fae6e; box-shadow: 0 0 0 3px rgba(31, 174, 110, 0.18); }
.sx-nav nav { display: flex; flex-direction: column; gap: 2px; }
.sx-nav nav a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: 0.93rem; }
.sx-nav nav a:hover { background: var(--paper); color: var(--ink); }
.sx-nav nav a[aria-current="page"] { background: var(--paper); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(21, 17, 30, 0.06), 0 0 0 1px var(--hair); }
.sx-nav nav a .icon { color: currentColor; }
.sx-nav nav b { margin-inline-start: auto; font-size: 0.75rem; min-width: 24px; text-align: center; padding: 2px 7px; border-radius: 999px; background: var(--haze); color: var(--ink); }
.sx-nav nav a[aria-current="page"] b { background: var(--ink); color: var(--lime); }
.sx-nav-foot { margin-top: auto; padding: 12px 8px 0; font-size: 0.78rem; color: #9a93a8; }
.sx-nav-foot p { margin: 0 0 8px; }
.sx-list { display: flex; flex-direction: column; min-height: 0; border-inline-end: 1px solid var(--hair); }
.sx-list > header { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 16px 18px 12px; border-bottom: 1px solid var(--hair); }
.sx-list > header strong { font-weight: 700; }
.sx-list > header span { font-size: 0.82rem; color: var(--ink-soft); }
.sx .inbox { flex: 1; overflow-y: auto; margin: 0; border: 0; border-radius: 0; background: none; }
.sx .inbox li { border-bottom: 1px solid var(--hair); }
.sx .inbox a { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; gap: 3px 12px; align-items: center; padding: 14px 16px; }
.sx .inbox a > .sx-avatar { grid-row: 1 / span 2; }
.sx .inbox a:hover { background: var(--cloud); }
.sx .inbox li.on a { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
.sx .inbox .unread a { box-shadow: none; }
.sx .inbox li.on.unread a { box-shadow: inset 3px 0 0 var(--accent); }
.sx-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.sx .inbox-who { font-weight: 600; font-size: 0.93rem; }
.sx .inbox-when { font-size: 0.75rem; color: #9a93a8; flex: none; }
.sx .inbox-last { font-size: 0.86rem; color: var(--ink-soft); min-width: 0; }
.sx .unread .inbox-who, .sx .unread .inbox-last { color: var(--ink); }
.sx .unread .inbox-when { color: var(--accent); font-weight: 600; }
.sx-replied { font-style: normal; margin-inline-end: 6px; color: #9a93a8; }
.sx .count { flex: none; margin: 0; background: var(--accent); }
.sx-avatar { position: relative; flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; font-weight: 700; font-size: 0.9rem; color: var(--ink); }
.sx-avatar.big { width: 46px; height: 46px; }
.sx-flag { position: absolute; right: -3px; bottom: -3px; display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: var(--paper); font-style: normal; font-size: 0.72rem; line-height: 1; box-shadow: 0 0 0 2px var(--paper); }
.sx-empty-list { padding: 40px 24px; text-align: center; color: var(--ink-soft); }
.sx-empty-list .icon { width: 52px; height: 52px; padding: 10px; border-radius: 16px; background: var(--lime-soft); }
.sx-pane { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.sx-blank { margin: auto; text-align: center; color: var(--ink-soft); }
.sx-blank .mark { color: var(--ink); opacity: 0.9; }
.sx-blank p { margin: 10px 0 0; }
.sx-blank strong { font-family: var(--display); font-size: 1.6rem; letter-spacing: -0.03em; color: var(--ink); }
.sx-head { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-bottom: 1px solid var(--hair); }
.sx-back { display: none; font-size: 1.3rem; text-decoration: none; color: var(--ink); }
.sx-who { min-width: 0; flex: 1; }
.sx-who h1 { margin: 0; font-size: 1.15rem; letter-spacing: -0.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx-who p { display: flex; align-items: center; gap: 8px; margin: 2px 0 0; font-size: 0.82rem; color: var(--ink-soft); }
.sx-head form { margin: 0; }
.sx-body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 270px; }
.sx-convo { display: flex; flex-direction: column; min-height: 0; background: var(--mist); }
.sx .thread { flex: 1; margin: 0; max-height: none; border: 0; border-radius: 0; background: none; padding: 22px 24px; }
.sx .thread .from-them p { background: var(--paper); border: 1px solid var(--hair); border-radius: 16px 16px 16px 6px; }
.sx .thread .from-team p { background: var(--accent); color: #fff; border-radius: 16px 16px 6px 16px; }
.sx-reply { margin: 0 16px 16px; padding: 10px 12px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 18px; transition: border-color var(--ease), box-shadow var(--ease); }
.sx-reply:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(91, 63, 208, 0.12); }
.sx-reply textarea.plain { border: 0; box-shadow: none; padding: 2px 0; margin: 0; min-height: 64px; resize: vertical; }
.sx-reply-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sx-reply-bar .hint { margin: 0; font-size: 0.78rem; }
.sx-info { border-inline-start: 1px solid var(--hair); padding: 18px; overflow-y: auto; }
.sx-info h2 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: #9a93a8; margin: 0 0 12px; font-family: var(--body); font-weight: 600; }
.sx-info .facts { display: grid; gap: 12px; }
.sx-info .facts dd { font-size: 0.93rem; overflow-wrap: anywhere; }
@media (max-width: 1200px) { .sx-body { grid-template-columns: minmax(0, 1fr); } .sx-info { display: none; } }
@media (max-width: 960px) {
  .sx { grid-template-columns: minmax(0, 1fr); height: auto; min-height: calc(100vh - 72px); }
  .sx-nav { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px; border-inline-end: 0; border-bottom: 1px solid var(--hair); }
  .sx-nav nav { flex-direction: row; flex-wrap: wrap; }
  .sx-title, .sx-nav-foot { display: none; }
  .sx:has(.sx-head) .sx-list, .sx:has(.sx-head) .sx-nav { display: none; }
  .sx:not(:has(.sx-head)) .sx-pane { display: none; }
  .sx-back { display: inline-block; }
  .sx-convo { min-height: calc(100vh - 160px); }
}
.sx-avatar[data-hue="0"] { background: linear-gradient(135deg, #ffd9d4, #f5a99f); }
.sx-avatar[data-hue="30"] { background: linear-gradient(135deg, #ffe4cc, #f6b77e); }
.sx-avatar[data-hue="60"] { background: linear-gradient(135deg, #f6f0c4, #e3d36c); }
.sx-avatar[data-hue="90"] { background: linear-gradient(135deg, #e4f6c8, #b6e07a); }
.sx-avatar[data-hue="120"] { background: linear-gradient(135deg, #d3f3dc, #86d3a0); }
.sx-avatar[data-hue="150"] { background: linear-gradient(135deg, #cdf2ea, #7fd3c1); }
.sx-avatar[data-hue="180"] { background: linear-gradient(135deg, #cdeef6, #7cc8de); }
.sx-avatar[data-hue="210"] { background: linear-gradient(135deg, #d7e4fb, #8fb0ef); }
.sx-avatar[data-hue="240"] { background: linear-gradient(135deg, #e1dcfb, #a79bf0); }
.sx-avatar[data-hue="270"] { background: linear-gradient(135deg, #ecdafa, #c79bef); }
.sx-avatar[data-hue="300"] { background: linear-gradient(135deg, #f8d8f0, #e79bd3); }
.sx-avatar[data-hue="330"] { background: linear-gradient(135deg, #fbd6e2, #ef9db7); }
.sx-reply-bar .btn { white-space: nowrap; flex: none; }

/* ---- reseller program */
.dash-stats.four, .dash-stats:has(> div:nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dash-stats span.muted { order: 3; font-size: 0.85rem; }
.dash-stats > div:first-child span.muted { color: #b3abc6; }
.tier-cards { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: none; }
.tier-card { margin: 0; position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px 18px 20px; border: 1px solid var(--hair); border-radius: 20px; background: var(--paper); }
.tier-card:nth-child(4) { background: var(--night); color: #fff; border-color: var(--night); }
.tier-card:nth-child(4) .tier-need, .tier-card:nth-child(4) .tier-level { color: #b3abc6; }
.tier-card:nth-child(4) .tier-pct { color: var(--lime); }
.tier-card.on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.tier-level { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); }
.tier-level b { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 0.72rem; letter-spacing: 0; text-transform: none; }
.tier-name { font-family: var(--display); font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; }
.tier-pct { font-family: var(--display); font-size: 2.1rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--accent); }
.tier-need { font-size: 0.88rem; color: var(--ink-soft); }
.tier-progress { margin: 0 0 18px; }
.tier-progress p { margin: 0 0 6px; font-size: 0.92rem; }
.meter.wide { max-width: none; height: 8px; }
.tier-table th .sub { display: block; font-weight: 500; font-size: 0.8rem; color: var(--ink-soft); }
.tier-table td s { color: var(--ink-soft); }
.key-rows { list-style: none; padding: 0; margin: 0 0 16px; }
.key-rows li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--hair); }
.key-rows .sub { display: block; font-size: 0.85rem; color: var(--ink-soft); margin-top: 2px; }
.key-once .copy-row input { font-family: var(--mono); }
.stack-form { display: grid; gap: 12px; }
.stack-form label { display: grid; gap: 6px; font-weight: 600; font-size: 0.92rem; }
.btn.danger { color: var(--red); }
.reseller-join .ticks { margin: 0 0 18px; }
.tag-chip { display: inline-block; padding: 1px 8px; margin-right: 6px; border-radius: 999px; background: var(--lime-soft); color: #3f5410; font-size: 0.8rem; font-weight: 600; }
.cta-row-left { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.ep { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 26px 0 6px; font-size: 1.02rem; }
.ep code { font-size: 0.95rem; }
.verb { display: inline-block; min-width: 48px; text-align: center; padding: 3px 8px; border-radius: 6px; font-family: var(--mono); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em; }
.verb.get { background: var(--lime-soft); color: #3f5410; }
.verb.post { background: var(--accent-soft); color: var(--accent-deep); }
@media (max-width: 900px) { .tier-cards, .dash-stats:has(> div:nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tier-cards { grid-template-columns: 1fr; } }
.card .code pre { white-space: pre; overflow-x: auto; }
.row-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.row-actions form { margin: 0; }
.app-card { margin: 0 0 14px; padding: 18px 20px; }
.app-card .app-how { white-space: pre-line; background: var(--mist); border-radius: var(--r1); padding: 12px 14px; }
.reseller-wait .facts { margin: 12px 0; }
.res-facts { list-style: none; padding: 0; margin: 0 0 30px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.res-facts li { margin: 0; display: flex; flex-direction: column; gap: 2px; padding: 18px 20px; border: 1px solid var(--hair); border-radius: 20px; background: var(--paper); }
.res-facts li:first-child { background: var(--night); border-color: var(--night); color: #fff; }
.res-facts li:first-child strong { color: var(--lime); }
.res-facts strong { font-family: var(--display); font-size: 1.9rem; font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; }
.res-facts span { font-size: 0.9rem; color: var(--ink-soft); }
.res-facts li:first-child span { color: #b3abc6; }
@media (max-width: 900px) { .res-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stack-form label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.stack-form label.check input { margin-top: 3px; flex: none; }
