:root {
  --bg: #08090c;
  --bg-2: #0d1016;
  --bg-3: #12151d;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --ink: #eef1f7;
  --ink-soft: #b9c0d0;
  --muted: #7d8598;

  --accent: #22d3ee;
  --accent-2: #a78bfa;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --container: 1140px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

* { margin: 0; }

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

body {
  min-height: 100svh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 520px at 78% -8%, rgba(34, 211, 238, 0.10), transparent 60%),
    radial-gradient(720px 480px at 8% 12%, rgba(167, 139, 250, 0.08), transparent 65%);
}

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

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

ul, ol { list-style: none; padding: 0; }

h1, h2, h3 {
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

em { font-style: italic; }

::selection {
  background: var(--accent);
  color: #04121a;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 1;
}

main > section { position: relative; z-index: 1; }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow em {
  font-style: normal;
  color: var(--accent);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.3rem + 4.2vw, 4rem);
  margin-block: 0.6rem 1rem;
}

.section-head__lede {
  color: var(--ink-soft);
  font-size: 1.0625rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
    color 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn:hover { transform: translateY(-2px); }

.btn--solid {
  background: var(--accent);
  border-color: var(--accent);
  color: #04121a;
  font-weight: 600;
}

.btn--solid:hover { background: #5ee6f9; border-color: #5ee6f9; }

.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--line-strong);
}

.btn--quiet {
  border-color: transparent;
  padding-inline: 0.25rem;
  color: var(--accent);
}

.btn--quiet:hover { color: #7deafd; }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: #04121a;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}

.skip-link:focus { transform: translateY(0); }

.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 150;
  background: rgba(255, 255, 255, 0.06);
}

.progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 1.15rem;
  transition: padding 0.35s var(--ease), background-color 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-stuck {
  padding-block: 0.7rem;
  background: rgba(8, 9, 12, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.375rem;
  letter-spacing: -0.01em;
}

.brand__dot { color: var(--accent); }

.site-nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2.25rem);
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.site-nav a {
  position: relative;
  padding-block: 0.25rem;
  transition: color 0.25s var(--ease);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.3s var(--ease);
}

.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { transform: scaleX(1); }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.03);
}

.lang-switch__btn {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.lang-switch__btn:hover { color: var(--ink); }

.lang-switch__btn.is-active {
  background: var(--accent);
  color: #04121a;
  font-weight: 600;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding-block: 8rem 6rem;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  top: 50%;
  right: -10%;
  width: min(760px, 90vw);
  aspect-ratio: 1;
  translate: 0 -50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.16), transparent 62%);
  filter: blur(20px);
  pointer-events: none;
}

.hero__inner { max-width: 62rem; }

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 1.1rem + 7.4vw, 6.25rem);
  margin-block: 1rem 1.5rem;
}

.hero__title-em {
  font-style: italic;
  color: var(--ink-soft);
}

.hero__lede {
  max-width: 40rem;
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  color: var(--ink-soft);
}

.hero__lede em { color: var(--accent); font-style: italic; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2.25rem;
}

.hero__avatar {
  position: absolute;
  right: var(--gutter);
  bottom: 2rem;
  width: clamp(120px, 16vw, 190px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 10px rgba(34, 211, 238, 0.06);
}

.hero__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  translate: -50% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.6875rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-cue__line {
  width: 1px;
  height: 42px;
  background: linear-gradient(180deg, transparent, var(--muted));
  animation: cue 2.4s var(--ease) infinite;
}

@keyframes cue {
  0%   { transform: scaleY(0.2); opacity: 0; transform-origin: 50% 0; }
  40%  { transform: scaleY(1); opacity: 1; transform-origin: 50% 0; }
  100% { transform: scaleY(1); opacity: 0; transform-origin: 50% 100%; }
}

.scene-1 {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: 6rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

.scene-1__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.scene-1__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.2rem + 4.6vw, 4.25rem);
  margin-block: 0.75rem 1.25rem;
}

.scene-1__copy {
  max-width: 34rem;
  color: var(--ink-soft);
}

.scene-1__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.scene-1__stats li {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.scene-1__stats strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
}

.scene-1__stats span {
  font-size: 0.8125rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.scene-1__visual {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.scene-1__visual .ring,
.scene-1__visual .orbit,
.scene-1__visual .core {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

.ring { border: 1px solid var(--line-strong); }

.ring--1 { inset: 0; }
.ring--2 { inset: 13%; border-color: rgba(34, 211, 238, 0.32); }
.ring--3 { inset: 27%; border-style: dashed; border-color: rgba(167, 139, 250, 0.35); }

.orbit {
  inset: 6.5%;
  animation: spin 26s linear infinite;
}

.orbit i {
  position: absolute;
  top: -5px;
  left: 50%;
  translate: -50% 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px 4px rgba(34, 211, 238, 0.55);
}

@keyframes spin { to { rotate: 360deg; } }

.core {
  width: 42%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, rgba(34, 211, 238, 0.22), rgba(8, 9, 12, 0.9) 70%);
  border: 1px solid rgba(34, 211, 238, 0.35);
  box-shadow: inset 0 0 40px rgba(34, 211, 238, 0.14);
}

.core b {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(0.9rem, 1.6vw, 1.35rem);
  color: var(--accent);
  letter-spacing: 0.01em;
}

.steps {
  padding-block: clamp(5rem, 10vw, 8rem);
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.steps__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.steps__visual {
  position: sticky;
  top: 22vh;
  height: 46vh;
  min-height: 300px;
}

.steps__card {
  --card-accent: var(--accent);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--bg-3), var(--bg));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  transition: border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.steps__card[data-accent="2"] { --card-accent: #a78bfa; }
.steps__card[data-accent="3"] { --card-accent: #fbbf24; }
.steps__card[data-accent="4"] { --card-accent: #34d399; }

.steps__card::after {
  content: "";
  position: absolute;
  inset: auto -30% -55% -30%;
  height: 70%;
  background: radial-gradient(circle, color-mix(in srgb, var(--card-accent) 26%, transparent), transparent 66%);
  transition: background 0.6s var(--ease);
  pointer-events: none;
}

.steps__card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.steps__index {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 4rem);
  line-height: 1;
  color: var(--card-accent);
  transition: color 0.5s var(--ease);
}

.steps__meter {
  --p: 25%;
  position: relative;
  flex: 0 0 42%;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.steps__meter i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--p);
  background: var(--card-accent);
  border-radius: 2px;
  transition: width 0.6s var(--ease), background 0.5s var(--ease);
}

.steps__label {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  line-height: 1.15;
  text-wrap: balance;
}

.steps__hint {
  position: relative;
  z-index: 1;
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.steps__list {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 3vw, 2rem);
}

.step {
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-left: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.012);
  opacity: 0.42;
  transition: opacity 0.5s var(--ease), background-color 0.5s var(--ease),
    border-color 0.5s var(--ease), transform 0.5s var(--ease);
}

.step.is-active {
  opacity: 1;
  border-left-color: var(--accent);
  background: rgba(255, 255, 255, 0.035);
  transform: translateX(4px);
}

.step[data-accent="2"].is-active { border-left-color: #a78bfa; }
.step[data-accent="3"].is-active { border-left-color: #fbbf24; }
.step[data-accent="4"].is-active { border-left-color: #34d399; }

.step h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.writing {
  padding-block: clamp(5rem, 10vw, 8rem);
  border-top: 1px solid var(--line);
}

.posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.post a {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  height: 100%;
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0) 60%);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease),
    background-color 0.35s var(--ease);
}

.post a:hover {
  border-color: rgba(34, 211, 238, 0.45);
  background-color: rgba(255, 255, 255, 0.025);
  transform: translateY(-4px);
}

.post__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.post__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted);
}

.post__title {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  line-height: 1.2;
}

.post__excerpt {
  color: var(--ink-soft);
  font-size: 0.9375rem;
  flex-grow: 1;
}

.post__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--accent);
}

.about {
  padding-block: clamp(5rem, 10vw, 8rem);
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.about h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.2rem + 3.6vw, 3.5rem);
  margin-block: 0.6rem 1.25rem;
}

.about__body {
  max-width: 36rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.about__sign {
  margin-top: 1.75rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--accent);
}

.facts {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.facts li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--line);
}

.facts span {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.facts strong {
  font-weight: 400;
  font-size: 1.0625rem;
}

.contact {
  padding-block: clamp(5rem, 12vw, 9rem);
  border-top: 1px solid var(--line);
  text-align: center;
}

.contact__inner { max-width: 40rem; }

.contact h2 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.2rem + 4.6vw, 4rem);
  margin-bottom: 1rem;
}

.contact p {
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

.contact__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer {
  padding-block: 2.5rem 3rem;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.site-footer__copy {
  font-size: 0.8125rem;
  color: var(--muted);
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

.site-footer__nav a { transition: color 0.25s var(--ease); }
.site-footer__nav a:hover { color: var(--accent); }

@media (max-width: 1024px) {
  .scene-1__grid { gap: 2.5rem; }
  .steps__layout { gap: 2.5rem; }
}

@media (max-width: 899px) and (min-width: 768px) {
  .site-header__inner { gap: 1rem; }

  .site-nav {
    gap: 0.85rem;
    font-size: 0.8125rem;
  }
}

@media (max-width: 899px) {
  .steps__visual {
    position: static;
    height: auto;
    min-height: 0;
    margin-bottom: 2rem;
  }

  .steps__card {
    min-height: 190px;
  }

  .steps__layout,
  .about__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  .site-nav { display: none; }

  .site-header__inner { gap: 0.75rem; }

  .site-header__actions { gap: 0.6rem; }

  .lang-switch__btn { padding-inline: 0.5rem; }

  .hero { padding-block: 7rem 5rem; }

  .hero__avatar {
    position: static;
    margin-top: 2.5rem;
    width: 132px;
  }

  .scene-1 { min-height: auto; padding-block: 4.5rem; }

  .scene-1__grid { grid-template-columns: minmax(0, 1fr); }

  .scene-1__visual {
    order: -1;
    width: min(300px, 100%);
    margin-inline: auto;
    margin-bottom: 1rem;
  }

  .scene-1__stats { gap: 1.75rem; }

  .scroll-cue { display: none; }

  .step { opacity: 0.6; }
}

@media (max-width: 480px) {
  .btn { padding: 0.65rem 1.1rem; }

  .site-header__actions { gap: 0.5rem; }

  .site-header__actions .btn--ghost { padding-inline: 0.85rem; }

  .lang-switch__btn { padding-inline: 0.45rem; }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .scroll-cue { display: none; }

  .step { opacity: 1; }
  .step.is-active { transform: none; }
}

.pb-page { --pb-wet: 0; }

.pb-start {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  max-width: 100%;
  margin-top: clamp(1.5rem, 4vh, 2.75rem);
  margin-inline: auto;
  padding: 1rem 1.25rem;
  border: 0;
  background: none;
  text-align: center;
  color: inherit;
  cursor: pointer;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease),
    visibility 0.35s var(--ease);
}

.pb-start:hover,
.pb-start:focus-visible { transform: translateY(-4px); }

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

.pb-start__art {
  display: block;
  width: clamp(68px, 14vw, 96px);
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(3, 18, 34, 0.4));
  transition: transform 0.35s var(--ease);
}

.pb-start:hover .pb-start__art,
.pb-start:focus-visible .pb-start__art { transform: translateY(-5px) rotate(-3deg); }

.pb-start__label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  line-height: 1.2;
  text-transform: uppercase;
  color: #23475f;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.55);
}

.pb-start__note {
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(35, 71, 95, 0.72);
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.45);
}

.pb-gate-locked .pb-section,
.pb-gate-locked .site-footer,
.pb-gate-locked .pb-audio { display: none; }

.pb-gate-locked .pb-hero { min-height: 100svh; }

.pb-start.is-open {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.pb-audio {
  position: fixed;
  right: clamp(0.75rem, 2.5vw, 1.5rem);
  bottom: clamp(0.75rem, 2.5vw, 1.5rem);
  z-index: 120;
}

.pb-audio__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem 0.55rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: rgba(8, 9, 12, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  color: var(--ink-soft);
  font-family: inherit;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease),
    background-color 0.3s var(--ease);
}

.pb-audio__btn:hover {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(13, 16, 22, 0.85);
}

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

.pb-audio__glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #04121a;
  flex: none;
}

.pb-audio__icon {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.pb-audio__icon--play { display: block; }
.pb-audio__icon--pause { display: none; }
.pb-audio__btn.is-playing .pb-audio__icon--play { display: none; }
.pb-audio__btn.is-playing .pb-audio__icon--pause { display: block; }

.pb-rain {
  position: fixed;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: var(--pb-wet, 0);
  mix-blend-mode: screen;
  transition: opacity 0.25s linear;
  will-change: opacity;
}

.pb-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 94svh;
  padding-block: 9rem 7rem;
  overflow: hidden;
}

.pb-hero__sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(1100px 620px at 74% 8%, rgba(255, 253, 240, 0.60), transparent 62%),
    radial-gradient(1750px 620px at 88% 32%, rgba(255, 236, 180, 0.20), transparent 76%),
    linear-gradient(
      180deg,
      #2b7cbd 0%,
      #3f95d4 13%,
      #5fb2e4 27%,
      #7fc4e9 41%,
      #a3d6ef 53%,
      #c6e7f6 63%,
      #e8f5fb 70%,
      #d6e4eb 72%,
      #c4d1da 74%,
      #b3c1cb 76%,
      #a1b0bc 78%,
      #8f9fad 80%,
      #7e8f9f 82%,
      #6c7e92 84%,
      #5a7086 86%,
      #47607b 88%,
      #35516e 90%,
      #2b435a 92%,
      #223448 94%,
      #192735 96%,
      #111924 98%,
      var(--bg) 100%
    );
}

.pb-hero__sky::before {
  content: "";
  position: absolute;
  top: -7%;
  right: -5%;
  width: clamp(340px, 62vw, 780px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 254, 244, 0.62),
    rgba(255, 246, 198, 0.30) 30%,
    rgba(255, 226, 146, 0.11) 54%,
    transparent 74%
  );
  filter: blur(16px);
  animation: pb-bloom 7s var(--ease) infinite alternate;
}

@keyframes pb-bloom {
  from { opacity: 0.86; scale: 0.97; }
  to   { opacity: 1;    scale: 1.05; }
}

.pb-hero__sky::after {
  content: "";
  position: absolute;
  top: 7%;
  right: 11%;
  width: clamp(96px, 13.5vw, 192px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle at 42% 38%,
    #ffffff 0%,
    #fffdf0 24%,
    #fff4c2 50%,
    rgba(255, 226, 128, 0.78) 68%,
    rgba(255, 210, 96, 0) 82%
  );
  box-shadow:
    0 0 54px 18px rgba(255, 252, 214, 0.72),
    0 0 150px 54px rgba(255, 234, 158, 0.40),
    0 0 340px 118px rgba(255, 220, 120, 0.20);
  animation: pb-sun 9s var(--ease) infinite alternate;
}

@keyframes pb-sun {
  from { opacity: 0.94; scale: 1; }
  to   { opacity: 1;    scale: 1.05; }
}

.pb-hero__night {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: calc(var(--pb-dusk, 0) * 0.94);
  background: linear-gradient(180deg, rgba(6, 12, 26, 0.88), rgba(8, 9, 12, 0.95));
}

.pb-page .site-header { text-shadow: 0 1px 16px rgba(4, 26, 48, 0.5); }

.pb-page .site-header.is-stuck { text-shadow: none; }

.pb-hero__inner { max-width: 58rem; }
.pb-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1.1rem + 6.6vw, 5.5rem);
  margin-block: 1rem 1.5rem;
  max-width: 22ch;
  text-shadow: 0 2px 26px rgba(4, 26, 48, 0.34);
}

.pb-hero .eyebrow {
  color: #e4f3fb;
  text-shadow: 0 1px 14px rgba(4, 26, 48, 0.5);
}

.pb-hero .eyebrow em { color: #06485c; text-shadow: none; }

.pb-hero__lede {
  max-width: 38rem;
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  color: #eaf4fb;
  text-shadow: 0 1px 18px rgba(4, 26, 48, 0.42);
}

.pb-hero__lede em { color: #ffffff; font-style: italic; }

.pb-section {
  position: relative;
  padding-block: clamp(5rem, 10vw, 8.5rem);
  border-top: 1px solid var(--line);
}

.pb-section--storm {
  background: var(--bg-2);
}

.pb-section--storm::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: calc(var(--pb-wet, 0) * 0.55);
  background:
    radial-gradient(720px 420px at 82% 0%, rgba(56, 89, 150, 0.30), transparent 64%),
    linear-gradient(180deg, rgba(40, 62, 108, 0.36), rgba(15, 23, 40, 0.46));
}

.pb-section--calm { background: var(--bg-3); }

.pb-prose {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 44rem;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.1875rem);
  color: var(--ink-soft);
}

.pb-prose em { color: var(--ink); font-style: italic; }

.pb-weather {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.pb-weather__card {
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0) 62%);
  transition: translate 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.pb-weather__card:hover {
  translate: 0 -4px;
  border-color: rgba(148, 197, 255, 0.42);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.42);
}

.pb-weather__icon {
  display: block;
  width: fit-content;
  font-size: 34px;
  line-height: 1;
  color: #94c5ff;
}

.pb-weather h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin-block: 1.1rem 0.4rem;
}

.pb-weather p {
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.pb-hex {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 0.95fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.75rem);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--bg-3), var(--bg));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.pb-hex__side-title {
  margin-bottom: 1rem;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.pb-hex__items {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.pb-hex__items li {
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.875rem;
  color: var(--ink-soft);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease),
    color 0.3s var(--ease);
}

.pb-hex__side--in .pb-hex__items li:hover {
  border-color: rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.07);
  color: var(--ink);
}

.pb-hex__side--out .pb-hex__items li:hover {
  border-color: rgba(167, 139, 250, 0.45);
  background: rgba(167, 139, 250, 0.07);
  color: var(--ink);
}

.pb-hex__core {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: center;
  width: clamp(178px, 24vw, 250px);
  aspect-ratio: 1;
}

.pb-hex__ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(34, 211, 238, 0.38);
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, rgba(34, 211, 238, 0.22), rgba(8, 9, 12, 0.93) 72%);
  box-shadow: inset 0 0 60px rgba(34, 211, 238, 0.13);
}

.pb-hex__ring::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px dashed rgba(167, 139, 250, 0.35);
  border-radius: 50%;
  animation: pb-turn 34s linear infinite;
}

@keyframes pb-turn {
  to { rotate: 360deg; }
}

.pb-hex__core-body {
  position: relative;
  padding: 1.25rem;
  text-align: center;
}

.pb-hex__core-label {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--accent);
}

.pb-hex__core-note {
  margin-top: 0.3rem;
  font-size: 0.75rem;
  line-height: 1.4;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.pb-hex__flow {
  position: relative;
  justify-self: center;
  width: clamp(20px, 5vw, 54px);
  height: 1px;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.14), rgba(34, 211, 238, 0.78));
}

.pb-hex__flow--out {
  background: linear-gradient(90deg, rgba(167, 139, 250, 0.78), rgba(167, 139, 250, 0.14));
}

.pb-hex__flow::after {
  content: "";
  position: absolute;
  top: -3px;
  right: 0;
  border-left: 6px solid rgba(34, 211, 238, 0.78);
  border-top: 3.5px solid transparent;
  border-bottom: 3.5px solid transparent;
}

.pb-hex__flow--out::after { border-left-color: rgba(167, 139, 250, 0.78); }

.pb-hex__flow i {
  position: absolute;
  top: -3px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px 3px rgba(34, 211, 238, 0.5);
  animation: pb-travel 2.8s var(--ease) infinite;
}

.pb-hex__flow--out i {
  background: var(--accent-2);
  box-shadow: 0 0 12px 3px rgba(167, 139, 250, 0.5);
  animation-delay: 0.45s;
}

@keyframes pb-travel {
  0%   { left: 0; opacity: 0; }
  18%  { opacity: 1; }
  78%  { opacity: 1; }
  100% { left: calc(100% - 6px); opacity: 0; }
}

.pb-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 1rem 2rem;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.pb-benefits li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.pb-benefits li::before {
  content: "";
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px 2px rgba(34, 211, 238, 0.4);
}

.pb-docs {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

.pb-doc {
  padding: clamp(1.35rem, 2.6vw, 1.85rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0) 62%);
  transition: translate 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.pb-doc:hover {
  translate: 0 -4px;
  border-color: rgba(34, 211, 238, 0.42);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.42);
}

.pb-doc__index {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--accent);
}

.pb-doc h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  margin-bottom: 0.35rem;
}

.pb-doc p {
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.pb-prose code,
.pb-doc code {
  padding: 0.12em 0.4em;
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 6px;
  background: rgba(34, 211, 238, 0.1);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85em;
  color: #a5eefb;
}

.pb-pack {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
}

.pb-pack__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  grid-template-areas:
    "canopy head"
    "canopy code"
    "canopy actions";
  align-items: start;
  gap: 1.25rem clamp(1.5rem, 4vw, 3rem);
}

.pb-canopy {
  grid-area: canopy;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pb-canopy__art {
  position: relative;
  display: block;
  width: 100%;
  line-height: 0;
}

.pb-canopy__art img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 20px rgba(34, 211, 238, 0.16));
}

.pb-canopy__art i {
  position: absolute;
  top: 74%;
  right: 20%;
  width: 4px;
  height: 10px;
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  background: rgba(148, 197, 255, 0.85);
  box-shadow: 0 0 10px 3px rgba(148, 197, 255, 0.32);
  animation: pb-drip 3.6s var(--ease) infinite;
}

@keyframes pb-drip {
  0%, 58% { opacity: 0; transform: translateY(0) scaleY(0.4); }
  68%     { opacity: 1; transform: translateY(0) scaleY(1); }
  100%    { opacity: 0; transform: translateY(40px) scaleY(1.25); }
}

.pb-pack__head {
  grid-area: head;
  margin-bottom: 0;
}

.pb-code {
  grid-area: code;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--bg-3), var(--bg));
  overflow: hidden;
}

.pb-code__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.pb-code__label {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.pb-code__copy {
  appearance: none;
  cursor: pointer;
  padding: 0.28rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.03);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
    color 0.3s var(--ease);
}

.pb-code__copy:hover {
  background: rgba(255, 255, 255, 0.09);
  color: var(--ink);
}

.pb-code__copy.is-copied {
  border-color: rgba(52, 211, 153, 0.5);
  background: rgba(52, 211, 153, 0.16);
  color: #6ee7b7;
}

.pb-code__body {
  margin: 0;
  padding: 1.15rem 1.25rem;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.875rem;
  line-height: 1.9;
  color: var(--ink-soft);
  tab-size: 2;
}

.pb-pack__actions {
  grid-area: actions;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.pb-next {
  padding-block: clamp(4.5rem, 9vw, 7rem);
  text-align: center;
}

.pb-next__inner { max-width: 40rem; }

.pb-next h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.2rem + 3.6vw, 3.25rem);
  margin-bottom: 1rem;
}

.pb-next p {
  margin-bottom: 2rem;
  color: var(--ink-soft);
}

.pb-next__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

@media (min-width: 900px) {
  .pb-docs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 899px) {
  .pb-hex { grid-template-columns: minmax(0, 1fr); }

  .pb-hex__core { width: min(230px, 68vw); }

  .pb-hex__flow {
    justify-self: center;
    width: 1px;
    height: 30px;
    background: linear-gradient(180deg, rgba(34, 211, 238, 0.14), rgba(34, 211, 238, 0.78));
  }

  .pb-hex__flow--out {
    background: linear-gradient(180deg, rgba(167, 139, 250, 0.78), rgba(167, 139, 250, 0.14));
  }

  .pb-hex__flow::after {
    top: auto;
    right: auto;
    bottom: 0;
    left: -2.5px;
    border-left: 3.5px solid transparent;
    border-right: 3.5px solid transparent;
    border-top: 6px solid rgba(34, 211, 238, 0.78);
    border-bottom: 0;
  }

  .pb-hex__flow--out::after { border-top-color: rgba(167, 139, 250, 0.78); }

  .pb-hex__flow i {
    top: 0;
    left: -2.5px;
    animation-name: pb-travel-y;
  }

  @keyframes pb-travel-y {
    0%   { top: 0; opacity: 0; }
    18%  { opacity: 1; }
    78%  { opacity: 1; }
    100% { top: calc(100% - 6px); opacity: 0; }
  }

  .pb-pack__inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "canopy"
      "head"
      "code"
      "actions";
  }

  .pb-canopy {
    width: min(230px, 62%);
    margin-inline: auto;
    margin-bottom: 0.5rem;
  }

  .pb-pack__head { margin-bottom: 0.25rem; }
}

@media (max-width: 767px) {
  .pb-hero { min-height: auto; padding-block: 8rem 5.5rem; }

  .pb-hero__sky::after { top: 4%; right: 4%; }

  .pb-weather__icon { font-size: 30px; }

  .pb-code__body { font-size: 0.8125rem; }

  .pb-canopy { width: min(190px, 68%); }
}

@media (prefers-reduced-motion: reduce) {
  .pb-weather__card:hover,
  .pb-doc:hover { translate: none; }

  .pb-canopy__art i { display: none; }

  .pb-start:hover,
  .pb-start:focus-visible { transform: none; }

  .pb-start:hover .pb-start__art,
  .pb-start:focus-visible .pb-start__art { transform: none; }
}
