:root {
  --bg: #05070c;
  --bg-2: #0b0f18;
  --surface: #121722;
  --ink: #f4f6fb;
  --muted: rgba(244, 246, 251, .68);
  --faint: rgba(244, 246, 251, .42);
  --line: rgba(244, 246, 251, .12);
  --accent: #7dd3c0;
  --accent-2: #c9a24a;
  --sans: Inter, system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --max: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
  --edge: clamp(16px, 2.2vw, 28px);
}

* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; background: var(--bg); scroll-padding-top: calc(72px + env(safe-area-inset-top, 0px)); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
html.nav-open,
body.nav-open {
  overflow: hidden;
  overscroll-behavior: none;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, p, h1, h2, h3 { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: #04110e; }

.skip {
  position: fixed; z-index: 100; top: 12px; left: 12px;
  padding: 10px 14px; background: #fff; color: #000;
  transform: translateY(-160%);
}
.skip:focus { transform: none; }

.wrap {
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}
.wrap.narrow { width: min(760px, calc(100% - 2 * var(--gutter))); }

.eyebrow {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1, h2 {
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.05;
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 7vw, 80px); }
h2 { font-size: clamp(30px, 4.4vw, 52px); }
h3 { font-size: 14px; font-weight: 600; color: var(--faint); letter-spacing: .08em; text-transform: uppercase; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 20px;
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  transition: transform .25s var(--ease), background .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--ink); color: #0a0d14; }
.btn.primary:hover { background: #fff; }
.btn.ghost {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--ink);
}
.btn.ghost:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.06); }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(5, 7, 12, .42);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(5, 7, 12, .88); }
.nav-inner {
  width: 100%;
  margin: 0;
  padding: env(safe-area-inset-top, 0px) max(var(--edge), env(safe-area-inset-right, 0px)) 0 max(var(--edge), env(safe-area-inset-left, 0px));
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-left {
  display: flex;
  align-items: center;
  gap: clamp(36px, 4.2vw, 56px);
  min-width: 0;
}
.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img { width: 110px; height: auto; }
.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  flex-wrap: nowrap;
}
.nav-links a,
.nav-trigger {
  padding: 8px 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}
.nav-links a:hover,
.nav-trigger:hover,
.nav-trigger[aria-expanded="true"] { color: var(--ink); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: auto;
}
.nav-login {
  min-height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.nav-login:hover { background: rgba(255,255,255,.08); }
.nav-burger {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: var(--ink);
  font-size: 0;
  cursor: pointer;
  position: relative;
}
.nav-burger::before,
.nav-burger::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px;
  height: 1.5px;
  background: currentColor;
  transition: transform .2s var(--ease), top .2s var(--ease), bottom .2s var(--ease), box-shadow .2s var(--ease);
}
.nav-burger::before { top: 15px; box-shadow: 0 5px currentColor; }
.nav-burger::after { bottom: 15px; }
.nav-burger[aria-expanded="true"]::before {
  top: 19px;
  box-shadow: none;
  transform: rotate(45deg);
}
.nav-burger[aria-expanded="true"]::after {
  bottom: 19px;
  transform: rotate(-45deg);
}
.mega[hidden],
.mega-panel[hidden],
.lang-menu[hidden] { display: none !important; }
.mega {
  position: relative;
  border-top: 1px solid var(--line);
  background: rgba(5, 7, 12, .96);
  backdrop-filter: blur(16px);
}
.mega::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 10px;
}
.mega-panel {
  width: min(1120px, calc(100% - 2 * var(--gutter)));
  margin: 0 auto;
  padding: 22px 0 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.mega-panel a {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,.03);
}
.mega-panel a:hover { background: rgba(255,255,255,.07); }
.mega-panel strong { font-size: 15px; font-weight: 600; }
.mega-panel span { color: var(--faint); font-size: 13px; }
.mega-mobile { grid-template-columns: 1fr; }
.mega-mobile a { font-weight: 600; }

/* Hero — stays inside its own viewport */
.hero {
  --hero-plate: 0px;
  --hero-still: 100%;
  position: relative;
  height: 100svh;
  max-height: 100svh;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000;
  cursor: grab;
}
.hero-media:active { cursor: grabbing; }
.hero-astra,
.hero-shader {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
}
.hero-astra { z-index: 0; }
.hero-shader {
  z-index: 1;
  pointer-events: none;
}
.hero-photo {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: fill;
  transition: opacity .4s var(--ease);
}
.hero[data-shader-ready] .hero-photo { opacity: 0; pointer-events: none; }
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(5,7,12,.72) 0%, rgba(5,7,12,.18) 28%, transparent 52%);
  pointer-events: none;
}
.hero-copy {
  position: relative; z-index: 3;
  width: min(640px, calc(100% - 2 * var(--gutter)));
  margin: 0 0 clamp(28px, 5vh, 48px) var(--gutter);
  padding-top: 72px;
  text-align: left;
  pointer-events: none;
}
.hero-copy a { pointer-events: auto; }
.hero-text .eyebrow { margin-bottom: 10px; }
.hero h1 {
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.15;
  max-width: 22ch;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 18px;
}
.how {
  padding: clamp(56px, 8vh, 88px) 0;
  background: var(--bg-2);
}
.how h2 {
  margin: 10px 0 28px;
  max-width: 28ch;
  font-size: clamp(26px, 3.6vw, 40px);
}
.how-scheme {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
  gap: 28px 36px;
  align-items: center;
}
.how-card { min-width: 0; }
.how-out {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.how-or {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: fit-content;
  margin: 0;
  min-width: 44px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
}
.how-scene {
  min-height: 132px;
  height: auto;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #0a0e16;
  overflow: hidden;
}
.how-scene.is-done { border-color: rgba(125, 211, 192, .28); }
.how-chrome {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  padding: 0 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  color: var(--faint);
  font-size: 11px;
}
.how-chrome i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
}
.how-chrome i:nth-child(1) { background: #ff5f57; }
.how-chrome i:nth-child(2) { background: #febc2e; }
.how-chrome i:nth-child(3) { background: #28c840; }
.how-chrome b { margin-left: 6px; min-width: 0; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.how-bubble {
  margin: 12px 10px 0;
  max-width: 88%;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 12.5px;
  line-height: 1.35;
}
.how-bubble.guest {
  margin-left: auto;
  background: rgba(125, 211, 192, .16);
  color: var(--ink);
}
.how-bubble.reply {
  background: rgba(255,255,255,.06);
  color: var(--muted);
}
.how-scene em {
  display: inline-block;
  margin: 8px 10px 0;
  max-width: calc(100% - 20px);
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(125, 211, 192, .12);
  color: var(--accent);
  font-size: 11px;
  font-style: normal;
}
.how-ticket,
.how-staff {
  margin: 16px 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background: rgba(255,255,255,.03);
}
.how-ticket { justify-content: space-between; flex-wrap: wrap; }
.how-ticket b,
.how-staff b {
  display: block;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}
.how-ticket span {
  flex-shrink: 0;
  color: var(--accent);
  font-size: 11px;
}
.how-staff span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(125, 211, 192, .16);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}
.how-staff small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}
.how-card > strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 600;
}
.how-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
/* Sections */
.band {
  padding: clamp(72px, 12vh, 128px) 0;
  border-top: 1px solid var(--line);
}
.band.intro {
  text-align: center;
  background: linear-gradient(180deg, var(--bg), var(--bg-2));
}
.band.intro h2 { margin-bottom: 18px; }
.band.intro p { color: var(--muted); font-size: 18px; line-height: 1.6; }
.band.intro a { color: var(--accent); font-weight: 600; }
.band.intro a:hover { text-decoration: underline; text-underline-offset: 3px; }

.feature {
  padding: clamp(64px, 10vh, 112px) 0;
  border-top: 1px solid var(--line);
}
.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.feature-copy {
  padding-top: 4px;
}
.feature-copy p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.6;
  max-width: 40ch;
}
.ticks {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid; gap: 10px;
}
.ticks li {
  padding-left: 18px;
  position: relative;
  color: var(--ink);
  font-size: 14.5px; font-weight: 500;
}
.ticks li::before {
  content: "";
  position: absolute; left: 0; top: .55em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(125, 211, 192, .45);
}
.feature-media {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 40px 80px rgba(0,0,0,.35);
}
.feature-media img { width: 100%; height: auto; object-fit: cover; }
.feature-media.glow {
  box-shadow: 0 0 0 1px rgba(125,211,192,.12), 0 40px 100px rgba(0,0,0,.45);
}

/* Computer-use style mouse demos */
.demo-frame {
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 10;
  background: #0a0e16;
}
.demo-stage {
  position: relative;
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  color: #e8eef8;
  font-size: 13px;
  cursor: none;
  outline: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(125,211,192,.08), transparent 45%),
    #0a0e16;
}
.demo-stage:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); }
.demo-chrome {
  display: flex; align-items: center; gap: 6px;
  min-height: 36px; padding: 0 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  font-size: 11px; color: rgba(255,255,255,.55);
}
.demo-chrome span {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.18);
}
.demo-chrome span:nth-child(1) { background: #ff5f57; }
.demo-chrome span:nth-child(2) { background: #febc2e; }
.demo-chrome span:nth-child(3) { background: #28c840; }
.demo-chrome b { margin-left: 8px; font-weight: 500; }
.demo-body {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 14px;
  min-height: 0;
}
.demo-body.shift { grid-template-columns: 1.2fr .8fr; }
.demo-body.knowledge { grid-template-columns: 1fr; align-content: start; gap: 10px; }
.demo-body.dialog {
  grid-template-columns: 1.05fr .95fr;
  align-items: stretch;
}
.demo-chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  background: rgba(255,255,255,.02);
}
.demo-chat .bubble {
  margin: 0;
  max-width: 94%;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255,255,255,.86);
}
.demo-chat .guest { background: rgba(255,255,255,.08); }
.demo-chat .bot {
  align-self: flex-end;
  background: rgba(125,211,192,.16);
}
.demo-task-card {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px;
  border-radius: 12px;
  background: #efe6d4;
  color: #1c1914;
}
.demo-task-card span {
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(28,25,20,.55);
}
.demo-task-card strong { font-size: 15px; line-height: 1.3; }
.demo-task-card em {
  font-style: normal;
  font-size: 12px;
  color: #9a5b12;
}
.demo-side {
  display: grid; gap: 6px; align-content: start;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  background: rgba(255,255,255,.02);
}
.demo-side p {
  margin: 0 0 4px;
  font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
}
.demo-side button,
.demo-board button,
.demo-hits button {
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.78);
  font: inherit;
  cursor: none;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.demo-side button.urgent { border-color: rgba(201,162,74,.45); color: #f0d9a0; }
.demo-side button.is-hot,
.demo-board button.is-hot,
.demo-hits button.is-hot,
.demo-card.is-hot,
.demo-task.is-hot,
.demo-inspect.is-hot,
.demo-answer.is-hot,
.demo-search.is-hot,
.demo-chat .bubble.is-hot,
.demo-task-card.is-hot {
  border-color: rgba(125,211,192,.55);
  background: rgba(125,211,192,.12);
  color: #dffaf3;
  transform: translateY(-1px);
}
.demo-main { display: grid; gap: 10px; align-content: start; }
.demo-card, .demo-task, .demo-inspect, .demo-answer {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  transition: border-color .2s, background .2s, transform .2s;
}
.demo-card header { font-size: 11px; color: rgba(255,255,255,.45); margin-bottom: 6px; }
.demo-card p { margin: 0; font-size: 14px; font-weight: 500; }
.demo-card footer { margin-top: 10px; }
.demo-card em { font-style: normal; font-size: 11px; color: var(--accent); }
.demo-task[hidden] { display: none !important; }
.demo-task span { display: block; font-size: 11px; color: rgba(255,255,255,.45); }
.demo-task strong { display: block; margin-top: 4px; }
.demo-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.demo-board .col {
  padding: 8px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  display: grid; gap: 6px; align-content: start;
}
.demo-board h3 {
  margin: 0 0 2px;
  font-size: 10px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
}
.demo-board button.active { border-color: rgba(125,211,192,.35); }
.demo-inspect ul { margin: 8px 0 0; padding-left: 16px; color: rgba(255,255,255,.7); }
.demo-inspect p { margin: 0; font-size: 11px; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .06em; }
.demo-search {
  display: grid; gap: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.03);
}
.demo-search span { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.demo-search input {
  width: 100%; border: 0; background: transparent;
  color: #fff; font: inherit; font-size: 15px; font-weight: 500;
  outline: none; cursor: none;
}
.demo-hits { display: grid; gap: 6px; }
.demo-hits .match { border-color: rgba(125,211,192,.4); }
.demo-answer { font-size: 13.5px; line-height: 1.45; color: rgba(255,255,255,.88); }
.demo-cursor {
  position: absolute;
  top: 0; left: 0;
  width: 18px; height: 18px;
  margin: -2px 0 0 -2px;
  border-radius: 50% 50% 50% 0;
  transform: translate3d(-40px, -40px, 0) rotate(-15deg);
  background: #fff;
  box-shadow: 0 0 0 2px rgba(5,7,12,.85), 0 8px 20px rgba(0,0,0,.45);
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transition: opacity .2s;
}
.demo-stage.is-active .demo-cursor { opacity: 1; }
.demo-hint {
  position: absolute;
  right: 12px; bottom: 10px;
  margin: 0;
  font-size: 11px;
  color: rgba(255,255,255,.35);
  pointer-events: none;
}
.demo-stage.is-active .demo-hint { opacity: 0; }

@media (max-width: 900px) {
  .demo-frame { aspect-ratio: auto; min-height: 0; }
  .demo-body { grid-template-columns: 1fr; }
  .demo-body.shift { grid-template-columns: 1fr; }
  .demo-board { grid-template-columns: 1fr; }
  .demo-stage { cursor: auto; }
  .demo-cursor { display: none; }
}
.feature.invert .feature-grid { direction: ltr; }

.band-lead {
  margin: 16px 0 28px;
  max-width: 52ch;
  color: var(--muted);
  font-size: 17px;
}
.logo-row {
  list-style: none; padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px 28px;
  align-items: center;
  margin-bottom: 22px;
}
.logo-row li {
  display: grid;
  place-items: center;
  min-height: 72px;
  padding: 0;
  background: none;
  overflow: visible;
}
.logo-row img {
  width: auto;
  max-width: 100%;
  height: 56px;
  object-fit: contain;
  background: none;
  opacity: .96;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.logo-row img.circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}
.logo-row img.tile {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
}
.logo-row img.stack {
  height: 64px;
  width: auto;
  max-width: 112px;
}
.logo-row img.ink { filter: brightness(0) invert(1); }
.logo-word {
  display: grid;
  place-items: center;
  min-height: 56px;
  padding: 0 4px;
  color: var(--ink);
  font-size: clamp(14px, 1.1vw, 17px);
  font-weight: 700;
  letter-spacing: -.03em;
  text-align: center;
  line-height: 1.15;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.logo-row.is-out img,
.logo-row.is-out .logo-word {
  opacity: 0;
  transform: translateY(8px);
}
.country-grid {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.country-grid li {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.03);
}
.country-code {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
}
.country-grid h3 {
  color: var(--ink);
  font-size: 20px;
  letter-spacing: -.03em;
  text-transform: none;
}
.country-grid p {
  margin: 8px 0 14px;
  color: var(--muted);
  font-size: 14px;
}
.country-grid a { color: var(--accent); font-size: 13px; font-weight: 600; }
.country-grid a:hover { text-decoration: underline; text-underline-offset: 3px; }

.text-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
}
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.bench-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.bench-grid article {
  background: var(--bg-2);
  padding: 28px 22px;
}
.bench-grid p {
  margin: 14px 0 8px;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: -.03em;
}
.bench-grid span { color: var(--muted); font-size: 14px; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 36px;
  background: #03050a;
}
.site-footer .wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: var(--edge);
}
.footer-shell { display: grid; gap: 36px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 0;
}
.footer-grid p { margin-top: 12px; color: var(--muted); font-size: 14px; max-width: 32ch; }
.footer-grid strong {
  display: block; margin-bottom: 12px;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(244, 246, 251, .78);
}
.footer-grid a {
  display: block; margin: 8px 0;
  color: var(--muted); font-size: 14px;
}
.footer-grid a:hover { color: var(--ink); }
.legal-page {
  padding: 120px 0 80px;
  min-height: 72svh;
}
.legal-page h1 { margin-bottom: 28px; }
.legal-list {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 32px;
}
.legal-list dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
}
.legal-list dd {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
}
.legal-list .legal-wide { grid-column: 1 / -1; }
.footer-bar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.footer-copy {
  grid-column: 2;
  margin: 0;
  text-align: center;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}
.lang-wrap { grid-column: 3; justify-self: end; position: relative; }
.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.lang-pill svg { width: 15px; height: 15px; }
.lang-region { color: rgba(255,255,255,.55); font-weight: 500; }
.lang-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  min-width: 160px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0b0f18;
}
.lang-menu button {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}
.lang-menu button:hover,
.lang-menu button[aria-pressed="true"] { background: rgba(255,255,255,.08); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  :root {
    --gutter: 28px;
    --edge: 18px;
  }
  .nav-left { gap: 0; }
  .nav-links { display: none; }
  .nav-burger { display: inline-block; }
  html.nav-open .nav,
  body.nav-open .nav {
    background: rgba(5, 7, 12, .96);
  }
  .nav .mega {
    min-height: calc(100svh - 64px - env(safe-area-inset-top, 0px));
    max-height: calc(100svh - 64px - env(safe-area-inset-top, 0px));
    overflow: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: rgba(5, 7, 12, .98);
  }
  .mega-panel {
    width: min(1120px, calc(100% - 2 * var(--gutter)));
    padding: 16px 0 calc(20px + env(safe-area-inset-bottom, 0px));
  }
  .mega-mobile a {
    min-height: 48px;
    align-content: center;
  }
  .hero {
    --hero-plate: max(22svh, 220px);
    --hero-still: 46%;
    height: auto;
    max-height: none;
    min-height: 100svh;
  }
  .hero-photo {
    position: absolute;
    top: auto;
    left: auto;
    right: 0;
    bottom: var(--hero-plate);
    width: auto;
    height: var(--hero-still);
    object-fit: contain;
    object-position: right bottom;
  }
  .hero-veil {
    top: auto;
    height: calc(var(--hero-plate) + 40px);
    background: linear-gradient(to top, #05070c 0, #05070c calc(100% - 40px), transparent);
  }
  .hero-copy {
    grid-template-columns: 1fr;
    width: min(640px, calc(100% - 2 * var(--gutter)));
    margin: 0 0 max(16px, env(safe-area-inset-bottom, 0px)) var(--gutter);
    padding-top: calc(72px + env(safe-area-inset-top, 0px));
  }
  .hero h1 {
    font-size: clamp(22px, 5.8vw, 26px);
    max-width: 18ch;
  }
  .hero-actions {
    align-items: flex-start;
  }
  .band,
  .feature {
    padding: 56px 0;
  }
  .how {
    padding: 56px 0;
  }
  h2 {
    font-size: clamp(26px, 7vw, 34px);
  }
  .how-scheme { grid-template-columns: 1fr; }
  .how-or { margin: 0 auto; }
  .mega-panel { grid-template-columns: 1fr 1fr; }
  .mega-mobile { grid-template-columns: 1fr; }
  .country-grid { grid-template-columns: 1fr 1fr; }
  .footer-bar-inner { grid-template-columns: 1fr; justify-items: center; }
  .footer-copy,
  .lang-wrap { grid-column: auto; }
  .lang-wrap { justify-self: center; }
  .feature-grid,
  .feature.invert .feature-grid {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .demo-frame {
    aspect-ratio: auto;
    height: auto;
    min-height: 0;
  }
  .demo-stage {
    height: auto;
    overflow: visible;
    cursor: auto;
  }
  .demo-hint { display: none; }
  .demo-body,
  .demo-body.dialog,
  .demo-body.shift { grid-template-columns: 1fr; }
  .demo-board { grid-template-columns: 1fr; }
  .logo-row { grid-template-columns: repeat(3, 1fr); gap: 12px 16px; }
  .logo-row img { height: 44px; }
  .logo-row img.circle { width: 48px; height: 48px; }
  .bench-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid, .legal-list { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .bench-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: auto; min-width: 0; padding-inline: 22px; }
  .logo img { width: 88px; }
  .nav-inner {
    gap: 12px;
    padding: env(safe-area-inset-top, 0px) max(12px, env(safe-area-inset-right, 0px)) 0 max(12px, env(safe-area-inset-left, 0px));
  }
  .site-footer .wrap { padding-inline: max(12px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)); }
  .nav-login { padding: 0 10px; }
  .mega-panel,
  .country-grid { grid-template-columns: 1fr; }
}

@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    --hero-plate: 0px;
    --hero-still: 100%;
  }
  .hero h1 { font-size: clamp(20px, 4.2vw, 24px); }
  .hero-copy { margin-bottom: 16px; padding-top: calc(56px + env(safe-area-inset-top, 0px)); }
  .hero-actions { flex-wrap: wrap; }
  .hero-photo {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 48% 40%;
  }
  .hero-veil {
    inset: 0;
    height: auto;
    background: linear-gradient(to top, rgba(5,7,12,.72) 0%, rgba(5,7,12,.18) 28%, transparent 52%);
  }
}

@media (pointer: coarse), (hover: none) {
  .demo-hint { display: none; }
  .demo-stage { cursor: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
