/* =========================================================
   N VaulNW — main.css
   Design tokens, reset, layout, typography, components
   ========================================================= */

:root {
  /* Color tokens */
  --bg-deep: #0B0E14;
  --bg-elev: #11151D;
  --surface: #161B25;
  --surface-2: #1C2230;
  --ink: #E6EAF2;
  --ink-mute: #8A93A6;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --brand-1: #4D8BFF;
  --brand-2: #7B5CFF;
  --brand-3: #26E0C5;
  --accent: #FFB547;
  --danger: #FF6B6B;
  --ok: #26E0C5;

  /* Gradients */
  --gradient-1: linear-gradient(135deg, #4D8BFF 0%, #7B5CFF 60%, #26E0C5 100%);
  --gradient-2: linear-gradient(135deg, #7B5CFF 0%, #26E0C5 100%);
  --gradient-soft: linear-gradient(135deg, rgba(77, 139, 255, .15) 0%, rgba(123, 92, 255, .12) 60%, rgba(38, 224, 197, .1) 100%);
  --gradient-text: linear-gradient(135deg, #4D8BFF 0%, #7B5CFF 50%, #26E0C5 100%);

  /* Radii */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-1: 0 6px 24px rgba(0, 0, 0, .35);
  --shadow-2: 0 24px 60px rgba(77, 139, 255, .25);
  --shadow-3: 0 30px 80px rgba(0, 0, 0, .55);

  /* Layout */
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 48px);

  /* Type */
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: ui-serif, Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: 180ms;
  --t-base: 320ms;
  --t-slow: 600ms;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: clamp(15px, 1vw + .5rem, 17px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
}

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

a {
  color: var(--brand-1);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

a:hover {
  color: var(--brand-3);
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
}

p {
  margin: 0;
}

::selection {
  background: rgba(77, 139, 255, .35);
  color: #fff;
}

/* =================== Skip link =================== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--brand-1);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  z-index: 999;
  font-weight: 600;
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus {
  top: 16px;
  color: #fff;
}

/* =================== Layout =================== */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  position: relative;
  padding: clamp(72px, 8vw, 120px) 0;
}

.section--tight {
  padding: clamp(48px, 6vw, 88px) 0;
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand-3);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(38, 224, 197, .08);
  border: 1px solid rgba(38, 224, 197, .25);
  margin-bottom: 18px;
}

.section__eyebrow--brand {
  color: var(--brand-1);
  background: rgba(77, 139, 255, .1);
  border-color: rgba(77, 139, 255, .3);
}

.section__title {
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.1;
  margin-bottom: 18px;
}

.section__lede {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-mute);
  max-width: 720px;
  line-height: 1.6;
}

.section__head {
  max-width: 760px;
  margin-bottom: clamp(36px, 4vw, 56px);
}

.section__head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* =================== Background layers =================== */
.bg-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bg-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
}
.bg-layer--orbs {
  z-index: 0;
  opacity: .7;
  will-change: transform;
}
.bg-layer--orbs img {
  animation: orb-drift 40s linear infinite;
}
.bg-layer--grid {
  opacity: .35;
}

/* =================== Topbar =================== */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 14px 0;
  transition: background var(--t-base) var(--ease),
              backdrop-filter var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease),
              padding var(--t-base) var(--ease);
  border-bottom: 1px solid transparent;
}

.topbar.is-scrolled {
  background: rgba(11, 14, 20, .72);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border-bottom-color: var(--line);
  padding: 8px 0;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand__logo {
  width: 156px;
  height: auto;
  transition: transform var(--t-base) var(--ease);
}
.brand:hover .brand__logo {
  transform: translateY(-1px);
}

.topnav ul {
  display: flex;
  align-items: center;
  gap: 6px;
}
.topnav a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.topnav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width var(--t-base) var(--ease);
}
.topnav a:hover {
  color: #fff;
}
.topnav a:hover::after,
.topnav a[aria-current="page"]::after {
  width: 24px;
}
.topnav a[aria-current="page"] {
  color: #fff;
}

.topnav .nav-cta {
  margin-left: 8px;
  padding: 10px 18px;
  background: var(--gradient-1);
  color: #fff;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  box-shadow: var(--shadow-2);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.topnav .nav-cta::after { display: none; }
.topnav .nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 80px rgba(77, 139, 255, .35);
  color: #fff;
}

.menu-toggle {
  display: none;
  padding: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
}
.menu-toggle:hover {
  border-color: var(--brand-1);
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(86vw, 360px);
  background: var(--bg-elev);
  z-index: 80;
  padding: 28px;
  transform: translateX(100%);
  transition: transform var(--t-base) var(--ease);
  border-left: 1px solid var(--line);
  box-shadow: -30px 0 80px rgba(0, 0, 0, .6);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-nav.is-open {
  transform: translateX(0);
}
.mobile-nav__close {
  align-self: flex-end;
  padding: 6px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
}
.mobile-nav a {
  display: block;
  padding: 14px 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:hover { color: var(--brand-3); }
.mobile-nav .mobile-nav__cta {
  margin-top: 16px;
  text-align: center;
  border: 0;
  background: var(--gradient-1);
  border-radius: var(--radius-pill);
  color: #fff;
  padding: 16px 24px;
}
.mobile-nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 70;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base) var(--ease);
}
.mobile-nav__overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* =================== Hero =================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 100px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__copy { max-width: 680px; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--brand-3);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(38, 224, 197, .08);
  border: 1px solid rgba(38, 224, 197, .25);
  margin-bottom: 24px;
}
.hero__eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-3);
  box-shadow: 0 0 0 4px rgba(38, 224, 197, .25);
  animation: pulse 2.4s ease-in-out infinite;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -.025em;
  margin: 0 0 22px;
}
.hero h1 .line {
  display: block;
  overflow: hidden;
}
.hero h1 .line span {
  display: inline-block;
  transform: translateY(105%);
  animation: rise 1.1s var(--ease-out) forwards;
}
.hero h1 .line:nth-child(2) span { animation-delay: 140ms; }
.hero h1 .line:nth-child(3) span { animation-delay: 280ms; }

.hero__sub {
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--ink-mute);
  max-width: 580px;
  margin: 0 0 36px;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(20px);
  animation: rise .9s var(--ease-out) 480ms forwards;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  opacity: 0;
  transform: translateY(20px);
  animation: rise .9s var(--ease-out) 620ms forwards;
}
.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__visual img.illust {
  width: 100%;
  max-width: 540px;
  filter: drop-shadow(0 30px 60px rgba(77, 139, 255, .3));
  transform: translateY(8px);
  animation: float 6s ease-in-out infinite;
  border-radius: var(--radius-lg);
}
.hero__visual .glow {
  position: absolute;
  inset: -10%;
  background: radial-gradient(closest-side, rgba(77, 139, 255, .35), transparent 70%);
  z-index: -1;
  filter: blur(20px);
  animation: pulse-glow 5s ease-in-out infinite;
}
.hero__mascots {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__mascot {
  position: absolute;
  width: 78px;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .4));
}
.hero__mascot--1 { top: 8%; left: -4%; width: 80px; animation: float 5s ease-in-out infinite; }
.hero__mascot--2 { bottom: 4%; right: -2%; width: 92px; animation: float 6s ease-in-out infinite .8s; }
.hero__mascot--3 { top: 32%; right: -6%; width: 70px; animation: float 7s ease-in-out infinite 1.4s; }
.hero__mascot--4 { bottom: 22%; left: -8%; width: 60px; animation: float 5.5s ease-in-out infinite 2s; }

.hero--compact {
  min-height: 60vh;
  padding: 160px 0 80px;
}
.hero--compact .hero__inner {
  grid-template-columns: 1fr;
  text-align: center;
}
.hero--compact .hero__copy { margin: 0 auto; }
.hero--compact .hero__sub { margin-left: auto; margin-right: auto; }
.hero--compact .hero__ctas { justify-content: center; }

/* =================== Buttons =================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  text-decoration: none;
  letter-spacing: .01em;
  cursor: pointer;
  position: relative;
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t-base) var(--ease),
              background var(--t-base) var(--ease),
              color var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
  white-space: nowrap;
}

.btn__arrow {
  width: 16px;
  height: 16px;
  transition: transform var(--t-base) var(--ease);
}
.btn:hover .btn__arrow {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--gradient-1);
  color: #fff;
  box-shadow: var(--shadow-2);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 80px rgba(77, 139, 255, .4);
  color: #fff;
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: transparent;
  color: var(--brand-1);
  border: 1.5px solid var(--brand-1);
}
.btn-secondary:hover {
  background: var(--gradient-1);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover {
  border-color: var(--brand-1);
  color: #fff;
}

.btn--lg {
  padding: 18px 32px;
  font-size: 16px;
}

/* =================== Cards =================== */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  overflow: hidden;
  transition: transform var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-1);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: var(--shadow-3);
}
.card:hover::before {
  opacity: 1;
}

.card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-soft);
  border: 1px solid var(--line);
  margin-bottom: 18px;
  transition: transform var(--t-base) var(--ease);
}
.card__icon img {
  width: 28px;
  height: 28px;
  transition: transform var(--t-base) var(--ease);
}
.card:hover .card__icon img {
  transform: scale(1.12) rotate(-6deg);
}
.card h3 {
  font-size: clamp(20px, 1.6vw, 24px);
  margin-bottom: 10px;
}
.card p {
  color: var(--ink-mute);
  font-size: 15px;
  line-height: 1.6;
}

.card--feature {
  padding: 36px;
}

.grid {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
}
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* =================== Stats =================== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.stat::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 100px; height: 100px;
  background: radial-gradient(closest-side, rgba(77, 139, 255, .25), transparent 70%);
  filter: blur(10px);
}
.stat__value {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: 8px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.stat__suffix {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.stat__label {
  color: var(--ink-mute);
  font-size: 14px;
  font-weight: 500;
}

/* =================== Ad formats =================== */
.format-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.format-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.format-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-1);
}
.format-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--gradient-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.format-card__icon img { width: 24px; height: 24px; }
.format-card h4 { font-size: 18px; margin-bottom: 6px; }
.format-card p { font-size: 14px; color: var(--ink-mute); }

/* Network chip cloud */
.network-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  white-space: nowrap;
}
.chip:hover {
  transform: translateY(-2px);
  border-color: var(--brand-1);
  background: var(--surface-2);
}
.chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-3);
  box-shadow: 0 0 6px rgba(38, 224, 197, .6);
}

/* =================== Quote / Testimonial =================== */
.quote {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.quote::before {
  content: "“";
  position: absolute;
  top: -20px;
  left: 16px;
  font-size: 120px;
  font-family: var(--font-serif);
  line-height: 1;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: .35;
}
.quote p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 18px;
  position: relative;
}
.quote cite {
  font-style: normal;
  color: var(--ink-mute);
  font-size: 14px;
  display: block;
}

/* =================== CTA band =================== */
.cta-band {
  position: relative;
  padding: clamp(64px, 8vw, 110px) 0;
  background: linear-gradient(135deg, #1a1f2c 0%, #0e1320 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(77, 139, 255, .25), transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(38, 224, 197, .18), transparent 60%);
  z-index: 0;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band__inner {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 48px;
  align-items: center;
}
.cta-band h2 {
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.1;
  margin-bottom: 18px;
}
.cta-band p {
  color: var(--ink-mute);
  font-size: clamp(15px, 1.2vw, 18px);
  max-width: 580px;
  margin-bottom: 26px;
}
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cta-band__art {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-band__art img {
  width: 100%;
  max-width: 360px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .45));
  animation: float 6s ease-in-out infinite;
}

/* =================== Footer =================== */
.site-foot {
  background: var(--bg-elev);
  border-top: 1px solid var(--line);
  padding: 64px 0 24px;
  position: relative;
}
.site-foot__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 36px;
  margin-bottom: 48px;
}
.site-foot h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--ink-mute);
  margin-bottom: 18px;
  font-weight: 700;
}
.site-foot ul li {
  margin-bottom: 10px;
}
.site-foot a {
  color: var(--ink);
  font-size: 15px;
  transition: color var(--t-fast) var(--ease);
}
.site-foot a:hover { color: var(--brand-3); }

.brand-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.brand-block .brand__logo { width: 168px; }
.brand-block p {
  color: var(--ink-mute);
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
}
.brand-block .socials {
  display: flex;
  gap: 10px;
}
.brand-block .socials a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
}
.brand-block .socials a:hover {
  border-color: var(--brand-1);
  background: var(--surface-2);
}
.brand-block .socials a img { width: 18px; height: 18px; }

.store-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.store-badges a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.store-badges a:hover { border-color: var(--brand-1); }
.store-badges img { width: 22px; height: 22px; }

.newsletter {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.newsletter__row {
  display: flex;
  gap: 8px;
}
.newsletter input {
  flex: 1;
  padding: 12px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color var(--t-fast) var(--ease);
}
.newsletter input:focus { border-color: var(--brand-1); }
.newsletter button {
  padding: 12px 20px;
  background: var(--gradient-1);
  color: #fff;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
}
.newsletter__hint { color: var(--ink-mute); font-size: 12px; }

.site-foot__bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--ink-mute);
  font-size: 13px;
}
.site-foot__bottom a { color: var(--ink-mute); }
.site-foot__bottom a:hover { color: var(--brand-3); }

/* =================== Service block =================== */
.service {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.service__index {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-top: 6px;
}
.service__index span {
  display: block;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.02em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-transform: none;
  margin-bottom: 4px;
}
.service__head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 16px;
}
.service__head h3 {
  font-size: clamp(22px, 2.2vw, 30px);
  margin: 0 0 6px;
}
.service__head p { color: var(--ink-mute); font-size: 15px; }
.service__icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--gradient-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
}
.service__icon img { width: 28px; height: 28px; }
.service__caps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  margin-top: 14px;
}
.service__caps li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.5;
}
.service__caps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gradient-1);
  -webkit-mask: radial-gradient(circle, transparent 30%, #000 32%);
          mask: radial-gradient(circle, transparent 30%, #000 32%);
}
.service--ad {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin: 24px 0;
}
.service--ad .service__caps { grid-template-columns: 1fr; }

/* =================== Contact =================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
  align-items: start;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
  transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.contact-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand-1);
}
.contact-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--gradient-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  border: 1px solid var(--line);
}
.contact-card__icon img { width: 24px; height: 24px; }
.contact-card h3 { font-size: 17px; margin-bottom: 4px; }
.contact-card p { color: var(--ink-mute); font-size: 14px; line-height: 1.5; }
.contact-card a { color: var(--brand-1); font-weight: 600; }

.form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
}
.form__notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(77, 139, 255, .08);
  border: 1px solid rgba(77, 139, 255, .3);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 22px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}
.form__notice img { width: 22px; height: 22px; flex: 0 0 22px; margin-top: 2px; }

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .02em;
}
.field label .req { color: var(--brand-3); }
.field input,
.field select,
.field textarea {
  font: inherit;
  background: var(--bg-elev);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 15px;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  outline: none;
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand-1);
  background: var(--surface);
}
.field textarea { min-height: 130px; resize: vertical; }
.field--error input,
.field--error select,
.field--error textarea {
  border-color: var(--danger);
  background: rgba(255, 107, 107, .06);
}
.field__error { color: var(--danger); font-size: 12.5px; min-height: 16px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field__hint { color: var(--ink-mute); font-size: 12.5px; }

.form__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.form__status {
  font-size: 14px;
  color: var(--ink-mute);
}
.form__status.is-success { color: var(--ok); }
.form__status.is-error { color: var(--danger); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.step__num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand-3);
  margin-bottom: 8px;
}
.step h4 { font-size: 16px; margin-bottom: 6px; }
.step p { color: var(--ink-mute); font-size: 13.5px; line-height: 1.5; }

/* FAQ accordion */
.faq {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 22px;
  margin-bottom: 12px;
  transition: border-color var(--t-base) var(--ease);
}
.faq[open] { border-color: var(--line-2); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  transition: color var(--t-fast) var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  background: url("/images/icons/icon-arrow-right.svg") center/contain no-repeat;
  transition: transform var(--t-base) var(--ease);
  filter: brightness(0) saturate(100%) invert(70%) sepia(58%) saturate(526%) hue-rotate(196deg) brightness(101%) contrast(101%);
}
.faq[open] summary { color: #fff; }
.faq[open] summary::after {
  transform: rotate(90deg);
  filter: brightness(0) saturate(100%) invert(78%) sepia(53%) saturate(606%) hue-rotate(101deg) brightness(101%) contrast(101%);
}
.faq__body {
  padding: 0 0 22px;
  color: var(--ink-mute);
  font-size: 15px;
  line-height: 1.65;
}

/* =================== Mascots (decorative) =================== */
.mascot {
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .35));
  user-select: none;
}
.mascot--float { animation: float 5.5s ease-in-out infinite; }
.mascot--float-slow { animation: float 8s ease-in-out infinite; }
.mascot--float-fast { animation: float 4s ease-in-out infinite; }

/* =================== Legal pages =================== */
.legal {
  position: relative;
  padding: 140px 0 80px;
}
.legal__grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.legal__toc {
  position: sticky;
  top: 100px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.legal__toc h2 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--ink-mute);
  margin-bottom: 14px;
}
.legal__toc ol { counter-reset: toc; }
.legal__toc li { counter-increment: toc; margin-bottom: 2px; }
.legal__toc a {
  display: block;
  padding: 6px 0;
  font-size: 13.5px;
  color: var(--ink-mute);
  border-left: 2px solid transparent;
  padding-left: 10px;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.legal__toc a::before {
  content: counter(toc) ". ";
  color: var(--ink-mute);
  font-weight: 600;
  margin-right: 4px;
}
.legal__toc a:hover { color: var(--ink); }
.legal__toc a.is-active {
  color: #fff;
  border-left-color: var(--brand-1);
}
.legal__toc .toc-sub {
  padding-left: 26px;
  font-size: 12.5px;
}

.legal__body {
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  max-width: 780px;
}
.legal__body h2 {
  font-family: var(--font-sans);
  font-size: clamp(24px, 2.4vw, 32px);
  margin: 56px 0 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 100px;
  color: #fff;
  letter-spacing: -.01em;
}
.legal__body h2:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 12px;
}
.legal__body h3 {
  font-family: var(--font-sans);
  font-size: clamp(18px, 1.6vw, 22px);
  margin: 32px 0 10px;
  color: var(--ink);
  scroll-margin-top: 100px;
}
.legal__body p { margin: 0 0 18px; }
.legal__body ul,
.legal__body ol { margin: 0 0 18px 22px; }
.legal__body ul li,
.legal__body ol li { list-style: disc; margin-bottom: 6px; }
.legal__body ol li { list-style: decimal; }
.legal__body strong { color: #fff; }

.legal__lead {
  font-family: var(--font-sans);
  background: var(--gradient-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 0 0 36px;
  font-size: 16px;
  line-height: 1.6;
}
.legal__lead dl { display: grid; gap: 8px; margin: 0; }
.legal__lead dt { font-size: 12px; text-transform: uppercase; letter-spacing: .15em; color: var(--brand-3); font-weight: 700; }
.legal__lead dd { margin: 0; color: var(--ink); }

.legal__callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand-1);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 22px 0;
  font-size: 15.5px;
  color: var(--ink);
  font-family: var(--font-sans);
}
.legal__callout--brand { border-left-color: var(--brand-1); }
.legal__callout--warn { border-left-color: var(--accent); }
.legal__callout--ok { border-left-color: var(--ok); }
.legal__callout strong { color: #fff; }

.legal__updated {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink-mute);
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* =================== 404 =================== */
.page-404 {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.error-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 0 80px;
  text-align: center;
}
.error-stack {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}
.error-code {
  font-size: clamp(120px, 22vw, 240px);
  font-weight: 900;
  line-height: 1;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: -.05em;
  margin-bottom: 12px;
  filter: drop-shadow(0 20px 50px rgba(77, 139, 255, .35));
}
.error-title {
  font-size: clamp(28px, 3.6vw, 44px);
  margin-bottom: 14px;
}
.error-sub {
  color: var(--ink-mute);
  font-size: 17px;
  max-width: 480px;
  margin: 0 auto 28px;
}
.error-mascot {
  margin: 0 auto 24px;
  width: 140px;
}
.error-mascot .mascot {
  width: 100%;
  height: auto;
}
.error-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.bg-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-1);
  box-shadow: 0 0 12px currentColor;
  opacity: .6;
}
.particle--1 { top: 18%; left: 12%; background: var(--brand-1); animation: drift 18s linear infinite; }
.particle--2 { top: 70%; left: 8%;  background: var(--brand-2); animation: drift 22s linear infinite -6s; }
.particle--3 { top: 28%; left: 88%; background: var(--brand-3); animation: drift 20s linear infinite -2s; }
.particle--4 { top: 82%; left: 90%; background: var(--accent); animation: drift 24s linear infinite -10s; }
.particle--5 { top: 50%; left: 50%; background: var(--brand-2); animation: drift 26s linear infinite -14s; }
.particle--6 { top: 12%; left: 60%; background: var(--brand-1); animation: drift 21s linear infinite -3s; }
.particle--7 { top: 90%; left: 38%; background: var(--brand-3); animation: drift 19s linear infinite -8s; }
.particle--8 { top: 38%; left: 24%; background: var(--accent); animation: drift 23s linear infinite -12s; }

/* =================== Utility =================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.divider {
  height: 1px;
  background: var(--line);
  margin: clamp(36px, 5vw, 64px) 0;
  border: 0;
}
.eyebrow-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand-1);
  margin-bottom: 14px;
}

/* Anchor offset for sticky header on legal pages */
:target {
  scroll-margin-top: 100px;
}
