/* Billing Blueprint — service site */

:root {
  --ink: #12151c;
  --muted: #3d4656;
  --line: #e4e8ef;
  --line-strong: #cfd5df;
  --paper: #f5f7fb;
  --white: #ffffff;
  --blue: #1d4ed8;
  --blue-dark: #163eae;
  --teal: #0f766e;
  --navy: #10141c;
  --navy-2: #0c1018;
  --soft: #e8eefc;
  --focus: #1d4ed8;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(16, 20, 28, 0.04), 0 18px 40px rgba(16, 20, 28, 0.06);
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
  background-color: #ffffff;
  overscroll-behavior-y: none;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background-color: #ffffff;
  overscroll-behavior-y: none;
}

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

p,
h1,
h2,
h3,
ul,
ol,
dl,
dd {
  margin: 0;
}

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

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

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

::selection {
  background: #d9e3ff;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 2000;
  background: var(--white);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

main:focus {
  outline: none;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

section[id],
#example {
  scroll-margin-top: 92px;
}

.icon {
  width: 22px;
  height: 22px;
  display: block;
  flex: 0 0 auto;
  color: var(--blue);
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  border: none;
  border-bottom: none;
  box-shadow: none;
  outline: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
  white-space: nowrap;
}

.logo:hover {
  color: var(--ink);
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a:not(.btn) {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a:not(.btn):hover {
  color: var(--blue);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--white);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before,
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  transform: rotate(-45deg);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-dark);
  color: #fff;
}

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-secondary:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: #b7bdc8;
}

.btn-light {
  background: #fff;
  color: var(--ink);
}

.btn-light:hover {
  background: #f3f6fb;
  color: var(--ink);
}

/* Hero */

.hero {
  position: relative;
  padding: 88px 0 28px;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 72px;
  width: min(720px, 100%);
  height: 280px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.12), rgba(34, 197, 94, 0.06) 46%, transparent 72%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  max-width: 64rem;
  margin-inline: auto;
}

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

.hero h1 {
  font-size: clamp(2.15rem, 4.55vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 800;
  margin-inline: auto;
}

.h1-line {
  display: block;
}

.h1-accent {
  color: #1d4ed8;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .h1-accent {
    background-image: linear-gradient(90deg, #1d4ed8 0%, #0f766e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

@media (min-width: 760px) {
  .h1-line:nth-child(2) {
    white-space: nowrap;
  }
}

.lede {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 38rem;
}

.hero .lede {
  margin-inline: auto;
}

.hero-point {
  margin: 22px auto 0;
  max-width: 40rem;
  padding: 14px 18px;
  background: #f4f7ff;
  border: 1px solid #d7e3f8;
  border-radius: 14px;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.45;
}

.hero-point strong {
  display: block;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
}

.hero .service-list {
  justify-content: center;
}

.service-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px 8px 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  box-shadow: 0 1px 0 rgba(16, 20, 28, 0.03);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero .hero-actions {
  justify-content: center;
}

.hero-offer {
  margin: 18px auto 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.hero-offer a {
  font-weight: 700;
}

.proof-wrap {
  padding: 4px 0 12px;
}

.proof {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px 36px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.proof li {
  text-align: center;
  min-width: 10rem;
}

.proof strong {
  display: block;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.proof span {
  color: var(--muted);
  font-size: 0.88rem;
}

/* Trust */

.trust {
  padding: 8px 0 28px;
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.pays {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 28px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
}

.pays .intro {
  margin-top: 10px;
}

.missed h3 {
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

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

.missed li {
  position: relative;
  padding: 10px 0 10px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.missed li:first-child {
  border-top: 0;
  padding-top: 0;
}

.missed li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  position: absolute;
  left: 0;
  top: 1.05rem;
}

.missed li:first-child::before {
  top: 0.45rem;
}

.review-band {
  padding: 0 0 72px;
}

.review {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: var(--navy);
  color: #fff;
  border-radius: 20px;
  padding: 28px 32px;
}

.review h2 {
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  letter-spacing: -0.03em;
}

.review p {
  margin-top: 6px;
  color: #d5dbe6;
}

.review .btn {
  flex: 0 0 auto;
}

.handle-note {
  max-width: 46rem;
}

.no-commit {
  margin-top: 14px;
  font-weight: 700;
}

.trust-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--paper);
  border-radius: 14px;
  padding: 14px;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
}

.trust-list .icon {
  color: var(--teal);
}

/* Sections */

.section {
  padding: 84px 0;
}

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

.section-head {
  margin-bottom: 32px;
  max-width: 40rem;
}

.section h2,
.cta-band h2 {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-wrap: balance;
}

.intro {
  margin-top: 12px;
  color: var(--muted);
  max-width: 40rem;
}

.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px 14px;
  height: 100%;
}

.step-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.step-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--soft);
  margin: 0;
}

.step .icon {
  width: 16px;
  height: 16px;
}

.step-num {
  display: block;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
}

.step h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.step p {
  font-size: 0.92rem;
  line-height: 1.4;
}

.fit-card h3,
.write-note h3 {
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.step p,
.fit-card li,
.faq-item p,
.send-card p {
  color: var(--muted);
}

.send-grid {
  display: grid;
  gap: 12px;
}

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

.send-card,
.fit-card,
.price-card,
.write-note {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.send-card {
  padding: 18px 16px;
}

.send-card h3 {
  font-size: 1rem;
  margin: 12px 0 6px;
}

.fit-grid,
.price-layout,
.contact-layout {
  display: grid;
  gap: 20px;
  align-items: start;
}

.fit-grid,
.price-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
}

.contact-layout {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.fit-card {
  padding: 8px 22px 12px;
}

.fit-card ul {
  padding: 0;
  list-style: none;
}

.fit-card li {
  position: relative;
  padding: 14px 0 14px 22px;
  border-top: 1px solid var(--line);
}

.fit-card li:first-child {
  border-top: 0;
}

.fit-card li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  position: absolute;
  left: 0;
  top: 1.25rem;
}

.callout {
  background: #f3f7ff;
  border: 1px solid #d7e3f8;
  border-radius: var(--radius);
  padding: 24px;
}

.callout h3 {
  margin-bottom: 8px;
}

.callout p + p {
  margin-top: 12px;
}

/* Pricing */

.price-card,
.write-note,
.example {
  padding: 24px;
}

.rate {
  font-size: clamp(3.2rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin: 4px 0 8px;
}

.rate span {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
}

.price-points {
  margin-top: 18px;
  padding: 0;
  list-style: none;
}

.price-points li {
  padding: 11px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.write-note {
  margin-top: 16px;
  background: var(--paper);
}

.example {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.example-flag {
  display: inline-block;
  background: #fff7e8;
  border: 1px solid #f0e0c2;
  color: #6a4e16;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 12px;
}

.example h3 {
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.example-line {
  margin: 10px 0;
  font-weight: 600;
}

.example-math {
  margin-top: 8px;
}

.example-math div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.example-math dt {
  font-weight: 500;
  color: var(--muted);
}

.example-math dd {
  margin: 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.example-math .due {
  margin-top: 12px;
  padding: 14px 16px;
  border: 0;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
}

.example-math .due dt {
  color: #d5dbe6;
}

.example-note {
  margin-top: 14px;
  color: var(--muted);
}

/* FAQ */

.faq-list {
  max-width: 760px;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 16px 0;
  font-weight: 600;
  letter-spacing: -0.02em;
}

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

.faq-item summary::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
  flex: 0 0 auto;
  margin-right: 6px;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 6px;
}

.faq-item p {
  padding: 0 0 18px;
  max-width: 62ch;
}

/* Contact band */

.cta-band {
  background:
    radial-gradient(600px 240px at 90% 0%, rgba(34, 197, 94, 0.18), transparent 60%),
    radial-gradient(520px 220px at 0% 100%, rgba(59, 130, 246, 0.22), transparent 55%),
    var(--navy);
  color: #fff;
  padding: 84px 0;
}

.cta-band .eyebrow {
  color: #8ee0c0;
}

.cta-band h2 {
  font-weight: 700;
}

.cta-band .intro,
.cta-band .person {
  color: #d5dbe6;
}

.contact-email {
  margin-top: 18px;
  font-size: 1.15rem;
}

.contact-email a {
  color: #fff;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.person {
  margin-top: 8px;
}

.form-panel {
  background: #fff;
  color: var(--ink);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.form-help,
.hint {
  color: var(--muted);
  font-size: 0.92rem;
}

.form-help {
  margin-bottom: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

.full {
  grid-column: 1 / -1;
}

label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
}

label .hint {
  font-weight: 400;
}

.req {
  color: var(--blue);
}

input,
textarea,
select {
  width: 100%;
  font: inherit;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 12px 14px;
  min-height: 48px;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.hint {
  margin-top: 6px;
}

.form-actions {
  margin-top: 16px;
}

.form-status {
  margin-top: 14px;
  padding: 12px 14px;
  background: #f3f6fb;
  border-radius: 12px;
}

.form-status.is-success {
  background: #ecfdf5;
  color: #14532d;
}

.form-status.is-error {
  background: #fef2f2;
  color: #7f1d1d;
}

.form-status a {
  font-weight: 700;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Terms */

.prose {
  width: min(740px, calc(100% - 48px));
  margin: 48px auto 88px;
}

.prose h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  font-weight: 800;
}

.prose .updated,
.prose .back-link {
  display: inline-block;
  margin-top: 12px;
}

.prose h2 {
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  margin-top: 2.1rem;
}

.prose p,
.prose li {
  color: var(--muted);
  margin-top: 0.75rem;
}

.prose ul {
  padding-left: 1.2rem;
}

.prose strong {
  color: var(--ink);
  font-weight: 600;
}

/* Footer */

.footer {
  background: var(--navy-2);
  color: #d5dbe6;
  padding: 40px 0;
}

.footer .logo {
  color: #fff;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.footer p {
  max-width: 36rem;
  margin-top: 12px;
}

.footer a {
  color: #fff;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.footer-meta a {
  font-weight: 600;
}

@media (max-width: 980px) {
  .steps,
  .send-grid,
  .trust-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .site-nav {
    flex-basis: 100%;
    flex-wrap: wrap;
    gap: 12px 16px;
    padding-bottom: 14px;
  }

  .js .nav-toggle {
    display: inline-flex;
  }

  .js .header-inner {
    flex-wrap: nowrap;
  }

  .js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-basis: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 8px 20px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(20, 24, 36, 0.06);
  }

  .js .site-nav.is-open {
    display: flex;
  }

  .js .site-nav a:not(.btn) {
    padding: 10px 0;
  }

  .js .site-nav .btn {
    width: 100%;
    margin-top: 6px;
  }

  .hero {
    padding-top: 48px;
  }

  .price-layout,
  .fit-grid,
  .contact-layout,
  .form-grid,
  .send-grid,
  .trust-list,
  .pays {
    grid-template-columns: 1fr;
  }

  .review {
    flex-direction: column;
    align-items: stretch;
  }

  .review .btn {
    width: 100%;
  }

  .full {
    grid-column: auto;
  }

  .footer-meta {
    align-items: flex-start;
  }

  .section,
  .cta-band {
    padding: 60px 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--max), calc(100% - 32px));
  }

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

  .hero-actions .btn,
  .form-actions .btn {
    width: 100%;
  }

  .example-math div,
  .example-math .due {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .logo {
    font-size: 1rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
