/* SetupAI design tokens. Aeonik Pro: add @font-face in ../fonts/ and set --font-display if licensed. */
:root {
  --bg-deep: #000000;
  --bg-section: #181815;
  --bg-card: #1e1e1e;
  --bg-card-alt: #1a1a1a;
  --bg-card-2: #222222;
  --accent: #f500bc;
  --accent-2: #3979f0;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.6);
  --text-body: rgba(255, 255, 255, 0.7);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-input: rgba(255, 255, 255, 0.2);
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --radius-pill: 9999px;
  --header-h: 72px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  /* Якоря из меню не прячутся под фиксированную шапку */
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
}

.bg-grid {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 75%);
  opacity: 0.5;
}

main,
.site-header,
.site-footer {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

.container-narrow {
  width: min(560px, 100% - 40px);
}

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

.text-accent {
  color: var(--accent);
}

.text-muted {
  color: var(--text-body);
}

.text-center {
  text-align: center;
}

.hide-mobile {
  display: none;
}

@media (min-width: 768px) {
  .hide-mobile {
    display: inline;
  }
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-block: 16px;
  overflow: visible;
  transition: background 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), backdrop-filter 0.35s var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(24, 24, 21, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.lang-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.lang-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  min-width: 40px;
  padding: 0 10px;
  border-radius: 9999px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  transition: background 0.2s var(--ease-out), color 0.2s, box-shadow 0.2s var(--ease-out);
}

.lang-pill-btn:hover {
  color: #fff;
}

.lang-pill-btn.is-active {
  background: linear-gradient(135deg, rgba(245, 0, 188, 0.95), rgba(180, 0, 130, 0.98));
  color: #fff;
  box-shadow: 0 10px 26px rgba(245, 0, 188, 0.25);
}

.lang-pill:focus-within {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  flex-shrink: 0;
}

.logo-img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 44px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
}

.logo-text {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}

.logo-text-setup {
  color: #ffffff;
}

.logo-text-ai {
  color: var(--accent);
}

.logo--footer .logo-img {
  height: 34px;
  max-width: 38px;
  opacity: 0.95;
}

.logo--footer .logo-text {
  font-size: 1.05rem;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--text);
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 22px;
  background: currentColor;
  border-radius: 2px;
  margin-inline: auto;
  transition: transform 0.25s var(--ease-out), opacity 0.25s;
}

.site-header.nav-open .nav-toggle-bar:first-child {
  transform: translateY(4px) rotate(45deg);
}

.site-header.nav-open .nav-toggle-bar:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}

.main-nav a:not(.btn) {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.88);
  padding: 8px 4px;
  transition: color 0.2s;
}

.main-nav a:not(.btn):hover {
  color: var(--accent-2);
}

.btn-nav {
  margin-left: 8px;
}

@media (max-width: 900px) {
  /*
   * Safari/iOS: backdrop-filter на шапке создаёт containing block для position:fixed
   * у потомков — меню оказывается «внутри» полоски хедера и ломается при скролле (.is-scrolled).
   */
  .site-header.is-scrolled {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(18, 18, 17, 0.94);
  }

  .site-header.nav-open {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(10, 10, 10, 0.98);
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    align-content: flex-start;
    padding: 24px 20px 40px;
    background: rgba(10, 10, 10, 0.98);
    gap: 4px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s, visibility 0.25s, transform 0.25s var(--ease-out);
  }

  .site-header.nav-open .main-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav a:not(.btn) {
    padding: 14px 12px;
    font-size: 16px;
    border-bottom: 1px solid var(--border-subtle);
  }

  .btn-nav {
    margin-left: 0;
    margin-top: 16px;
    text-align: center;
    justify-content: center;
  }
}

@media (min-width: 901px) {
  .nav-toggle {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}

.btn:hover {
  transform: scale(1.03);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(245, 0, 188, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 0 32px rgba(245, 0, 188, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
}

.btn-block {
  width: 100%;
}

.icon-inline {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

/* Section typography */
.section-label {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text);
}

.section-head {
  margin-bottom: 48px;
  max-width: 800px;
}

.section {
  padding-block: 96px;
  background: var(--bg-section);
}

.section:nth-of-type(even) {
  background: #0d0d0d;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 32px);
  padding-bottom: 64px;
  background: radial-gradient(ellipse 90% 70% at 85% 45%, rgba(80, 20, 90, 0.45) 0%, transparent 55%), var(--bg-deep);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 40%, rgba(245, 0, 188, 0.12) 0%, transparent 45%);
  pointer-events: none;
}

.hero-deco {
  position: absolute;
  pointer-events: none;
}

.hero-deco--1 {
  width: min(55vw, 420px);
  right: -5%;
  top: 15%;
  opacity: 0.9;
}

.hero-deco--2 {
  width: min(90vw, 700px);
  left: -10%;
  bottom: 10%;
  opacity: 0.7;
}

.hero-inner {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
  }
}

.hero-title {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: clamp(26px, 4.5vw, 46px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  font-style: normal;
  text-wrap: balance;
}

.hero-title-line1 {
  display: inline;
}

@media (max-width: 640px) {
  .hero-title .hero-title-br {
    display: none;
  }
}

.hero-lead-wrap {
  margin: 0 0 36px;
  max-width: 480px;
}

.hero-lead {
  margin: 0;
  font-size: 17px;
  font-weight: 400;
  color: var(--text-body);
  line-height: 1.55;
}

.hero-lead-accent {
  margin-top: 8px;
  font-weight: 600;
  color: var(--accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-orbit {
  position: relative;
  width: min(320px, 70vw);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-ring--a {
  inset: 0;
  border-color: rgba(245, 0, 188, 0.2);
  animation: spin-slow 28s linear infinite;
}

.hero-ring--b {
  inset: 12%;
  border-color: rgba(57, 121, 240, 0.15);
  animation: spin-slow 22s linear infinite reverse;
}

@keyframes spin-slow {
  to {
    transform: rotate(360deg);
  }
}

.hero-icon-stack {
  position: relative;
  z-index: 2;
  width: 44%;
  aspect-ratio: 1;
  border-radius: 24px;
  background: linear-gradient(145deg, #222, #151515);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 60px rgba(245, 0, 188, 0.15);
}

.hero-main-icon {
  width: 48%;
  height: 48%;
  color: var(--accent);
  stroke-width: 1.25;
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 24px;
  transition: box-shadow 0.3s var(--ease-out), border-color 0.3s, transform 0.3s var(--ease-out);
}

.card:hover {
  box-shadow: 0 0 40px rgba(245, 0, 188, 0.18);
  border-color: rgba(245, 0, 188, 0.25);
}

/* Pain */
.pain-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 40px;
}

@media (min-width: 600px) {
  .pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .pain-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card-pain {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.card-pain p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

.card-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--accent-2);
  stroke-width: 2;
}

.pain-footnote {
  max-width: 640px;
  margin-inline: auto;
  font-size: 16px;
}

.services-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-service-wide {
    grid-column: span 2;
  }
}

.card-service {
  position: relative;
  min-height: 180px;
  padding-bottom: 40px;
}

.card-title-accent {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.card-service p {
  margin: 0;
  font-size: 15px;
}

.card-more {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 36px;
  height: 28px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
}

.card-more .icon-inline {
  width: 16px;
  height: 16px;
}

/* Process */
.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 900px) {
  .process-list {
    gap: 48px;
  }
}

.process-step {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .process-step {
    grid-template-columns: min(140px, 28%) 1fr;
    align-items: start;
    gap: 32px;
  }
}

.process-num {
  font-family: var(--font-display);
  font-size: clamp(56px, 10vw, 88px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

/* Градиент на внутреннем span: так корректнее работает background-clip: text в Safari/iOS */
.process-num-inner {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* У предка с transform градиентный clip в WebKit даёт сплошной цвет — только opacity */
.process-list > .process-step.reveal {
  transform: none;
  transition: opacity 0.7s var(--ease-out);
}

.process-list > .process-step.reveal.is-visible {
  transform: none;
}

.process-body h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.process-body p {
  margin: 0;
  font-size: 16px;
}

/* FAQ */
.section-head--faq {
  margin-inline: auto;
  margin-bottom: 28px;
  max-width: 720px;
}

.section-head--faq .section-title {
  text-wrap: balance;
}

.faq-list {
  width: min(720px, 100%);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.25s var(--ease-out);
}

.faq-item:hover {
  border-color: rgba(245, 0, 188, 0.22);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
}

.faq-item[open] {
  border-color: rgba(245, 0, 188, 0.35);
  background: linear-gradient(145deg, rgba(245, 0, 188, 0.06) 0%, var(--bg-card) 42%, rgba(57, 121, 240, 0.04) 100%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(245, 0, 188, 0.12);
}

.faq-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.faq-icon-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--bg-card-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.faq-item:hover .faq-icon-wrap {
  border-color: rgba(245, 0, 188, 0.28);
  background: #252525;
}

.faq-item[open] .faq-icon-wrap {
  border-color: rgba(245, 0, 188, 0.4);
  background: rgba(245, 0, 188, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.faq-icon {
  width: 22px;
  height: 22px;
  color: var(--accent);
  stroke-width: 2.1px;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary::marker {
  content: "";
}

.faq-q {
  flex: 1;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--text);
  text-align: left;
}

.faq-toggle {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

.faq-item:hover .faq-toggle {
  border-color: rgba(245, 0, 188, 0.35);
  background: rgba(245, 0, 188, 0.08);
}

.faq-item[open] .faq-toggle {
  border-color: rgba(245, 0, 188, 0.45);
  background: rgba(245, 0, 188, 0.12);
}

.faq-chevron {
  width: 18px;
  height: 18px;
  color: var(--accent);
  stroke-width: 2.25px;
  transition: transform 0.3s var(--ease-out);
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-2);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  border-top: 1px solid transparent;
  transition: max-height 0.42s var(--ease-out), opacity 0.3s var(--ease-out), border-color 0.25s var(--ease-out);
}

.faq-item[open] .faq-panel {
  max-height: 28rem;
  opacity: 1;
  border-top-color: rgba(255, 255, 255, 0.08);
}

.faq-panel-inner {
  overflow: hidden;
}

.faq-a {
  margin: 0;
  padding: 14px 18px 18px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-body);
}

@media (prefers-reduced-motion: reduce) {
  .faq-panel {
    transition: none;
  }

  .faq-chevron {
    transition: none;
  }
}

/* About */
.section-about {
  position: relative;
  overflow: hidden;
}

.section-curve {
  position: absolute;
  left: 0;
  right: 0;
  top: 20%;
  width: 100%;
  height: 200px;
  opacity: 0.6;
  pointer-events: none;
}

.about-split {
  display: grid;
  gap: 36px;
}

@media (min-width: 768px) {
  .about-split {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
  }
}

.about-text {
  margin: 0 0 16px;
  font-size: 16px;
}

.about-cta {
  margin-top: 28px;
}

/* Contact */
.section-contact .contact-sublead {
  margin: 16px auto 0;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.55;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.turnstile-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-note {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 16px 18px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: var(--bg-card-alt);
  border: 1px solid var(--border-input);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-muted);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 0, 188, 0.15);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.site-footer {
  padding: 32px 0 40px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-deep);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-row--top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.footer-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-body);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--accent);
}

/* Внутренние страницы (юридические) */
.site-header--sub .header-inner {
  justify-content: space-between;
}

.site-header--sub .btn-nav {
  margin-left: 0;
}

.page-legal {
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 88px;
  background: var(--bg-section);
  min-height: 100vh;
  min-height: 100dvh;
}

.page-thanks {
  padding-top: 72px;
  padding-bottom: 88px;
  background: radial-gradient(ellipse 90% 70% at 70% 10%, rgba(245, 0, 188, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse 90% 70% at 20% 40%, rgba(57, 121, 240, 0.08) 0%, transparent 55%),
    var(--bg-section);
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: center;
}

.thanks-card {
  width: min(920px, 100%);
  margin-inline: auto;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(145deg, rgba(245, 0, 188, 0.06) 0%, rgba(30, 30, 30, 0.92) 40%, rgba(57, 121, 240, 0.04) 100%);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(245, 0, 188, 0.10);
  padding: 34px;
}

@media (min-width: 700px) {
  .thanks-card {
    padding: 44px;
  }
}

.thanks-kicker {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.thanks-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--text);
}

.thanks-text {
  margin: 0;
  max-width: 46rem;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
}

.thanks-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-legal-inner {
  width: min(720px, 100% - 40px);
  margin-inline: auto;
}

.page-legal h1 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
}

.page-legal-lead {
  margin: 0 0 36px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-body);
}

.page-legal h2 {
  margin: 32px 0 12px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.page-legal a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-legal a:hover {
  color: var(--accent);
}

.page-legal .btn {
  text-decoration: none;
}

.page-legal .btn.btn-primary {
  color: #fff;
}

.page-legal p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-body);
}

.page-legal ul {
  margin: 0 0 18px;
  padding-left: 1.25rem;
  color: var(--text-body);
}

.page-legal li {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.55;
}

.page-legal-meta {
  margin-top: 40px;
  font-size: 13px;
  color: var(--text-muted);
}

.page-legal-back {
  margin-top: 36px;
}

.footer-copy {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  color: var(--text);
  transition: border-color 0.2s, color 0.2s, transform 0.2s var(--ease-out), box-shadow 0.2s;
}

.footer-social:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(57, 121, 240, 0.2);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover {
    transform: none;
  }

  .hero-ring--a,
  .hero-ring--b {
    animation: none;
  }
}
