/* DataSnack's web palette and type (DataSnack-Orbit-Biz: app/tokens.css, business/business.css), with a dark mode. */
@font-face {
  font-family: DataSnack;
  src: url("/assets/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --paper: #ffffff;
  --surface-2: #f3f4f7;
  --ink: #171b26;
  --ink-2: #3c4354;
  --muted: #5d6475;
  --line: #dce0e9;
  --accent: #3155ef;
  --accent-soft: #edf0ff;
  --highlight: #ff7a45;
  --highlight-hover: #ff9369;
  --highlight-soft: #fff1ea;
  --positive: #1f7a4d;
  --negative: #c4321f;
  --radius: 10px;
  --radius-s: 4px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #12151d;
    --surface-2: #1b1f2a;
    --ink: #eceef3;
    --ink-2: #c4c9d4;
    --muted: #9aa1b0;
    --line: #2b3140;
    --accent: #7d95ff;
    --accent-soft: #1d2647;
    --highlight: #ff8a5c;
    --highlight-hover: #ffa07c;
    --highlight-soft: #3a2219;
    --positive: #4cc28a;
    --negative: #ff7b68;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 DataSnack, Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-variant-numeric: tabular-nums;
}
a { color: inherit; }
h1, h2, h3 { font-weight: 400; letter-spacing: -0.045em; margin: 0 0 16px; color: var(--ink); }
h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1.04; max-width: 1000px; }
h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; }
h3 { font-size: 20px; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 6px; }
p { margin: 0 0 16px; color: var(--muted); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.shell { width: calc(100% - 96px); max-width: 1240px; margin-inline: auto; }
.header { min-height: 88px; display: flex; align-items: center; gap: 32px; border-bottom: 1px solid var(--line); }
.header .logo { display: block; color: var(--ink); }
.header .logo svg { display: block; width: 137px; height: auto; }
.header nav { margin-left: auto; display: flex; gap: 28px; font-size: 14px; }
.header nav a { text-decoration: none; }
.header nav a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; }

.eyebrow { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; }
.intro { padding: 72px 0 8px; }
.intro .lede { font-size: clamp(18px, 1.6vw, 21px); max-width: 720px; color: var(--ink-2); }
.asof { font-size: 14px; color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); margin: 40px 0 56px; }
.stat { padding: 26px 20px 26px 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--line); }
.stat strong { font-size: clamp(28px, 3vw, 44px); font-weight: 400; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.stat span { font-size: 15px; color: var(--ink); }
.stat small { font-size: 13px; color: var(--muted); }

section.block { padding: 8px 0 56px; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.block-head h2 { margin: 0; }
.block-head p { margin: 0; font-size: 14px; }

/* Chart: one series, net profit to date. The plot is an SVG stretched to its box; labels are HTML so they keep
   their size at any width. */
.chart { position: relative; height: 300px; margin: 0 0 8px 56px; }
.chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.chart .grid line { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart .zero { stroke: var(--muted); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart .series { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.chart .ytick { position: absolute; right: calc(100% + 10px); transform: translateY(-50%); font-size: 12px; color: var(--muted); white-space: nowrap; }
.chart .xtick { position: absolute; top: calc(100% + 8px); font-size: 12px; color: var(--muted); white-space: nowrap; transform: translateX(-50%); }
.chart .xtick.first { transform: none; }
.chart .xtick.last { transform: translateX(-100%); }
.chart .single { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 2px var(--paper); transform: translate(-50%, -50%); }
.chart .cross { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--muted); opacity: 0; pointer-events: none; }
.chart .dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 2px var(--paper); transform: translate(-50%, -50%); opacity: 0; pointer-events: none; }
.chart .tip { position: absolute; top: 8px; min-width: 168px; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: var(--radius-s); background: var(--paper); box-shadow: 0 8px 24px rgb(23 27 38 / 10%);
  font-size: 13px; line-height: 1.5; opacity: 0; pointer-events: none; z-index: 2; }
.chart .tip b { display: block; font-weight: 500; color: var(--ink); }
.chart .tip span { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); }
.chart .tip span i { font-style: normal; color: var(--ink); }
.chart .hit { position: absolute; inset: 0; cursor: crosshair; }
.chart.on .cross, .chart.on .dot, .chart.on .tip { opacity: 1; }
.chart-note { font-size: 13px; color: var(--muted); margin: 32px 0 0; }
.empty { border: 1px dashed var(--line); border-radius: var(--radius); padding: 32px; color: var(--muted); }

.biz { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.card p { margin: 0; font-size: 15px; }
.card .figures { display: flex; gap: 20px; font-size: 14px; color: var(--muted); margin-top: auto; padding-top: 8px; }
.card .figures b { display: block; font-weight: 400; font-size: 18px; color: var(--ink); }
.card a.visit { font-size: 14px; color: var(--accent); text-decoration: none; }
.card a.visit:hover { text-decoration: underline; }
.pill { align-self: flex-start; font-size: 12px; padding: 2px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); }
.pill.live { background: var(--accent-soft); color: var(--accent); }
.pill.testing { background: var(--highlight-soft); color: var(--ink); }
.pill.killed { background: var(--surface-2); color: var(--muted); text-decoration: line-through; }

.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.rule { padding: 24px 24px 8px 0; }
.rule + .rule { padding-left: 24px; border-left: 1px solid var(--line); }
.rule p { font-size: 15px; }
.rule strong { font-weight: 500; color: var(--ink); }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 12px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--muted); font-weight: 400; font-size: 13px; }
td.when { white-space: nowrap; color: var(--muted); }
td.who { white-space: nowrap; }
.num { text-align: right; white-space: nowrap; }
.pos { color: var(--positive); }
.neg { color: var(--ink-2); }

.footer { border-top: 1px solid var(--line); padding: 32px 0 56px; display: flex; gap: 16px; align-items: center;
  justify-content: space-between; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.footer svg { width: 96px; height: auto; color: var(--ink); display: block; }

/* Text pages: About, Contact. */
.prose { max-width: 760px; padding: 64px 0 72px; }
.prose h2 { font-size: clamp(24px, 2.6vw, 30px); margin-top: 44px; }
.prose p, .prose li { color: var(--ink-2); font-size: 17px; }
.prose .eyebrow { color: var(--accent); font-size: 13px; }
.prose .lede { font-size: clamp(19px, 1.8vw, 22px); color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a:not(.cta) { color: var(--accent); }
.prose .steps { padding-left: 22px; }
.prose .steps li { margin-bottom: 14px; padding-left: 4px; }
.prose .notice { border-left: 3px solid var(--positive); padding-left: 14px; }
.prose .error { color: var(--negative); }
.form { display: grid; gap: 16px; margin-top: 28px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink); }
.form input, .form textarea { font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); background: var(--surface-2);
  border: 1px solid var(--line); border-radius: var(--radius-s); padding: 12px 14px; width: 100%; box-sizing: border-box; }
.form textarea { resize: vertical; min-height: 160px; line-height: 1.5; }
.form input::placeholder, .form textarea::placeholder { color: var(--muted); }
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.form button { justify-self: start; border: 0; cursor: pointer; font-family: inherit; }
.form .trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.footer a { color: inherit; }

/* A business's own page: the same type and palette, no DataSnack branding. */
.site main { padding: 72px 0 96px; max-width: 760px; }
.site .sub { font-size: clamp(18px, 1.8vw, 22px); color: var(--ink-2); max-width: 640px; }
.site h2 { font-size: clamp(24px, 2.6vw, 32px); margin-top: 48px; }
.cta { display: inline-flex; align-items: center; margin: 24px 0 8px; padding: 16px 24px; border-radius: var(--radius-s);
  background: var(--highlight); color: #171b26; text-decoration: none; font-size: 15px; font-weight: 600; }
.cta:hover { background: var(--highlight-hover); }
.site .foot { margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat:last-child { grid-column: 1 / -1; }
  .rules { grid-template-columns: 1fr; }
  .rule + .rule { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .shell { width: calc(100% - 32px); }
  .header { min-height: 64px; gap: 16px; }
  .header nav { gap: 16px; font-size: 13px; }
  .intro { padding-top: 40px; }
  .chart { height: 220px; margin-left: 48px; }
  td.who, th.who { display: none; }
}
@media (max-width: 460px) {
  .header nav a[href="/#businesses"] { display: none; }
}

/* ---- A business's site (version 2): its own brand-neutral storefront. */
body.biz-site { background: var(--paper); }
.biz-site .shell { width: calc(100% - 96px); max-width: 1180px; }
.biz-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px;
  border-bottom: 1px solid var(--line); }
.biz-name { font-weight: 600; font-size: 18px; letter-spacing: -0.01em; text-decoration: none; color: var(--ink); }
.biz-cta-small { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink); border: 1px solid var(--line);
  border-radius: 999px; padding: 9px 16px; }
.biz-cta-small:hover { border-color: var(--ink); }
.biz-hero { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; padding: 72px 0 64px; }
.biz-hero.with-image { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.biz-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 20px; }
.biz-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.biz-site h1 { font-size: clamp(40px, 5.2vw, 68px); line-height: 1.03; letter-spacing: -0.045em; margin: 0 0 20px; max-width: 14ch; }
.biz-sub { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 36em; margin: 0 0 24px; }
.biz-risk { border-left: 3px solid var(--accent); background: var(--accent-soft); color: var(--ink); font-weight: 500;
  padding: 14px 18px; border-radius: 0 var(--radius-s) var(--radius-s) 0; max-width: 32em; margin: 0 0 28px; }
.biz-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.biz-actions .cta { margin: 0; padding: 16px 26px; font-size: 16px; }
.biz-secondary { font-weight: 600; color: var(--ink); text-underline-offset: 5px; }
.biz-hero-image { margin: 0; }
.biz-hero-image img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: 28px 28px 28px 4px; box-shadow: 0 30px 60px -30px rgb(23 27 38 / 45%); }
.biz-section { padding: 56px 0; border-top: 1px solid var(--line); }
.biz-section h2 { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -0.035em; margin: 0 0 28px; }
.biz-section h3 { font-size: 20px; letter-spacing: -0.02em; margin: 0 0 8px; }
.biz-section p { color: var(--ink-2); margin: 0 0 10px; }
.biz-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px; }
.biz-benefit { border-top: 2px solid var(--ink); padding-top: 18px; }
.biz-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; align-items: start; }
.biz-card { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--paper); }
.biz-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.biz-card-text { padding: 20px 22px 18px; }
.biz-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.biz-steps li { position: relative; padding: 22px 22px 18px; border-radius: 18px; background: var(--surface-2); }
.biz-step-n { display: block; font-size: 14px; font-weight: 700; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 10px; }
.biz-offer { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 48px; align-items: start; }
.biz-price { border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: grid; gap: 6px; }
.biz-price span { color: var(--ink-2); font-size: 15px; }
.biz-price strong { font-size: 48px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.biz-price small { color: var(--muted); font-size: 14px; }
.biz-included { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.biz-included li { position: relative; padding-left: 30px; color: var(--ink-2); }
.biz-included li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.biz-faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.biz-faq summary { cursor: pointer; font-weight: 600; font-size: 17px; color: var(--ink); list-style: none; display: flex;
  justify-content: space-between; gap: 16px; }
.biz-faq summary::after { content: "+"; color: var(--muted); font-weight: 400; }
.biz-faq details[open] summary::after { content: "−"; }
.biz-faq details p { margin: 12px 0 0; }
.biz-band { background: #171b26; color: #eceef3; margin-top: 24px; }
.biz-band-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; padding: 72px 0; }
.biz-band h2 { color: #fff; font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.035em; margin: 0 0 16px; }
.biz-band p { color: #c4c9d4; }
.biz-band .form { margin-top: 0; }
.biz-band .form label { color: #eceef3; }
.biz-band .form input, .biz-band .form textarea { background: #1f2431; border-color: #2b3140; color: #fff; }
.biz-band .error { color: #ff9b8b; }
.biz-consent { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 400 !important; font-size: 14px !important; }
.biz-consent input { width: auto !important; margin-top: 3px; }
.biz-thanks { align-self: center; font-size: 20px; color: #fff; border-left: 3px solid var(--positive); padding-left: 16px; }
.biz-foot { padding: 28px 0 40px; color: var(--muted); font-size: 13px; }
@media (max-width: 900px) {
  .biz-hero.with-image, .biz-offer, .biz-band-inner { grid-template-columns: 1fr; }
  .biz-hero { padding-top: 40px; gap: 32px; }
}
@media (max-width: 640px) {
  .biz-site .shell { width: calc(100% - 32px); }
  .biz-section { padding: 40px 0; }
  .biz-band-inner { padding: 48px 0; }
}

/* ---- A printable flyer: one US Letter page. */
body.flyer-page { background: #e9eaee; margin: 0; padding: 24px 0; color: #171b26; }
.flyer { width: 8.5in; height: 11in; margin: 0 auto; background: #fff; display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 10px 40px rgb(0 0 0 / 15%); color-scheme: light; }
.flyer-image { width: 100%; height: 4.6in; object-fit: cover; display: block; }
.flyer-body { flex: 1; display: flex; flex-direction: column; padding: 0.45in 0.6in 0.5in; }
.flyer-eyebrow { font-size: 13pt; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #3155ef; margin: 0 0 10pt; }
.flyer h1 { font-size: 40pt; line-height: 1.02; letter-spacing: -0.04em; margin: 0 0 14pt; color: #171b26; font-weight: 500; }
.flyer-text { font-size: 15pt; line-height: 1.4; color: #3c4354; margin: 0 0 12pt; white-space: pre-line;
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.flyer-risk { font-size: 14pt; font-weight: 600; color: #171b26; background: #edf0ff; border-left: 4pt solid #3155ef;
  padding: 8pt 12pt; margin: 0 0 12pt; }
.flyer-foot { margin-top: auto; display: flex; align-items: center; gap: 18pt; border-top: 1.5pt solid #171b26; padding-top: 14pt; }
.flyer-qr { width: 1.55in; height: 1.55in; image-rendering: pixelated; }
.flyer-foot strong { display: block; font-size: 20pt; letter-spacing: -0.02em; }
.flyer-foot span { display: block; font-size: 13pt; color: #3c4354; margin-top: 4pt; }
.flyer-foot em { display: block; font-style: normal; font-size: 11pt; color: #5d6475; margin-top: 6pt; }
@page { size: letter; margin: 0; }
@media print {
  body.flyer-page { background: #fff; padding: 0; }
  .flyer { box-shadow: none; margin: 0; }
}
@media screen and (max-width: 8.6in) {
  body.flyer-page { padding: 0; }
  .flyer { zoom: calc(100vw / 8.5in); }
}
