:root {
  --bg: #f4f9fa;
  --ink: #2c2e44;
  --muted: #3f415a;
  --rule: #c6dbdd;
  --teal: #006c75;
  --teal-dark: #00545c;
  --mid-teal: #2999a3;
  --sage: #80c2bd;
  --card: #ecf8f9;
  --tint: #d1edf0;
  --blue-tint: #d9ebf2;
  --pale-blue: #9fcedf;
  --coral: #e19575;
  --coral-dark: #d8784f;
  --night: #071618;
  --night-fg: #c0cecd;
  --on-teal: #ecf5f9;
  --radius: 4px;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: var(--teal);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--teal-dark);
}

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

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(32px, 4.6vw, 48px);
}

h2 {
  font-size: clamp(24px, 2.8vw, 30px);
}

h3 {
  font-size: 18px;
  letter-spacing: -0.01em;
  margin-bottom: 0.35em;
}

p {
  margin: 0 0 1em;
}

.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 32px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.logo img {
  display: block;
  height: 26px;
  width: auto;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  font-size: 15px;
  font-weight: 500;
}

.site-header nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.site-header nav a:hover {
  color: var(--teal);
  border-bottom-color: var(--sage);
}

.site-header nav a[aria-current="page"] {
  color: var(--teal);
  border-bottom-color: var(--coral);
}

.button {
  display: inline-block;
  background: var(--coral);
  color: var(--ink);
  padding: 12px 22px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
}

.button:hover {
  background: var(--coral-dark);
  color: var(--ink);
}

.button.quiet {
  background: transparent;
  color: inherit;
  box-shadow: inset 0 0 0 1.5px currentColor;
}

.button.quiet:hover {
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
}

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

.hero {
  background: var(--teal);
  color: var(--on-teal);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  padding-top: 80px;
  padding-bottom: 88px;
  align-items: center;
}

.hero h1 {
  max-width: 16ch;
}

.hero .lede {
  font-size: 18px;
  color: var(--tint);
  max-width: 34em;
}

.hero .button.quiet {
  color: var(--on-teal);
}

.modules {
  background: var(--card);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 26px 30px 18px;
}

.modules h2 {
  font-size: 18px;
  margin-bottom: 10px;
}

.modules ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.modules li {
  border-top: 1px solid var(--rule);
}

.modules a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.modules a::after {
  content: "\2192";
  color: var(--coral-dark);
}

.modules a:hover {
  color: var(--teal);
}

.page-head {
  background: var(--tint);
  border-bottom: 1px solid var(--rule);
}

.page-head.blue {
  background: var(--blue-tint);
}

.page-head .wrap {
  padding-top: 64px;
  padding-bottom: 60px;
}

.page-head h1 {
  max-width: 20ch;
}

.page-head .lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 40em;
  margin-bottom: 0;
}

.band {
  padding: 72px 0;
}

.band.card {
  background: var(--card);
}

.band.tint {
  background: var(--tint);
}

.band.blue {
  background: var(--blue-tint);
}

.band.teal {
  background: var(--teal);
  color: var(--on-teal);
}

.band.teal a {
  color: var(--on-teal);
}

.band.teal .button {
  color: var(--ink);
}

.band.night {
  background: var(--night);
  color: var(--on-teal);
}

.band + .band:not(.card):not(.tint):not(.blue):not(.teal):not(.night) {
  border-top: 1px solid var(--rule);
}

.intro {
  max-width: 42em;
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 36px;
}

.band.teal .intro,
.band.night .intro {
  color: var(--tint);
}

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.pair > a {
  display: block;
  padding: 32px 32px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  border-top: 4px solid var(--teal);
}

.pair > a:nth-child(1) {
  background: var(--tint);
}

.pair > a:nth-child(2) {
  background: var(--blue-tint);
  border-top-color: var(--coral);
}

.pair > a p {
  color: var(--muted);
}

.pair .more {
  color: var(--teal);
  font-weight: 600;
}

.pair > a:hover .more {
  text-decoration: underline;
}

.flow {
  list-style: none;
  counter-reset: flow;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 40px;
}

h2 + .flow {
  margin-top: 32px;
}

.flow li {
  counter-increment: flow;
  border-top: 3px solid var(--sage);
  padding-top: 16px;
}

.flow li::before {
  content: counter(flow, decimal-leading-zero);
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: var(--coral);
  margin-bottom: 6px;
}

.flow p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

.band.teal .flow p,
.band.night .flow p {
  color: var(--tint);
}

.feature {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
}

.feature .side p {
  color: var(--muted);
  font-size: 15px;
}

.tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-dark);
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 2px 9px;
  margin-bottom: 14px;
}

.checks {
  list-style: none;
  margin: 0;
  padding: 0;
}

.checks li {
  position: relative;
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid rgba(44, 46, 68, 0.12);
}

.checks li:first-child {
  padding-top: 2px;
}

.checks li:first-child::before {
  top: 2px;
}

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

.checks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 9px;
  height: 15px;
  border: solid var(--teal);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) translate(3px, 1px);
}

.checks strong {
  font-weight: 600;
}

.callout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.callout h2 {
  margin-bottom: 0.3em;
}

.callout p {
  margin: 0;
  max-width: 36em;
}

.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.steps li {
  counter-increment: step;
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 26px;
}

.steps li::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.faq {
  max-width: 760px;
}

.faq details {
  border-bottom: 1px solid var(--rule);
}

.faq details:first-of-type {
  border-top: 1px solid var(--rule);
}

.faq summary {
  cursor: pointer;
  padding: 18px 36px 18px 0;
  font-weight: 600;
  list-style: none;
  position: relative;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 14px;
  font-size: 24px;
  font-weight: 400;
  color: var(--teal);
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details p {
  color: var(--muted);
  margin: 0 0 20px;
  max-width: 40em;
}

.crisis {
  border-left: 4px solid var(--coral);
  background: #fff;
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: 760px;
}

.crisis p {
  margin: 0;
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
}

.facts > div {
  padding: 22px 0;
  border-top: 1px solid rgba(44, 46, 68, 0.14);
}

.facts p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.inboxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.inboxes > div {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px 28px;
  border-top: 4px solid var(--teal);
}

.inboxes > div:nth-child(2) {
  border-top-color: var(--coral);
}

.inboxes > div:nth-child(3) {
  border-top-color: var(--sage);
}

.inboxes > div:nth-child(4) {
  border-top-color: var(--pale-blue);
}

.inboxes p {
  color: var(--muted);
  font-size: 15px;
}

.inboxes a {
  font-weight: 600;
  font-size: 18px;
}

.site-footer {
  background: var(--night);
  color: var(--night-fg);
  font-size: 14px;
  padding: 56px 0 36px;
}

.site-footer a {
  color: var(--on-teal);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--sage);
  text-decoration: underline;
}

.site-footer .cols {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 32px;
}

.site-footer img {
  height: 24px;
  width: auto;
  display: block;
  margin-bottom: 14px;
}

.site-footer h4 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 6px;
}

.site-footer .base {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.legal {
  max-width: 720px;
  padding: 44px 0 80px;
}

.legal h2 {
  font-size: 20px;
  margin-top: 40px;
}

.legal-head .updated {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

@media (max-width: 860px) {
  .hero .wrap,
  .feature,
  .pair,
  .callout,
  .facts,
  .inboxes {
    grid-template-columns: 1fr;
  }

  .hero .wrap {
    gap: 40px;
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .feature {
    gap: 20px;
  }

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

  .band {
    padding: 52px 0;
  }

  .page-head .wrap {
    padding-top: 44px;
    padding-bottom: 44px;
  }

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