/* ═══════════════════════════════════════════════════════════════
   RELAYSITES — Design System
   Font:    Inter 400/500/600/700
   Palette: #111 ink · #F8F7F5 canvas · #6B6B68 muted · #2563EB accent
   Motion:  transform + opacity only, 500ms ease-out spring, 60fps
═══════════════════════════════════════════════════════════════ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #3A3A38;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ── TOKENS ── */
:root {
  --ink:       #111110;
  --ink-2:     #3A3A38;
  --ink-3:     #6B6B68;
  --ink-4:     #9E9E9B;
  --canvas:    #F8F7F5;
  --surface:   #F2F1EE;
  --border:    #E4E3DF;
  --border-2:  #CFCDC8;
  --accent:    #2563EB;
  --accent-d:  #1D4ED8;
  --accent-l:  #EFF3FE;
  --green:     #16A34A;
  --red:       #DC2626;
  --nav-h:     64px;
  --max:       1120px;
  --narrow:    700px;
  --r:         8px;
  --rs:        6px;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --t:         0.22s;
  --t-slow:    0.5s;
}

/* ── LAYOUT ── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 40px; }
.container--narrow { max-width: var(--narrow); }

/* ── ANNOUNCEMENT ── */
.announcement {
  display: none;
  background: var(--accent-l);
  border-bottom: 1px solid #BFCFFC;
  padding: 10px 24px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--accent);
}

/* ── COOKIE BANNER ── */
.cookie {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  z-index: 9000;
  width: min(660px, calc(100vw - 32px));
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.06);
  padding: 18px 22px;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  will-change: opacity, transform;
}
.cookie.is-hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(16px);
  pointer-events: none;
}
.cookie__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie__text { flex: 1; min-width: 180px; }
.cookie__title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 3px;
}
.cookie__sub {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.5;
  margin: 0;
}
.cookie__link {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
.cookie__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.cookie__btn {
  padding: 8px 16px;
  border-radius: var(--rs);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
  transition: background var(--t), border-color var(--t), transform var(--t) var(--ease);
}
.cookie__btn:hover { transform: translateY(-1px); }
.cookie__btn--secondary { background: #fff; color: var(--ink-2); }
.cookie__btn--secondary:hover { background: var(--canvas); border-color: var(--border-2); }
.cookie__btn--primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.cookie__btn--primary:hover { background: var(--accent); border-color: var(--accent); }

/* Cookie modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 9100;
  background: rgba(0,0,0,0.4);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.cookie-modal.is-open { display: flex; }
.cookie-modal__box {
  background: #fff;
  border-radius: var(--r);
  padding: 28px;
  width: min(480px, 100%);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.cookie-modal__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.cookie-modal__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.cookie-modal__item:last-of-type { border: none; }
.cookie-modal__name { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 3px; }
.cookie-modal__desc { font-size: 12.5px; color: var(--ink-3); }
.cookie-toggle { font-size: 11.5px; font-weight: 600; color: var(--green); background: #DCFCE7; padding: 4px 10px; border-radius: 100px; white-space: nowrap; }
.cookie-switch { position: relative; width: 40px; height: 22px; flex-shrink: 0; }
.cookie-switch input { opacity: 0; width: 0; height: 0; }
.cookie-switch__track {
  position: absolute;
  inset: 0;
  background: var(--border-2);
  border-radius: 100px;
  transition: background var(--t);
  cursor: pointer;
}
.cookie-switch__track::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform var(--t) var(--ease);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.cookie-switch input:checked + .cookie-switch__track { background: var(--accent); }
.cookie-switch input:checked + .cookie-switch__track::after { transform: translateX(18px); }
.cookie-modal__actions { display: flex; gap: 10px; margin-top: 20px; justify-content: flex-end; }

/* ── NAVIGATION ── */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  transition: box-shadow var(--t);
}
nav.scrolled { box-shadow: 0 1px 12px rgba(0,0,0,0.06); }
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  flex-shrink: 0;
  transition: opacity var(--t);
}
.nav__logo:hover { opacity: 0.7; }
.logo-mark { flex-shrink: 0; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  margin-left: 12px;
}
.nav__links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-3);
  padding: 6px 10px;
  border-radius: var(--rs);
  transition: color var(--t), background var(--t);
  white-space: nowrap;
}
.nav__links a:hover { color: var(--ink); background: var(--canvas); }
.nav__right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

/* Auth nav buttons */
.auth-signin-btn {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--rs);
  padding: 7px 16px;
  cursor: pointer;
  transition: border-color var(--t), background var(--t), transform var(--t) var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
}
.auth-signin-btn:hover {
  border-color: var(--border-2);
  background: #fff;
  transform: translateY(-1px);
}
.auth-signout-btn {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--rs);
  padding: 5px 12px;
  transition: border-color var(--t), color var(--t);
}
.auth-signout-btn:hover { border-color: var(--border-2); color: var(--ink); }

/* Hamburger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  margin-left: auto;
  -webkit-tap-highlight-color: transparent;
}
.nav__burger span { display: block; width: 20px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: all var(--t); }

/* Mobile drawer */
.drawer {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 12px 20px 20px;
  z-index: 190;
  display: none;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
}
.drawer.open { display: flex; }
.drawer a {
  display: block;
  padding: 13px 4px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  border-bottom: 1px solid var(--border);
  transition: color var(--t);
}
.drawer a:last-child { border: none; }
.drawer a:hover { color: var(--ink); }
.drawer__divider { height: 1px; background: var(--border); margin: 8px 0; }
.drawer__cta { color: var(--accent); font-weight: 600; border: none !important; margin-top: 4px; }
.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 189;
  background: rgba(0,0,0,0.2);
}
.drawer-overlay.open { display: block; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--rs);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--t), border-color var(--t), color var(--t),
              transform var(--t) var(--ease), box-shadow var(--t);
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn svg { flex-shrink: 0; transition: transform var(--t) var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--dark {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 0 1px 2px rgba(0,0,0,0.12);
}
.btn--dark:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(37,99,235,0.2); }

.btn--ghost {
  background: transparent;
  color: var(--ink-2);
  border-color: var(--border);
}
.btn--ghost:hover { background: var(--canvas); border-color: var(--border-2); color: var(--ink); transform: translateY(-2px); }

.btn--outline {
  background: #fff;
  color: var(--ink);
  border-color: var(--border);
}
.btn--outline:hover { background: var(--canvas); border-color: var(--border-2); transform: translateY(-1px); }

.btn--sm { padding: 7px 16px; font-size: 13px; }
.w-full { width: 100%; justify-content: center; padding-top: 12px; padding-bottom: 12px; }

/* ── TYPOGRAPHY ── */
.eyebrow {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 16px;
}
.h2 em { font-style: italic; font-weight: 400; color: var(--accent); }
.body-lg { font-size: 17px; color: var(--ink-2); line-height: 1.7; margin-bottom: 14px; }
.section-sub { font-size: 16px; color: var(--ink-3); line-height: 1.65; max-width: 500px; margin-top: 12px; }
p { color: var(--ink-3); line-height: 1.68; margin-bottom: 10px; }
p:last-child { margin-bottom: 0; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  margin-bottom: 20px;
}
.tag::before { content: ''; display: inline-block; width: 20px; height: 1px; background: var(--ink-4); }

/* ── SECTIONS ── */
.section { padding: 96px 0; }
.section--alt { background: var(--canvas); }
.section-head { margin-bottom: 52px; }
.section-head .h2 { margin-top: 6px; }

/* ── GRIDS ── */
.grid {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); gap: 20px; background: none; border: none; border-radius: 0; }
.grid--pricing { gap: 16px; background: none; border: none; border-radius: 0; align-items: start; }

/* ── HERO ── */
.hero {
  padding: calc(var(--nav-h) + 80px) 0 96px;
  border-bottom: 1px solid var(--border);
}
.hero__content { max-width: 720px; }
.hero__title {
  font-size: clamp(44px, 6.5vw, 80px);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.038em;
  color: var(--ink);
  margin-bottom: 22px;
}
.hero__sub {
  font-size: 18px;
  color: var(--ink-3);
  line-height: 1.65;
  max-width: 500px;
  margin-bottom: 36px;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; align-items: center; }
.hero__trust {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}
.hero__trust li {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-4);
  padding: 0 16px;
  border-left: 1px solid var(--border);
  line-height: 1;
}
.hero__trust li:first-child { padding-left: 0; border-left: none; }

/* ── STRIP ── */
.strip {
  background: var(--canvas);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.strip .container { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.strip__label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-4);
  white-space: nowrap;
  flex-shrink: 0;
}
.strip__items { display: flex; flex-wrap: wrap; }
.strip__items span {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  padding: 4px 14px;
  border-left: 1px solid var(--border);
  white-space: nowrap;
}
.strip__items span:first-child { border-left: none; padding-left: 0; }

/* ── SPLIT ── */
.split { display: grid; grid-template-columns: 1fr 1.5fr; gap: 72px; align-items: start; }
.split__left .h2 { margin-top: 6px; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; margin-top: 28px; }
.value { background: #fff; padding: 18px 16px; transition: background var(--t); }
.value:hover { background: var(--canvas); }
.value strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.value span { font-size: 13px; color: var(--ink-3); line-height: 1.5; }

/* ── STATS ── */
.stats-row { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}
.stat { background: #fff; padding: 32px 28px; transition: background var(--t); }
.stat:hover { background: var(--canvas); }
.stat__n { display: block; font-size: 34px; font-weight: 700; letter-spacing: -0.04em; color: var(--ink); line-height: 1; margin-bottom: 6px; }
.stat__l { display: block; font-size: 13px; color: var(--ink-3); }

/* ── CARDS (services) ── */
.card { background: #fff; padding: 28px 24px; transition: background var(--t); position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.card:hover { background: var(--canvas); }
.card:hover::before { transform: scaleX(1); }
.card__num { font-size: 11px; font-weight: 600; color: var(--ink-4); letter-spacing: 0.1em; margin-bottom: 14px; }
.card__title { font-size: 15.5px; font-weight: 600; color: var(--ink); margin-bottom: 9px; letter-spacing: -0.015em; }
.card__body { font-size: 13.5px; color: var(--ink-3); line-height: 1.65; margin-bottom: 16px; }
.card__list { display: flex; flex-direction: column; gap: 6px; }
.card__list li { font-size: 12.5px; color: var(--ink-3); padding-left: 14px; position: relative; }
.card__list li::before { content: '—'; position: absolute; left: 0; color: var(--ink-4); font-size: 10px; }

/* ── STEPS (process) ── */
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 26px 22px;
  transition: border-color var(--t), transform var(--t) var(--ease), box-shadow var(--t);
  will-change: transform;
}
.step:hover { border-color: var(--border-2); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.step__num { font-size: 11px; font-weight: 700; color: var(--accent); letter-spacing: 0.08em; margin-bottom: 12px; }
.step h3 { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--ink-3); line-height: 1.6; margin: 0; }

/* CTA block */
.cta-block {
  margin-top: 40px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: #fff;
  padding: 52px 40px;
  text-align: center;
}
.cta-block__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  background: #DCFCE7;
  border: 1px solid #BBF7D0;
  border-radius: 100px;
  padding: 5px 13px;
  margin-bottom: 14px;
}
.cta-block__badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 2.5s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.7)} }
.cta-block p { font-size: 15.5px; color: var(--ink-3); margin-bottom: 24px; max-width: 420px; margin-left: auto; margin-right: auto; }

/* ── PRICING ── */
.price {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 30px 26px;
  position: relative;
  transition: border-color var(--t), transform var(--t) var(--ease), box-shadow var(--t);
  will-change: transform;
}
.price:hover { border-color: var(--border-2); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.price--featured { border-color: var(--accent); background: var(--accent-l); }
.price--featured:hover { border-color: var(--accent); }
.price__badge {
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 13px;
  border-radius: 0 0 var(--rs) var(--rs);
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.price__tier { font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.price__amount { font-size: 40px; font-weight: 700; letter-spacing: -0.04em; color: var(--ink); line-height: 1; margin-bottom: 4px; }
.price__period { font-size: 13px; color: var(--ink-4); margin-bottom: 22px; }
.price__rule { border: none; border-top: 1px solid var(--border); margin-bottom: 22px; }
.price__feats { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.price__feats li { font-size: 13.5px; color: var(--ink-2); padding-left: 20px; position: relative; }
.price__feats li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 600; font-size: 12px; }

/* ── FAQ ── */
.faq { margin-top: 8px; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item:first-child { border-top: 1px solid var(--border); }
.faq__q {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  gap: 20px;
  transition: color var(--t);
}
.faq__q:hover { color: var(--accent); }
.faq__icon { flex-shrink: 0; color: var(--ink-3); transition: transform 0.3s var(--ease), color var(--t); }
.faq__item.open .faq__icon { transform: rotate(180deg); color: var(--accent); }
.faq__ans { max-height: 0; overflow: hidden; transition: max-height 0.38s var(--ease); }
.faq__body { padding-bottom: 20px; font-size: 14.5px; color: var(--ink-3); line-height: 1.72; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start; }
.contact-info .h2 { margin: 8px 0 14px; }
.contact-rows { margin-top: 32px; display: flex; flex-direction: column; }
.contact-row { padding: 15px 0; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 3px; }
.contact-row:last-child { border: none; }
.contact-row__label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-4); }
.contact-row__val { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.contact-row__val--live { color: var(--green); display: flex; align-items: center; gap: 7px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 2.5s ease-in-out infinite; flex-shrink: 0; }

/* Contact form */
.form { background: var(--canvas); border: 1px solid var(--border); border-radius: var(--r); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.form__row { display: flex; gap: 14px; }
.form__row .form__field { flex: 1; min-width: 0; }
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__field label { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.form__opt { font-size: 12px; font-weight: 400; color: var(--ink-4); margin-left: 4px; }
.form__field input, .form__field textarea, .form__field select {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid var(--border);
  border-radius: var(--rs);
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
  -webkit-appearance: none;
}
.form__field input:focus, .form__field textarea:focus, .form__field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form__field input::placeholder, .form__field textarea::placeholder { color: var(--ink-4); }
.form__field textarea { resize: vertical; min-height: 106px; line-height: 1.6; }
.form__hint { font-size: 11.5px; color: var(--ink-4); text-align: right; margin-top: 3px; }
.form__error { display: none; font-size: 13px; color: var(--red); padding: 10px 13px; background: #FEF2F2; border: 1px solid #FECACA; border-radius: var(--rs); }
.form__error.show { display: block; }
.form__ok { display: none; text-align: center; padding: 52px 24px; }
.form__ok-icon { width: 46px; height: 46px; background: #DCFCE7; color: var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; margin: 0 auto 16px; }
.form__ok-title { font-size: 18px; font-weight: 600; color: var(--ink); margin: 0 0 5px; }
.form__ok-sub { font-size: 14px; color: var(--ink-3); margin: 0; }

/* ── FOOTER ── */
.footer { background: var(--canvas); border-top: 1px solid var(--border); padding: 56px 0 28px; }
.footer__top { display: flex; justify-content: space-between; gap: 48px; margin-bottom: 48px; align-items: flex-start; flex-wrap: wrap; }
.footer__logo { display: flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; margin-bottom: 10px; }
.footer__brand p { font-size: 14px; color: var(--ink-3); max-width: 240px; margin: 0; line-height: 1.6; }
.footer__cols { display: flex; gap: 48px; flex-wrap: wrap; }
.footer__col h4 { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 14px; }
.footer__col ul { display: flex; flex-direction: column; gap: 9px; }
.footer__col a { font-size: 13.5px; color: var(--ink-3); transition: color var(--t); }
.footer__col a:hover { color: var(--ink); }
.footer__bottom { border-top: 1px solid var(--border); padding-top: 22px; }
.footer__bottom p { font-size: 13px; color: var(--ink-4); margin: 0; }

/* ── LEGAL ── */
.legal { display: none; padding: calc(var(--nav-h) + 60px) 0 80px; }
.legal.show { display: block; }
.legal h1 { font-size: 36px; font-weight: 700; letter-spacing: -0.025em; color: var(--ink); margin-bottom: 5px; }
.legal__date { font-size: 13px; color: var(--ink-4); margin-bottom: 40px; display: block; }
.legal h2 { font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin: 26px 0 8px; }
.legal p { font-size: 14.5px; color: var(--ink-2); line-height: 1.75; }
.back-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--ink-3); background: none; border: none; padding: 0; margin-bottom: 24px; transition: color var(--t); font-family: inherit; }
.back-btn:hover { color: var(--ink); }

/* ── ADMIN PANEL ── */
.admin-panel {
  display: none;
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 8000;
  width: 290px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  overflow: hidden;
  font-size: 13px;
}
.admin-panel__head { padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--canvas); display: flex; justify-content: space-between; align-items: center; }
.admin-panel__title { font-size: 11.5px; font-weight: 600; color: var(--ink); text-transform: uppercase; letter-spacing: 0.04em; }
.admin-panel__status { font-size: 11px; color: var(--ink-4); }
.admin-panel__body { padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.admin-panel__input-row { display: flex; gap: 7px; }
.admin-panel__input { flex: 1; padding: 8px 10px; border: 1px solid var(--border); border-radius: var(--rs); font-size: 13px; color: var(--ink); outline: none; transition: border-color var(--t); }
.admin-panel__input:focus { border-color: var(--accent); }
.admin-panel__send { padding: 8px 13px; background: var(--ink); color: #fff; border: none; border-radius: var(--rs); font-size: 12px; font-weight: 600; transition: background var(--t); }
.admin-panel__send:hover { background: var(--accent); }
.admin-panel__error { display: none; font-size: 11.5px; color: var(--red); }
.admin-panel__list { display: flex; flex-direction: column; gap: 6px; max-height: 180px; overflow-y: auto; }
.admin-panel__prompt { padding: 14px; font-size: 12px; color: var(--ink-4); text-align: center; }

/* ── SCROLL REVEAL ── */
/* Content is VISIBLE by default. JS adds .js-ready to body, then animates. */
.reveal {
  opacity: 1;
  transform: none;
}
body.js-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
  will-change: opacity, transform;
}
body.js-ready .reveal.visible { opacity: 1; transform: none; }
/* Stagger siblings slightly when they become visible */
.grid--3 .card.visible:nth-child(2),
.grid--4 .step.visible:nth-child(2),
.stats .stat.visible:nth-child(2) { transition-delay: 0.06s; }
.grid--3 .card.visible:nth-child(3),
.grid--4 .step.visible:nth-child(3),
.stats .stat.visible:nth-child(3) { transition-delay: 0.12s; }
.grid--4 .step.visible:nth-child(4),
.stats .stat.visible:nth-child(4) { transition-delay: 0.18s; }
.grid--3 .card.visible:nth-child(4) { transition-delay: 0.06s; }
.grid--3 .card.visible:nth-child(5) { transition-delay: 0.12s; }
.grid--3 .card.visible:nth-child(6) { transition-delay: 0.18s; }

/* ── RESPONSIVE ── */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__right .btn--sm { display: none; }
  .nav__burger { display: flex; }
  #nav-auth-item { display: none !important; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .grid--4 { grid-template-columns: 1fr 1fr; }
  .grid--pricing { grid-template-columns: 1fr; max-width: 400px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer__top { flex-direction: column; gap: 32px; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .nav__inner { padding: 0 20px; }
  .section { padding: 64px 0; }
  .hero { padding: calc(var(--nav-h) + 48px) 0 64px; }
  .hero__title { font-size: clamp(36px, 10vw, 52px); }
  .hero__sub { font-size: 16px; }
  .hero__trust { gap: 0; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .grid--3 { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: 1fr; }
  .strip__items span { font-size: 12px; padding: 3px 10px; }
  .values { grid-template-columns: 1fr; }
  .form__row { flex-direction: column; }
  .form { padding: 22px; }
  .footer__cols { gap: 24px; }
  .cookie { bottom: 16px; }
  .cookie__inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .cookie__actions { flex-direction: row; width: 100%; }
  .cookie__btn { flex: 1; text-align: center; }
  .cta-block { padding: 36px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ── STABILITY FIXES ─────────────────────────────── */

/* Announcement: hidden by default, shown by JS */
.announcement { display: none; }

/* Admin panel body: hidden by default */
.admin-panel__body { display: none; }

/* Admin link in nav */
.auth-admin-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  padding: 4px 10px;
  border: 1px solid currentColor;
  border-radius: var(--rs);
  text-decoration: none;
  opacity: 0.75;
  transition: opacity var(--t);
}
.auth-admin-link:hover { opacity: 1; }

/* Form: hide ok state by default */
.form__ok { display: none; }

/* Legal: hidden by default */
.legal { display: none; }
.legal.show { display: block; }

/* Cookie banner: starts visible (JS adds .is-hidden immediately) */
.cookie.is-hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(16px);
  pointer-events: none;
}

/* ─── PAGE TRANSITIONS ─── */
body { animation: pageIn 0.3s ease both; }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* ─── SMOOTH LINK TRANSITIONS ─── */
a, button { -webkit-tap-highlight-color: transparent; }

/* ─── FOCUS STYLES (accessibility) ─── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ═══════════════════════════════════════════════════
   VIBRANT UPGRADE — playful, dynamic, impressive
   All GPU-safe. No layout triggers.
═══════════════════════════════════════════════════ */

/* ── New accent palette ── */
:root {
  --accent:   #4F46E5;   /* indigo — richer than blue */
  --accent-d: #4338CA;
  --accent-l: #EEF2FF;
  --violet:   #7C3AED;
  --pink:     #EC4899;
  --amber:    #F59E0B;
  --grad-hero: linear-gradient(135deg, #4F46E5 0%, #7C3AED 50%, #EC4899 100%);
  --grad-subtle: linear-gradient(135deg, #EEF2FF 0%, #FAF5FF 100%);
}

/* ── Hero — vibrant animated gradient background ── */
.hero {
  background: linear-gradient(135deg, #0F0C29 0%, #302B63 40%, #24243e 100%);
  border-bottom: none;
  position: relative;
  overflow: hidden;
}

/* Animated orb blobs behind hero */
.hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.35) 0%, transparent 70%);
  top: -100px; right: -100px;
  animation: blobDrift 12s ease-in-out infinite alternate;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236,72,153,0.25) 0%, transparent 70%);
  bottom: -80px; left: 10%;
  animation: blobDrift 9s ease-in-out infinite alternate-reverse;
  pointer-events: none;
}
@keyframes blobDrift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 30px) scale(1.12); }
}

/* Hero text — white on dark bg */
.hero__content { position: relative; z-index: 1; }
.hero__title   { color: #fff; }
.hero__title em { color: #A78BFA; font-style: italic; }
.hero__sub     { color: rgba(255,255,255,0.72); }
.hero__trust li { color: rgba(255,255,255,0.5); border-color: rgba(255,255,255,0.15); }

/* ── .tag eyebrow — white on dark ── */
.hero .tag { color: rgba(255,255,255,0.55); }
.hero .tag::before { background: rgba(255,255,255,0.3); }

/* ── btn-dark on dark bg — use gradient ── */
.hero .btn--dark {
  background: var(--grad-hero);
  border-color: transparent;
  box-shadow: 0 4px 24px rgba(79,70,229,0.4);
}
.hero .btn--dark:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(124,58,237,0.5);
  background: var(--grad-hero);
}
.hero .btn--ghost {
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.07);
}
.hero .btn--ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}

/* ── Strip — vibrant ── */
.strip {
  background: linear-gradient(90deg, #4F46E5 0%, #7C3AED 100%);
  border: none;
}
.strip__label { color: rgba(255,255,255,0.6); }
.strip__items span {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.2);
  font-weight: 600;
}

/* ── Section alt — subtle gradient ── */
.section--alt { background: var(--grad-subtle); }

/* ── Numbers strip ── */
.stats-row { background: var(--grad-subtle); border: none; }
.stat__n { background: var(--grad-hero); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ── Service cards — gradient top accent line ── */
.card::before { background: var(--grad-hero); }
.card:hover { background: #FAF5FF; }

/* ── Eyebrow — gradient text ── */
.eyebrow {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Process steps — gradient number ── */
.step__num {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 13px; font-weight: 700;
}

/* ── Pricing featured card ── */
.price-card--featured {
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  border-color: transparent;
}
.price-card--featured .price-tier-label { color: rgba(255,255,255,0.7); }
.price-card--featured .price-amount     { color: #fff; }
.price-card--featured .price-period     { color: rgba(255,255,255,0.6); }
.price-card--featured .price-rule       { border-color: rgba(255,255,255,0.2); }
.price-card--featured .price-list li    { color: rgba(255,255,255,0.85); }
.price-card--featured .price-list li::before { color: #86EFAC; }
.price-card--featured .price-popular {
  background: rgba(255,255,255,0.2);
  color: #fff;
}
.price-card--featured .price-cta--primary {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}
.price-card--featured .price-cta--primary:hover {
  background: #F5F3FF;
}

/* ── FAQ open state — gradient icon ── */
.faq__item.open .faq__icon { color: var(--violet); }

/* ── CTA block badge ── */
.cta-block__badge {
  background: var(--accent-l);
  border-color: rgba(79,70,229,0.3);
  color: var(--accent);
}

/* ── Footer — dark gradient ── */
.footer {
  background: linear-gradient(135deg, #0F0C29 0%, #1E1B4B 100%);
  border-top: none;
}
.footer__logo { color: #fff; }
.footer__brand p { color: rgba(255,255,255,0.5); }
.footer__col h4 { color: rgba(255,255,255,0.35); }
.footer__col a { color: rgba(255,255,255,0.55); }
.footer__col a:hover { color: #fff; }
.footer__bottom { border-top-color: rgba(255,255,255,0.08); }
.footer__bottom p { color: rgba(255,255,255,0.3); }

/* ── Nav — frosted with subtle gradient border ── */
nav::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79,70,229,0.3), rgba(124,58,237,0.3), transparent);
  pointer-events: none;
}
nav { position: relative; }

/* ── Reveal — slightly more dramatic ── */
body.js-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

/* ── Floating particles background on hero ── */
.hero-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: particleFloat linear infinite;
  opacity: 0;
  z-index: 0;
}
@keyframes particleFloat {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.3; }
  100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

/* ── Contact form — gradient submit button ── */
.btn--dark {
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  border-color: transparent;
  box-shadow: 0 2px 12px rgba(79,70,229,0.3);
}
.btn--dark:hover {
  background: linear-gradient(135deg, #4338CA 0%, #6D28D9 100%);
  box-shadow: 0 4px 20px rgba(79,70,229,0.45);
}
