:root {
  --bg: #ffffff;
  --alt: #f5f5f7;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.12);
  --c-blue: 240 100% 62%;
  --c-purple: 258 90% 66%;
  --c-maeve: 327 64% 67%;
  --c-rose: 341 89% 67%;
  --c-orange: 23 96% 63%;
  --accent: hsl(var(--c-blue));
  --accent-hover: hsl(240 100% 54%);
  --link: hsl(240 100% 52%);
  --navy: hsl(229 51% 8%);
  --navy-alt: hsl(229 40% 12%);
  --nav-bg: rgba(255, 255, 255, 0.8);
  --ok: #1d8348;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", system-ui, "Segoe UI", Roboto, sans-serif;
}

html[data-theme="dark"] {
  --bg: var(--navy);
  --alt: var(--navy-alt);
  --text: #f5f6fa;
  --muted: #a3a8ba;
  --line: rgba(255, 255, 255, 0.16);
  --accent: hsl(var(--c-blue));
  --accent-hover: hsl(240 100% 70%);
  --link: hsl(240 100% 80%);
  --nav-bg: hsla(229, 51%, 8%, 0.8);
  --ok: #30d158;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: min(1080px, calc(100% - 48px)); margin: 0 auto; }
.narrow { width: min(780px, calc(100% - 48px)); margin: 0 auto; }
.center { text-align: center; }

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 48px; gap: 24px; }
.logo img { height: 29px; width: auto; }
.logo .logo-dark { display: none; }
html[data-theme="dark"] .logo .logo-light { display: none; }
html[data-theme="dark"] .logo .logo-dark { display: block; }
.nav-links { display: flex; align-items: center; gap: 2.4rem; font-size: 0.85rem; }
.nav-links a { opacity: 0.8; transition: opacity 0.2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; }
.nav-actions { display: flex; align-items: center; gap: 12px; }

.icon-btn {
  width: 32px; height: 32px;
  display: inline-grid; place-items: center;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn .sun { display: none; }
html[data-theme="dark"] .icon-btn .sun { display: block; }
html[data-theme="dark"] .icon-btn .moon { display: none; }
.menu-btn { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-size: 1.05rem; font-weight: 400;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: linear-gradient(135deg, hsl(var(--c-blue)), hsl(var(--c-purple))); }
.btn-ghost { border-color: var(--link); color: var(--link); background: transparent; }
.btn-ghost:hover { background: var(--link); color: var(--bg); }
.btn-sm { padding: 0.35rem 0.95rem; font-size: 0.85rem; }

.hero { padding: 9rem 0 6.5rem; text-align: center; }
.hero-compact { padding: 7rem 0 4.5rem; }
.hero h1 { font-size: clamp(2.75rem, 7.5vw, 5.5rem); line-height: 1.05; letter-spacing: -0.035em; }
.hero-compact h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
.eyebrow { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 600; letter-spacing: -0.01em; margin-bottom: 0.75rem; }
.lead { font-size: clamp(1.2rem, 2.2vw, 1.65rem); line-height: 1.35; color: var(--muted); max-width: 760px; margin: 1.75rem auto 0; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 2.25rem; }

.section { padding: 7rem 0; }
.section.band { background: var(--alt); }
.section.dark {
  --bg: var(--navy);
  --alt: var(--navy-alt);
  --text: #f5f6fa;
  --muted: #a3a8ba;
  --line: rgba(255, 255, 255, 0.2);
  --link: hsl(240 100% 80%);
  --accent: hsl(var(--c-blue));
  --accent-hover: hsl(240 100% 70%);
  background: radial-gradient(55% 90% at 12% 0%, hsl(var(--c-purple) / 0.24), transparent 70%), radial-gradient(55% 90% at 90% 100%, hsl(var(--c-blue) / 0.26), transparent 70%), radial-gradient(35% 60% at 55% 110%, hsl(var(--c-rose) / 0.14), transparent 70%), var(--navy);
  color: var(--text);
}

.section-head { text-align: center; max-width: 760px; margin: 0 auto 3.5rem; }
.section h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); line-height: 1.08; letter-spacing: -0.03em; }
.section-head p { color: var(--muted); font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.4; margin-top: 1.25rem; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--alt);
  border-radius: 28px;
  padding: 2.5rem 2.25rem;
  min-height: 260px;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.band .card { background: var(--bg); }
.card h3 { font-size: 1.6rem; line-height: 1.15; letter-spacing: -0.02em; }
.card p { color: var(--muted); font-size: 1.05rem; line-height: 1.45; }
.card .more { margin-top: auto; padding-top: 1.25rem; font-size: 1.05rem; color: var(--link); }
a.card:hover .more { text-decoration: underline; }

.prose { color: var(--muted); font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.5; }
.prose a, .faq details p a, .list a { color: var(--link); }
.prose a:hover, .faq details p a:hover, .list a:hover { text-decoration: underline; }

.note {
  background: var(--alt);
  border-radius: 28px;
  padding: 2.5rem;
  text-align: center;
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1.5;
}
.band .note { background: var(--bg); }
.note strong { font-weight: 600; }

.fine { max-width: 720px; margin: 1.5rem auto 0; text-align: center; color: var(--muted); font-size: 0.82rem; line-height: 1.5; }
.fine strong { color: var(--text); font-weight: 600; }

.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.list li { display: flex; gap: 14px; color: var(--muted); font-size: 1.05rem; line-height: 1.45; }
.list li::before { content: ""; flex: 0 0 6px; height: 6px; margin-top: 0.6em; border-radius: 99px; background: var(--accent); }
.list strong { color: var(--text); font-weight: 600; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.split h2 { margin-bottom: 1.25rem; }


.record { margin: 0; background: var(--bg); border-radius: 28px; padding: 2rem; }
.record-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.record-title { font-weight: 600; letter-spacing: -0.02em; font-size: 1.25rem; }
.record-badge {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.8rem; font-weight: 600;
  color: var(--ok);
  background: color-mix(in srgb, var(--ok) 14%, transparent);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
}
.record-badge::before { content: ""; width: 7px; height: 7px; border-radius: 99px; background: var(--ok); }
.record-rows { margin: 0; display: grid; }
.record-rows > div { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; padding: 0.85rem 0; border-top: 1px solid var(--line); font-size: 0.95rem; }
.record-rows dt { color: var(--muted); }
.record-rows dd { margin: 0; font-weight: 500; }
.record-ai { border-top: 1px solid var(--line); padding-top: 1rem; }
.record-ai > span { display: block; color: var(--muted); font-size: 0.9rem; margin-bottom: 0.7rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 0.85rem; padding: 0.4rem 0.9rem; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.chip.on { background: var(--accent); border-color: transparent; color: #fff; }
.record figcaption { margin-top: 1.25rem; color: var(--muted); font-size: 0.8rem; }

.section .faq-title { font-size: 1.75rem; line-height: 1.15; letter-spacing: -0.02em; margin: 4rem 0 1rem; }
.section .faq-title:first-child { margin-top: 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 0;
  font-size: 1.2rem; font-weight: 500; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.7rem; font-weight: 300; color: var(--muted); line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 1.4rem; font-size: 1.05rem; line-height: 1.55; max-width: 680px; }

.footer { position: relative; overflow: hidden; background: radial-gradient(55% 90% at 12% 0%, hsl(var(--c-purple) / 0.24), transparent 70%), radial-gradient(55% 90% at 90% 100%, hsl(var(--c-blue) / 0.26), transparent 70%), radial-gradient(35% 60% at 55% 110%, hsl(var(--c-rose) / 0.14), transparent 70%), var(--navy); color: #fff; font-size: 0.85rem; padding: 7rem 0 0; }
.footer-scene { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.footer-content { position: relative; z-index: 1; }
.feature-track { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.feature-track::-webkit-scrollbar { display: none; }
.feature-card { flex: 0 0 16rem; min-height: 10.5rem; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem; padding: 1.25rem; border-radius: 20px; background: rgba(255, 255, 255, 0.67); color: #000; transition: background 0.3s, box-shadow 0.3s; }
.feature-card { --h: var(--c-maeve); }
.feature-card:nth-child(5n+2) { --h: var(--c-orange); }
.feature-card:nth-child(5n+3) { --h: var(--c-rose); }
.feature-card:nth-child(5n+4) { --h: var(--c-purple); }
.feature-card:nth-child(5n+5) { --h: 225 100% 80%; }
.feature-card.is-lit { background: #fff; box-shadow: 0 22px 54px -16px hsl(var(--h) / 0.85); }
.feature-icon { width: 2.9rem; height: 2.9rem; display: grid; place-items: center; border-radius: 12px; background: hsl(var(--h) / 0.18); color: color-mix(in srgb, hsl(var(--h)) 65%, #000); transition: background 0.3s, color 0.3s; }
.feature-icon svg { width: 1.5rem; height: 1.5rem; }
.feature-card h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.carousel { position: relative; }
.carousel-controls { position: absolute; inset: 0 0.5rem; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.carousel-btn { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 999px; border: 0; background: #fff; box-shadow: 0 8px 24px -8px rgba(6, 6, 90, 0.5); color: hsl(240 100% 52%); cursor: pointer; pointer-events: auto; transition: background 0.2s, opacity 0.2s; }
.carousel-btn svg { width: 1.25rem; height: 1.25rem; }
.carousel-btn:hover:not(:disabled) { background: hsl(240 100% 96%); }
@media (min-width: 1180px) {
  .carousel-controls { inset: 0 -1.5rem; }
}
.carousel-btn:disabled { opacity: 0; pointer-events: none; }
.footer-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 4rem 3rem; margin-top: 5.5rem; align-items: start; position: relative; }
.footer .logo img { height: 38px; width: auto; }
.footer .btn-primary { background: #fff; color: hsl(240 100% 52%); }
.footer .btn-primary:hover { background: hsl(240 100% 96%); }
.footer-brand p { max-width: 30ch; margin: 1.5rem 0 2.5rem; font-size: 1.05rem; line-height: 1.45; color: rgba(255, 255, 255, 0.85); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.9rem; }
.footer-btn { display: block; padding: 0.1rem 0; color: rgba(255, 255, 255, 0.85); font-size: 1rem; font-weight: 500; transition: color 0.2s, transform 0.2s; }
.footer-btn:hover { color: #fff; transform: translateX(4px); }
.legal { position: relative; z-index: 1; margin-top: 5.5rem; padding: 2rem 0 3rem; border-top: 1px solid rgba(255, 255, 255, 0.22); color: rgba(255, 255, 255, 0.75); }

@media (max-width: 980px) {
  .footer-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 820px) {
  .menu-btn { display: inline-grid; }
  .nav-links {
    display: none;
    position: absolute; top: 48px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 24px 1.25rem;
    font-size: 1.1rem;
  }
  .nav-links a { padding: 0.8rem 0; width: 100%; opacity: 1; }
  .nav.open .nav-links { display: flex; }
  .nav-actions .btn { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 6rem 0 4rem; }
  .hero-compact { padding: 5rem 0 3rem; }
  .section { padding: 4.5rem 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .feature-card { flex-basis: 14rem; }
  .footer { padding-top: 4.7rem; }
  .footer-body { grid-template-columns: 1fr; }
  .carousel-controls { inset: 0 0.25rem; }
  .card { min-height: 0; padding: 2rem 1.75rem; }
    .record-rows > div { grid-template-columns: 1fr; gap: 0.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .nav-links a, .faq summary::after { transition: none; }
}

.grid + .prose { margin-top: 2.5rem; }

.card { --px: 2.25rem; --py: 2.5rem; padding: var(--py) var(--px); overflow: hidden; }
.card-media { width: calc(100% + 2 * var(--px)); max-width: none; aspect-ratio: 2 / 1; max-height: 220px; object-fit: cover; margin: calc(var(--py) * -1) calc(var(--px) * -1) 1.25rem; background: var(--alt); }
@media (max-width: 640px) {
  .card { --px: 1.75rem; --py: 2rem; }
}

.card-icon { width: 36px; height: 36px; margin-bottom: 0.5rem; color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }


.card { --h: var(--c-blue); --h2: var(--c-purple); }
.grid > .card:nth-child(4n+2) { --h: var(--c-purple); --h2: var(--c-rose); }
.grid > .card:nth-child(4n+3) { --h: var(--c-rose); --h2: var(--c-orange); }
.grid > .card:nth-child(4n+4) { --h: var(--c-maeve); --h2: var(--c-blue); }
.card-media { display: none; }
.card:has(> .card-media)::before { content: ""; flex: none; width: calc(100% + 2 * var(--px)); aspect-ratio: 2 / 1; max-height: 220px; margin: calc(var(--py) * -1) calc(var(--px) * -1) 0.5rem; background: radial-gradient(90% 130% at 15% 0%, hsl(var(--h2) / 0.5), transparent 62%), linear-gradient(135deg, hsl(var(--h)), hsl(var(--h2) / 0.85)); }
.card-media.photo { display: block; height: auto; aspect-ratio: 3 / 2; max-height: none; }
.card:has(> .card-media.photo)::before { display: none; }
.card .more { color: color-mix(in srgb, hsl(var(--h)) 62%, var(--text)); }
.card-icon { color: color-mix(in srgb, hsl(var(--h)) 82%, var(--text)); }

.list li:nth-child(5n+2)::before { background: hsl(var(--c-purple)); }
.list li:nth-child(5n+3)::before { background: hsl(var(--c-rose)); }
.list li:nth-child(5n+4)::before { background: hsl(var(--c-orange)); }
.list li:nth-child(5n+5)::before { background: hsl(var(--c-maeve)); }

.hero-scene { position: relative; overflow: hidden; display: flex; align-items: center; min-height: min(90svh, 820px); padding: 8rem 0 7rem; background: radial-gradient(60% 70% at 50% 42%, hsl(var(--c-blue) / 0.3), transparent 72%), radial-gradient(40% 55% at 14% 85%, hsl(var(--c-purple) / 0.22), transparent 70%), radial-gradient(40% 55% at 88% 18%, hsl(var(--c-rose) / 0.16), transparent 70%), var(--navy); color: #fff; }
.hero-scene::after { content: ""; position: absolute; inset: 0; background: radial-gradient(45% 40% at 50% 50%, rgba(10, 14, 31, 0.7), transparent 100%); pointer-events: none; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.9s ease; }
.hero-scene.ready .hero-canvas { opacity: 1; }
.hero-copy { position: relative; z-index: 1; }
.hero-scene .lead { font-size: clamp(1.1rem, 1.9vw, 1.4rem); color: rgba(255, 255, 255, 0.82); }
@media (max-width: 640px) {
  .hero-scene { padding: 6rem 0 5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-canvas { transition: none; }
}

.hero-compact { background: radial-gradient(60% 80% at 50% 0%, hsl(var(--page-h, var(--c-blue)) / 0.2), transparent 70%); }

.stage { --bg: var(--navy-alt); --text: #f5f6fa; --muted: #a3a8ba; --line: rgba(255, 255, 255, 0.14); position: relative; overflow: hidden; display: grid; place-items: center; min-height: 24rem; margin-top: 4rem; padding: 3rem 1.5rem; border-radius: 28px; color: #fff; background: radial-gradient(70% 100% at 50% 0%, hsl(var(--page-h, var(--c-blue)) / 0.38), transparent 70%), radial-gradient(60% 90% at 100% 100%, hsl(var(--page-h2, var(--c-purple)) / 0.16), transparent 70%), var(--navy-alt); }
.stage .record { width: min(34rem, 100%); margin: 0; text-align: left; background: rgba(9, 14, 38, 0.72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7); }
.js .stage:not(.in) [data-anim] { opacity: 0; }
.stage.in [data-anim] { animation: stage-in 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; animation-delay: calc(var(--i, 0) * 0.35s + 0.25s); }
.stage.in .record-badge[data-anim] { animation-name: badge-pop; }
@keyframes stage-in { from { opacity: 0; transform: translateY(12px); } }
@keyframes badge-pop { from { opacity: 0; transform: scale(0.6); } 60% { transform: scale(1.12); } }
.record-badge::before { animation: dot 2.4s ease-in-out infinite; }
@keyframes dot { 50% { opacity: 0.35; } }

button.chip { font: inherit; font-size: 0.85rem; background: transparent; color: var(--muted); cursor: pointer; transition: background 0.25s, color 0.25s; }
button.chip:hover:not(.on) { color: var(--text); }
.record[data-state="0"] .chip.on { background: hsl(var(--c-blue)); }
.record[data-state="1"] .chip.on { background: hsl(var(--c-purple)); }
.record[data-state="2"] .chip.on { background: hsl(var(--c-rose)); }

.work { --s: var(--c-purple); display: flex; align-items: center; gap: 2rem; width: min(40rem, 100%); padding: 2rem; border-radius: 28px; text-align: left; background: rgba(9, 14, 38, 0.72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7); }
.work[data-state="0"] { --s: var(--c-blue); }
.work[data-state="2"] { --s: var(--c-rose); }
.work-art { position: relative; flex: none; display: grid; place-items: center; width: 7.5rem; height: 7.5rem; border-radius: 28px; background: linear-gradient(135deg, hsl(var(--s)), hsl(var(--s) / 0.45)); transition: background 0.4s; }
.work-art svg { grid-area: 1 / 1; width: 3rem; height: 3rem; opacity: 0; transform: scale(0.6) rotate(-12deg); transition: opacity 0.3s, transform 0.4s; }
.work[data-state="0"] .work-art svg:nth-of-type(1), .work[data-state="1"] .work-art svg:nth-of-type(2), .work[data-state="2"] .work-art svg:nth-of-type(3) { opacity: 1; transform: none; }
.work-art::after { content: ""; position: absolute; inset: -6px; border-radius: 34px; border: 2px solid hsl(var(--s) / 0.6); animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { opacity: 0.9; transform: scale(0.94); } to { opacity: 0; transform: scale(1.18); } }
.work-body { display: grid; gap: 0.75rem; }
.work-body strong { font-size: 1.15rem; font-weight: 600; }
.work-body > span { color: var(--muted); font-size: 0.9rem; }
.work .chip { border-color: rgba(255, 255, 255, 0.22); color: #cfd3e6; }
.work .chip.on { background: hsl(var(--s)); border-color: transparent; color: #fff; }

.bar { display: block; height: 0.6rem; border-radius: 99px; background: rgba(255, 255, 255, 0.16); }
.w30 { width: 30%; }
.w40 { width: 40%; }
.w60 { width: 60%; }
.w80 { width: 80%; }

.cert-stack { display: grid; gap: 0.85rem; width: min(30rem, 100%); }
.cert { --h: var(--c-blue); display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border-radius: 20px; background: rgba(9, 14, 38, 0.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.cert:nth-child(4n+2) { --h: var(--c-purple); }
.cert:nth-child(4n+3) { --h: var(--c-orange); }
.cert:nth-child(4n+4) { --h: var(--c-rose); }
.cert-icon { flex: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 14px; background: hsl(var(--h) / 0.28); color: color-mix(in srgb, hsl(var(--h)) 55%, #fff); }
.cert-icon svg { width: 1.4rem; height: 1.4rem; }
.cert-lines { flex: 1; display: grid; gap: 0.5rem; }
.cert .record-badge { margin-left: auto; }
.stage.in .cert .record-badge[data-anim] { animation-delay: calc(var(--i, 0) * 0.35s + 0.9s); }

.proof { position: relative; display: grid; gap: 1.1rem; width: min(32rem, 100%); padding: 2rem; overflow: hidden; border-radius: 28px; background: rgba(9, 14, 38, 0.72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7); }
.proof-row { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1.25rem; align-items: center; }
.proof-row .bar:last-child { width: 80%; background: rgba(255, 255, 255, 0.4); filter: blur(4px); }
.proof .record-badge { justify-self: start; margin-top: 0.5rem; }
.proof-lock { position: absolute; top: 1.5rem; right: 1.5rem; width: 1.5rem; height: 1.5rem; color: rgba(255, 255, 255, 0.55); }
.scan { position: absolute; left: 0; right: 0; top: -4rem; height: 4rem; pointer-events: none; background: linear-gradient(to bottom, transparent, hsl(var(--page-h, var(--c-blue)) / 0.4), transparent); }
.stage.in .scan { animation: scan 2.4s ease-in-out 0.3s both; }
@keyframes scan { to { top: 100%; } }

.flow { --nw: 6.5rem; position: relative; display: grid; grid-template-columns: auto 1fr auto 1fr auto 1fr auto; align-items: start; width: min(46rem, 100%); padding-bottom: 5rem; }
.node { display: grid; justify-items: center; gap: 0.7rem; width: var(--nw); text-align: center; }
.node-icon { --h: var(--c-blue); display: grid; place-items: center; width: 4.2rem; height: 4.2rem; border-radius: 20px; color: #fff; background: linear-gradient(135deg, hsl(var(--h)), hsl(var(--h) / 0.55)); box-shadow: 0 10px 30px -10px hsl(var(--h) / 0.8); animation: node-lit 9.6s ease-in-out infinite; animation-delay: calc(var(--k, 0) * 2.4s); }
.node-icon svg { width: 1.8rem; height: 1.8rem; }
.node-icon img { width: 2.4rem; height: 2.4rem; }
.node-label { font-size: 1rem; font-weight: 700; }
@keyframes node-lit { 0%, 20% { transform: translateY(-4px); box-shadow: 0 0 0 4px hsl(var(--h) / 0.35), 0 14px 40px -6px hsl(var(--h)); } 28%, 100% { transform: none; box-shadow: 0 10px 30px -10px hsl(var(--h) / 0.8); } }
.link { position: relative; align-self: start; height: 2px; margin-top: 2.1rem; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, 0.16); }
.link::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 40%; background: linear-gradient(90deg, transparent, hsl(var(--c-blue)), #fff, transparent); animation: travel 9.6s linear infinite; animation-delay: calc(var(--j, 0) * 2.4s); }
.link.two::before { content: ""; position: absolute; top: 0; bottom: 0; left: 100%; width: 40%; background: linear-gradient(270deg, transparent, hsl(var(--c-purple)), #fff, transparent); animation: travel-back 9.6s linear infinite; animation-delay: calc(var(--j, 0) * 2.4s + 1.2s); }
@keyframes travel { 0% { left: -40%; } 25%, 100% { left: 100%; } }
@keyframes travel-back { 0% { left: 100%; } 25%, 100% { left: -40%; } }
.flow-loop { position: absolute; left: calc(var(--nw) / 2); bottom: 0; width: calc(100% - var(--nw)); height: 3.5rem; overflow: visible; }
.flow-loop path { fill: none; stroke: hsl(var(--c-maeve) / 0.75); stroke-width: 2; stroke-dasharray: 5 7; vector-effect: non-scaling-stroke; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }

.dev { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: start; width: min(42rem, 100%); }
.dev-below { grid-column: 3; grid-row: 2; display: grid; justify-items: center; }
.link-v { position: relative; width: 2px; height: 3rem; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, 0.16); }
.link-v::after { content: ""; position: absolute; left: 0; right: 0; top: -40%; height: 40%; background: linear-gradient(180deg, transparent, hsl(var(--c-orange)), #fff, transparent); animation: travel-down 4.8s linear infinite; }
@keyframes travel-down { 0% { top: -40%; } 50%, 100% { top: 100%; } }

a.card { transition: transform 0.25s ease, box-shadow 0.25s ease; }
a.card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -22px hsl(var(--h) / 0.65); }
.js .section .grid > .card:not(.in), .js .section-head:not(.in), .js .section .record:not(.in), .js .note:not(.in) { opacity: 0; }
.section .grid > .card.in, .section-head.in, .section .record.in, .note.in { animation: reveal 0.6s ease backwards; animation-delay: var(--rd, 0s); }
@keyframes reveal { from { opacity: 0; transform: translateY(16px); } }

@media (prefers-reduced-motion: no-preference) {
  .js .hero h1:not(.words-in), .js [data-split]:not(.words-in) { opacity: 0; }
  .words-in .w { display: inline-block; animation: word-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; animation-delay: calc(var(--i) * 70ms + 150ms); }
  .js .hero .lead { animation: reveal 0.9s ease backwards; animation-delay: calc(var(--words, 0) * 70ms + 350ms); }
  .js .nav-inner { animation: nav-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
}
.reel-section { padding: 3.5rem 0 1rem; }
.reel { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }
.reel-track { list-style: none; margin: 0; padding: 0; display: flex; width: max-content; animation: reel-run 80s linear infinite; }
.reel:hover .reel-track, .reel:focus-within .reel-track { animation-play-state: paused; }
.reel-item { flex: none; padding-right: 1rem; }
.reel-card { position: relative; display: block; width: 14rem; aspect-ratio: 1; overflow: hidden; border-radius: 22px; background: var(--alt); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.reel-card:hover, .reel-card:focus-visible { transform: translateY(-5px); box-shadow: 0 22px 40px -20px rgba(20, 20, 80, 0.55); }
.reel-card img { width: 100%; height: 100%; object-fit: cover; }
.reel-name { position: absolute; left: 0.6rem; bottom: 0.6rem; max-width: calc(100% - 1.2rem); padding: 0.3rem 0.75rem; border-radius: 999px; font-size: 0.85rem; font-weight: 700; line-height: 1.3; color: #fff; background: rgba(0, 0, 0, 0.45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes reel-run { to { transform: translateX(-50%); } }
@media (max-width: 640px) {
  .reel-section { padding-top: 2.5rem; }
  .reel-card { width: 10.5rem; border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .reel { overflow-x: auto; }
  .reel-track { animation: none; }
  .reel-item[aria-hidden="true"] { display: none; }
}
@keyframes word-in { from { opacity: 0; transform: translateY(0.4em); } }
@keyframes nav-in { from { opacity: 0; transform: translateY(-0.6rem); } }

.faq-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2.5rem; }
.faq-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.faq-tab { font: inherit; font-size: 0.9rem; padding: 0.45rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; transition: background 0.2s, color 0.2s; }
.faq-tab:hover { color: var(--text); }
.faq-tab[aria-pressed="true"] { background: var(--accent); border-color: transparent; color: #fff; }
.faq-search { font: inherit; font-size: 0.95rem; width: 15rem; max-width: 100%; padding: 0.55rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--alt); color: var(--text); }
.faq-search:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.faq-empty { color: var(--muted); text-align: center; padding: 2rem 0; }
.faq details[hidden], .faq-title[hidden], .faq[hidden] { display: none; }

@media (max-width: 640px) {
  .stage { min-height: 0; padding: 2rem 1rem; margin-top: 3rem; }
  .work { flex-direction: column; text-align: center; padding: 1.5rem; }
  .flow { --nw: 4.6rem; }
  .node-icon { width: 3.2rem; height: 3.2rem; border-radius: 16px; }
  .node-icon svg { width: 1.4rem; height: 1.4rem; }
  .node-label { font-size: 0.8rem; }
  .link { margin-top: 1.6rem; }
  .proof-row { grid-template-columns: 4rem 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .stage *, .stage *::before, .stage *::after { animation: none !important; transition: none !important; }
  .js .stage:not(.in) [data-anim] { opacity: 1 !important; }
  .js .section .grid > .card:not(.in), .js .section-head:not(.in), .js .section .record:not(.in), .js .note:not(.in) { opacity: 1 !important; }
  .section .grid > .card.in, .section-head.in, .section .record.in, .note.in { animation: none; }
  a.card:hover { transform: none; }
}

.grid[hidden] { display: none; }
.card:has(> .card-media)::before { transition: transform 0.6s ease; }
a.card:hover::before { transform: scale(1.07); }

.tabs { display: grid; grid-template-columns: 19rem minmax(0, 1fr); gap: 1.5rem; align-items: stretch; }
.tabs-list { display: grid; gap: 0.5rem; align-content: start; }
.tab { --h: var(--c-blue); display: flex; align-items: center; gap: 0.9rem; width: 100%; padding: 0.8rem 1rem; border: 0; border-radius: 18px; font: inherit; font-size: 1.05rem; font-weight: 600; text-align: left; color: var(--text); background: transparent; cursor: pointer; transition: background 0.2s, box-shadow 0.2s; }
.tab svg { flex: none; width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; color: color-mix(in srgb, hsl(var(--h)) 80%, var(--text)); }
.tab:hover { background: var(--bg); }
.tab[aria-selected="true"] { background: var(--bg); box-shadow: inset 0 0 0 1px hsl(var(--h) / 0.5), 0 12px 30px -16px hsl(var(--h) / 0.7); }
.tabs-panel { --h: var(--c-blue); position: relative; overflow: hidden; display: grid; align-content: center; gap: 1rem; min-height: 22rem; padding: 3rem; border-radius: 28px; background: var(--bg); }
.tabs-panel::before { content: ""; position: absolute; top: -30%; right: -10%; width: 26rem; height: 26rem; pointer-events: none; background: radial-gradient(closest-side, hsl(var(--h) / 0.32), transparent); }
.tabs-icon { position: relative; display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: 22px; color: #fff; background: linear-gradient(135deg, hsl(var(--h)), hsl(var(--h) / 0.55)); box-shadow: 0 14px 36px -12px hsl(var(--h) / 0.9); }
.tabs-icon svg { width: 2.1rem; height: 2.1rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tabs-panel h3 { position: relative; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.1; letter-spacing: -0.03em; }
.tabs-panel p { position: relative; max-width: 36rem; color: var(--muted); font-size: 1.25rem; line-height: 1.45; }
.tabs-panel.swap > * { animation: tab-in 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
.tabs-panel.swap > :nth-child(2) { animation-delay: 0.05s; }
.tabs-panel.swap > :nth-child(3) { animation-delay: 0.1s; }
@keyframes tab-in { from { opacity: 0; transform: translateY(10px); } }

.rail-wrap { position: relative; }
.grid.rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.grid.rail::-webkit-scrollbar { display: none; }
.grid.rail > .card { flex: 0 0 min(23rem, 86%); scroll-snap-align: start; }
.rail-btn { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-top: -1.375rem; border: 0; border-radius: 999px; background: var(--bg); color: var(--text); box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.45); cursor: pointer; transition: opacity 0.2s; }
.rail-btn svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rail-btn.prev { left: -1.4rem; }
.rail-btn.next { right: -1.4rem; }
.rail-btn:disabled { opacity: 0; pointer-events: none; }

.card[aria-pressed] { position: relative; cursor: pointer; transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease; }
.card[aria-pressed]:hover { transform: translateY(-4px); }
.card[aria-pressed="true"] { background: color-mix(in srgb, hsl(var(--h)) 14%, var(--alt)); box-shadow: 0 0 0 2px hsl(var(--h)); }
.card[aria-pressed="true"]::after { content: ""; position: absolute; top: 1.25rem; right: 1.25rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: hsl(var(--h)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 62% no-repeat; }
.btn.ping { animation: ping 0.5s ease; }
@keyframes ping { 50% { transform: scale(1.06); } }

@media (max-width: 1180px) {
  .rail-btn.prev { left: 0.4rem; }
  .rail-btn.next { right: 0.4rem; }
}

@media (max-width: 820px) {
  .tabs { grid-template-columns: minmax(0, 1fr); }
  .tabs-list { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; scrollbar-width: none; }
  .tabs-list::-webkit-scrollbar { display: none; }
  .tab { white-space: nowrap; width: auto; }
  .tabs-panel { min-height: 0; padding: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .tabs-panel.swap > *, .btn.ping { animation: none; }
  a.card:hover::before { transform: none; }
  .card[aria-pressed]:hover { transform: none; }
}

.icp .eyebrow { color: hsl(var(--c-purple)); text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.12em; }
.icp h2 { margin-bottom: 1.25rem; }
.icp .split { gap: 4rem; align-items: center; }
.steps { list-style: none; margin: 2.25rem 0 0; padding: 0; display: grid; gap: 1.5rem; }
.steps li { padding-left: 1.25rem; border-left: 2px solid hsl(var(--c-purple)); }
.steps strong { display: block; font-weight: 600; font-size: 1.1rem; margin-bottom: 0.2rem; }
.steps p { color: var(--muted); font-size: 1rem; line-height: 1.45; }
.icp-actions { justify-content: flex-start; }
.icp-record { background: var(--alt); border: 1px solid var(--line); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7); }
.asset-head { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.25rem; }
.asset-media { flex: none; width: 14rem; height: 14rem; object-fit: cover; border-radius: 18px; }
.asset-meta { margin: 0; display: grid; gap: 1.5rem; }
.asset-meta dt { color: var(--muted); font-size: 0.85rem; }
.asset-meta dd { margin: 0.15rem 0 0; font-weight: 600; font-size: 1.4rem; line-height: 1.2; letter-spacing: -0.01em; }
.record-rows a { color: var(--link); }
.record-rows a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .asset-head { flex-direction: column; align-items: flex-start; }
  .asset-media { width: 100%; height: auto; aspect-ratio: 1; }
}

.dev-hero { position: relative; overflow: hidden; display: flex; align-items: center; min-height: 36rem; padding: 0; }
.dev-hero .container { position: relative; z-index: 1; }
.dev-hero-copy { max-width: 34rem; padding: 8rem 0 6rem; }
.dev-hero-copy h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.05; letter-spacing: -0.035em; }
.dev-hero-copy .lead { margin: 1.5rem 0 0; }
.dev-hero-copy .actions { justify-content: flex-start; }
.dev-hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; height: 100%; object-fit: cover; object-position: 55% center; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 50%); mask-image: linear-gradient(to right, transparent 0, #000 50%); }
.dev-diagram .stage { margin-top: 0; }
@media (max-width: 820px) {
  .dev-hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .dev-hero-copy { padding: 6rem 0 2rem; }
  .dev-hero-media { position: relative; order: 2; width: 100%; height: 18rem; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 40%); mask-image: linear-gradient(to bottom, transparent 0, #000 40%); }
}

.reel-section:last-child { margin-top: -3.5rem; padding: 0 0 14rem; }
@media (max-width: 640px) {
  .reel-section:last-child { margin-top: -2rem; padding-bottom: 9rem; }
}
