/* family B palette, derived by build_page.py from base #1A0B26, surface #2E1840, primary #FF4D6A, secondary #FFB84A, light #FFF0F3 */
:root {
  --bg: #12091B;
  --rail: #1F102C;
  --card: #231232;
  --raise: #2C173D;
  --line: #3B2A47;
  --text: #E9DAE0;
  --muted: #AB9CAA;
  --hi: #FFF0F3;
  --acc: #FF4D6A;
  --acc-hi: #FF8297;
  --acc-lo: #DB425B;
  --on-acc: #0A040F;
  --glow: #FFB84A;
  --deep: #FF4D6A;
  --help-1: #AE364F;
  --help-2: #3D1529;
  --help-text: #F5DADF;
  --tile-a1: #8E2C44;
  --tile-a2: #331326;
  --tile-b1: #5E412A;
  --tile-b2: #25171F;
  --tile-text: #E9DAE0;
  --calc: #562246;
  --hero-1: #FFDCA4;
  --hero-2: #FFB84A;
  --hero-3: #B28134;
  --bg-rgb: 18 9 27;
  --rail-rgb: 31 16 44;
  --acc-rgb: 255 77 106;
  --glow-rgb: 255 184 74;
  --deep-rgb: 255 77 106;
}

/* Family B "Lobby app" (from wsmcasino.com/id, luckyblock.com, indonesia.1xbet.com; approved v2 mockup .sb).
   Mobile first. No brand colour in this file: every colour is a var(--*) that build_page.py writes above it from the
   brand palette (neutral black/white alpha only). Shape rule: buttons 10px, small tiles 12-14px, cards/hero/panel 18-20px,
   full pills only for chips, tags and carousel dots. */
:root {
  --side-w: 248px;
  --top-h: 60px;
  --dock-h: 62px;
  --gut: 12px;
  --r-btn: 10px;
  --r-card: 18px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --f: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 14px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.7 var(--f);
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom)); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 2px; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 60; }
.skip:focus { left: 8px; padding: 10px 14px; border-radius: var(--r-btn); background: var(--acc); color: var(--on-acc); font-weight: 700; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--r-btn);
  font: 700 14px/1 var(--f); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), filter .35s var(--ease), background-color .35s var(--ease); }
.btn:active { transform: scale(.97); }
.btn-grad { color: var(--on-acc); background: linear-gradient(180deg, var(--acc-hi), var(--acc) 58%, var(--acc-lo));
  box-shadow: 0 0 0 2px rgb(var(--acc-rgb) / .22), 0 6px 18px rgb(var(--acc-rgb) / .26), inset 0 1px 0 rgb(255 255 255 / .28); }
.btn-grad:hover { filter: brightness(1.06) saturate(1.05); box-shadow: 0 0 0 3px rgb(var(--acc-rgb) / .3), 0 10px 26px rgb(var(--acc-rgb) / .34), inset 0 1px 0 rgb(255 255 255 / .3); }
.btn-line { color: var(--hi); border: 2px solid var(--glow); background: transparent; }
.btn-line:hover { background: rgb(var(--glow-rgb) / .12); }

/* ---------- layout ---------- */
.main { min-width: 0; overflow-x: clip; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gut); }

/* ---------- sidebar: a drawer on phones and tablets, a sticky rail from 1024px ---------- */
.side { position: fixed; z-index: 40; top: 0; bottom: 0; left: 0; width: min(300px, 86vw); display: flex; flex-direction: column; gap: 10px;
  padding: 10px 14px 16px; background: var(--rail); border-right: 1px solid var(--line); overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(-102%); visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s; }
.side:target, .menu-open .side { transform: none; visibility: visible; transition: transform .5s var(--ease); }
html.menu-open { overflow: hidden; }
.scrim { position: fixed; z-index: 39; inset: 0; background: rgb(0 0 0 / .62); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s .35s; }
.side:target + .scrim, .menu-open .scrim { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
.side-head { display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
.side-head p { font: 700 16px/1 var(--f); color: var(--hi); padding-left: 4px; }
.side-x { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--hi); background: var(--card); }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--bg); }
.seg a { display: grid; place-items: center; min-height: 44px; border-radius: 10px; font: 600 13.5px/1 var(--f); color: var(--muted); text-decoration: none;
  transition: background-color .3s var(--ease), color .3s var(--ease); }
.seg a.on { background: var(--raise); color: var(--glow); box-shadow: inset 0 1px 0 rgb(255 255 255 / .05), 0 2px 8px rgb(0 0 0 / .25); }
.seg a:not(.on):hover { color: var(--hi); }

.nav { display: grid; gap: 2px; }
.nav a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 12px; font: 500 14px/1.2 var(--f);
  color: var(--text); text-decoration: none; transition: background-color .3s var(--ease), color .3s var(--ease); }
.nav a .ic { color: var(--muted); transition: color .3s var(--ease); }
.nav a:hover { background: var(--card); color: var(--hi); }
.nav a.on { background: var(--raise); color: var(--glow); box-shadow: inset 0 1px 0 rgb(255 255 255 / .04); }
.nav a.on .ic { color: var(--glow); }
.sep { height: 1px; margin: 0 6px; border: 0; background: var(--line); }

.help { position: relative; overflow: hidden; margin-top: auto; padding: 14px 14px 14px; border-radius: 16px; color: var(--hi);
  background: linear-gradient(140deg, var(--help-1), var(--help-2)); box-shadow: inset 0 1px 0 rgb(255 255 255 / .08); }
.help::before { content: ""; position: absolute; right: -40px; top: -50px; width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle, rgb(255 255 255 / .16), transparent 68%); pointer-events: none; }
.help > .ic { width: 24px; height: 24px; margin-bottom: 6px; color: var(--hi); }
.help b { display: block; font: 700 15px/1.3 var(--f); }
.help p { margin: 4px 0 12px; font-size: 12.5px; line-height: 1.55; color: var(--help-text); }
.help .btn { position: relative; width: 100%; }

/* ---------- top bar ---------- */
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 10px; height: var(--top-h); padding: 0 var(--gut);
  background: rgb(var(--bg-rgb) / .86); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; min-width: 44px; min-height: 44px; color: var(--hi); text-decoration: none; }
.brand img { flex: none; width: 38px; height: 38px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line), 0 0 18px rgb(var(--glow-rgb) / .18); }
.brand span { display: none; min-width: 0; }
.brand b { display: block; overflow: hidden; font: 700 17px/1.15 var(--f); letter-spacing: -.01em; white-space: nowrap; text-overflow: ellipsis; }
.brand b.b-md { font-size: 15px; }
.brand b.b-sm { font-size: 13.5px; letter-spacing: -.02em; }
.brand small { display: block; margin-top: 3px; font: 500 10px/1 var(--f); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.auth { display: flex; flex: none; gap: 8px; margin-left: auto; }
.auth .btn { padding: 0 16px; }

/* ---------- provider-chip ticker (the page's one marquee) ---------- */
.tick { margin: 12px calc(-1 * var(--gut)) 12px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.loop { display: flex; width: max-content; animation: run 46s linear infinite; }
.tick:hover .loop { animation-play-state: paused; }
.loop ul { display: flex; gap: 8px; margin: 0; padding: 0 8px 0 0; list-style: none; }
.loop li { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 13px; border-radius: 10px; background: var(--card); border: 1px solid var(--line);
  font: 500 13px/1 var(--f); color: var(--text); white-space: nowrap; }
.loop li i { width: 7px; height: 7px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 8px rgb(var(--glow-rgb) / .75); }
@keyframes run { to { transform: translateX(-50%); } }

/* ---------- hero carousel ---------- */
.hero { position: relative; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  border-radius: 16px; border: 1px solid var(--line); background: var(--card); box-shadow: 0 18px 40px -24px rgb(0 0 0 / .7); }
.slides::-webkit-scrollbar { display: none; }
/* phones: the art keeps its 21:9, the headline sits on its dark left side, the line of copy goes under it */
.slide { position: relative; flex: 0 0 100%; display: grid; grid-template-rows: auto 1fr; scroll-snap-align: start; }
.slide img { grid-area: 1 / 1; width: 100%; aspect-ratio: 1584 / 672; object-fit: cover; object-position: 100% 50%; }
.slide::after { content: ""; grid-area: 1 / 1 / 2 / 2; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgb(var(--bg-rgb) / .9) 0%, rgb(var(--bg-rgb) / .7) 36%, rgb(var(--bg-rgb) / 0) 62%); }
.copy { display: contents; }
.ttl { --cw: calc(58vw - 42px); --tmax: 30px; grid-area: 1 / 1; align-self: center; z-index: 1; max-width: 60%; padding: 0 0 0 16px;
  font: 800 min(calc(var(--k) * var(--cw)), var(--tmax))/1.06 var(--f); letter-spacing: -.02em; text-wrap: balance;
  background: linear-gradient(180deg, var(--hero-1), var(--hero-2) 58%, var(--hero-3)); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 10px rgb(0 0 0 / .45)); }
.sub { grid-row: 2; padding: 10px 16px 12px; font-size: 13px; line-height: 1.5; color: var(--text); border-top: 1px solid var(--line); }
.copy .btn { display: none; }
.dots { display: none; }
.js .dots { display: flex; justify-content: center; gap: 0; height: 30px; }
.dots button { width: 44px; height: 44px; margin: -7px -4px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.dots button::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: var(--line); transition: width .4s var(--ease), background-color .4s var(--ease); }
.dots button[aria-current="true"]::before { width: 22px; background: var(--acc); box-shadow: 0 0 10px rgb(var(--acc-rgb) / .55); }

/* ---------- promo cards: swipe row on phones, three columns from 720px ---------- */
.cards { display: grid; grid-auto-flow: column; grid-auto-columns: min(80%, 320px); gap: 12px; margin: 10px calc(-1 * var(--gut)) 0;
  padding: 2px var(--gut) 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gut); scrollbar-width: none; }
.cards::-webkit-scrollbar { display: none; }
.card { display: flex; flex-direction: column; overflow: hidden; scroll-snap-align: start; border-radius: var(--r-card); background: var(--card);
  border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgb(255 255 255 / .04);
  transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease); }
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .8s var(--ease); }
.cb { display: flex; flex: 1; flex-direction: column; padding: 14px 16px 16px; }
.ct { font: 700 16.5px/1.3 var(--f); color: var(--hi); letter-spacing: -.005em; text-wrap: balance; }
.cb p:not(.ct) { flex: 1; margin: 6px 0 14px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.cb .btn { width: 100%; }

/* ---------- number tiles: 2 + 3 on phones, one row of 5 from 720px ---------- */
.nums { margin-top: 22px; }
.hd { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.hd > .ic { color: var(--glow); }
.hd p { font: 700 16px/1.2 var(--f); color: var(--hi); }
.hd a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin-left: auto; padding-left: 12px; font: 600 13px/1 var(--f);
  color: var(--muted); text-decoration: none; transition: color .3s var(--ease); }
.hd a .ic { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.hd a:hover { color: var(--glow); }
.hd a:hover .ic { transform: translateX(3px); }
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.tile { position: relative; overflow: hidden; grid-column: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 108px;
  padding: 12px; border-radius: 14px; background: linear-gradient(160deg, var(--tile-a1), var(--tile-a2)); border: 1px solid rgb(255 255 255 / .07);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .06); }
.tile:nth-child(-n+2) { grid-column: span 3; }
.tile:nth-child(2n) { background: linear-gradient(160deg, var(--tile-b1), var(--tile-b2)); }
.tile::before { content: ""; position: absolute; right: -38px; top: -38px; width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgb(var(--glow-rgb) / .34), transparent 70%); pointer-events: none; }
.tile .ic { position: absolute; top: 12px; left: 12px; width: 20px; height: 20px; color: var(--hi); opacity: .85; }
.tile b { position: relative; font: 800 23px/1 var(--f); letter-spacing: -.02em; color: var(--glow); }
.tile span { position: relative; margin-top: 6px; font: 500 12px/1.3 var(--f); color: var(--tile-text); }

/* ---------- article panel ---------- */
.panel { position: relative; display: block; margin-top: 22px; padding: 24px 16px 28px; border-radius: var(--r-card); background: var(--card);
  border: 1px solid var(--line); }
.panel::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(70% 260px at 0 0, rgb(var(--glow-rgb) / .07), transparent 70%); }
.lp-content { position: relative; max-width: 840px; margin: 0 auto; }
.lp-content h1 { margin: 0 0 14px; font: 700 clamp(22px, 5.6vw, 30px)/1.3 var(--f); letter-spacing: -.015em; color: var(--hi); text-wrap: balance; }
.lp-content p { margin: 0 0 14px; }
.lp-content h1 + p { font-size: 15.5px; line-height: 1.75; }
.lp-content h1 + p strong { color: var(--glow); }
.lp-content strong { font-weight: 600; color: var(--hi); }
.lp-content h2 { position: relative; margin: 42px 0 12px; padding-left: 16px; font: 700 clamp(19px, 4.8vw, 23px)/1.35 var(--f); letter-spacing: -.01em;
  color: var(--hi); text-wrap: balance; }
.lp-content h2::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 4px; border-radius: 4px;
  background: linear-gradient(180deg, var(--glow), var(--acc)); box-shadow: 0 0 12px rgb(var(--glow-rgb) / .45); }
.lp-content h3 { margin: 24px 0 8px; font: 600 17px/1.4 var(--f); color: var(--glow); }

.lp-content ul, .lp-content ol { margin: 12px 0 18px; padding: 0; list-style: none; }
.lp-content ul { display: grid; gap: 9px; }
.lp-content ul li { position: relative; padding-left: 30px; }
.lp-content ul li::before { content: ""; position: absolute; left: 0; top: .28em; width: 20px; height: 20px; border-radius: 6px; background: rgb(var(--glow-rgb) / .14); }
.lp-content ul li::after { content: ""; position: absolute; left: 5px; top: calc(.28em + 5px); width: 10px; height: 10px; background: var(--glow);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }

/* glossary as tiles, the worked example as a panel */
.lp-content ul.gloss { gap: 10px; }
.lp-content ul.gloss li { padding: 13px 15px; border-radius: 12px; background: var(--raise); border: 1px solid var(--line); font-size: 14px; line-height: 1.6; }
.lp-content ul.gloss li::before, .lp-content ul.gloss li::after { display: none; }
.lp-content ul.gloss strong { display: block; margin-bottom: 2px; color: var(--glow); }
.calc { margin: 22px 0; padding: 18px 18px 4px; border-radius: 16px; background: var(--calc); border: 1px solid rgb(var(--deep-rgb) / .55);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .05); }
.calc h3 { margin-top: 0; }
.calc strong { color: var(--glow); }

/* tables */
.tbl { margin: 16px 0 18px; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; scrollbar-width: thin; }
.tbl table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.tbl.wide table { min-width: 520px; }
/* scroll shadows tell a phone reader the wide table moves sideways (they ride on the panel colour) */
.tbl.wide { background:
  linear-gradient(90deg, var(--card) 30%, rgb(var(--bg-rgb) / 0)) left / 36px 100% no-repeat local,
  linear-gradient(270deg, var(--card) 30%, rgb(var(--bg-rgb) / 0)) right / 36px 100% no-repeat local,
  radial-gradient(farthest-side at 0 50%, rgb(0 0 0 / .55), transparent) left / 14px 100% no-repeat scroll,
  radial-gradient(farthest-side at 100% 50%, rgb(0 0 0 / .55), transparent) right / 14px 100% no-repeat scroll; }
.tbl th, .tbl td { padding: 11px 14px; text-align: left; vertical-align: top; }
.tbl thead th { font: 600 11.5px/1.35 var(--f); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--raise); }
.tbl td { border-top: 1px solid var(--line); color: var(--text); }
.tbl td:first-child { font-weight: 500; color: var(--hi); }
.tbl td:nth-child(2) { font-weight: 600; color: var(--glow); }
.tbl.kv th[scope="row"] { width: 44%; font: 500 13.5px/1.5 var(--f); color: var(--muted); background: var(--raise); border-top: 1px solid var(--line); }
.tbl.kv tr:first-child > * { border-top: 0; }

/* the Masuk / Daftar target */
.join { position: relative; margin: 42px 0 8px; padding: 2px 16px 6px; border-radius: 18px; border: 1px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box,
              linear-gradient(140deg, rgb(var(--acc-rgb) / .95), rgb(var(--glow-rgb) / .3) 45%, rgb(var(--glow-rgb) / .06) 75%) border-box;
  box-shadow: 0 20px 50px -30px rgb(var(--acc-rgb) / .6); }
.join h2 { margin-top: 22px; }
.lp-content .join ol { display: grid; gap: 10px; margin: 14px 0 14px; counter-reset: s; }
.join ol li { position: relative; display: flex; align-items: center; min-height: 64px; padding: 12px 14px 12px 60px; border-radius: 14px;
  background: var(--raise); counter-increment: s; font-size: 14.5px; line-height: 1.55; }
.join ol li::before { content: counter(s); position: absolute; left: 12px; top: 50%; transform: translateY(-50%); display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px; font: 800 16px/1 var(--f); color: var(--on-acc);
  background: linear-gradient(180deg, var(--acc-hi), var(--acc) 58%, var(--acc-lo)); box-shadow: 0 4px 14px rgb(var(--acc-rgb) / .35); }
.lp-content ol:not(.join ol) { counter-reset: n; display: grid; gap: 10px; }
/* page index (SOP S2), when the variant has one: whole-row links, 44 px tall */
.lp-toc { margin: 18px 0 8px; padding: 14px 16px 6px; border-radius: 14px; background: var(--raise); border: 1px solid var(--line); }
.lp-toc p { margin: 0 0 4px; }
.lp-content .lp-toc ol { gap: 0; margin: 0 0 6px; }
.lp-content .lp-toc ol li::before { top: 9px; }
.lp-toc a { display: block; min-height: 44px; padding: 11px 0; color: var(--text); text-decoration: underline; text-decoration-color: var(--acc); text-underline-offset: 4px; }
.lp-content ol:not(.join ol) li { position: relative; padding-left: 38px; counter-increment: n; }
.lp-content ol:not(.join ol) li::before { content: counter(n); position: absolute; left: 0; top: .1em; width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center; font: 700 13px/1 var(--f); color: var(--on-acc); background: var(--acc); }

/* FAQ */
.faq { display: grid; gap: 10px; margin-top: 6px; }
.qa { padding: 16px 16px 2px; border-radius: 14px; background: var(--raise); border: 1px solid var(--line); }
.lp-content .qa h3 { margin: 0 0 6px; font: 600 15.5px/1.45 var(--f); color: var(--hi); }
.qa p { font-size: 14px; line-height: 1.65; }

/* tags + date */
.lp-content h4 { margin: 38px 0 10px; font: 600 12px/1.2 var(--f); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lp-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-tags span { padding: 6px 12px; border-radius: 99px; background: var(--raise); border: 1px solid var(--line); font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.lp-updated { margin-top: 24px !important; font-size: 13px; color: var(--muted); }

/* ---------- footer ---------- */
.foot { display: grid; gap: 14px; margin-top: 24px; padding: 24px 4px 28px; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.65; color: var(--muted); }
.foot .brand span { display: block; }
.foot p { max-width: 62ch; }
.legal { display: flex; align-items: center; gap: 10px; }
.age { display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--muted);
  font: 700 11px/1 var(--f); color: var(--hi); }

/* ---------- phone dock ---------- */
.dock { position: fixed; z-index: 35; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr);
  height: calc(var(--dock-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: rgb(var(--rail-rgb) / .95); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
.dock a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-width: 0;
  font: 500 11px/1 var(--f); color: var(--muted); text-decoration: none; transition: color .3s var(--ease); }
.dock .ic { width: 22px; height: 22px; }
.dock a.on { color: var(--glow); }
.dock a.on::before { content: ""; position: absolute; top: 0; width: 26px; height: 3px; border-radius: 0 0 3px 3px; background: var(--glow);
  box-shadow: 0 0 10px rgb(var(--glow-rgb) / .7); }

/* ---------- motion (progressive: without JS nothing is hidden) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  .js .rv.in { opacity: 1; transform: none; }
  .ttl, .copy .sub, .copy .btn { animation: rise .9s var(--ease) both; }
  .copy .sub { animation-delay: .08s; }
  .copy .btn { animation-delay: .16s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } }
}
@media (hover: hover) {
  .card:hover { transform: translateY(-4px); border-color: rgb(var(--glow-rgb) / .35); box-shadow: 0 18px 40px -22px rgb(var(--glow-rgb) / .4); }
  .card:hover img { transform: scale(1.04); }
}

/* ---------- small phones: brand name joins the logo once there is room ---------- */
@media (min-width: 380px) {
  .top .brand span { display: block; }
}

/* ---------- 560px+: the whole slide copy sits on the art ---------- */
@media (min-width: 560px) {
  .slide { display: block; }
  .copy { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
    max-width: 58%; padding: 0 28px 10px; }
  .ttl { --cw: calc(50vw - 40px); --tmax: 44px; align-self: flex-start; max-width: none; padding: 0; }
  .sub { max-width: 38ch; margin-top: 8px; padding: 0; border: 0; font-size: 14px; color: var(--text); }
  .copy .btn { display: inline-flex; margin-top: 16px; }
}

/* ---------- 720px+: cards in three columns, tiles in one row ---------- */
@media (min-width: 720px) {
  :root { --gut: 20px; }
  .cards { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 18px 0 0; padding: 0; overflow: visible; }
  .tiles { grid-template-columns: repeat(5, 1fr); gap: 14px; }
  .tile, .tile:nth-child(-n+2) { grid-column: auto; min-height: 148px; padding: 16px; }
  .tile .ic { top: 16px; left: 16px; width: 22px; height: 22px; }
  .tile b { font-size: 28px; }
  .tile span { font-size: 12.5px; }
  .panel { padding: 36px 32px 40px; }
  .lp-content ul.gloss { grid-template-columns: 1fr 1fr; }
  .lp-content .join ol { grid-template-columns: 1fr 1fr; }
  .join { padding: 6px 24px 10px; }
  .faq { grid-template-columns: 1fr 1fr; }
  .qa:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .foot { grid-template-columns: auto 1fr; align-items: center; column-gap: 28px; }
  .foot .legal { grid-column: 1 / -1; }
}

/* ---------- 1024px+: icon sidebar, no dock ---------- */
@media (min-width: 1024px) {
  :root { --top-h: 72px; --gut: 24px; }
  body { padding-bottom: 0; }
  .app { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr);
    background: linear-gradient(90deg, var(--rail) calc(var(--side-w) - 1px), var(--line) 0 var(--side-w), transparent 0); }
  .side { position: sticky; top: 0; z-index: auto; width: auto; height: 100vh; height: 100dvh; gap: 14px; padding: 18px 16px 22px; transform: none; visibility: visible; transition: none; }
  .help { padding: 18px 16px 16px; }
  .help > .ic { width: 26px; height: 26px; margin-bottom: 10px; }
  .side-head, .scrim, .dock { display: none; }
  .top { background: rgb(var(--bg-rgb) / .8); border-bottom-color: transparent; }
  .brand img { width: 42px; height: 42px; }
  .brand b, .brand b.b-md, .brand b.b-sm { font-size: 19px; letter-spacing: -.01em; }
  .auth { gap: 10px; }
  .auth .btn { padding: 0 22px; }
  .tick { margin: 2px 0 16px; }
  .slides { border-radius: 20px; }
  .slide img { max-height: 400px; }
  .copy { max-width: 56%; padding: 0 48px 34px; }
  .ttl { --cw: min(calc(50vw - 230px), 470px); --tmax: 62px; }
  .sub { margin-top: 12px; font-size: 16.5px; line-height: 1.55; }
  .copy .btn { min-height: 50px; margin-top: 24px; padding: 0 32px; font-size: 15px; }
  .js .dots { position: absolute; left: 40px; bottom: 12px; height: 44px; }
  .dots button { margin: 0; }
  .nums { margin-top: 26px; }
  .panel { margin-top: 26px; padding: 44px 48px 48px; }
  .lp-content h2 { margin-top: 48px; }
  .foot { grid-template-columns: auto 1fr auto; }
  .foot .legal { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .tick { overflow-x: auto; -webkit-mask-image: none; mask-image: none; scrollbar-width: none; }
  .loop { animation: none; }
  .loop ul[aria-hidden] { display: none; }
}
