:root {
  --paper: #f5f1ea;
  --paper-2: #ebe3d6;
  --ink: #101418;
  --ink-2: #1a2428;
  --muted: #665f56;
  --line: #d4c9ba;
  --ember: #d66b35;
  --amber: #f0b35a;
  --oxide: #8f4f34;
  --teal: #1c6f6a;
  --white: #fffaf1;
  --shadow: 0 24px 70px rgba(16, 20, 24, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid rgba(212, 201, 186, 0.72);
  background: rgba(245, 241, 234, 0.9);
  backdrop-filter: blur(18px);
}

.site-header[data-scrolled="true"] {
  box-shadow: 0 10px 34px rgba(16, 20, 24, 0.08);
}

.brand,
.nav,
.hero-actions,
.contact-panel,
.site-footer,
.form-segments,
.checkbox-row {
  display: flex;
  align-items: center;
}

.brand {
  justify-self: start;
}

.brand-logo {
  display: block;
  width: 178px;
  height: auto;
}

.nav {
  justify-self: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.78);
}

.nav a {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover,
.nav a:focus-visible {
  background: var(--ink);
  color: var(--white);
  outline: 0;
}

.header-cta {
  justify-self: end;
  padding: 10px 14px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: var(--ink);
  color: var(--white);
  outline: 0;
}

.section-band {
  padding: 92px clamp(20px, 5vw, 64px);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 132px);
  padding-top: 64px;
  padding-bottom: 58px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(16, 20, 24, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 20, 24, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 76% 52%, rgba(214, 107, 53, 0.18), transparent 32%),
    var(--paper);
  background-size: 44px 44px, 44px 44px, auto, auto;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.section-heading,
.contact-panel {
  max-width: 1040px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--oxide);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 980px;
  font-size: 88px;
  line-height: 0.95;
  font-weight: 780;
}

.hero-lede {
  max-width: 760px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
}

.button.primary {
  background: var(--ink);
  color: var(--white);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--oxide);
  outline: 0;
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--ink);
  outline: 0;
}

.heat-map {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.heat-core {
  position: absolute;
  right: 6%;
  bottom: 9%;
  width: min(42vw, 560px);
  aspect-ratio: 1;
  border: 1px solid rgba(214, 107, 53, 0.28);
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, rgba(214, 107, 53, 0.17) 0 2px, transparent 2px 28px),
    radial-gradient(circle, rgba(240, 179, 90, 0.36), transparent 62%);
}

.compute-node {
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid rgba(212, 201, 186, 0.8);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.88);
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  box-shadow: var(--shadow);
}

.compute-node.node-a {
  top: 18%;
  right: 24%;
}

.compute-node.node-b {
  top: 38%;
  right: 5%;
}

.compute-node.node-c {
  right: 19%;
  bottom: 16%;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.signal-strip div {
  min-height: 100px;
  padding: 22px clamp(20px, 5vw, 64px);
  background: var(--paper);
}

.signal-strip strong,
.signal-strip span {
  display: block;
}

.signal-strip strong {
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.signal-strip span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.quiet-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading.with-action {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.section-heading h2,
.contact-panel h2 {
  max-width: 900px;
  font-size: 58px;
  line-height: 1;
}

.split-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 72px);
  max-width: 1080px;
  color: var(--muted);
  font-size: 18px;
}

.logic-chain {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 1px;
  margin-top: 44px;
  list-style: none;
  background: rgba(16, 20, 24, 0.12);
}

.logic-chain li {
  min-height: 116px;
  padding: 18px;
  background: var(--white);
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
}

.logic-chain li::before {
  content: "";
  display: block;
  width: 26px;
  height: 3px;
  margin-bottom: 18px;
  background: var(--ember);
}

.source-note,
.privacy-note,
.disclaimer {
  color: var(--muted);
  font-size: 13px;
}

.source-note {
  max-width: 760px;
  margin-top: 22px;
}

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

.project-card,
.founder-card,
.research-card,
.lead-form,
.post-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.project-card {
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: clamp(24px, 4vw, 36px);
}

.project-card.dark {
  border-color: rgba(255, 250, 241, 0.18);
  background: var(--ink);
  color: var(--white);
}

.post-meta {
  color: var(--oxide);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.project-card.dark .post-meta,
.post-feature .post-meta {
  color: var(--amber);
}

.project-card h3,
.founder-card h3 {
  max-width: 640px;
  margin-top: 18px;
  font-size: 34px;
  line-height: 1.04;
}

.project-card p:not(.post-meta),
.founder-card p:not(.post-meta) {
  margin-top: 18px;
  color: var(--muted);
}

.project-card.dark p:not(.post-meta) {
  color: #d9d1c5;
}

.read-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-top: auto;
  padding-top: 28px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
}

.read-link::after {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

.project-card.dark .read-link,
.post-feature .read-link {
  color: var(--amber);
}

.compare-table {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.compare-table > div {
  display: grid;
  grid-template-columns: 0.7fr 1fr 1fr 1.15fr;
  gap: 1px;
  background: var(--line);
}

.compare-table span {
  padding: 16px;
  background: var(--white);
  color: var(--muted);
}

.compare-table [role="columnheader"] {
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.disclaimer.inline {
  max-width: 900px;
  margin-top: 18px;
  padding-left: 14px;
  border-left: 3px solid var(--ember);
}

.method-band {
  background: var(--ink);
  color: var(--white);
}

.method-band .eyebrow {
  color: var(--amber);
}

.opportunity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 250, 241, 0.18);
}

.opportunity-grid article {
  min-height: 280px;
  padding: 26px;
  background: var(--ink);
}

.opportunity-grid h3 {
  font-size: 26px;
}

.opportunity-grid p {
  margin-top: 16px;
  color: #d9d1c5;
}

.disclaimer.reverse {
  max-width: 980px;
  margin-top: 28px;
  color: #d9d1c5;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.founder-copy {
  display: grid;
  gap: 18px;
  max-width: 820px;
  color: var(--muted);
  font-size: 18px;
}

.founder-card {
  padding: 28px;
}

.research-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(0, 0.9fr));
  gap: 18px;
}

.research-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 24px;
}

.research-card.featured {
  background: var(--ink);
  color: var(--white);
}

.research-card.featured .post-meta {
  color: var(--amber);
}

.research-card h3 {
  max-width: 520px;
  margin-top: 18px;
  font-size: 30px;
  line-height: 1.05;
}

.research-card p:not(.post-meta) {
  margin-top: 18px;
  color: var(--muted);
}

.research-card.featured p:not(.post-meta) {
  color: #d9d1c5;
}

.research-card.featured .read-link {
  color: var(--amber);
}

.contact-band {
  padding-bottom: 74px;
}

.contact-panel {
  justify-content: space-between;
  gap: 36px;
  max-width: none;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.contact-panel p:last-child {
  max-width: 680px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
}

.lead-form {
  display: grid;
  gap: 18px;
  margin-top: 18px;
  padding: clamp(22px, 4vw, 34px);
}

.form-segments {
  flex-wrap: wrap;
  gap: 8px;
}

.form-segments label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

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

.lead-form label:not(.checkbox-row) {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.lead-form label span {
  color: var(--muted);
  font-weight: 600;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}

.lead-form input,
.lead-form select {
  min-height: 48px;
  padding: 0 12px;
}

.lead-form textarea {
  resize: vertical;
  min-height: 150px;
  padding: 12px;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--ink);
  outline: 3px solid rgba(214, 107, 53, 0.22);
}

.checkbox-row {
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 14px;
}

.checkbox-row input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin-top: 2px;
}

.form-status {
  min-height: 22px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
}

.blog-hero {
  min-height: 520px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(16, 20, 24, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 20, 24, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 78% 50%, rgba(214, 107, 53, 0.17), transparent 30%),
    var(--paper);
  background-size: 44px 44px, 44px 44px, auto, auto;
}

.blog-hero h1 {
  max-width: 980px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--ink);
  outline: 0;
}

.post-list {
  display: grid;
  gap: 18px;
}

.post-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  padding: clamp(26px, 5vw, 44px);
}

.post-card h2 {
  margin-top: 18px;
  font-size: 42px;
  line-height: 1.02;
}

.post-body {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 18px;
}

.post-feature {
  background: var(--ink);
  color: var(--white);
}

.post-feature .post-body {
  color: #d9d1c5;
}

.site-footer {
  justify-content: space-between;
  gap: 28px;
  padding: 28px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p:first-child {
  color: var(--ink);
  font-weight: 900;
}

.footer-disclaimer {
  max-width: 880px;
}

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

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

  .brand,
  .nav,
  .header-cta {
    justify-self: stretch;
  }

  .brand {
    justify-self: start;
  }

  .nav {
    justify-content: space-between;
    overflow: hidden;
  }

  .header-cta {
    display: none;
  }

  .split-copy,
  .project-grid,
  .opportunity-grid,
  .about-layout,
  .research-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

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

  .section-heading.with-action {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: calc(100vh - 146px);
    padding-top: 60px;
    padding-bottom: 52px;
  }

  h1 {
    font-size: 76px;
  }

  .section-heading h2,
  .contact-panel h2 {
    font-size: 48px;
  }

  .heat-map {
    opacity: 0.52;
  }

  .compare-table > div {
    grid-template-columns: 1fr;
  }

  .compare-table [role="columnheader"] {
    display: none;
  }

  .post-card {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .section-band {
    padding: 64px 18px;
  }

  .hero {
    min-height: calc(100vh - 176px);
    padding-top: 38px;
    padding-bottom: 32px;
  }

  h1 {
    font-size: 46px;
  }

  .section-heading h2,
  .contact-panel h2 {
    font-size: 38px;
  }

  .hero-lede,
  .founder-copy,
  .post-body {
    font-size: 16px;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .button {
    width: 100%;
  }

  .nav {
    gap: 2px;
    padding: 3px;
    justify-content: flex-start;
    flex-wrap: wrap;
    overflow: visible;
  }

  .nav a {
    padding: 7px 6px;
    font-size: 12px;
  }

  .heat-map {
    display: none;
  }

  .signal-strip,
  .logic-chain {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: 0;
  }

  .research-card {
    min-height: 0;
  }

  .post-card h2 {
    font-size: 32px;
  }

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