:root {
  --navy: #12263a;
  --ink: #31445c;
  --muted: #4c6076;
  --line: #e1eaf3;
  --line-strong: #d3dfeb;
  --bg: #f5f8fb;
  --white: #ffffff;
  --accent: #3f87f5;
  --accent-ink: #1454be;
  --accent-deep: #0f47a3;
  --accent-soft: #e8f1fe;
  --green: #0b6b56;
  --green-soft: #e5f6f1;
  --shadow: 0 1px 2px rgba(18, 38, 58, 0.04), 0 16px 40px rgba(18, 38, 58, 0.06);
  --radius: 16px;
  --header-h: 68px;
  --font: "Poppins", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

h1,
h2,
h3,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.35rem, 4.8vw, 3.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

h3 {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.35;
}

p {
  text-wrap: pretty;
}

a {
  color: var(--accent-ink);
}

:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 3px;
}

::selection {
  background: #d6e6ff;
  color: var(--navy);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 8px;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--navy);
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 80;
  text-decoration: none;
  font-weight: 500;
}

.skip-link:focus {
  position: fixed;
  transform: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 72px 0;
}

.lede {
  margin-top: 16px;
  max-width: 40rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--accent-ink);
  font-size: 0.9375rem;
  font-weight: 500;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button--primary {
  background: var(--accent-ink);
  color: var(--white);
}

.button--primary:hover {
  background: var(--accent-deep);
  color: var(--white);
}

.button--secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--line-strong);
}

.button--secondary:hover {
  background: #eef3f8;
  color: var(--navy);
}

.button--inverse {
  background: var(--white);
  color: var(--navy);
}

.button--inverse:hover {
  background: var(--accent-soft);
  color: var(--navy);
}

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

.fine-print {
  margin-top: 14px;
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Header and navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
  width: min(var(--wrap), calc(100% - 32px));
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  min-height: 44px;
}

.brand__mark {
  width: 36px;
  height: 36px;
  flex: none;
}

.brand__name {
  display: flex;
  flex-direction: column;
  color: var(--navy);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.15;
}

.brand__at {
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 400;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
}

.nav-toggle:hover {
  background: var(--bg);
}

html.js .nav-toggle {
  display: inline-flex;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover {
  background: var(--bg);
  color: var(--navy);
}

.nav-panel .button {
  margin-left: 8px;
}

html.js .nav-panel {
  display: none;
}

html.js .nav-panel.is-open {
  display: flex;
}

/* Hero */

.hero {
  padding: 36px 0 64px;
}

.hero__grid,
.feature__grid,
.organise__grid,
.footer__grid {
  display: grid;
  gap: 32px;
}

.hero__grid > *,
.feature__grid > *,
.organise__grid > *,
.footer__grid > * {
  min-width: 0;
}

.hero__copy h1 {
  max-width: 11em;
}

/* Previews */

.preview {
  container-type: inline-size;
  margin: 0;
}

.preview__caption {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
}

.preview__frame {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-title,
.preview__bar {
  margin: 0;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-size: 1rem;
  font-weight: 500;
}

.preview__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.preview__count {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 400;
}

.card-body {
  padding: 20px;
}

.people {
  list-style: none;
  margin: 0;
  padding: 6px 20px 8px;
}

.person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.person:last-child {
  border-bottom: 0;
}

.avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 0.75rem;
  font-weight: 500;
}

.person__main {
  min-width: 0;
  flex: 1;
}

.person__name,
.person__meta {
  display: block;
}

.person__name {
  color: var(--navy);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.3;
}

.person__meta {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.4;
}

.status {
  display: inline-flex;
  align-items: center;
  flex: none;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
}

.hero-split {
  display: grid;
}

.hero-split__pane + .hero-split__pane {
  border-top: 1px solid var(--line);
}

.hero-split__pane:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.field {
  display: block;
}

.field + .field {
  margin-top: 14px;
}

.field__label {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 0.8125rem;
  font-weight: 500;
}

.field__control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #d5deea;
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font-size: 0.9375rem;
}

.field__control--note {
  align-items: flex-start;
  min-height: 72px;
  color: var(--ink);
  line-height: 1.45;
}

.field__icon {
  width: 16px;
  height: 16px;
  flex: none;
  color: #7d8da1;
}

.field__icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pane-label {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 500;
}

.mini-balance__label,
.balance-kicker {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
}

.mini-balance__stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 8px;
  color: var(--navy);
}

.mini-balance__stat strong,
.balance-figure__num {
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.meter {
  height: 8px;
  margin-top: 14px;
  border-radius: 999px;
  background: #e6eef8;
  overflow: hidden;
}

.meter__fill {
  display: block;
  width: 16.666%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.mini-balance__note,
.balance-remain {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.875rem;
}

.mock-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 16px;
  border-radius: 8px;
  background: var(--accent-ink);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
}

.preview__hint {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.75rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.chips li {
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.8125rem;
  line-height: 1.3;
}

.chips li.is-selected {
  border-color: var(--accent);
  background: #f3f8ff;
  color: var(--accent-ink);
}

.chip-label {
  margin-top: 16px;
  color: var(--navy);
  font-size: 0.8125rem;
  font-weight: 500;
}

.balance-figure {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 4px;
}

.balance-figure__label {
  color: var(--navy);
  font-size: 1rem;
}

.balance-table {
  width: 100%;
  margin-top: 22px;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.balance-table th,
.balance-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.balance-table th {
  background: #f7fafc;
  color: var(--navy);
  font-weight: 500;
}

.balance-table td {
  color: var(--ink);
}

.balance-table tr:last-child td {
  border-bottom: 0;
}

/* Benefits */

.benefit-list {
  display: grid;
  gap: 28px;
  margin-top: 40px;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  padding-top: 18px;
  border-top: 2px solid #d7e4f2;
}

.benefit__index {
  margin-bottom: 10px;
  color: var(--accent-ink);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.benefit-list h3 {
  margin-bottom: 8px;
}

.benefit-list p {
  max-width: 36rem;
}

/* Features */

.feature__copy p + p {
  margin-top: 12px;
}

.feature__copy h2 + p {
  margin-top: 16px;
}

.feature--band {
  background: transparent;
}

.org-list {
  list-style: none;
  margin: 0;
  padding: 8px 20px;
}

.org-list li {
  display: grid;
  gap: 2px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.org-list li:last-child {
  border-bottom: 0;
}

.org-list strong {
  color: var(--navy);
  font-weight: 500;
}

.org-list span {
  color: var(--muted);
  font-size: 0.875rem;
}

/* How it works */

.steps {
  position: relative;
  display: grid;
  gap: 28px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step__num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 0.875rem;
  font-weight: 500;
}

.steps h3 {
  margin-bottom: 8px;
}

.steps p {
  max-width: 34rem;
}

/* FAQ */

.faq-list {
  max-width: 44rem;
  margin-top: 28px;
  border-top: 1px solid var(--line-strong);
}

.faq__item {
  border-bottom: 1px solid var(--line-strong);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary h3 {
  font-size: 1.0625rem;
}

.faq__icon {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--accent-ink);
}

.faq__icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.faq__icon-vert {
  transition: opacity 160ms ease;
}

.faq__item[open] .faq__icon-vert {
  opacity: 0;
}

.faq__item p {
  max-width: 62ch;
  padding: 0 36px 18px 0;
}

/* Final CTA */

.cta-panel {
  padding: 40px 24px;
  border-radius: 20px;
  background: #14233a;
  color: #d5e2f0;
}

.cta-panel h2 {
  max-width: 14em;
  color: var(--white);
}

.cta-panel p {
  max-width: 34rem;
  margin-top: 14px;
  font-size: 1.125rem;
}

.cta-panel .button {
  margin-top: 24px;
}

.cta-panel :focus-visible {
  outline-color: var(--white);
}

.waitlist {
  margin-top: 28px;
  max-width: 36rem;
}

.waitlist__fields {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.waitlist__fields:disabled {
  opacity: 1;
}

.waitlist__label {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
}

.waitlist__row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.waitlist input[type="email"] {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-size: 1rem;
}

.waitlist input::placeholder {
  color: #4c6076;
  opacity: 1;
}

.waitlist input:disabled {
  background: #e7eef6;
  color: #3d5270;
  cursor: not-allowed;
}

.waitlist input[aria-invalid="true"] {
  border-color: #f0b4b4;
}

.cta-panel .waitlist .button {
  margin-top: 0;
}

.waitlist .button:disabled,
.waitlist .button:disabled:hover {
  background: #e7eef6;
  color: #3d5270;
  cursor: not-allowed;
}

.cta-panel .waitlist__note,
.cta-panel .waitlist__status {
  max-width: 36rem;
  margin-top: 12px;
  color: #d5e2f0;
  font-size: 0.875rem;
  line-height: 1.5;
}

.cta-panel .waitlist__status {
  margin-top: 8px;
}

.waitlist__status--error {
  color: #ffd5d5;
}

.waitlist__status--success {
  color: #d7f5ec;
}

.waitlist[data-state="loading"] .button {
  cursor: progress;
}

.waitlist__turnstile {
  margin-top: 14px;
  width: 100%;
  min-height: 0;
}

.waitlist[data-state="ready"] .waitlist__turnstile,
.waitlist[data-state="loading"] .waitlist__turnstile,
.waitlist[data-state="error"] .waitlist__turnstile,
.waitlist[data-state="success"] .waitlist__turnstile {
  min-height: 65px;
}

/* Footer */

.site-footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 40px 0 28px;
}

.footer__tagline {
  margin-top: 16px;
  color: var(--navy);
  font-weight: 500;
}

.footer__desc {
  margin-top: 6px;
  max-width: 34rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer__nav a {
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.footer__nav a:hover {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}

@container (min-width: 520px) {
  .hero-split {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .hero-split__pane + .hero-split__pane {
    border-top: 0;
    border-left: 1px solid var(--line);
  }
}

@container (max-width: 380px) {
  .person {
    align-items: flex-start;
  }

  .status {
    margin-left: auto;
  }
}

@media (max-width: 839px) {
  html.js .nav-panel,
  html.js .nav-panel.is-open {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin-left: 0;
    padding: 8px 12px 16px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(18, 38, 58, 0.06);
  }

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

  .nav-panel .button {
    width: 100%;
    margin: 8px 0 0;
  }
}

@media (min-width: 420px) {
  .actions .button {
    flex: none;
  }
}

@media (max-width: 419px) {
  .actions .button {
    width: 100%;
  }
}

@media (max-width: 639px) {
  .waitlist .button {
    width: 100%;
  }
}

@media (min-width: 640px) {
  .waitlist__row {
    flex-direction: row;
    align-items: center;
  }

  .waitlist input[type="email"] {
    flex: 1;
    min-width: 0;
  }

  .waitlist .button {
    flex: none;
  }
}

@media (min-width: 800px) {
  .benefit-list,
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
  }

  .steps::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 18px;
    right: 18px;
    height: 1px;
    background: #d5e2f0;
    z-index: 0;
  }

  .step__num {
    position: relative;
    z-index: 1;
  }

  .footer__grid {
    grid-template-columns: 1.5fr 1fr;
    align-items: start;
  }

  .footer__nav {
    align-items: flex-end;
  }

  .cta-panel {
    padding: 72px 64px;
  }

  .org-list li {
    grid-template-columns: 1.3fr 1fr 1fr;
    align-items: center;
    gap: 12px;
  }
}

@media (min-width: 840px) {
  html.js .nav-toggle {
    display: none;
  }

  html.js .nav-panel,
  html.js .nav-panel.is-open {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }
}

@media (min-width: 900px) {
  .section {
    padding: 104px 0;
  }

  .hero {
    padding: 72px 0 88px;
  }

  .feature__grid,
  .organise__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
  }

  .feature--flip .feature__copy {
    order: 2;
  }

  .feature--flip .feature__visual {
    order: 1;
  }
}

@media (min-width: 980px) {
  .hero__grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 56px;
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
