:root {
  color-scheme: light;
  --ink: #18201d;
  --muted: #5a6660;
  --soft: #eef3f0;
  --paper: #fbfcfb;
  --panel: rgba(255, 255, 255, 0.88);
  --line: #d7dfda;
  --green: #1d6b4f;
  --green-dark: #134936;
  --blue: #315e85;
  --coral: #b95d3e;
  --shadow: 0 24px 70px rgba(30, 44, 38, 0.13);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

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

.skip-link {
  background: var(--ink);
  color: #fff;
  left: 16px;
  padding: 10px 14px;
  position: fixed;
  top: -48px;
  z-index: 50;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(20px);
  background: rgba(251, 252, 251, 0.82);
  border-bottom: 1px solid rgba(215, 223, 218, 0.78);
  display: grid;
  gap: 24px;
  grid-template-columns: auto 1fr auto;
  left: 0;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand,
.nav-links,
.hero-actions,
.hero-ledger,
.panel-topline,
.refs,
.evidence-links ul,
.site-footer {
  align-items: center;
  display: flex;
}

.brand {
  font-weight: 720;
  gap: 10px;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 0.78rem;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.nav-links {
  color: var(--muted);
  font-size: 0.93rem;
  gap: clamp(14px, 3vw, 30px);
  justify-content: center;
}

.nav-links a,
.header-cta {
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.header-cta {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green-dark);
  font-size: 0.92rem;
  font-weight: 680;
  padding: 10px 14px;
}

.header-cta:hover {
  background: #fff;
  border-color: var(--green);
}

.hero {
  min-height: clamp(620px, 82vh, 780px);
  overflow: hidden;
  padding: clamp(64px, 7vw, 96px) clamp(20px, 5vw, 72px) clamp(50px, 7vw, 78px);
  position: relative;
}

.hero::after {
  background: linear-gradient(180deg, rgba(251, 252, 251, 0) 0%, var(--paper) 86%);
  bottom: 0;
  content: "";
  height: 30%;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
}

.hero-ambient {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
}

.source-stream {
  display: grid;
  gap: 14px;
  opacity: 0.86;
  position: absolute;
  width: min(36vw, 440px);
}

.source-stream span {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(215, 223, 218, 0.9);
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  box-shadow: 0 10px 34px rgba(30, 44, 38, 0.07);
  color: #50605a;
  font-size: clamp(0.78rem, 1.2vw, 0.95rem);
  padding: 13px 16px;
}

.stream-one {
  right: 8vw;
  top: 14vh;
  transform: rotate(-4deg);
}

.stream-two {
  display: none;
}

.stream-two span {
  border-left-color: var(--coral);
}

.hero-pack {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(215, 223, 218, 0.9);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-height: 290px;
  padding: 22px;
  position: absolute;
  right: clamp(20px, 8vw, 120px);
  top: clamp(340px, 46vh, 510px);
  transform: rotate(1deg);
  width: min(44vw, 520px);
}

.pack-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 22px;
}

.pack-header span,
.pack-header strong {
  font-size: 0.84rem;
}

.pack-header span {
  color: var(--muted);
}

.pack-header strong {
  background: #e7f3ed;
  border-radius: 999px;
  color: var(--green-dark);
  padding: 6px 10px;
}

.pack-line {
  background: #d9e3dd;
  border-radius: 999px;
  height: 11px;
  margin: 14px 0;
  width: 72%;
}

.pack-line.wide {
  width: 94%;
}

.pack-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 24px;
}

.pack-grid span {
  background: #edf3f0;
  border: 1px solid #dce5df;
  border-radius: 8px;
  height: 70px;
}

.hero-content {
  max-width: 780px;
  position: relative;
  width: 100%;
  z-index: 2;
}

.eyebrow {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(3.45rem, 8vw, 6.5rem);
  letter-spacing: 0;
  line-height: 0.96;
  margin-bottom: 28px;
  max-width: min(100%, 820px);
}

h2 {
  font-size: clamp(2rem, 4vw, 4.3rem);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 0;
}

h3 {
  font-size: 1rem;
  line-height: 1.25;
}

.hero-copy {
  color: #33413b;
  font-size: clamp(1.12rem, 2.2vw, 1.46rem);
  line-height: 1.48;
  max-width: 680px;
}

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

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 740;
  justify-content: center;
  min-height: 48px;
  padding: 14px 18px;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

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

.button.primary {
  background: var(--green-dark);
  color: #fff;
}

.button.primary:hover {
  background: var(--green);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  color: var(--ink);
}

.hero-note {
  color: var(--muted);
  font-size: 0.96rem;
  margin-top: 12px;
  max-width: 600px;
}

.hero-ledger {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  max-width: 720px;
  width: 100%;
}

.hero-ledger span {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #41504a;
  font-size: 0.87rem;
  font-weight: 680;
  padding: 8px 11px;
}

main > section:not(.hero) {
  padding: clamp(72px, 9vw, 118px) clamp(20px, 5vw, 72px);
}

.section-grid {
  display: grid;
  gap: clamp(34px, 7vw, 96px);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
}

.problem-copy,
.join-copy p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.problem-copy p:last-child,
.join-copy p:last-child {
  margin-bottom: 0;
}

.proof {
  background: #f1f5f3;
}

.section-heading {
  margin: 0 auto clamp(34px, 5vw, 54px);
  max-width: 880px;
  text-align: center;
}

.section-heading.compact {
  max-width: 760px;
}

.section-intro {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.55;
  margin: 18px auto 0;
  max-width: 640px;
}

.artifact {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  margin: 0 auto;
  max-width: 1180px;
}

.artifact-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(30, 44, 38, 0.09);
  padding: clamp(20px, 3vw, 30px);
}

.panel-topline {
  color: var(--muted);
  font-size: 0.86rem;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 22px;
}

.panel-topline strong {
  color: var(--green-dark);
}

blockquote {
  border-left: 4px solid var(--coral);
  color: #2e3934;
  font-size: 1.12rem;
  line-height: 1.6;
  margin: 0;
  padding-left: 18px;
}

.source-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.source-tags span,
.refs code {
  background: #eef3f0;
  border: 1px solid #dce5df;
  border-radius: 999px;
  color: #475650;
  font-size: 0.82rem;
  padding: 7px 10px;
}

.context-block {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.context-block + .context-block {
  margin-top: 20px;
}

.context-block h3 {
  margin-bottom: 10px;
}

.problem-flow {
  gap: 12px;
}

.problem-flow article {
  border-left: 3px solid var(--line);
  padding: 0 0 0 18px;
}

.problem-flow article + article {
  margin-top: 22px;
}

.problem-flow span {
  color: var(--coral);
  display: block;
  font-size: 0.8rem;
  font-weight: 760;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.problem-flow p {
  margin-bottom: 0;
}

ul {
  margin: 0;
  padding-left: 20px;
}

li {
  color: #3e4b46;
  line-height: 1.48;
  margin: 7px 0;
}

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

.refs {
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
}

.refs span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 720;
}

.refs code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.evidence-links {
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 18px;
}

.evidence-links > span {
  color: var(--muted);
  display: block;
  font-size: 0.86rem;
  font-weight: 760;
  margin-bottom: 12px;
}

.evidence-links ul {
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.evidence-links li {
  background: #eef3f0;
  border: 1px solid #dce5df;
  border-radius: 999px;
  color: #475650;
  font-size: 0.86rem;
  line-height: 1.2;
  margin: 0;
  padding: 8px 11px;
}

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

.use-case-grid article {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 238px;
  padding: 20px;
}

.case-index {
  color: var(--coral);
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 760;
  margin-bottom: 34px;
}

.use-case-grid p,
.trust-list p {
  color: var(--muted);
  line-height: 1.55;
}

.trust {
  background: #fff;
}

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

.trust-list div {
  background: #f7faf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

.join {
  align-items: start;
  background: var(--ink);
  color: #fff;
  display: grid;
  gap: clamp(34px, 7vw, 86px);
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
}

.join .eyebrow {
  color: #8fd2b5;
}

.join h2 {
  max-width: 640px;
}

.join-copy p {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 22px;
  max-width: 620px;
}

.waitlist-form {
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.26);
  color: var(--ink);
  display: grid;
  gap: 18px;
  padding: clamp(20px, 4vw, 34px);
}

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

label {
  display: grid;
  gap: 8px;
}

label span {
  color: #3d4a45;
  font-size: 0.9rem;
  font-weight: 720;
}

input,
textarea {
  background: #fbfcfb;
  border: 1px solid #cfd9d3;
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  outline: none;
  padding: 13px 14px;
  width: 100%;
}

textarea {
  line-height: 1.45;
  min-height: 118px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(29, 107, 79, 0.12);
}

.hp-field {
  height: 0;
  left: -9999px;
  overflow: hidden;
  position: absolute;
  width: 0;
}

.form-submit {
  border: 0;
  cursor: pointer;
  font: inherit;
  width: fit-content;
}

.form-submit[disabled] {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.form-status {
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
  min-height: 24px;
}

.form-status.success {
  color: var(--green-dark);
}

.form-status.error {
  color: #9d3329;
}

.site-footer {
  background: #111715;
  color: rgba(255, 255, 255, 0.7);
  gap: 18px;
  justify-content: space-between;
  padding: 24px clamp(20px, 5vw, 72px);
}

.site-footer span:first-child {
  color: #fff;
  font-weight: 760;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-pack {
    opacity: 0.48;
    right: -80px;
    top: 360px;
    width: min(86vw, 520px);
  }

  .source-stream {
    width: min(70vw, 420px);
  }

  .stream-one {
    right: -90px;
  }

  .stream-two {
    bottom: 3vh;
    left: -130px;
  }

  .section-grid,
  .artifact,
  .join {
    grid-template-columns: 1fr;
  }

  .use-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
    grid-template-columns: 1fr;
    min-height: 66px;
    padding: 12px 16px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding: 64px 18px 72px;
  }

  h1 {
    font-size: clamp(2.05rem, 9vw, 2.26rem);
    line-height: 1;
  }

  h2 {
    font-size: clamp(1.8rem, 8vw, 2.18rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-pack {
    opacity: 0.16;
    min-height: 250px;
    right: -230px;
    top: 250px;
    width: 580px;
  }

  .source-stream {
    display: none;
  }

  main > section:not(.hero) {
    padding: 68px 18px;
  }

  .split,
  .use-case-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .use-case-grid article {
    min-height: auto;
  }

  .case-index {
    margin-bottom: 18px;
  }

  .form-submit {
    width: 100%;
  }

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

@media (max-width: 430px) {
  h1 {
    font-size: clamp(1.92rem, 8.2vw, 2.06rem);
    line-height: 1.05;
  }

  h2 {
    font-size: clamp(1.68rem, 7vw, 1.86rem);
    line-height: 1.08;
  }

  .hero-copy,
  .problem-copy,
  .join-copy p {
    font-size: 0.96rem;
  }
}
