/* ─── Reset & base ─────────────────────────────────────────────────────────── */

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

:root {
  --brand-50:  #eef2ff;
  --brand-100: #e0e7ff;
  --brand-500: #6366f1;
  --brand-600: #4f46e5;
  --brand-700: #4338ca;
  --green-50:  #f0fdf4;
  --green-500: #22c55e;
  --green-700: #15803d;
  --gray-50:   #f9fafb;
  --gray-100:  #f3f4f6;
  --gray-200:  #e5e7eb;
  --gray-400:  #9ca3af;
  --gray-500:  #6b7280;
  --gray-600:  #4b5563;
  --gray-700:  #374151;
  --gray-800:  #1f2937;
  --gray-900:  #111827;
  --radius-md: 12px;
  --radius-lg: 20px;
  --max-w: 1120px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--gray-800);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

code {
  font-family: ui-monospace, 'Cascadia Code', monospace;
  font-size: 0.85em;
  background: var(--gray-100);
  padding: 1px 5px;
  border-radius: 4px;
}

/* ─── Layout ───────────────────────────────────────────────────────────────── */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section-alt { background: var(--gray-50); }

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-900);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-sub {
  text-align: center;
  color: var(--gray-500);
  margin-bottom: 48px;
  font-size: 1.05rem;
}

/* ─── Buttons ──────────────────────────────────────────────────────────────── */

.btn-primary {
  display: inline-block;
  background: var(--brand-600);
  color: #fff;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.15s, transform 0.1s;
  text-align: center;
}
.btn-primary:hover { background: var(--brand-700); transform: translateY(-1px); }

.btn-secondary {
  display: inline-block;
  background: #fff;
  color: var(--brand-600);
  border: 2px solid var(--brand-600);
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.15s, color 0.15s;
  text-align: center;
}
.btn-secondary:hover { background: var(--brand-50); }

/* ─── Nav ──────────────────────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 60px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
}

.nav-logo {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--brand-600);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.9rem;
  color: var(--gray-600);
}
.nav-links a:hover { color: var(--gray-900); }

.nav-cta {
  background: var(--brand-600) !important;
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--brand-700) !important; }

/* ─── Hero ─────────────────────────────────────────────────────────────────── */

.hero {
  padding: 80px 32px 80px;
  background: linear-gradient(160deg, var(--brand-50) 0%, #fff 60%);
  overflow: hidden;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero-badge {
  display: inline-block;
  background: var(--brand-100);
  color: var(--brand-700);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 99px;
  letter-spacing: 0.01em;
  width: fit-content;
}

.hero-headline {
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--gray-900);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--gray-500);
  line-height: 1.75;
  max-width: 480px;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: -8px;
}

/* ─── Extension mockup ─────────────────────────────────────────────────────── */

.hero-mockup-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.ext-mockup {
  width: 300px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.10), 0 4px 16px rgba(0,0,0,0.06);
  overflow: hidden;
  font-size: 13px;
}

.ext-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--gray-100);
}

.ext-logo {
  font-weight: 800;
  font-size: 13px;
  color: var(--brand-600);
  letter-spacing: -0.02em;
}

.ext-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand-600);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ext-tabs {
  display: flex;
  border-bottom: 1px solid var(--gray-100);
}

.ext-tabs span {
  flex: 1;
  text-align: center;
  padding: 7px 0;
  font-size: 11px;
  color: var(--gray-500);
  font-weight: 500;
  cursor: default;
}

.ext-tabs span.active {
  color: var(--brand-600);
  border-bottom: 2px solid var(--brand-600);
  font-weight: 700;
}

.ext-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ext-job-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 10px;
  padding: 10px 12px;
}

.ext-job-title {
  font-weight: 700;
  font-size: 12px;
  color: var(--gray-800);
  line-height: 1.3;
}

.ext-job-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 3px;
  font-size: 10px;
  color: var(--gray-400);
}

.ext-score-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 0;
}

.ext-circle {
  transform: rotate(-90deg);
  flex-shrink: 0;
}

.ext-score-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ext-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 700;
}
.ext-pill.green {
  background: #dcfce7;
  color: var(--green-700);
}

.ext-provider {
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  border-radius: 99px;
  background: #f0fdf4;
  color: var(--green-700);
  border: 1px solid #bbf7d0;
  font-weight: 500;
  width: fit-content;
}

.ext-verdict {
  font-size: 11px;
  color: var(--gray-600);
  font-style: italic;
  border-left: 2px solid var(--brand-100);
  padding-left: 8px;
  line-height: 1.5;
}

.ext-divider {
  height: 1px;
  background: var(--gray-100);
}

.ext-section-label {
  font-size: 9px;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: -4px;
}

.ext-reasons {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ext-reasons li {
  font-size: 11px;
  color: var(--gray-700);
  display: flex;
  align-items: flex-start;
  gap: 5px;
  line-height: 1.4;
}

.ext-check {
  color: var(--green-500);
  flex-shrink: 0;
  font-weight: 700;
}

.ext-gaps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ext-gaps li {
  font-size: 11px;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 7px;
  line-height: 1.4;
}

.ext-gap-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gray-300);
  flex-shrink: 0;
}

/* ─── How it works ─────────────────────────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 36px;
  margin-top: 48px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-600);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step h3 { font-size: 1rem; font-weight: 700; color: var(--gray-900); }
.step p  { font-size: 0.9rem; color: var(--gray-500); line-height: 1.65; }

/* ─── Features ─────────────────────────────────────────────────────────────── */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.15s;
}
.feature-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }

.feature-icon { font-size: 1.6rem; }
.feature-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--gray-900); }
.feature-card p  { font-size: 0.875rem; color: var(--gray-500); line-height: 1.65; }

/* ─── Pricing ──────────────────────────────────────────────────────────────── */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  align-items: start;
}

.pricing-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.pricing-featured {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 2px var(--brand-500);
}

.pricing-free {
  background: var(--gray-50);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-600);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 99px;
  white-space: nowrap;
}

.pricing-plan {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pricing-price {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--gray-900);
  letter-spacing: -0.03em;
  line-height: 1;
}
.pricing-price span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-400);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.875rem;
  color: var(--gray-600);
  flex: 1;
  line-height: 1.5;
}

/* ─── Privacy ──────────────────────────────────────────────────────────────── */

.privacy-section { max-width: 880px; margin: 0 auto; }

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 36px;
  margin-top: 48px;
  margin-bottom: 36px;
}

.privacy-grid h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.privacy-grid p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.75;
}

.privacy-link { text-align: center; }
.privacy-link a { color: var(--brand-600); font-weight: 600; }
.privacy-link a:hover { text-decoration: underline; }

/* ─── Footer ───────────────────────────────────────────────────────────────── */

.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 48px 32px;
}

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

.footer-logo   { font-weight: 800; color: #fff; font-size: 1rem; margin-bottom: 4px; }
.footer-tagline{ font-size: 0.85rem; color: var(--gray-500); margin-bottom: 6px; }
.footer-brand  { font-size: 0.8rem; }
.footer-brand a { color: var(--brand-500); }
.footer-brand a:hover { text-decoration: underline; }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
}
.footer-links a:hover { color: #fff; }

/* ─── Privacy page ─────────────────────────────────────────────────────────── */

.prose-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.prose-page h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.prose-page .prose-meta {
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-bottom: 40px;
}

.prose-page h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-top: 36px;
  margin-bottom: 10px;
}

.prose-page p {
  font-size: 0.925rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 12px;
}

.prose-page ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.prose-page ul li {
  font-size: 0.925rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 4px;
}

.prose-page a { color: var(--brand-600); }
.prose-page a:hover { text-decoration: underline; }

.prose-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--brand-600);
  font-weight: 600;
  margin-bottom: 36px;
}
.prose-back:hover { text-decoration: underline; }

/* ─── Responsive ───────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero-copy { align-items: center; }
  .hero-sub { max-width: 100%; }
  .hero-mockup-wrap { justify-content: center; }
}

@media (max-width: 640px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { padding: 56px 20px 48px; }
  .section { padding: 56px 0; }
  .section-title { font-size: 1.6rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .privacy-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .ext-mockup { width: 270px; }
}
