/* betonwin.ing — palette from the v1 build and the brand lobby; motif: the ON switch of the logo */
@font-face {
  font-family: 'Saira';
  font-style: italic;
  font-weight: 700 800;
  font-display: swap;
  src: url(/fonts/saira-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}

:root {
  --ink: #0d3b4d;
  --deep: #062833;
  --surf: #0a3140;
  --raised: #12495e;
  --line: rgba(255, 255, 255, .09);
  --text: #bfccd0;
  --bright: #ffffff;
  --muted: #93a7ae;
  --go: #23e59a;
  --go-hi: #6ff5bf;
  --go-lo: #0e9f68;
  --on-go: #06211b;
  --violet: #7b3fe4;
  --violet-lo: #4f22a8;
  --display: 'Saira', 'Arial Narrow', system-ui, sans-serif;
  --body: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --gutter: 16px;
  --band: clamp(36px, 4.5vw, 60px);
  --r: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--go); text-underline-offset: 3px; }
a:hover { color: var(--go-hi); }
:focus-visible { outline: 3px solid var(--go-hi); outline-offset: 3px; border-radius: 6px; }
p, li, td, th { overflow-wrap: break-word; }

h1, h2, h3 { font-family: var(--display); font-style: italic; color: var(--bright); margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(1.85rem, 1.2rem + 2.6vw, 3.1rem); line-height: 1.08; font-weight: 800; }
h2 { font-size: clamp(1.4rem, 1.1rem + 1.3vw, 2.15rem); line-height: 1.15; font-weight: 800; }
h3 { font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); line-height: 1.25; font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.shell { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.text, .split-text p, .section-note, .doc-body p, .doc-body li { max-width: 75ch; }

/* ------------------------------------------------ buttons: solid brand green / outlined, firm bottom edge */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 26px;
  border-radius: 12px;
  font: 800 italic 1.05rem/1.1 var(--display);
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background-color .15s ease, color .15s ease;
}
.pill-go {
  background: var(--go);
  color: var(--on-go);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 3px 0 var(--go-lo);
}
.pill-go:hover { background: var(--go-hi); color: var(--on-go); }
.pill-ghost {
  background: transparent;
  color: var(--bright);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .32);
}
.pill-ghost:hover { color: var(--bright); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 2px var(--go); }
.pill:active { transform: translateY(2px); }
.pill-go:active { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 1px 0 var(--go-lo); }
.pill-sm { min-height: 40px; padding: 6px 16px; font-size: .92rem; border-radius: 10px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 16px; }

/* ------------------------------------------------ header */
.topbar { background: var(--surf); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; min-height: 64px; padding-block: 10px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { width: clamp(118px, 30vw, 168px); }
.top-nav { order: 3; flex: 1 0 100%; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-inline: -4px; }
.top-nav a {
  flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 4px 12px;
  border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.top-nav a:hover, .top-nav a[aria-current="page"] { color: var(--bright); background: var(--raised); }
.top-cta { margin-left: auto; display: flex; gap: 8px; }
@media (max-width: 420px) { .top-cta .pill-ghost { display: none; } }

/* ------------------------------------------------ hero */
.hero { padding: clamp(24px, 4vw, 52px) 0 clamp(28px, 3.5vw, 44px); background: radial-gradient(120% 90% at 85% 0%, #135a6f 0%, var(--ink) 58%); }
.hero-grid { display: grid; gap: 30px; align-items: start; }
.hero-lead { font-size: clamp(1rem, .95rem + .3vw, 1.14rem); color: #dce7ea; max-width: 60ch; }
.age-line { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); }
.age { display: inline-grid; place-items: center; min-width: 38px; height: 26px; padding: 0 6px; border: 2px solid var(--muted); border-radius: 999px; font-weight: 800; font-size: .78rem; color: var(--bright); }
.hero-shot { margin: 0; border-radius: 22px; padding: 8px; background: linear-gradient(160deg, rgba(35, 229, 154, .55), rgba(123, 63, 228, .55)); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.hero-shot img { border-radius: 15px; width: 100%; }

/* the hero switch: OFF -> ON once on load (transform/opacity only, fixed size: no layout shift) */
.switch-mark { position: relative; display: block; width: 76px; height: 40px; margin-bottom: 18px; border-radius: 999px; background: var(--raised); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25); overflow: hidden; }
.switch-mark::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--go); opacity: 1; animation: track-on .9s .35s ease-out backwards; }
.switch-knob { position: absolute; top: 5px; left: 5px; width: 30px; height: 30px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 7px var(--on-go); transform: translateX(36px); animation: knob-on .9s .35s cubic-bezier(.5, -0.2, .3, 1.35) backwards; }
@keyframes knob-on { from { transform: translateX(0); } to { transform: translateX(36px); } }
@keyframes track-on { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .switch-mark::before, .switch-knob { animation: none; }
  .pill, .slot-play, .slot-link img { transition: none; }
}

/* ------------------------------------------------ bands */
.band { padding-block: var(--band); }
.band:nth-of-type(even) { background: rgba(6, 40, 51, .5); }
.section-note { color: var(--muted); }

/* lobby grid */
.slots { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 10px; }
.slot-link { position: relative; display: block; border-radius: var(--r); overflow: hidden; background: var(--deep); isolation: isolate; }
.slot-link img { width: 100%; aspect-ratio: 1; transition: transform .25s ease; }
.slot-link::after { content: ''; position: absolute; inset: 0; background: rgba(6, 33, 27, .55); opacity: 0; transition: opacity .2s ease; }
.slot-play {
  position: absolute; left: 50%; top: 50%; z-index: 1; padding: 8px 14px; border-radius: 999px; white-space: nowrap;
  background: var(--go); color: var(--on-go); font: 800 italic .9rem/1 var(--display); box-shadow: 0 3px 0 var(--go-lo);
  opacity: 0; transform: translate(-50%, -30%); transition: opacity .2s ease, transform .2s ease;
}
.slot-link:hover::after, .slot-link:focus-visible::after { opacity: 1; }
.slot-link:hover .slot-play, .slot-link:focus-visible .slot-play { opacity: 1; transform: translate(-50%, -50%); }
.slot-link:hover img { transform: scale(1.04); }
.slot-name { margin: 8px 0 0; color: var(--bright); font-weight: 700; font-size: .9rem; line-height: 1.25; }
.slot-prov { margin: 2px 0 0; color: var(--muted); font-size: .8rem; }

/* facts strip */
.facts { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.facts li { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: var(--r); background: var(--deep); border-left: 4px solid var(--go); }
.fact-k { font-size: .82rem; color: var(--muted); }
.fact-v { font: 800 italic 1.25rem/1.2 var(--display); color: var(--bright); }

/* text + screenshot */
.split { display: grid; gap: 26px; align-items: start; }
.shot { margin: 0; }
.shot img { border-radius: var(--r); border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0, 0, 0, .3); }
.shot figcaption { margin-top: 10px; font-size: .86rem; color: var(--muted); max-width: 60ch; }
.shot-narrow { max-width: 420px; }

.two-col { display: grid; gap: 16px; margin-top: 22px; }
.panel { padding: 20px; border-radius: var(--r); background: var(--deep); }
.panel-yes { box-shadow: inset 0 3px 0 var(--go); }
.panel-mind { box-shadow: inset 0 3px 0 var(--violet); }
.panel-note { margin-top: 18px; border: 1px solid var(--line); }
.panel-note p { max-width: 80ch; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.ticks li:last-child { margin-bottom: 0; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-radius: 999px; background: var(--go); }
.panel-mind .ticks li::before { background: transparent; box-shadow: inset 0 0 0 2px var(--violet); }

.chips { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.chips li { display: flex; flex-direction: column; padding: 12px 14px; border-radius: 12px; background: var(--deep); }
.chip-name { color: var(--bright); font-weight: 700; }
.chip-type { font-size: .82rem; color: var(--muted); }

.steps { list-style: none; counter-reset: step; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.steps li { counter-increment: step; position: relative; padding: 18px 18px 18px 70px; border-radius: var(--r); background: var(--deep); }
.steps li::before { content: counter(step); position: absolute; left: 16px; top: 16px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--go); color: var(--on-go); font: 800 italic 1.1rem/1 var(--display); }

.band-cta { background: linear-gradient(120deg, var(--violet-lo), var(--surf) 70%) !important; }
.cta-box p { max-width: 60ch; color: #e3e9f7; }
.cta-box .pill { margin-top: 8px; }

.routes { display: grid; gap: 12px; margin-top: 20px; }
.route { display: block; padding: 18px 20px; border-radius: var(--r); background: var(--deep); color: var(--text); text-decoration: none; border: 1px solid var(--line); }
.route:hover { color: var(--bright); border-color: var(--go); }
.route strong { display: block; margin-bottom: 4px; color: var(--go); font: 800 italic 1.1rem/1.2 var(--display); }

/* tables: equal columns, row rules only; on phones they scroll inside their frame with a sticky first column */
.tbl { margin: 22px 0; border-radius: var(--r); background: var(--deep); border: 1px solid var(--line); overflow-x: auto; }
.tbl table { width: 100%; min-width: calc(var(--cols, 3) * 9.5rem); border-collapse: collapse; table-layout: fixed; }
.tbl caption { padding: 14px 16px; text-align: left; font-weight: 700; color: var(--bright); }
.tbl th, .tbl td { padding: 14px 16px; text-align: left; vertical-align: top; font-size: .93rem; line-height: 1.45; border-top: 1px solid var(--line); }
.tbl thead th { background: var(--surf); color: var(--muted); font-weight: 600; font-size: .86rem; }
.tbl tbody th { color: var(--bright); font-weight: 600; }
.tbl tr > :first-child { position: sticky; left: 0; background: var(--deep); }
.tbl thead tr > :first-child { background: var(--surf); }

/* ------------------------------------------------ inner pages */
.crumbs ol { list-style: none; display: flex; gap: 6px; margin: 0; padding: 18px 0 0; font-size: .86rem; color: var(--muted); min-width: 0; }
.crumbs li { white-space: nowrap; }
.crumbs li:last-child { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: .6; }
.crumbs a { color: var(--text); }
.doc { padding-bottom: var(--band); }
.doc-body { padding-top: 18px; max-width: 860px; }
.doc-body h1 { margin-top: 6px; }
.doc-body h2 { margin-top: 1.6em; }
.doc-body ul { padding-left: 1.2em; }
.doc-body li { margin-bottom: .45em; }
.doc-date { color: var(--muted); font-size: .9rem; }
.lost-code { display: flex; align-items: center; justify-content: center; gap: 12px; font: 800 italic clamp(4rem, 12vw, 7rem)/1 var(--display); color: var(--bright); margin: 20px 0; }
.lost-code .switch-mark { margin: 0; width: 120px; height: 64px; }
.switch-off::before { display: none; }
.switch-off .switch-knob { width: 50px; height: 50px; top: 7px; left: 7px; transform: none; animation: none; box-shadow: inset 0 0 0 12px var(--raised); }
.lost { text-align: center; margin-inline: auto; }
.lost p, .lost li { margin-inline: auto; }
.lost .btn-row { justify-content: center; }
.lost ul { list-style: none; padding: 0; }

/* ------------------------------------------------ footer */
.foot { background: var(--deep); padding: 44px 0 110px; border-top: 1px solid var(--line); font-size: .9rem; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.pay-marks { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.pay-marks img { height: 24px; width: auto; }
.foot-cols { display: grid; gap: 22px; margin-bottom: 24px; }
.foot-h { margin-bottom: 8px; font: 800 italic 1rem/1.2 var(--display); color: var(--bright); }
.foot-cols ul { list-style: none; margin: 0; padding: 0; }
.foot-cols a { display: inline-flex; min-height: 34px; align-items: center; color: var(--text); text-decoration: none; }
.foot-cols a:hover, .foot-cols a[aria-current="page"] { color: var(--go); }
.foot-rg { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.foot-rg img { flex: none; }
.foot-op, .foot-copy { color: var(--muted); font-size: .82rem; }
.dock { position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 50; justify-content: center; }

/* ------------------------------------------------ breakpoints */
@media (min-width: 600px) {
  .slots { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 14px; }
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .chips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .two-col, .routes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .tbl table { min-width: calc(var(--cols, 3) * 9.5rem); }
}
@media (min-width: 900px) {
  .topbar { position: sticky; top: 0; z-index: 40; }
  .top-nav { order: 0; flex: 0 1 auto; margin: 0 0 0 10px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 44px; }
  .slots { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; }
  .split .shot { margin-top: 6px; }
  .routes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tbl table { min-width: 0; }
  .foot { padding-bottom: 44px; }
  .dock { display: none; }
}
@media (hover: none) {
  .slot-link img { transition: none; }
}

/* hero image is a link to the platform (user rule 2026-10-20) */
a.hero-shot { display: block; transition: transform .15s ease; }
a.hero-shot:hover { transform: translateY(-2px); }
.hero-inner { padding-top: 8px; }
.hero-grid-narrow .hero-shot-narrow { max-width: 380px; justify-self: center; }
.faq { display: grid; gap: 10px; margin-top: 18px; max-width: 860px; }
.qa { border-radius: var(--r); background: var(--deep); border: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { margin: 0; font-size: 1.08rem; }
.qa summary::after { content: ''; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--go); border-bottom: 2px solid var(--go); transform: rotate(45deg); transition: transform .2s ease; }
.qa[open] summary::after { transform: rotate(-135deg); }
.qa-body { padding: 0 18px 16px; }
.panel-note h3 { margin-bottom: .4em; }
.hero-inner .crumbs ol { padding: 0 0 14px; }
.hero + .band { padding-top: clamp(28px, 3.5vw, 44px); }
@media (min-width: 900px) { .hero-copy { padding-top: 4px; } }
