:root {
  --ink: #1d2127;
  --muted: #5b6470;
  --paper: #ffffff;
  --form: #f2f4f6;
  --rule: #d5dbe1;
  --crimson: #be123c;
  --crimson-deep: #8f3232;
  --rose: #fdf1f3;

  --display: "IBM Plex Sans Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wordmark: "Space Grotesk", var(--body);

  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2rem);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

a:hover {
  color: var(--crimson-deep);
}

:focus-visible {
  outline: 3px solid var(--crimson);
  outline-offset: 2px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.1rem);
}

h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
}

h3 {
  font-size: 1.3rem;
  font-weight: 600;
}

p {
  margin: 0;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 10;
  background: var(--paper);
  padding: 0.5rem 0.75rem;
}

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

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.25rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--wordmark);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--form);
}

.nav .button {
  margin-left: 0.5rem;
  color: #fff;
}

.nav .button:hover {
  color: #fff;
  background: var(--crimson-deep);
}

.button {
  display: inline-block;
  background: var(--crimson);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 0.75rem 1.2rem;
  border-radius: 8px;
  line-height: 1.2;
}

.button:hover {
  background: var(--crimson-deep);
  color: #fff;
}

.button-quiet {
  display: inline-block;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  padding: 0.75rem 0.2rem;
}

.button-quiet:hover {
  color: var(--crimson);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

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

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero .lede {
  margin: 1.25rem 0 2rem;
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 34rem;
}

.hero .free {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.form {
  position: relative;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  font-size: 0.9rem;
  box-shadow: 10px 10px 0 var(--form);
}

.form-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.75rem;
  border-bottom: 1.5px solid var(--ink);
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.35;
}

.form-head strong {
  font-family: var(--display);
  font-size: 1rem;
  display: block;
}

.form table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.form caption {
  text-align: left;
  padding: 0.4rem 0.75rem;
  background: var(--form);
  border-bottom: 1px solid var(--rule);
  font-weight: 600;
  font-size: 0.78rem;
}

.form th,
.form td {
  padding: 0.32rem 0.5rem;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  font-weight: 400;
}

.form thead th {
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.35;
  white-space: nowrap;
  color: var(--muted);
  text-align: right;
  background: var(--form);
}

.form thead th:first-child,
.form thead th:nth-child(2) {
  text-align: left;
}

.form .no {
  width: 2.2rem;
  font-family: var(--mono);
  font-weight: 500;
  color: var(--muted);
  text-align: right;
  padding-right: 0.25rem;
}

.form .label {
  position: relative;
}

.form .amt {
  width: 6.2rem;
  text-align: right;
  font-family: var(--mono);
  border-left: 1px solid var(--rule);
}

.form tr.total th,
.form tr.total td {
  font-weight: 600;
  border-bottom: 1.5px solid var(--ink);
}

.form tr.result td,
.form tr.result th {
  font-weight: 600;
  background: var(--rose);
  border-bottom: 0;
}

.form .pin {
  display: block;
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--crimson);
  line-height: 1.3;
  margin-top: 0.1rem;
}

.form .pin::before {
  content: "\21B3 ";
}

@media (prefers-reduced-motion: no-preference) {
  .form .fill {
    animation: ink 0.5s ease-out both;
    animation-delay: calc(var(--i, 0) * 90ms + 250ms);
  }

  @keyframes ink {
    from {
      opacity: 0;
      transform: translateY(3px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

.section {
  padding: clamp(3rem, 8vw, 5.5rem) 0;
}

.section-tint {
  background: var(--form);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 0.75rem;
}

.section-intro {
  max-width: 44rem;
  margin-bottom: 2.5rem;
}

.section-intro p {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 1.1rem;
}

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

.steps li {
  counter-increment: step;
  border-top: 3px solid var(--ink);
  padding-top: 1rem;
}

.steps li::before {
  content: "Step " counter(step);
  display: block;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--crimson);
  margin-bottom: 0.5rem;
}

.steps p {
  margin-top: 0.5rem;
  color: var(--muted);
}

.statement {
  margin-top: 0.9rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 0.6rem 0.7rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.section-tint .statement {
  background: var(--paper);
}

.statement b {
  color: var(--crimson);
  font-weight: 500;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 2.5rem;
}

.features p {
  margin-top: 0.5rem;
  color: var(--muted);
}

.features .line {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--crimson);
  margin-bottom: 0.35rem;
}

.detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  padding: 2.5rem 0;
  border-top: 1px solid var(--rule);
}

.detail:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.detail ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.detail li + li {
  margin-top: 0.5rem;
}

.detail li strong {
  color: var(--ink);
}

.price-card {
  border: 1.5px solid var(--ink);
  max-width: 40rem;
  box-shadow: 10px 10px 0 var(--form);
  background: var(--paper);
}

.price-card header {
  padding: 1.75rem 1.75rem 1.25rem;
  border-bottom: 1px solid var(--rule);
}

.price {
  font-family: var(--display);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
}

.price small {
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  margin-left: 0.4rem;
}

.price-card .body {
  padding: 1.5rem 1.75rem 1.75rem;
}

.checks {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  columns: 2 16rem;
  column-gap: 2rem;
}

.checks li {
  break-inside: avoid;
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.45rem;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.45em;
  width: 0.45rem;
  height: 0.8rem;
  border: solid var(--crimson);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.limits {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.limits caption {
  text-align: left;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.limits th,
.limits td {
  text-align: left;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--rule);
  font-weight: 400;
}

.limits td {
  text-align: right;
  font-family: var(--mono);
  font-size: 0.9rem;
}

.faq {
  max-width: 48rem;
}

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

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 2rem 1.1rem 0;
  position: relative;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 0.95rem;
  font-family: var(--mono);
  font-size: 1.3rem;
  color: var(--crimson);
}

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

.faq .answer {
  padding: 0 0 1.25rem;
  color: var(--muted);
}

.faq .answer p + p {
  margin-top: 0.75rem;
}

.closer {
  background: var(--crimson-deep);
  color: #fff;
}

.closer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.closer p {
  color: rgb(255 255 255 / 0.8);
  margin-top: 0.5rem;
}

.closer .button {
  background: #fff;
  color: var(--crimson-deep);
}

.closer .button:hover {
  background: var(--rose);
  color: var(--crimson-deep);
}

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 3rem 0 2rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.footer-grid .brand {
  font-size: 1.15rem;
}

.footer-grid .brand svg {
  width: 1.75rem;
  height: 1.75rem;
}

.footer-tagline {
  margin-top: 0.75rem;
  max-width: 18rem;
}

.footer-title {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.footer-col a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  padding: 0.2rem 0;
}

.footer-col a:hover {
  color: var(--crimson);
}

.footer-col .note {
  margin-top: 0.75rem;
  font-size: 0.85rem;
}

.footer-col .note a {
  display: inline;
  padding: 0;
  text-decoration: underline;
}

.footer-base {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  font-size: 0.82rem;
}

.legal {
  max-width: 46rem;
}

.legal .updated {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.legal .toc {
  background: var(--form);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}

.legal .toc p {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.legal .toc ol {
  margin: 0;
  padding-left: 1.25rem;
  columns: 2 15rem;
  column-gap: 2rem;
}

.legal .toc li {
  padding: 0.15rem 0;
  break-inside: avoid;
}

.legal h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 0.75rem;
  scroll-margin-top: 1rem;
}

.legal h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
}

.legal p,
.legal ul,
.legal table {
  margin: 0 0 1rem;
  color: #3a4048;
}

.legal ul {
  padding-left: 1.25rem;
}

.legal li + li {
  margin-top: 0.4rem;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.legal th,
.legal td {
  text-align: left;
  vertical-align: top;
  padding: 0.6rem 0.75rem 0.6rem 0;
  border-bottom: 1px solid var(--rule);
}

.legal thead th {
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 500;
}

.legal .caps {
  text-transform: uppercase;
  font-size: 0.92rem;
}

.contact-card {
  border: 1.5px solid var(--ink);
  padding: 1.25rem 1.5rem;
  box-shadow: 8px 8px 0 var(--form);
  margin-top: 1rem;
}

.contact-card p {
  margin: 0.25rem 0;
}

.page-head {
  padding: clamp(2.5rem, 7vw, 4.5rem) 0 clamp(1.5rem, 4vw, 2.5rem);
}

.page-head p {
  margin-top: 1rem;
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 42rem;
}

@media (max-width: 900px) {
  .hero .wrap,
  .detail {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps,
  .features {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .features {
    gap: 1.75rem;
  }
}

@media (max-width: 640px) {
  .site-header .wrap {
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    gap: 0.5rem 1rem;
  }

  .nav {
    order: 3;
    flex-basis: 100%;
    margin-left: -0.7rem;
    overflow-x: auto;
  }

  .nav .button {
    display: none;
  }

  .header-cta {
    margin-left: auto;
    padding: 0.55rem 0.8rem;
    font-size: 0.9rem;
  }

  .form {
    font-size: 0.78rem;
    box-shadow: 6px 6px 0 var(--form);
  }

  .form thead th {
    white-space: normal;
    font-size: 0.66rem;
  }

  .form th,
  .form td {
    padding: 0.3rem 0.35rem;
  }

  .form .no {
    width: 1.6rem;
  }

  .form .amt {
    width: auto;
  }

  .form .pin {
    display: none;
  }

  .price {
    font-size: 3.2rem;
  }
}

@media (min-width: 641px) {
  .header-cta {
    display: none;
  }
}
