/* Feature page additions. Core tokens, Manrope, wordmark and controls come from brand.css. */
* {
  box-sizing: border-box;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  background: #fff;
  padding: 0.6rem;
  z-index: 9;
}

.wrap {
  max-width: 1184px;
  margin: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.feature-topbar {
  max-width: 1184px;
  min-height: 77px;
  margin: 22px auto 0;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.feature-topbar .brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.feature-topbar nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.feature-topbar nav > a:not(.button) {
  font-size: 14px;
  text-decoration: none;
}

.button {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  background: var(--ink);
  color: #fff;
  padding: 15px 22px;
  text-decoration: none;
  font-weight: 750;
  border-radius: 9px;
}

.button.small {
  padding: 11px 17px;
  font-size: 13px;
}

.hero {
  padding-top: 105px;
  padding-bottom: 86px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-strong);
  margin: 0 0 20px;
}

.eyebrow:before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: 1px;
}

.hero h1,
.section-intro h2,
.split h2,
.boundary h2,
.cta h2 {
  font-family: inherit;
  font-weight: 780;
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.hero h1 {
  font-size: clamp(48px, 6.7vw, 88px);
  max-width: 1020px;
  margin: 0;
}

.hero h1 em {
  display: inline-block;
  background: var(--accent);
  color: var(--ink);
  font-style: normal;
  padding: 0 0.12em;
  border-radius: 5px;
}

.lede {
  max-width: 790px;
  font-size: 20px;
  line-height: 1.65;
  margin: 38px 0;
  color: var(--muted);
}

.lede code {
  font-size: 0.86em;
  background: var(--accent-soft);
  padding: 0.15em 0.35em;
}

.actions {
  display: flex;
  gap: 28px;
  align-items: center;
}

.text-link {
  font-weight: 750;
  text-underline-offset: 5px;
}

.pipeline {
  margin: 70px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 22px;
  color: var(--muted);
}

.feature-band {
  background: var(--wash);
  padding: 105px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-intro {
  max-width: 820px;
  margin-bottom: 55px;
}

.section-intro h2,
.split h2,
.boundary h2 {
  font-size: clamp(40px, 5vw, 66px);
  margin: 0;
}

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

.feature-grid article {
  min-height: 250px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.feature-grid .wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.feature-grid .wide-content {
  min-width: 0;
}

.number {
  font-family: ui-monospace, monospace;
  color: var(--accent-strong);
  font-weight: 700;
}

.feature-grid h3 {
  font-size: 21px;
  margin: 12px 0;
}

.feature-grid p {
  color: var(--muted);
  max-width: 520px;
}

.code {
  background: var(--accent-soft);
  border: 1px solid #f0cce4;
  border-radius: 11px;
  padding: 26px;
  font-family: ui-monospace, monospace;
  color: var(--ink);
}

.code span {
  color: var(--accent-strong);
  display: block;
  margin-bottom: 18px;
}

.code b {
  display: block;
  color: var(--muted);
  margin-top: 10px;
  font-weight: 400;
}

.motion {
  padding-top: 110px;
  padding-bottom: 110px;
}

.motion-list {
  border-top: 1px solid var(--line);
}

.motion-list > div {
  display: grid;
  grid-template-columns: 34% 1fr;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.motion-list h3 {
  font-size: 18px;
}

.motion-list p {
  font-size: 18px;
  color: var(--muted);
}

.proof {
  margin-top: 60px;
  background: var(--accent);
  padding: 32px;
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 280px 1fr;
  font-size: 18px;
}

.proof strong {
  font-size: 23px;
}

.feature-wash {
  background: var(--wash);
  padding: 110px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 100px;
}

.split > div > p:last-child {
  font-size: 18px;
  max-width: 650px;
  color: var(--muted);
}

.question-types {
  list-style: none;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.question-types li {
  padding: 15px;
  border-bottom: 1px solid var(--line);
  font-weight: 750;
}

.question-types li:last-child {
  border: 0;
}

.question-types li:before {
  content: "✓";
  color: var(--accent-strong);
  margin-right: 14px;
}

.evidence {
  padding-top: 110px;
  padding-bottom: 110px;
}

.evidence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  font-size: 18px;
  color: var(--muted);
}

.reopen {
  margin-top: 100px;
  padding: 68px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
}

.reopen .eyebrow {
  color: #f6bedf;
}

.reopen h2 {
  font-weight: 750;
  font-size: clamp(34px, 4vw, 55px);
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.04em;
}

.reopen h2 span {
  color: #ef96ca;
}

.matrix-section {
  background: var(--wash);
  padding: 110px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.matrix article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  min-height: 180px;
}

.matrix h3 {
  font-size: 18px;
}

.matrix p {
  color: var(--muted);
}

.boundary {
  padding-top: 110px;
  padding-bottom: 110px;
}

.boundary > p:last-child {
  font-size: 20px;
  max-width: 940px;
  color: var(--muted);
}

.feature-cta {
  background: var(--accent);
  color: var(--ink);
  padding: 110px 0;
}

.feature-cta .eyebrow {
  color: var(--ink);
}

.feature-cta .eyebrow:before {
  background: var(--ink);
}

.feature-cta h2 {
  font-size: clamp(50px, 7vw, 90px);
  margin: 0 0 42px;
}

.button.light {
  background: #fff;
  color: var(--ink);
}

.site-footer {
  background: var(--ink);
  color: #fff;
}

.site-footer .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 48px;
  align-items: center;
  padding-top: 44px;
  padding-bottom: 44px;
}

.site-footer p {
  color: #a9abad;
  font-size: 13px;
  margin: 8px 0 0;
  line-height: 1.7;
}

.site-footer .brand {
  color: #fff;
  text-decoration: none;
  font-size: 22px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 13px;
  font-weight: 700;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.footer-note {
  grid-column: 1 / -1;
  max-width: 720px;
  border-top: 1px solid #33353a;
  padding-top: 20px;
}

.footer-note a {
  color: #f6bedf;
  font-weight: 700;
  text-underline-offset: 4px;
}

@media (max-width: 760px) {
  .wrap {
    padding-left: 20px;
    padding-right: 20px;
  }

  .feature-topbar {
    margin: 12px 12px 0;
    padding: 13px 15px;
  }

  .feature-topbar .brand {
    font-size: 22px;
  }

  .feature-topbar nav {
    gap: 16px;
  }

  .feature-topbar nav > a:not(.button):not(.nav-signin) {
    display: none;
  }

  .hero {
    padding-top: 68px;
  }

  .hero h1 {
    font-size: 47px;
  }

  .lede {
    font-size: 18px;
  }

  .actions,
  .pipeline {
    align-items: flex-start;
    flex-direction: column;
  }

  .pipeline {
    gap: 8px;
  }

  .pipeline span {
    transform: rotate(90deg);
    margin-left: 8px;
  }

  .feature-band,
  .motion,
  .feature-wash,
  .evidence,
  .matrix-section,
  .boundary,
  .feature-cta {
    padding-top: 75px;
    padding-bottom: 75px;
  }

  .feature-grid,
  .matrix,
  .split,
  .evidence-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid .wide {
    grid-column: auto;
    display: block;
  }

  .split {
    gap: 50px;
  }

  .motion-list > div,
  .proof {
    grid-template-columns: 1fr;
  }

  .proof {
    gap: 12px;
  }

  .reopen {
    padding: 35px;
    margin-top: 65px;
  }

  .site-footer .wrap {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 36px;
    padding-bottom: 36px;
  }
}
