/* Job Lander marketing site design tokens */

:root {
  /* Palette: calm professional, light-first */
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #eef0f3;
  --text: #111418;
  --text-2: #4a5568;
  --text-3: #6b7b93;
  --border: #d8dce2;
  --accent: #1e6ef4;
  --accent-2: #0f53c2;
  --accent-text: #ffffff;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --shadow: 0 10px 30px rgba(17, 20, 24, 0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1100px;
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1015;
    --surface: #151a21;
    --surface-2: #1d242d;
    --text: #f2f4f7;
    --text-2: #9aa6b8;
    --text-3: #5f6d80;
    --border: #263140;
    --accent: #4b9dff;
    --accent-2: #7ab8ff;
    --accent-text: #0d1015;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* Typography */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

h1, h2, h3 {
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  margin-bottom: 20px;
}

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

p {
  color: var(--text-2);
}

ul, ol {
  color: var(--text-2);
}

a {
  color: var(--accent);
  text-decoration: none;
}

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.1rem;
}

.logo:hover {
  color: var(--text);
}

.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a {
  color: var(--text-2);
}

.site-nav a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--text) !important;
}

.nav-cta:hover {
  background: var(--border);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-text);
}

.btn-primary:hover {
  background: var(--accent-2);
  color: var(--accent-text);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(30, 110, 244, 0.25);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--text-3);
}

/* Hero */
.hero {
  padding: 80px 0 64px;
  text-align: center;
}

.hero-headline {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  max-width: 820px;
  margin: 0 auto 24px;
}

.hero-sub {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  max-width: 720px;
  margin: 0 auto 36px;
  color: var(--text-2);
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero-note {
  font-size: 0.9rem;
  color: var(--text-3);
  margin-bottom: 64px;
}

.beta-note {
  max-width: 640px;
  margin: -40px auto 64px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 0.88rem;
  text-align: left;
  line-height: 1.5;
}

.beta-note strong {
  color: var(--text);
}

.beta-note ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.beta-note li + li {
  margin-top: 10px;
}

.beta-note code {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.82rem;
  word-break: break-all;
}

/* Preview card */
.preview-card {
  display: flex;
  justify-content: center;
}

.preview-frame {
  width: 100%;
  max-width: 840px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.preview-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.preview-dot:first-child { background: var(--danger); }
.preview-dot:nth-child(2) { background: var(--warning); }
.preview-dot:nth-child(3) { background: var(--success); }

.preview-title {
  margin-left: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-3);
}

.preview-body {
  display: grid;
  grid-template-columns: 160px 1fr;
  min-height: 260px;
}

.preview-sidebar {
  background: var(--surface-2);
  border-right: 1px solid var(--border);
  padding: 16px;
}

.preview-nav-item {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 4px;
}

.preview-nav-item.active {
  background: var(--accent);
  color: var(--accent-text);
}

.preview-content {
  padding: 20px;
}

.preview-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.preview-search {
  flex: 1;
  min-width: 220px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-2);
  font-size: 0.85rem;
}

.preview-button {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--accent-text);
  font-size: 0.85rem;
  font-weight: 600;
}

.preview-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.preview-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.preview-row strong {
  color: var(--text);
  font-weight: 600;
}

.preview-row span {
  color: var(--text-3);
}

.preview-chip {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.preview-chip.eligible {
  background: rgba(16, 185, 129, 0.12);
  color: var(--success);
}

.preview-chip.skip {
  background: rgba(239, 68, 68, 0.10);
  color: var(--danger);
}

.preview-reason {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  color: var(--danger);
}

/* Billing section */
.billing-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.billing-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.billing-text p {
  margin-bottom: 20px;
}

.checklist {
  list-style: none;
  margin-bottom: 24px;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text-2);
}

.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--success);
}

.checklist li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 8px;
  width: 5px;
  height: 9px;
  border: solid var(--bg);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.link-arrow {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.link-arrow::after {
  content: '→';
  transition: transform 0.15s ease;
}

.link-arrow:hover::after {
  transform: translateX(3px);
}

.billing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.spend-bar {
  display: flex;
  height: 10px;
  gap: 2px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--surface-2);
  margin-bottom: 12px;
}

.spend-segment {
  width: var(--w);
  background: var(--c);
  border-radius: 0;
}

.spend-ai   { --c: var(--accent); }
.spend-apply { --c: var(--success); }
.spend-scan { --c: var(--warning); }

.spend-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.spend-total {
  font-weight: 700;
}

.meter-legend {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-2);
}

.meter-legend strong {
  color: var(--text);
  margin-left: 4px;
  font-weight: 700;
}

.swatch {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  margin-right: 6px;
}

.swatch-ai { background: var(--accent); }
.swatch-apply { background: var(--success); }
.swatch-scan { background: var(--warning); }

/* Features */
.features-section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}

.features-section .eyebrow,
.features-section .section-title {
  text-align: center;
}

.feature-grid,
.step-grid,
.pricing-grid,
.ai-paths-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card,
.step-card,
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.feature-card:hover,
.step-card:hover,
.pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.feature-card h3,
.step-card h3,
.pricing-card h3 {
  color: var(--text);
}

.feature-card p,
.step-card p,
.pricing-card p {
  font-size: 0.95rem;
}

/* Roadmap */
.roadmap-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.roadmap-section .eyebrow,
.roadmap-section .section-title {
  text-align: center;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.badge-soon {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

@media (max-width: 860px) {
  .roadmap-grid,
  .feature-grid,
  .step-grid,
  .pricing-grid,
  .ai-paths-grid,
  .preview-body {
    grid-template-columns: 1fr;
  }
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-text);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.pricing-card .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.ai-paths {
  margin-top: 56px;
  text-align: center;
}

.ai-paths .eyebrow {
  text-align: center;
}

.ai-paths h2 {
  margin-bottom: 28px;
}

.ai-path-card {
  text-align: left;
}

.ai-path-card .checklist.compact li {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.billing-faq {
  max-width: 720px;
  margin: 56px auto 0;
  text-align: center;
}

.billing-faq h2 {
  margin-bottom: 16px;
}

/* Download section */
.download-section {
  padding: 80px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

.download-lead {
  max-width: 480px;
  margin: 0 auto 28px;
}

.download-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.download-note {
  font-size: 0.85rem;
  color: var(--text-3);
}

.download-status {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: currentColor;
  opacity: 0.85;
  margin-top: 4px;
}

.btn-disabled {
  pointer-events: none;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-3);
}

.footer-inner a {
  color: var(--text-2);
  margin-left: 20px;
}

.footer-inner a:hover {
  color: var(--text);
}

.hero-small {
  padding: 56px 0 40px;
}

.hero-small .hero-headline {
  font-size: clamp(2rem, 5vw, 3rem);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn,
  .feature-card,
  .step-card,
  .pricing-card,
  .preview-frame {
    transition: none;
  }
  .btn-primary:hover,
  .feature-card:hover,
  .step-card:hover,
  .pricing-card:hover {
    transform: none;
  }
  .link-arrow:hover::after {
    transform: none;
  }
}

/* Responsive */
@media (max-width: 860px) {
  .billing-layout,
  .feature-grid,
  .step-grid,
  .pricing-grid,
  .ai-paths-grid,
  .preview-body,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }

  .preview-sidebar {
    display: none;
  }

  .hero {
    padding-top: 56px;
  }

  .billing-section,
  .features-section,
  .download-section,
  .roadmap-section {
    padding: 56px 0;
  }
}

@media (max-width: 640px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 20px;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .site-nav a:last-child {
    border-bottom: none;
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }

  .hero-actions,
  .download-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .preview-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .preview-chip {
    justify-self: start;
  }

  .meter-legend {
    flex-direction: column;
    gap: 8px;
  }
}
