:root {
  --paper: #f6f7fb;
  --surface: #ffffff;
  --ink: #0b0b0f;
  --muted: #5d5f6d;
  --line: #e1e3ec;
  --soft: #eef0ff;
  --accent: #7c3aed;
  --accent-ink: #4c1d95;
  --shadow: 0 24px 70px rgba(25, 26, 46, 0.11);
  --max: 920px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 62px;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 86% 4%, rgba(124, 58, 237, 0.09), transparent 25%),
    linear-gradient(180deg, #fbfcff 0%, #f6f7fb 46%, #ffffff 100%),
    var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -ms-overflow-style: none;
}

::selection {
  background: rgba(124, 58, 237, 0.17);
}

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

a,
.brand,
.nav-links a,
.hero-banner,
.hero-banner img,
.simple-list li {
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

a:focus-visible {
  outline: 2px solid rgba(124, 58, 237, 0.4);
  outline-offset: 4px;
  border-radius: 4px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 247, 251, 0.92);
  backdrop-filter: blur(22px) saturate(1.35);
}

.nav {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  overflow: visible;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.brand:hover {
  color: var(--accent-ink);
  transform: translateY(-1px);
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  gap: 4px;
  flex-wrap: nowrap;
  justify-content: flex-end;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.nav-links a {
  position: relative;
  flex: 0 0 auto;
  color: var(--muted);
  padding: 6px 9px;
  border-radius: 6px;
  font-size: 12px;
}

.nav-links a.is-collapsed {
  display: none;
}

.nav-links a::after {
  position: absolute;
  right: 9px;
  bottom: 3px;
  left: 9px;
  height: 1px;
  background: var(--accent);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(124, 58, 237, 0.08);
  color: var(--accent-ink);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-more {
  display: none;
  position: relative;
  flex: 0 0 auto;
}

.nav-more.is-needed {
  display: block;
}

.more-button {
  position: relative;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  padding: 6px 22px 6px 10px;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.more-button::after {
  position: absolute;
  top: 50%;
  right: 9px;
  width: 5px;
  height: 5px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  content: "";
  transform: translateY(-65%) rotate(45deg);
  transition: transform 180ms ease;
}

.more-button:hover,
.nav-more.is-open .more-button {
  background: rgba(124, 58, 237, 0.08);
  color: var(--accent-ink);
}

.nav-more.is-open .more-button::after {
  transform: translateY(-35%) rotate(225deg);
}

.more-panel {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  min-width: 168px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 50px rgba(25, 26, 46, 0.14);
  backdrop-filter: blur(16px);
}

.nav-more.is-open .more-panel {
  display: grid;
  gap: 2px;
}

.more-panel a {
  display: none;
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  padding: 8px 10px;
}

.more-panel a.is-visible {
  display: block;
}

.more-panel a:hover {
  background: rgba(124, 58, 237, 0.08);
  color: var(--accent-ink);
}

.hero {
  min-height: auto;
  display: grid;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.32));
  color: var(--ink);
}

.hero-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0 48px;
  display: grid;
  gap: 32px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--accent);
}

h1,
h2,
h3 {
  line-height: 1.08;
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 620px;
  font-size: clamp(34px, 6vw, 64px);
  font-weight: 720;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 680;
}

h3 {
  font-size: 17px;
}

section[id] {
  scroll-margin-top: 0;
}

p {
  margin: 0;
}

.lede {
  max-width: 520px;
  margin-top: 16px;
  color: #343645;
  font-size: 16px;
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 38px 0 30px;
}

.narrow {
  width: min(var(--max), calc(100% - 32px));
}

.content-section {
  width: min(var(--max), calc(100% - 32px));
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 56px;
  align-items: start;
}

.intro-copy {
  display: grid;
  gap: 13px;
  color: #1f1f1f;
  font-size: 15px;
  margin-top: 18px;
}

.simple-list {
  margin: 16px 0 0;
  padding: 0;
  color: #202020;
  list-style: none;
}

.simple-list li {
  position: relative;
  padding: 10px 0 10px 24px;
}

.simple-list li::before {
  position: absolute;
  top: 19px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(124, 58, 237, 0.08);
  content: "";
}

.simple-list li + li {
  margin-top: 0;
}

.simple-list li:hover {
  color: var(--accent-ink);
  transform: translateX(4px);
}

.section a,
.content a {
  color: var(--accent);
  font-weight: 650;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
}

.section a:hover,
.content a:hover {
  color: var(--accent-ink);
  background-size: 100% 1px;
}

.section-note {
  margin-top: 24px;
  color: var(--muted);
}

.hero-banner {
  position: relative;
  width: 100%;
  min-height: 340px;
  aspect-ratio: 16 / 7;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-banner::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 68%, rgba(0, 0, 0, 0.18));
  content: "";
  pointer-events: none;
}

.hero-banner img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 0;
  box-shadow: none;
}

.hero-banner:hover {
  border-color: rgba(124, 58, 237, 0.26);
  box-shadow: 0 30px 86px rgba(25, 26, 46, 0.16);
  transform: translateY(-5px);
}

.hero-banner:hover img {
  transform: scale(1.018);
}

.page-title {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 32px;
}

.page-title .eyebrow {
  margin-bottom: 14px;
}

.page-title p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

.content {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 56px;
}

.content article {
  padding-top: 8px;
}

.content h2 {
  margin-top: 30px;
  font-size: 22px;
}

.content h3 {
  margin-top: 22px;
  font-size: 17px;
}

.content p,
.content li {
  color: #202020;
}

.content p {
  margin-top: 10px;
}

.content ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.legal-copy {
  margin-top: 26px;
  padding-top: 0;
}

.legal-copy h3 {
  margin-top: 28px;
  font-size: 18px;
}

.legal-copy h3:first-child {
  margin-top: 0;
}

.legal-copy p,
.legal-copy li {
  color: #202020;
}

.legal-copy p {
  margin-top: 10px;
}

.legal-copy ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.meta {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.58);
}

.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 32px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-inner a {
  color: var(--ink);
}

.footer-inner a:hover {
  color: var(--accent-ink);
}

@media (max-width: 820px) {
  .nav {
    min-height: 58px;
    padding: 0;
  }

  .site-header {
    background: var(--paper);
  }

  .hero-inner {
    padding-top: 40px;
  }

  .hero-banner {
    min-height: 260px;
    max-height: none;
    aspect-ratio: 4 / 3;
  }

  .hero-banner::after {
    background: linear-gradient(180deg, transparent 70%, rgba(0, 0, 0, 0.18));
  }

  .hero-banner img {
    width: 100%;
    height: 100%;
    object-position: center 26%;
  }
}

@media (max-width: 520px) {
  .section,
  .page-title {
    padding-top: 32px;
  }

  .content {
    padding-bottom: 44px;
  }
}
