:root {
  color-scheme: light;
  --primary: #8806ce;
  --primary-deep: #5e2c7a;
  --secondary: #ff9500;
  --secondary-deep: #cf8a06;
  --success: #06cf68;
  --error: #e63946;
  --warning: #ffc107;
  --info: #0066cc;
  --bg: #ffffff;
  --bg-alt: #fff8ef;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --surface-soft: rgba(255, 255, 255, 0.58);
  --text-main: #1a1a1a;
  --text-secondary: #555555;
  --nav-bg: rgba(255, 255, 255, 0.86);
  --nav-text: #1a1a1a;
  --footer-text: #1a1a1a;
  --border: rgba(136, 6, 206, 0.12);
  --border-strong: rgba(136, 6, 206, 0.2);
  --shadow-soft: 0 18px 50px rgba(136, 6, 206, 0.12);
  --shadow-strong: 0 28px 80px rgba(94, 44, 122, 0.18);
  --focus-ring: rgba(136, 6, 206, 0.35);
  --page-bg: radial-gradient(
      circle at 15% 12%,
      rgba(136, 6, 206, 0.14) 0%,
      rgba(136, 6, 206, 0) 32%
    ),
    radial-gradient(
      circle at 85% 15%,
      rgba(255, 149, 0, 0.12) 0%,
      rgba(255, 149, 0, 0) 30%
    ),
    radial-gradient(
      circle at 50% 105%,
      rgba(6, 207, 104, 0.08) 0%,
      rgba(6, 207, 104, 0) 28%
    ),
    linear-gradient(180deg, #ffffff 0%, #fffaf5 55%, #ffffff 100%);
  --section-gap: clamp(3.5rem, 8vw, 6.5rem);
  --content-width: 1120px;
  --nav-offset: 7.75rem;
  --hero-copy-width: 44rem;
  --radius-card: 28px;
  --radius-pill: 999px;
  --page-glow-size: 42rem;
  --page-glow-blur: 72px;
  --nav-blur: 18px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #15121d;
  --bg-alt: #1b1626;
  --surface: rgba(22, 20, 32, 0.8);
  --surface-strong: rgba(22, 20, 32, 0.94);
  --surface-soft: rgba(22, 20, 32, 0.5);
  --text-main: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.78);
  --nav-bg: rgba(20, 18, 29, 0.84);
  --nav-text: #ffffff;
  --footer-text: #ffffff;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.16);
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.28);
  --shadow-strong: 0 28px 80px rgba(0, 0, 0, 0.36);
  --focus-ring: rgba(255, 255, 255, 0.22);
  --page-bg: radial-gradient(
      circle at 16% 12%,
      rgba(136, 6, 206, 0.22) 0%,
      rgba(136, 6, 206, 0) 30%
    ),
    radial-gradient(
      circle at 82% 14%,
      rgba(255, 149, 0, 0.16) 0%,
      rgba(255, 149, 0, 0) 28%
    ),
    radial-gradient(
      circle at 50% 104%,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(255, 255, 255, 0) 24%
    ),
    linear-gradient(180deg, #15121d 0%, #120f18 58%, #0f0d15 100%);
}

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

html {
  scroll-behavior: smooth;
  background: var(--page-bg);
}

body {
  position: relative;
  min-height: 100vh;
  font-family: Avenir, "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: transparent;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  width: var(--page-glow-size);
  height: var(--page-glow-size);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(var(--page-glow-blur));
  opacity: 0.55;
  z-index: -1;
}

body::before {
  top: -12rem;
  right: -14rem;
  background: rgba(136, 6, 206, 0.12);
}

body::after {
  bottom: -16rem;
  left: -16rem;
  background: rgba(255, 149, 0, 0.1);
}

a {
  color: inherit;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1100;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: #fff;
  padding: 0.7rem 1rem;
  text-decoration: none;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.skip-link:focus {
  top: 1rem;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 4px;
  width: 0%;
  z-index: 1200;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  box-shadow: 0 0 18px rgba(136, 6, 206, 0.45);
  transition: width 0.12s linear;
}

nav {
  position: fixed;
  inset: 0.75rem 0.75rem auto;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: auto;
  max-width: min(1120px, calc(100% - 1.5rem));
  margin-inline: auto;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--nav-bg);
  backdrop-filter: blur(var(--nav-blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--nav-blur)) saturate(160%);
  box-shadow: var(--shadow-soft);
}

.nav-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--nav-text);
  text-wrap: balance;
  text-decoration: none;
  justify-self: center;
  grid-column: 2;
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 22px rgba(136, 6, 206, 0.18);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  width: 100%;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  list-style: none;
  flex: 1;
  min-width: 0;
}

nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  color: var(--nav-text);
  font-size: 0.92rem;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease,
    transform 0.2s ease, opacity 0.2s ease;
  text-wrap: balance;
}

nav a:hover {
  background: rgba(136, 6, 206, 0.08);
  color: var(--primary);
  transform: translateY(-1px);
}

nav a[aria-current="page"] {
  background: rgba(136, 6, 206, 0.14);
  color: var(--primary);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.7rem;
  padding: 0.62rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.2);
  color: var(--nav-text);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease,
    border-color 0.2s ease;
  text-wrap: balance;
  justify-self: end;
  grid-column: 3;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  background: rgba(136, 6, 206, 0.08);
  border-color: var(--border-strong);
}

.theme-toggle-icon {
  font-size: 1.05rem;
  line-height: 1;
}

main {
  width: min(100%, var(--content-width));
  margin-inline: auto;
  padding: var(--nav-offset) 1rem 0;
}

section {
  width: 100%;
}

section[id] {
  scroll-margin-top: calc(var(--nav-offset) + 1rem);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(100svh - var(--nav-offset));
  padding: clamp(1.5rem, 6vw, 3rem) 0 clamp(3rem, 10vw, 5rem);
  text-align: center;
}

.hero-content {
  display: grid;
  justify-items: center;
  gap: 1.45rem;
  width: 100%;
  max-width: var(--hero-copy-width);
  margin-inline: auto;
}

.hero-image {
  width: min(82vw, 310px);
  aspect-ratio: 1;
  border-radius: 38% 62% 60% 40% / 45% 42% 58% 55%;
  object-fit: cover;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-strong);
  background: linear-gradient(
    135deg,
    rgba(136, 6, 206, 0.12),
    rgba(255, 149, 0, 0.08)
  );
}

.hero-kicker {
  background: rgba(255, 255, 255, 0.48);
  color: var(--primary-deep);
  padding: 0.38rem 0.88rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 0.2rem;
}

html[data-theme="dark"] .hero-kicker {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
}

.hero h1 {
  max-width: 10ch;
  margin: 0.05rem 0 0;
  color: var(--primary);
  font-size: clamp(3.8rem, 18vw, 7rem);
  line-height: 0.88;
  letter-spacing: -0.075em;
  font-weight: 900;
  text-shadow: 0 14px 30px rgba(136, 6, 206, 0.18);
}

.hero-content > p:not(.hero-kicker) {
  max-width: 34ch;
  margin-top: 0.15rem;
  color: var(--text-secondary);
  font-size: clamp(1.02rem, 3.5vw, 1.18rem);
  line-height: 1.8;
  font-weight: 500;
}

.divider {
  height: 1px;
  margin: var(--section-gap) 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--border-strong) 50%,
    transparent 100%
  );
  opacity: 0.9;
}

.about,
.coming-soon {
  position: relative;
  padding: 0 0 var(--section-gap);
}

.about::before,
.coming-soon::before {
  content: "";
  position: absolute;
  inset: -1rem auto auto 0;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(136, 6, 206, 0.08) 0%,
    rgba(136, 6, 206, 0) 70%
  );
  pointer-events: none;
}

.coming-soon::before {
  content: none;
}

.about h2,
.coming-soon h2 {
  color: var(--text-main);
  font-size: clamp(1.7rem, 6vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
  text-wrap: balance;
}

.about-grid {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

.about-image {
  width: min(100%, 420px);
  justify-self: center;
  border-radius: var(--radius-card);
  object-fit: cover;
  box-shadow: 0 18px 50px rgba(136, 6, 206, 0.12);
  border: 1px solid var(--border);
  background: linear-gradient(
    135deg,
    rgba(136, 6, 206, 0.06),
    rgba(255, 149, 0, 0.04)
  );
}

.about-text {
  display: grid;
  gap: 0.95rem;
  max-width: 66ch;
}

.about-text p {
  position: relative;
  padding-left: 1rem;
  color: var(--text-secondary);
  font-size: 1rem;
  text-wrap: balance;
}

.about-text p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42rem;
  width: 0.34rem;
  height: 1rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
}

.about-text strong {
  color: var(--text-main);
  font-weight: 700;
}

.coming-soon {
  display: grid;
  gap: 0.8rem;
  padding-top: 0.2rem;
  max-width: 100%;
  width: min(100%, 760px);
  margin-inline: auto;
  justify-items: center;
  text-align: center;
}

.coming-soon p {
  max-width: 46ch;
  color: var(--text-secondary);
  font-size: 1rem;
  text-wrap: balance;
}

.coming-soon h2 {
  margin-bottom: 0;
  font-size: clamp(1.6rem, 5vw, 2.35rem);
  text-wrap: balance;
}

.coming-soon-note {
  color: var(--primary);
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.coming-soon-note::before {
  content: "";
  width: 1.8rem;
  height: 1px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
}

footer {
  width: min(100%, var(--content-width));
  margin-inline: auto;
  padding: 1.75rem 1rem 3.5rem;
  border-top: 1px solid rgba(136, 6, 206, 0.06);
  background: transparent;
  color: var(--footer-text);
  display: grid;
  gap: 0.6rem;
}

footer p {
  color: inherit;
  font-size: 0.95rem;
}

footer,
.about-text,
.coming-soon {
  text-wrap: balance;
}

:where(.hero-kicker, .coming-soon-note) {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  text-transform: uppercase;
  text-wrap: balance;
}

:where(.hero-content > p:not(.hero-kicker), .about-text p, .coming-soon p, footer p) {
  text-wrap: balance;
}

:where(nav a, .theme-toggle, .skip-link) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

footer strong {
  color: var(--primary);
}

html[data-theme="dark"] footer {
  border-top-color: rgba(255, 255, 255, 0.06);
  background: transparent;
}

html[data-theme="dark"] footer strong {
  color: var(--secondary);
}

.fade-in,
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll.active,
.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 {
  transition-delay: 0.05s;
}

.stagger-2 {
  transition-delay: 0.12s;
}

.stagger-3 {
  transition-delay: 0.19s;
}

.stagger-4 {
  transition-delay: 0.26s;
}

@media (min-width: 720px) {
  :root {
    --nav-offset: 6.8rem;
  }

  nav {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem 1.5rem;
  }

  .nav-top {
    display: contents;
  }

  .nav-actions {
    grid-column: 2;
    flex: 1;
    justify-content: center;
  }

  .theme-toggle {
    grid-column: 3;
    justify-self: end;
  }

  .hero {
    min-height: calc(100svh - var(--nav-offset));
    padding-top: 1.5rem;
  }

  .hero-content {
    grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: clamp(1.75rem, 4vw, 3.5rem);
    row-gap: 1rem;
    max-width: none;
    align-items: center;
    align-content: center;
    justify-items: start;
    text-align: left;
  }

  .hero-image {
    grid-column: 1;
    grid-row: 1 / span 4;
    width: min(100%, 430px);
    justify-self: center;
  }

  .hero-kicker,
  .hero h1,
  .hero-content > p:not(.hero-kicker) {
    grid-column: 2;
  }

  .hero h1 {
    font-size: clamp(4.8rem, 8vw, 7.8rem);
    margin-top: 0;
  }

  .about-grid {
    grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
  }

  .about-image {
    justify-self: start;
  }
}

@media (max-width: 719.98px) {
  body::before,
  body::after {
    width: 28rem;
    height: 28rem;
    filter: blur(48px);
    opacity: 0.38;
  }

  nav {
    gap: 0.65rem;
    padding: 0.75rem 0.8rem;
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
  }

  .nav-top {
    gap: 0.55rem;
  }

  .nav-actions {
    gap: 0.5rem;
  }

  nav ul {
    gap: 0.3rem;
  }

  nav a {
    padding: 0.48rem 0.7rem;
    font-size: 0.88rem;
  }

  .theme-toggle {
    min-width: 2.45rem;
    padding: 0.55rem;
  }

  .hero {
    padding-top: 1.25rem;
    margin-top: 0.25rem;
  }
}

@media (min-width: 960px) {
  :root {
    --nav-offset: 6.35rem;
  }

  nav {
    padding-inline: 1.1rem;
  }

  .hero {
    min-height: calc(100svh - var(--nav-offset));
  }

  .hero-content {
    column-gap: clamp(2.25rem, 6vw, 5.5rem);
  }

  .about {
    padding-left: 0.25rem;
  }

  footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
  }

  footer p:last-child {
    justify-self: end;
    text-align: right;
    max-width: 32ch;
  }
}

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

  .scroll-progress,
  nav a,
  .theme-toggle,
  .hero-image,
  .logo-icon,
  .fade-in,
  .reveal-on-scroll,
  .stagger-1,
  .stagger-2,
  .stagger-3,
  .stagger-4 {
    transition: none;
  }

  .fade-in,
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }

  .stagger-1,
  .stagger-2,
  .stagger-3,
  .stagger-4 {
    transition-delay: 0s;
  }
}
