/* OTA commission calculator. Tokens copied from hostech.ai site.css (crawl 23 Oct 2026) so the
   page sits inside the same brand; no glass, no orbs: a tool page, not a marketing page. */
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/source-sans-3-latin.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(fonts/source-serif-4-600-latin.woff2) format("woff2"); }

:root {
  color-scheme: light;
  --font: "Source Sans 3", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mark: "Source Serif 4", Georgia, "Times New Roman", serif;
  --field: #eef2f7; --panel: #ffffff;
  --ink: #0f1d33; --ink-2: #2f3d57; --ink-3: #46536b;
  --line: rgba(15, 29, 51, .12); --input-edge: #7a8699;
  --accent: #0e7154; --accent-hover: #0a5c44; --accent-ink: #09573f; --accent-soft: #d4ecdf;
  /* Bar fills: brand green/blue nudged to pass the data-viz palette validator (chroma >= 0.10,
     normal-vision dE 17.3, deutan dE 15.8, both >= 3:1 on white). Text never wears these. */
  --bar-direct: #00784f; --bar-ota: #2a5ea0; --bar-track: #e6e9f0;
  --bad: #b42318;
  --r: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--field); color: var(--ink); font: 400 17px/1.55 var(--font); }
a { color: var(--accent-ink); text-underline-offset: 2px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
.cur { display: inline-flex; margin: 0 0 14px; padding: 3px; border: 1.5px solid var(--input-edge); border-radius: 999px; background: #fff; }
.cur label { position: relative; cursor: pointer; }
.cur input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.cur label > span { display: block; padding: 5px 16px; border-radius: 999px; font-weight: 700; font-size: 15.5px; color: var(--ink-2); }
.cur input:checked + span { background: var(--accent); color: #fff; }
.cur input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.taxf { margin-top: 16px; max-width: 520px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--panel); padding: 8px 12px; border-radius: 8px; z-index: 9; }
.skip:focus { top: 12px; }

.wrap { max-width: 780px; margin: 0 auto; padding: 0 20px; }
.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.mark { display: inline-flex; align-items: baseline; gap: 6px; color: var(--ink); text-decoration: none; }
.mark-l { font: 600 28px/1 var(--font-mark); letter-spacing: -.01em; }
.mark-by { font: 400 16px/1 var(--font); color: var(--ink-2); }
.bridge { margin: 16px 0 0; padding: 14px 16px; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 10px; color: var(--ink-2); font-size: 16px; }
.bridge a { font-weight: 700; white-space: nowrap; }
a.btn { display: inline-block; text-decoration: none; }
.lang a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.lang a[aria-current="true"] { color: var(--ink); text-decoration: underline; }

.kicker { margin: 18px 0 6px; color: var(--accent-ink); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
h1 { margin: 0 0 12px; font-size: clamp(30px, 5vw, 44px); line-height: 1.12; letter-spacing: -.015em; }
.lead { margin: 0 0 24px; color: var(--ink-2); font-size: 19px; }

.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: 0 1px 2px rgba(15,29,51,.04), 0 8px 28px rgba(15,29,51,.06); }
.calc { margin-bottom: 18px; }
.price-label { display: block; font-weight: 700; font-size: 18px; }
.price-hint { display: block; color: var(--ink-3); font-size: 15px; margin-bottom: 10px; }
.price-box { display: flex; align-items: center; border: 2px solid var(--input-edge); border-radius: 12px; background: #fff; max-width: 340px; }
.price-box:focus-within { border-color: var(--accent); }
.price-box span { padding: 0 4px 0 16px; font-size: 28px; font-weight: 700; color: var(--ink-3); }
#bp-price { border: 0; outline: 0; width: 100%; padding: 10px 14px 10px 4px; font: 700 34px/1.1 var(--font); color: var(--ink); background: transparent; font-variant-numeric: tabular-nums; }
#bp-price[aria-invalid="true"] { color: var(--bad); }
.err { color: var(--bad); font-weight: 600; margin: 8px 0 0; }
.opt { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; color: var(--ink-2); font-size: 16px; }
.opt input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }

.summary { margin: 18px 0 0; padding: 14px 16px; background: var(--accent-soft); border-radius: 10px; color: #0f4d33; font-weight: 600; }

.results { list-style: none; margin: 0; padding: 0; }
.bp-row { padding: 16px 0; border-top: 1px solid var(--line); }
.bp-row:first-child { border-top: 0; padding-top: 4px; }
.bp-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.bp-name { margin: 0; font-size: 19px; font-weight: 700; }
.bp-get { text-align: right; white-space: nowrap; }
.bp-get small { display: block; color: var(--ink-3); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.bp-amt { font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.bp-pct { margin-left: 6px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.bp-bar { height: 10px; background: var(--bar-track); border-radius: 4px; margin: 10px 0 8px; overflow: hidden; }
.bp-bar span { display: block; height: 100%; width: 0; background: var(--bar-ota); border-radius: 0 4px 4px 0; transition: width .25s ease; }
.bp-row[data-id="direct"] .bp-bar span { background: var(--bar-direct); }
.badge { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: var(--accent-soft); color: #0f4d33; font-size: 13px; font-weight: 700; vertical-align: middle; }
.bp-takes { margin: 0; color: var(--ink-2); font-size: 15.5px; }

details.bp-rates { margin-top: 8px; }
details.bp-rates summary { cursor: pointer; color: var(--accent-ink); font-weight: 600; font-size: 15.5px; width: max-content; }
.bp-edit { margin: 10px 0 0; padding: 14px; background: var(--field); border-radius: 10px; }
.bp-field { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 10px; font-size: 15.5px; }
.bp-field label { color: var(--ink-2); }
.bp-num { display: inline-flex; align-items: center; gap: 4px; }
.bp-num input { width: 84px; padding: 6px 8px; border: 1.5px solid var(--input-edge); border-radius: 8px; font: 600 16px var(--font); text-align: right; font-variant-numeric: tabular-nums; }
.bp-addon { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 10px; font-size: 15.5px; }
.bp-addon label { display: flex; gap: 8px; align-items: flex-start; color: var(--ink-2); }
.bp-addon input[type=checkbox] { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); flex: none; }
.bp-lines { list-style: none; margin: 12px 0 0; padding: 10px 0 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.bp-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; font-variant-numeric: tabular-nums; }
.bp-lines li span:last-child { white-space: nowrap; }
.bp-lines .bp-total { font-weight: 700; border-top: 1px solid var(--line); margin-top: 4px; padding-top: 6px; }

.tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.btn { appearance: none; border: 1.5px solid var(--accent); background: #fff; color: var(--accent-ink); border-radius: 999px; padding: 8px 16px; font: 600 15.5px var(--font); cursor: pointer; }
.btn:hover { background: var(--accent-soft); }
.btn-fill { background: var(--accent); color: #fff; }
.btn-fill:hover { background: var(--accent-hover); }
.btn[disabled] { opacity: .6; cursor: default; }
.status { color: var(--accent-ink); font-weight: 600; font-size: 15px; min-height: 1em; }
.note { margin: 14px 0 0; color: var(--ink-3); font-size: 15px; }

.email h2 { margin: 0 0 4px; font-size: 20px; }
.email p.sub { margin: 0 0 14px; color: var(--ink-3); font-size: 15px; }
.email .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.email label.f { display: block; font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.email input[type=email], .email input[type=text] { width: 100%; padding: 10px 12px; border: 1.5px solid var(--input-edge); border-radius: 10px; font: 400 16px var(--font); }
.email .opt { font-size: 15px; margin-top: 12px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.content { margin: 40px 0 0; }
.content h2 { font-size: 26px; line-height: 1.2; margin: 36px 0 10px; letter-spacing: -.01em; }
.content h3 { font-size: 19px; margin: 22px 0 4px; }
.content p, .content li { color: var(--ink-2); }
.content table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 15.5px; background: var(--panel); border-radius: 10px; overflow: hidden; }
.content th, .content td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.content td.n, .content th.n { text-align: right; font-variant-numeric: tabular-nums; }
.content .formula { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-variant-numeric: tabular-nums; }
.content details { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin: 8px 0; }
.content details summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.sources { font-size: 15px; }
.disclaimer { font-size: 14.5px; color: var(--ink-3); }

footer { margin: 48px 0 0; padding: 22px 0 40px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 15px; }
footer .lockup { font: 600 20px/1.2 var(--font-mark); color: var(--ink); margin: 0 0 4px; }
footer .lockup span { font: 400 15px var(--font); color: var(--ink-2); }
footer p { margin: 4px 0; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .panel { padding: 16px; }
  .email .row2 { grid-template-columns: 1fr; }
  .bp-amt { font-size: 21px; }
  .bp-pct { display: block; margin: 0; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .bp-bar span { transition: none; } }
@media print {
  .top .lang, .tools, .email, details.bp-rates summary, .skip { display: none !important; }
  body { background: #fff; }
  .panel { box-shadow: none; }
}
