:root {
  --bg: #f4f6f5;
  --surface: #ffffff;
  --ink: #10231e;
  --muted: #5a6a65;
  --line: #d7e0dc;
  --accent: #0e3b32;
  --accent-hover: #0a2b25;
  --live: #0f7a4a;
  --build: #b45309;
  --sans: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --max: 70rem;
  --radius: 1.1rem;
  --header-h: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent);
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--accent-hover);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 30;
  padding: 0.55rem 0.8rem;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(calc(100% - 1.5rem), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 0.75rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.logo:hover {
  color: var(--ink);
}

.logo-mark {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.7rem;
  object-fit: cover;
  flex-shrink: 0;
}

.logo-word {
  font-size: 1.12rem;
}

.nav-toggle {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 0.75rem;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
}

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 0.75rem 1rem 1.1rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
  flex-direction: column;
  gap: 0.25rem;
}

.site-nav.is-open {
  display: flex;
}

.site-nav a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.4rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 560;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--accent);
}

.hero,
.section {
  padding: 2.4rem 0;
}

.hero {
  padding-top: 2.6rem;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(1.85rem, 7vw, 3.2rem);
  max-width: 16ch;
}

h2 {
  font-size: clamp(1.35rem, 4vw, 1.9rem);
}

h3 {
  font-size: 1.1rem;
}

.lede {
  max-width: 38rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 650;
  cursor: pointer;
  appearance: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  color: var(--ink);
  border-color: #b7c4bf;
}

.section-head {
  margin-bottom: 1.15rem;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.card,
.form-card,
.table-wrap,
.answer {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
}

.card p,
.answer p {
  margin: 0;
  color: var(--muted);
}

.kicker {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.cards,
.venture-grid,
.split,
.meta-grid {
  display: grid;
  gap: 0.9rem;
}

.venture-grid {
  grid-template-columns: 1fr;
}

.venture {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1.05rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  text-decoration: none;
  color: inherit;
}

.venture:hover {
  border-color: #b8cdc6;
  color: inherit;
}

.venture-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  display: grid;
  place-items: center;
}

.venture h3 {
  margin: 0 0 0.2rem;
}

.venture p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.venture-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.15rem;
}

.status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.status-live {
  background: #e5f6ee;
  color: var(--live);
}

.status-build {
  background: #fff1e2;
  color: var(--build);
}

.icon-reinsulate { background: #efe4d6; color: #8a4b16; }
.icon-maids { background: #dceaf8; color: #1d4e89; }
.icon-easy { background: #dceee6; color: #0e3b32; }
.icon-tiffiny { background: #f3e4ee; color: #7a3560; }
.icon-work { background: #e4e7ee; color: #2d3a4d; }

.prose {
  max-width: 46rem;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose ul,
.prose ol {
  padding-left: 1.15rem;
}

.split {
  grid-template-columns: 1fr;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  min-width: 32rem;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 0.75rem 0.45rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

form {
  display: grid;
  gap: 0.85rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
}

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

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 0.8rem;
  padding: 0.8rem 0.85rem;
  color: var(--ink);
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

.site-footer {
  margin-top: 1rem;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 2rem 0 1.4rem;
}

.footer-top {
  display: grid;
  gap: 1.1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
}

.site-footer a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 560;
}

.site-footer a:hover {
  color: var(--accent);
}

.company-bar {
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.company-bar h2 {
  margin: 0 0 0.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.company-dl {
  display: grid;
  gap: 0.7rem;
  margin: 0;
}

.company-dl div {
  display: grid;
  gap: 0.1rem;
}

.company-dl dt {
  color: var(--muted);
  font-size: 0.78rem;
}

.company-dl dd {
  margin: 0;
  font-weight: 650;
}

.copyright {
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.crumbs {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

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

.updated {
  color: var(--muted);
  font-size: 0.9rem;
}

@media (min-width: 760px) {
  .wrap {
    width: min(calc(100% - 2.5rem), var(--max));
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    position: static;
    padding: 0;
    border: 0;
    background: transparent;
    flex-direction: row;
    align-items: center;
    gap: 1.15rem;
  }

  .site-nav a {
    min-height: auto;
    padding: 0;
  }

  .hero,
  .section {
    padding: 4rem 0;
  }

  .venture-grid,
  .cards,
  .split,
  .company-dl {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (min-width: 1040px) {
  .venture-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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