:root {
  --bg: #f3f4f6;
  --bg-alt: #e5e7eb;
  --card-bg: #ffffff;

  --accent: #2563eb;
  --accent-strong: #1d4ed8;
  --accent-soft: rgba(37,99,235,0.08);

  --text-main: #0f172a;
  --text-muted: #4b5563; /* darker for better contrast */

  --border-subtle: #e5e7eb;
  --border-strong: #d1d5db;

  --danger: #b91c1c;
  --danger-soft: #fee2e2;
  --success: #15803d;
  --success-soft: #dcfce7;

  --max-width: 1120px;
  --radius-lg: 18px;
  --radius-md: 12px;

  --shadow-soft: 0 18px 40px rgba(15,23,42,0.08);
  --shadow-subtle: 0 12px 28px rgba(15,23,42,0.06);

  --transition-fast: 0.18s ease-out;
}

/* RESET-ish */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, #e0f2fe 0, transparent 55%),
    radial-gradient(circle at top right, #e5e7eb 0, #f9fafb 50%);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER / NAV */

header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(249,250,251,0.96);
  border-bottom: 1px solid rgba(209,213,219,0.9);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0%, #eff6ff, #60a5fa 40%, #1d4ed8 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 1px rgba(148,163,184,0.45),
    0 10px 20px rgba(15,23,42,0.35);
  position: relative;
  overflow: hidden;
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 35% 18%;
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
  box-shadow: inset 0 0 0 1px rgba(191,219,254,0.9);
}

.logo-mark-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #eff6ff;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 10px rgba(59,130,246,0.95);
}

.logo-text-main {
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.86rem;
  color: #111827;
}

.logo-text-sub {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--text-muted);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #60a5fa, #2563eb);
  transition: width var(--transition-fast);
}

.nav-links a:hover {
  color: #111827;
}

.nav-links a:hover::after {
  width: 100%;
}

/* HIGH-CONTRAST TOP-RIGHT CTA */

.nav-cta {
  padding: 0.55rem 1.2rem;           /* a bit tighter than main CTA */
  font-size: 0.9rem;
  color: #ffffff !important;         /* ensure white text overrides nav link color */
  box-shadow: 0 10px 24px rgba(37,99,235,0.45);
}

.nav-cta span.icon {
  font-size: 1.05rem;
}

.nav-cta:hover {
  box-shadow: 0 14px 32px rgba(37,99,235,0.55);
}

/* LAYOUT & SECTIONS */

main {
  flex: 1;
}

.section {
  padding: 3.5rem 1.25rem;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* HERO */

.hero {
  padding-top: 3rem;
  padding-bottom: 3.25rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(0,1.1fr);
  gap: 3rem;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.6rem 0.25rem 0.25rem;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid rgba(191,219,254,0.9);
  color: #1f2937;
  font-size: 0.76rem;
  margin-bottom: 1rem;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(59,130,246,0.08);
  color: #2563eb;
  font-size: 0.9rem;
}

.hero-title {
  font-size: clamp(2.3rem, 4vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
  color: #020617;
}

.hero-title span.accent {
  background: linear-gradient(to right, #2563eb, #0ea5e9);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  color: #374151; /* darker than before for readability */
  max-width: 34rem;
  font-size: 0.98rem;
  margin-bottom: 1.9rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 1.7rem;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.3rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition-fast),
              transform var(--transition-fast),
              box-shadow var(--transition-fast),
              border-color var(--transition-fast),
              color var(--transition-fast);
}

.btn span.icon {
  font-size: 1.05rem;
}

.btn-primary {
  background-color: #2563eb;
  background-image: linear-gradient(135deg, #60a5fa, #2563eb);
  color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 18px 40px rgba(37,99,235,0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 50px rgba(37,99,235,0.55);
  background-image: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.btn-secondary {
  background: #ffffff;
  color: #111827;
  border-color: #d1d5db;
}

.btn-secondary:hover {
  border-color: #60a5fa;
  background: #f9fafb;
}

/* HERO META & CARD */

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-meta-item strong {
  color: #111827;
  font-weight: 600;
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.1rem;
}

.hero-card {
  background: radial-gradient(circle at top, rgba(59,130,246,0.13), #ffffff 40%);
  border-radius: 24px;
  padding: 1.4rem;
  border: 1px solid rgba(191,219,254,0.9);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  opacity: 0.28;
  background: radial-gradient(circle at 20% -10%, rgba(59,130,246,0.28), transparent 45%);
  pointer-events: none;
}

.hero-card-inner {
  position: relative;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
}

.hero-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
}

.hero-card-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.hero-score {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  font-weight: 600;
}

.hero-score-main {
  font-size: 1.6rem;
  color: #16a34a;
}

.hero-score-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}

.metric {
  padding: 0.75rem;
  border-radius: 14px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.metric-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.2rem;
}

.metric-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
}

.metric-pill-good,
.metric-pill-bad {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  margin-top: 0.25rem;
}

.metric-pill-good {
  background: var(--success-soft);
  border: 1px solid rgba(34,197,94,0.6);
  color: var(--success);
}

.metric-pill-bad {
  background: var(--danger-soft);
  border: 1px solid rgba(248,113,113,0.7);
  color: var(--danger);
}

.hero-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-card-footer strong {
  color: var(--accent-strong);
  font-weight: 600;
}

.hero-card-badge {
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  border: 1px dashed #cbd5f5;
  font-size: 0.72rem;
  color: #1f2937;
  background: #eff6ff;
}

/* SECTION TITLES */

.section-title-block {
  max-width: 640px;
  margin-bottom: 2.25rem;
}

.eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
  color: #111827;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* HOW IT WORKS */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1.5rem;
}

.step {
  background: #ffffff;
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
  position: relative;
  overflow: hidden;
}

.step::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(37,99,235,0.12), transparent 55%);
  opacity: 0.6;
  pointer-events: none;
}

.step-inner {
  position: relative;
}

.step-number {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  color: var(--accent-strong);
  margin-bottom: 0.55rem;
  background: #f1f5f9;
}

.step-title {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: #111827;
}

.step-text {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* PACKAGES */

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.5rem;
}

.package {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 1.4rem 1.35rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.package::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at top, rgba(59,130,246,0.18), transparent 55%);
  opacity: 0.7;
  pointer-events: none;
}

.package-inner {
  position: relative;
}

.package-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 0.1rem;
}

.package-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: #111827;
}

.package-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.package-price {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #111827;
}

.package-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.package ul {
  list-style: none;
  margin: 0 0 0.9rem;
  padding: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.package li {
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
  margin-bottom: 0.3rem;
}

.package li span.bullet {
  font-size: 0.9rem;
  color: var(--accent-strong);
  margin-top: 0.05rem;
}

.package-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.package-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition-fast),
              border-color var(--transition-fast),
              transform var(--transition-fast),
              color var(--transition-fast);
  color: #111827;
}

.package-cta:hover {
  border-color: var(--accent-strong);
  background: #eff6ff;
  transform: translateY(-1px);
}

.package-tag {
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  border: 1px dashed rgba(148,163,184,0.6);
  font-size: 0.72rem;
  background: #f9fafb;
}

.package-highlight {
  border-color: rgba(52,211,153,0.9);
  box-shadow: 0 22px 55px rgba(5,46,22,0.08);
}

/* AUDIT SECTION */

.audit-layout {
  display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(0,1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.audit-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.audit-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.audit-badge {
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  background: #f9fafb;
}

.audit-badge.accent {
  border-color: var(--accent-strong);
  color: var(--accent-strong);
  background: var(--accent-soft);
}

/* FORM */

form {
  display: grid;
  gap: 0.75rem;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

input[type="text"],
input[type="email"],
input[type="url"],
select,
textarea {
  background: #f9fafb;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  padding: 0.55rem 0.7rem;
  color: var(--text-main);
  font-size: 0.88rem;
  resize: vertical;
  min-height: 2.2rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.65);
}

input::placeholder,
textarea::placeholder {
  color: #9ca3af;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent-strong);
  box-shadow:
    0 0 0 1px var(--accent-soft),
    0 0 0 1px rgba(255,255,255,0.9);
  background: #ffffff;
}

.field-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.inline-checkbox {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.inline-checkbox input[type="checkbox"] {
  width: 14px;
  height: 14px;
}

.form-footer-text {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* AUDIT SIDE TEXT */

.audit-side {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.audit-side ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.audit-side li {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 0.4rem;
  align-items: flex-start;
}

.audit-side li span.bullet {
  font-size: 0.9rem;
  color: var(--accent-strong);
  margin-top: 0.05rem;
}

/* FAQ */

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1.5rem;
}

.faq-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 1rem 1rem;
  box-shadow: var(--shadow-subtle);
  font-size: 0.9rem;
}

.faq-question {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #111827;
}

.faq-answer {
  color: var(--text-muted);
}

/* FOOTER */

footer {
  border-top: 1px solid var(--border-subtle);
  background: #f9fafb;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.8rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-inner strong {
  color: #111827;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent-strong);
}

/* LEGAL PAGES (PRIVACY / TERMS) */

.legal-body {
  background: #f3f4f6;
}

.legal-shell {
  max-width: 800px;
  margin: 2.5rem auto 3rem;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(209,213,219,0.9);
  box-shadow: 0 18px 40px rgba(15,23,42,0.08);
  padding: 2rem 1.75rem;
}

.legal-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.legal-title {
  font-size: 1.9rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
  color: #111827;
}

.legal-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.legal-shell h2 {
  font-size: 1.15rem;
  margin-top: 1.6rem;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
  color: #111827;
}

.legal-shell h3 {
  font-size: 1rem;
  margin-top: 1.1rem;
  margin-bottom: 0.15rem;
  color: #111827;
}

.legal-shell p {
  font-size: 0.92rem;
  margin-bottom: 0.6rem;
  color: #111827;
}

.legal-shell ul {
  margin: 0.4rem 0 0.9rem 1.15rem;
  padding: 0;
}

.legal-shell li {
  font-size: 0.9rem;
  color: #111827;
  margin-bottom: 0.35rem;
}

.legal-back-link {
  margin-top: 1.5rem;
  font-size: 0.85rem;
}

.legal-back-link a {
  color: var(--accent-strong);
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .hero-layout {
    grid-template-columns: minmax(0,1fr);
  }
  .hero-card {
    max-width: 420px;
    margin: 0 auto;
  }
  .steps-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .packages-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .audit-layout {
    grid-template-columns: minmax(0,1fr);
  }
  .faq-grid {
    grid-template-columns: minmax(0,1fr);
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }
  .hero {
    padding-top: 2.25rem;
  }
  .section {
    padding: 2.5rem 1.1rem;
  }
  .steps-grid {
    grid-template-columns: minmax(0,1fr);
  }
  .packages-grid {
    grid-template-columns: minmax(0,1fr);
  }
  .legal-shell {
    margin: 1.8rem 1rem 2.5rem;
    padding: 1.5rem 1.25rem;
  }
}
