:root {
  --paper: #edf3f4;
  --paper-strong: #d6e3e7;
  --ink: #162028;
  --ink-soft: #51606d;
  --night: #0d1419;
  --night-soft: #18242d;
  --line: rgba(22, 32, 40, 0.14);
  --line-light: rgba(255, 244, 226, 0.16);
  --accent: #1d6d8c;
  --accent-soft: #8dc6d6;
  --surface: rgba(250, 254, 255, 0.62);
  --font-display: "Sora", sans-serif;
  --font-ui: "Manrope", sans-serif;
  --shadow: 0 24px 70px rgba(10, 15, 20, 0.16);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(29, 109, 140, 0.16), transparent 30%),
    linear-gradient(180deg, #f8fbfb 0%, var(--paper) 42%, #eaf1f2 100%);
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

.shell {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(237, 243, 244, 0.78);
  border-bottom: 1px solid rgba(22, 32, 40, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-mark {
  width: 64px;
}

.brand-name,
.site-nav a,
.section-label,
.hero-label,
.stream-index,
.stream-meta,
.method-step {
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-name,
.site-nav a {
  font-size: 0.82rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  position: relative;
  text-decoration: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.2);
  transform-origin: left;
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.hero {
  position: relative;
  overflow: clip;
  min-height: calc(100svh - 82px);
  background:
    radial-gradient(circle at 78% 34%, rgba(141, 198, 214, 0.18), transparent 18%),
    linear-gradient(135deg, var(--night) 0%, #12212a 52%, #1a2b35 100%);
  color: #f8f2e8;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(248, 242, 232, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(248, 242, 232, 0.05) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 90%);
  opacity: 0.2;
}

.hero-noise {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 18%, rgba(29, 109, 140, 0.24), transparent 24%),
    radial-gradient(circle at 78% 75%, rgba(141, 198, 214, 0.14), transparent 28%);
  animation: drift 16s ease-in-out infinite alternate;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 56px;
  align-items: center;
  padding-top: clamp(56px, 9vw, 96px);
  padding-bottom: clamp(56px, 8vw, 88px);
}

.hero-copy > * {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 700ms ease forwards;
}

.hero-copy > :nth-child(1) {
  animation-delay: 80ms;
}

.hero-copy > :nth-child(2) {
  animation-delay: 180ms;
}

.hero-copy > :nth-child(3) {
  animation-delay: 280ms;
}

.hero-copy > :nth-child(4) {
  animation-delay: 380ms;
}

.hero-copy > :nth-child(5) {
  animation-delay: 480ms;
}

.hero-label,
.section-label,
.stream-index,
.stream-meta,
.method-step {
  font-size: 0.72rem;
  font-weight: 600;
}

.hero-label {
  margin: 0 0 20px;
  color: var(--accent-soft);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

h1 {
  max-width: 8ch;
  font-size: clamp(3.9rem, 9vw, 6rem);
}

h2 {
  font-size: clamp(1.95rem, 4vw, 2.95rem);
}

h3 {
  font-size: 1.32rem;
  line-height: 1.08;
}

.hero-deck {
  max-width: 19ch;
  margin: 24px 0 0;
  font-family: var(--font-ui);
  font-size: clamp(1.24rem, 1.9vw, 1.62rem);
  font-weight: 500;
  line-height: 1.32;
  color: #d5edf3;
}

.hero-summary,
.section-copy p,
.stream-body span,
.method-grid p,
.closing p {
  color: rgba(248, 242, 232, 0.78);
  font-size: 1.01rem;
}

.hero-summary {
  max-width: 58ch;
  margin: 24px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

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

.button-primary {
  color: var(--night);
  background: var(--accent-soft);
}

.button-secondary {
  color: #f8f2e8;
  border-color: rgba(248, 242, 232, 0.22);
  background: rgba(248, 242, 232, 0.06);
}

.hero-mark-wrap {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
}

.hero-orbit {
  position: absolute;
  inset: 10% 12%;
  border: 1px solid rgba(248, 242, 232, 0.12);
  border-radius: 50%;
}

.hero-mark {
  position: relative;
  z-index: 1;
  width: min(100%, 340px);
  filter: drop-shadow(0 24px 44px rgba(0, 0, 0, 0.34));
  animation: float 14s ease-in-out infinite;
}

.section {
  padding: 84px 0;
}

.section-shell {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.section-dark {
  background:
    linear-gradient(180deg, rgba(13, 20, 25, 0.98), rgba(13, 20, 25, 0.94)),
    radial-gradient(circle at top left, rgba(29, 109, 140, 0.18), transparent 24%);
  color: #f8f2e8;
}

.section-dark .section-shell {
  border-top-color: var(--line-light);
}

.section-dark .section-label {
  color: var(--accent-soft);
}

.section-label {
  margin: 0 0 18px;
  color: var(--accent);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 40px;
  align-items: start;
}

.section-copy p,
.method-grid p,
.closing p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  line-height: 1.72;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.stream-list {
  border-top: 1px solid var(--line-light);
}

.stream {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 24px 0;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--line-light);
  transition: transform 180ms ease, color 180ms ease;
}

.stream:hover,
.stream:focus-visible {
  transform: translateX(6px);
}

.stream-body {
  display: grid;
  gap: 10px;
}

.stream-body strong {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  font-weight: 600;
  line-height: 1.06;
}

.stream-body span {
  max-width: 58ch;
  line-height: 1.7;
}

.stream-meta {
  color: var(--accent-soft);
  white-space: nowrap;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 18px;
}

.method-grid div {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.method-step {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent);
}

.method-grid h3 {
  margin-bottom: 12px;
}

.closing {
  padding-top: 48px;
}

.closing-inner {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  padding-bottom: 96px;
}

.closing-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 24px;
}

.closing-links a {
  position: relative;
  font-weight: 700;
  text-decoration: none;
}

.closing-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(0, -18px, 0) scale(1.03);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-16px);
  }
}

@media (max-width: 920px) {
  .hero-inner,
  .split-layout,
  .section-heading,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    gap: 28px;
    padding-top: 48px;
  }

  .hero-mark-wrap {
    min-height: 280px;
    order: -1;
  }

  .hero-mark {
    width: min(100%, 260px);
  }

  .hero-orbit {
    inset: 6%;
  }

  .stream {
    grid-template-columns: 54px 1fr;
  }

  .stream-meta {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 32px, 1160px);
  }

  .header-inner {
    min-height: 74px;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 12px 0;
  }

  .site-nav {
    gap: 16px;
  }

  .hero-deck {
    max-width: 13ch;
  }

  .hero-summary,
  .section-copy p,
  .stream-body span,
  .method-grid p,
  .closing p {
    font-size: 0.98rem;
  }

  .stream {
    gap: 12px;
    padding: 20px 0;
  }

  .section,
  .closing {
    padding: 68px 0;
  }
}
