/* Home page only: hero, feature explorer, the little animated screens, server diagram, questions. */
.hero.big.split { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr); gap: 40px; align-items: center; max-width: none; text-align: left; margin-top: clamp(24px, 6vw, 64px); margin-bottom: clamp(28px, 5vw, 48px); }
.split .cta { justify-content: flex-start; }
.split h1 { font-size: clamp(38px, 6vw, 60px); }
@media (max-width: 860px) {
  .hero.big.split { grid-template-columns: 1fr; text-align: center; gap: 28px; }
  .split .cta { justify-content: center; }
}
.lede { text-align: center; color: var(--dim); margin: -14px 0 24px; }
.demo-note { margin-top: 14px; font-size: 13px; }
.touch-only { display: none; }
@media (hover: none) { .touch-only { display: inline; } .hover-only { display: none; } }

/* ---- feature explorer ---- */
.explorer { display: grid; grid-template-columns: minmax(230px, 0.75fr) minmax(0, 2fr); gap: 24px; align-items: start; }
.feature-list { display: flex; flex-direction: column; gap: 4px; }
.feature-list button {
  display: block; width: 100%; text-align: left; min-height: 0; padding: 11px 14px 11px 16px; border-radius: 10px;
  background: transparent; color: var(--dim); border: 1px solid transparent; position: relative; transition: background .2s, color .2s, border-color .2s;
}
.feature-list button b { font-family: var(--display); font-size: 17px; font-weight: 700; letter-spacing: -0.2px; }
.feature-list button p { display: none; margin: 4px 0 0; font-size: 14px; color: var(--dim); }
.feature-list button:hover { color: var(--text); background: var(--card); }
.feature-list button.on { color: var(--text); background: var(--card); border-color: var(--line); }
.feature-list button.on::before { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--accent); }
.feature-list button.on p { display: block; }
.explorer-view { position: sticky; top: 16px; }
.caption { display: none; color: var(--dim); text-align: center; margin: 12px 0 0; min-height: 4.6em; }
@media (max-width: 860px) {
  .explorer { grid-template-columns: 1fr; gap: 14px; }
  .feature-list { flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 6px; scrollbar-width: none; }
  .feature-list::-webkit-scrollbar { display: none; }
  .feature-list button { flex: none; width: auto; border-radius: 999px; border-color: var(--line); padding: 8px 14px; white-space: nowrap; }
  .feature-list button b { font-size: 15px; }
  .feature-list button.on { border-color: var(--accent); }
  .feature-list button.on::before, .feature-list button.on p { display: none; }
  .explorer-view { position: static; }
  .caption { display: block; }
}

/* ---- how lineups travel (server section) ---- */
.flow { grid-column: 1 / -1; margin: 18px 0 0; display: flex; align-items: flex-start; padding: 22px 18px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.flow .node { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.flow .node b { font-size: 15px; color: var(--text); }
.flow .node small { color: var(--dim); font-size: 12.5px; line-height: 1.3; }
.flow .node.home .ico { color: var(--accent); border-color: var(--accent); }
.ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--cool); flex: none; }
.flow .pipe { flex: 0 1 60px; min-width: 24px; height: 2px; position: relative; margin-top: 22px;
  background: repeating-linear-gradient(90deg, var(--dim) 0 6px, transparent 6px 12px); background-size: 24px 2px; animation: flow 1.2s linear infinite; opacity: .6; }
.flow .pipe.sealed { background-image: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px); opacity: 1; }
.flow .pipe .ico.lock { position: absolute; left: 50%; top: 50%; width: 24px; height: 24px; padding: 4px; border-radius: 50%; transform: translate(-50%, -50%); color: var(--accent); border-color: var(--accent); background: var(--bg); stroke-width: 2.2; }
@keyframes flow { to { background-position: 24px 0; } }
@keyframes flow-down { to { background-position: 0 24px; } }
@media (max-width: 760px) {
  .flow { flex-direction: column; align-items: center; }
  .flow .node { flex: none; }
  .flow .pipe { flex: none; width: 2px; min-width: 0; height: 28px; margin: 6px 0; background: repeating-linear-gradient(180deg, var(--dim) 0 6px, transparent 6px 12px); background-size: 2px 24px; animation-name: flow-down; }
  .flow .pipe.sealed { background-image: repeating-linear-gradient(180deg, var(--accent) 0 6px, transparent 6px 12px); height: 44px; }
}

/* setup step pictures */
.step-art { display: block; width: 100%; max-width: 200px; height: auto; margin: 0 auto 14px; }
.s-frame { fill: #12141d; stroke: var(--line); stroke-width: 2; }
.s-code { fill: var(--accent); font: 700 15px var(--display); letter-spacing: 1.5px; text-anchor: middle; }
.s-small { fill: var(--text); font: 600 9px system-ui, sans-serif; letter-spacing: 1px; }
.s-field { fill: var(--bg); stroke: var(--accent); stroke-width: 1.5; }
.s-btn { fill: var(--accent); }
.s-dim { fill: var(--line); }
.s-row { fill: #3d7fd9; }
.s-lock { fill: none; stroke: var(--accent); stroke-width: 2.2; }
.s-lockbody { fill: var(--accent); }

/* privacy shield */
.private-art { width: 56px; height: 56px; margin-bottom: 6px; }
.private-art .sh { fill: rgba(245,185,66,.1); stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; }
.private-art .lk { fill: var(--accent); }
.private-art .lk-arc { fill: none; stroke: var(--accent); stroke-width: 3; }

/* questions */
.faq { max-width: 760px; margin-left: auto; margin-right: auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--dim); border-bottom: 2px solid var(--dim); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0; padding: 0 18px 18px; color: var(--dim); }
.closing { text-align: center; padding: clamp(32px, 6vw, 56px) 20px; border-radius: 18px; background: radial-gradient(80% 120% at 50% 0%, rgba(245,185,66,.14), transparent 70%), var(--card); border: 1px solid var(--line); }
.closing h2 { font-size: clamp(26px, 4.5vw, 36px); margin-bottom: 6px; }
.closing p { color: var(--dim); margin: 0 0 22px; }
.closing .button { padding: 12px 28px; font-size: 17px; }

@media (prefers-reduced-motion: reduce) {
  .flow .pipe { animation: none !important; }
}

/* ---- where it runs and what it works with: one-color marks, labels under them ---- */
.logos { display: grid; grid-template-columns: 1fr; justify-content: center; gap: 30px; margin-bottom: clamp(44px, 8vw, 72px); }
.logo-group { text-align: center; }
.logo-t { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cool); }
.logos ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 26px; }
.logos li, .logos li a { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 92px; color: var(--dim); text-decoration: none; font-size: 12.5px; line-height: 1.3; text-align: center; }
.logos .mark { width: 34px; height: 34px; fill: currentColor; opacity: .85; transition: opacity .2s, color .2s, transform .2s; }
.logos .mark.img { width: 54px; height: 30px; object-fit: contain; filter: grayscale(1) brightness(1.5); opacity: .7; }
.logos li:hover .mark, .logos a:focus-visible .mark { color: var(--text); opacity: 1; transform: translateY(-2px); }
.logos li:hover .mark.img { filter: none; }
.logos li:hover, .logos li a:hover { color: var(--text); }

/* ---- download page ---- */
.top nav a[aria-current='page'] { color: var(--text); }
.dl-hero { max-width: 720px; margin: clamp(28px, 6vw, 56px) auto clamp(28px, 5vw, 44px); }
.dl-hero h1 { font-size: clamp(32px, 6vw, 48px); letter-spacing: -1px; }
.dl-hero p { font-size: 18px; text-wrap: pretty; }
.dl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; margin-bottom: 14px; }
.dl-grid.two { max-width: 820px; margin-left: auto; margin-right: auto; }
.dl-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.dl-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 4px; }
.dl-head h3 { margin: 0 0 2px; font-size: 19px; }
.dl-head p { margin: 0; color: var(--dim); font-size: 14px; }
.dl-card .mark { width: 38px; height: 38px; fill: var(--text); flex: none; margin-top: 2px; }
.dl-soon { margin: 0; color: var(--dim); font-size: 14px; font-style: italic; }
.dl-meta { margin: 0; color: var(--dim); font-size: 13px; font-variant-numeric: tabular-nums; }
.dl-meta:empty { display: none; }
.dl-short { margin: 0; color: var(--dim); font-size: 13.5px; }
.dl-short b, .dl-how b { color: var(--text); font-weight: 600; }
.dl-card code, .dl-short code { background: var(--raised); border-radius: 5px; padding: 1px 6px; font-size: .92em; color: var(--text); }
.dl-card details { width: 100%; font-size: 14px; color: var(--dim); }
.dl-card summary { cursor: pointer; color: var(--accent); font-size: 14px; }
.dl-how ol { margin: 8px 0; padding-left: 20px; }
.dl-how li { margin: 4px 0; }
.dl-how p { margin: 8px 0 0; }
.dl-sum code { display: block; margin-top: 6px; overflow-wrap: anywhere; font-size: 12px; }
.dl-cmd { margin: 0; width: 100%; white-space: pre-wrap; overflow-wrap: anywhere; }
.dl-pair { display: flex; flex-wrap: wrap; gap: 12px 20px; width: 100%; }
.dl-pair > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 120px; flex: 1; }
.dl-trust { margin-top: 8px; }
#player-h, #server-h { scroll-margin-top: 20px; }

/* ---- what's new, in numbers, and the little things ---- */
.new-pill { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 5px 14px 5px 5px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--dim); font-size: 14px; text-decoration: none; transition: border-color .2s, color .2s; max-width: 100%; }
.new-pill b { background: var(--accent); color: var(--accent-ink); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; padding: 2px 9px; border-radius: 999px; flex: none; }
.new-pill:hover { border-color: var(--accent); color: var(--text); }
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 0 clamp(44px, 8vw, 72px); }
.numbers div { padding: 18px 18px 16px; border-radius: 14px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(245,185,66,.06), transparent 70%), var(--card); }
.numbers b { display: block; font-family: var(--display); font-size: clamp(30px, 4.4vw, 42px); line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; letter-spacing: -0.5px; }
.numbers span { display: block; margin-top: 8px; color: var(--dim); font-size: 14px; line-height: 1.4; }
@media (max-width: 860px) { .numbers { grid-template-columns: 1fr 1fr; } }
.more { margin-top: clamp(44px, 8vw, 72px); }
.more ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.more li { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); transition: border-color .2s, transform .2s; }
.more li:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); transform: translateY(-2px); }
.more li .ico { grid-row: span 2; color: var(--accent); }
.more li b { font-size: 16px; }
.more li span { color: var(--dim); font-size: 14px; line-height: 1.45; margin-top: 2px; }
@media (prefers-reduced-motion: reduce) { .more li, .more li:hover { transition: none; transform: none; } }

/* the "+5 screens" add-on, under the plans */
.addon { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; max-width: 880px; margin: 0 auto 16px; padding: 16px 20px; }
.addon b { font-family: var(--display); font-size: 19px; margin-right: 10px; }
.addon span { color: var(--dim); font-size: 14px; }
.addon-price { margin: 0; font-family: var(--display); font-weight: 700; font-size: 22px; }
.addon-price span { font-family: system-ui, sans-serif; font-weight: 400; font-size: 14px; }
.addon-price i { font-style: normal; font-weight: 400; color: var(--dim); font-size: 15px; margin: 0 6px; }
