* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: #16324f;
  background-color: #e7edf2;
  background-image: linear-gradient(rgba(22,50,79,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(22,50,79,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  font-family: "Atkinson Hyperlegible", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: #16324f;
}
h1,
h2,
h3 {
  font-family: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  line-height: 1.15;
  font-weight: 700;
  margin: 0 0 0.75rem;
}
h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  max-width: 18ch;
}
h2 {
  font-size: 1.45rem;
}
p {
  margin: 0 0 0.9rem;
}
.skip {
  position: absolute;
  left: 0.5rem;
  top: -3rem;
  background: #8fdb3a;
  color: #16324f;
  padding: 0.4rem 0.7rem;
  border-radius: 5px;
  z-index: 2;
}
.skip:focus {
  top: 0.5rem;
}
.lattice-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1rem;
}
.index-bar {
  position: static;
  background: #e7edf2;
  border-bottom: 1px solid #16324f;
}
.bar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding: 0.85rem 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-family: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.nav-toggle {
  margin-left: auto;
  display: none;
  background: transparent;
  color: #16324f;
  border: 1px solid #16324f;
  border-radius: 5px;
  padding: 0.35rem 0.7rem;
  font: inherit;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin-left: auto;
}
.nav-links a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.1rem;
}
.nav-links a[aria-current="page"] {
  border-bottom-color: #8fdb3a;
}
.equation {
  background: #16324f;
  color: #e7edf2;
}
.equation-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding: 0.85rem 0;
}
.equation ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  font-family: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  letter-spacing: 0.08em;
}
.equation li {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
}
.equation li span {
  border: 1px solid #8fdb3a;
  border-radius: 5px;
  padding: 0.2rem 0.55rem;
}
.equation li:not(:last-child)::after {
  content: "";
  width: 0.85rem;
  border-top: 1.5px solid #8fdb3a;
  margin-left: 0.45rem;
}
.equation-edge {
  width: 120px;
  height: 24px;
  flex: 0 0 auto;
}
.hero {
  padding: 2.5rem 0 1.5rem;
}
.eyebrow {
  font-family: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin-bottom: 0.6rem;
}
.lede {
  max-width: 42rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.2rem;
  margin-top: 1rem;
}
.btn {
  display: inline-block;
  background: #8fdb3a;
  color: #16324f;
  text-decoration: none;
  border-radius: 5px;
  padding: 0.7rem 1rem;
  font-family: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  font-weight: 700;
  border: 1px solid #16324f;
}
.textlink {
  color: #16324f;
}
.band {
  padding: 0.4rem 0 1.4rem;
}
.cell-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
.cell-grid article,
.pair article,
.steps li,
.note {
  border: 1px solid #16324f;
  border-radius: 5px;
  padding: 0.95rem 1rem;
  background: transparent;
  margin: 0;
}
.cell-grid h2,
.pair h2,
.steps h2,
.note h2 {
  font-size: 1rem;
}
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.steps span {
  font-family: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  display: block;
  margin-bottom: 0.35rem;
}
.doc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 0;
  padding: 1.5rem 0 2.5rem;
  align-items: start;
}
.doc-main {
  border: 1px solid #16324f;
  border-radius: 5px;
  padding: 1.25rem 1.3rem;
  min-width: 0;
}
.rail {
  border: 1px solid #16324f;
  border-left: 0;
  border-radius: 0 5px 5px 0;
  padding: 1rem;
  min-width: 0;
}
.rail-label {
  font-family: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.rail-mark {
  width: 64px;
  height: 64px;
  display: block;
  margin: 0.4rem 0 0.8rem;
}
.rail ul {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}
.rail li {
  border-top: 1px solid #16324f;
}
.rail a {
  display: block;
  padding: 0.4rem 0;
  text-decoration: none;
}
.prose ul,
.prose ol {
  padding-left: 1.2rem;
}
.prose h2 {
  margin-top: 1.4rem;
}
.sheet-table {
  width: 100%;
  border-collapse: collapse;
}
.sheet-table th,
.sheet-table td {
  border-bottom: 1px solid #16324f;
  text-align: left;
  vertical-align: top;
  padding: 0.55rem 0.4rem 0.55rem 0;
}
.sheet-table th {
  width: 38%;
  font-family: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  font-weight: 500;
}
.inquiry {
  display: grid;
  gap: 0.7rem;
  max-width: 36rem;
}
.inquiry label {
  display: grid;
  gap: 0.25rem;
  font-family: "Bricolage Grotesque", "Arial Narrow", sans-serif;
}
.inquiry input,
.inquiry textarea {
  font: inherit;
  color: #16324f;
  background: transparent;
  border: 1px solid #16324f;
  border-radius: 5px;
  padding: 0.55rem 0.65rem;
  width: 100%;
}
.inquiry button {
  justify-self: start;
  cursor: pointer;
}
.faq {
  display: grid;
  gap: 0.6rem;
}
.faq details {
  border: 1px solid #16324f;
  border-radius: 5px;
  padding: 0.7rem 0.9rem;
}
.faq summary {
  cursor: pointer;
  font-family: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  font-weight: 700;
}
.fact-strip {
  border-top: 1px solid #16324f;
  padding: 1rem 0 1.4rem;
  margin-top: 1rem;
}
.strip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0;
}
.strip-row p {
  margin: 0;
  padding: 0.25rem 0.8rem;
  border-left: 1px solid #16324f;
}
.strip-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  padding-top: 0.7rem;
}
.edge {
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  animation: draw 1.1s ease forwards;
}
@media (prefers-reduced-motion: reduce) {
  .edge {
    animation: none;
    stroke-dashoffset: 0;
  }
}
@media (max-width: 800px) {
  .cell-grid,
  .steps,
  .pair,
  .doc {
    grid-template-columns: 1fr;
  }
  .rail {
    border-left: 1px solid #16324f;
    border-radius: 5px;
    margin-top: 0.75rem;
  }
  .nav-toggle {
    display: inline-block;
  }
  .nav-links {
    display: none;
    width: 100%;
    margin-left: 0;
    flex-direction: column;
    padding-bottom: 0.6rem;
  }
  .nav-links.is-open {
    display: flex;
  }
}
@-moz-keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
@-webkit-keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
@-o-keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
