/* Black Ninja — Amber Smoke theme */

@font-face {
  font-family: 'Fraunces';
  src: url('/assets/fonts/fraunces.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --c-bg: #0A0F0C;
  --c-bg-2: #0E1512;
  --c-panel: #121C17;
  --c-panel-2: #16231D;
  --c-line: rgba(143,163,184,.14);
  --c-line-2: rgba(249,115,22,.22);
  --c-jade: #F97316;
  --c-jade-2: #FB9A3E;
  --c-gold: #D4AF37;
  --c-smoke: #97A69D;
  --c-text: #EDE7DA;
  --c-mut: #A9B5AE;
  --c-grad: linear-gradient(135deg, #F97316 0%, #C2410C 100%);
  --c-grad-gold: linear-gradient(135deg, #E7C766 0%, #C49A2E 100%);
  --ease: cubic-bezier(.16,1,.3,1);
  --r: 18px;
  --r-sm: 12px;
  --shadow: 0 24px 60px rgba(0,0,0,.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.65;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.01em;
  color: #fff;
  overflow-wrap: break-word;
  word-break: break-word;
}

p { overflow-wrap: break-word; word-break: break-word; }

a {
  color: var(--c-jade-2);
  text-decoration: none;
  overflow-wrap: break-word;
  word-break: break-word;
}

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-inline: 28px;
}

.section { padding-block: 92px; position: relative; }
.section--tight { padding-block: 64px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.eb { display: inline-flex; align-items: center; gap: 9px; font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--c-jade-2); }
.eb svg { width: 16px; height: 16px; }

.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--c-mut); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 16px;
  padding: 15px 30px; border-radius: 999px; border: 0; cursor: pointer;
  white-space: normal; text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none; user-select: none;
}
.btn svg { width: 20px; height: 20px; }
.btn--primary { background: var(--c-grad); color: #1E1206; box-shadow: 0 14px 34px rgba(249,115,22,.32); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(249,115,22,.46); }
.btn--ghost { background: rgba(143,163,184,.06); color: var(--c-text); border: 1px solid var(--c-line-2); }
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--c-jade); color: #fff; }
.btn--gold { background: var(--c-grad-gold); color: #1a1405; box-shadow: 0 14px 34px rgba(212,175,55,.26); }
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(212,175,55,.4); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background: rgba(10,15,12,.74);
  border-bottom: 1px solid var(--c-line);
  overflow: visible;
}
.site-header__row {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-block: 15px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: 'Fraunces', serif;
  font-weight: 700; font-size: 21px; color: #fff; letter-spacing: -.01em; }
.brand__mark { width: 40px; height: 40px; color: var(--c-jade); flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(249,115,22,.4)); }
.brand__mark svg { width: 100%; height: 100%; }
.brand b { color: var(--c-jade-2); font-weight: 700; }

.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
  position: relative; color: var(--c-mut); font-weight: 600; font-size: 15px;
  padding: 9px 16px; border-radius: 10px;
  transition: color .3s var(--ease), background .3s var(--ease);
}
.nav a::before {
  content: ''; position: absolute; left: 6px; top: 50%; height: 0; width: 3px;
  transform: translateY(-50%); border-radius: 3px; background: var(--c-grad);
  transition: height .32s var(--ease); opacity: 0;
}
.nav a:hover { color: #fff; background: rgba(249,115,22,.07); }
.nav a:hover::before, .nav a.is-active::before { height: 18px; opacity: 1; }
.nav a.is-active { color: #fff; }

.nav .btn { margin-left: 10px; padding: 11px 22px; font-size: 15px;
  background: rgba(143,163,184,.06); color: var(--c-text); border: 1px solid var(--c-line-2);
  box-shadow: none; }
.nav .btn:hover { color: #fff; border-color: var(--c-jade); background: rgba(249,115,22,.1);
  transform: translateY(-2px); box-shadow: none; }

.burger {
  display: none; width: 46px; height: 46px; position: relative; z-index: 110; flex-shrink: 0;
  border-radius: 12px; background: rgba(249,115,22,.08); border: 1px solid var(--c-line-2);
  cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; user-select: none;
}
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--c-jade-2);
  border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease), top .3s var(--ease); }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden; isolation: isolate;
}
.hero__media {
  position: absolute; inset: 0; z-index: -2;
  background: #0A0F0C url('/assets/img/hero/poster.avif?v=2') center/cover no-repeat;
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(90% 70% at 50% 50%, rgba(10,15,12,.35) 0%, rgba(10,15,12,.78) 100%),
    linear-gradient(180deg, rgba(10,15,12,.55) 0%, rgba(10,15,12,.4) 45%, rgba(10,15,12,.85) 100%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 55% at 50% 60%, rgba(249,115,22,.22) 0%, transparent 60%);
}
.hero__inner { position: relative; z-index: 2; padding-block: 96px; max-width: 860px; margin: 0 auto; }
.hero h1 {
  font-size: clamp(40px, 7vw, 80px); font-weight: 600; line-height: 1.02;
  margin-bottom: 22px;
}
.hero h1 em { font-style: italic; color: var(--c-jade-2); }
.hero__sub { font-size: clamp(17px, 2.3vw, 21px); color: var(--c-text); max-width: 660px; margin: 0 auto 34px; opacity: .92; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: center; }
.hero__note { font-size: 13px; color: var(--c-smoke); display: inline-flex; align-items: center; gap: 7px; }
.hero__note svg { width: 16px; height: 16px; color: var(--c-jade); }
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }

/* hero entrance — transform only (opacity stays 1 so LCP text paints immediately) */
.hero-in { transform: translateY(22px); animation: heroIn .7s var(--ease) forwards; }
.hero-in.d1 { animation-delay: .04s; }
.hero-in.d2 { animation-delay: .14s; }
.hero-in.d3 { animation-delay: .24s; }
@keyframes heroIn { to { transform: translateY(0); } }

/* ---------- Section heads ---------- */
.shead { margin-bottom: 52px; max-width: 720px; }
.shead h2 { font-size: clamp(30px, 4.4vw, 46px); margin: 14px 0 16px; }
.shead p { font-size: clamp(16px, 2vw, 19px); color: var(--c-mut); }
.shead--center { margin-inline: auto; text-align: center; }

/* ---------- Why / features (split: sticky intro + feature rows) ---------- */
.why { background: var(--c-bg-2); }
.why__layout { display: grid; grid-template-columns: minmax(260px, .9fr) 1.4fr; gap: 60px; align-items: start; }
.why__intro { position: sticky; top: calc(var(--header-offset, 72px) + 26px); }
.why__intro h2 { font-size: clamp(30px, 4.2vw, 46px); margin-bottom: 18px; }
.why__intro p { color: var(--c-mut); font-size: 17px; margin-bottom: 26px; }
.why__badge { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border-radius: 999px;
  background: rgba(249,115,22,.1); border: 1px solid var(--c-line-2); color: var(--c-jade-2);
  font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.why__badge svg { width: 17px; height: 17px; }

.feat-list { display: flex; flex-direction: column; }
.feat-row {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: flex-start;
  padding: 26px 26px 26px 26px; border-top: 1px solid var(--c-line);
}
.feat-row:first-child { border-top: 0; }
.feat-row::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: -1;
  border-radius: var(--r); background: var(--c-panel);
  opacity: 0; transform: scale(.98);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.feat-row:hover::before { opacity: 1; transform: scale(1); }
.feat-row__ic {
  width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; flex-shrink: 0;
  background: rgba(249,115,22,.1); border: 1px solid var(--c-line-2); color: var(--c-jade-2);
  transition: background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease);
}
.feat-row:hover .feat-row__ic { background: var(--c-grad); color: #1E1206; border-color: transparent; transform: scale(1.06); }
.feat-row__ic svg { width: 28px; height: 28px; }
.feat-row__head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.feat-row__head h3 { font-size: 21px; transition: color .45s var(--ease); }
.feat-row:hover .feat-row__head h3 { color: #fff; }
.feat-row__n { font-family: 'Fraunces', serif; font-size: 15px; font-weight: 600; color: var(--c-jade-2); opacity: .8; }
.feat-row p { color: var(--c-mut); font-size: 15.5px; }

/* ---------- Demo game ---------- */
.demo { background: var(--c-bg); }
.demo__frame {
  position: relative; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--c-line-2); background: #050806; box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
}
.demo__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.demo__ph {
  position: absolute; inset: 0; display: grid; place-items: center; cursor: pointer;
  background: linear-gradient(160deg, #0E1512, #08110D);
}
.demo__ph .play { display: grid; place-items: center; gap: 16px; text-align: center; color: var(--c-text); }
.demo__ph .play span { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: var(--c-grad); color: #1E1206; box-shadow: 0 16px 40px rgba(249,115,22,.4);
  transition: transform .4s var(--ease); }
.demo__ph:hover .play span { transform: scale(1.08); }
.demo__ph .play svg { width: 34px; height: 34px; margin-left: 4px; }
.demo__desc { margin-top: 30px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: start; }
.demo__desc h3 { font-size: 24px; margin-bottom: 12px; }
.demo__desc p { color: var(--c-mut); }
.demo__facts { list-style: none; display: grid; gap: 12px; }
.demo__facts li { position: relative; padding-left: 28px; color: var(--c-text); font-size: 15px; }
.demo__facts li::before { content: ''; position: absolute; left: 0; top: 8px; width: 14px; height: 14px;
  border-radius: 4px; background: var(--c-grad); transform: rotate(45deg); }

/* ---------- Reviews ---------- */
.reviews { background: var(--c-bg-2); }
.rev-wrap { position: relative; }
.rev-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding-bottom: 14px; -ms-overflow-style: none; scrollbar-width: none; }
.rev-track::-webkit-scrollbar { display: none; }
.rev {
  scroll-snap-align: start; flex: 0 0 calc((100% - 48px) / 3); min-width: 280px;
  background: var(--c-panel); border: 1px solid var(--c-line); border-radius: var(--r);
  padding: 28px; display: flex; flex-direction: column; gap: 16px;
}
.rev__stars { display: flex; gap: 3px; color: var(--c-gold); }
.rev__stars svg { width: 18px; height: 18px; }
.rev__text { color: var(--c-text); font-size: 15.5px; flex: 1; }
.rev__who { display: flex; align-items: center; gap: 13px; }
.rev__who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 1px solid var(--c-line-2); }
.rev__who b { display: block; color: #fff; font-size: 15px; }
.rev__who span { font-size: 13px; color: var(--c-smoke); }
.rev-nav { display: flex; gap: 12px; justify-content: flex-end; margin-top: 26px; }
.rev-nav button {
  width: 50px; height: 50px; border-radius: 50%; cursor: pointer;
  background: var(--c-panel); border: 1px solid var(--c-line-2); color: var(--c-jade-2);
  display: grid; place-items: center; transition: background .3s var(--ease), transform .3s var(--ease);
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.rev-nav button:hover { background: rgba(249,115,22,.12); transform: translateY(-2px); }
.rev-nav button svg { width: 22px; height: 22px; }
.rev-nav button.prev svg { transform: rotate(180deg); }

/* ---------- Join community ---------- */
.join { position: relative; overflow: hidden;
  background-image: linear-gradient(180deg, rgba(10,15,12,.86), rgba(10,15,12,.92)), url('/assets/img/sections/join-bg.avif');
  background-size: cover; background-position: center; }
.join__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; align-items: center; }
.join h2 { font-size: clamp(30px, 4.6vw, 48px); margin-bottom: 18px; }
.join p { color: var(--c-text); opacity: .92; margin-bottom: 26px; font-size: 17px; }
.rg-card {
  background: rgba(18,28,23,.78); border: 1px solid var(--c-line-2); border-radius: var(--r);
  padding: 28px; backdrop-filter: blur(6px);
}
.rg-card h3 { font-size: 20px; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.rg-card h3 svg { width: 24px; height: 24px; color: var(--c-jade-2); }
.rg-card ul { list-style: none; display: grid; gap: 11px; }
.rg-card li { position: relative; padding-left: 24px; color: var(--c-mut); font-size: 14.5px; }
.rg-card li::before { content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 8px;
  border-radius: 2px; background: var(--c-gold); transform: rotate(45deg); }
.rg-card .age { margin-top: 18px; display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; color: var(--c-gold); font-size: 14px; }
.rg-card .age svg { width: 26px; height: 26px; }

/* ---------- Business model ---------- */
.bmodel { background: var(--c-bg); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { position: relative; background: var(--c-panel); border: 1px solid var(--c-line);
  border-radius: var(--r); padding: 32px 28px; }
.step__n { font-family: 'Fraunces', serif; font-size: 46px; font-weight: 600; color: var(--c-jade-2);
  line-height: 1; margin-bottom: 14px; opacity: .9; }
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { color: var(--c-mut); font-size: 15px; }
.step__arrow { position: absolute; right: -27px; top: 50%; transform: translateY(-50%); z-index: 2;
  color: var(--c-line-2); }
.step__arrow svg { width: 26px; height: 26px; }

/* ---------- Generic prose (about/legal) — full width, no max-width cap ---------- */
.prose-block h2 { font-size: clamp(26px, 3.6vw, 38px); margin: 46px 0 16px; }
.prose-block h2:first-child { margin-top: 0; }
.prose-block h3 { font-size: 22px; margin: 30px 0 12px; color: var(--c-jade-2); }
.prose-block p { color: var(--c-mut); margin-bottom: 16px; font-size: 16.5px; }
.prose-block ul, .prose-block ol { color: var(--c-mut); margin: 0 0 18px 22px; display: grid; gap: 9px; }
.prose-block li { padding-left: 4px; }
.prose-block strong { color: var(--c-text); }

.page-hero { padding-block: 70px 10px; border-bottom: 1px solid var(--c-line); background: var(--c-bg-2); }
.page-hero h1 { font-size: clamp(34px, 5.5vw, 58px); margin-bottom: 16px; }
.page-hero p { color: var(--c-mut); font-size: clamp(16px, 2vw, 19px); max-width: 760px; }

/* value cards (about) */
.vals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 12px; }
.val { background: var(--c-panel); border: 1px solid var(--c-line); border-radius: var(--r); padding: 28px; }
.val__ic { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(249,115,22,.1); border: 1px solid var(--c-line-2); color: var(--c-jade-2); margin-bottom: 16px; }
.val__ic svg { width: 27px; height: 27px; }
.val h3 { font-size: 19px; margin-bottom: 9px; }
.val p { color: var(--c-mut); font-size: 14.5px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: start; }
.form-card { background: var(--c-panel); border: 1px solid var(--c-line); border-radius: var(--r); padding: 34px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--c-mut);
  letter-spacing: .04em; text-transform: uppercase; margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--c-bg); border: 1px solid var(--c-line-2); border-radius: var(--r-sm);
  padding: 14px 16px; color: var(--c-text); font-family: inherit; font-size: 15px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { resize: none; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--c-jade); box-shadow: 0 0 0 3px rgba(249,115,22,.16); }
.field input::placeholder, .field textarea::placeholder { color: var(--c-smoke); }
.form-card .btn { width: 100%; margin-top: 6px; }

.info-stack { display: grid; gap: 16px; }
.info-tile { display: flex; gap: 16px; align-items: flex-start; background: var(--c-panel);
  border: 1px solid var(--c-line); border-radius: var(--r); padding: 22px 24px;
  transition: border-color .3s var(--ease), transform .3s var(--ease); }
.info-tile:hover { border-color: var(--c-line-2); transform: translateY(-3px); }
.info-tile__ic { width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center;
  background: rgba(249,115,22,.1); border: 1px solid var(--c-line-2); color: var(--c-jade-2); }
.info-tile__ic svg { width: 24px; height: 24px; }
.info-tile h3 { font-size: 16px; margin-bottom: 4px; }
.info-tile p { color: var(--c-mut); font-size: 14.5px; }
.info-tile a { color: var(--c-jade-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-bg-2); border-top: 1px solid var(--c-line); padding-top: 70px; margin-top: auto; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.foot-brand .brand { margin-bottom: 16px; }
.foot-brand p { color: var(--c-mut); font-size: 14.5px; margin-bottom: 18px; }
.foot-social { display: flex; gap: 12px; }
.foot-social a { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: var(--c-panel); border: 1px solid var(--c-line); color: var(--c-mut);
  transition: color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.foot-social a:hover { color: var(--c-jade-2); border-color: var(--c-line-2); transform: translateY(-3px); }
.foot-social a svg { width: 22px; height: 22px; }
.foot-social b { display: none; }
.foot-col h4 { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.foot-col ul { list-style: none; display: grid; gap: 11px; }
.foot-col a { color: var(--c-mut); font-size: 14.5px; transition: color .3s var(--ease); }
.foot-col a:hover { color: var(--c-jade-2); }
.foot-rg h4 { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.rg-logos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rg-logos a { display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 10px;
  background: var(--c-panel); border: 1px solid var(--c-line); border-radius: var(--r-sm);
  color: var(--c-mut); transition: color .3s var(--ease), border-color .3s var(--ease); text-align: center; }
.rg-logos a:hover { color: var(--c-jade-2); border-color: var(--c-line-2); }
.rg-logos a span { font-family: 'Fraunces', serif; font-weight: 600; font-size: 13px; line-height: 1.2; color: inherit; }
.rg-logos a small { display: block; font-family: 'Inter', sans-serif; font-size: 10px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--c-smoke); margin-top: 3px; }

.disclaimer {
  margin-top: 50px; padding: 20px 24px; border-radius: var(--r-sm);
  background: rgba(212,175,55,.06); border: 1px solid rgba(212,175,55,.28);
  display: flex; align-items: center; gap: 14px; color: var(--c-text); font-size: 14px;
}
.disclaimer svg { width: 28px; height: 28px; color: var(--c-gold); flex-shrink: 0; }

.foot-bar { margin-top: 36px; padding-block: 24px; border-top: 1px solid var(--c-line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center; }
.foot-bar p { color: var(--c-smoke); font-size: 13.5px; }
.foot-bar nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-bar nav a { color: var(--c-smoke); font-size: 13.5px; }
.foot-bar nav a:hover { color: var(--c-jade-2); }

/* ---------- Chat ---------- */
.chat-toggle {
  position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 62px; height: 62px; border-radius: 50%;
  background: var(--c-grad); border: 0; cursor: pointer; color: #1E1206; display: grid; place-items: center;
  box-shadow: 0 16px 40px rgba(249,115,22,.42);
  transition: transform .35s var(--ease), opacity .3s var(--ease), visibility 0s linear .3s;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.chat-toggle:hover { transform: scale(1.07); }
.chat-toggle svg { width: 30px; height: 30px; }
.chat-toggle::after { content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgba(249,115,22,.4); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.9); opacity: .8; } 100% { transform: scale(1.35); opacity: 0; } }

.chat-panel {
  position: fixed; right: 24px; bottom: 100px; z-index: 91; width: 360px; height: 460px; max-width: calc(100vw - 32px);
  background: var(--c-panel); border: 1px solid var(--c-line-2); border-radius: var(--r);
  box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(20px) scale(.97);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.chat-panel.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); transition-delay: 0s; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--c-bg-2);
  border-bottom: 1px solid var(--c-line); }
.chat-head img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 1px solid var(--c-line-2); }
.chat-head b { display: block; color: #fff; font-size: 15px; }
.chat-head span { font-size: 12px; color: var(--c-jade-2); display: inline-flex; align-items: center; gap: 6px; }
.chat-head span::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--c-jade); }
.chat-head .x { margin-left: auto; background: none; border: 0; color: var(--c-mut); cursor: pointer; width: 32px; height: 32px;
  display: grid; place-items: center; border-radius: 8px; }
.chat-head .x:hover { color: #fff; background: rgba(255,255,255,.06); }
.chat-head .x svg { width: 20px; height: 20px; }
.chat-body { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 82%; padding: 11px 15px; border-radius: 14px; font-size: 14px; line-height: 1.5; }
.msg.bot { background: var(--c-bg); border: 1px solid var(--c-line); color: var(--c-text); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.me { background: var(--c-grad); color: #1E1206; align-self: flex-end; border-bottom-right-radius: 4px; font-weight: 500; }
.msg.typing { color: var(--c-smoke); font-style: italic; }
.chat-foot { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--c-line); background: var(--c-bg-2); }
.chat-foot input { flex: 1; background: var(--c-bg); border: 1px solid var(--c-line-2); border-radius: 10px;
  padding: 11px 14px; color: var(--c-text); font-family: inherit; font-size: 14px; }
.chat-foot input:focus { outline: none; border-color: var(--c-jade); }
.chat-foot button { width: 44px; height: 44px; border-radius: 10px; border: 0; cursor: pointer;
  background: var(--c-grad); color: #1E1206; display: grid; place-items: center; flex-shrink: 0;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.chat-foot button svg { width: 20px; height: 20px; }

/* ---------- Cookie banner ---------- */
.cookie { position: fixed; right: 24px; bottom: 24px; z-index: 95; width: 360px; max-width: calc(100vw - 32px);
  background: var(--c-panel); border: 1px solid var(--c-line-2); border-radius: var(--r); padding: 22px;
  box-shadow: var(--shadow); transform: translateY(24px); opacity: 0; visibility: hidden;
  transition: transform .4s var(--ease), opacity .4s var(--ease), visibility 0s linear .4s; }
.cookie.show { transform: translateY(0); opacity: 1; visibility: visible; transition-delay: 0s; }
body:has(.cookie.show) .chat-toggle { opacity: 0; visibility: hidden; pointer-events: none; }
.cookie h4 { font-size: 17px; margin-bottom: 8px; }
.cookie p { font-size: 13.5px; color: var(--c-mut); margin-bottom: 16px; }
.cookie p a { color: var(--c-jade-2); }
.cookie__row { display: flex; gap: 10px; justify-content: flex-end; }
.cookie__row .btn { padding: 10px 20px; font-size: 14px; }

/* ---------- Toast ---------- */
.toast-back { position: fixed; inset: 0; z-index: 120; background: rgba(4,8,6,.6);
  backdrop-filter: blur(3px); display: grid; place-items: center; opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility 0s linear .3s; }
.toast-back.show { opacity: 1; visibility: visible; transition-delay: 0s; }
.toast { background: var(--c-panel); border: 1px solid var(--c-line-2); border-radius: var(--r);
  padding: 32px 34px; max-width: 380px; width: calc(100% - 40px); text-align: center; box-shadow: var(--shadow);
  transform: scale(.92); transition: transform .3s var(--ease); }
.toast-back.show .toast { transform: scale(1); }
.toast__ic { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center;
  background: rgba(249,115,22,.12); border: 1px solid var(--c-line-2); color: var(--c-jade-2); }
.toast__ic svg { width: 32px; height: 32px; }
.toast h3 { font-size: 22px; margin-bottom: 8px; }
.toast p { color: var(--c-mut); font-size: 15px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-in { opacity: 1; transform: none; animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1220px) {
  .burger { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; width: 100%; max-width: 100vw;
    flex-direction: column; align-items: stretch; gap: 0; z-index: 100; box-sizing: border-box;
    padding: 16px 24px 26px; background: linear-gradient(170deg, #0E1512 0%, #121C17 100%);
    border-top: 1px solid var(--c-line); box-shadow: 0 22px 44px rgba(0,0,0,.5);
    max-height: calc(100dvh - var(--header-offset, 64px)); overflow-y: auto; overscroll-behavior: contain;
    transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .3s var(--ease), opacity .25s var(--ease), visibility 0s linear .3s;
  }
  .nav[data-open="true"] { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto;
    transition: transform .3s var(--ease), opacity .25s var(--ease), visibility 0s linear 0s; }
  .nav a { width: 100%; padding: 15px 14px; font-size: 18px; border-bottom: 1px solid var(--c-line); border-radius: 0; }
  .nav a::before { left: 0; }
  .nav a:hover, .nav a.is-active { background: transparent; }
  .nav .btn { margin: 16px 0 0; width: 100%; }

  .demo__desc { grid-template-columns: 1fr; }
  .join__inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-brand { grid-column: 1 / -1; }
  .step__arrow { display: none; }
  .why__layout { grid-template-columns: 1fr; gap: 38px; }
  .why__intro { position: static; }
}

@media (max-width: 820px) {
  .section { padding-block: 64px; }
  .steps, .vals { grid-template-columns: 1fr 1fr; }
  .rev { flex: 0 0 calc((100% - 24px) / 2); }
  .hero { min-height: 0; }
  .hero__inner { padding-block: 72px; }
  .hero__video { display: none; }
}

@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .steps, .vals { grid-template-columns: 1fr; }
  .feat-row { padding: 22px 16px; gap: 16px; }
  .rev { flex: 0 0 100%; min-width: 0; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bar { flex-direction: column; align-items: flex-start; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .chat-panel { right: 16px; left: 16px; width: auto; bottom: 92px; }
  .chat-toggle { right: 16px; bottom: 16px; }
  .cookie { right: 16px; left: 16px; width: auto; }
  .rg-logos { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .container { padding-inline: 14px; }
  .hero h1 { font-size: 34px; }
  .form-card, .rg-card { padding: 22px; }
}
