:root {
  color-scheme: light;
  --ink: #141413;
  --muted: #68635c;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --line: #ded9ce;
  --sage: #5d7b65;
  --teal: #0f6f75;
  --coral: #d95f43;
  --gold: #d7a642;
  --night: #20252d;
  --shadow: 0 24px 70px rgba(40, 38, 32, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(215, 166, 66, 0.18), transparent 28rem),
    linear-gradient(180deg, #fffdf8 0%, var(--paper) 42%, #f3f1eb 100%);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

p {
  color: var(--muted);
  line-height: 1.7;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 16px clamp(16px, 4vw, 48px);
  background: rgba(251, 250, 246, 0.84);
  border-bottom: 1px solid rgba(222, 217, 206, 0.72);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.brand-lockup,
.footer-brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
  object-fit: cover;
}

.brand-name {
  font-weight: 800;
}

.nav-links {
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.nav-links a,
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-links a {
  padding: 0 14px;
  color: var(--muted);
}

.nav-links a.active,
.nav-links a:hover {
  background: var(--ink);
  color: #fff;
}

.section-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 118px) 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(34px, 7vw, 88px);
  align-items: center;
  min-height: auto;
  padding-top: clamp(56px, 7vw, 88px);
  padding-bottom: clamp(28px, 4vw, 52px);
}

.hero-copy,
.page-hero {
  display: grid;
  gap: 24px;
}

.hero-header-ol {
  margin: 0;
  padding-inline-start: 1.1em;
}

.narrow {
  max-width: 850px;
}

.eyebrow,
.mini-label {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 980px;
  font-size: clamp(3rem, 6.7vw, 5.35rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.9rem);
}

.about-heading {
  display: flex;
  flex-direction: column;
  gap: 0.18em;
}

.heading-line {
  display: block;
  margin-bottom: 0.25em;
}

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

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

.lede {
  max-width: 740px;
  color: #4c4740;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

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

.button {
  padding: 0 20px;
  border: 1px solid var(--ink);
}

.button.primary {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.56);
}

.button.dark {
  background: var(--ink);
  border-color: var(--ink);
}

.hero-panel {
  display: grid;
  gap: 16px;
}

.hero-visual {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.signal-card,
.feature-card,
.metric-card,
.product-lane,
.principle-card,
.founder-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.signal-card.large {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 20px;
  padding: clamp(28px, 5vw, 46px);
  background:
    linear-gradient(140deg, rgba(15, 111, 117, 0.08), rgba(217, 95, 67, 0.12)),
    #fff;
}

.signal-card h2 {
  max-width: 500px;
  font-size: clamp(1.8rem, 3.2vw, 3.2rem);
}

.signal-footnote {
  max-width: 520px;
  color: rgba(104, 99, 92, 0.74);
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.45;
}

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

.metric-card {
  display: grid;
  gap: 6px;
  padding: 22px;
  box-shadow: none;
}

.metric-card strong {
  color: var(--teal);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.9;
}

.metric-card span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.split-section,
.editorial-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.card-grid {
  display: grid;
  gap: 16px;
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.feature-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 26px;
  box-shadow: none;
}

.proof-band {
  display: grid;
  gap: 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.proof-point {
  display: grid;
  gap: 10px;
}

.cta-section {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding: clamp(36px, 6vw, 58px);
  margin-bottom: clamp(48px, 8vw, 96px);
  border-radius: 8px;
  background: var(--night);
  color: #fff;
}

.cta-section p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.74);
}

.cta-section .eyebrow {
  color: var(--gold);
}

.cta-link {
  cursor: pointer;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.cta-link:hover,
.cta-link:focus-visible {
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 28px 80px rgba(32, 37, 45, 0.2);
  transform: translateY(-2px);
}

.home-cta {
  margin-top: clamp(32px, 7vw, 88px);
}

.product-roadmap,
.principle-stack {
  display: grid;
  gap: 18px;
}

.product-lane {
  display: grid;
  grid-template-columns: 130px minmax(180px, 0.45fr) 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 26px;
  box-shadow: none;
}

.product-lane h2 {
  font-size: clamp(1.7rem, 3vw, 2.8rem);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.tag-row span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.editorial-copy {
  display: grid;
  gap: 18px;
}

.founders-section {
  display: flex;
  justify-content: center;
  border-top: 1px solid var(--line);
}

.founder-grid {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 16px;
  width: fit-content;
  max-width: 100%;
}

.founder-card {
  width: max-content;
  max-width: 100%;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 4vw, 34px);
  box-shadow: none;
}

.founder-avatar {
  width: 220px;
  max-width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 34% 28%, rgba(215, 166, 66, 0.38), transparent 34%),
    linear-gradient(145deg, rgba(15, 111, 117, 0.2), rgba(217, 95, 67, 0.18)),
    #fff;
}

.founder-avatar span {
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
}

.founder-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.founder-details {
  display: grid;
  gap: 8px;
}

.founder-details h3 {
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.founder-social {
  min-height: 42px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 0 14px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 800;
}

.founder-social-icon {
  width: 24px;
  height: 24px;
  display: block;
  padding: 4px;
  border-radius: 50%;
  background: #000;
  object-fit: contain;
}

.founder-social:hover {
  background: var(--ink);
  color: #fff;
}

.principle-card {
  display: grid;
  grid-template-columns: 72px 0.45fr 1fr;
  gap: 24px;
  align-items: start;
  padding: 24px;
  box-shadow: none;
}

.principle-card span {
  color: var(--coral);
  font-weight: 800;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
}

.footer-brand p {
  margin-top: 4px;
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 920px) {
  .nav-shell,
  .hero,
  .split-section,
  .editorial-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    justify-self: start;
    width: 100%;
    overflow-x: auto;
  }

  .metric-row,
  .card-grid.three,
  .card-grid.two,
  .proof-list {
    grid-template-columns: 1fr;
  }

  .product-lane,
  .principle-card {
    grid-template-columns: 1fr;
  }

  .tag-row {
    justify-content: flex-start;
  }

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

@media (max-width: 720px) {
  .founder-grid {
    grid-template-columns: minmax(0, max-content);
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 10px 16px;
  }

  .brand-name {
    display: none;
  }

  .nav-shell {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
  }

  .nav-links {
    width: auto;
    gap: 6px;
    padding: 5px;
  }

  .nav-links a {
    min-height: 36px;
    padding: 0 10px;
    font-size: 0.92rem;
  }

  .section-wrap {
    width: min(100% - 32px, 1180px);
    padding: 48px 0;
  }

  .hero {
    min-height: auto;
    gap: 28px;
    padding-top: 34px;
    padding-bottom: 40px;
  }

  .hero-copy,
  .page-hero {
    gap: 20px;
  }

  .hero-copy {
    justify-items: center;
  }

  .hero-copy .lede {
    text-align: center;
  }

  .hero-header-ol {
    padding-inline-start: 1.2em;
    text-align: left;
  }

  .hero-header-ol li {
    padding-inline-start: 0.04em;
  }

  .hero-panel {
    gap: 14px;
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 4rem);
  }

  .heading-line {
    margin-bottom: 0.18em;
  }

  .lede {
    font-size: 1.05rem;
    line-height: 1.58;
  }

  .hero-actions {
    gap: 10px;
  }

  .signal-card.large {
    min-height: auto;
    gap: 14px;
    padding: 24px;
  }

  .signal-footnote {
    font-size: 0.8rem;
  }

  .card-grid,
  .product-roadmap,
  .principle-stack {
    gap: 14px;
  }

  .product-lane,
  .feature-card,
  .principle-card {
    gap: 16px;
    padding: 22px;
  }

  .product-lane {
    align-items: start;
  }

  .page-hero + .product-roadmap {
    padding-top: 10px;
  }

  .tag-row {
    gap: 6px;
  }

  .cta-section {
    gap: 18px;
    padding: 26px 22px;
    margin-bottom: 40px;
  }

  .home-cta {
    margin-top: 24px;
  }

  .founders-section {
    padding-top: 44px;
  }

  .founder-grid {
    gap: 14px;
    width: fit-content;
    max-width: 100%;
    justify-items: center;
  }

  .founder-card {
    width: fit-content;
    max-width: min(100%, 264px);
    min-height: auto;
    gap: 18px;
    padding: 22px;
  }

  .founder-avatar {
    width: 220px;
  }

  .founder-social {
    max-width: 100%;
    padding: 0 12px;
  }

  .site-footer {
    width: min(100% - 32px, 1180px);
    gap: 18px;
    align-items: center;
    padding: 28px 0 36px;
    text-align: center;
  }

  .footer-links {
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .footer-brand {
    align-self: center;
    text-align: left;
  }

  .hero-actions,
  .button {
    width: 100%;
  }
}
