/* Next Step Kit — calm, quiet landing */

:root {
  --bg: #f7f5f1;
  --surface: #fffefb;
  --ink: #1c1b19;
  --muted: #5a574f;
  --line: #d9d4c8;
  --accent: #2f4a3c;
  --accent-hover: #243a30;
  --soon-bg: #eee9df;
  --soon-ink: #4a453c;
  --focus: #1a5f7a;
  --max: 40rem;
  --space: 1.25rem;
  --radius: 0.4rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--space);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: var(--space);
  top: var(--space);
}

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}

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

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

/* Header */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding-block: 0.85rem;
}

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

.brand {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand a {
  color: var(--ink);
  text-decoration: none;
}

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

.site-header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 0.875rem;
}

.site-header nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-header nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* Sections */

.hero {
  padding-block: 3rem 2.5rem;
}

.section {
  padding-block: 2rem;
  border-top: 1px solid var(--line);
}

.final-cta {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 2.75rem;
}

h1,
h2,
h3 {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 650;
  line-height: 1.25;
  color: var(--ink);
}

h1 {
  font-size: clamp(1.65rem, 4.5vw, 2.15rem);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.35rem;
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.1rem;
  margin: 0 0 0.75rem;
}

.lede {
  font-size: 1.2rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.45rem;
}

li:last-child {
  margin-bottom: 0;
}

/* CTA */

.button {
  display: inline-block;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  background: var(--accent);
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
}

.button:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.cta-block {
  margin: 0 0 0.75rem;
}

.cta-note {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 36rem;
}

.secondary-link {
  margin-top: 1.25rem;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 0.9rem;
}

.badge {
  display: inline-block;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  vertical-align: middle;
  padding: 0.15rem 0.45rem;
  border-radius: 0.25rem;
  background: var(--soon-bg);
  color: var(--soon-ink);
  border: 1px solid var(--line);
}

.price {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Cards */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  margin-bottom: 1rem;
}

.card:last-child {
  margin-bottom: 0;
}

.card-soon {
  background: #f3f0e8;
}

/* Table */

.table-wrap {
  overflow-x: auto;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 0.95rem;
}

th,
td {
  text-align: left;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  font-weight: 600;
  background: #f0ece3;
  color: var(--ink);
}

tr:last-child td {
  border-bottom: none;
}

/* FAQ */

.faq {
  margin: 0;
}

.faq dt {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 650;
  margin-top: 1.25rem;
}

.faq dt:first-child {
  margin-top: 0;
}

.faq dd {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

/* Footer */

.site-footer {
  padding-block: 2rem 2.5rem;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 0.875rem;
  color: var(--muted);
}

.site-footer p {
  margin-bottom: 0.65rem;
}

.site-footer .domain {
  color: var(--ink);
}

.privacy {
  margin-top: 1rem;
  max-width: 36rem;
  line-height: 1.55;
}

@media (max-width: 40rem) {
  body {
    font-size: 1.05rem;
  }

  .hero {
    padding-block: 2.25rem 2rem;
  }

  .button {
    width: 100%;
    text-align: center;
  }
}

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

/* Legal stubs (privacy / terms) */

.legal h1 {
  font-size: clamp(1.65rem, 4vw, 2rem);
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

.legal h2 {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 1.05rem;
  font-weight: 650;
  margin: 1.75rem 0 0.5rem;
}

.legal-meta {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.legal-back {
  margin-top: 2rem;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 0.95rem;
}

.footer-links {
  margin-top: 0.35rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

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