/* Greyhound Racing — Twilight Track design system */

@font-face {
  font-family: "Anton";
  src: url("/assets/fonts/anton.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy: #0E1320;
  --navy-2: #131A2B;
  --surface: #161D2E;
  --surface-2: #1D2740;
  --line: #28324C;
  --lime: #C6FF3D;
  --lime-soft: #d8ff7a;
  --amber: #FFB23E;
  --text: #EAEEF6;
  --muted: #9AA6BD;
  --white: #fff;
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1240px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, .8);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Anton", "Inter", sans-serif;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin: 0 0 .5em;
  overflow-wrap: break-word;
  word-break: break-word;
}

p { margin: 0 0 1rem; overflow-wrap: break-word; }
p:last-child { margin-bottom: 0; }

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

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

button { font-family: inherit; }

.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;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.icon { width: 1em; height: 1em; fill: none; flex: none; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--lime);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .01em;
  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-touch-callout: none;
  user-select: none;
}
.btn--primary {
  background: var(--lime);
  color: #10180a;
  box-shadow: 0 14px 30px -12px rgba(198, 255, 61, .6);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px -14px rgba(198, 255, 61, .75);
  background: var(--lime-soft);
}
.btn--primary .icon { width: 1.15em; height: 1.15em; }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--line);
}
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--lime); color: var(--lime); }
.btn--lg { padding: 18px 38px; font-size: 1.08rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(14, 19, 32, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}
.brand__mark { width: 42px; height: 42px; }
.brand__name {
  font-family: "Anton", sans-serif;
  font-size: 1.42rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  line-height: 1;
}
.brand__name span { color: var(--lime); }

.nav { display: flex; align-items: center; gap: 8px; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a:not(.nav-cta):not(.btn) {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
  transition: color .3s var(--ease), background .3s var(--ease);
}
.nav a:not(.nav-cta):not(.btn)::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  transform: scale(0);
  opacity: 0;
  transition: transform .35s var(--ease-out), opacity .35s var(--ease-out);
  box-shadow: 0 0 12px var(--lime);
}
.nav a:not(.nav-cta):not(.btn):hover,
.nav a:not(.nav-cta):not(.btn).is-active {
  color: var(--lime);
  background: rgba(198, 255, 61, .07);
}
.nav a:not(.nav-cta):not(.btn):hover::before,
.nav a:not(.nav-cta):not(.btn).is-active::before { transform: scale(1); opacity: 1; }

.nav-cta {
  padding: 10px 22px;
  font-size: .95rem;
  margin-left: 6px;
}

/* burger */
.burger {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  position: relative;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.burger span {
  position: absolute;
  left: 50%; top: 50%;
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .35s var(--ease), opacity .25s var(--ease);
}
.burger span:nth-child(1) { transform: translate(-50%, -7px); }
.burger span:nth-child(3) { transform: translate(-50%, 5px); }
.burger.active span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }

.nav-mobile-actions { display: none; }

/* ---------- main ---------- */
main { flex: 1; }

.section { padding-block: clamp(64px, 8vw, 110px); }
.section__head { max-width: 760px; margin-bottom: 48px; }
.section__kicker {
  display: inline-block;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 14px;
}
h2.section__title { font-size: clamp(2rem, 4.5vw, 3.3rem); }
.section__lead { color: var(--muted); font-size: 1.1rem; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--navy) url("/assets/img/hero/poster.avif") 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;
  background: linear-gradient(180deg, rgba(14, 19, 32, .58), rgba(14, 19, 32, .72) 60%, rgba(14, 19, 32, .94));
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, transparent, var(--lime), var(--amber), transparent);
  opacity: .8;
}
.hero__inner {
  position: relative;
  z-index: 2;
  margin-inline: auto;
  max-width: 920px;
  padding-block: 90px;
}
.hero h1 {
  font-size: clamp(2.8rem, 8vw, 6rem);
  margin-bottom: 22px;
  animation: heroRise .9s var(--ease-out) both;
}
.hero h1 .accent { color: var(--lime); }
.hero__text {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: #cdd5e6;
  margin-inline: auto;
  margin-bottom: 36px;
  animation: heroRise .9s .12s var(--ease-out) both;
}
.hero__cta { animation: heroRise .9s .24s var(--ease-out) both; }
@keyframes heroRise {
  from { opacity: 0; transform: translateY(34px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- feature cards ---------- */
.features { background: var(--navy-2); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lime), var(--amber));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.feature-card:hover { transform: translateY(-8px); border-color: rgba(198, 255, 61, .4); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card__img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  background: var(--navy);
}
.feature-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---------- business model ---------- */
.model { background: var(--navy); position: relative; }
.model__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
  position: relative;
}
.model__track::before {
  content: "";
  position: absolute;
  top: 46px; left: 8%; right: 8%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 14px, transparent 14px 26px);
  z-index: 0;
}
.model-step {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.model-step:hover { transform: translateY(-6px); border-color: rgba(198, 255, 61, .35); }
.model-step__num {
  counter-increment: step;
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: #10180a;
  font-family: "Anton", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 20px;
  box-shadow: 0 0 0 6px rgba(198, 255, 61, .12);
}
.model-step__num::before { content: counter(step); }
.model-step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.model-step p { color: var(--muted); margin: 0; }
.model__note {
  margin-top: 36px;
  padding: 20px 24px;
  border-left: 3px solid var(--amber);
  background: var(--surface);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--muted);
}
.model__note strong { color: var(--text); }

/* ---------- reviews ---------- */
.reviews { background: var(--navy-2); }
.carousel { position: relative; }
.carousel__viewport { overflow: hidden; }
.carousel__track {
  display: flex;
  transition: transform .6s var(--ease-out);
}
.review-card {
  flex: 0 0 100%;
  padding: 6px;
}
.review-card__inner {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
}
.review-card__photo {
  width: 110px; height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--lime);
}
.review-card__stars { display: flex; gap: 3px; color: var(--amber); margin-bottom: 12px; }
.review-card__stars .icon { width: 18px; height: 18px; }
.review-card__text { font-size: 1.12rem; margin-bottom: 14px; }
.review-card__name { font-weight: 700; color: var(--lime); }
.review-card__loc { color: var(--muted); font-size: .9rem; }
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1.5px solid var(--lime);
  background: rgba(22, 29, 46, .92);
  backdrop-filter: blur(6px);
  color: var(--lime);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), background .3s var(--ease);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.carousel__btn:hover { border-color: var(--lime); color: var(--lime); background: var(--surface); transform: translateY(-50%) scale(1.08); }
.carousel__btn .icon { width: 22px; height: 22px; }
.carousel__btn--prev { left: -22px; }
.carousel__btn--next { right: -22px; }
.carousel__dots { display: flex; gap: 8px; justify-content: center; margin-top: 18px; }
.carousel__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 0;
  background: var(--line);
  cursor: pointer;
  padding: 0;
  transition: background .3s var(--ease), width .3s var(--ease);
}
.carousel__dot.is-active { background: var(--lime); width: 26px; border-radius: 6px; }

/* ---------- demo game ---------- */
.demo { background: var(--navy); }
.demo__frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}
.demo__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.demo__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 18px;
  text-align: center;
  background: radial-gradient(circle at 50% 40%, var(--surface-2), var(--navy));
  cursor: pointer;
}
.demo__placeholder .icon { width: 64px; height: 64px; color: var(--lime); }
.demo__placeholder span { font-weight: 700; letter-spacing: .04em; }
.demo__placeholder.is-hidden { display: none; }
.demo__desc { margin-top: 32px; color: var(--muted); max-width: 880px; }
.demo__desc h3 { color: var(--text); font-size: 1.4rem; margin-bottom: 10px; }

/* ---------- community ---------- */
.community {
  position: relative;
  text-align: center;
  background-image: linear-gradient(rgba(14, 19, 32, .82), rgba(14, 19, 32, .92)), url("/assets/img/sections/community-bg.avif");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.community__inner { margin-inline: auto; }
.community h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
.community__rp {
  margin-top: 30px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
  padding: 18px 26px;
  background: rgba(22, 29, 46, .8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.community__rp .icon { width: 26px; height: 26px; color: var(--amber); }
.community__rp p { margin: 0; color: var(--muted); font-size: .96rem; text-align: left; }
.community__rp strong { color: var(--text); }

/* ---------- footer: Track Lanes ---------- */
.site-footer {
  background: var(--navy-2);
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.lane {
  border-bottom: 1px dashed var(--line);
  position: relative;
}
.lane::before, .lane::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 10px;
  background-image: repeating-linear-gradient(180deg, var(--line) 0 8px, transparent 8px 16px);
  opacity: .5;
}
.lane::before { left: 0; }
.lane::after { right: 0; }

.lane--brand { padding-block: 40px; }
.lane--brand .container {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}
.lane--brand .brand__name { font-size: 1.7rem; }
.footer-about { color: var(--muted); margin-top: 14px; max-width: 560px; }
.age-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--amber);
  border-radius: 999px;
  color: var(--amber);
  font-weight: 700;
  font-size: .85rem;
}
.foot-col .age-pill { margin-top: 18px; }
.lane--brand .lane-rg { justify-self: end; display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.lane--brand .lane-rg .rg-logos { justify-content: flex-end; }
.lane--brand .lane-rg .age-pill { margin: 0; }

.lane--links { padding-block: 34px; }
.lane--links .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 60px;
}
.foot-col h4 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .82rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-col a {
  color: var(--text);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: color .3s var(--ease), transform .3s var(--ease);
}
.foot-col a:hover { color: var(--lime); transform: translateX(4px); }
.foot-col a .icon { width: 18px; height: 18px; color: var(--muted); }
.foot-social { display: flex; gap: 12px; }
.foot-social a {
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--text);
  transition: transform .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.foot-social a:hover { transform: translateY(-4px); border-color: var(--lime); color: var(--lime); }
.foot-social .icon { width: 22px; height: 22px; }

.rg-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
}
.rg-logos a {
  display: inline-flex;
  align-items: center;
  opacity: .85;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.rg-logos a:hover { opacity: 1; transform: translateY(-3px); }
.rg-logos img { height: auto; max-height: 40px; width: auto; max-width: 210px; object-fit: contain; }

.footer-strip {
  padding-block: 22px;
  background: var(--navy);
}
.footer-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.disclaimer {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: .88rem;
}
.disclaimer .icon { width: 20px; height: 20px; color: var(--amber); }
.footer-meta { color: var(--muted); font-size: .85rem; text-align: right; }

/* ---------- legal / about / contact pages ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--surface), var(--navy));
  border-bottom: 1px solid var(--line);
  padding-block: clamp(60px, 8vw, 96px);
}
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
.page-hero p { color: var(--muted); font-size: 1.1rem; max-width: 720px; }

.legal-content { padding-block: clamp(48px, 6vw, 80px); }
.legal-content h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-top: 2.2em; color: var(--text); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: #c5cde0; }
.legal-content ul { padding-left: 1.2em; }
.legal-content li { margin-bottom: .5em; }

.about-section { padding-block: clamp(48px, 6vw, 80px); }
.about-section:nth-child(even) { background: var(--navy-2); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-grid h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.about-grid p { color: #c5cde0; }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.value-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.value-card .icon { width: 38px; height: 38px; color: var(--lime); margin-bottom: 12px; }
.value-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.value-card p { color: var(--muted); margin: 0; }

/* contact */
.contact-stats { padding-block: clamp(40px, 5vw, 64px); }
.contact-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.contact-stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.contact-stat:hover { transform: translateY(-6px); border-color: rgba(198, 255, 61, .35); }
.contact-stat .icon { width: 34px; height: 34px; color: var(--lime); margin-bottom: 14px; }
.contact-stat h2 { font-family: "Inter", sans-serif; font-weight: 700; text-transform: none; font-size: 1.05rem; margin-bottom: 6px; }
.contact-stat p { color: var(--muted); margin: 0; font-size: .94rem; }
.contact-stat a { color: var(--lime); }

.contact-compose { padding-block: clamp(40px, 5vw, 70px); background: var(--navy-2); }
.contact-compose__head { margin-bottom: 32px; }
.contact-compose__head h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.contact-compose__head p { color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.contact-map { padding-bottom: clamp(24px, 4vw, 44px); }
.contact-map__frame {
  width: 100%;
  height: 420px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: block;
  filter: invert(.92) hue-rotate(180deg) brightness(.92) contrast(.9) saturate(.7);
}
.contact-office { padding-block: clamp(40px, 5vw, 64px); }
.contact-office .container { display: flex; align-items: center; gap: 20px; }
.contact-office__pin { width: 44px; height: 44px; color: var(--amber); flex: none; }
.contact-office__text h2 { font-family: "Inter", sans-serif; font-weight: 700; text-transform: none; font-size: 1.2rem; margin-bottom: 4px; }
.contact-office__text p { color: var(--muted); margin: 0; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 7px; font-size: .92rem; }
.field input, .field textarea {
  width: 100%;
  background: var(--navy);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 13px 15px;
  font: inherit;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { resize: none; min-height: 130px; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(198, 255, 61, .15);
}
/* ---------- cookie banner ---------- */
.cookie {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  max-width: 380px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  transform: translateY(180%);
  transition: transform .5s var(--ease-out);
}
.cookie.show { transform: translateY(0); }
.cookie h3 { font-family: "Inter", sans-serif; font-weight: 700; text-transform: none; font-size: 1.08rem; margin-bottom: 8px; }
.cookie p { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.cookie__row { display: flex; gap: 10px; }
.cookie__row .btn { flex: 1; padding: 11px 16px; font-size: .92rem; }

/* ---------- chat ---------- */
.chat-toggle {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  width: 62px; height: 62px;
  border-radius: 50%;
  border: 0;
  background: var(--lime);
  color: #10180a;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 16px 36px -12px rgba(198, 255, 61, .7);
  transition: transform .35s var(--ease);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.chat-toggle:hover { transform: scale(1.08); }
.chat-toggle .icon { width: 28px; height: 28px; }
.chat-toggle::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--lime);
  animation: chatPing 2.4s var(--ease) infinite;
}
@keyframes chatPing {
  0% { transform: scale(1); opacity: .6; }
  70%, 100% { transform: scale(1.6); opacity: 0; }
}
body:has(.cookie.show) .chat-toggle { transform: translateY(-150px); }

.chat-panel {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 360px;
  height: 460px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(.96);
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease-out);
}
.chat-panel.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.chat-head img { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--lime); }
.chat-head__name { font-weight: 700; line-height: 1.2; }
.chat-head__status { font-size: .78rem; color: var(--lime); display: flex; align-items: center; gap: 6px; }
.chat-head__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime); }
.chat-head button {
  margin-left: auto;
  width: 34px; height: 34px;
  border: 0; border-radius: 10px;
  background: transparent; color: var(--muted);
  cursor: pointer; display: grid; place-items: center;
}
.chat-head button:hover { color: var(--text); background: rgba(255,255,255,.06); }
.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.msg { max-width: 80%; padding: 10px 14px; border-radius: 14px; font-size: .92rem; line-height: 1.5; }
.msg--bot { background: var(--navy); border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg--user { background: var(--lime); color: #10180a; border-bottom-right-radius: 4px; align-self: flex-end; font-weight: 500; }
.msg--typing { color: var(--muted); font-style: italic; }
.chat-foot { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-foot input {
  flex: 1;
  background: var(--navy);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  padding: 11px 16px;
  font: inherit;
}
.chat-foot input:focus { outline: none; border-color: var(--lime); }
.chat-foot button {
  width: 44px; height: 44px;
  flex: none;
  border: 0; border-radius: 50%;
  background: var(--lime); color: #10180a;
  cursor: pointer; display: grid; place-items: center;
}
.chat-foot .icon { width: 22px; height: 22px; }

/* ---------- toast ---------- */
.toast-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(8, 11, 19, .6);
  backdrop-filter: blur(3px);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.toast-backdrop.show { opacity: 1; pointer-events: auto; }
.toast {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 34px;
  text-align: center;
  max-width: 380px;
  transform: scale(.9);
  transition: transform .35s var(--ease-out);
}
.toast-backdrop.show .toast { transform: scale(1); }
.toast__icon {
  width: 60px; height: 60px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(198, 255, 61, .14);
  color: var(--lime);
}
.toast__icon .icon { width: 32px; height: 32px; }
.toast h3 { font-family: "Inter", sans-serif; text-transform: none; font-size: 1.2rem; margin-bottom: 6px; }
.toast p { color: var(--muted); margin: 0; }

/* ---------- cookie table ---------- */
.cookie-table-wrap { overflow-x: auto; margin: 1.4em 0; border-radius: var(--radius-sm); }
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.cookie-table th, .cookie-table td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  font-size: .94rem;
}
.cookie-table th { background: var(--surface-2); color: var(--text); font-weight: 700; }
.cookie-table td { color: #c5cde0; }
.cookie-table tr:last-child td { border-bottom: 0; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 1220px) {
  .burger { display: block; }
  .nav { gap: 0; }
  .nav__list {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--navy-2);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px;
    transform: translateY(-130%);
    transition: transform .45s var(--ease-out);
    z-index: 55;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .nav__list.active { transform: translateY(0); }
  .nav a:not(.nav-cta):not(.btn) { padding: 14px 16px; border-radius: 12px; }
  .nav-cta { display: none; }
  .nav-mobile-actions {
    display: block;
    margin-top: 10px;
  }
  .nav-mobile-actions .btn { width: 100%; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .about-values { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  body { font-size: 16px; }
  .brand__name { font-size: 1.12rem; }
  .brand__mark { width: 36px; height: 36px; }
  .hero { min-height: auto; }
  .hero__inner { padding-block: 70px 90px; }
  .model__track { grid-template-columns: 1fr; }
  .model__track::before { display: none; }
  .review-card__inner { grid-template-columns: 1fr; text-align: center; padding: 28px; }
  .review-card__photo { margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-values { grid-template-columns: 1fr 1fr; }
  .contact-stats__grid { grid-template-columns: 1fr 1fr; }
  .lane--brand .container { grid-template-columns: 1fr; gap: 24px; }
  .lane--brand .lane-rg { justify-self: start; align-items: flex-start; }
  .lane--brand .lane-rg .rg-logos { justify-content: flex-start; }
  .footer-meta { text-align: left; }
}

@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .feature-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .contact-stats__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .lane--links .container { gap: 28px 40px; }
  .rg-logos { gap: 18px; }
  .rg-logos img { height: 34px; }
  .cookie { right: 12px; left: 12px; bottom: 12px; max-width: none; }
  .chat-panel { right: 12px; bottom: 12px; }
  .carousel__btn { width: 42px; height: 42px; }
  .carousel__btn--prev { left: 2px; }
  .carousel__btn--next { right: 2px; }
  .carousel__btn .icon { width: 18px; height: 18px; }
}

@media (max-width: 360px) {
  .btn { padding: 14px 22px; }
  .feature-card, .model-step, .contact-form { padding: 22px 18px; }
}

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