:root {
  color-scheme: light;
  --ink: #101828;
  --muted: #667085;
  --line: #e5e7eb;
  --paper: #ffffff;
  --soft: #f5f5f7;
  --accent: #0071e3;
  --accent-dark: #005bb5;
  --green: #0e7c66;
  --amber: #ff9f0a;
  --navy: #111827;
  --shadow: 0 34px 90px rgba(16, 24, 40, 0.13);
  --soft-shadow: 0 18px 50px rgba(16, 24, 40, 0.075);
  --hairline: rgba(255, 255, 255, 0.72);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f8f8fa;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::selection {
  color: #ffffff;
  background: var(--accent);
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 5vw;
  border-bottom: 1px solid rgba(229, 231, 235, 0.76);
  background: rgba(251, 251, 253, 0.72);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.64) inset;
  backdrop-filter: saturate(180%) blur(28px);
}

.brand {
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0;
  font-size: 15px;
}

nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

nav a {
  transition: color 160ms ease;
}

nav a:hover {
  color: var(--ink);
}

.nav-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 700;
  font-size: 14px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.nav-cta,
.primary-button {
  color: #ffffff;
  background: linear-gradient(180deg, #1688ff 0%, #0071e3 100%);
  box-shadow:
    0 12px 26px rgba(0, 113, 227, 0.23),
    0 1px 0 rgba(255, 255, 255, 0.25) inset;
}

.secondary-button {
  color: var(--ink);
  border: 1px solid rgba(16, 24, 40, 0.11);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.nav-cta:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.8fr);
  gap: 72px;
  align-items: center;
  min-height: calc(100vh - 56px);
  padding: 92px 5vw 78px;
  background:
    linear-gradient(115deg, rgba(0, 113, 227, 0.1) 0%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(245deg, rgba(14, 124, 102, 0.06) 0%, rgba(255, 255, 255, 0) 36%),
    linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 100%);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 24, 40, 0.12), transparent);
  content: "";
}

.hero-copy {
  max-width: 760px;
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 18px;
  border: 1px solid rgba(0, 113, 227, 0.16);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.82) inset;
  letter-spacing: 0;
  text-transform: uppercase;
  max-width: 100%;
  flex-wrap: wrap;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 26px;
  max-width: 860px;
  font-size: clamp(54px, 8vw, 104px);
  line-height: 0.94;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
  letter-spacing: 0;
}

.lead {
  max-width: 700px;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 16px;
}

.small-note {
  max-width: 620px;
  color: var(--muted);
  font-size: 13px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 560px;
  margin-top: 28px;
}

.hero-metrics div {
  border: 1px solid rgba(229, 231, 235, 0.86);
  border-radius: 8px;
  padding: 14px 15px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.84) inset;
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  margin-bottom: 4px;
  font-size: 23px;
  line-height: 1;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.document-preview {
  position: relative;
  min-width: 0;
  min-height: 520px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 24px 30px 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.72)),
    rgba(255, 255, 255, 0.82);
  box-shadow:
    var(--shadow),
    0 1px 0 rgba(255, 255, 255, 0.86) inset;
  backdrop-filter: blur(22px);
}

.document-preview::before {
  position: absolute;
  inset: 12px;
  z-index: -1;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.45);
  filter: blur(10px);
  content: "";
}

.window-controls {
  display: flex;
  gap: 7px;
  margin-bottom: 22px;
}

.window-controls span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ff5f57;
}

.window-controls span:nth-child(2) {
  background: #ffbd2e;
}

.window-controls span:nth-child(3) {
  background: #28c840;
}

.doc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  color: var(--ink);
  font-weight: 800;
}

.doc-header em {
  margin-left: auto;
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--green);
  background: rgba(14, 124, 102, 0.1);
  font-size: 11px;
  font-style: normal;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--amber);
}

.doc-line {
  height: 10px;
  margin-bottom: 11px;
  border-radius: 999px;
  background: #e7e9ee;
}

.doc-line.wide {
  width: 92%;
}

.doc-line.medium {
  width: 68%;
}

.timeline {
  display: grid;
  gap: 14px;
  margin: 34px 0 24px;
}

.timeline div {
  position: relative;
  border-left: 3px solid rgba(14, 124, 102, 0.78);
  padding: 4px 0 4px 18px;
}

.timeline div::before {
  position: absolute;
  top: 3px;
  left: -7px;
  width: 11px;
  height: 11px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: var(--green);
  content: "";
}

.timeline strong,
.timeline span {
  display: block;
}

.timeline span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.evidence-grid span {
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(245, 245, 247, 0.86);
  font-size: 14px;
  font-weight: 700;
}

.doc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  border: 1px solid rgba(14, 124, 102, 0.16);
  border-radius: 8px;
  padding: 14px;
  background: rgba(237, 248, 245, 0.88);
}

.doc-footer span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.doc-footer strong {
  color: var(--green);
  font-size: 18px;
}

.band,
.section,
.intake,
footer {
  padding: 86px 5vw;
}

.warning {
  background:
    linear-gradient(135deg, rgba(0, 113, 227, 0.24), transparent 46%),
    #111827;
  color: #ffffff;
}

.warning div {
  max-width: 980px;
}

.warning p {
  max-width: 900px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.65;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.feature-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.feature-grid article,
.price-card {
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 8px;
  padding: 28px;
  background:
    linear-gradient(180deg, #ffffff, #fbfbfd);
  box-shadow:
    var(--soft-shadow),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-grid article:hover,
.price-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 64px rgba(16, 24, 40, 0.11);
}

.feature-icon,
.plan-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 999px;
  color: var(--accent);
  background: rgba(0, 113, 227, 0.08);
  font-size: 12px;
  font-weight: 800;
}

.feature-icon {
  width: 38px;
  height: 38px;
}

.plan-label {
  min-height: 28px;
  padding: 0 11px;
}

.feature-grid p,
.price-card p,
.check-list,
.faq p,
.intake p,
footer p {
  color: var(--muted);
  line-height: 1.62;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: 48px;
  align-items: start;
  background:
    linear-gradient(180deg, #ffffff, #fbfbfd);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  border-bottom: 1px solid var(--line);
  padding: 0 0 14px 28px;
  position: relative;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--green);
  content: "✓";
  font-size: 12px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}

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

.price {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 52px;
  font-weight: 850;
  line-height: 1;
}

.featured {
  border-color: var(--accent);
  background:
    linear-gradient(180deg, #ffffff, #f7fbff);
  box-shadow:
    0 30px 80px rgba(0, 113, 227, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.86) inset;
  transform: translateY(-4px);
}

.intake {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background:
    linear-gradient(135deg, rgba(0, 113, 227, 0.12), transparent 52%),
    #f5f5f7;
}

.intake div {
  max-width: 720px;
}

code {
  border-radius: 6px;
  padding: 2px 6px;
  background: rgba(0, 113, 227, 0.08);
}

.faq {
  background: #ffffff;
}

details {
  max-width: 880px;
  border-top: 1px solid rgba(229, 231, 235, 0.86);
  padding: 20px 0;
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

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

summary::after {
  float: right;
  color: var(--muted);
  content: "+";
  font-size: 20px;
  line-height: 1;
}

details[open] summary::after {
  content: "−";
}

details p {
  margin: 12px 0 0;
}

footer {
  border-top: 1px solid var(--line);
  background: #f5f5f7;
}

footer p {
  max-width: 900px;
  margin-bottom: 0;
  font-size: 14px;
}

.legal-page {
  min-height: calc(100vh - 68px);
}

.legal-page h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(38px, 6vw, 68px);
}

.legal-copy {
  max-width: 880px;
}

.legal-copy h2 {
  margin-top: 32px;
  font-size: 24px;
  line-height: 1.2;
}

.legal-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.social-proof {
  background: linear-gradient(180deg, #ffffff, #fbfbfd);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.testimonial-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.04);
}

.testimonial-card .stars {
  margin-bottom: 12px;
  color: var(--amber);
  font-size: 16px;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  margin: 0 0 16px;
  padding: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  font-style: normal;
}

.testimonial-card .attribution {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.testimonial-card .attribution strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 14px;
}

.metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 56px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.04);
}

.metrics-bar > div {
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.metrics-bar > div:last-child {
  border-right: none;
}

.metrics-bar strong {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 36px;
  font-weight: 850;
  line-height: 1;
}

.metrics-bar span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.how-it-works {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.how-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px 28px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.04);
  position: relative;
}

.how-card .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--accent);
  font-size: 18px;
  font-weight: 800;
}

.how-card h3 {
  margin-bottom: 8px;
}

.how-card p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.price-features {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.price-features li {
  padding: 6px 0 6px 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  position: relative;
}

.price-features li::before {
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--green);
  content: "✓";
  font-size: 9px;
  font-weight: 800;
  line-height: 14px;
  text-align: center;
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 32px;
}

.before-after > div {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.04);
}

.before-after .label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 800;
}

.before-after .label.bad {
  color: #b91c1c;
  background: rgba(185, 28, 28, 0.08);
}

.before-after .label.good {
  color: var(--green);
  background: rgba(14, 124, 102, 0.08);
}

.before-after h4 {
  margin: 0 0 12px;
  font-size: 18px;
}

.before-after p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.cta-band {
  background:
    linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #ffffff;
  text-align: center;
}

.cta-band .eyebrow {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.cta-band h2 {
  color: #ffffff;
}

.cta-band p {
  max-width: 680px;
  margin: 12px auto 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.6;
}

.cta-band .primary-button {
  background: #ffffff;
  color: var(--accent);
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.15),
    0 1px 0 rgba(255, 255, 255, 0.25) inset;
}

.cta-band .primary-button:hover {
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.2),
    0 1px 0 rgba(255, 255, 255, 0.25) inset;
}

.price-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,113,227,0.15);
}

.cta-band .small-note {
  color: rgba(255, 255, 255, 0.65);
}

.pain-points {
  max-width: 680px;
  margin: 0 auto 40px;
}

.pain-points p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 14px;
}

.pain-points p::before {
  content: "✗  ";
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 920px) {
  nav,
  .nav-cta {
    display: none;
  }

  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 64px;
  }

  .document-preview {
    min-height: 420px;
  }

  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .intake {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .featured {
    transform: none;
  }

  .testimonial-grid,
  .how-it-works {
    grid-template-columns: 1fr;
  }

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

  .metrics-bar > div:nth-child(2) {
    border-right: none;
  }

  .before-after {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .topbar {
    min-height: 60px;
  }

  .hero,
  .band,
  .section,
  .intake,
  footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-copy,
  .document-preview,
  .hero-metrics,
  .lead,
  .small-note {
    width: min(100%, 350px);
    max-width: 350px;
  }

  h1 {
    max-width: 100%;
    font-size: 42px;
    line-height: 1.04;
  }

  .lead {
    font-size: 18px;
  }

  .document-preview {
    padding: 20px;
  }

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

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

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .metrics-bar {
    grid-template-columns: 1fr;
  }

  .metrics-bar > div {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .metrics-bar > div:last-child {
    border-bottom: none;
  }
}
