* { box-sizing: border-box; }

:root {
  --mkt-heading: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mkt-body-font: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mkt-ink: #141414;
  --mkt-body: #4a4a4a;
  --mkt-muted: #6b7280;
  --mkt-faint: #9a9a9a;
  --mkt-border: #e5e5e5;
  --mkt-surface-alt: #f7f7f7;
  --mkt-blue: #2563eb;
  --mkt-blue-dark: #1d4ed8;
  --mkt-blue-light: #eaf2ff;
}

/* "html body" (not bare "body") so this reliably beats typography.css's
   later, equal-specificity `body { font-family: var(--font-ui) }` rule
   without needing !important. */
html body {
  margin: 0;
  font-family: var(--mkt-body-font);
  color: var(--mkt-body);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Nav ---------- */

.hp-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 76px;
  background: #ffffff;
  border-bottom: 1px solid var(--mkt-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  z-index: 100;
}

.hp-logo {
  font-family: var(--mkt-heading);
  font-size: 19px;
  font-weight: 700;
  color: var(--mkt-ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.hp-logo span { color: var(--mkt-blue); }

.hp-nav-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.hp-nav-link {
  font-size: 15px;
  font-weight: 400;
  color: var(--mkt-body);
  text-decoration: none;
}

.hp-nav-link:hover {
  color: var(--mkt-ink);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

/* ---------- Hero ---------- */

.hp-hero {
  padding: 172px 24px 88px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hp-eyebrow {
  font-size: 14px;
  font-weight: 500;
  color: var(--mkt-blue);
  margin-bottom: 18px;
}

.hp-headline {
  font-family: var(--mkt-heading);
  font-size: clamp(38px, 5.2vw, 64px);
  font-weight: 600;
  color: var(--mkt-ink);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
  margin-top: 0;
}

.hp-sub {
  font-size: 19px;
  font-weight: 400;
  color: var(--mkt-body);
  line-height: 1.65;
  max-width: 600px;
  margin: 0 auto 36px;
}

.hp-cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.hp-trust {
  font-size: 14px;
  color: var(--mkt-faint);
  margin-top: 16px;
  text-align: center;
}

.hp-social-proof {
  background: var(--mkt-surface-alt);
  border-top: 1px solid var(--mkt-border);
  border-bottom: 1px solid var(--mkt-border);
  padding: 18px 24px;
  text-align: center;
  font-size: 14px;
  color: var(--mkt-muted);
}

/* ---------- Sections ---------- */

.hp-section {
  padding: 96px 24px;
}

.hp-section-heading {
  font-family: var(--mkt-heading);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 600;
  color: var(--mkt-ink);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  margin-top: 0;
  text-align: center;
}

.hp-section-sub {
  font-size: 17px;
  color: var(--mkt-body);
  text-align: center;
  margin-bottom: 52px;
}

.hp-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}

.hp-feature-card {
  background: #ffffff;
  border: 1px solid var(--mkt-border);
  border-radius: 14px;
  padding: 30px;
}

.hp-feature-icon {
  width: 36px;
  height: 36px;
  background: var(--mkt-blue-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--mkt-blue);
}

.hp-feature-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.75;
}

.hp-feature-title {
  font-family: var(--mkt-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--mkt-ink);
  margin-bottom: 8px;
}

.hp-feature-body {
  font-size: 15px;
  color: var(--mkt-muted);
  line-height: 1.65;
  margin: 0;
}

/* ---------- Steps ---------- */

.hp-steps {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hp-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.hp-step-number {
  width: 34px;
  height: 34px;
  background: var(--mkt-ink);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

.hp-step-title {
  font-family: var(--mkt-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--mkt-ink);
  margin-bottom: 4px;
}

.hp-step-body {
  font-size: 15px;
  color: var(--mkt-muted);
  line-height: 1.65;
  margin: 0;
}

/* ---------- Pricing pills ---------- */

.hp-pricing-pills {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 36px 0;
}

.hp-plan-pill {
  border: 1px solid var(--mkt-border);
  border-radius: 10px;
  padding: 18px 26px;
  text-align: center;
  min-width: 160px;
  background: #ffffff;
}

.hp-plan-pill.featured {
  border-color: var(--mkt-ink);
}

.hp-plan-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--mkt-muted);
  margin-bottom: 6px;
}

.hp-plan-price {
  font-family: var(--mkt-heading);
  font-size: 25px;
  font-weight: 600;
  color: var(--mkt-ink);
  margin-bottom: 4px;
}

.hp-plan-pill.featured .hp-plan-price {
  color: var(--mkt-blue);
}

.hp-plan-desc {
  font-size: 12px;
  color: var(--mkt-faint);
  margin: 0;
}

/* ---------- Dark section ---------- */

.hp-dark {
  background: #141414;
  color: white;
}

.hp-dark .hp-section-heading {
  color: white;
}

.hp-dark .hp-section-sub {
  color: #a3a3a3;
}

.hp-dark .hp-trust {
  color: #a3a3a3;
}

/* ---------- Footer ---------- */

.hp-footer {
  background: #ffffff;
  border-top: 1px solid var(--mkt-border);
  padding: 48px 32px 32px;
}

.hp-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}

.hp-footer-tagline {
  font-size: 14px;
  color: var(--mkt-muted);
  margin: 8px 0 0;
}

.hp-footer-copy {
  font-size: 13px;
  color: var(--mkt-faint);
}

.hp-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}

.hp-footer-links a {
  color: var(--mkt-body);
  text-decoration: none;
  font-size: 14px;
}

.hp-footer-links a:hover {
  color: var(--mkt-ink);
}

/* ---------- Legal pages (privacy / terms) ---------- */

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 148px 24px 88px;
}

.legal-content h1 {
  font-family: var(--mkt-heading);
  font-size: 34px;
  font-weight: 600;
  color: var(--mkt-ink);
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

.legal-updated {
  font-size: 14px;
  color: var(--mkt-faint);
  margin: 0 0 40px;
}

.legal-content h2 {
  font-family: var(--mkt-heading);
  font-size: 19px;
  font-weight: 600;
  color: var(--mkt-ink);
  margin: 36px 0 10px;
}

.legal-content p {
  font-size: 15px;
  color: var(--mkt-body);
  line-height: 1.8;
  margin: 0;
}

.legal-content a {
  color: var(--mkt-blue);
}

.legal-content h3 {
  font-family: var(--mkt-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--mkt-ink);
  margin: 24px 0 8px;
}

.legal-content p {
  margin: 0 0 14px;
}

.legal-content ul {
  margin: 0 0 14px;
  padding-left: 22px;
  color: var(--mkt-body);
  font-size: 15px;
  line-height: 1.8;
}

.legal-content ul ul {
  margin: 4px 0;
}

.legal-content li {
  margin: 0 0 4px;
}

.legal-content .legal-lead {
  color: var(--mkt-muted);
  font-style: italic;
}

.legal-content .legal-table-wrap {
  overflow-x: auto;
  margin: 12px 0 20px;
}

.legal-content table {
  border-collapse: collapse;
  width: 100%;
  min-width: 560px;
  font-size: 14px;
}

.legal-content th,
.legal-content td {
  border: 1px solid var(--mkt-border);
  padding: 8px 12px;
  text-align: left;
  vertical-align: top;
  color: var(--mkt-body);
}

.legal-content th {
  background: var(--mkt-surface-alt);
  color: var(--mkt-ink);
  font-weight: 600;
}

.legal-content td:last-child,
.legal-content th:last-child {
  text-align: center;
  white-space: nowrap;
}

.legal-content address {
  font-style: normal;
  color: var(--mkt-body);
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 14px;
}

@media (max-width: 640px) {
  .hp-nav { padding: 0 16px; }
  .hp-logo { font-size: 16px; white-space: nowrap; }
  .hp-nav-actions { gap: 12px; }
  .hp-nav-link { white-space: nowrap; font-size: 14px; }
  .hp-nav-actions .btn { padding: 9px 14px; font-size: 13px; white-space: nowrap; }
  .hp-hero { padding: 128px 16px 64px; }
  .hp-section { padding: 64px 16px; }
  .hp-cta-row { flex-direction: column; align-items: center; }

  .hp-footer { padding: 40px 20px 24px; }
  .hp-footer-inner { flex-direction: column; gap: 28px; }
  .hp-footer-inner > div:first-child { text-align: center; width: 100%; }
  .hp-footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 20px;
    width: 100%;
    padding-top: 24px;
    border-top: 1px solid var(--mkt-border);
  }
  .hp-footer-links a { font-size: 14px; }
  .hp-footer-copy {
    display: block;
    width: 100%;
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--mkt-border);
  }

  .legal-content { padding: 120px 16px 60px; }
}
