@font-face {
  font-family: "D-DIN";
  src: url("./fonts/D-DIN-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #05070a;
  --panel: #0a0d12;
  --panel-2: #10151d;
  --line: rgba(255, 255, 255, 0.14);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f4f7fb;
  --muted: #a9b2bf;
  --accent: #c8d0d9;
  --accent-bright: #ffffff;
  --shell: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: white;
  color: black;
  padding: 12px 16px;
  transition: top 160ms ease;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(2,5,8,.86), rgba(2,5,8,.15));
}
.nav-wrap { height: 78px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; font-size: .76rem; font-weight: 700; letter-spacing: .18em; }
.brand-mark {
  display: inline-block;
  flex: 0 0 auto;
  width: 34px;
  height: 24px;
  background: url("./prosper-human-logo-source.png") center -8px / 64px auto no-repeat;
  mix-blend-mode: screen;
}
.brand-mark::before, .brand-mark::after, .brand-mark i { display: none; }
nav { display: flex; align-items: center; gap: 32px; color: #c7cfda; font-size: .88rem; }
nav a, .text-link { transition: color 160ms ease; }
nav a:hover, .text-link:hover { color: white; }
.nav-cta { justify-self: end; border: 1px solid rgba(255,255,255,.38); padding: 10px 16px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; transition: background 160ms ease, color 160ms ease; }
.nav-cta:hover { background: white; color: black; }

.hero { min-height: 900px; height: 100svh; max-height: 1020px; position: relative; overflow: hidden; display: flex; align-items: center; isolation: isolate; }
.hero-art { position: absolute; inset: 0; z-index: -3; background: url("./prosper-human-hero-v2.png") center / cover no-repeat; opacity: .92; transform: scale(1.02); }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(3,5,8,.98) 0%, rgba(3,5,8,.88) 32%, rgba(3,5,8,.24) 69%, rgba(3,5,8,.35) 100%), linear-gradient(0deg, #05070a 0%, transparent 19%, transparent 85%, rgba(5,7,10,.35)); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: var(--line); }
.hero-content { padding-top: 90px; }
.eyebrow, .section-label { margin: 0; text-transform: uppercase; letter-spacing: .15em; font-size: .72rem; font-weight: 700; color: #aeb7c4; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #d1d8e1; }
.eyebrow span { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-bright); box-shadow: 0 0 18px rgba(255,255,255,.45); }
h1 {
  max-width: 960px;
  margin: 26px 0 24px;
  font-family: "D-DIN", "Arial Narrow", sans-serif;
  font-size: clamp(3.2rem, 6.55vw, 6.75rem);
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: .91;
  text-wrap: balance;
}
.hero-copy { max-width: 590px; margin: 0; color: #c0c9d4; font-size: clamp(1.05rem, 1.45vw, 1.28rem); line-height: 1.62; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 34px; min-width: 220px; padding: 15px 18px; border: 1px solid transparent; font-size: .84rem; font-weight: 700; letter-spacing: .035em; transition: transform 180ms ease, background 180ms ease, border-color 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: #f4f7fb; color: #05070a; }
.button-primary:hover { background: #dfe4e9; }
.text-link { display: inline-flex; gap: 10px; align-items: center; color: #c2cad4; font-size: .9rem; }
.hero-index { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: var(--shell); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.hero-index div { min-height: 88px; display: flex; align-items: center; gap: 18px; border-right: 1px solid var(--line); padding: 0 24px; color: #d8dee6; }
.hero-index div:first-child { border-left: 1px solid var(--line); }
.hero-index b { color: var(--accent-bright); font-size: .7rem; letter-spacing: .1em; }
.hero-index span { font-size: .82rem; letter-spacing: .035em; }

.section { padding: 150px 0; }
.section-heading { display: grid; grid-template-columns: 1fr 2.1fr; gap: 48px; align-items: start; margin-bottom: 76px; }
.section-heading h2, .horizon h2, .closing h2 {
  margin: 0;
  font-family: "D-DIN", "Arial Narrow", sans-serif;
  font-size: clamp(2.6rem, 5vw, 5.3rem);
  font-weight: 700;
  line-height: .96;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.section-heading > div > p { max-width: 650px; margin: 26px 0 0; color: var(--muted); font-size: 1.12rem; line-height: 1.7; }
.product-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 18px; }
.product-card { min-height: 610px; background: var(--panel); border: 1px solid var(--line); padding: 30px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.product-featured { background: radial-gradient(circle at 80% 75%, rgba(255,255,255,.07), transparent 35%), var(--panel); }
.product-topline { display: flex; justify-content: space-between; align-items: center; }
.status { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; color: #edf1f5; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-bright); box-shadow: 0 0 12px rgba(255,255,255,.4); }
.status-muted { color: #a4acb7; }
.status-muted::before { background: #707886; box-shadow: none; }
.product-number { color: #78818e; font-size: .68rem; letter-spacing: .12em; }
.product-body { margin-top: 104px; max-width: 590px; }
.product-kicker { color: #7f8997; text-transform: uppercase; letter-spacing: .1em; font-size: .68rem; }
.product-body h3 { margin: 8px 0 18px; font-size: clamp(3.8rem, 7vw, 6.8rem); font-weight: 450; letter-spacing: -.06em; line-height: .95; }
.product-body > p:last-child { color: #b0bac7; line-height: 1.72; max-width: 510px; }
.product-upcoming .product-body h3 { font-size: clamp(3.2rem, 5vw, 5rem); }
.friction-demo { margin-top: auto; width: min(90%, 560px); }
.demo-state { display: flex; justify-content: space-between; color: #77818e; font-size: .64rem; letter-spacing: .15em; }
.demo-track { height: 1px; background: rgba(255,255,255,.18); margin: 16px 0; position: relative; }
.demo-track::after { content: ""; position: absolute; right: 0; top: -4px; width: 9px; height: 9px; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; background: var(--panel); }
.demo-track span { display: block; position: absolute; left: 28%; top: -8px; width: 17px; height: 17px; border-radius: 50%; background: var(--accent-bright); box-shadow: 0 0 28px rgba(255,255,255,.42); }
.friction-demo p { margin: 0; color: #bbc5d1; font-size: .82rem; }
.signal-list { margin-top: auto; display: grid; gap: 12px; align-items: end; }
.signal-list span { display: block; height: 1px; width: var(--w); background: linear-gradient(90deg, rgba(255,255,255,.68), rgba(255,255,255,.04)); }

.manifesto { padding: 110px 0; border-block: 1px solid var(--line-soft); background: #070a0e; }
.manifesto-grid { display: grid; grid-template-columns: 1fr 2.1fr; gap: 48px; }
.manifesto-copy { margin: 0; max-width: 900px; color: #7f8995; font-size: clamp(2rem, 4.4vw, 4.8rem); line-height: 1.08; letter-spacing: -.045em; }
.manifesto-copy strong { color: var(--text); font-weight: 430; }
.approach { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(circle at 88% 11%, rgba(255,255,255,.075), transparent 25%), radial-gradient(circle at 7% 88%, rgba(255,255,255,.035), transparent 28%), linear-gradient(145deg, #05070a 0%, #0a0f16 52%, #05070a 100%); }
.approach::before { content: ""; position: absolute; z-index: -1; width: 820px; height: 420px; right: -320px; top: -250px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; transform: rotate(-11deg); box-shadow: 0 0 60px rgba(255,255,255,.025); }
.approach::after { content: ""; position: absolute; z-index: -1; right: 7%; top: 0; width: 1px; height: 190px; background: linear-gradient(180deg, rgba(255,255,255,.55), transparent); box-shadow: 0 0 18px rgba(255,255,255,.2); }
.section-heading.compact { margin-bottom: 0; padding-bottom: 82px; border-bottom: 1px solid var(--line); }
.approach .section-heading h2 { max-width: 820px; }
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; padding: 1px; background: var(--line); }
.principles article { min-height: 300px; padding: 36px 38px 38px; background: #080c12; display: grid; grid-template-rows: auto 1fr auto; position: relative; overflow: hidden; transition: background 220ms ease, transform 220ms ease; }
.principles article:nth-child(1) { background: radial-gradient(circle at 100% 100%, rgba(255,255,255,.08), transparent 44%), #090d13; }
.principles article:nth-child(2) { background: linear-gradient(145deg, #080c12 20%, #0d131b 100%); }
.principles article:nth-child(3) { background: linear-gradient(25deg, #070a0f 20%, #0c1118 100%); }
.principles article:nth-child(4) { background: radial-gradient(circle at 0 0, rgba(255,255,255,.07), transparent 43%), #080c12; }
.principles article::after { content: ""; position: absolute; inset: auto 38px 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent); transform: scaleX(0); transform-origin: left; transition: transform 260ms ease; }
.principles article:hover { background-color: #101720; transform: translateY(-3px); }
.principles article:hover::after { transform: scaleX(1); }
.principles article > span { color: var(--accent-bright); font-size: .72rem; letter-spacing: .14em; }
.principles h3 { align-self: end; margin: 50px 0 22px; max-width: 360px; font-family: "D-DIN", "Arial Narrow", sans-serif; font-size: clamp(1.65rem, 2.5vw, 2.35rem); font-weight: 700; line-height: 1; letter-spacing: -.015em; }
.principles p { max-width: 500px; margin: 0; color: var(--muted); line-height: 1.7; }

.horizon { padding-bottom: 100px; background: radial-gradient(circle at 80% 100%, rgba(255,255,255,.065), transparent 30%); }
.horizon-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 70px; }
.horizon h2 { margin-top: 26px; }
.about-copy { padding-top: 47px; }
.about-copy p { color: #aeb7c3; font-size: 1.05rem; line-height: 1.75; }
.about-copy p + p { margin-top: 28px; }
.horizon-line { margin-top: 110px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; color: #6f7884; font-size: .65rem; letter-spacing: .13em; }
.horizon-line i { height: 1px; background: linear-gradient(90deg, var(--accent), rgba(255,255,255,.18)); position: relative; }
.horizon-line i::before { content: ""; position: absolute; left: 18%; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent-bright); box-shadow: 0 0 18px rgba(255,255,255,.38); }

.closing { padding: 120px 0; background: radial-gradient(circle at 78% 50%, rgba(255,255,255,.075), transparent 38%), linear-gradient(135deg, #11161d 0%, #05070a 72%); color: #f4f7fb; border-top: 1px solid var(--line); }
.closing-inner { display: grid; grid-template-columns: .65fr 2fr auto; gap: 46px; align-items: end; }
.closing .section-label { color: rgba(244,247,251,.62); align-self: start; }
.closing h2 { max-width: 700px; font-size: clamp(2.5rem, 4.7vw, 5rem); }
.button-light { min-width: 230px; background: #f4f7fb; color: #05070a; }
.button-light:hover { background: #dfe4e9; }
footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 120px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; color: #808995; font-size: .74rem; letter-spacing: .05em; }
.footer-inner .brand { color: #c7cfda; }
.footer-inner p:last-child { justify-self: end; }

a:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 4px; }
@media (max-width: 860px) {
  :root { --shell: min(100% - 32px, 680px); }
  .nav-wrap { grid-template-columns: 1fr auto; height: 70px; }
  nav { display: none; }
  .hero { min-height: 820px; height: auto; padding: 120px 0 130px; }
  .hero-art { background-position: 68% center; opacity: .72; }
  .hero-shade { background: linear-gradient(90deg, rgba(3,5,8,.96), rgba(3,5,8,.47)), linear-gradient(0deg, #05070a 0%, transparent 40%); }
  h1 { font-size: clamp(3.35rem, 13.8vw, 6rem); max-width: 700px; }
  .hero-index { grid-template-columns: 1fr; }
  .hero-index div { display: none; }
  .hero-index div:first-child { display: flex; border-inline: 0; }
  .section { padding: 100px 0; }
  .section-heading, .manifesto-grid, .horizon-grid { grid-template-columns: 1fr; gap: 28px; }
  .section-heading { margin-bottom: 48px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 540px; }
  .principles { grid-template-columns: 1fr; }
  .principles article { min-height: 260px; }
  .principles p { grid-column: auto; }
  .closing-inner { grid-template-columns: 1fr; align-items: start; }
  .closing .button { margin-top: 12px; }
  .footer-inner { grid-template-columns: 1fr auto; }
  .footer-inner > p:first-of-type { display: none; }
}

@media (max-width: 520px) {
  .brand { font-size: .67rem; gap: 9px; }
  .brand-mark { width: 30px; height: 22px; background-size: 58px auto; background-position-y: -8px; }
  .nav-cta { padding: 9px 11px; font-size: .66rem; }
  .hero { min-height: 780px; padding-top: 116px; }
  h1 { font-size: clamp(3.1rem, 15vw, 4.7rem); }
  .hero-copy { font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .button { width: 100%; }
  .product-card { padding: 22px; min-height: 500px; }
  .product-body { margin-top: 76px; }
  .approach::before { width: 540px; height: 280px; right: -330px; top: -160px; }
  .section-heading.compact { padding-bottom: 56px; }
  .principles article { min-height: 250px; padding: 28px 26px 30px; }
  .principles h3 { margin-top: 44px; }
  .manifesto { padding: 78px 0; }
  .manifesto-copy { font-size: 2.25rem; }
  .about-copy { padding-top: 0; }
  .horizon-line { margin-top: 70px; }
  .closing { padding: 90px 0; }
  .footer-inner { min-height: 108px; grid-template-columns: 1fr; gap: 12px; padding-block: 24px; }
  .footer-inner p:last-child { justify-self: start; margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
