@font-face {
  font-family: "Barlow Condensed";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/barlow-condensed-latin-700-italic.woff2") format("woff2");
}

/* The app's palette: navy surfaces, a red accent, white type on navy. */
:root {
  --surface: #f7f8fb;
  --surface-2: #eef1f6;
  --card: #ffffff;
  --border: #dfe3ec;
  --text: #0b1328;
  --muted: #545d75;
  --brand: #e2383f;
  --brand-strong: #a71b22;
  --navy: #132042;
  --navy-2: #1a2a54;
  --navy-muted: #b9c6e6;
  --on-brand: #ffffff;
  --display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface: #0b1328;
    --surface-2: #132042;
    --card: #132042;
    --border: #1a2a54;
    --text: #f7f8fb;
    --muted: #9aa3b7;
    --brand-strong: #f69ca0;
    --navy: #0b1328;
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.bar {
  background: var(--navy);
  color: #ffffff;
}

.bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}

.brand img {
  width: 2rem;
  height: 2rem;
}

.wordmark {
  display: flex;
  flex-direction: column;
  font-family: var(--display);
  font-size: 17px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.wordmark span:first-child {
  color: #ffffff;
  letter-spacing: 0.025em;
}

.wordmark span:last-child {
  margin-top: 2px;
  color: var(--brand);
  letter-spacing: 0.2em;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
}

nav a:not(.button) {
  color: var(--navy-muted);
  text-decoration: none;
}

nav a:not(.button):hover {
  color: #ffffff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.6rem;
  padding: 0.7rem 1.15rem;
  font-weight: 650;
  background: var(--brand);
  color: var(--on-brand);
  text-decoration: none;
  transition: filter 120ms;
}

.button:hover {
  filter: brightness(0.94);
}

.button.small {
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
}

.button.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.button.ghost:hover {
  background: var(--surface-2);
  filter: none;
}

.hero-band {
  background: var(--navy);
  color: #ffffff;
}

.hero-band .lead,
.hero-band .proof dd {
  color: var(--navy-muted);
}

.hero-band .button.ghost {
  color: #ffffff;
  border-color: var(--navy-2);
}

.hero-band .button.ghost:hover {
  background: var(--navy-2);
}

.hero {
  padding-top: 5.5rem;
  padding-bottom: 4rem;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

h1 {
  margin: 0;
  max-width: 18ch;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
}

h2 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1;
}

h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.lead {
  max-width: 40rem;
  margin: 1.25rem 0 0;
  font-size: 1.15rem;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.proof {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.5rem;
  margin: 3.5rem 0 0;
}

.proof dt {
  font-weight: 700;
}

.proof dd {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.band {
  padding: 4.5rem 0;
  background: var(--surface-2);
  border-block: 1px solid var(--border);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
}

.card {
  padding: 1.35rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.9rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 3rem;
  align-items: start;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.split p {
  color: var(--muted);
}

.muted {
  font-size: 0.85rem;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 0.75rem;
}

.steps li {
  background: var(--card);
  counter-increment: step;
  display: flex;
  gap: 0.9rem;
  align-items: baseline;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 0.9rem;
}

.steps li::before {
  content: counter(step);
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background: var(--brand);
  color: var(--on-brand);
  font-size: 0.85rem;
  font-weight: 700;
}

.cta {
  padding-top: 3rem;
  padding-bottom: 5rem;
  text-align: center;
}

.cta .lead {
  margin: 0 auto 2rem;
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 40rem) {
  nav a:not(.button) {
    display: none;
  }

  .hero {
    padding-top: 3.5rem;
  }
}
