:root {
  color-scheme: light;
  --ink: #10162f;
  --muted: #59627b;
  --brand: #625bff;
  --brand-dark: #4139e6;
  --brand-soft: #efedff;
  --green: #078c67;
  --green-soft: #e8f8f2;
  --amber: #a25e00;
  --amber-soft: #fff4df;
  --line: #dfe3ef;
  --surface: #ffffff;
  --canvas: #f6f7fb;
  --shadow: 0 18px 52px rgb(21 27 53 / 9%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-size: 17px;
  line-height: 1.65;
}

a {
  color: var(--brand-dark);
  text-decoration-thickness: .1em;
  text-underline-offset: .18em;
}

a:hover { color: var(--brand); }

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(246 247 251 / 92%);
  border-bottom: 1px solid rgb(223 227 239 / 80%);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  text-decoration: none;
}

.wordmark-image {
  width: 190px;
  height: auto;
}

.doc-wordmark {
  width: 222px;
  height: auto;
  margin-bottom: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  font-size: .95rem;
}

.nav-links a {
  color: var(--muted);
  font-weight: 650;
  text-decoration: none;
}

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

.hero {
  padding: 96px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 58px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin-top: 0;
  line-height: 1.12;
  letter-spacing: -.035em;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.75rem, 7vw, 5.15rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.22rem;
}

.hero-card,
.card,
.policy,
.screenshot-frame {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-card { padding: 30px; }

.status-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.status-row:last-child { border-bottom: 0; }

.status-dot {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--green);
  background: var(--green-soft);
  font-weight: 850;
}

.status-row strong { display: block; }
.status-row span { color: var(--muted); font-size: .96rem; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--brand);
  border-radius: 11px;
  background: var(--brand);
  color: white;
  font-weight: 800;
  text-decoration: none;
}

.button:hover {
  background: var(--brand-dark);
  color: white;
}

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

.section { padding: 76px 0; }
.section.alt { background: white; border-block: 1px solid var(--line); }

.section-intro {
  max-width: 760px;
  margin-bottom: 34px;
  color: var(--muted);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card { padding: 28px; }
.card p { margin-bottom: 0; color: var(--muted); }

.icon {
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 1.25rem;
  font-weight: 900;
}

.screenshot-frame {
  padding: 12px;
  overflow: hidden;
}

.screenshot-frame img {
  width: 100%;
  border-radius: 16px;
}

.trust-band {
  padding: 28px 0;
  background: var(--ink);
  color: white;
}

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

.trust-grid strong { display: block; font-size: 1.05rem; }
.trust-grid span { color: #cbd0e0; font-size: .94rem; }

.page-hero {
  padding: 72px 0 36px;
}

.page-hero h1 {
  font-size: clamp(2.55rem, 6vw, 4.25rem);
}

.policy {
  margin: 0 auto 72px;
  padding: clamp(26px, 5vw, 58px);
}

.policy h2 {
  margin-top: 40px;
  font-size: 1.7rem;
}

.policy h2:first-child { margin-top: 0; }
.policy p, .policy li { color: #404963; }
.policy li + li { margin-top: 8px; }

.notice {
  padding: 18px 20px;
  border: 1px solid #f0d6a6;
  border-radius: 14px;
  background: var(--amber-soft);
  color: #744400;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 30px;
  border-radius: 20px;
  background: var(--brand-soft);
}

.contact-card p { margin: 0; color: #49447e; }

.steps {
  counter-reset: readycheck-step;
  display: grid;
  gap: 18px;
  padding: 0;
  list-style: none;
}

.steps li {
  position: relative;
  padding: 24px 24px 24px 78px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}

.steps li::before {
  counter-increment: readycheck-step;
  content: counter(readycheck-step);
  position: absolute;
  top: 22px;
  left: 22px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 850;
}

.steps h3 { margin-bottom: 5px; }
.steps p { margin: 0; color: var(--muted); }

.site-footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .94rem;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a { color: var(--muted); }

.doc-shell {
  min-height: 100vh;
  padding: 42px 0 70px;
}

.doc-header {
  margin-bottom: 34px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}



.doc-header h1 {
  margin-bottom: 12px;
  font-size: clamp(2.25rem, 6vw, 4rem);
}

.doc-header p { max-width: 800px; color: var(--muted); }

.doc-section {
  margin-top: 54px;
}

.doc-section h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }

.small { font-size: .92rem; color: var(--muted); }

@media (max-width: 850px) {
  .hero-grid, .grid-3, .trust-grid {
    grid-template-columns: 1fr;
  }

  .hero { padding-top: 66px; }
  .nav { align-items: flex-start; padding-block: 18px; }
  .nav-links { justify-content: flex-end; gap: 14px; }
  .contact-card { grid-template-columns: 1fr; }
}

@media (max-width: 570px) {
  .container { width: min(100% - 28px, 1120px); }

  .wordmark-image { width: 166px; }
  .doc-wordmark { width: 190px; }
  .nav { display: block; }
  .nav-links { margin-top: 12px; justify-content: flex-start; }
  .hero-card, .card, .policy { border-radius: 18px; }
  .footer-grid { display: block; }
  .footer-links { margin-top: 18px; }
}

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

/* ReadyCheck flow: responsive cards with contained text. */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 42px;
  margin-top: 28px;
}

.flow-card {
  position: relative;
  min-width: 0;
  padding: 24px;
  border: 2px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.flow-card:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -34px;
  color: var(--brand);
  font-size: 2.25rem;
  font-weight: 850;
  line-height: 1;
  transform: translateY(-50%);
}

.flow-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 999px;
  font-weight: 850;
}

.flow-number-purple {
  color: var(--brand-dark);
  background: var(--brand-soft);
}

.flow-number-green {
  color: var(--green);
  background: var(--green-soft);
}

.flow-number-amber {
  color: var(--amber);
  background: var(--amber-soft);
}

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

.flow-card p {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .flow-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .flow-card:not(:last-child)::after {
    content: "↓";
    top: auto;
    right: 50%;
    bottom: -30px;
    transform: translateX(50%);
  }
}
