:root {
  --ink: #07111c;
  --ink-soft: #101e2d;
  --paper: #f3f2ec;
  --white: #fff;
  --muted: #6e777e;
  --line: #d4d7d4;
  --cyan: #48d3c8;
  --cyan-dark: #006b66;
  --orange: #ff9366;
  --max: 1240px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; }
button, input { font: inherit; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  background: var(--cyan);
  padding: .75rem 1rem;
  font-weight: 800;
}
.skip-link:focus { top: 1rem; }

.site-header {
  width: min(calc(100% - 3rem), var(--max));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(7,17,28,.18);
}
.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  font-weight: 750;
  letter-spacing: -.02em;
}
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font: 700 .72rem/1 var(--sans);
  letter-spacing: .03em;
}
nav { display: flex; align-items: center; gap: 1.7rem; }
nav a { text-decoration: none; font-size: .9rem; font-weight: 650; }
nav a:hover { text-decoration: underline; text-underline-offset: .25rem; }
.document-link { border: 1px solid var(--ink); border-radius: 999px; padding: .48rem .82rem; }

.intro {
  width: min(calc(100% - 3rem), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(270px, .55fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
  padding: clamp(4rem, 8vw, 7.5rem) 0 clamp(3.4rem, 6vw, 6rem);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 1.2rem;
  color: var(--cyan-dark);
  font-size: .77rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow span { width: 22px; height: 2px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 900px;
  margin-bottom: 1.35rem;
  font-family: var(--serif);
  font-size: clamp(3rem, 6.6vw, 6.4rem);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 500;
}
h1 em { color: var(--cyan-dark); font-weight: 500; }
.lede {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.6;
  color: #39434c;
}
.current-position {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  padding: 1.5rem 1.45rem 1.35rem;
  border-radius: 2px;
}
.current-position::before {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  border: 18px solid rgba(72,211,200,.24);
  border-radius: 50%;
  right: -35px;
  top: -35px;
}
.position-label {
  margin-bottom: 2.8rem;
  color: var(--cyan);
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .11em;
}
.current-position > p:nth-child(2) { font: 500 1.4rem/1.28 var(--serif); }
.position-foot { margin-bottom: 0; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.2); color: #bbc6cd; font-size: .84rem; }

.framework-strip {
  background: var(--ink);
  color: var(--white);
  padding: clamp(3rem, 5vw, 4.8rem) max(1.5rem, calc((100vw - var(--max)) / 2));
}
.section-kicker { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.3rem; }
.section-kicker p { margin: 0; color: var(--cyan); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.section-kicker h2 { margin: 0; font: 500 clamp(2rem, 4vw, 3.8rem)/1 var(--serif); letter-spacing: -.04em; }
.level-track { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid #34414e; }
.level-track li { min-height: 160px; padding: 1.2rem 1.1rem 1rem 0; border-right: 1px solid #34414e; display: flex; flex-direction: column; }
.level-track li:last-child { border-right: 0; padding-left: 1.1rem; }
.level-track li + li { padding-left: 1.1rem; }
.level-track span { color: #687582; font-size: .73rem; font-weight: 800; }
.level-track strong { max-width: 140px; margin-top: auto; font-size: .95rem; line-height: 1.25; }
.level-track small { margin-top: .35rem; color: #84909b; font-size: .72rem; }
.level-track .is-current { border-top: 3px solid var(--cyan); margin-top: -2px; }
.level-track .is-current span, .level-track .is-current small { color: var(--cyan); }

.faq-section {
  width: min(calc(100% - 3rem), var(--max));
  margin: 0 auto;
  padding: clamp(4.5rem, 8vw, 8rem) 0;
}
.faq-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.25rem; }
.faq-heading h2, .warrants h2 { margin-bottom: 0; font: 500 clamp(2.35rem, 5vw, 4.5rem)/1.02 var(--serif); letter-spacing: -.045em; }
.download-link { font-size: .88rem; font-weight: 750; text-underline-offset: .28rem; white-space: nowrap; }
.search-wrap { position: relative; display: flex; align-items: center; background: var(--white); border: 1px solid #bcc2c0; border-radius: 2px; }
.search-wrap:focus-within { outline: 3px solid rgba(72,211,200,.35); border-color: var(--cyan-dark); }
.search-wrap svg { position: absolute; left: 1.25rem; width: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.search-wrap input { width: 100%; min-height: 64px; padding: 0 4rem 0 3.7rem; border: 0; background: transparent; color: var(--ink); font-size: 1.08rem; outline: none; }
.search-wrap input::placeholder { color: #7d8689; }
kbd { position: absolute; right: 1.15rem; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px; color: var(--muted); background: var(--paper); padding: .05rem .5rem; font: 700 .78rem/1.5 var(--sans); }
.filter-row { display: flex; align-items: start; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding: 1rem 0 1.15rem; }
.category-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-button { border: 0; background: transparent; color: #586168; padding: .45rem .7rem; border-radius: 999px; font-size: .8rem; font-weight: 750; cursor: pointer; }
.filter-button:hover { background: #e5e7e3; }
.filter-button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.text-button { border: 0; background: transparent; color: var(--ink); padding: .45rem 0; font-size: .8rem; font-weight: 800; cursor: pointer; white-space: nowrap; text-decoration: underline; text-underline-offset: .25rem; }
.faq-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); padding-top: 2rem; }
.faq-index { position: sticky; top: 2rem; align-self: start; }
.faq-index > p:first-child { margin-bottom: .6rem; font: 500 1.08rem/1.3 var(--serif); }
.faq-index span { font-size: 2rem; color: var(--cyan-dark); }
.index-rule { width: 30px; height: 2px; background: var(--orange); margin: 1.2rem 0; }
.index-note { color: var(--muted); font-size: .82rem; line-height: 1.6; }
.faq-list { min-width: 0; }
.faq-item { border-bottom: 1px solid #bfc4c1; }
.faq-item:first-child { border-top: 1px solid #bfc4c1; }
.faq-item summary { display: grid; grid-template-columns: 48px 1fr 28px; gap: 1rem; align-items: center; min-height: 88px; padding: .8rem 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-number { align-self: start; padding-top: .45rem; color: var(--cyan-dark); font-size: .72rem; font-weight: 800; letter-spacing: .05em; }
.question-title { font: 500 clamp(1.15rem, 2vw, 1.52rem)/1.3 var(--serif); letter-spacing: -.015em; }
.toggle-icon { width: 25px; height: 25px; border: 1px solid #9da5a6; border-radius: 50%; position: relative; }
.toggle-icon::before, .toggle-icon::after { content: ""; position: absolute; left: 6px; top: 11px; width: 11px; height: 1px; background: var(--ink); transition: transform .2s ease; }
.toggle-icon::after { transform: rotate(90deg); }
.faq-item[open] .toggle-icon::after { transform: rotate(0); }
.faq-answer { padding: 0 3rem 2.1rem 4rem; color: #3f4a53; max-width: 820px; }
.faq-answer p { margin-bottom: .8rem; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-topic { display: inline-block; margin-top: .4rem; color: var(--cyan-dark); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.no-results { background: var(--white); padding: 2rem; border-left: 3px solid var(--orange); }
.no-results h3 { margin-bottom: .35rem; font: 500 1.6rem/1.2 var(--serif); }
.no-results p { color: var(--muted); margin-bottom: 0; }

.warrants { background: var(--white); padding: clamp(4rem, 8vw, 7rem) max(1.5rem, calc((100vw - var(--max)) / 2)); }
.warrants-intro { display: grid; grid-template-columns: .6fr 1.2fr .7fr; align-items: end; gap: 2rem; margin-bottom: 3rem; }
.warrants-intro .eyebrow { align-self: start; }
.warrants-intro > p:last-child { margin-bottom: .25rem; color: var(--muted); }
.warrant-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.warrant-grid article { padding: 1.4rem 1.4rem 1rem 0; min-height: 210px; border-right: 1px solid var(--line); }
.warrant-grid article + article { padding-left: 1.4rem; }
.warrant-grid article:last-child { border-right: 0; }
.warrant-grid span { color: var(--orange); font-size: .76rem; font-weight: 800; }
.warrant-grid h3 { margin: 2.8rem 0 .65rem; font: 500 1.65rem/1.15 var(--serif); }
.warrant-grid p { color: var(--muted); font-size: .88rem; }

.declaration { background: var(--cyan); color: var(--ink); padding: clamp(4rem, 10vw, 9rem) 1.5rem; text-align: center; }
.declaration p { margin: 0; font: italic 500 clamp(2.5rem, 6vw, 5.8rem)/1.06 var(--serif); letter-spacing: -.045em; }
.declaration p:last-child { color: var(--cyan-dark); }
footer { background: var(--ink); color: #97a3ad; padding: 2.2rem max(1.5rem, calc((100vw - var(--max)) / 2)); display: flex; justify-content: space-between; gap: 2rem; font-size: .8rem; }
footer p { margin-bottom: .15rem; }
.footer-title { color: var(--white); font-weight: 800; }

@media (max-width: 900px) {
  .intro { grid-template-columns: 1fr; }
  .current-position { max-width: 520px; }
  .level-track { grid-template-columns: 1fr; border-top: 0; }
  .level-track li, .level-track li + li, .level-track li:last-child { min-height: 0; padding: .8rem 0; border-right: 0; border-top: 1px solid #34414e; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; }
  .level-track .is-current { margin: 0; border-top-color: var(--cyan); }
  .level-track strong { margin: 0; max-width: none; }
  .level-track small { margin: 0; text-align: right; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-index { position: static; display: flex; gap: 1rem; align-items: center; }
  .faq-index .index-rule { margin: 0; }
  .faq-index .index-note { max-width: 500px; margin: 0; }
  .warrants-intro { grid-template-columns: 1fr 1fr; }
  .warrants-intro .eyebrow { grid-column: 1 / -1; }
  .warrant-grid { grid-template-columns: 1fr 1fr; }
  .warrant-grid article:nth-child(2) { border-right: 0; }
  .warrant-grid article:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 620px) {
  .site-header { width: min(calc(100% - 2rem), var(--max)); min-height: 70px; }
  .site-header nav > a:not(.document-link) { display: none; }
  .brand > span:last-child { display: none; }
  .intro, .faq-section { width: min(calc(100% - 2rem), var(--max)); }
  .intro { padding-top: 3.4rem; }
  h1 { font-size: clamp(2.8rem, 14vw, 4.2rem); }
  .section-kicker { display: block; }
  .section-kicker h2 { margin-top: .8rem; }
  .level-track li, .level-track li + li, .level-track li:last-child { grid-template-columns: 36px 1fr; }
  .level-track small { grid-column: 2; text-align: left; }
  .faq-heading { display: block; }
  .download-link { display: inline-block; margin-top: 1rem; }
  .filter-row { display: block; }
  .text-button { margin-top: .7rem; }
  .faq-index { display: block; }
  .faq-index .index-rule { margin: .8rem 0; }
  .faq-item summary { grid-template-columns: 36px 1fr 26px; gap: .65rem; min-height: 80px; }
  .faq-answer { padding-left: 0; padding-right: 1.2rem; }
  .warrants-intro { grid-template-columns: 1fr; }
  .warrant-grid { grid-template-columns: 1fr; }
  .warrant-grid article, .warrant-grid article + article { min-height: 0; padding: 1.2rem 0; border-right: 0; border-top: 1px solid var(--line); }
  .warrant-grid h3 { margin-top: 1.2rem; }
  footer { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
