/* everbuff.gg public site on the Quiet Precision tokens (tokens.css, generated by everbuff-claude/design/gen.py;
   everbuff-business #36). Every color is a token. Spacing on the 4 px grid, type on the 12/14/16/20/28/40 scale.
   Dark only at launch, as every surface. */
@font-face { font-family: "Inter"; src: url("/fonts/Inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url("/fonts/ChakraPetchTab-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--eb-bg-canvas); color: var(--eb-fg);
  font: var(--eb-body-weight) var(--eb-body-size)/var(--eb-body-lh) var(--eb-font-ui);
  font-feature-settings: "tnum" 1, "cv11" 1; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: var(--eb-accent-fg); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--eb-focus-ring); outline-offset: 2px; border-radius: var(--eb-radius-xs); }
img, svg { display: block; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--eb-space-4); top: -48px; z-index: 50; padding: var(--eb-space-2) var(--eb-space-3); background: var(--eb-bg-raised); color: var(--eb-fg); border-radius: var(--eb-radius-sm); }
.skip:focus { top: var(--eb-space-3); }

/* ---- type ---- */
.over { font: var(--eb-overline-weight) var(--eb-overline-size)/var(--eb-overline-lh) var(--eb-font-ui); text-transform: uppercase; letter-spacing: .04em; color: var(--eb-fg-muted); }
.meta { font-size: var(--eb-meta-size); line-height: var(--eb-meta-lh); color: var(--eb-fg-muted); }
.num { font-family: var(--eb-font-num); font-weight: 600; }
.display { font: 600 var(--eb-hero-size)/var(--eb-hero-lh) var(--eb-font-ui); letter-spacing: -.01em; text-wrap: balance; }
.h2 { font: 600 var(--eb-kpi-size)/var(--eb-kpi-lh) var(--eb-font-ui); letter-spacing: -.01em; text-wrap: balance; }
.h3 { font: 600 var(--eb-heading-size)/var(--eb-heading-lh) var(--eb-font-ui); }
.lede { font-size: 16px; line-height: 24px; color: var(--eb-fg-subtle); max-width: 60ch; }
.body { color: var(--eb-fg-subtle); max-width: 62ch; }
.muted { color: var(--eb-fg-muted); }

/* ---- layout ---- */
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--eb-space-5); }
.section { padding: var(--eb-space-8) 0; }
.section + .section { border-top: 1px solid var(--eb-line); }
.section-head { display: grid; gap: var(--eb-space-3); margin-bottom: var(--eb-space-6); max-width: 720px; }

/* ---- controls (the desktop's buttons, web sizes) ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--eb-space-2); height: 32px; padding: 0 var(--eb-space-3); border-radius: var(--eb-radius-sm); font: 500 14px/20px var(--eb-font-ui); color: var(--eb-fg); white-space: nowrap; transition: background-color .12s; border: 0; cursor: pointer; }
.btn:hover { text-decoration: none; }
.btn .i { width: 16px; height: 16px; }
.btn.lg { height: 44px; padding: 0 var(--eb-space-5); font-size: 16px; }
.btn.primary { background: var(--eb-accent); color: var(--eb-on-accent); font-weight: 600; }
.btn.primary:hover { background: var(--eb-accent-hover); }
.btn.primary:active { background: var(--eb-accent-pressed); }
.btn.secondary { background: var(--eb-n3); }
.btn.secondary:hover { background: var(--eb-n4); }
.btn.ghost { color: var(--eb-fg-muted); }
.btn.ghost:hover { background: var(--eb-n3); color: var(--eb-fg); }
.actions { display: flex; flex-wrap: wrap; gap: var(--eb-space-3); align-items: center; }

/* ---- header ---- */
.top { position: sticky; top: 0; z-index: 20; background: var(--eb-bg-canvas); border-bottom: 1px solid var(--eb-line); }
.top .wrap { height: 56px; display: flex; align-items: center; gap: var(--eb-space-5); }
.brand { display: inline-flex; align-items: center; gap: var(--eb-space-2); color: var(--eb-fg); }
.brand:hover { text-decoration: none; }
.brand .mark { width: 24px; height: 24px; }
.wm { font: 600 17px/20px var(--eb-font-num); color: var(--eb-fg); }
.wm span { color: var(--eb-fg-muted); }
.nav { display: flex; gap: var(--eb-space-1); margin-left: var(--eb-space-3); }
.nav a { height: 32px; display: inline-flex; align-items: center; padding: 0 var(--eb-space-3); border-radius: var(--eb-radius-sm); color: var(--eb-fg-muted); font-weight: 500; }
.nav a:hover { background: var(--eb-n2); color: var(--eb-fg); text-decoration: none; }
.top .actions { margin-left: auto; gap: var(--eb-space-2); }

/* ---- hero ---- */
.hero { padding: var(--eb-space-8) 0 var(--eb-space-7); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--eb-space-7); align-items: center; }
.hero-copy { display: grid; gap: var(--eb-space-5); align-content: center; }
.hero-copy .actions { margin-top: var(--eb-space-2); }
.facts { display: flex; flex-wrap: wrap; gap: var(--eb-space-2) var(--eb-space-4); }
.facts li { display: inline-flex; align-items: center; gap: var(--eb-space-2); font-size: 13px; color: var(--eb-fg-muted); }
.facts li .i { width: 14px; height: 14px; color: var(--eb-fg-faint); }

/* ---- the product: a session page (sample data, labelled) ---- */
.sample { position: relative; background: var(--eb-bg-panel); border-radius: var(--eb-radius-lg); overflow: hidden; box-shadow: var(--eb-shadow-overlay); }
.sample-tag { margin-left: auto; flex: none; padding: 2px var(--eb-space-2); border-radius: var(--eb-radius-xs); background: var(--eb-n4); }
.sess-head { display: flex; align-items: flex-start; gap: var(--eb-space-3); padding: var(--eb-space-4) var(--eb-space-4) var(--eb-space-3); }
.sess-head .h3 { font-size: 16px; }
.cls-hunter { color: var(--eb-c-hunter); }
.cls-priest { color: var(--eb-c-priest); }
.cls-mage { color: var(--eb-c-mage); }
.player { margin: 0 var(--eb-space-4); border-radius: var(--eb-radius-lg); background: var(--eb-bg-sunken); aspect-ratio: 16 / 7; position: relative; overflow: hidden; }
.player .scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.player .play { position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: var(--eb-bg-raised); display: grid; place-items: center; color: var(--eb-fg); box-shadow: var(--eb-shadow-float); }
.player .play .i { width: 20px; height: 20px; fill: currentColor; stroke: none; margin-left: 3px; }
.now { display: grid; grid-template-columns: auto auto auto minmax(0, 1fr) minmax(0, 1fr); gap: var(--eb-space-4); margin: var(--eb-space-2) var(--eb-space-4) 0; padding: var(--eb-space-2) var(--eb-space-3); background: var(--eb-bg-canvas); border-radius: var(--eb-radius-sm); align-items: end; }
.now div { display: grid; gap: 2px; min-width: 0; }
.now b { font-weight: 500; font-size: 13px; line-height: 20px; color: var(--eb-fg); white-space: nowrap; }
.res { height: 6px; border-radius: 1px; background: var(--eb-n3); margin: 7px 0; overflow: hidden; }
.res i { display: block; height: 100%; }
.scrub { padding: var(--eb-space-3) var(--eb-space-4) 0; }
.track { position: relative; height: 20px; }
.track .rail { position: absolute; left: 0; right: 0; top: 8px; height: 4px; border-radius: var(--eb-radius-xs); background: var(--eb-n3); }
.track .seg { position: absolute; top: 8px; height: 4px; border-radius: 1px; }
.seg.trash { background: var(--eb-data-muted); }
.seg.boss { background: var(--eb-data-single); }
.track .pos { position: absolute; top: 3px; width: 2px; height: 14px; border-radius: 1px; background: var(--eb-fg); }
.track .death { position: absolute; top: 6px; width: 8px; height: 8px; margin-left: -4px; background: var(--eb-danger); transform: rotate(45deg); }
.track .ding { position: absolute; top: -2px; width: 12px; height: 12px; margin-left: -6px; color: var(--eb-fg); }
.track .ding .i { width: 12px; height: 12px; stroke-width: 2; }
.track .loot { position: absolute; top: 8px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--eb-q-rare); box-shadow: 0 0 0 2px var(--eb-bg-panel); }
.times { display: flex; justify-content: space-between; margin-top: var(--eb-space-1); }
.kpis { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; margin: var(--eb-space-4); background: var(--eb-bg-canvas); border-radius: var(--eb-radius-md); }
.kpi { padding: var(--eb-space-3) var(--eb-space-4); display: grid; gap: 2px; align-content: end; }
.kpi + .kpi { border-left: 1px solid var(--eb-line); }
.kpi .v { font: 600 var(--eb-kpi-size)/var(--eb-kpi-lh) var(--eb-font-num); }
.kpi.lead .v { font-size: var(--eb-hero-size); line-height: var(--eb-hero-lh); }
.kpi .v small { font: 400 12px/16px var(--eb-font-ui); color: var(--eb-fg-muted); margin-left: 2px; }

/* ---- tables ---- */
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 20px; }
.tbl th { font: 500 12px/16px var(--eb-font-ui); text-transform: uppercase; letter-spacing: .04em; color: var(--eb-fg-muted); text-align: left; padding: 0 var(--eb-space-3) var(--eb-space-2); border-bottom: 1px solid var(--eb-line-strong); white-space: nowrap; }
.tbl td { padding: var(--eb-space-2) var(--eb-space-3); border-bottom: 1px solid var(--eb-line); color: var(--eb-fg-subtle); white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .r { text-align: right; }
.tbl .t { color: var(--eb-fg); font-weight: 500; }
.tbl .dash { color: var(--eb-fg-faint); }
.sample .tbl { margin-bottom: var(--eb-space-3); }
.sample .tbl th:first-child, .sample .tbl td:first-child { padding-left: var(--eb-space-4); }
.sample .tbl th:last-child, .sample .tbl td:last-child { padding-right: var(--eb-space-4); }
.word { display: inline-flex; align-items: center; gap: var(--eb-space-2); font-weight: 500; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--eb-n7); }
.dot.ok { background: var(--eb-success); }
.dot.bad { background: var(--eb-danger); }
.word.ok { color: var(--eb-success-fg); }
.word.bad { color: var(--eb-danger-fg); }
.q-rare { color: var(--eb-q-rare); }
.q-epic { color: var(--eb-q-epic); }
.q-uncommon { color: var(--eb-q-uncommon); }
.q-common { color: var(--eb-q-common); }
.coin-g { color: var(--eb-coin-gold); }
.coin-s { color: var(--eb-coin-silver); }
.coin-c { color: var(--eb-coin-copper); }
.item { display: inline-flex; align-items: center; gap: var(--eb-space-2); font-weight: 500; }
.scroll-x { overflow-x: auto; }

/* ---- steps ---- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--eb-space-5); counter-reset: step; }
.step { display: grid; gap: var(--eb-space-3); align-content: start; padding-top: var(--eb-space-4); border-top: 2px solid var(--eb-line-strong); }
.step .n { font: 600 var(--eb-kpi-size)/var(--eb-kpi-lh) var(--eb-font-num); color: var(--eb-fg-muted); }

/* ---- feature rows ---- */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--eb-space-7); align-items: center; }
.feature + .feature { margin-top: var(--eb-space-8); }
.feature.flip { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.feature.flip .feature-copy { order: 2; }
.feature-copy { display: grid; gap: var(--eb-space-3); }
.feature-copy .over { margin-bottom: var(--eb-space-1); }
.ticks { display: grid; gap: var(--eb-space-2); margin-top: var(--eb-space-2); }
.ticks li { display: flex; gap: var(--eb-space-2); color: var(--eb-fg-subtle); }
.ticks li .i { width: 16px; height: 16px; margin-top: 3px; color: var(--eb-fg-muted); }
.panel { background: var(--eb-bg-panel); border-radius: var(--eb-radius-md); padding: var(--eb-space-4); }
.panel-head { display: flex; align-items: baseline; gap: var(--eb-space-3); margin-bottom: var(--eb-space-4); flex-wrap: wrap; }
.panel-head .v { font: 600 var(--eb-kpi-size)/var(--eb-kpi-lh) var(--eb-font-num); margin-left: auto; }
.panel-head .v small { font: 400 12px/16px var(--eb-font-ui); color: var(--eb-fg-muted); margin-left: 4px; }
.chart { width: 100%; height: auto; }
.chart.narrow { display: none; }
.legend { display: flex; gap: var(--eb-space-4); margin-top: var(--eb-space-3); flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: var(--eb-space-2); font-size: 12px; color: var(--eb-fg-muted); }
.legend i { width: 12px; height: 4px; border-radius: 1px; }
.recap { display: flex; align-items: flex-start; gap: var(--eb-space-3); margin-top: var(--eb-space-4); padding-top: var(--eb-space-3); border-top: 1px solid var(--eb-line); font-size: 13px; color: var(--eb-fg-subtle); }
.recap > span:last-child { flex: 1; min-width: 0; }
.recap .diamond { margin-top: 6px; width: 8px; height: 8px; background: var(--eb-danger); transform: rotate(45deg); flex: none; }

/* ---- ask ---- */
.ask { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); background: var(--eb-bg-panel); border-radius: var(--eb-radius-md); overflow: hidden; }
.ask-list { border-right: 1px solid var(--eb-line); padding: var(--eb-space-3) 0; }
.ask-list .over { padding: var(--eb-space-2) var(--eb-space-4); }
.ask-list li { position: relative; padding: var(--eb-space-2) var(--eb-space-4); font-size: 13px; line-height: 20px; color: var(--eb-fg-subtle); }
.ask-list li.on { background: var(--eb-accent-tint-n2); color: var(--eb-fg); font-weight: 500; }
.ask-list li.on::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--eb-accent); }
.ask-answer { padding: var(--eb-space-4); display: grid; gap: var(--eb-space-4); align-content: start; }
.hbars { display: grid; gap: var(--eb-space-3); }
.hbar { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr) 24px; gap: var(--eb-space-3); align-items: center; font-size: 13px; }
.hbar .l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--eb-fg-subtle); }
.hbar .b { height: 8px; border-radius: 1px; background: var(--eb-n3); }
.hbar .b i { display: block; height: 100%; border-radius: 1px; background: var(--eb-data-single); }
.hbar .c { text-align: right; color: var(--eb-fg); }

/* ---- trust ---- */
.trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--eb-space-5) var(--eb-space-7); }
.trust li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: var(--eb-space-2) var(--eb-space-3); }
.trust li .i { color: var(--eb-fg-muted); margin-top: 2px; }
.trust li p { grid-column: 2; color: var(--eb-fg-subtle); }
.privacy-line { margin-top: var(--eb-space-6); padding: var(--eb-space-3) var(--eb-space-4); border-radius: var(--eb-radius-md); background: var(--eb-bg-panel); color: var(--eb-fg-subtle); display: flex; gap: var(--eb-space-3); align-items: center; }
.privacy-line .i { color: var(--eb-fg-muted); }

/* ---- faq ---- */
.faq { max-width: 760px; border-top: 1px solid var(--eb-line); }
.faq details { border-bottom: 1px solid var(--eb-line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: var(--eb-space-3); min-height: 56px; padding: var(--eb-space-3) 0; font-weight: 500; font-size: 16px; line-height: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { margin-left: auto; width: 16px; height: 16px; color: var(--eb-fg-muted); transition: transform .18s cubic-bezier(.2,.8,.2,1); }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq summary:hover { color: var(--eb-fg); }
.faq details p { padding: 0 var(--eb-space-6) var(--eb-space-4) 0; color: var(--eb-fg-subtle); max-width: 68ch; }

/* ---- closing band ---- */
.cta { text-align: left; }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--eb-space-5); flex-wrap: wrap; }
.cta-box { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--eb-space-5); flex-wrap: wrap; padding: var(--eb-space-6); background: var(--eb-bg-panel); border-radius: var(--eb-radius-md); }

/* ---- footer ---- */
.foot { border-top: 1px solid var(--eb-line); padding: var(--eb-space-6) 0 var(--eb-space-7); background: var(--eb-bg-sunken); }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--eb-space-5) var(--eb-space-7); }
.foot .tag { margin-top: var(--eb-space-2); }
.foot nav { display: flex; gap: var(--eb-space-5); flex-wrap: wrap; align-content: start; }
.foot nav a { color: var(--eb-fg-muted); font-weight: 500; }
.foot nav a:hover { color: var(--eb-fg); }
.foot .legal { grid-column: 1 / -1; display: grid; gap: var(--eb-space-1); padding-top: var(--eb-space-5); border-top: 1px solid var(--eb-line); }

/* ---- download page ---- */
.dl { padding: var(--eb-space-8) 0; }
.dl .wrap { max-width: 760px; display: grid; gap: var(--eb-space-6); }
.dl-card { background: var(--eb-bg-panel); border-radius: var(--eb-radius-md); padding: var(--eb-space-5); display: grid; gap: var(--eb-space-4); }
.dl-row { display: flex; align-items: center; gap: var(--eb-space-4); flex-wrap: wrap; }
.dl-row .spec { display: flex; gap: var(--eb-space-5); flex-wrap: wrap; margin-left: auto; }
.dl-row .spec div { display: grid; gap: 2px; }
.dl-row .spec b { font-weight: 500; color: var(--eb-fg); }
.status { display: inline-flex; align-items: center; gap: var(--eb-space-2); font-weight: 500; }
.dl-steps { display: grid; gap: var(--eb-space-4); }
.dl-steps li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: var(--eb-space-3); align-items: start; }
.dl-steps .n { font: 600 var(--eb-title-size)/var(--eb-title-lh) var(--eb-font-num); color: var(--eb-fg-muted); }
.dl-steps p { color: var(--eb-fg-subtle); }
.req { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: var(--eb-space-2) var(--eb-space-5); }
.req dt { color: var(--eb-fg-muted); }
.req dd { color: var(--eb-fg-subtle); }
[hidden] { display: none !important; }

/* ---- responsive ---- */
@media (max-width: 1023px) {
  .hero .wrap, .feature { grid-template-columns: minmax(0, 1fr); gap: var(--eb-space-6); }
  .feature.flip { grid-template-columns: minmax(0, 1fr); }
  .feature.flip .feature-copy { order: 0; }
  .hero { padding-top: var(--eb-space-7); }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .steps, .trust { grid-template-columns: minmax(0, 1fr); }
  .ask { grid-template-columns: minmax(0, 1fr); }
  .ask-list { border-right: 0; border-bottom: 1px solid var(--eb-line); }
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kpi.lead { grid-column: 1 / -1; border-bottom: 1px solid var(--eb-line); }
  .kpi.lead + .kpi { border-left: 0; }
  .foot .wrap { grid-template-columns: minmax(0, 1fr); }
  .dl-row .spec { margin-left: 0; }
}
@media (max-width: 639px) {
  .wrap { padding: 0 var(--eb-space-4); }
  .display { font-size: var(--eb-kpi-size); line-height: var(--eb-kpi-lh); }
  .h2 { font-size: var(--eb-title-size); line-height: var(--eb-title-lh); }
  .section { padding: var(--eb-space-7) 0; }
  .top .btn.ghost { display: none; }
  .chart.wide { display: none; }
  .chart.narrow { display: block; }
  .panel-head .v { margin-left: 0; width: 100%; }
  .hero-copy .btn.lg { width: 100%; }
  .cta-box { padding: var(--eb-space-5); }
  .cta-box .actions, .cta-box .btn { width: 100%; }
  .sample .tbl .opt { display: none; }
  .now { grid-template-columns: auto auto minmax(0, 1fr); gap: var(--eb-space-3); }
  .now .opt { display: none; }
  .player { aspect-ratio: 16 / 9; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media (forced-colors: active) {
  .sample, .panel, .ask, .dl-card, .cta-box, .kpis, .privacy-line { border: 1px solid CanvasText; }
  .dot, .track .death, .track .loot { forced-color-adjust: none; }
  .btn.primary { border: 1px solid ButtonText; }
}
