:root {
  --ink: #2d3e5f;
  --navy-deep: #243150;
  --teal: #35bd93;
  --teal-dk: #289d79;
  --teal-bright: #6fd7b6;
  --teal-soft: #e3f6ef;
  --paper: #f7f9fb;
  --white: #ffffff;
  --line: #dee4ed;
  --mute: #66758e;
  --text: #3a4759;
  --coral: #b0563f;
  --coral-soft: #faeee9;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  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;
  -webkit-font-smoothing: antialiased;
}

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

button,
input {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
}

.ital {
  color: var(--teal);
  font-style: italic;
}

.wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 28px;
}

.read {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 28px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(150%) blur(8px);
}

.nav-shell {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 210px;
  align-items: center;
  height: 68px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 150px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand span {
  color: var(--teal);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  min-width: 0;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.16s ease, opacity 0.16s ease;
}

.site-header.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 7px;
  color: var(--mute);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  background: var(--teal-soft);
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-teal {
  background: var(--teal);
  color: var(--white);
  padding: 0 18px;
}

.btn-teal:hover {
  background: var(--teal-dk);
}

.btn-ghost-dark {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--white);
  padding: 0 22px;
}

.btn-ghost-dark:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-lg {
  min-height: 50px;
  padding: 0 26px;
  font-size: 15px;
}

.site-cta {
  width: 210px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  padding: 76px 0 68px;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -110px;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 189, 147, 0.15), transparent 62%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.eyebrow,
.kicker {
  color: var(--teal);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--teal-bright);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "\2014\2002";
}

.page-hero h1 {
  max-width: 18ch;
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.04;
}

.page-hero p {
  max-width: 56ch;
  color: #c4d0e3;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: #8fa0bc;
  font-size: 12.5px;
  letter-spacing: 0.06em;
}

.chips b {
  color: var(--white);
}

.section {
  padding: 62px 0;
}

.section-tight {
  padding-top: 0;
}

.section-white {
  background: var(--white);
  border-color: var(--line);
  border-style: solid;
  border-width: 1px 0;
}

.section-heading {
  max-width: 24ch;
  margin-top: 10px;
  font-size: clamp(27px, 3vw, 34px);
  line-height: 1.14;
}

.lead {
  max-width: 58ch;
  margin-top: 10px;
  color: var(--mute);
  font-size: 16px;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.soft-panel,
.dark-panel,
.final-panel {
  border-radius: 12px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px;
}

.card h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.2;
}

.card p {
  color: var(--mute);
  font-size: 13.5px;
  line-height: 1.55;
}

.icon {
  width: 30px;
  height: 30px;
  margin-bottom: 13px;
  color: var(--teal);
}

.icon-inline {
  width: 20px;
  height: 20px;
  color: var(--teal);
  flex: none;
}

.flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}

.flow-node {
  flex: 1 1 106px;
  min-width: 100px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  padding: 13px 10px;
  text-align: center;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.flow-node:hover {
  border-color: var(--teal);
  transform: translateY(-1px);
}

.flow-node.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.flow-node svg {
  display: block;
  width: 24px;
  height: 24px;
  margin: 0 auto 7px;
  color: var(--teal);
}

.flow-node.is-active svg {
  color: var(--teal-bright);
}

.flow-node span {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.2;
}

.soft-panel {
  margin-top: 18px;
  background: var(--teal-soft);
  border: 1px solid rgba(53, 189, 147, 0.28);
  color: var(--ink);
  padding: 18px 22px;
}

.soft-panel b {
  color: var(--teal-dk);
}

.toggle {
  display: inline-flex;
  gap: 4px;
  margin: 26px 0 22px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.toggle button {
  min-width: 118px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--mute);
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 18px;
}

.toggle button.is-active {
  background: var(--ink);
  color: var(--white);
}

.ba-panel {
  border-radius: 11px;
  padding: 24px 26px;
}

.ba-new {
  background: var(--teal-soft);
  border: 1px solid rgba(53, 189, 147, 0.32);
}

.ba-old {
  background: var(--coral-soft);
  border: 1px solid rgba(176, 86, 63, 0.25);
}

.ba-panel[hidden] {
  display: none;
}

.ba-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: var(--text);
  font-size: 15px;
}

.ba-row svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.ba-new svg {
  color: var(--teal-dk);
}

.ba-old svg {
  color: var(--coral);
}

.dark-panel,
.final-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ink), var(--navy-deep));
  color: var(--white);
  padding: 36px 34px;
}

.dark-panel::after,
.final-panel::after {
  content: "";
  position: absolute;
  left: -110px;
  bottom: -130px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 189, 147, 0.16), transparent 62%);
  pointer-events: none;
}

.dark-panel > *,
.final-panel > * {
  position: relative;
  z-index: 1;
}

.dark-panel h3,
.final-panel h2 {
  color: var(--white);
}

.dark-panel h3 {
  margin-bottom: 8px;
  font-size: 24px;
}

.dark-panel p,
.final-panel p {
  color: #c4d0e3;
}

.reg-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.reg-chip {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  cursor: default;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 18px;
}

.reg-chip span {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  width: max-content;
  max-width: 220px;
  transform: translateX(-50%);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  color: var(--ink);
  opacity: 0;
  padding: 5px 9px;
  pointer-events: none;
  font-size: 11.5px;
  font-weight: 500;
  transition: opacity 0.15s ease;
}

.reg-chip:hover {
  background: var(--teal);
  border-color: var(--teal);
}

.reg-chip:hover span {
  opacity: 1;
}

.trust-cell {
  text-align: center;
}

.trust-cell .icon {
  margin-left: auto;
  margin-right: auto;
}

.trust-cell h3 {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
}

.trust-cell p {
  font-size: 12px;
}

.essay {
  padding: 64px 0 0;
}

.block {
  margin-bottom: 54px;
}

.block h2 {
  margin: 10px 0 16px;
  font-size: 29px;
  line-height: 1.15;
}

.block p {
  margin-bottom: 14px;
  color: var(--text);
}

.block b {
  color: var(--ink);
}

.quote-list {
  margin: 10px 0 14px;
  padding-left: 18px;
  border-left: 2px solid var(--teal-soft);
  color: var(--mute);
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
  line-height: 1.9;
}

.pull {
  position: relative;
  overflow: hidden;
  margin: 60px 0;
  background: var(--ink);
  color: var(--white);
  padding: 54px 0;
}

.pull blockquote {
  position: relative;
  max-width: 24ch;
  margin: 0 auto;
  color: var(--white);
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.3;
  text-align: center;
}

.pull .ital,
.page-hero .ital,
.final-panel .ital,
.dark-panel .ital {
  color: var(--teal-bright);
}

.chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
}

.chain-node {
  flex: 1 1 auto;
  min-width: 100px;
  border: 1px solid rgba(53, 189, 147, 0.32);
  border-radius: 8px;
  background: var(--teal-soft);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  padding: 11px 10px;
  text-align: center;
}

.chain-node.last {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.chain-arrow {
  color: var(--teal);
}

.tag-cell {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  padding: 14px;
  text-align: center;
}

.tag-cell.now {
  border-color: var(--teal);
  background: var(--teal-soft);
}

.tag-cell small {
  display: block;
  margin-top: 5px;
  color: var(--mute);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag-cell.now small {
  color: var(--teal-dk);
}

.check-cell {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text);
  font-size: 14px;
  padding: 16px 18px;
}

.check-cell svg {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--teal);
  flex: none;
}

.trust-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-card p + p,
.maturity p + p {
  margin-top: 8px;
}

.small {
  margin-top: 10px;
  color: var(--mute);
  font-size: 12.5px;
  font-style: italic;
}

.maturity {
  margin-top: 18px;
  border: 1px solid rgba(53, 189, 147, 0.32);
  border-radius: 12px;
  background: var(--teal-soft);
  padding: 24px;
}

.maturity h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.maturity p {
  color: var(--text);
  font-size: 14px;
}

.final-panel {
  text-align: center;
}

.final-panel h2 {
  margin-bottom: 10px;
  font-size: 32px;
}

.final-panel p {
  max-width: 54ch;
  margin: 0 auto 24px;
}

.final-panel .btn {
  position: relative;
}

.email-note {
  margin-top: 14px;
  color: #9fb0cc;
  font-size: 13px;
}

.email-note a {
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
}

.footer-shell {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}

.footer-copy {
  color: var(--mute);
  font-size: 12.5px;
  line-height: 1.75;
  text-align: right;
}

.footer-copy a:hover {
  color: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .nav-shell {
    grid-template-columns: 150px minmax(0, 1fr) 210px;
    gap: 12px;
  }

  .site-nav {
    gap: 6px;
  }

  .nav-link {
    padding: 0 8px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .wrap,
  .read {
    padding: 0 20px;
  }

  .nav-shell {
    grid-template-columns: minmax(0, 1fr) 42px;
    height: auto;
    gap: 10px;
    padding: 12px 20px;
  }

  .brand {
    width: auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .site-cta {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .site-nav {
    grid-column: 1 / -1;
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px;
    overflow: visible;
    padding-top: 2px;
  }

  .site-header:not(.menu-open) .site-nav,
  .site-header:not(.menu-open) .site-cta {
    display: none;
  }

  .site-header.menu-open .site-nav,
  .site-header.menu-open .site-cta {
    display: flex;
  }

  .nav-link {
    min-height: 34px;
    width: 100%;
    justify-content: center;
  }

  .page-hero {
    padding: 58px 0 54px;
  }

  .page-hero h1 {
    font-size: 38px;
  }

  .page-hero p {
    font-size: 17px;
  }

  .section {
    padding: 50px 0;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .flow {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-node {
    min-width: 0;
  }

  .chain {
    flex-direction: column;
    align-items: stretch;
  }

  .chain-arrow {
    transform: rotate(90deg);
    align-self: center;
  }

  .reg-chip span {
    display: none;
  }

  .pull blockquote {
    font-size: 24px;
  }

  .footer-shell {
    grid-template-columns: 1fr;
  }

  .footer-copy {
    text-align: left;
  }
}

@media (max-width: 430px) {
  .nav-shell {
    grid-template-columns: minmax(0, 1fr) 42px;
  }

  .site-cta {
    width: 100%;
  }

  .hero-actions,
  .hero-actions .btn,
  .final-panel .btn {
    width: 100%;
  }

  .toggle {
    width: 100%;
  }

  .toggle button {
    flex: 1;
    min-width: 0;
    padding-left: 10px;
    padding-right: 10px;
  }

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