/* Vertical landing template (lottery, bingo, poker, esports). Four fictional brands, concept demos by Scatterhaus.
   Shared by landings/lottery.html, bingo.html, poker.html and esports.html; a body class picks the skin.
   One page, one offer, one action: hero (offer + one honest product tool), 3-step strip, T&Cs, trust, footer. */

:root {
  --bg: #08080c; --bg-2: #0e0e14; --bg-3: #15151d; --ft: #050508;
  --line: rgba(255, 255, 255, .12); --line-2: rgba(255, 255, 255, .26);
  --text: #f5f5f8; --soft: #c8c8d2; --dim: #9a9aa8;
  --acc: #ffd21f; --cta: #ffd21f; --cta-hi: #ffe15c; --cta-ink: #141000; --win: #43d68c; --num-dim: #4c4c60;
  --display: system-ui, sans-serif; --ui: system-ui, sans-serif;
  --d-weight: 800; --d-style: normal; --d-stretch: 100%; --d-track: 0em;
  --gut: 32px; --hd: 72px; --r: 8px; --wrap: 1320px;
  color-scheme: dark;
}

/* ---------------------------------------------------------------- skins */
.v-lotto {   /* Goldfinch Draws: draw night in a sapphire studio, gold balls */
  --bg: #061131; --bg-2: #0a1840; --bg-3: #10214f; --ft: #040b22;
  --line: rgba(186, 206, 255, .14); --line-2: rgba(186, 206, 255, .3);
  --text: #f6f7fc; --soft: #c9d1e6; --dim: #9ea9c8;
  --acc: #ffc53d; --cta: #ffc53d; --cta-hi: #ffd56e; --cta-ink: #1c1200; --num-dim: #5a70ad;
  --display: 'Bricolage Grotesque', 'Arial Narrow', sans-serif; --ui: 'Bricolage Grotesque', system-ui, sans-serif;
  --d-weight: 800; --d-stretch: 75%; --d-track: -.01em;
}
.v-bingo {   /* Marigold Bingo: a warm community hall at night, marigold and pink */
  --bg: #1a0c08; --bg-2: #24110b; --bg-3: #2f1810; --ft: #120805;
  --line: rgba(255, 214, 186, .14); --line-2: rgba(255, 214, 186, .3);
  --text: #fff6ee; --soft: #ead3c4; --dim: #c2a593;
  --acc: #ffad2a; --cta: #d81e70; --cta-hi: #c41a65; --cta-ink: #fff; --num-dim: #9a573f; --win: #ffad2a;
  --display: 'Rubik', system-ui, sans-serif; --ui: 'Rubik', system-ui, sans-serif;
  --d-weight: 900; --d-track: -.005em;
}
.v-poker {   /* Moonfold Poker: emerald felt under a pendant light, brass and crimson */
  --bg: #04100b; --bg-2: #071910; --bg-3: #0b2318; --ft: #030a07;
  --line: rgba(196, 236, 214, .13); --line-2: rgba(196, 236, 214, .28);
  --text: #f6f2e8; --soft: #cfd6cc; --dim: #9fb0a5;
  --acc: #f2c76c; --cta: #d21f39; --cta-hi: #b8172f; --cta-ink: #fff; --num-dim: #3a7759;
  --display: 'Sofia Sans Condensed', 'Arial Narrow', sans-serif; --ui: 'Sofia Sans', system-ui, sans-serif;
  --d-weight: 850; --d-style: italic; --d-track: .005em;
}
.v-esports { /* Neonlane: an empty arena before the final, cyan and magenta */
  --bg: #08050f; --bg-2: #0e0918; --bg-3: #150f24; --ft: #05030a;
  --line: rgba(214, 196, 255, .13); --line-2: rgba(214, 196, 255, .28);
  --text: #f4f2fb; --soft: #cdc6e0; --dim: #a198bd;
  --acc: #ff4bdc; --cta: #00e1ff; --cta-hi: #63eeff; --cta-ink: #00141a; --num-dim: #6c56ad; --win: #3ee6a0;
  --display: 'Saira', 'Arial Narrow', sans-serif; --ui: 'Saira', system-ui, sans-serif;
  --d-weight: 800; --d-style: italic; --d-stretch: 72%; --d-track: .005em;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--bg-3) var(--ft); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.5 var(--ui); overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: var(--cta); color: var(--cta-ink); }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--acc); }
:focus-visible { outline: 3px solid var(--cta); outline-offset: 3px; border-radius: 4px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
button { font: inherit; color: inherit; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.tnum { font-variant-numeric: tabular-nums; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.disp { font-family: var(--display); font-weight: var(--d-weight); font-style: var(--d-style); font-stretch: var(--d-stretch); letter-spacing: var(--d-track); text-transform: uppercase; }

/* ---------------------------------------------------------------- header: logo, concept pill, Log in, Register */
.hd { position: absolute; inset: 0 0 auto; z-index: 10; height: var(--hd); background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 92%, transparent), transparent); }
.hd .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--text); white-space: nowrap; }
.logo svg { width: 34px; height: 34px; flex: none; }
.logo span { font: var(--d-style) var(--d-weight) 26px/1 var(--display); font-stretch: var(--d-stretch); text-transform: uppercase; letter-spacing: .01em; }
.logo span i { font-style: inherit; font-weight: 500; color: var(--soft); margin-left: .18em; }
.hd-acts { display: flex; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 18px; border: 0; border-radius: var(--r); cursor: pointer; text-decoration: none; white-space: nowrap;
  font: 700 15px/1 var(--ui); letter-spacing: .01em; transition: background-color .15s ease, box-shadow .15s ease; }
.btn-ghost { color: var(--text); background: color-mix(in srgb, var(--bg) 40%, transparent); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1.5px #fff; }
.btn-cta { color: var(--cta-ink); background: var(--cta); }
.btn-cta:hover { background: var(--cta-hi); }

/* concept-demo pill: centred in the header band on wide screens, under the terms on phones, again in the sticky bar and footer */
.demo-tab { position: absolute; left: 50%; top: calc(var(--hd) / 2); transform: translate(-50%, -50%); z-index: 11; display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px 7px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--ft) 92%, transparent); box-shadow: 0 6px 20px -6px rgba(0, 0, 0, .7), inset 0 0 0 1px var(--line-2); color: var(--text); font-size: 12px; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap; }
.demo-tab i { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); }
.demo-tab:hover { box-shadow: 0 6px 20px -6px rgba(0, 0, 0, .7), inset 0 0 0 1px var(--acc); }
.demo-m { display: none; }

/* ---------------------------------------------------------------- hero: art, offer, one action, the product tool */
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: clamp(680px, 86svh, 840px); padding: calc(var(--hd) + 24px) 0 48px; }
.hero-art { position: absolute; inset: 0; z-index: -2; background: var(--bg); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: var(--art-pos, 57% 50%); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--bg) 94%, transparent) 0%, color-mix(in srgb, var(--bg) 84%, transparent) 24%, color-mix(in srgb, var(--bg) 46%, transparent) 40%, transparent 56%),
    linear-gradient(180deg, transparent 72%, color-mix(in srgb, var(--bg) 70%, transparent) 90%, var(--bg) 100%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr) minmax(0, 340px); align-items: center; gap: 32px; }
.offer { grid-column: 1; display: flex; flex-direction: column; align-items: flex-start; }
.tool { grid-column: 3; align-self: end; }

/* the offer stack: the vertical's display face, caps, the number alone in the accent */
.stack { font-family: var(--display); font-weight: var(--d-weight); font-style: var(--d-style); font-stretch: var(--d-stretch); letter-spacing: var(--d-track); text-transform: uppercase; line-height: .9; text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .45); }
.stack > span { display: block; }
.stack .l1 { font-size: clamp(30px, 2.9vw, 40px); margin-bottom: 6px; }
.stack .l2 { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: .12em; font-size: clamp(40px, 4vw, 54px); }
.stack .l3 { font-size: clamp(34px, 3.4vw, 48px); margin-top: 8px; }
.num { display: inline-flex; align-items: baseline; color: var(--acc); font-size: clamp(96px, 8.8vw, 124px); line-height: .82; letter-spacing: -.015em; font-variant-numeric: lining-nums; }
.num .u { font-size: .5em; letter-spacing: 0; }
.num .u:first-child { margin-right: .04em; }
.num .u:last-child { margin-left: .04em; }
.hook { margin-top: 18px; max-width: 44ch; font: 500 19px/1.4 var(--ui); color: var(--text); text-shadow: 0 1px 12px rgba(0, 0, 0, .55); }
.hook b { font-weight: 700; }

.act { margin-top: 28px; }
.cta { position: relative; display: inline-flex; align-items: center; justify-content: center; height: 64px; min-width: 280px; padding: 0 40px; border: 0; border-radius: var(--r); cursor: pointer; text-decoration: none; overflow: hidden;
  background: var(--cta); color: var(--cta-ink); font: var(--d-style) var(--d-weight) 27px/1 var(--display); font-stretch: var(--d-stretch); text-transform: uppercase; letter-spacing: .02em;
  box-shadow: 0 14px 26px -12px rgba(0, 0, 0, .75), inset 0 -3px 0 rgba(0, 0, 0, .18); transition: background-color .15s ease, transform .15s ease; }
.cta:hover { background: var(--cta-hi); transform: translateY(-1px); }
.cta:active { transform: translateY(1px); }
/* the page's one animation: a light sweep across the hero CTA every few seconds */
.cta-shine::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .55) 50%, transparent 62%) no-repeat; background-size: 260% 100%; background-position: 130% 0; animation: shine 4.5s cubic-bezier(.4, 0, .2, 1) 1.6s infinite; }
@keyframes shine { 0% { background-position: 130% 0; } 28%, 100% { background-position: -30% 0; } }

/* significant terms, directly under the CTA */
.sig { margin-top: 14px; max-width: 470px; font-size: 12px; line-height: 16px; color: var(--soft); text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.sig a { color: var(--text); }

/* ---------------------------------------------------------------- the product tool card (shared shell) */
.tool { width: 100%; max-width: 340px; justify-self: end; border-radius: 14px; background: color-mix(in srgb, var(--bg-2) 96%, transparent); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .85), inset 0 0 0 1px var(--line); overflow: hidden; font-size: 14px; }
.tool-hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.tool-hd h2 { font: var(--d-style) var(--d-weight) 17px/1 var(--display); font-stretch: var(--d-stretch); text-transform: uppercase; letter-spacing: .03em; }
.tag { padding: 4px 7px; border-radius: 4px; background: rgba(255, 255, 255, .08); color: var(--soft); font-size: 12px; line-height: 1; font-weight: 600; white-space: nowrap; }
.tool-bd { padding: 14px 16px 16px; display: grid; gap: 12px; }
.tool-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tool-btns { display: flex; gap: 6px; flex: none; }
.tbtn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 36px; padding: 0 12px; white-space: nowrap; border: 0; border-radius: 6px; cursor: pointer; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text); font: 600 14px/1 var(--ui); transition: background-color .15s ease; }
.tbtn:hover { background: rgba(255, 255, 255, .14); }
.tbtn[disabled] { opacity: .45; cursor: default; }
.tbtn .ico { width: 16px; height: 16px; }
.note { color: var(--dim); font-size: 12px; line-height: 1.45; }
.note b { color: var(--soft); font-weight: 600; }

/* lottery: a 7 x 7 picker, the line, exact odds */
.grid49 { display: grid; grid-template-columns: repeat(7, 34px); justify-content: space-between; row-gap: 5px; }
.grid49 button { aspect-ratio: 1; border: 0; border-radius: 50%; cursor: pointer; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line); color: var(--soft); font: 600 13px/1 var(--ui); font-variant-numeric: tabular-nums; transition: background-color .12s ease, color .12s ease; }
.grid49 button:hover { background: rgba(255, 255, 255, .14); color: var(--text); }
.grid49 button[aria-pressed="true"] { background: var(--acc); color: var(--cta-ink); box-shadow: none; font-weight: 800; }
.grid49.full button[aria-pressed="false"] { opacity: .45; }
.line { display: flex; gap: 8px; }
.line span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); color: var(--dim); font: 800 15px/1 var(--ui); font-variant-numeric: tabular-nums; }
.line span.on { background: radial-gradient(circle at 50% 38%, #fff6d8 0 34%, var(--acc) 36%); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18); color: #10204a; }
.odds { display: grid; gap: 5px; padding-top: 10px; border-top: 1px dashed var(--line-2); }
.odds div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.odds dt { color: var(--soft); }
.odds dd { font-weight: 700; font-variant-numeric: tabular-nums; }

/* bingo: the practice ticket, the caller, the auto-daub */
.caller { display: flex; align-items: center; gap: 12px; }
.cball { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, #fff7ec 0 46%, var(--acc) 48%); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .2); color: #2a1208; font: 800 18px/1 var(--ui); font-variant-numeric: tabular-nums; }
.caller p { display: grid; gap: 2px; line-height: 1.2; }
.caller b { font-weight: 700; font-size: 15px; }
.caller small { color: var(--dim); font-size: 12px; }
.t90 { display: grid; grid-template-columns: repeat(9, 1fr); border-radius: 6px; overflow: hidden; background: #fbf4e8; box-shadow: inset 0 0 0 2px #d81e70; }
.t90 span { position: relative; isolation: isolate; display: grid; place-items: center; aspect-ratio: 1 / 1.05; border: solid rgba(216, 30, 112, .35); border-width: 0 1px 1px 0; color: #2a1208; font: 700 13px/1 var(--ui); font-variant-numeric: tabular-nums; }
.t90 span:nth-child(9n) { border-right: 0; }
.t90 span:nth-last-child(-n + 9) { border-bottom: 0; }
.t90 span.e { background: rgba(216, 30, 112, .12); }
.t90 span.d { color: #fff; }
.t90 span.d::before { content: ''; position: absolute; inset: 12%; z-index: -1; border-radius: 50%; background: rgba(216, 30, 112, .82); }
.prog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.prog span { display: grid; gap: 4px; text-align: center; font-size: 12px; font-weight: 600; color: var(--dim); }
.prog span::before { content: ''; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .1); }
.prog span.on { color: var(--text); }
.prog span.on::before { background: var(--acc); }

/* poker: seven cards and the hand-strength meter */
.cards { display: grid; grid-template-columns: repeat(2, 1fr) 8px repeat(5, 1fr); gap: 4px; align-items: end; }
.pc { display: grid; grid-template-rows: auto 1fr; aspect-ratio: 5 / 7; padding: 3px 4px; border-radius: 5px; background: #f7f2e6; box-shadow: 0 2px 6px -2px rgba(0, 0, 0, .6); color: #151515; font: 800 14px/1 var(--ui); transition: opacity .2s ease, transform .2s ease; }
.pc.red { color: #b3121f; }
.pc i { align-self: center; justify-self: center; font-style: normal; }
.pc svg { width: 15px; height: 15px; align-self: center; justify-self: center; fill: currentColor; }
.pc.lo { opacity: .38; }
.pc.hi { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--acc), 0 4px 10px -2px rgba(0, 0, 0, .6); }
.cards .gap { width: 8px; }
.meter { display: grid; gap: 6px; }
.meter-hd { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.meter-hd b { font: var(--d-style) var(--d-weight) 22px/1 var(--display); font-stretch: var(--d-stretch); text-transform: uppercase; letter-spacing: .01em; }
.bar { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w, 0%); border-radius: inherit; background: linear-gradient(90deg, var(--num-dim), var(--acc)); transition: width .45s cubic-bezier(.2, .8, .2, 1); }

/* esports: the example slip */
.match { display: grid; gap: 8px; }
.match small { color: var(--dim); font-size: 12px; }
.picks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pick { display: grid; gap: 4px; padding: 10px 12px; border: 0; border-radius: 8px; cursor: pointer; text-align: left; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .12s ease, box-shadow .12s ease; }
.pick:hover { background: rgba(255, 255, 255, .11); }
.pick span { font-weight: 600; font-size: 14px; }
.pick b { font: var(--d-style) var(--d-weight) 26px/1 var(--display); font-stretch: var(--d-stretch); font-variant-numeric: tabular-nums; }
.pick[aria-pressed="true"] { background: color-mix(in srgb, var(--cta) 16%, transparent); box-shadow: inset 0 0 0 2px #d81e70; }
.stakes { display: flex; gap: 6px; }
.stakes button { flex: 1; height: 34px; border: 0; border-radius: 6px; cursor: pointer; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.stakes button[aria-pressed="true"] { background: var(--text); color: var(--bg); box-shadow: none; }
.outcome { display: grid; gap: 6px; padding-top: 10px; border-top: 1px dashed var(--line-2); }
.outcome div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.outcome dt { color: var(--soft); }
.outcome dd { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.outcome .back dd { color: var(--win); }
.qual { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--win); }
.qual.no { color: #ffb4a8; }
.qual .ico { width: 15px; height: 15px; }

/* ---------------------------------------------------------------- 3-step strip; step 3 restates the reward */
.steps { padding: 0 var(--gut); background: var(--bg-2); border-block: 1px solid var(--line); }
.steps .wrap { width: min(var(--wrap), 100%); }
.steps ol { list-style: none; padding: 34px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.steps li { position: relative; display: flex; align-items: center; gap: 18px; }
.steps li + li::before { content: ''; position: absolute; left: -20px; top: 50%; width: 14px; height: 14px; border: solid var(--line-2); border-width: 2px 2px 0 0; transform: translate(0, -50%) rotate(45deg); }
.steps .n { flex: none; width: .62em; text-align: center; font: var(--d-style) var(--d-weight) 100px/.8 var(--display); font-stretch: var(--d-stretch); color: var(--num-dim); }
.steps h3 { font: var(--d-style) var(--d-weight) 27px/1 var(--display); font-stretch: var(--d-stretch); text-transform: uppercase; letter-spacing: .005em; }
.steps h3 em { font-style: inherit; color: var(--acc); }
.steps p { margin-top: 6px; color: var(--soft); font-size: 15px; line-height: 1.45; max-width: 30ch; }

/* ---------------------------------------------------------------- full T&Cs: one accordion */
.tc { padding: 26px 0; scroll-margin-top: 16px; }
.tc summary { list-style: none; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 700; font-size: 15px; padding: 8px 0; }
.tc summary::-webkit-details-marker { display: none; }
.tc summary .ico { transition: transform .2s ease; }
.tc details[open] summary .ico { transform: rotate(45deg); }
.tc ol { margin-top: 10px; padding-left: 22px; max-width: 80ch; color: var(--soft); font-size: 14px; line-height: 1.55; display: grid; gap: 6px; }

/* ---------------------------------------------------------------- trust: payments, safer gambling tools, licence status */
.trust { padding: 38px 0 42px; border-top: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: 1.25fr 1fr 1.1fr; gap: 40px; }
.trust h2 { margin-bottom: 14px; font: 700 13px/1.2 var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; height: 36px; padding: 0 13px; border-radius: 6px; background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; font-size: 14px; color: var(--text); }
.tools { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.tools li { display: flex; align-items: center; gap: 9px; font-weight: 500; font-size: 15px; }
.tools .ico { color: var(--win); }
.lic { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 12px; background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line); }
.lic svg { width: 34px; height: 38px; flex: none; }
.lic h2 { margin-bottom: 6px; }
.lic p { font-size: 14px; color: var(--soft); line-height: 1.5; }
.lic p b { display: block; color: var(--text); margin-bottom: 4px; }

/* ---------------------------------------------------------------- footer */
.ft { padding: 34px 0 46px; background: var(--ft); border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; line-height: 1.6; }
.ft-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.ft-top .logo span { font-size: 22px; }
.ft-top nav { display: flex; gap: 22px; flex-wrap: wrap; font-weight: 600; color: var(--soft); }
.ft-rg { display: flex; align-items: center; gap: 14px; padding: 20px 0 12px; color: var(--soft); font-size: 14px; }
.b18 { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 2.5px var(--text); color: var(--text); font: 800 16px/1 var(--ui); }
.ft p + p { margin-top: 8px; }
.ft a { color: var(--soft); }

/* toast for the demo buttons */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 50; width: min(440px, calc(100% - 32px)); padding: 14px 16px; border-radius: 12px; background: var(--bg-3); box-shadow: 0 18px 44px -14px rgba(0, 0, 0, .85), inset 0 0 0 1px var(--line-2);
  font-size: 14px; line-height: 1.45; color: var(--text); opacity: 0; visibility: hidden; transform: translate(-50%, 12px); transition: opacity .2s ease, transform .25s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .25s; }
.toast.on { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.toast b { color: var(--acc); }
.toast a { color: var(--text); font-weight: 700; }

.sticky { display: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 330px); }
  .tool { grid-column: 2; }
  .stack .l1 { font-size: 30px; }
}
@media (max-width: 1100px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .lic { grid-column: 1 / -1; }
  .steps h3 { font-size: 23px; }
  .steps .n { font-size: 84px; }
}
@media (max-width: 899px) {
  .demo-tab { display: none; }
  .demo-m { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 6px 12px 6px 10px; border-radius: 999px; background: color-mix(in srgb, var(--ft) 85%, transparent); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 12px; font-weight: 600; line-height: 1.3; color: var(--text); }
  .demo-m i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); }
}
/* tablet: the desktop art as a band at its natural aspect, the offer and the tool side by side under it */
@media (min-width: 761px) and (max-width: 980px) {
  .hero { display: block; min-height: 0; padding: 0 0 40px; }
  .hero-art { position: relative; inset: auto; display: block; aspect-ratio: 1920 / 1100; }
  .hero-art img { position: absolute; inset: 0; }
  .hero::before { inset: 0 0 auto; height: calc(100vw * 1100 / 1920);
    background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 70%, transparent) 0, transparent 20%, transparent 62%, var(--bg) 100%); }
  .hero-in { position: relative; margin-top: -48px; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); align-items: start; gap: 24px; }
  .tool { grid-column: 2; align-self: start; }
  .stack .l1 { font-size: 26px; }
  .stack .l2 { font-size: 36px; }
  .stack .l3 { font-size: 30px; }
  .num { font-size: 88px; }
  .hook { font-size: 17px; }
  .cta { min-width: 0; width: 100%; max-width: 320px; }
}

/* phone: its own 1080x1920 art at natural aspect; the offer on the art's dark top, the CTA under the subject */
@media (max-width: 760px) {
  :root { --gut: 16px; --hd: 56px; }
  .logo svg { width: 28px; height: 28px; }
  .logo span { font-size: 21px; }
  .logo span i { display: none; }
  .hd-acts { gap: 8px; }
  .btn { height: 36px; padding: 0 12px; font-size: 14px; }

  .hero { display: block; min-height: 0; padding: calc(var(--hd) + 14px) 0 8px; background: var(--bg); }
  .hero-art { inset: 0 0 auto; height: 177.78vw; }
  .hero::before { inset: 0 0 auto; height: 177.78vw;
    background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 88%, transparent) 0%, color-mix(in srgb, var(--bg) 66%, transparent) 22%, transparent 40%, transparent 70%, color-mix(in srgb, var(--bg) 80%, transparent) 86%, var(--bg) 97%); }
  .hero-in { display: block; }
  .offer { align-items: center; text-align: center; }
  .pitch { min-height: var(--m-cta, 130vw); }
  .stack .l1 { font-size: 24px; margin-bottom: 4px; }
  .stack .l2 { justify-content: center; font-size: 32px; }
  .stack .l3 { font-size: 28px; margin-top: 4px; }
  .num { font-size: clamp(72px, 23vw, 92px); }
  .hook { margin-top: 10px; font-size: 15px; max-width: 34ch; }
  .act { width: 100%; margin-top: 0; padding-top: 16px; }
  .cta { width: 100%; min-width: 0; height: 58px; font-size: 25px; }
  .sig { margin-top: 10px; text-align: center; }
  .tool { max-width: none; margin-top: 22px; }
  .grid49 { grid-template-columns: repeat(7, 38px); }
  .line { justify-content: space-between; }

  .steps ol { grid-template-columns: 1fr; gap: 0; padding: 6px 0; }
  .steps li { padding: 16px 0; }
  .steps li + li { border-top: 1px solid var(--line); }
  .steps li + li::before { display: none; }
  .steps .n { font-size: 76px; }
  .steps h3 { font-size: 24px; }
  .steps p { max-width: none; font-size: 14px; }

  .trust { padding: 30px 0; }
  .trust-grid { grid-template-columns: 1fr; gap: 26px; }
  .ft { padding-bottom: 108px; }
  .ft-top nav { gap: 16px; }

  .sticky { display: grid; gap: 6px; position: fixed; inset: auto 0 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 96%, transparent); box-shadow: 0 -10px 30px -10px rgba(0, 0, 0, .8), inset 0 1px 0 var(--line);
    visibility: hidden; transform: translateY(105%); transition: transform .28s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .28s; }
  .sticky.on { visibility: visible; transform: none; transition-delay: 0s; }
  .sticky .cta { height: 52px; font-size: 23px; }
  .sticky small { text-align: center; font-size: 12px; color: var(--soft); }
  .toast { bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  .cta-shine::after { animation: none; }
  .sticky, .toast, .cta, .btn, .bar i, .pc, .tc summary .ico { transition: none; }
}
