:root {
  --bg: #fbfaf8;
  --surface: #ffffff;
  --surface-2: #f4f2ee;
  --line: rgba(20, 18, 14, 0.08);
  --line-2: rgba(20, 18, 14, 0.14);
  --ink: #14110d;
  --ink-2: #2a2722;
  --ink-dim: rgba(20, 18, 14, 0.62);
  --ink-faint: rgba(20, 18, 14, 0.42);
  --accent: oklch(0.42 0.12 250);
  --accent-soft: oklch(0.94 0.03 250);
  --accent-ink: oklch(0.32 0.13 250);
  --good: oklch(0.55 0.13 150);
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.wrap-narrow { max-width: 920px; margin: 0 auto; padding: 0 40px; }

/* ===== Skip link (a11y) ===== */
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--bg);
  padding: 10px 14px; border-radius: 0 0 8px 0;
  z-index: 100; font-size: 14px;
}
.skip:focus { left: 0; }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 248, 0.78);
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); }
.logo-mark {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--bg);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
  letter-spacing: -0.02em;
}
.nav-links { display: flex; gap: 28px; font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.nav-links a { text-decoration: none; transition: color .15s; }
.nav-links a:hover { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang-pill {
  font-size: 12.5px; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); padding: 6px 11px; border-radius: 999px;
  background: var(--surface); font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  position: relative;
}
.lang-pill svg { width: 13px; height: 13px; }
.lang-menu {
  position: absolute; top: calc(100% + 6px); right: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px;
  display: none;
  flex-direction: column;
  min-width: 180px;
  box-shadow: 0 12px 40px -12px rgba(20,18,14,0.15);
  z-index: 60;
}
.lang-pill[aria-expanded="true"] + .lang-menu,
.lang-pill:focus + .lang-menu,
.lang-menu:hover { display: flex; }
.lang-pill:hover + .lang-menu { display: flex; }
.lang-menu a {
  text-decoration: none;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink-2);
  display: flex; justify-content: space-between; align-items: center;
}
.lang-menu a:hover { background: var(--surface-2); color: var(--ink); }
.lang-menu a code { font-family: var(--mono); font-size: 11px; color: var(--ink-faint); }

/* ===== Hero ===== */
.hero { padding: 40px 0 72px; text-align: center; position: relative; }
.hero::before {
  content: ''; position: absolute; left: 50%; top: 0;
  width: 1100px; height: 600px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, var(--accent-soft), transparent 60%);
  filter: blur(40px);
  z-index: 0; opacity: 0.5;
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--ink-2);
  font-weight: 500;
  margin-bottom: 20px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--good);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 oklch(0.65 0.18 150 / 0.5); }
  70%  { box-shadow: 0 0 0 9px oklch(0.65 0.18 150 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.65 0.18 150 / 0); }
}

.h1 {
  font-size: clamp(36px, 4.8vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 0;
  text-wrap: balance;
  color: var(--ink);
}
.h1 .accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-ink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.h1 .light { font-weight: 500; color: var(--ink-2); }
.sub {
  font-size: 18px; line-height: 1.45;
  color: var(--ink-dim);
  max-width: 560px;
  margin: 16px auto 0;
  font-weight: 400;
  text-wrap: pretty;
}
.hero-secondary {
  margin: 56px auto 0;
  max-width: 720px;
  text-align: center;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-dim);
}

/* Chat */
.chat { max-width: 780px; margin: 28px auto 0; }
.chat-bar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 6px 6px 6px 22px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: 0 8px 30px -12px rgba(20,18,14,0.08), 0 1px 0 rgba(255,255,255,0.7) inset;
  transition: border-color .15s, box-shadow .15s;
}
.chat-bar:focus-within {
  border-color: var(--accent);
  box-shadow: 0 8px 30px -8px oklch(0.42 0.12 250 / 0.18), 0 0 0 4px oklch(0.42 0.12 250 / 0.08);
}
.chat-bar input {
  flex: 1; background: transparent; border: 0; outline: 0;
  font-size: 17px; color: var(--ink);
  padding: 16px 0; font-family: var(--sans); letter-spacing: -0.01em;
}
.chat-bar input::placeholder { color: var(--ink-faint); }
.chat-btn {
  background: var(--ink); color: var(--bg);
  border: 0; padding: 12px 22px;
  border-radius: 12px; font-weight: 600; font-size: 14px;
  cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  transition: background .15s, transform .15s; font-family: var(--sans);
}
.chat-btn:hover { background: var(--accent); }
.chat-btn:active { transform: translateY(1px); }
.chat-btn:disabled { opacity: 0.6; cursor: wait; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; justify-content: center; }
.chip {
  font-size: 13px; color: var(--ink-2);
  padding: 7px 14px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px;
  cursor: pointer; font-family: var(--sans); font-weight: 500;
  transition: all .15s;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }

/* Result */
.result {
  margin-top: 28px; text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 40px -16px rgba(20,18,14,0.1);
}
.result.demo { opacity: 0.96; }
.result-head {
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
  font-size: 12.5px; color: var(--ink-faint);
  font-family: var(--mono); letter-spacing: 0.04em;
}
.result-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-soft); color: var(--accent-ink);
  padding: 3px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0; font-family: var(--sans);
}
.result-badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.answer { padding: 22px 24px 4px; font-size: 17px; line-height: 1.55; color: var(--ink); letter-spacing: -0.005em; }
.answer b, .answer strong { color: var(--accent); font-weight: 600; }
.cards { padding: 14px 18px 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px; transition: border-color .15s, transform .15s;
  text-decoration: none; color: inherit; display: block;
}
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card-head { display: flex; justify-content: space-between; align-items: start; gap: 10px; margin-bottom: 10px; }
.card-name { font-weight: 600; font-size: 15px; letter-spacing: -0.015em; }
.card-tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em;
  background: var(--accent-soft); color: var(--accent-ink);
  padding: 3px 7px; border-radius: 5px; font-weight: 500; white-space: nowrap;
}
.card-meta { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; color: var(--ink-dim); }
.card-meta-row { display: flex; justify-content: space-between; }
.card-meta-row b { color: var(--ink); font-weight: 600; }

.error {
  margin-top: 16px; padding: 12px 16px;
  border: 1px solid oklch(0.85 0.1 25);
  background: oklch(0.97 0.04 25);
  color: oklch(0.4 0.13 25);
  border-radius: 10px; font-size: 13.5px;
}

/* ===== Stats ===== */
.stats { padding: 60px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-num { font-size: 48px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.stat-lab { font-size: 13px; color: var(--ink-dim); font-weight: 500; }
.stat-delta { font-size: 11.5px; color: var(--good); font-family: var(--mono); letter-spacing: 0.02em; margin-top: 2px; }

/* ===== Section ===== */
.section { padding: 120px 0; }
.section-head { text-align: center; margin-bottom: 60px; }
.section-eye {
  font-size: 13px; color: var(--accent); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  display: block; margin-bottom: 14px;
}
.section-h {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05; letter-spacing: -0.03em;
  font-weight: 600; margin: 0; text-wrap: balance;
}
.section-lede { margin: 18px auto 0; font-size: 18px; line-height: 1.5; color: var(--ink-dim); max-width: 600px; text-wrap: pretty; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 32px 28px 36px; }
.step-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-ink);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 600;
  margin-bottom: 22px; font-family: var(--mono);
}
.step h3 { font-size: 22px; letter-spacing: -0.02em; margin: 0 0 10px; font-weight: 600; }
.step p { margin: 0; color: var(--ink-dim); font-size: 15px; line-height: 1.55; }
.step .visual {
  margin-top: 22px; background: var(--surface-2);
  border-radius: 10px; padding: 14px 16px;
  font-family: var(--mono); font-size: 12px;
  color: var(--ink-2); line-height: 1.7;
  border: 1px solid var(--line);
}
.step .visual .k { color: var(--accent); }
.step .visual .c { color: var(--ink-faint); }

/* Examples */
.examples { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.example {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 24px 26px; cursor: pointer;
  transition: border-color .15s, transform .15s;
  display: flex; flex-direction: column; gap: 14px;
  text-align: left; font-family: inherit;
}
.example:hover { border-color: var(--accent); transform: translateY(-2px); }
.example .q { font-size: 18px; line-height: 1.4; letter-spacing: -0.015em; font-weight: 500; color: var(--ink); }
.example .meta {
  display: flex; gap: 12px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-faint);
  align-items: center;
}
.example .meta .lang {
  background: var(--surface-2); padding: 3px 7px; border-radius: 5px;
  color: var(--ink-2); font-weight: 600;
}
.example .meta .matches { color: var(--accent); font-weight: 600; }

/* Licenses */
.licenses { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.license {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 22px 16px 20px;
  text-align: center; transition: border-color .15s, transform .15s;
  text-decoration: none; color: inherit;
}
.license:hover { border-color: var(--accent); transform: translateY(-2px); }
.license-code { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.license-name { margin-top: 6px; font-size: 12px; color: var(--ink-dim); line-height: 1.35; min-height: 32px; }
.license-ct {
  margin-top: 12px; display: inline-block;
  font-family: var(--mono); font-size: 10.5px;
  background: var(--accent-soft); color: var(--accent-ink);
  padding: 3px 8px; border-radius: 5px;
  letter-spacing: 0.04em; font-weight: 600;
}

/* Europe */
.europe {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 22px; padding: 56px;
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px;
  align-items: center;
}
.europe-left h3 { font-size: 36px; letter-spacing: -0.025em; line-height: 1.1; margin: 14px 0 18px; font-weight: 600; }
.europe-left p { color: var(--ink-dim); font-size: 16px; line-height: 1.55; margin: 0; }
.europe-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 18px; }
.europe-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 14px; border-radius: 10px;
  font-size: 14px; background: var(--bg);
  border: 1px solid var(--line);
  transition: border-color .15s;
  text-decoration: none; color: inherit;
}
.europe-item:hover { border-color: var(--accent); }
.europe-item .c { color: var(--ink); font-weight: 500; }
.europe-item .n { font-family: var(--mono); font-size: 12px; color: var(--accent); font-weight: 600; }

/* B2B */
.b2b { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.b2b-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 22px; padding: 44px 40px 40px;
}
.b2b-card.dark { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.b2b-tag { font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.b2b-card.dark .b2b-tag { color: oklch(0.74 0.13 250); }
.b2b-card h3 { font-size: 30px; letter-spacing: -0.025em; line-height: 1.1; margin: 14px 0 14px; font-weight: 600; }
.b2b-card p { font-size: 15.5px; line-height: 1.55; margin: 0 0 24px; color: var(--ink-dim); }
.b2b-card.dark p { color: rgba(255,255,255,0.7); }
.b2b-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  transition: background .15s;
}
.b2b-link:hover { background: var(--accent); }
.b2b-card.dark .b2b-link { background: var(--bg); color: var(--ink); }
.b2b-card.dark .b2b-link:hover { background: oklch(0.74 0.13 250); }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 0;
  transition: border-color .15s;
}
.faq-item[open] { border-color: var(--line-2); }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 17px; font-weight: 500; letter-spacing: -0.01em; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--surface-2); color: var(--ink-2);
  display: grid; place-items: center;
  font-size: 16px; flex: 0 0 24px;
  transition: transform .2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item-body {
  padding: 0 24px 22px;
  color: var(--ink-dim); font-size: 15px; line-height: 1.6;
  max-width: 70ch;
}

/* Responsible gambling */
.rg {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: 22px; padding: 48px 56px;
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start;
}
.rg-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line);
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: var(--ink);
}
.rg-age {
  background: var(--ink); color: var(--bg);
  font-family: var(--mono);
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 10.5px; font-weight: 700;
}
.rg h3 { font-size: 28px; letter-spacing: -0.025em; line-height: 1.15; margin: 14px 0 0; font-weight: 600; }
.rg-text { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.rg-text p + p { margin-top: 12px; }
.rg-resources { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rg-res {
  background: var(--surface); border: 1px solid var(--line);
  padding: 14px 16px; border-radius: 12px;
  text-decoration: none; display: flex; flex-direction: column; gap: 4px;
  transition: border-color .15s;
}
.rg-res:hover { border-color: var(--accent); }
.rg-res .n { font-size: 14px; font-weight: 600; color: var(--ink); }
.rg-res .u { font-family: var(--mono); font-size: 11px; color: var(--ink-faint); }

/* Contact */
.contact {
  text-align: center; padding: 120px 0;
  background: radial-gradient(circle at 50% 20%, var(--accent-soft), transparent 60%), var(--bg);
  border-top: 1px solid var(--line);
}
.contact h2 {
  font-size: clamp(40px, 5vw, 72px);
  letter-spacing: -0.035em; line-height: 1.02;
  font-weight: 600; margin: 0; text-wrap: balance;
}
.contact h2 .accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-ink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.contact p { color: var(--ink-dim); font-size: 18px; margin: 22px auto 36px; max-width: 540px; }
.contact .cta {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: var(--bg);
  padding: 16px 28px; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: 15px;
  transition: background .15s;
}
.contact .cta:hover { background: var(--accent); }

/* Footer */
.foot {
  background: var(--surface); border-top: 1px solid var(--line);
  padding: 56px 0 32px; font-size: 13px; color: var(--ink-dim);
}
.foot-row { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: start; }
.foot-legal { font-size: 12.5px; line-height: 1.65; max-width: 540px; }
.foot-links { display: flex; gap: 24px; font-weight: 500; }
.foot-links a { text-decoration: none; color: var(--ink-2); }
.foot-links a:hover { color: var(--accent); }
.foot-copy {
  margin-top: 36px; padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; color: var(--ink-faint);
  letter-spacing: 0.04em;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 980px) {
  .wrap, .wrap-narrow { padding: 0 24px; }
  .nav-links { display: none; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .steps { grid-template-columns: 1fr; }
  .examples { grid-template-columns: 1fr; }
  .licenses { grid-template-columns: repeat(3, 1fr); }
  .europe { grid-template-columns: 1fr; padding: 36px 28px; gap: 32px; }
  .b2b { grid-template-columns: 1fr; }
  .rg { grid-template-columns: 1fr; padding: 32px 28px; gap: 24px; }
  .rg-resources { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .hero { padding: 24px 0 56px; }
  .h1 { font-size: clamp(30px, 7vw, 44px); }
  .sub { font-size: 16px; margin-top: 12px; }
  .eyebrow { margin-bottom: 14px; font-size: 11.5px; padding: 5px 11px; }
  .chat { margin-top: 22px; }
  .chips { gap: 6px; }
  .chip { font-size: 12px; padding: 6px 11px; }
}
@media (max-width: 600px) {
  .chat-bar { flex-direction: column; align-items: stretch; padding: 12px; gap: 10px; }
  .chat-bar input { padding: 8px 8px; }
  .chat-btn { width: 100%; justify-content: center; padding: 14px; }
  .licenses { grid-template-columns: repeat(2, 1fr); }
  .stat-num { font-size: 36px; }
}
