/* LGR Labs site styles. Colours, type and shapes follow the LGR Labs brand guidelines v1.0
   (assets/lgrlabs-brand-pack-1.0_1/.../LGR-Labs-brand-guidelines.md, sections 6–8). */

/* ---------- tokens ---------- */
:root {
  --ink: #262E28; --cream: #F4F4EA; --green: #208E52;
  --n100: #E9E9E0; --n200: #D6D8CE; --n300: #B9BBB2; --n400: #8A8E86; --n500: #6A6F68; --n600: #4E544D; --n700: #3A413A; --n800: #2F3630;
  --g100: #CFF0D8; --g300: #7ACD96; --g400: #4AB071; --g600: #027740; --g700: #016033;

  --bg: var(--cream); --surface: #FAFAF5; --sunk: var(--n100); --line: var(--n200); --border: var(--n300);
  --text: var(--ink); --text-2: var(--n600); --muted: var(--n500);
  --link: var(--g600); --btn: var(--g600); --btn-hover: var(--g700); --btn-text: var(--cream);
  --ghost: var(--ink); --focus: var(--green); --logo-fg: var(--ink); --relax: var(--g600);
  --feat-ring: transparent;
  --err: #C43F38; --err-tint: #F1DFD4;

  /* Ink panels (ROI, health check, game, footer) */
  --panel: var(--ink); --panel-2: var(--n800); --panel-line: #424A43; --panel-text: var(--cream);
  --panel-2text: #B6B9B0; --panel-muted: #91968D; --panel-link: var(--g400); --panel-field: #1F2620;

  --font: "Sora", "Segoe UI", Arial, sans-serif;
  --mono: "JetBrains Mono", Consolas, monospace;
  --r: 8px; --r-btn: 6px;
  --wrap: 1200px; --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 18px 40px -24px rgba(38, 46, 40, .45);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #262E28; --surface: #2F3630; --sunk: #2B322C; --line: #424A43; --border: #565E57;
    --text: #F4F4EA; --text-2: #B6B9B0; --muted: #91968D;
    --link: var(--g400); --btn: var(--g400); --btn-hover: var(--g300); --btn-text: var(--ink);
    --ghost: var(--cream); --logo-fg: var(--cream); --relax: var(--g400);
    --feat-ring: var(--g400);
    --err: #E57267; --err-tint: #3E2C29;
    --panel: #1C221E; --panel-2: #262E28; --panel-line: #3A413A; --panel-field: #161B17;
    --shadow: 0 18px 40px -24px rgba(0, 0, 0, .8);
  }
}
:root[data-theme="dark"] {
  --bg: #262E28; --surface: #2F3630; --sunk: #2B322C; --line: #424A43; --border: #565E57;
  --text: #F4F4EA; --text-2: #B6B9B0; --muted: #91968D;
  --link: var(--g400); --btn: var(--g400); --btn-hover: var(--g300); --btn-text: var(--ink);
  --ghost: var(--cream); --logo-fg: var(--cream); --relax: var(--g400);
  --feat-ring: var(--g400);
  --err: #E57267; --err-tint: #3E2C29;
  --panel: #1C221E; --panel-2: #262E28; --panel-line: #3A413A; --panel-field: #161B17;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.6 var(--font); font-kerning: normal; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-weight: 600; text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
main:focus { outline: none; }
[hidden] { display: none !important; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(800px + 2 * var(--gutter)); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nowrap { white-space: nowrap; }
.icon { width: 24px; height: 24px; flex: none; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: var(--r-btn); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* type scale (brand 7.3) */
h1 { font-size: clamp(2.5rem, 1.55rem + 3.4vw, 3.75rem); line-height: 1.05; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 1.35rem + 1.5vw, 2.375rem); line-height: 1.12; letter-spacing: -.015em; }
h3, .h3like { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height: 1.25; letter-spacing: -.01em; }
h4 { font-size: 1.125rem; line-height: 1.3; }
.lead { font-size: clamp(1.0625rem, 1rem + .25vw, 1.125rem); color: var(--text-2); max-width: 40em; }
.fine { font-size: .875rem; color: var(--muted); max-width: 62em; margin-top: 32px; }
.statement { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); line-height: 1.4; letter-spacing: -.01em; max-width: 30em; }

/* the 3-4-5 triangle from the symbol, as a marker */
.tri { display: inline-block; flex: none; width: .5em; height: 1.04em; background: var(--green); clip-path: polygon(0 36%, 100% 0, 100% 100%); margin-top: .26em; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: var(--r-btn); border: 1.5px solid transparent; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease); }
.btn-primary { background: var(--btn); color: var(--btn-text); }
.btn-primary:hover { background: var(--btn-hover); }
.btn-ghost { border-color: var(--ghost); color: var(--ghost); background: transparent; }
.btn-ghost:hover { background: var(--ghost); color: var(--bg); }
.btn-on-ink { background: var(--g400); color: var(--ink); }
.btn-on-ink:hover { background: var(--g300); }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: .9375rem; }
.btn-lg { min-height: 52px; padding: 14px 26px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- cookie banner ---------- */
/* Accept and reject carry the same weight, as the Garante, CNIL and ICO expect. */
.consent { position: fixed; z-index: 80; left: var(--gutter); bottom: 16px; width: min(440px, calc(100vw - 2 * var(--gutter))); padding: 20px 20px 18px; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.consent-title { font-size: 1rem; line-height: 1.3; margin-bottom: 6px; }
.consent-text { font-size: .875rem; color: var(--text-2); }
.consent-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.consent-btn { padding-inline: 10px; background: var(--text); color: var(--bg); }
.consent-btn:hover { background: var(--text-2); }
.foot-btn { padding: 4px 0; border: 0; background: none; color: var(--panel-2text); font: inherit; text-align: left; cursor: pointer; }
.foot-btn:hover { color: var(--panel-text); text-decoration: underline; }

/* ---------- suggest banner ---------- */
.suggest { background: var(--sunk); border-bottom: 1px solid var(--line); font-size: .9375rem; }
.suggest .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-block: 10px; }
.suggest p { margin-right: auto; }
.suggest button { background: none; border: 0; color: var(--text-2); cursor: pointer; padding: 8px; text-decoration: underline; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s var(--ease); }
.site-header.scrolled { border-bottom-color: var(--line); }
.bar { position: relative; display: flex; align-items: center; gap: 24px; height: 76px; }
.logo { display: block; flex: none; color: inherit; }
.logo-art { height: 40px; width: auto; }
.lg-i { fill: var(--logo-fg); }
.lg-a { fill: var(--green); }
.primary { display: flex; gap: 4px; margin-left: auto; }
.primary a { padding: 10px 12px; border-radius: var(--r-btn); color: var(--text-2); font-weight: 600; font-size: .9375rem; text-decoration: none; white-space: nowrap; }
.primary a:hover { color: var(--text); background: var(--sunk); }
.primary a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--green); border-radius: 0; }
.primary .nav-cta-mobile { display: none; }
.bar-actions { display: flex; align-items: center; gap: 8px; }
.locale-btn, .menu-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 8px 10px; border-radius: var(--r-btn); border: 1px solid var(--line); background: transparent; cursor: pointer; font-weight: 600; font-size: .875rem; color: var(--text); }
.locale-btn:hover, .menu-btn:hover { background: var(--sunk); }
.menu-btn { display: none; justify-content: center; }
.menu-btn .icon + .icon, .menu-btn[aria-expanded="true"] .icon:first-child { display: none; }
.menu-btn[aria-expanded="true"] .icon + .icon { display: block; }

.locale-panel { position: absolute; right: var(--gutter); top: calc(100% - 6px); width: min(340px, calc(100vw - 2 * var(--gutter))); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 20px; z-index: 60; }
.panel-title { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-2); margin-bottom: 8px; }
.lang-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-bottom: 18px; }
.lang-list a { display: block; padding: 10px 10px; border-radius: var(--r-btn); color: var(--text); text-decoration: none; font-size: .9375rem; }
.lang-list a:hover { background: var(--sunk); }
.lang-list a[aria-current] { background: var(--sunk); font-weight: 600; box-shadow: inset 2px 0 0 var(--green); }

/* currency switch: header panel and price sections */
.locale-cur { padding-left: 7px; margin-left: 1px; border-left: 1px solid var(--line); color: var(--text-2); font-weight: 500; }
.cur-switch { display: inline-grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 3px; padding: 3px; border: 1px solid var(--border); border-radius: var(--r); }
.cur-switch button { min-height: 44px; padding: 6px 14px; border: 0; border-radius: var(--r-btn); background: transparent; color: var(--text-2); font-weight: 600; font-size: .875rem; white-space: nowrap; cursor: pointer; transition: background-color .18s var(--ease), color .18s var(--ease); }
.cur-switch button:hover { color: var(--text); background: var(--sunk); }
.cur-switch button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.locale-panel .cur-switch { display: grid; width: 100%; }
.cur-switch-lg { align-self: end; }

/* selects in the enquiry form */
.select { position: relative; }
.select select { appearance: none; width: 100%; min-height: 48px; padding: 10px 44px 10px 14px; border: 1px solid var(--border); border-radius: var(--r); background: var(--sunk); cursor: pointer; }
.select .icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; width: 20px; height: 20px; color: var(--text-2); }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.sec-head { margin-bottom: clamp(32px, 4vw, 56px); display: grid; gap: 14px; }
.sec-head.split { grid-template-columns: 1fr auto; align-items: end; gap: 24px 48px; }
.two-col { display: grid; grid-template-columns: 5fr 7fr; gap: 32px 64px; align-items: start; }

/* hero */
.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 7vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px 64px; align-items: center; }
.hero h1 span { display: block; }
.hero h1 span + span { color: var(--text-2); }
.hero-sub { font-size: clamp(1.0625rem, .98rem + .4vw, 1.25rem); color: var(--text-2); max-width: 34em; margin: 24px 0 32px; }
.proof { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 32px; font-size: .9375rem; color: var(--text-2); }
.proof li { display: flex; gap: 10px; }
.hero-page h1 { max-width: 18em; }
.hero-page .hero-sub { max-width: 38em; }

.hero-panel { position: relative; background: var(--panel); color: var(--panel-text); border-radius: var(--r); aspect-ratio: 4 / 4.6; display: grid; place-content: center; justify-items: center; gap: clamp(20px, 3vw, 32px); padding: 40px 24px 72px;
  /* bottom-right corner cut on the fold angle of the symbol (rise 3 : run 4) */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 72px), calc(100% - 96px) 100%, 0 100%); }
.symbol-art { width: min(58%, 260px); height: auto; overflow: visible; }
.sp { fill: var(--cream); }
.sp5 { fill: var(--green); }
.hero-tag { font-size: clamp(1.125rem, .9rem + .9vw, 1.5rem); letter-spacing: -.01em; }
.hero-tag .relax, .foot-tag .relax { color: var(--g400); }
@media (prefers-reduced-motion: no-preference) {
  .sp { animation: lgr-in .62s var(--ease) both; }
  .sp1 { animation-delay: .15s; } .sp2 { animation-delay: .23s; } .sp3 { animation-delay: .31s; } .sp4 { animation-delay: .39s; }
  .sp5 { animation: lgr-launch .7s var(--ease) .55s both; }
  .hero-tag { animation: fade .6s var(--ease) .9s both; }
}
@keyframes lgr-in { from { opacity: 0; transform: translate(0, 14px); } to { opacity: 1; transform: none; } }
@keyframes lgr-launch { from { opacity: 0; transform: translate(-20px, 15px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* services: a directory, not a card grid */
.services { padding-top: 0; }
.services h2 { margin-bottom: 20px; color: var(--text-2); font-weight: 400; }
.doors { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--text); border-bottom: 1px solid var(--line); }
.door + .door { border-left: 1px solid var(--line); }
.door-link { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 28px 28px 32px; color: var(--text); text-decoration: none; transition: background-color .18s var(--ease); }
.door-link:hover { background: var(--surface); }
.door-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r); background: var(--sunk); color: var(--text); margin-bottom: 4px; }
.door-t { font-size: 1.25rem; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.door-d { color: var(--text-2); }
.door-price { font-weight: 600; margin-top: auto; padding-top: 8px; }
.door-price .vat { font-weight: 400; }
.door-go { color: var(--link); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.door-link:hover .door-go { text-decoration-thickness: 2px; }
.vat { font-size: .8125rem; font-weight: 400; color: var(--text-2); }

/* ---------- ink band ---------- */
.band-ink { background: var(--panel); color: var(--panel-text); }
.band-ink .lead, .band-ink .fine { color: var(--panel-2text); }
.band-ink a:not(.btn) { color: var(--panel-link); }
.band-ink :focus-visible { outline-color: var(--g400); }
.fine.on-ink { color: var(--panel-muted); }
.band-ink .vat, .pack-featured .vat { color: var(--panel-2text); }
.band-ink .step-n { color: var(--g400); }

/* ---------- ROI ---------- */
.roi-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px 56px; align-items: start; }
.roi-in { display: grid; gap: 28px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.roi legend { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--panel-2text); margin-bottom: 14px; padding: 0; }
.seg-opts { display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; gap: 4px; border: 1px solid var(--panel-line); border-radius: var(--r); }
.seg-opts label { position: relative; }
.seg-opts input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg-opts span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 44px; padding: 8px 10px; border-radius: var(--r-btn); font-weight: 600; font-size: .9375rem; color: var(--panel-2text); transition: background-color .18s var(--ease), color .18s var(--ease); }
.seg-opts input:checked + span { background: var(--cream); color: var(--ink); }
.seg-opts input:focus-visible + span { outline: 2px solid var(--g400); outline-offset: 2px; }
.roi-mode { display: grid; gap: 2px; padding: 10px 16px 14px; border: 1px solid var(--panel-line); border-radius: var(--r); }
.switch { position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; font-weight: 600; font-size: .9375rem; justify-self: start; }
.switch input { position: absolute; left: 0; top: 50%; width: 44px; height: 24px; margin: -12px 0 0; opacity: 0; cursor: pointer; }
.switch-track { position: relative; flex: none; width: 44px; height: 24px; border-radius: 999px; background: var(--n700); transition: background-color .18s var(--ease); }
.switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--cream); transition: transform .18s var(--ease); }
.switch input:checked + .switch-track { background: var(--g400); }
.switch input:checked + .switch-track::after { transform: translateX(20px); }
.switch input:focus-visible + .switch-track { outline: 2px solid var(--g400); outline-offset: 2px; }
.roi-group { display: grid; gap: 24px; }
.rf-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rf-head label { font-weight: 600; font-size: .9375rem; }
.rf-val { display: inline-flex; align-items: center; gap: 4px; flex: none; min-height: 44px; padding: 0 12px; border: 1px solid var(--panel-line); border-radius: var(--r-btn); background: var(--panel-field); font-family: var(--mono); font-size: .9375rem; }
.rf-val:focus-within { border-color: var(--g400); box-shadow: 0 0 0 1px var(--g400); }
.rf-val input { width: 7ch; border: 0; background: transparent; text-align: right; font-family: var(--mono); padding: 10px 0; outline: none; }
.rf-cur:empty { display: none; }
.rf-desc { font-size: .8125rem; line-height: 1.45; color: var(--panel-2text); margin-top: 6px; max-width: 46ch; }
.rf-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { min-height: 36px; padding: 6px 12px; border: 1px solid var(--panel-line); border-radius: 999px; background: transparent; color: var(--panel-2text); font-size: .8125rem; font-weight: 600; white-space: nowrap; cursor: pointer; font-variant-numeric: tabular-nums; transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease); }
.chip:hover { border-color: var(--panel-2text); color: var(--panel-text); }
.chip[aria-pressed="true"] { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.roi-simple-note { font-size: .875rem; color: var(--panel-2text); padding-top: 18px; border-top: 1px solid var(--panel-line); }
.rf input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 24px; margin: 10px 0 0; background: transparent; cursor: pointer; --pct: 50%; }
.rf input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--g400) var(--pct), var(--n700) var(--pct)); }
.rf input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: var(--n700); }
.rf input[type="range"]::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--g400); }
.rf input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%; background: var(--cream); border: 3px solid var(--g400); }
.rf input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--cream); border: 3px solid var(--g400); }
.rf-check .check { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .9375rem; cursor: pointer; min-height: 44px; }
.check input { width: 20px; height: 20px; accent-color: var(--g400); }

.roi-out { position: sticky; top: 96px; background: var(--panel-2); border: 1px solid var(--panel-line); border-radius: var(--r); padding: clamp(24px, 3vw, 36px); display: grid; gap: 0; }
.out-label { color: var(--panel-2text); font-size: .9375rem; }
.out-big { font-weight: 700; font-size: clamp(2.5rem, 1.8rem + 3vw, 4rem); line-height: 1.05; letter-spacing: -.02em; margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.out-big.neg { color: #E57267; }
.out-note { color: var(--panel-muted); font-size: .875rem; }
.out-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; padding: 20px 0; border-block: 1px solid var(--panel-line); }
.out-kpis dt { color: var(--panel-2text); font-size: .875rem; }
.out-kpis dd { font-weight: 600; font-size: clamp(1.25rem, 1rem + .9vw, 1.625rem); line-height: 1.2; margin-top: 4px; font-variant-numeric: tabular-nums; }
.chart figcaption { color: var(--panel-2text); font-size: .875rem; margin-bottom: 10px; }
.chart svg { width: 100%; height: 180px; overflow: visible; }
.chart-x { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .75rem; color: var(--panel-muted); margin-top: 6px; }
.ledger { width: 100%; border-collapse: collapse; margin: 28px 0 0; font-size: .9375rem; }
.roi-out > .btn { margin-top: 24px; }
.ledger caption { text-align: left; color: var(--panel-2text); font-size: .875rem; margin-bottom: 8px; }
.ledger th { text-align: left; font-weight: 400; padding: 8px 12px 8px 0; color: var(--panel-2text); }
.ledger td { text-align: right; font-family: var(--mono); padding: 8px 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ledger tr { border-bottom: 1px solid var(--panel-line); }
.ledger tr.sub th, .ledger tr.sub td { color: var(--panel-text); font-weight: 600; }
.ledger tr.total { border-bottom: 0; }
.ledger tr.total th, .ledger tr.total td { color: var(--panel-text); font-weight: 600; padding-top: 12px; }
.roi-out .btn { justify-self: start; }

/* ---------- prices ---------- */
.price-tabs { display: inline-grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; padding: 4px; max-width: 100%; border: 1px solid var(--border); border-radius: var(--r); margin-bottom: clamp(20px, 3vw, 32px); }
.price-tabs [role="tab"] { min-height: 44px; padding: 8px 20px; border: 0; border-radius: var(--r-btn); background: transparent; color: var(--text-2); font-weight: 600; font-size: .9375rem; line-height: 1.25; cursor: pointer; transition: background-color .18s var(--ease), color .18s var(--ease); }
.price-tabs [role="tab"]:hover { color: var(--text); background: var(--sunk); }
.price-tabs [role="tab"][aria-selected="true"] { background: var(--text); color: var(--bg); }

/* Packages share rows through subgrid, so names, prices and lists line up across columns.
   Row 1 holds the badge: the recommended package rises above the rule that runs through row 2. */
.pack-row { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: repeat(7, auto); gap: 0; }
.pack { grid-row: span 7; display: grid; grid-template-rows: subgrid; padding: 0 18px 24px; border-radius: var(--r); }
.pack-top { display: contents; }
.pack-badge { grid-row: 1; grid-column: 1; justify-self: start; align-self: end; margin-top: 16px; padding: 3px 10px; border-radius: 999px; background: var(--g400); color: var(--ink); font-size: .75rem; font-weight: 600; line-height: 1.4; }
.pack-name { grid-row: 2; grid-column: 1; margin: 14px -18px 0; padding: 18px 18px 0; border-top: 2px solid var(--text); font-size: 1.125rem; }
.pack-price { grid-row: 3; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; margin-top: 12px; }
.pack-amt { font-size: clamp(1.75rem, 1.45rem + .8vw, 2.125rem); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pack-amt-text { font-size: 1.375rem; letter-spacing: -.01em; }
.pack-unit { font-size: .875rem; color: var(--text-2); }
.pack-vat { grid-row: 4; margin-top: 2px; }
.pack-desc { grid-row: 5; margin-top: 14px; font-size: .9375rem; color: var(--text-2); }
.pack-feats { grid-row: 6; display: grid; gap: 9px; align-content: start; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .875rem; }
.pack-feats li { display: flex; gap: 10px; }
.pack-cta { grid-row: 7; align-self: end; width: 100%; margin-top: 24px; padding-inline: 12px; font-size: .9375rem; text-align: center; }
.pack-featured { background: var(--panel); color: var(--panel-text); box-shadow: var(--shadow), inset 0 0 0 1.5px var(--feat-ring); }
.pack-featured .pack-name { border-top-color: var(--panel-line); }
.pack-featured .pack-unit, .pack-featured .pack-desc { color: var(--panel-2text); }
.pack-featured .pack-feats { border-top-color: var(--panel-line); }
.pack-featured :focus-visible { outline-color: var(--g400); }
.price-panel .fine { margin-top: 24px; }

/* AI: free call and paid diagnostic ahead of the packages */
.ai-entry { margin-bottom: clamp(28px, 4vw, 44px); padding: 4px 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.ai-entry-title { padding: 16px 0 12px; font-weight: 600; color: var(--text-2); font-size: .9375rem; }
.ai-entry-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px 32px; padding: 18px 0; border-top: 1px solid var(--line); }
.ai-entry-text h3 { font-size: 1.0625rem; }
.ai-entry-text p { margin-top: 4px; color: var(--text-2); font-size: .9375rem; max-width: 62ch; }
.ai-entry-price { font-weight: 600; font-size: 1.25rem; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ai-entry-price .vat { display: block; }

/* ---------- steps ---------- */
.steps { background: var(--sunk); }
.step-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: s; }
.step-list li { border-top: 1px solid var(--border); padding-top: 20px; }
.step-n { display: block; font-size: 2.75rem; font-weight: 600; line-height: 1; color: var(--relax); margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.step-list h3 { font-size: 1.125rem; margin-bottom: 8px; }
.step-list p { color: var(--text-2); font-size: .9375rem; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 48px 72px; align-items: start; }
.about-main { display: grid; gap: 24px; }
.facts { display: grid; gap: 0; border-top: 2px solid var(--text); }
.fact { padding: 18px 0; border-bottom: 1px solid var(--line); }
.fact h3 { font-size: 1rem; margin-bottom: 4px; }
.fact p { color: var(--text-2); font-size: .9375rem; }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: 4fr 8fr; gap: 32px 64px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.0625rem; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--text-2); transition: transform .2s var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { color: var(--text-2); padding: 0 48px 24px 0; max-width: 62ch; }

/* ---------- contact ---------- */
.contact { background: var(--sunk); }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 40px 72px; align-items: start; }
.contact-intro { display: grid; gap: 20px; }
.contact-direct { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.contact-direct .icon { margin-top: 1px; color: var(--text); }
.company-card { font-size: .875rem; color: var(--text-2); padding-top: 20px; border-top: 1px solid var(--border); }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 3vw, 36px); display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fld label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: 6px; }
.fld .opt { font-weight: 400; color: var(--muted); }
.fld input, .fld textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--r); background: var(--sunk); }
.fld textarea { resize: vertical; min-height: 140px; }
.fld input:focus, .fld textarea:focus, .select select:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 1px var(--link); }
.fld [aria-invalid="true"] { border-color: var(--err); box-shadow: 0 0 0 1px var(--err); }
.err { color: var(--err); font-size: .875rem; margin-top: 6px; }
.form-privacy { font-size: .875rem; color: var(--text-2); }
.form .btn { justify-self: start; }
.form-status { padding: 14px 16px; border-radius: var(--r); background: var(--g100); color: var(--g700); font-weight: 600; }
.form-status.bad { background: var(--err-tint); color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- websites / ai pages ---------- */
.sign-list { border-top: 2px solid var(--text); }
.sign-list li { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
.included { background: var(--sunk); }
.inc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 64px; }
.inc-list li { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.inc-list h3 { font-size: 1.0625rem; }
.inc-list p { color: var(--text-2); font-size: .9375rem; margin-top: 4px; }
.what-list, .safe-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.safe-list { grid-template-columns: repeat(4, 1fr); }
.what-list li, .safe-list li { display: grid; gap: 10px; align-content: start; }
.what-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r); background: var(--sunk); margin-bottom: 6px; }
.what-list p, .safe-list p { color: var(--text-2); }
.safe-list h3 { font-size: 1.0625rem; }
.examples { background: var(--sunk); }
.ex-list { border-top: 2px solid var(--text); }
.ex-list div { display: grid; grid-template-columns: 12rem 1fr; gap: 8px 32px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.ex-list dt { font-weight: 600; }
.ex-list dd { color: var(--text-2); }
.start-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 40px; }
.start-list li { padding-top: 20px; border-top: 1px solid var(--panel-line); }
.start-list h3 { font-size: 1.125rem; }
.start-list p { color: var(--panel-2text); font-size: .9375rem; }
.start-list .start-price { margin: 6px 0 10px; color: var(--panel-text); font-weight: 600; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.cta-band { background: var(--green); color: var(--cream); padding: clamp(48px, 6vw, 80px) 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.cta-inner h2 { max-width: 18em; }
.cta-band .btn-primary { background: var(--ink); color: var(--cream); }
.cta-band .btn-primary:hover { background: #1C221E; }
.cta-band .btn-ghost { border-color: var(--cream); color: var(--cream); }
.cta-band .btn-ghost:hover { background: var(--cream); color: var(--ink); }
.cta-band :focus-visible { outline-color: var(--cream); }

/* ---------- game ---------- */
.game-hero { position: relative; overflow: hidden; background: var(--panel); color: var(--panel-text); padding: clamp(56px, 8vw, 120px) 0 clamp(64px, 9vw, 136px); }
.game-hero::after { content: ""; position: absolute; right: -2vw; bottom: -4vw; width: clamp(160px, 26vw, 380px); aspect-ratio: 92 / 191.7; background: var(--green); clip-path: polygon(0 36%, 100% 0, 100% 100%); pointer-events: none; }
.game-wrap { position: relative; z-index: 1; display: grid; justify-items: start; gap: 20px; }
.game-kicker { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--panel-2text); }
.game-hero h1 { font-size: clamp(3rem, 1.6rem + 6.5vw, 7rem); letter-spacing: -.03em; line-height: .95; }
.game-line { font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); color: var(--panel-2text); max-width: 32em; }
.countdown { display: grid; grid-template-columns: repeat(4, auto); margin: 24px 0 8px; border-block: 1px solid var(--panel-line); }
.cd-cell { display: grid; gap: 6px; padding: 20px clamp(16px, 3vw, 40px) 20px 0; }
.cd-cell + .cd-cell { padding-left: clamp(16px, 3vw, 40px); border-left: 1px solid var(--panel-line); }
.cd-num { font-family: var(--mono); font-size: clamp(2.25rem, 1.2rem + 5vw, 5.5rem); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cd-lbl { font-size: .8125rem; color: var(--panel-muted); }
.game-date { font-size: 1.125rem; }
.game-date time { font-weight: 600; }
.game-live { font-size: 1.25rem; font-weight: 600; }
/* World Owner band on the home page */
.wo-band { background: var(--panel); color: var(--panel-text); padding: clamp(56px, 7vw, 96px) 0; }
.wo-band :focus-visible { outline-color: var(--g400); }
.wo-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px 64px; }
.wo-copy h2 { margin: 12px 0 14px; font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem); line-height: .95; letter-spacing: -.03em; }
.wo-line { color: var(--panel-2text); font-size: 1.0625rem; max-width: 34em; }
.wo-side { display: grid; justify-items: start; gap: 4px; padding-left: 32px; border-left: 1px solid var(--panel-line); }
.wo-days { font-family: var(--mono); font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); line-height: 1.15; font-variant-numeric: tabular-nums; }
.wo-date { color: var(--panel-2text); margin-bottom: 16px; }
.player { border-top: 1px solid var(--line); }
.link-list { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 16px; }
.link-list a { font-weight: 600; }

/* ---------- legal ---------- */
.legal { padding-block: clamp(32px, 5vw, 64px) clamp(64px, 8vw, 112px); max-width: calc(760px + 2 * var(--gutter)); }
.legal-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; padding-bottom: 16px; margin-bottom: 32px; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.legal-nav a { color: var(--text-2); text-decoration: none; padding: 6px 0; }
.legal-nav a:hover { color: var(--text); }
.legal-nav a[aria-current] { color: var(--text); font-weight: 600; box-shadow: inset 0 -2px 0 var(--green); }
.legal-kicker { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-2); margin-bottom: 8px; }
.legal h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); margin-bottom: 8px; }
.legal .date { color: var(--text-2); font-size: .9375rem; margin-bottom: 24px; }
.legal .note { background: var(--sunk); border-left: 3px solid var(--green); padding: 14px 18px; border-radius: 0 var(--r) var(--r) 0; font-size: .9375rem; color: var(--text-2); margin: 20px 0; }
.legal h2 { font-size: 1.375rem; margin: 44px 0 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.legal h3 { font-size: 1.0625rem; margin: 24px 0 8px; }
.legal p, .legal li { margin-bottom: 12px; line-height: 1.65; }
.legal ul, .legal ol { padding-left: 1.25em; margin-bottom: 12px; }
.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal li::marker { color: var(--text-2); }
.legal address { margin-bottom: 12px; line-height: 1.65; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: .9375rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.legal th { font-weight: 600; }
.legal dl div { display: grid; grid-template-columns: 14rem 1fr; gap: 4px 24px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.legal dt { font-weight: 600; }
.legal code { font-family: var(--mono); font-size: .875em; background: var(--sunk); padding: 1px 5px; border-radius: 4px; }

/* ---------- footer ---------- */
.site-footer { background: var(--panel); color: var(--panel-text); padding: clamp(48px, 6vw, 80px) 0 32px; font-size: .9375rem; --logo-fg: var(--cream); }
.foot-top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px 32px; padding-bottom: 40px; border-bottom: 1px solid var(--panel-line); margin-bottom: 24px; }
.logo-foot .logo-art { height: 32px; }
.foot-tag { margin: 18px 0 6px; font-size: 1.0625rem; }
.foot-line { color: var(--panel-2text); max-width: 22em; }
.foot-h { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--panel-muted); margin-bottom: 12px; }
.foot-col li { margin-bottom: 8px; }
.foot-col a { color: var(--panel-2text); text-decoration: none; }
.foot-col a:hover { color: var(--panel-text); text-decoration: underline; }
.legal-line { color: var(--panel-muted); font-size: .8125rem; max-width: 72em; margin-top: 6px; }
.site-footer :focus-visible { outline-color: var(--g400); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .primary { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .primary.open { display: flex; }
  .primary a { padding: 14px 4px; font-size: 1.0625rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .primary a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--green); padding-left: 12px; }
  .primary .nav-cta-mobile { display: inline-flex; margin-top: 16px; border-bottom: 0; color: var(--btn-text); }
  .bar-actions { margin-left: auto; }
  .menu-btn { display: inline-flex; }
  .step-list { grid-template-columns: repeat(2, 1fr); }
  .safe-list { grid-template-columns: repeat(2, 1fr); }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  /* packages scroll sideways; the script opens the row with the recommended package centred */
  .pack-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(300px, 80%); column-gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 14px; scroll-padding-inline: var(--gutter); }
  .pack { scroll-snap-align: center; background: var(--surface); border: 1px solid var(--line); }
  .pack-featured { background: var(--panel); border-color: transparent; }
  .pack-name { margin: 0; padding: 22px 0 0; border-top: 0; }
  .pack-badge { grid-row: 2; justify-self: end; align-self: start; margin-top: 22px; }
}
@media (max-width: 900px) {
  .hero-grid, .two-col, .about-grid, .faq-grid, .contact-grid, .roi-grid { grid-template-columns: 1fr; }
  .hero-panel { aspect-ratio: auto; grid-auto-flow: column; justify-content: start; align-items: center; justify-items: start; gap: 20px; padding: 20px 64px 20px 20px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 40px) 100%, 0 100%); }
  .symbol-art { width: 64px; }
  .doors { grid-template-columns: 1fr; }
  .door + .door { border-left: 0; border-top: 1px solid var(--line); }
  .door-link { padding: 24px 0; }
  .door-link:hover { background: transparent; }
  .sec-head.split { grid-template-columns: 1fr; }
  .cur-switch-lg { justify-self: start; }
  .wo-grid { grid-template-columns: 1fr; }
  .wo-side { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--panel-line); }
  .start-list { grid-template-columns: 1fr; gap: 28px; }
  .roi-out { position: static; }
  .what-list { grid-template-columns: 1fr; gap: 28px; }
  .inc-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .bar { height: 64px; gap: 12px; }
  .logo-art { height: 32px; }
  .nav-cta { display: none; }
  .step-list, .safe-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .price-tabs { display: grid; width: 100%; }
  .price-tabs [role="tab"] { padding-inline: 8px; font-size: .875rem; }
  .ai-entry { padding-inline: 18px; }
  .ai-entry-list li { grid-template-columns: minmax(0, 1fr) auto; }
  .ai-entry-text { grid-column: 1 / -1; }
  .ai-entry-price { text-align: left; }
  .ex-list div, .legal dl div { grid-template-columns: 1fr; }
  .countdown { grid-template-columns: 1fr 1fr; width: 100%; }
  .cd-cell:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--panel-line); }
  .cd-cell:nth-child(4) { border-top: 1px solid var(--panel-line); }
  .seg-opts span { font-size: .875rem; padding: 8px 6px; }
  .game-hero::after { opacity: .9; width: 120px; }
  .faq details p { padding-right: 0; }
  .btn-row .btn { flex: 1 1 100%; }
  .consent { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .switch-track, .switch-track::after, .chip, .btn, .cur-switch button, .price-tabs [role="tab"] { transition: none; }
}
@media print {
  .site-header, .site-footer, .suggest, .consent, .btn { display: none !important; }
  body { background: #fff; color: #000; }
}
