/* ============================================================================
   MILLED — the design system, ported to the web verbatim from the app.
   "Cold panel, hot lamp." Zero border-radius. 45° chamfer cuts. Machined bezel.
   Light source locked top-left, forever. Every colour is unlit metal or a lit
   lamp — there is no decorative colour tier.
   ============================================================================ */

:root {
  /* ── FIELDS ── */
  --surface-base: #0A1F3E;          /* sports field */
  --surface-field-casino: #05122A;  /* casino field, darker */

  /* ── THE LADDER ── */
  --surface-void: #04101F;
  --surface-well: #081B39;
  --surface-raised: #0D2B4D;        /* THE PLATE */
  --surface-raised-max: #123A66;
  --surface-overlay: #0D2B4D;

  /* ── BORDERS & BEZEL (light locked top-left) ── */
  --border-hairline: #143454;
  --border-standard: #1B4370;
  --border-active: #4FB0FF;
  --bezel-light: #5E85B4;           /* top + left */
  --bezel-shadow: #04101F;          /* bottom + right */
  --chamfer-face: #7BA0D2;          /* freshly-cut 45° face */

  /* ── TEXT ── */
  --text-primary: #FFFFFF;
  --text-secondary: #9DB4D2;
  --text-tertiary: #8CA6C8;
  --text-disabled: #7690B4;

  /* ── LAMPS ── */
  --primary: #0691F6;               /* electric blue — FILL/LAMP only */
  --primary-text: #4FB0FF;          /* blue as text */
  --primary-pressed: #0A7FD6;
  --on-primary: #04101F;            /* near-black legend on blue */
  --accent-casino: #FFAA0A;         /* sodium-vapour amber */
  --accent-casino-pressed: #E08D00;
  --accent-casino-lit: #FFC24D;
  --on-casino: #04101F;
  --on-flood: #04101F;              /* universal flood ink */

  /* ── STATE ── */
  --success: #0AC268;               /* live is GREEN, never red */
  --status-live: #0AC268;
  --tilt: #FF3D2E;                  /* the only red, error only */
  --tilt-text: #FF6E62;
  --info: #3DDDFB;

  --lamp-sports: #0691F6;
  --lamp-casino: #FFAA0A;

  /* ── GEOMETRY ── */
  --chamfer-plate: 14px;
  --chamfer-cta: 16px;
  --chamfer-small: 6px;
  --bezel-w: 2px;
  --bezel-w-small: 1px;
  --screen-inset: clamp(14px, 4vw, 28px);
  --group-gap: 12px;
  --kerf: 2px;

  /* ── MOTION ── */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 150ms;
  --dur-normal: 300ms;

  --maxw: 1200px;
}

/* ── RESET ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'RobotoFlex', 'Roboto Flex', -apple-system, system-ui, sans-serif;
  background: var(--surface-field-casino);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-width: 250px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--border-active); outline-offset: 2px; }

/* ── FONTS ─────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'RobotoFlex';
  src: url('../fonts/RobotoFlex.ttf') format('truetype');
  font-weight: 100 900;
  font-stretch: 25% 151%;
  font-display: swap;
}
@font-face {
  font-family: 'IBMPlexMono';
  src: url('../fonts/IBMPlexMono-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'IBMPlexMono';
  src: url('../fonts/IBMPlexMono-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'IBMPlexMono';
  src: url('../fonts/IBMPlexMono-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

.mono { font-family: 'IBMPlexMono', monospace; font-feature-settings: 'tnum' 1, 'zero' 1; }

/* ── TYPE SCALE (app-faithful) ─────────────────────────────────────────── */
.t-hero {
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: 0.01em;
  line-height: 1.02;
  font-size: clamp(2.6rem, 1.2rem + 6vw, 6rem);
  text-transform: uppercase;
}
.t-screen-title {
  font-weight: 700;
  font-stretch: 125%;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
  font-size: clamp(1.6rem, 1rem + 2.6vw, 2.6rem);
}
.t-section-label {
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--text-secondary);
}
.t-body { font-weight: 400; color: var(--text-tertiary); line-height: 1.7; }
.t-body-strong { font-weight: 600; color: var(--text-primary); }

/* ============================================================================
   THE PLATE — the machined panel. TL + BR 45° chamfer, directional bezel.
   Implemented with clip-path for the cut corners and a layered background for
   the lit top-left / shadowed bottom-right bezel.
   ============================================================================ */
.plate {
  position: relative;
  background: var(--surface-raised);
  --c: var(--chamfer-plate);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  /* directional bezel: light top-left, void bottom-right */
  box-shadow:
    inset 2px 2px 0 0 var(--bezel-light),
    inset -2px -2px 0 0 var(--bezel-shadow);
  padding: clamp(16px, 3vw, 28px);
}
/* uniform bright rim — a lit lamp glows on every side */
.plate--uniform {
  box-shadow:
    inset 2px 2px 0 0 var(--bezel-light),
    inset -2px -2px 0 0 var(--bezel-light);
}
.plate--well { background: var(--surface-well); }
.plate--field { background: var(--surface-field-casino); }
.plate--small { --c: var(--chamfer-small); }

/* the freshly-cut face on the two chamfers — a bright diagonal sliver */
.plate::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: calc(var(--c) * 1.42);
  height: calc(var(--c) * 1.42);
  background: var(--chamfer-face);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  opacity: 0.5;
  pointer-events: none;
}

/* ============================================================================
   CTA — the one lit control. Blue (sports) or amber (casino), dark legend.
   ============================================================================ */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  --c: var(--chamfer-cta);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  padding: 16px 30px;
  font-weight: 700;
  font-stretch: 125%;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1.05rem;
  box-shadow: inset 2px 2px 0 0 rgba(255,255,255,0.28), inset -2px -2px 0 0 rgba(4,16,31,0.5);
  transition: transform var(--dur-fast) var(--ease-out-expo),
              background var(--dur-fast) var(--ease-out-expo),
              filter var(--dur-fast) var(--ease-out-expo);
  will-change: transform;
}
.cta:active { transform: translateY(2px); }
.cta--sports { background: var(--primary); color: var(--on-primary); }
.cta--sports:hover { background: #1AA0FF; filter: brightness(1.05); }
.cta--casino {
  background: var(--accent-casino);
  color: var(--on-casino);
  font-stretch: 151%;
}
.cta--casino:hover { background: var(--accent-casino-lit); }
.cta--ghost {
  background: var(--surface-well);
  color: var(--text-primary);
  box-shadow: inset 2px 2px 0 0 var(--bezel-light), inset -2px -2px 0 0 var(--bezel-shadow);
}
.cta--ghost:hover { background: var(--surface-raised); }
.cta--lg { padding: 20px 40px; font-size: 1.15rem; }
.cta[disabled] { cursor: default; opacity: 1; }

/* store button with icon */
.cta .fa-brands, .cta .fa-solid { font-size: 1.5em; }
.cta__stack { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.cta__stack small { font-size: 0.6em; font-weight: 600; letter-spacing: 0.08em; opacity: 0.85; }

/* ── lamp bar — the 3-4px kerf that lights a section label ── */
.lamp {
  display: inline-block;
  width: 4px;
  align-self: stretch;
  min-height: 1em;
  background: var(--lamp-sports);
  flex: 0 0 4px;
}
.lamp--casino { background: var(--lamp-casino); }
.label-row { display: flex; align-items: center; gap: 10px; }

/* ============================================================================
   LAYOUT
   ============================================================================ */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--screen-inset); }
.section { padding-block: clamp(56px, 9vw, 128px); }
.section--tight { padding-block: clamp(40px, 6vw, 80px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.eyebrow .lamp { min-height: 16px; }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 64px); }
.section-head p { margin-top: 14px; font-size: 1.05rem; color: var(--text-tertiary); }

/* ============================================================================
   HEADER / NAV
   ============================================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--surface-field-casino) 92%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-hairline);
}
.nav {
  display: flex; align-items: center; gap: 20px;
  height: 68px;
}
.nav__logo { display: flex; align-items: center; height: 40px; flex: 0 0 auto; }
.nav__logo img { height: 38px; width: auto; }
.nav__links {
  display: flex; align-items: center; gap: 4px;
  margin-left: auto;
}
.nav__links a {
  padding: 9px 14px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-tertiary);
  transition: color var(--dur-fast);
  position: relative;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--text-primary); }
.nav__links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 3px; background: var(--lamp-sports);
}
.nav__actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

/* language toggle — two mini chips */
.lang-toggle { display: inline-flex; --c: var(--chamfer-small); }
.lang-toggle button {
  padding: 7px 12px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
  background: var(--surface-well);
  color: var(--text-tertiary);
  box-shadow: inset 1px 1px 0 0 var(--bezel-light), inset -1px -1px 0 0 var(--bezel-shadow);
  transition: all var(--dur-fast);
}
.lang-toggle button:first-child { clip-path: polygon(var(--c) 0, 100% 0, 100% 100%, 0 100%, 0 var(--c)); }
.lang-toggle button:last-child { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%); margin-left: 2px; }
.lang-toggle button.is-active {
  background: var(--primary); color: var(--on-primary);
  box-shadow: inset 1px 1px 0 0 var(--bezel-light), inset -1px -1px 0 0 var(--bezel-light);
}

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  color: var(--text-primary); font-size: 1.2rem;
  background: var(--surface-well);
  --c: var(--chamfer-small);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  box-shadow: inset 1px 1px 0 0 var(--bezel-light), inset -1px -1px 0 0 var(--bezel-shadow);
}

@media (max-width: 900px) {
  .nav__links {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface-field-casino);
    border-bottom: 1px solid var(--border-hairline);
    padding: 8px var(--screen-inset) 16px;
    transform: translateY(-120%);
    transition: transform var(--dur-normal) var(--ease-out-expo);
    margin-left: 0;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { padding: 14px 6px; font-size: 0.9rem; }
  .nav__links a[aria-current="page"]::after { left: 6px; right: auto; width: 24px; bottom: 8px; }
  .nav__burger { display: inline-flex; }
}

/* ============================================================================
   HERO
   ============================================================================ */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 15% 8%, rgba(6,145,246,0.20), transparent 55%),
    var(--surface-base);
  overflow: hidden;
  padding-block: clamp(48px, 8vw, 96px) clamp(56px, 9vw, 120px);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: url('../img/bg-panel.png');
  background-size: cover; background-position: 50% 12%;
  opacity: 0.12; mix-blend-mode: screen;
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero__grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__title { margin-bottom: 22px; }
.hero__title .accent { color: var(--primary-text); }
.hero__sub { font-size: clamp(1rem, 0.9rem + 0.6vw, 1.3rem); color: var(--text-secondary); max-width: 46ch; margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__note { margin-top: 18px; font-size: 0.82rem; color: var(--text-disabled); letter-spacing: 0.04em; }

/* the phone frame in hero */
.phone {
  position: relative;
  width: min(320px, 78vw);
  margin-inline: auto;
  aspect-ratio: 1320 / 2868;
  background: var(--surface-void);
  --c: 20px;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  box-shadow:
    inset 3px 3px 0 0 var(--bezel-light),
    inset -3px -3px 0 0 var(--bezel-shadow),
    0 40px 80px -20px rgba(4,16,31,0.8);
  overflow: hidden;
}
.phone img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 820px) {
  .hero__grid { grid-template-columns: 1fr; text-align: left; }
  .hero__media { order: -1; }
}

/* ============================================================================
   FEATURE CARDS
   ============================================================================ */
.grid { display: grid; gap: clamp(14px, 2vw, 20px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.feature {
  padding: clamp(22px, 3vw, 34px);
  transition: transform var(--dur-normal) var(--ease-out-expo);
}
.feature:hover { transform: translateY(-4px); }
.feature__icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  background: var(--surface-well);
  color: var(--primary-text);
  --c: var(--chamfer-small);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  box-shadow: inset 1px 1px 0 0 var(--bezel-light), inset -1px -1px 0 0 var(--bezel-shadow);
  margin-bottom: 20px;
}
.feature--casino .feature__icon { color: var(--accent-casino); }
.feature h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: 0.02em; margin-bottom: 10px; }
.feature p { color: var(--text-tertiary); font-size: 0.95rem; line-height: 1.65; }

/* ============================================================================
   SCREENSHOT RAIL
   ============================================================================ */
.shots {
  display: flex; gap: 18px; overflow-x: auto;
  padding: 8px 2px 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.shots::-webkit-scrollbar { height: 6px; }
.shots::-webkit-scrollbar-thumb { background: var(--border-standard); }
.shot {
  flex: 0 0 auto;
  width: min(230px, 62vw);
  scroll-snap-align: center;
}
.shot__frame {
  aspect-ratio: 1320 / 2868;
  background: var(--surface-void);
  --c: 16px;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  box-shadow: inset 2px 2px 0 0 var(--bezel-light), inset -2px -2px 0 0 var(--bezel-shadow);
  overflow: hidden;
  transition: transform var(--dur-normal) var(--ease-out-expo);
}
.shot__frame img { width: 100%; height: 100%; object-fit: cover; }
.shot:hover .shot__frame { transform: translateY(-6px); }
.shot__cap { margin-top: 12px; text-align: center; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-tertiary); font-weight: 700; }

/* ── alternating split feature (image + copy) ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
.split + .split { margin-top: clamp(48px, 7vw, 96px); }
.split--rev .split__media { order: 2; }
.split__media { display: flex; justify-content: center; }
.split__media .phone { width: min(280px, 70vw); }
.split h3 { margin-bottom: 16px; }
.split p { color: var(--text-tertiary); font-size: 1.02rem; line-height: 1.75; margin-bottom: 14px; }
@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
  .split--rev .split__media { order: -1; }
  .split__media { order: -1; }
}

/* ── stat strip ── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 320px) { .stats { grid-template-columns: 1fr; } }
.stat { padding: 24px 18px; text-align: center; }
.stat__num { font-family: 'IBMPlexMono', monospace; font-weight: 700; font-size: clamp(1.8rem, 1rem + 3vw, 2.8rem); color: var(--text-primary); font-feature-settings: 'tnum' 1, 'zero' 1; }
.stat__num.sports { color: var(--primary-text); }
.stat__num.casino { color: var(--accent-casino); }
.stat__label { margin-top: 6px; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-tertiary); font-weight: 700; }

/* ── CTA band ── */
.band {
  position: relative;
  background:
    radial-gradient(90% 120% at 85% 20%, rgba(255,170,10,0.10), transparent 55%),
    radial-gradient(90% 120% at 10% 80%, rgba(6,145,246,0.14), transparent 55%),
    var(--surface-base);
  text-align: center;
  overflow: hidden;
}
.band .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* ============================================================================
   CONTENT PAGES (about, legal, faq)
   ============================================================================ */
.page-head {
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(6,145,246,0.16), transparent 55%),
    var(--surface-base);
  padding-block: clamp(48px, 8vw, 96px) clamp(32px, 5vw, 56px);
  border-bottom: 1px solid var(--border-hairline);
}
.page-head p { margin-top: 16px; color: var(--text-secondary); max-width: 60ch; font-size: 1.05rem; }

.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.3rem, 1rem + 1.4vw, 1.9rem); font-weight: 700; letter-spacing: 0.02em; margin: 40px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; font-weight: 700; margin: 26px 0 10px; color: var(--text-primary); }
.prose p, .prose li { color: var(--text-tertiary); font-size: 1rem; line-height: 1.8; margin-bottom: 14px; }
.prose ul { padding-left: 0; margin-bottom: 18px; }
.prose li { position: relative; padding-left: 22px; }
.prose li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 8px; height: 8px; background: var(--primary); }
.prose strong { color: var(--text-secondary); }
.prose a { color: var(--primary-text); text-decoration: underline; text-underline-offset: 3px; }
.prose__meta { font-size: 0.85rem; color: var(--text-disabled); letter-spacing: 0.04em; margin-bottom: 32px; }

/* ── FAQ accordion ── */
.faq { max-width: 820px; }
.faq__item { margin-bottom: 12px; }
.faq__q {
  width: 100%; text-align: left;
  display: flex; align-items: center; gap: 16px;
  padding: 20px 22px;
  font-size: 1.02rem; font-weight: 600; color: var(--text-primary);
}
.faq__q i { margin-left: auto; color: var(--primary-text); transition: transform var(--dur-normal) var(--ease-out-expo); flex: 0 0 auto; }
.faq__item.is-open .faq__q i { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height var(--dur-normal) var(--ease-out-expo); }
.faq__a-inner { padding: 0 22px 22px; color: var(--text-tertiary); line-height: 1.75; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-secondary); font-weight: 700; margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--surface-well);
  color: var(--text-primary);
  font-family: inherit; font-size: 1rem;
  padding: 13px 15px;
  border: none;
  --c: var(--chamfer-small);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  box-shadow: inset 1px 1px 0 0 var(--bezel-light), inset -1px -1px 0 0 var(--bezel-shadow);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-disabled); }
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 1px 1px 0 0 var(--border-active), inset -1px -1px 0 0 var(--border-active); }
.field textarea { resize: vertical; min-height: 140px; }
.field__err { display: none; color: var(--tilt-text); font-size: 0.82rem; margin-top: 6px; }
.field.has-err .field__err { display: block; }
.field.has-err input, .field.has-err textarea { box-shadow: inset 1px 1px 0 0 var(--tilt), inset -1px -1px 0 0 var(--tilt); }

.contact-info .info-row { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.contact-info .info-row i { color: var(--primary-text); font-size: 1.1rem; width: 24px; text-align: center; margin-top: 3px; }
.contact-info .info-row span { display: block; }
.contact-info .info-row small { display: block; color: var(--text-tertiary); font-size: 0.9rem; margin-top: 2px; }

.form-success {
  display: none;
  flex-direction: column; align-items: center; text-align: center;
  padding: 48px 24px;
}
.form-success.is-shown { display: flex; }
.form-success .tick {
  width: 64px; height: 64px; display: flex; align-items: center; justify-content: center;
  background: var(--success); color: var(--on-flood); font-size: 1.6rem;
  --c: var(--chamfer-small);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  margin-bottom: 18px;
}

/* ============================================================================
   FOOTER
   ============================================================================ */
.site-footer {
  background: var(--surface-void);
  border-top: 1px solid var(--border-hairline);
  padding-block: clamp(48px, 6vw, 72px) 32px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 40px; margin-bottom: 16px; }
.footer-brand p { color: var(--text-tertiary); font-size: 0.9rem; max-width: 34ch; line-height: 1.6; }
.footer-col h4 { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-secondary); font-weight: 700; margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text-tertiary); font-size: 0.92rem; padding: 6px 0; transition: color var(--dur-fast); }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--border-hairline);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.footer-bottom small { color: var(--text-disabled); font-size: 0.82rem; }
.footer-bottom .socials { display: flex; gap: 10px; }
.footer-bottom .socials a {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  background: var(--surface-well); color: var(--text-tertiary);
  --c: var(--chamfer-small);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  box-shadow: inset 1px 1px 0 0 var(--bezel-light), inset -1px -1px 0 0 var(--bezel-shadow);
  transition: color var(--dur-fast), background var(--dur-fast);
}
.footer-bottom .socials a:hover { color: var(--primary-text); background: var(--surface-raised); }

/* ── divider ── */
.divider { height: 1px; background: var(--border-hairline); margin-block: 12px; border: 0; }

/* ── AOS: keep motion tasteful; respect reduced-motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-aos] { opacity: 1 !important; transform: none !important; }
}

/* ── very small screens (down to 250px) ── */
@media (max-width: 340px) {
  .nav { gap: 10px; }
  .nav__logo img { height: 30px; }
  .cta { padding: 14px 20px; font-size: 0.95rem; }
  .hero__cta { gap: 10px; }
  .wrap { padding-inline: 14px; }
}
