:root {
  /* GREENBAR — ledger stock. Every identity token below is generated by R=v−d, G=v, B=v−d/2,
   which pins its HSL hue to exactly 150.00; only value and chroma move. */
  /* SURFACES — four fill levels, then three rule weights */
  --white: #fff;
  --paper: #e8f4ee;
  --paper-2: #d6e6de;
  --mark: #c8ead9;
  --line: #c5d9cf;
  --line-2: #a1b9ad;
  --field-line: #6b8377;
  /* INK — same hue, one octave down */
  --ink: #10241a;
  --body: #384a41;
  --muted: #4b5b53;
  /* ACCENT — the paper concentrated. --accent-lift is 2.02:1 on white: DARK GROUNDS ONLY. */
  --accent: #14603a;
  --accent-dark: #0e4429;
  --accent-lift: #7ac6a0;
  /* DARK GROUNDS */
  --dark: #081a11;
  --on-dark: #dfede6;
  --on-dark-2: #a5bdb1;
  /* SEMANTIC — the only two off-family hues; notice interiors and status text only */
  --warn: #734d12;
  --warn-tint: #e5e5c5;
  --danger: #7a1e42;
  --danger-tint: #fadae5;
  --shadow: 0 4px 12px rgba(8, 26, 17, 0.08);
  --radius: 12px;
  --max: 1200px;
  /* motion — only transform/opacity are animated, so nothing here can reflow */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-1: 120ms;
  --dur-2: 200ms;
  --dur-3: 320ms;
  --dur-4: 560ms;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  background: var(--paper);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: "Public Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--dur-2) var(--ease-out);
}
a:hover {
  color: var(--accent-dark);
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 9999;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  transform: translateY(-180%);
}
.skip-link:focus {
  transform: none;
}
.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;
}
#main:focus {
  outline: none;
}
/* route change — the element is rebuilt each render, so the animation replays on its own */
@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
#main {
  animation: page-in var(--dur-3) var(--ease-out) both;
}
/* selective reveal — JS adds these classes ONLY when motion will actually run, so the
   default state is visible and nothing can get stuck at opacity 0 */
.reveal-item {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity var(--dur-4) var(--ease-out),
    transform var(--dur-4) var(--ease-out);
}
.reveal-item.is-in {
  opacity: 1;
  transform: none;
}
.noscript {
  padding: 20px;
  background: var(--warn-tint);
  color: var(--warn);
  text-align: center;
}
.wrap {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}
.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.serif {
  font-family: "Libre Caslon Text", Georgia, serif;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 13px;
}
.prose {
  font-size: 16px;
  line-height: 1.8;
}
.prose p {
  max-width: 78ch;
}
.prose h2,
.prose h3 {
  font-family: "Libre Caslon Text", Georgia, serif;
  color: var(--ink);
}
.prose h2 {
  font-size: 30px;
  margin-top: 42px;
}
.prose h3 {
  font-size: 22px;
  margin-top: 30px;
}
.divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 40px 0;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(20, 96, 58, 0.25);
  background: rgba(20, 96, 58, 0.06);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 13px;
  border-radius: 999px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 22px !important;
  border-radius: 8px;
  font-weight: 750;
  border: 1px solid transparent;
  transition:
    background-color var(--dur-2) var(--ease-out),
    color var(--dur-2) var(--ease-out),
    border-color var(--dur-2) var(--ease-out),
    transform var(--dur-2) var(--ease-out);
}
.btn:active {
  transform: scale(0.985);
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
}
.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}
.btn-soft {
  background: var(--paper-2);
  color: var(--ink);
  border-color: var(--line);
}
.btn-soft:hover {
  background: var(--line);
  color: var(--ink);
}
.topbar {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.topbar .wrap {
  min-height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.diamond {
  width: 5px;
  height: 5px;
  background: var(--accent);
  transform: rotate(45deg);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
  pointer-events: none;
  background: linear-gradient(rgba(16, 36, 26, 0.1), rgba(16, 36, 26, 0));
  opacity: 0;
  transition: opacity var(--dur-3) var(--ease-out);
}
.site-header.is-scrolled:after {
  opacity: 1;
}
.nav {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
}
.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.brand-name {
  font-family: "Libre Caslon Text", Georgia, serif;
  font-weight: 700;
  font-size: 19px;
}
.brand-name b {
  color: var(--accent);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-links > a,
.nav-dropdown > button {
  color: var(--body);
  font-size: 13.5px;
  font-weight: 700;
  background: none;
  border: 0;
  padding: 12px 0;
}
.nav-dropdown > button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nav-links > a.active,
.nav-dropdown > button.active {
  color: var(--accent);
}
.nav-panel a.active {
  background: var(--paper-2);
  color: var(--accent);
}
.nav-dropdown {
  position: relative;
}
.nav-panel {
  visibility: hidden;
  opacity: 0;
  transform: translateY(-6px);
  position: absolute;
  top: 44px;
  left: -22px;
  width: 300px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition:
    opacity var(--dur-3) var(--ease-out),
    transform var(--dur-3) var(--ease-out),
    visibility 0s linear var(--dur-3);
}
.nav-dropdown:hover .nav-panel,
.nav-dropdown > button[aria-expanded="true"] + .nav-panel {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}
.nav-panel a {
  display: block;
  padding: 11px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  transition:
    background-color var(--dur-2) var(--ease-out),
    color var(--dur-2) var(--ease-out);
}
.nav-panel a:hover {
  background: var(--paper-2);
  color: var(--accent);
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font-size: 23px;
}
.hero {
  border-bottom: 1px solid var(--line);
  background-image: repeating-linear-gradient(
    90deg,
    rgba(16, 36, 26, 0.035) 0 1px,
    transparent 1px 110px
  );
}
.hero-grid {
  padding: 82px 0 94px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 64px;
  align-items: center;
}
.hero h1 {
  font-family: "Libre Caslon Text", Georgia, serif;
  font-weight: 400;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.07;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 23px 0 22px;
}
.hero h1 em {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-style: double;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}
.hero-copy {
  font-size: 17.5px;
  line-height: 1.72;
  max-width: 56ch;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.trust-line {
  display: flex;
  gap: 14px 26px;
  flex-wrap: wrap;
  margin-top: 32px;
  font-size: 13.5px;
  color: var(--muted);
}
.trust-line span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.tick {
  color: var(--accent);
  font-weight: 900;
}
.hero-visual {
  position: relative;
  min-height: 540px;
}
.photo-frame {
  position: absolute;
  inset: 0 0 0 14%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 7px;
}
.case-card {
  position: absolute;
  left: 0;
  bottom: 42px;
  width: min(340px, 82%);
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 18px;
}
.case-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.case-id {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}
.status {
  font-size: 11px;
  font-weight: 800;
  color: var(--accent);
  background: var(--mark);
  border-radius: 999px;
  padding: 6px 9px;
}
.case-step {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
}
.case-step:first-of-type {
  border-top: 0;
}
.step-dot {
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}
.disclosure {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.disclosure .wrap {
  padding: 18px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.section {
  padding: 88px 0;
}
.section-alt {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-dark {
  background: var(--ink);
  color: var(--on-dark);
}
.section-dark h2,
.section-dark h3,
.section-dark .section-head h2 {
  color: #fff;
}
/* --accent on --ink is only 2.14:1, below the 3:1 floor for a control boundary, so the
   primary button inverts on dark grounds. Same rule retires app.js's inline eyebrow colour. */
.section-dark .eyebrow {
  color: var(--accent-lift);
}
.section-dark .btn-primary {
  background: var(--accent-lift);
  color: var(--ink);
}
.section-dark .btn-primary:hover {
  background: #a3d9bd;
  color: var(--ink);
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 38px;
}
.section-head h2 {
  font-family: "Libre Caslon Text", Georgia, serif;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 400;
  line-height: 1.12;
  margin: 10px 0 0;
  max-width: 720px;
}
.section-head p {
  max-width: 48ch;
  line-height: 1.7;
  margin: 0;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 27px;
  transition:
    transform var(--dur-2) var(--ease-out),
    border-color var(--dur-2) var(--ease-out);
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(20, 96, 58, 0.34);
}
.card h3 {
  font-family: "Libre Caslon Text", Georgia, serif;
  color: var(--ink);
  font-size: 20px;
  margin: 17px 0 9px;
  transition: color var(--dur-2) var(--ease-out);
}
.card:hover h3 {
  color: var(--accent);
}
.card p {
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0;
}
.card-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(20, 96, 58, 0.22);
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 17px;
  font-size: 13px;
  font-weight: 800;
}
.link-arrow:after {
  content: "→";
  transition: transform var(--dur-2) var(--ease-out);
}
.card:hover .link-arrow:after,
.link-arrow:hover:after {
  transform: translateX(4px);
}
.number {
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: 42px;
  font-style: italic;
  color: var(--accent);
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
.check-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.55;
}
.check-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 900;
}
.check-list li:first-child {
  border-top: 0;
}
.proof-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.proof-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-top: 1px solid var(--line);
}
.proof-row:first-child {
  border-top: 0;
}
.proof-row > div {
  padding: 16px 18px;
  min-width: 0;
  transition: background-color var(--dur-2) var(--ease-out);
}
.proof-row:hover > div {
  background: rgba(20, 96, 58, 0.05);
}
.proof-row > div:first-child {
  background: var(--paper-2);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--body);
}
.proof-row > div:last-child {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
}
.truth-note {
  margin-top: 20px;
  background: var(--mark);
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 18px;
  font-size: 13.5px;
  line-height: 1.65;
}
.platform-card {
  position: relative;
  overflow: hidden;
}
.platform-card:after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(20, 96, 58, 0.045);
  right: -45px;
  top: -45px;
  transition: transform var(--dur-4) var(--ease-out);
}
.platform-card:hover:after {
  transform: scale(1.3);
}
.source-link {
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 15px;
}
.quote {
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: 25px;
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
}
.media-card {
  position: relative;
  min-height: 350px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}
.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform var(--dur-4) var(--ease-out);
}
.media-card:hover img {
  transform: scale(1.04);
}
.media-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 54px 22px 20px;
  background: linear-gradient(
    rgba(8, 26, 17, 0) 0,
    rgba(8, 26, 17, 0.72) 26px,
    rgba(8, 26, 17, 0.94) 54px
  );
  color: #fff;
}
.media-overlay h3 {
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: 22px;
  margin: 0 0 5px;
}
.media-overlay p {
  margin: 0;
  color: var(--on-dark);
  font-size: 13px;
}
.page-hero {
  padding: 70px 0 54px;
  border-bottom: 1px solid var(--line);
}
.breadcrumbs {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 18px;
}
.breadcrumbs a {
  color: var(--accent);
}
.page-hero h1 {
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.08;
  font-weight: 400;
  color: var(--ink);
  margin: 0;
  max-width: 900px;
}
.page-hero p {
  font-size: 17px;
  line-height: 1.75;
  max-width: 760px;
  margin: 20px 0 0;
}
.page-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 54px;
  align-items: start;
}
.aside {
  position: sticky;
  top: 100px;
}
.aside-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}
.aside-box h3 {
  font-family: "Libre Caslon Text", Georgia, serif;
  color: var(--ink);
  margin: 0 0 12px;
  font-size: 18px;
}
.aside-box a {
  display: block;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  transition:
    color var(--dur-2) var(--ease-out),
    transform var(--dur-2) var(--ease-out);
}
.aside-box a:hover {
  transform: translateX(3px);
}
.aside-box a:first-of-type {
  border-top: 0;
}
.notice {
  border-left: 4px solid var(--accent);
  background: var(--mark);
  padding: 18px 20px;
  border-radius: 0 10px 10px 0;
  line-height: 1.65;
}
.notice.warning {
  border-color: var(--warn);
  background: var(--warn-tint);
}
.notice.danger {
  border-color: var(--danger);
  background: var(--danger-tint);
}
.timeline {
  display: grid;
  gap: 12px;
  position: relative;
}
.timeline:before {
  content: "";
  position: absolute;
  left: 21px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--line);
  transform-origin: top;
  transition: transform 700ms var(--ease-out);
}
.timeline.reveal-group:before {
  transform: scaleY(0);
}
.timeline.reveal-group.is-in:before {
  transform: scaleY(1);
}
.timeline-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
}
.timeline-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-family: "Libre Caslon Text", Georgia, serif;
  font-style: italic;
}
.timeline-body {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}
.timeline-body h3 {
  margin: 0 0 6px;
}
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.feature-split img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.field.full {
  grid-column: 1/-1;
}
.field label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--field-line);
  background: var(--paper);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  outline: none;
  transition:
    border-color var(--dur-2) var(--ease-out),
    box-shadow var(--dur-2) var(--ease-out);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(20, 96, 58, 0.3);
}
.field textarea {
  min-height: 115px;
  resize: vertical;
}
.form-help {
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}
.preview {
  margin-top: 18px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  white-space: pre-wrap;
  font:
    12.5px/1.65 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  color: var(--body);
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 30px;
}
.contact-block {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.contact-block:first-of-type {
  border-top: 0;
}
.contact-block strong {
  display: block;
  color: var(--ink);
  margin-bottom: 5px;
}
.footer {
  background: var(--dark);
  color: var(--on-dark-2);
  padding: 58px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 34px;
}
.footer-brand {
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: 21px;
  color: #fff;
  font-weight: 700;
}
.footer h4 {
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 4px 0 14px;
}
.footer a {
  display: block;
  color: var(--on-dark);
  font-size: 13px;
  padding: 5px 0;
}
.footer a:hover {
  color: #fff;
}
.footer p {
  font-size: 13px;
  line-height: 1.7;
}
.footer-bottom {
  border-top: 1px solid rgba(223, 237, 230, 0.12);
  margin-top: 38px;
  padding-top: 20px;
  font-size: 12px;
  line-height: 1.7;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.badge-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(223, 237, 230, 0.18);
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--on-dark-2);
  font-size: 11px;
}
.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 24px;
}
.error-page h1 {
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: 54px;
  color: var(--ink);
  margin: 0;
}
@media (max-width: 980px) {
  .nav-links {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    top: 100%;
    left: 16px;
    right: 16px;
    max-height: 80vh;
    overflow: auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    transition:
      opacity var(--dur-3) var(--ease-out),
      transform var(--dur-3) var(--ease-out),
      visibility 0s linear var(--dur-3);
  }
  .nav-links.open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition-delay: 0s;
  }
  .nav-links > a,
  .nav-dropdown > button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 13px 10px;
    border-bottom: 1px solid var(--line);
  }
  .nav-panel {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
    position: static;
    width: auto;
    box-shadow: none;
    border: 0;
    padding: 4px 0 8px 14px;
  }
  .nav-dropdown > button .caret {
    display: none;
  }
  .nav-toggle {
    display: grid;
    place-items: center;
  }
  .nav-cta {
    display: none !important;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .hero-visual {
    min-height: 470px;
  }
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
  .aside {
    position: static;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .feature-split {
    grid-template-columns: 1fr;
  }
  .proof-row {
    grid-template-columns: 170px 1fr;
  }
}
@media (max-width: 640px) {
  .wrap {
    width: min(calc(100% - 32px), var(--max));
  }
  .topbar .wrap {
    padding: 8px 0;
  }
  .topbar .diamond,
  .topbar .optional {
    display: none;
  }
  .nav {
    min-height: 64px;
  }
  .brand-name {
    font-size: 17px;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  .hero-grid {
    padding: 58px 0 68px;
  }
  .hero h1 {
    font-size: 43px;
  }
  .hero-copy {
    font-size: 16px;
  }
  .hero-visual {
    min-height: 390px;
  }
  .photo-frame {
    left: 7%;
  }
  .case-card {
    bottom: 20px;
    width: 88%;
  }
  .section {
    padding: 64px 0;
  }
  .section-head {
    display: block;
  }
  .section-head p {
    margin-top: 14px;
  }
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .page-hero {
    padding: 52px 0 42px;
  }
  .page-hero h1 {
    font-size: 42px;
  }
  .article-layout {
    gap: 32px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field.full {
    grid-column: auto;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid > div:first-child {
    grid-column: auto;
  }
  .footer-bottom {
    display: block;
  }
  .proof-row {
    grid-template-columns: 1fr;
  }
  .proof-row > div:first-child {
    padding-bottom: 6px;
  }
  .proof-row > div:last-child {
    padding-top: 6px;
  }
  .media-card {
    min-height: 300px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
  .reveal-item {
    opacity: 1 !important;
    transform: none !important;
  }
  .timeline.reveal-group:before {
    transform: scaleY(1) !important;
  }
}

/* V3 reviewer-verification additions */
.compact-section {
  padding: 36px 0 0;
}
.identity-card h3,
.proof-row a {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.identity-card h3 {
  font-size: 20px;
}
@media (max-width: 1160px) and (min-width: 981px) {
  .nav-links { gap: 15px; }
  .nav-links > a,
  .nav-dropdown > button { font-size: 12.5px; }
  .nav-cta { padding-inline: 16px !important; }
}
