:root {
  --bg: #fcf8ff;
  --bg-soft: #f7f0ff;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --line: rgba(74, 30, 115, 0.12);
  --line-strong: rgba(74, 30, 115, 0.2);
  --text: #241235;
  --muted: #6d5b82;
  --purple: #7b3cff;
  --purple-deep: #5120b7;
  --magenta: #ff4fa6;
  --pink-soft: #ffe4f4;
  --lavender: #efe4ff;
  --lavender-strong: #e7d6ff;
  --shadow-lg: 0 28px 70px rgba(102, 45, 157, 0.14);
  --shadow-md: 0 16px 36px rgba(93, 40, 152, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 110, 181, 0.16), transparent 24%),
    radial-gradient(circle at top right, rgba(143, 87, 255, 0.18), transparent 28%),
    linear-gradient(180deg, #fffaff 0%, #fbf6ff 55%, #f7f0ff 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.18)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='rgba(105,62,150,0.05)' stroke-width='1'%3E%3Cpath d='M0 110h220M110 0v220'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.28;
}

a {
  color: inherit;
}

svg {
  display: block;
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.ambient-left {
  top: -8rem;
  left: -10rem;
  background: rgba(255, 95, 176, 0.24);
}

.ambient-right {
  top: 7rem;
  right: -9rem;
  background: rgba(130, 91, 255, 0.28);
}

.ambient-bottom {
  bottom: -12rem;
  left: 20%;
  background: rgba(225, 160, 255, 0.2);
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 6.5rem 0 2.6rem;
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 20;
  width: min(1120px, calc(100% - 32px));
  margin: 18px auto 0;
  transition: transform 280ms var(--ease), box-shadow 280ms ease;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 38px rgba(104, 48, 158, 0.08);
}

.topbar.is-scrolled .topbar-inner {
  box-shadow: 0 18px 42px rgba(104, 48, 158, 0.13);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand img {
  width: 2.15rem;
  height: 2.15rem;
  object-fit: contain;
}

.topnav {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
}

.topnav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  transition: color 180ms ease;
}

.topnav a:hover,
.topnav a:focus-visible {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0 1.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: transform 220ms var(--ease), box-shadow 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--magenta) 0%, var(--purple) 100%);
  box-shadow: 0 14px 32px rgba(144, 61, 201, 0.26);
}

.button-secondary,
.button-nav {
  color: var(--text);
  background: rgba(255, 255, 255, 0.84);
  border-color: var(--line);
}

.hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: #8957d8;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.panel h2 {
  margin: 0;
  letter-spacing: -0.045em;
}

.hero-copy h1 {
  max-width: 9.8ch;
  font-size: clamp(2.9rem, 5vw, 4.65rem);
  line-height: 0.94;
}

.hero-text,
.section-heading p:last-child,
.feature-card p,
.setup-card p,
.panel p:last-of-type,
.board-card span,
.summary-strip span,
.footer {
  color: var(--muted);
}

.hero-text {
  max-width: 31rem;
  margin: 1.05rem 0 0;
  font-size: 0.98rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.78rem;
  margin: 1.55rem 0 1rem;
}

.hero-notes,
.board-ribbon,
.panel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-notes span,
.board-ribbon span,
.panel-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: 0 0.82rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-board {
  display: grid;
  gap: 1rem;
}

.board-shell {
  position: relative;
  min-height: 31rem;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at center, rgba(255, 91, 175, 0.1), transparent 20rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 240, 255, 0.88));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.board-shell::before {
  content: "";
  position: absolute;
  inset: 2.4rem;
  border: 1px dashed rgba(130, 76, 188, 0.18);
  border-radius: 50%;
}

.board-shell::after {
  content: "";
  position: absolute;
  inset: 5.6rem;
  border: 1px dashed rgba(130, 76, 188, 0.12);
  border-radius: 50%;
}

.logo-disc {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11.5rem;
  height: 11.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.96), rgba(247, 232, 255, 0.98)),
    linear-gradient(135deg, rgba(255, 79, 166, 0.1), rgba(123, 60, 255, 0.08));
  box-shadow: 0 24px 54px rgba(124, 52, 182, 0.2);
  transform: translate(-50%, -50%);
}

.logo-disc img {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
}

.logo-disc span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0 0.72rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 79, 166, 0.12), rgba(123, 60, 255, 0.14));
  color: var(--purple-deep);
  font-size: 0.78rem;
  font-weight: 800;
}

.board-card {
  position: absolute;
  width: 13rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-md);
}

.board-card-top-left {
  top: 1.4rem;
  left: 1.4rem;
}

.board-card-top-right {
  top: 2rem;
  right: 1.4rem;
}

.board-card-bottom-left {
  bottom: 2rem;
  left: 2rem;
}

.board-card-bottom-right {
  right: 1.6rem;
  bottom: 1.35rem;
}

.board-icon,
.feature-icon {
  width: 2.7rem;
  height: 2.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
  border-radius: 0.95rem;
  background: linear-gradient(135deg, rgba(255, 79, 166, 0.14), rgba(123, 60, 255, 0.12));
}

.board-icon svg,
.feature-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  stroke: var(--purple-deep);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.board-card p {
  margin: 0 0 0.35rem;
  color: #8b70a9;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.board-card strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.45;
}

.board-card strong + strong {
  margin-top: 0.32rem;
}

.board-card span {
  display: block;
  margin-top: 0.38rem;
  font-size: 0.82rem;
  line-height: 1.55;
}

.summary-strip,
.feature-card,
.setup-card,
.panel {
  border: 1px solid rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-md);
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.6rem;
  padding: 0.95rem;
  border-radius: var(--radius-xl);
}

.summary-strip article {
  padding: 1rem 1.05rem;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 241, 255, 0.8));
  border: 1px solid var(--line);
}

.summary-strip strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
}

.summary-strip span {
  font-size: 0.84rem;
  line-height: 1.55;
}

.section {
  margin-top: 4.8rem;
}

.section-heading {
  max-width: 34rem;
  margin-bottom: 1.6rem;
}

.section-heading h2,
.panel h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.02;
}

.section-heading p:last-child {
  margin: 0.85rem 0 0;
  font-size: 0.94rem;
  line-height: 1.7;
}

.feature-grid,
.setup-grid,
.panel-grid {
  display: grid;
  gap: 1rem;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.setup-card,
.panel {
  padding: 1.2rem;
  border-radius: var(--radius-lg);
}

.feature-card h3,
.setup-card h3 {
  margin: 0 0 0.45rem;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.feature-card p,
.setup-card p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.62;
}

.setup-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.setup-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 235, 255, 0.86));
}

.setup-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.45rem;
  height: 2.45rem;
  margin-bottom: 0.8rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 79, 166, 0.14), rgba(123, 60, 255, 0.16));
  color: var(--purple-deep);
  font-size: 0.84rem;
  font-weight: 800;
}

.panel-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel {
  min-height: 18rem;
}

.panel p:last-of-type {
  margin: 0.9rem 0 0;
  font-size: 0.92rem;
  line-height: 1.72;
}

.panel-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 238, 255, 0.85));
}

.panel-strong {
  background:
    radial-gradient(circle at top right, rgba(255, 105, 182, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 232, 255, 0.92));
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.78rem;
  margin-top: 1.25rem;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.75rem 0 0;
  font-size: 0.84rem;
}

.footer p {
  margin: 0;
}

.footer a {
  text-decoration: none;
  font-weight: 800;
}

.load-in,
.reveal {
  opacity: 0;
  transform: translateY(26px);
  will-change: transform, opacity;
}

body.is-loaded .load-in {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 760ms var(--ease),
    transform 900ms var(--ease);
  transition-delay: var(--load-delay, 0ms);
}

.topbar.load-in {
  --load-delay: 0ms;
}

.hero-copy.load-in {
  --load-delay: 90ms;
}

.hero-board.load-in {
  --load-delay: 170ms;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 620ms var(--ease),
    transform 760ms var(--ease);
  transition-delay: var(--delay, 0s);
}

@media (max-width: 1080px) {
  .hero,
  .panel-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-copy h1 {
    max-width: none;
  }
}

@media (max-width: 860px) {
  .page-shell {
    padding-top: 6rem;
  }

  .topnav {
    display: none;
  }

  .summary-strip,
  .feature-grid,
  .setup-grid {
    grid-template-columns: 1fr;
  }

  .board-shell {
    min-height: auto;
    padding: 9.25rem 1rem 1rem;
  }

  .board-shell::before,
  .board-shell::after {
    inset: auto;
    display: none;
  }

  .logo-disc {
    top: 1rem;
    left: 1rem;
    width: calc(100% - 2rem);
    height: auto;
    padding: 1.15rem 1rem;
    border-radius: 1.5rem;
    transform: none;
  }

  .board-card {
    position: static;
    width: 100%;
    margin-top: 0.9rem;
  }
}

@media (max-width: 640px) {
  .page-shell,
  .topbar {
    width: min(100% - 20px, 1120px);
  }

  .topbar-inner,
  .hero-actions,
  .panel-actions,
  .footer {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-copy h1 {
    font-size: clamp(2.4rem, 15vw, 3.5rem);
  }

  .section {
    margin-top: 3.8rem;
  }

  .summary-strip,
  .feature-card,
  .setup-card,
  .panel {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .load-in,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
