* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #09080b;
  --panel: #141216;
  --panel-soft: #1b1720;
  --text: #fbf7fb;
  --muted: #b8aebb;
  --muted-strong: #ded7e0;
  --gold: #ee6fd8;
  --gold-bright: #ff92e7;
  --dash-pink: #ee6fd8;
  --dash-purple: #9f78ff;
  --line: rgba(251, 247, 251, 0.12);
  --line-strong: rgba(251, 247, 251, 0.2);
  --radius: 8px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: Aptos, "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

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

#loader {
  align-items: center;
  background: var(--bg);
  display: flex;
  height: 100%;
  justify-content: center;
  left: 0;
  position: fixed;
  top: 0;
  transition: opacity 0.45s, visibility 0.45s;
  width: 100%;
  z-index: 9999;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-spinner {
  animation: loaderPulse 0.9s var(--ease-in-out) infinite alternate;
  background: url("assets/logo.png") center / cover;
  border: 1px solid rgba(238, 111, 216, 0.28);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(238, 111, 216, 0.2);
  height: 58px;
  width: 58px;
}

@keyframes loaderPulse {
  to {
    opacity: 0.72;
    transform: scale(0.96);
  }
}

.container {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 clamp(1rem, 4vw, 1.5rem);
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

header {
  backdrop-filter: blur(18px);
  background: rgba(9, 8, 11, 0.82);
  border-bottom: 1px solid var(--line);
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1000;
}

nav {
  align-items: center;
  display: flex;
  height: 72px;
  justify-content: space-between;
}

.logo {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-icon {
  border: 1px solid rgba(238, 111, 216, 0.34);
  border-radius: var(--radius);
  height: 42px;
  overflow: hidden;
  width: 42px;
}

.logo-icon img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.logo-text {
  color: var(--gold);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-menu {
  align-items: center;
  display: none;
  gap: 2rem;
  list-style: none;
}

@media (min-width: 1025px) {
  .nav-menu {
    display: flex;
  }
}

.nav-menu > li {
  position: relative;
}

.nav-link {
  color: var(--muted-strong);
  display: block;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  padding: 0.5rem 0;
  text-decoration: none;
  transition: color 0.25s;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--gold);
  outline: none;
}

.dropdown-toggle {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 0.3rem;
}

.dropdown-menu {
  background: rgba(16, 14, 19, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  left: 0;
  list-style: none;
  margin-top: 0.5rem;
  min-width: 240px;
  opacity: 0;
  padding: 0.5rem 0;
  position: absolute;
  top: 100%;
  transform: translateY(-8px);
  transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out), visibility 0.2s var(--ease-out);
  visibility: hidden;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.dropdown-menu a {
  color: var(--muted-strong);
  display: block;
  font-size: 0.9rem;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  background: rgba(238, 111, 216, 0.1);
  color: var(--gold);
  outline: none;
}

.btn-primary,
.btn-primary-large,
.btn-secondary {
  align-items: center;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 700;
  gap: 0.5rem;
  justify-content: center;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.btn-primary,
.btn-primary-large {
  background: linear-gradient(135deg, var(--gold), var(--dash-purple));
  border: 1px solid var(--gold);
  color: #100b12;
}

.btn-primary {
  font-size: 0.875rem;
  padding: 0.65rem 1.4rem;
}

.btn-primary-large {
  font-size: 0.95rem;
  min-height: 54px;
  padding: 1rem 1.85rem;
}

.btn-primary:hover,
.btn-primary-large:hover,
.btn-primary:focus-visible,
.btn-primary-large:focus-visible {
  background: var(--gold-bright);
  box-shadow: 0 18px 44px rgba(238, 111, 216, 0.24);
  outline: none;
  transform: translateY(-1px);
}

.btn-primary:active,
.btn-primary-large:active,
.btn-secondary:active {
  transform: scale(0.98);
}

.btn-secondary {
  background: rgba(251, 247, 251, 0.04);
  border: 1px solid var(--line-strong);
  color: var(--text);
  padding: 0.95rem 1.85rem;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(251, 247, 251, 0.1);
  border-color: rgba(238, 111, 216, 0.5);
  color: var(--text);
  outline: none;
}

.mobile-menu-toggle {
  background: transparent;
  border: 0;
  color: var(--text);
  cursor: pointer;
  display: block;
  font-size: 1.7rem;
  line-height: 1;
  min-height: 44px;
  min-width: 44px;
  padding: 0.5rem;
}

@media (min-width: 1025px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu {
  background: rgba(9, 8, 11, 0.98);
  border-top: 1px solid var(--line);
  display: none;
  left: 0;
  max-height: calc(100dvh - 72px);
  overflow-y: auto;
  padding: 1.5rem 2rem 2rem;
  position: fixed;
  right: 0;
  top: 72px;
  z-index: 999;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu li + li {
  margin-top: 0.2rem;
}

.mobile-menu .nav-link {
  min-height: 44px;
  padding: 0.75rem 0;
}

.mobile-menu .dropdown-menu {
  background: transparent;
  border: 0;
  display: none;
  margin: 0;
  opacity: 1;
  padding-left: 1rem;
  position: static;
  transform: none;
  visibility: visible;
}

.mobile-menu .dropdown.active .dropdown-menu {
  display: block;
}

.mobile-menu .btn-primary {
  margin-top: 1rem;
  width: 100%;
}

.hero-section {
  min-height: calc(100dvh - 72px);
  margin-top: 72px;
  padding: clamp(5rem, 12vh, 8rem) 0;
  overflow: hidden;
  position: relative;
}

.hero-slider,
.hero-slide {
  inset: 0;
  position: absolute;
}

.hero-slide {
  opacity: 0;
  transition: opacity 0.7s var(--ease-out);
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  filter: saturate(1.08) contrast(1.06);
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(9, 8, 11, 0.93), rgba(9, 8, 11, 0.74) 42%, rgba(9, 8, 11, 0.22) 78%),
    linear-gradient(180deg, rgba(9, 8, 11, 0.18), rgba(9, 8, 11, 0.82));
  inset: 0;
  position: absolute;
}

.hero-content {
  align-items: center;
  display: flex;
  min-height: calc(100dvh - 72px - clamp(10rem, 24vh, 16rem));
  position: relative;
  z-index: 2;
}

.hero-text {
  max-width: 610px;
}

.hero-subtitle,
.section-subtitle {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(3.25rem, 7vw, 6.4rem);
  font-weight: 820;
  letter-spacing: -0.04em;
  line-height: 0.93;
  margin-bottom: 1.5rem;
}

.hero-description {
  color: var(--muted-strong);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.slider-control {
  align-items: center;
  background: rgba(9, 8, 11, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: var(--text);
  cursor: pointer;
  display: flex;
  font-size: 2rem;
  height: 50px;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
  width: 50px;
  z-index: 3;
}

.slider-control:hover {
  background: var(--gold);
  color: #100b12;
}

.slider-control.prev {
  left: 1rem;
}

.slider-control.next {
  right: 1rem;
}

.slider-dots {
  bottom: 2rem;
  display: flex;
  gap: 0.75rem;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 3;
}

.slider-dot {
  background: rgba(255, 255, 255, 0.45);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 12px;
  padding: 0;
  transition: background-color 0.2s var(--ease-out), width 0.2s var(--ease-out);
  width: 12px;
}

.slider-dot.active {
  background: var(--gold);
  width: 46px;
}

section {
  padding: 5rem 0;
}

@media (min-width: 1024px) {
  section {
    padding: 7rem 0;
  }
}

.section-bg-dark {
  background: #100f13;
}

.section-bg-black {
  background: #09080b;
}

.section-bg-accent {
  background:
    linear-gradient(135deg, rgba(238, 111, 216, 0.1), transparent 38%),
    #0f0c13;
}

.section-header {
  margin-bottom: 3.5rem;
  max-width: 680px;
  text-align: left;
}

.section-title {
  font-size: clamp(2.15rem, 4vw, 3.7rem);
  font-weight: 780;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin-bottom: 1.35rem;
}

.section-divider {
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 999px;
  height: 3px;
  margin: 0 0 1.5rem;
  width: 120px;
}

.section-description {
  color: var(--muted);
  max-width: 42rem;
}

.grid {
  display: grid;
  gap: 2.5rem;
}

.grid-2,
.grid-3 {
  grid-template-columns: 1fr;
}

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

@media (min-width: 1024px) {
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem;
  }
}

.image-container {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 34px 80px rgba(4, 3, 5, 0.48);
  overflow: hidden;
  position: relative;
}

.image-container::after {
  border: 1px solid rgba(251, 247, 251, 0.08);
  border-radius: inherit;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.image-container img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.copy {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.35rem;
}

.story-section .grid-2,
.profile-section .grid-2 {
  align-items: center;
}

.story-section .image-container {
  aspect-ratio: 1.08;
}

.profile-section .image-container {
  aspect-ratio: 4 / 5;
}

.intro-copy,
.profile-copy {
  max-width: 560px;
}

.stats {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  margin: 2rem 0;
}

.stat-item {
  background: rgba(251, 247, 251, 0.035);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

.stat-number {
  color: var(--gold);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 780;
  letter-spacing: -0.035em;
  line-height: 1;
}

.stat-label {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 0.45rem;
}

.features-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.card {
  background: linear-gradient(180deg, rgba(27, 23, 32, 0.96), rgba(15, 12, 18, 0.96));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 100%;
  overflow: hidden;
  padding: 1.55rem;
  position: relative;
  transition: border-color 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out), transform 0.22s var(--ease-out);
}

@media (min-width: 900px) {
  .features-grid {
    grid-auto-rows: minmax(210px, auto);
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .features-grid .card:nth-child(1) {
    grid-column: span 6;
    grid-row: span 2;
  }

  .features-grid .card:nth-child(2) {
    grid-column: span 6;
  }

  .features-grid .card:nth-child(3),
  .features-grid .card:nth-child(4) {
    grid-column: span 3;
  }

  .features-grid .card:nth-child(5) {
    grid-column: span 4;
  }

  .features-grid .card:nth-child(6) {
    grid-column: span 8;
  }
}

@media (min-width: 768px) and (max-width: 899px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features-grid .card:nth-child(1),
  .features-grid .card:nth-child(6) {
    grid-column: 1 / -1;
  }
}

@media (hover: hover) and (pointer: fine) {
  .card:hover {
    border-color: rgba(238, 111, 216, 0.45);
    box-shadow: 0 24px 60px rgba(238, 111, 216, 0.11);
    transform: translateY(-4px);
  }
}

.card-icon {
  align-items: center;
  background: rgba(238, 111, 216, 0.1);
  border: 1px solid rgba(238, 111, 216, 0.24);
  border-radius: var(--radius);
  display: flex;
  height: 62px;
  justify-content: center;
  margin-bottom: 1.5rem;
  width: 62px;
}

.card-icon img {
  height: 42px;
  object-fit: contain;
  width: 42px;
}

.card-title {
  color: var(--text);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.85rem;
}

.card-description {
  color: var(--muted);
  line-height: 1.7;
}

.features-grid .card:nth-child(1) {
  background:
    linear-gradient(135deg, rgba(238, 111, 216, 0.2), rgba(159, 120, 255, 0.1)),
    linear-gradient(180deg, rgba(27, 23, 32, 0.98), rgba(15, 12, 18, 0.98));
}

.features-grid .card:nth-child(1) .card-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.features-grid .card:nth-child(2),
.features-grid .card:nth-child(6) {
  background:
    linear-gradient(90deg, rgba(12, 10, 15, 0.94), rgba(12, 10, 15, 0.64)),
    url("assets/pic_2.png") center / cover;
}

.features-grid .card:nth-child(6) {
  background:
    linear-gradient(90deg, rgba(12, 10, 15, 0.94), rgba(12, 10, 15, 0.58)),
    url("assets/pic_1.png") center / cover;
}

.features-grid .card:nth-child(2) .card-description,
.features-grid .card:nth-child(6) .card-description {
  color: rgba(251, 247, 251, 0.82);
  max-width: 34rem;
}

.check-list {
  list-style: none;
  margin: 2rem 0;
}

.check-list li {
  align-items: flex-start;
  color: var(--muted);
  display: flex;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.check-icon {
  background: rgba(238, 111, 216, 0.13);
  border: 1px solid rgba(238, 111, 216, 0.3);
  border-radius: 50%;
  flex: 0 0 auto;
  height: 24px;
  margin-top: 0.25rem;
  position: relative;
  width: 24px;
}

.check-icon::after {
  border-bottom: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  content: "";
  height: 10px;
  left: 8px;
  position: absolute;
  top: 5px;
  transform: rotate(45deg);
  width: 5px;
}

.quote-panel {
  background:
    linear-gradient(135deg, rgba(238, 111, 216, 0.13), rgba(159, 120, 255, 0.08)),
    rgba(251, 247, 251, 0.035);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 3rem);
}

.quote-panel p {
  color: var(--text);
  font-size: clamp(1.45rem, 3vw, 2.55rem);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.testimonial-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
}

.stars {
  color: var(--gold);
  letter-spacing: 0.2em;
  margin-bottom: 1.4rem;
}

.testimonial-text {
  color: var(--muted-strong);
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  color: var(--gold);
  font-size: 1.2rem;
}

.testimonial-role {
  color: var(--muted);
}

.gallery-item {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease-out);
  width: 100%;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  align-items: flex-end;
  background: linear-gradient(to top, rgba(9, 8, 11, 0.78), transparent);
  display: flex;
  inset: 0;
  opacity: 0;
  padding: 1.25rem;
  position: absolute;
  transition: opacity 0.25s var(--ease-out);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.pill {
  color: var(--gold);
  font-weight: 700;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-grid {
  display: grid;
  gap: 1.25rem;
}

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

.form-input,
.form-textarea,
.form-select {
  background: #151219;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font: inherit;
  padding: 1rem 1.2rem;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
  width: 100%;
}

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

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(238, 111, 216, 0.11);
  outline: none;
}

.policy-note {
  background: rgba(238, 111, 216, 0.08);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  margin: 1.5rem 0;
  padding: 1.25rem;
}

.page-hero {
  background:
    linear-gradient(135deg, rgba(238, 111, 216, 0.12), transparent 38%),
    linear-gradient(135deg, #151219, var(--bg));
  border-bottom: 1px solid var(--line);
  margin-top: 72px;
  padding: 7rem 0 4.5rem;
  text-align: center;
}

.page-hero-title {
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0 auto 1rem;
  max-width: 18ch;
  text-wrap: balance;
}

.page-hero .section-description {
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
  line-height: 1.7;
  margin-inline: auto;
  max-width: 44rem;
  text-wrap: pretty;
}

.breadcrumb {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.breadcrumb a {
  color: var(--gold);
  text-decoration: none;
}

.legal-content {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  line-height: 1.8;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.legal-page {
  padding: clamp(2.5rem, 6vw, 6rem) 0;
}

.legal-layout {
  align-items: start;
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin: 0 auto;
  max-width: 1180px;
}

.legal-toc {
  background: rgba(20, 18, 22, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.legal-toc-title {
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  padding: 1rem 1.1rem;
  text-transform: uppercase;
}

.legal-toc nav {
  align-items: stretch;
  display: grid;
  gap: 0.35rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  height: auto;
  padding: 0.65rem;
}

.legal-toc a {
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
  min-width: 0;
  padding: 0.65rem 0.75rem;
  text-decoration: none;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  background: rgba(238, 111, 216, 0.1);
  color: var(--gold-bright);
  outline: none;
}

.legal-toc a.is-active,
.legal-toc a[aria-current="location"] {
  background: linear-gradient(90deg, rgba(238, 111, 216, 0.14), rgba(159, 120, 255, 0.06));
  box-shadow: inset 2px 0 0 var(--gold);
  color: var(--text);
}

.legal-document {
  min-width: 0;
}

.legal-content h2,
.legal-content h3 {
  color: var(--text);
  line-height: 1.25;
  scroll-margin-top: 96px;
}

.legal-content h2 {
  border-top: 1px solid var(--line);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  letter-spacing: -0.02em;
  margin: 2.75rem 0 1rem;
  padding-top: 2rem;
}

.legal-content h2:first-of-type {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.legal-content h3 {
  font-size: 1.05rem;
  margin: 1.65rem 0 0.65rem;
}

.legal-content p,
.legal-content li {
  overflow-wrap: anywhere;
}

.legal-content p + p,
.legal-content ul + p,
.legal-content ol + p,
.legal-content .table-scroll + p,
.legal-content .legal-note + p {
  margin-top: 1rem;
}

.legal-content ul,
.legal-content ol {
  margin: 0.9rem 0 0 1.25rem;
  padding-left: 0.6rem;
}

.legal-content li + li {
  margin-top: 0.55rem;
}

.legal-content strong {
  color: var(--muted-strong);
}

.legal-content a {
  color: var(--gold-bright);
  text-decoration-color: rgba(255, 146, 231, 0.5);
  text-underline-offset: 0.18em;
}

.legal-content a:hover,
.legal-content a:focus-visible {
  color: var(--text);
  outline: none;
  text-decoration-color: var(--text);
}

.legal-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
}

.legal-content .btn-primary-large {
  color: #100b12;
  text-decoration: none;
}

.legal-content .btn-primary-large:hover,
.legal-content .btn-primary-large:focus-visible {
  color: #100b12;
}

.legal-lead {
  border-left: 2px solid var(--gold);
  color: var(--muted-strong);
  font-size: clamp(1.02rem, 2vw, 1.16rem);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 72ch;
  padding-left: 1rem;
}

.legal-meta {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(3, minmax(0, max-content));
  justify-content: center;
  margin: 1.5rem auto 0;
}

.legal-meta > div {
  align-items: center;
  background: rgba(20, 18, 22, 0.74);
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  gap: 0.7rem;
  grid-template-columns: auto auto;
  min-height: 46px;
  padding: 0.55rem 0.75rem;
}

.legal-meta dt {
  color: var(--gold-bright);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-align: left;
  text-transform: uppercase;
}

.legal-meta dd {
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 600;
  margin: 0;
}

.legal-meta a {
  color: inherit;
  text-decoration-color: rgba(255, 146, 231, 0.5);
  text-underline-offset: 0.18em;
}

.legal-note {
  background: linear-gradient(135deg, rgba(238, 111, 216, 0.1), rgba(159, 120, 255, 0.06));
  border: 1px solid rgba(238, 111, 216, 0.28);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  color: var(--muted-strong);
  margin: 1.5rem 0;
  padding: 1rem 1.1rem;
}

.legal-note strong {
  color: var(--gold-bright);
}

.table-scroll {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 1.25rem 0;
  overflow-x: auto;
}

.legal-content table {
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 680px;
  width: 100%;
}

.legal-content th,
.legal-content td {
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 1rem;
  text-align: left;
  vertical-align: top;
}

.legal-content th {
  background: var(--panel-soft);
  color: var(--text);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal-content tr:last-child td {
  border-bottom: 0;
}

.legal-content address {
  color: var(--muted-strong);
  font-style: normal;
  margin-top: 0.85rem;
}

.legal-document > section[id] {
  scroll-margin-top: 96px;
}

.legal-content.legal-document > section {
  padding: 0;
}

.legal-content.legal-document > section + section {
  border-top: 1px solid var(--line);
  margin-top: 2.75rem;
  padding-top: 2rem;
}

.legal-content.legal-document > section > h2 {
  border-top: 0;
  margin: 0 0 1rem;
  padding-top: 0;
  text-wrap: balance;
}

.legal-content.legal-document > section > p,
.legal-content.legal-document > section > ul,
.legal-content.legal-document > section > address {
  max-width: 82ch;
}

.legal-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 1.25rem 0;
}

.legal-grid .legal-note {
  margin: 0;
}

.legal-grid .legal-note h3 {
  margin-top: 0;
}

@media (min-width: 960px) {
  .legal-layout {
    grid-template-columns: minmax(210px, 0.32fr) minmax(0, 1fr);
  }

  .legal-toc {
    max-height: calc(100vh - 112px);
    position: sticky;
    top: 92px;
  }

  .legal-toc nav {
    display: grid;
    grid-template-columns: 1fr;
    overflow: auto;
    padding: 0.7rem;
  }

  .legal-toc a {
    white-space: normal;
  }
}

@media (max-width: 600px) {
  .legal-content {
    padding: 1.35rem 1.1rem 2rem;
  }

  .legal-toc {
    margin-inline: 0;
  }

  .legal-toc-title {
    padding: 0.8rem 0.9rem;
  }

  .legal-toc nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0.55rem;
  }

  .legal-toc a {
    font-size: 0.78rem;
    padding: 0.65rem;
  }

  .legal-content h2 {
    margin-top: 2.25rem;
    padding-top: 1.65rem;
  }

  .legal-grid {
    grid-template-columns: 1fr;
  }

  .legal-content.legal-document > section + section {
    margin-top: 2.2rem;
    padding-top: 1.55rem;
  }

  .legal-meta {
    grid-template-columns: 1fr;
    max-width: 24rem;
  }

  .legal-meta > div {
    grid-template-columns: minmax(5.5rem, auto) 1fr;
  }

  .legal-meta dd {
    overflow-wrap: anywhere;
    text-align: right;
  }
}

.center-panel {
  margin: 0 auto;
  max-width: 760px;
  text-align: center;
}

footer {
  background: #08070a;
  border-top: 1px solid var(--line);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-column h3 {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-column p {
  color: var(--muted);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold);
  outline: none;
}

.footer-bottom {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom-links {
  display: flex;
  gap: 1.25rem;
}

.footer-bottom-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-bottom-links a:hover {
  color: var(--gold);
}

.mt-8 {
  margin-top: 2rem;
}

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

.max-w-4xl {
  margin-left: auto;
  margin-right: auto;
  max-width: 56rem;
}

@media (max-width: 767px) {
  header {
    background: rgba(9, 8, 11, 0.94);
  }

  nav {
    height: 64px;
  }

  .logo {
    gap: 0.55rem;
  }

  .logo-icon {
    height: 36px;
    width: 36px;
  }

  .logo-text {
    font-size: 0.95rem;
  }

  .mobile-menu {
    max-height: calc(100dvh - 64px);
    padding: 1rem clamp(1rem, 4vw, 1.5rem) 1.5rem;
    top: 64px;
  }

  section {
    padding: 4.25rem 0;
  }

  .hero-section {
    margin-top: 64px;
    min-height: calc(100dvh - 64px);
    padding: clamp(3.25rem, 10vh, 5rem) 0 3.75rem;
  }

  .hero-slide img {
    object-position: 62% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(9, 8, 11, 0.94), rgba(9, 8, 11, 0.72) 58%, rgba(9, 8, 11, 0.44)),
      linear-gradient(180deg, rgba(9, 8, 11, 0.2), rgba(9, 8, 11, 0.88));
  }

  .hero-content {
    align-items: flex-end;
    min-height: calc(100dvh - 64px - clamp(7rem, 20vh, 10rem));
  }

  .hero-title {
    font-size: clamp(2.85rem, 15vw, 4rem);
    line-height: 0.94;
  }

  .hero-description {
    font-size: 1rem;
    max-width: 22rem;
  }

  .hero-buttons a {
    width: 100%;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: clamp(2rem, 11vw, 3rem);
    line-height: 1;
  }

  .grid {
    gap: 1.75rem;
  }

  .story-section .grid-2,
  .profile-section .grid-2 {
    gap: 2.25rem;
  }

  .story-section .image-container {
    aspect-ratio: 4 / 3;
  }

  .profile-section .image-container {
    aspect-ratio: 3 / 4;
  }

  .features-grid {
    gap: 0.85rem;
  }

  .card {
    padding: 1.25rem;
  }

  .card-icon {
    height: 54px;
    margin-bottom: 1rem;
    width: 54px;
  }

  .card-icon img {
    height: 36px;
    width: 36px;
  }

  .features-grid .card:nth-child(1) .card-title {
    font-size: clamp(1.55rem, 9vw, 2.35rem);
  }

  .features-grid .card:nth-child(2),
  .features-grid .card:nth-child(6) {
    min-height: 240px;
  }

  .check-list {
    margin: 1.5rem 0 0;
  }

  .quote-panel p {
    font-size: clamp(1.4rem, 8vw, 2.1rem);
  }

  .stats {
    grid-template-columns: 1fr;
    margin: 1.5rem 0;
  }

  .stat-item {
    padding: 0.9rem;
  }

  .footer-grid {
    gap: 1.75rem;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .page-hero {
    margin-top: 64px;
    padding: clamp(4.25rem, 14vw, 5rem) 0 3rem;
  }

  .page-hero-title {
    font-size: clamp(2.2rem, 10.5vw, 3.1rem);
  }

  .form-grid {
    gap: 1rem;
  }

  .form-input,
  .form-textarea,
  .form-select {
    font-size: 1rem;
    padding: 0.95rem 1rem;
  }
}

.story-section,
.profile-section,
.quote-panel,
footer {
  border-top: 1px solid var(--line);
}

.section-bg-black {
  border-top: 1px solid rgba(251, 247, 251, 0.06);
}

.footer-column h3,
.footer-bottom-links a:hover,
.footer-links a:hover,
.footer-links a:focus-visible,
.legal-content h2 {
  color: var(--gold);
}

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

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
  }

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

  .hero-text > .reveal:nth-child(1) {
    transition-delay: 0.04s;
  }

  .hero-text > .reveal:nth-child(2) {
    transition-delay: 0.1s;
  }

  .hero-text > .reveal:nth-child(3) {
    transition-delay: 0.16s;
  }

  .hero-text > .reveal:nth-child(4) {
    transition-delay: 0.22s;
  }

  .features-grid .card.reveal:nth-child(2) {
    transition-delay: 0.05s;
  }

  .features-grid .card.reveal:nth-child(3) {
    transition-delay: 0.1s;
  }

  .features-grid .card.reveal:nth-child(4) {
    transition-delay: 0.15s;
  }

  .features-grid .card.reveal:nth-child(5) {
    transition-delay: 0.2s;
  }

  .features-grid .card.reveal:nth-child(6) {
    transition-delay: 0.25s;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .loader-spinner {
    animation: none;
  }
}
