:root {
  color-scheme: dark;
  --black: #000000;
  --background: #16111b;
  --surface: #231e27;
  --surface-high: #2e2832;
  --surface-highest: #39323d;
  --text: #eadfed;
  --muted: #cfc2d6;
  --faint: rgba(234, 223, 237, 0.68);
  --primary: #a855f7;
  --primary-strong: #b76dff;
  --secondary: #c0c1ff;
  --tertiary: #ffafd3;
  --outline: rgba(255, 255, 255, 0.1);
  --purple-outline: rgba(168, 85, 247, 0.28);
  --glass: rgba(255, 255, 255, 0.04);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -10%, rgba(168, 85, 247, 0.22), transparent 34rem),
    linear-gradient(180deg, #050405 0%, var(--background) 46%, #0d0a10 100%);
  color: var(--text);
  font-family: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent 72%);
}

a {
  color: inherit;
}

.site-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(5, 4, 5, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.42);
}

.brand-word {
  font-size: 24px;
  font-weight: 650;
  line-height: 1;
}

.brand-word span {
  color: var(--primary);
  text-shadow: 0 0 15px rgba(168, 85, 247, 0.45);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links a {
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 14px;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(168, 85, 247, 0.14);
  border-color: var(--purple-outline);
  color: #ffffff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: 52px;
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: 72px 0 64px;
}

.eyebrow {
  color: var(--secondary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  color: #ffffff;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.98;
  margin-bottom: 22px;
}

h1 span,
h2 span {
  color: var(--primary);
  text-shadow: 0 0 20px rgba(168, 85, 247, 0.36);
}

.lead {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
  max-width: 680px;
}

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

.button {
  align-items: center;
  border: 1px solid var(--primary);
  border-radius: 24px;
  display: inline-flex;
  font-size: 16px;
  font-weight: 750;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  text-decoration: none;
}

.button.primary {
  background: rgba(168, 85, 247, 0.22);
  box-shadow: 0 0 22px rgba(168, 85, 247, 0.45);
  color: #ffffff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--outline);
  color: var(--text);
}

.hero-visual {
  min-height: 560px;
  position: relative;
}

.portrait-frame {
  position: absolute;
  inset: 0;
  border-radius: 36px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--outline);
  box-shadow: var(--shadow);
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 44%, rgba(0, 0, 0, 0.62) 100%),
    radial-gradient(circle at 50% 12%, rgba(192, 193, 255, 0.2), transparent 22rem);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-panel {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(22, 17, 27, 0.78);
  backdrop-filter: blur(18px);
}

.floating-panel strong {
  display: block;
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 6px;
}

.floating-panel p {
  color: var(--faint);
  line-height: 1.5;
  margin: 0;
}

.section {
  padding: 72px 0;
}

.section-header {
  max-width: 720px;
  margin-bottom: 34px;
}

.section h2 {
  color: #ffffff;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  margin-bottom: 14px;
}

.section-header p,
.legal-intro,
.contact-copy {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.feature-grid,
.page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.page-card,
.legal-card,
.contact-card {
  background: var(--glass);
  border: 1px solid var(--outline);
  border-radius: 24px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.feature-card,
.page-card {
  padding: 24px;
}

.feature-card h3,
.page-card h3 {
  color: #ffffff;
  font-size: 20px;
  margin-bottom: 10px;
}

.feature-card p,
.page-card p {
  color: var(--faint);
  line-height: 1.65;
  margin-bottom: 0;
}

.page-card {
  min-height: 188px;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.page-card:hover {
  border-color: var(--purple-outline);
  transform: translateY(-2px);
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  padding: 52px 0 78px;
}

.legal-aside {
  align-self: start;
  position: sticky;
  top: 104px;
}

.legal-aside nav {
  display: grid;
  gap: 8px;
}

.legal-aside a {
  border: 1px solid transparent;
  border-radius: 16px;
  color: var(--muted);
  padding: 12px 14px;
  text-decoration: none;
}

.legal-aside a:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--outline);
  color: #ffffff;
}

.legal-card {
  padding: clamp(26px, 5vw, 52px);
}

.legal-card h1 {
  font-size: clamp(36px, 6vw, 64px);
}

.legal-card h2 {
  color: #ffffff;
  font-size: 25px;
  margin: 38px 0 12px;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.legal-card ul {
  padding-left: 22px;
}

.effective-date {
  color: var(--secondary);
  font-weight: 700;
  margin-bottom: 18px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 24px;
  padding: 66px 0 86px;
}

.contact-card {
  padding: 28px;
}

.contact-card h2 {
  color: #ffffff;
  font-size: 28px;
}

.mail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  width: 100%;
  border: 1px solid var(--primary);
  border-radius: 24px;
  background: rgba(168, 85, 247, 0.2);
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.36);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 30px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--faint);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

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

@media (max-width: 880px) {
  .site-shell {
    width: min(100% - 28px, 720px);
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .nav-links a {
    padding: 8px 11px;
  }

  .hero,
  .legal-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .hero-visual {
    min-height: 480px;
  }

  .feature-grid,
  .page-grid {
    grid-template-columns: 1fr;
  }

  .legal-aside {
    position: static;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand-word {
    font-size: 22px;
  }

  h1 {
    font-size: 42px;
  }

  .lead {
    font-size: 18px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 420px;
  }

  .portrait-frame {
    border-radius: 28px;
  }
}
