:root {
  --background: #fdfcf8;
  --foreground: #241d29;
  --card: rgba(255, 255, 255, 0.72);
  --secondary: #f5f1f8;
  --muted: #756d79;
  --border: rgba(54, 37, 63, 0.12);
  --violet-deep: #4b1785;
  --purple: #822bd2;
  --magenta: #e5288c;
  --coral: #f47b68;
  --mint: #62d6bc;
  --yellow: #f4ce48;
  --brand-gradient: linear-gradient(135deg, #44167b 0%, #822bd2 48%, #e5288c 100%);
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
  color: var(--foreground);
  background: var(--background);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
p {
  margin: 0;
}

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

.hero,
.final-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: white;
  background-image: var(--brand-gradient);
  background-size: 160% 160%;
  animation: brand-shift 22s ease-in-out infinite;
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 64px;
  content: "";
  background: linear-gradient(to bottom, transparent, var(--background));
}

.nav {
  position: absolute;
  z-index: 5;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.25rem clamp(1.25rem, 4vw, 2.5rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.brand--light {
  color: white;
}

.brand--dark {
  color: var(--foreground);
}

.logo {
  display: inline-grid;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 0.55rem;
  background: #c214ee;
  color: white;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.nav__link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  font-weight: 700;
  transition: color 180ms ease;
}

.nav__link:hover,
.nav__link:focus-visible {
  color: white;
}

.nav__cta {
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  background: white;
  color: #641e9c;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.nav__cta:hover,
.nav__cta:focus-visible {
  transform: scale(1.04);
  box-shadow: 0 10px 28px rgba(38, 5, 64, 0.2);
}

.hero__inner {
  display: flex;
  width: min(100%, 72rem);
  min-height: 95svh;
  margin: 0 auto;
  padding: clamp(7.5rem, 15vh, 10rem) clamp(1.25rem, 4vw, 2.5rem) 4rem;
  flex-direction: column;
  justify-content: center;
}

.hero__title {
  max-width: 68rem;
  font-size: clamp(2.65rem, 8.3vw, 6.2rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.05;
  text-transform: uppercase;
  animation: reveal-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero__title span {
  display: block;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.58);
}

.hero__copy {
  max-width: 36rem;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  font-weight: 500;
  line-height: 1.55;
  animation: reveal-up 0.9s 100ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.hero .actions {
  animation: reveal-up 0.9s 200ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
}

.button {
  padding: 1.15rem 2.25rem;
  font-size: clamp(1rem, 2vw, 1.125rem);
  letter-spacing: -0.015em;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button--accent {
  background: var(--magenta);
  color: white;
  box-shadow: 0 12px 32px rgba(102, 7, 83, 0.18);
}

.button:hover,
.button:focus-visible {
  transform: scale(1.03);
  box-shadow: 0 16px 36px rgba(64, 6, 62, 0.26);
}

.text-link {
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  transition: opacity 180ms ease;
}

.text-link--light {
  color: rgba(255, 255, 255, 0.85);
}

.text-link:hover,
.text-link:focus-visible {
  opacity: 0.7;
}

.orb,
.dot,
.glow,
.ring {
  position: absolute;
  pointer-events: none;
}

.orb {
  z-index: -1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.075);
}

.orb--hero-left {
  top: -6rem;
  left: -8rem;
  width: clamp(18rem, 35vw, 28rem);
  height: clamp(18rem, 35vw, 28rem);
  animation: float 22s ease-in-out infinite;
}

.orb--hero-right {
  right: -6rem;
  bottom: -10rem;
  width: clamp(20rem, 42vw, 34rem);
  height: clamp(20rem, 42vw, 34rem);
  animation: float 14s ease-in-out infinite reverse;
}

.dot {
  position: relative;
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  flex: 0 0 auto;
  border-radius: 50%;
}

.dot--yellow { background: var(--yellow); }
.dot--mint { background: var(--mint); }
.dot--coral { background: var(--coral); }
.dot--magenta { background: var(--magenta); }
.dot--purple { background: var(--purple); }
.dot--medium { width: 0.625rem; height: 0.625rem; }
.dot--large { width: 0.875rem; height: 0.875rem; }

.dot--hero-one,
.dot--hero-two,
.dot--hero-three,
.final-cta__dot {
  position: absolute;
  animation: float 14s ease-in-out infinite;
}

.dot--hero-one { top: 10rem; right: 8%; width: 0.75rem; height: 0.75rem; }
.dot--hero-two { bottom: 8rem; left: 3%; width: 0.65rem; height: 0.65rem; animation-duration: 22s; }
.dot--hero-three { right: 33%; bottom: 6rem; }

.manifesto {
  overflow: hidden;
  padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 4vw, 2.5rem);
  background: linear-gradient(to bottom, var(--background) 0%, var(--background) calc(100% - 60px), var(--secondary) 100%);
}

.manifesto__inner {
  width: min(100%, 64rem);
  margin: 0 auto;
}

.statement {
  position: relative;
  width: min(100%, 32rem);
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.25rem, 4vw, 2rem);
  border-radius: 1.5rem;
  background: var(--card);
  box-shadow: 0 20px 50px -30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.statement--left {
  transform: rotate(-1.2deg);
}

.statement--right {
  margin-left: auto;
  text-align: right;
  transform: rotate(1deg);
}

.statement:hover {
  transform: translateY(-0.4rem) rotate(0deg);
}

.statement p {
  position: relative;
  z-index: 2;
  font-size: clamp(1.8rem, 5vw, 3.75rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.04;
  text-transform: uppercase;
}

.statement p span,
.statement p strong {
  display: block;
}

.statement p span {
  color: rgba(36, 29, 41, 0.25);
}

.statement p strong {
  color: var(--foreground);
}

.glow {
  z-index: -1;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  filter: blur(28px);
}

.glow--yellow {
  top: -2rem;
  left: -1.5rem;
  background: rgba(244, 206, 72, 0.45);
}

.glow--magenta {
  right: -1.5rem;
  bottom: 0;
  background: rgba(229, 40, 140, 0.34);
}

.statement__pin {
  position: absolute;
  z-index: 3;
  width: 0.75rem;
  height: 0.75rem;
}

.statement__pin--right { top: 1rem; right: 1rem; }
.statement__pin--left { bottom: 1rem; left: 1rem; }

.ring {
  top: -1.5rem;
  left: -1rem;
  width: 4rem;
  height: 4rem;
  border: 1px solid var(--border);
  border-radius: 50%;
}

.dot-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 4rem;
  margin: 0.5rem 0;
}

.dot-divider .dot {
  position: relative;
}

.story {
  padding: clamp(4rem, 8vw, 5.5rem) clamp(1.25rem, 4vw, 2.5rem) 2.5rem;
  background: linear-gradient(to bottom, var(--secondary) 0%, var(--secondary) calc(100% - 24px), var(--background) 100%);
}

.story__inner {
  display: flex;
  width: min(100%, 72rem);
  margin: 0 auto;
  flex-direction: column;
  gap: clamp(3rem, 7vw, 4.5rem);
}

.story-row {
  display: flex;
  align-items: flex-end;
  gap: 2rem;
}

.story-row--reverse {
  flex-direction: row-reverse;
}

.story-row h2,
.story-row p {
  width: 50%;
}

.story-row h2 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.04;
  text-transform: uppercase;
}

.story-row p {
  max-width: 28rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 500;
  line-height: 1.55;
}

.build {
  overflow: hidden;
  padding: 2.5rem clamp(1.25rem, 4vw, 2.5rem) clamp(4rem, 8vw, 5rem);
  background: linear-gradient(to bottom, var(--background) 0%, var(--background) calc(100% - 42px), var(--violet-deep) 100%);
}

.build__inner {
  width: min(100%, 72rem);
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 2.5rem;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
  text-transform: uppercase;
}

.section-heading h2 span {
  color: transparent;
  background: linear-gradient(90deg, var(--violet-deep), var(--purple), var(--magenta));
  background-clip: text;
  -webkit-background-clip: text;
}

.dot-divider--compact {
  min-height: auto;
  margin: 1rem 0 0;
  gap: 0.5rem;
}

.pill-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pill-list li {
  padding: 0.48rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: rgba(36, 29, 41, 0.72);
  font-size: clamp(0.875rem, 2vw, 1rem);
  font-weight: 700;
  backdrop-filter: blur(10px);
  transition: transform 250ms ease, border-color 250ms ease;
}

.pill-list li:hover {
  border-color: rgba(130, 43, 210, 0.32);
  transform: translateY(-0.25rem) scale(1.03);
}

.final-cta::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 44px;
  content: "";
  background: linear-gradient(to bottom, var(--violet-deep), transparent);
}

.final-cta {
  padding: clamp(4rem, 8vw, 5rem) clamp(1.25rem, 4vw, 2.5rem);
}

.final-cta__inner {
  width: min(100%, 64rem);
  margin: 0 auto;
}

.final-cta h2 {
  font-size: clamp(2.5rem, 7vw, 4.75rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.04;
  text-transform: uppercase;
}

.final-cta p {
  max-width: 36rem;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  font-weight: 500;
  line-height: 1.55;
}

.final-cta__dot {
  top: 5rem;
  right: 8%;
  width: 0.65rem;
  height: 0.65rem;
}

.footer {
  padding: 2.5rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
  background: var(--background);
}

.footer__inner {
  display: flex;
  width: min(100%, 72rem);
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer .logo {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.4rem;
  font-size: 1.55rem;
}

.footer .brand {
  font-size: 1.25rem;
}

.footer a {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 700;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--foreground);
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

@keyframes brand-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -1.35rem, 0); }
}

@keyframes reveal-up {
  from { opacity: 0; transform: translate3d(0, 1.75rem, 0); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 720px) {
  .nav__link {
    display: none;
  }

  .nav {
    gap: 0.75rem;
  }

  .brand {
    font-size: 1.3rem;
  }

  .nav__cta {
    padding: 0.6rem 0.9rem;
    font-size: 0.78rem;
  }

  .hero__inner {
    min-height: 92svh;
    padding-top: 7rem;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .text-link {
    width: 100%;
  }

  .statement--left,
  .statement--right,
  .statement:hover {
    transform: none;
  }

  .ring {
    display: none;
  }

  .story-row,
  .story-row--reverse {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.25rem;
  }

  .story-row h2,
  .story-row p {
    width: 100%;
  }

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

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
