:root {
  --bg-top: #08141d;
  --bg-mid: #0c2029;
  --bg-bottom: #13251b;
  --surface: rgba(14, 34, 46, 0.72);
  --surface-strong: rgba(10, 28, 39, 0.84);
  --border: rgba(131, 221, 209, 0.24);
  --text: #eaf6f7;
  --muted: #a8c0c7;
  --accent: #12c4a0;
  --accent-deep: #60d8ca;
  --signal: #ff8a5b;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(18, 196, 160, 0.16), transparent 28%),
    radial-gradient(circle at bottom left, rgba(255, 138, 91, 0.14), transparent 26%),
    linear-gradient(180deg, var(--bg-top), var(--bg-mid) 54%, var(--bg-bottom));
}

a {
  color: inherit;
}

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

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.brand {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  text-decoration: none;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-link {
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  background: rgba(10, 24, 33, 0.5);
  border: 1px solid rgba(111, 188, 188, 0.18);
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-link.active,
.nav-link:hover {
  color: var(--text);
  border-color: var(--border);
}

.hero {
  display: grid;
  gap: 22px;
  margin-bottom: 28px;
}

.hero-card,
.content-card,
.split-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--surface), rgba(214, 255, 246, 0.05));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card {
  padding: 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: rgba(18, 196, 160, 0.16);
  border: 1px solid rgba(131, 236, 219, 0.18);
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
}

.hero h1 {
  margin: 14px 0 10px;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero p {
  margin: 0;
  max-width: 720px;
  font-size: 1.06rem;
  line-height: 1.7;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 700;
  transition: transform 140ms ease, opacity 140ms ease, border-color 140ms ease;
}

.button {
  color: #fff;
  background: linear-gradient(135deg, #0f7b79, #12c4a0);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.button-secondary {
  color: var(--text);
  background: rgba(10, 24, 33, 0.56);
  border: 1px solid rgba(111, 188, 188, 0.2);
}

.button:hover,
.button-secondary:hover,
.nav-link:hover {
  transform: translateY(-1px);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.content-card {
  padding: 22px;
}

.content-card h2,
.split-card h2,
.policy-block h2 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.content-card p,
.split-card p,
.policy-block p,
.policy-block li {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
}

.split-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.split-card {
  padding: 24px;
}

.list {
  margin: 14px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.policy-shell {
  display: grid;
  gap: 18px;
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.meta-chip {
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: rgba(10, 24, 33, 0.56);
  border: 1px solid rgba(111, 188, 188, 0.2);
  color: var(--muted);
  font-size: 0.88rem;
}

.policy-block {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--surface-strong), rgba(214, 255, 246, 0.04));
}

.policy-block + .policy-block {
  margin-top: 14px;
}

.footer {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(111, 188, 188, 0.16);
  color: var(--muted);
  font-size: 0.92rem;
}

.signal {
  color: var(--signal);
}

@media (max-width: 860px) {
  .grid,
  .split-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 24px, 100%);
    padding-top: 18px;
  }

  .hero-card,
  .content-card,
  .split-card,
  .policy-block {
    padding: 18px;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }
}

.homepage {
  --home-bg: #08131b;
  --home-bg-soft: #0d1e28;
  --home-line: rgba(194, 244, 237, 0.16);
  --home-accent: #9df3e6;
  --home-serif: "Instrument Serif", "Times New Roman", serif;
  --home-sans: "Sora", "Avenir Next", Avenir, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 78% 18%, rgba(18, 196, 160, 0.2), transparent 18%),
    radial-gradient(circle at 18% 76%, rgba(255, 138, 91, 0.16), transparent 24%),
    linear-gradient(180deg, #08131b 0%, #0b1720 35%, #0c1e28 100%);
  color: #f4f8f6;
  font-family: var(--home-sans);
}

.homepage::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, black 42%, transparent 86%);
  opacity: 0.22;
}

.home-nav,
.home-main {
  position: relative;
  z-index: 1;
}

.home-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0 0;
}

.home-brand {
  color: #f7fcfb;
  text-decoration: none;
  font-family: var(--home-serif);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  letter-spacing: -0.04em;
}

.home-nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.home-nav-link {
  text-decoration: none;
  color: rgba(232, 245, 244, 0.78);
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 19, 27, 0.4);
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.home-nav-link:hover {
  color: #fff;
  border-color: rgba(157, 243, 230, 0.28);
  background: rgba(11, 28, 37, 0.76);
  transform: translateY(-1px);
}

.home-main {
  display: grid;
  gap: 0;
}

.home-hero,
.home-rail,
.story-band,
.quote-band,
.home-cta {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.home-hero {
  min-height: calc(100svh - 76px);
  display: flex;
  align-items: center;
  padding: 28px 0 54px;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.88fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  width: 100%;
}

.hero-copy {
  max-width: 34rem;
}

.hero-copy > * {
  opacity: 0;
  transform: translateY(16px);
  animation: rise-in 700ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

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

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

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

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

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

.hero-copy > *:nth-child(6) {
  animation-delay: 440ms;
}

.home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--home-accent);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
}

.home-kicker::before {
  content: "";
  width: 42px;
  height: 1px;
  background: rgba(157, 243, 230, 0.44);
}

.hero-brand {
  margin: 18px 0 12px;
  color: #f7fcfb;
  font-family: var(--home-serif);
  font-size: clamp(4.7rem, 13vw, 8.8rem);
  line-height: 0.88;
  letter-spacing: -0.07em;
}

.homepage h1,
.homepage h2,
.homepage h3 {
  margin: 0;
}

.homepage h1 {
  max-width: 9.5ch;
  font-family: var(--home-serif);
  font-size: clamp(2.9rem, 6.2vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.hero-body,
.home-cta p,
.rail-copy p,
.sequence-body {
  color: rgba(231, 242, 241, 0.76);
  line-height: 1.72;
}

.hero-body {
  margin: 20px 0 0;
  max-width: 32rem;
  font-size: 1.05rem;
}

.hero-footnote {
  margin: 18px 0 0;
  max-width: 31rem;
  color: rgba(191, 214, 214, 0.72);
  font-size: 0.93rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.home-primary,
.home-secondary {
  min-width: 172px;
}

.button.home-primary {
  background: linear-gradient(135deg, #0f8a81, #18c6a5);
  box-shadow: 0 14px 34px rgba(18, 196, 160, 0.18);
}

.button-secondary.home-secondary {
  background: rgba(9, 23, 31, 0.58);
}

.home-primary:hover,
.home-secondary:hover {
  transform: translateY(-2px);
}

.poster-stage {
  position: relative;
  min-height: 650px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.poster-stage::before {
  content: "";
  position: absolute;
  inset: 8% 10% 12%;
  border-radius: 44px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
  border: 1px solid rgba(255, 255, 255, 0.06);
  transform: rotate(-8deg);
}

.poster-frame {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 520 / 720;
  filter: drop-shadow(0 26px 60px rgba(0, 0, 0, 0.35));
  animation: poster-float 7.2s ease-in-out infinite;
}

.poster-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.poster-arc {
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
  animation: arc-draw 2s ease 600ms forwards;
}

.poster-words {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  padding: 10px 0;
  pointer-events: none;
}

.poster-words span {
  color: rgba(228, 239, 238, 0.5);
  font-size: clamp(0.9rem, 1vw, 1rem);
  letter-spacing: 0.36em;
  text-transform: uppercase;
  transform: rotate(90deg) translateY(-24px);
  transform-origin: center;
}

.home-rail,
.story-band,
.quote-band,
.home-cta {
  border-top: 1px solid var(--home-line);
  padding: 56px 0;
}

.home-rail {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 72px);
}

.rail-intro h2,
.story-copy h2,
.home-cta h2 {
  margin-top: 12px;
  font-family: var(--home-serif);
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.rail-list {
  display: grid;
}

.rail-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rail-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.rail-index,
.sequence-label {
  color: rgba(157, 243, 230, 0.74);
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.rail-copy h3 {
  margin-bottom: 8px;
  font-size: 1.16rem;
  font-weight: 600;
}

.story-band {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.story-copy {
  max-width: 26rem;
}

.story-sequence {
  display: grid;
  gap: 22px;
}

.sequence-step {
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sequence-step:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.sequence-label {
  margin: 0 0 12px;
}

.sequence-body {
  margin: 0;
  max-width: 32rem;
}

.quote-band {
  padding-top: 74px;
  padding-bottom: 74px;
}

.quote-band p {
  max-width: 13ch;
  margin: 0;
  color: #f7fcfb;
  font-family: var(--home-serif);
  font-size: clamp(2.2rem, 5.8vw, 5.1rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.home-cta {
  max-width: 820px;
}

.home-cta p {
  margin: 18px 0 0;
  max-width: 38rem;
}

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

@keyframes arc-draw {
  to {
    stroke-dashoffset: 0;
  }
}

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

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

@media (max-width: 980px) {
  .home-hero-grid,
  .home-rail,
  .story-band {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: auto;
    padding-top: 36px;
  }

  .poster-stage {
    min-height: 520px;
  }
}

@media (max-width: 640px) {
  .home-nav,
  .home-hero,
  .home-rail,
  .story-band,
  .quote-band,
  .home-cta {
    width: min(100% - 24px, 100%);
  }

  .home-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-hero {
    padding-bottom: 42px;
  }

  .poster-stage {
    min-height: 420px;
  }

  .poster-words {
    display: none;
  }

  .quote-band {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .hero-actions {
    width: 100%;
  }

  .home-primary,
  .home-secondary {
    width: 100%;
  }
}
