:root {
  --ink: #0d253d;
  --slate: #61718a;
  --paper: #ffffff;
  --mist: #f6f9fc;
  --line: #e3e8ee;
  --indigo: #4434d4;
  --max: 1040px;
  --gutter: 24px;
  --pad-x: max(var(--gutter), calc((100% - var(--max)) / 2));
  --measure: 65ch;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

main {
  flex: 1;
}

a {
  color: var(--indigo);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: text-decoration-thickness 120ms, color 120ms;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 8px;
  z-index: 1;
  padding: 12px 20px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 32px;
  padding: 12px var(--pad-x);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
}

.site-nav ul,
.footer-links,
.links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.4em;
}

.site-nav a:hover {
  text-decoration: underline;
}

.site-nav a[aria-current="page"] {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--indigo);
}

main > * {
  padding-inline: var(--pad-x);
}

main > section {
  padding-block: 28px;
}

main > section > :last-child {
  margin-bottom: 0;
}

main > :last-child {
  padding-bottom: 64px;
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  text-wrap: balance;
}

h1 {
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 1.625rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h3 {
  margin-top: 32px;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
}

p,
ul {
  max-width: var(--measure);
  margin: 0 0 16px;
}

ul {
  padding-left: 1.25em;
}

.links {
  padding: 0;
}

.links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.lead {
  font-size: 1.1875rem;
  line-height: 1.55;
}

.page-head {
  padding-block: 48px 8px;
}

.hero {
  padding-block: 64px 40px;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.12;
}

.hero .lead {
  max-width: 52ch;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  max-width: none;
  margin-bottom: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 20px;
  border-radius: 6px;
  background: var(--indigo);
  color: var(--paper);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 120ms;
}

.button:hover,
.button:active {
  background: var(--ink);
  color: var(--paper);
}

.button-secondary {
  padding-inline: 0;
  background: transparent;
  color: var(--indigo);
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.button-secondary:hover,
.button-secondary:active {
  background: transparent;
  color: var(--indigo);
  text-decoration-thickness: 2px;
}

.status,
.notice {
  max-width: var(--measure);
  border: 1px solid var(--line);
  background: var(--mist);
  color: var(--slate);
  font-size: 0.875rem;
  line-height: 1.5;
}

.status {
  padding: 8px 12px;
  border-radius: 6px;
}

.notice {
  padding: 16px 20px;
  border-radius: 12px;
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.panel {
  margin: 16px var(--pad-x);
  padding: 40px 32px 24px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper);
}

main > .panel {
  padding-inline: 32px;
}

.panel h2 {
  margin-bottom: 24px;
}

.panel p {
  margin: 0;
  padding: 16px 0 24px;
  border-top: 1px solid rgb(255 255 255 / 0.2);
}

.panel strong {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
}

.band {
  margin-top: 32px;
  padding-block: 64px;
  background: var(--mist);
}

.legal h2 {
  margin-bottom: 8px;
}

.table-wrap {
  margin-bottom: 8px;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-variant-numeric: tabular-nums;
}

.pricing-table caption {
  padding-bottom: 8px;
  color: var(--slate);
  font-size: 0.875rem;
  text-align: left;
}

.pricing-table th,
.pricing-table td {
  padding: 12px 12px 12px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.5;
}

.pricing-table thead th {
  border-bottom-color: var(--ink);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
}

.pricing-table tbody th {
  font-weight: 600;
  white-space: nowrap;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0 32px;
  padding: 32px var(--pad-x);
  border-top: 1px solid var(--line);
  color: var(--slate);
  font-size: 0.875rem;
  line-height: 1.5;
}

.site-footer p {
  margin: 0 0 8px;
  max-width: 60ch;
}

.footer-links {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  gap: 0 24px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

@media (max-width: 720px) {
  :root {
    --gutter: 16px;
  }

  .site-nav {
    width: 100%;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.375rem;
  }

  .lead {
    font-size: 1.125rem;
  }

  .hero {
    padding-block: 40px 24px;
  }

  .hero h1 {
    font-size: 1.75rem;
    line-height: 1.12;
  }

  .page-head {
    padding-block: 32px 8px;
  }

  main > section {
    padding-block: 20px;
  }

  .pricing-table tbody th {
    white-space: normal;
  }

  main > :last-child {
    padding-bottom: 40px;
  }

  .actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .panel {
    padding: 32px 20px 16px;
  }

  main > .panel {
    padding-inline: 20px;
  }

  .band {
    padding-block: 40px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-column: 1;
    grid-row: auto;
  }

  .pricing-table,
  .pricing-table tbody,
  .pricing-table tr,
  .pricing-table th,
  .pricing-table td,
  .pricing-table caption {
    display: block;
  }

  .pricing-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .pricing-table tr {
    margin-bottom: 16px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
  }

  .pricing-table tbody th {
    padding: 0 0 8px;
    border: 0;
    font-size: 1.125rem;
  }

  .pricing-table td {
    display: grid;
    grid-template-columns: 9rem 1fr;
    gap: 0 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
  }

  .pricing-table td:last-child {
    grid-template-columns: 1fr;
    border-bottom: 0;
  }

  .pricing-table td::before {
    content: attr(data-label);
    content: attr(data-label) / "";
    color: var(--slate);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
