:root {
  --blue: #1565c0;
  --blue-dark: #0d47a1;
  --blue-soft: #e8f1fb;
  --green: #2e7d32;
  --ink: #1a1c1e;
  --ink-soft: #4a4f55;
  --page: #ffffff;
  --page-alt: #f5f7fa;
  --card: #ffffff;
  --line: #d9dee4;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 8px 24px rgba(16, 24, 40, 0.06);
  --radius: 12px;
  --measure: 68ch;
}

@media (prefers-color-scheme: dark) {
  :root {
    --blue: #90caf9;
    --blue-dark: #bbdefb;
    --blue-soft: #16293d;
    --green: #81c784;
    --ink: #e6e8ea;
    --ink-soft: #adb4bc;
    --page: #131619;
    --page-alt: #191d21;
    --card: #1e2328;
    --line: #333a42;
    --shadow: none;
  }
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue);
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.4rem);
}

h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1rem;
  max-width: var(--measure);
}

.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;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--card);
  color: var(--ink);
  padding: 0.75rem 1rem;
  z-index: 10;
}

.skip-link:focus {
  left: 0;
}

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

.wrap {
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
}

.wrap-narrow {
  width: min(760px, 100% - 3rem);
}

/* Header */

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.75rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.site-header nav a:not(.btn),
.site-footer nav a:not(.btn) {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-header nav a:not(.btn):hover,
.site-footer nav a:not(.btn):hover {
  color: var(--blue);
  text-decoration: underline;
}

/* Buttons */

.btn {
  display: inline-block;
  background: var(--blue);
  color: var(--page);
  border: 1px solid var(--blue);
  border-radius: 8px;
  padding: 0.6rem 1.1rem;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
}

.btn:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--page);
  text-decoration: none;
}

.btn-small {
  padding: 0.45rem 0.85rem;
  font-size: 0.92rem;
}

.btn-large {
  padding: 0.8rem 1.6rem;
  font-size: 1.05rem;
}

.btn-ghost {
  background: transparent;
  color: var(--blue);
  border-color: var(--line);
}

.btn-ghost:hover {
  background: var(--blue-soft);
  color: var(--blue);
  border-color: var(--blue);
}

.btn-block {
  display: block;
  width: 100%;
  margin-top: auto;
}

/* Hero */

.hero {
  background: linear-gradient(180deg, var(--blue-soft), var(--page));
  padding: clamp(3rem, 8vw, 5.5rem) 0;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 6vw, 4rem);
}

.hero-copy {
  flex: 1 1 30rem;
}

.hero-art {
  flex: 0 1 16rem;
  text-align: center;
}

/* The logo PNG has an opaque white ground, so it needs a card to sit on
   rather than floating as a bare square over the hero gradient. */
.hero-art img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 2px 4px rgba(16, 24, 40, 0.06), 0 12px 32px rgba(16, 24, 40, 0.1);
}

@media (max-width: 780px) {
  .hero-inner {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .hero-art img {
    width: 96px;
    height: 96px;
  }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.section-lede {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

.cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1.75rem 0 0.75rem;
  max-width: none;
}

.cta-note {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* Sections */

.section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.section-alt {
  background: var(--page-alt);
  border-block: 1px solid var(--line);
}

.two-col {
  display: flex;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}

.prose {
  flex: 1 1 26rem;
}

.chain {
  flex: 1 1 18rem;
  list-style: none;
  counter-reset: chain;
  margin: 0;
  padding: 0;
}

.chain li {
  counter-increment: chain;
  position: relative;
  padding: 0 0 1.15rem 2.75rem;
}

.chain li::before {
  content: counter(chain);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: var(--blue);
  color: var(--page);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.chain li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  top: 1.85rem;
  bottom: 0.2rem;
  width: 2px;
  background: var(--line);
}

.chain-step {
  font-weight: 600;
  line-height: 1.85rem;
}

.trace-cards {
  margin-bottom: 2rem;
}

.fine-print {
  font-size: 0.92rem;
  color: var(--ink-soft);
  max-width: var(--measure);
}

/* Cards */

.cards {
  display: grid;
  gap: 1.25rem;
}

.cards-3 {
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.card p:last-child {
  margin-bottom: 0;
}

.card p {
  color: var(--ink-soft);
  max-width: none;
}

/* Pricing */

.plan {
  padding-top: 1.75rem;
}

.plan-featured {
  border-color: var(--blue);
  border-width: 2px;
  padding-top: 1rem;
}

.plan .plan-flag {
  display: inline-block;
  align-self: flex-start;
  background: var(--blue);
  color: var(--page);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}

.price {
  margin: 0.25rem 0 0.75rem;
}

.amount {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.per {
  color: var(--ink-soft);
  font-size: 1rem;
}

.plan .plan-for {
  font-weight: 600;
  color: var(--ink);
  max-width: none;
}

.plan-points {
  margin: 0 0 1.5rem;
  padding-left: 1.15rem;
  color: var(--ink-soft);
}

.plan-points li {
  margin-bottom: 0.35rem;
}

.annual-note {
  margin: 2rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--green);
  background: var(--card);
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: none;
}

.table-hint {
  display: none;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 0.6rem;
}

@media (max-width: 720px) {
  .table-hint {
    display: block;
  }

  .compare th,
  .compare td {
    padding: 0.7rem 0.75rem;
  }
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 40rem;
}

.compare caption {
  caption-side: bottom;
  text-align: left;
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.compare th,
.compare td {
  padding: 0.8rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.compare thead th {
  font-size: 1.05rem;
  vertical-align: bottom;
  border-bottom: 2px solid var(--line);
}

.th-price {
  display: block;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.compare tbody th {
  font-weight: 600;
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: 0;
}

.compare .yes {
  color: var(--green);
  font-weight: 700;
}

.compare .no {
  color: var(--ink-soft);
}

/* FAQ */

details {
  border-bottom: 1px solid var(--line);
  padding: 0.35rem 0;
}

summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.85rem 0;
  list-style-position: outside;
}

summary:hover {
  color: var(--blue);
}

details p {
  color: var(--ink-soft);
  padding-bottom: 0.5rem;
}

/* Final CTA */

.cta-final {
  text-align: center;
  background: var(--blue-soft);
  border-top: 1px solid var(--line);
}

.cta-final p {
  margin-inline: auto;
}

.cta-final .cta-row {
  justify-content: center;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
  background: var(--page);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.brand-footer {
  margin: 0;
}

.copyright {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  max-width: none;
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 0.75rem;
}
.breadcrumb a {
  color: var(--ink-soft);
}
.breadcrumb span {
  margin: 0 0.35rem;
}

.page-meta {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: -0.5rem 0 2rem;
}

.article {
  max-width: var(--measure);
}
.article h2 {
  font-size: 1.5rem;
  line-height: 1.3;
  margin: 2.5rem 0 0.75rem;
}
.article h3 {
  font-size: 1.15rem;
  margin: 2rem 0 0.5rem;
}
.article > *:first-child {
  margin-top: 0;
}
.article ul,
.article ol {
  padding-left: 1.35rem;
}
.article li + li {
  margin-top: 0.5rem;
}
.article li > p {
  margin: 0;
}
.article blockquote {
  margin: 1.5rem 0;
  padding: 0.25rem 0 0.25rem 1.25rem;
  border-left: 3px solid var(--line);
  color: var(--ink-soft);
}
.article code {
  font-size: 0.9em;
  background: var(--page-alt);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.1em 0.35em;
}
.article .table-scroll {
  margin: 1.5rem 0;
}
.article table {
  width: 100%;
  min-width: 32rem;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.article th,
.article td {
  text-align: left;
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.article thead th {
  background: var(--page-alt);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.article tbody tr:last-child td {
  border-bottom: none;
}

.article-cta {
  margin-top: 3rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--blue-soft);
}
.article-cta h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}
.article-cta p {
  margin: 0 0 1rem;
}
.article-cta .cta-row {
  margin-bottom: 0;
}

.cards .card h2 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}
