/* Landing / marketing page */

.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(248,249,251,0.85); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rd-ink-200);
}
.nav-inner { max-width: var(--rd-content-max); margin: 0 auto; padding: 16px 32px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo .logo-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--rd-primary-500); display: flex; align-items: center; justify-content: center; }
.nav-logo span { font-family: var(--rd-font-display); font-weight: 700; font-size: 16px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14px; font-weight: 600; color: var(--rd-ink-700); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; }
/* Duplicate "Get started free" CTA: .nav-desktop-cta sits in the always-
   visible top bar; .nav-mobile-cta lives inside .nav-links so it only
   appears once the mobile dropdown is open. Both exist in the markup at
   once, but only one is ever visible at a given width - never both. */
.nav-mobile-cta { display: none; }

/* Below 800px .nav-links is hidden and .nav-toggle is meant to reveal it as
   a dropdown - previously .nav-toggle was never given a visible state at
   any breakpoint (display:none with no override) and .nav-links had no
   .is-open rule of its own, so the button rendered but did nothing on every
   marketing page, light or dark (dark-theme.css only restyles this same
   .is-open rule for dark pages - it never created it). This is the base/
   light rule; dark-theme.css's later, more specific-by-source-order block
   overrides the colors on dark pages.
   Also: the topbar CTA (.nav-desktop-cta) used to stay visible alongside
   the newly-revealed hamburger with no room for both - the flex row
   squeezed the button narrower than its own text, so "Get started free"
   wrapped onto 3 lines inside a fixed-height button (looked broken/
   "distorted"). It's hidden here and reappears as a full-width item inside
   the open dropdown instead (.nav-mobile-cta below). */
@media (max-width: 800px) {
  .nav-links { display: none; }
  .nav-actions .btn-secondary { display: none; }
  .nav-actions .nav-desktop-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links.is-open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(248,249,251,0.98); backdrop-filter: blur(8px);
    padding: 16px clamp(20px,5vw,56px) 20px; border-bottom: 1px solid var(--rd-ink-200);
  }
  .nav-links.is-open a { padding: 8px 0; }
  .nav-links.is-open .nav-mobile-cta {
    display: flex; width: 100%; margin-top: 6px; white-space: nowrap;
  }
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 64px;
  background:
    radial-gradient(circle at 15% 20%, rgba(54,82,246,0.08), transparent 40%),
    radial-gradient(circle at 85% 0%, rgba(100,120,255,0.10), transparent 45%);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--rd-primary-600); background: var(--rd-primary-50); padding: 6px 12px; border-radius: var(--rd-radius-full); margin-bottom: 20px; }
.hero h1 { margin-bottom: 20px; }
.hero p.lead { font-size: 18px; line-height: 1.6; color: var(--rd-ink-600); max-width: 480px; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.hero-trustline { font-size: 13px; color: var(--rd-ink-500); }

.hero-visual { position: relative; min-height: 360px; }
.hero-float-card {
  position: absolute; background: #fff; border: 1px solid var(--rd-ink-200); border-radius: var(--rd-radius-card);
  box-shadow: var(--rd-shadow-elevated); padding: 16px 18px; animation: rd-float 6s ease-in-out infinite;
}
.hero-float-card.c1 { top: 0; left: 10%; animation-delay: 0s; }
.hero-float-card.c2 { top: 45%; right: 0; animation-delay: 1.2s; }
.hero-float-card.c3 { bottom: 0; left: 20%; animation-delay: 2.4s; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { min-height: 240px; margin-top: 24px; }
}

.section { padding: 72px 0; }
.section-header { max-width: 620px; margin: 0 auto 40px; text-align: center; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--rd-ink-600); font-size: 15.5px; line-height: 1.6; }

.charts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.chart-card { background: #fff; border: 1px solid var(--rd-ink-200); border-radius: var(--rd-radius-card); box-shadow: var(--rd-shadow-card); padding: 24px; text-align: center; }
/* Same proven ring-badge pattern as .ats-gauge (ats.css) and .jm-score-donut
   (jobmatch.css): the conic-gradient ring is the div's own background, and
   the center label is a separately-positioned absolute overlay - not a
   flex-centered child - so its sizing can never collide with the ring's.
   The value/sub-label use distinct tags (strong/span) rather than two
   nested spans, so no selector can accidentally match both at once. */
.chart-donut { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 16px; position: relative; }
/* inset is a % (not a fixed px) so the ring thickness scales with whatever
   size the donut is rendered at - needed by .chart-donut.sm below, and any
   future inline width/height override, without a second hand-tuned rule. */
.chart-donut .val {
  position: absolute; inset: 15%; border-radius: 50%; background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.chart-donut .val strong { font-family: var(--rd-font-mono); font-weight: 700; font-size: 20px; color: var(--rd-primary-900); line-height: 1.15; }
.chart-donut .val span { font-size: 10px; font-weight: 500; color: var(--rd-ink-500); font-family: var(--rd-font-body); line-height: 1.2; }

/* Small variant for the hero mockup card - same ring pattern, scaled down.
   Previously the hero markup faked this by putting a bare <span> with
   inline width/height directly inside .chart-donut instead of using the
   .val overlay structure above; since width/height do nothing on an inline
   element and none of the .val centering/background rules applied, the
   ring rendered as a solid wedge with the "87%" text floating outside it. */
.chart-donut.sm { width: 64px; height: 64px; margin: 0; flex-shrink: 0; }
.chart-donut.sm .val strong { font-size: 13px; }
.chart-bars { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.chart-bar-row { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--rd-ink-600); }
.chart-bar-track { flex: 1; height: 8px; background: var(--rd-ink-100); border-radius: var(--rd-radius-full); overflow: hidden; }
.chart-bar-fill { height: 100%; background: var(--rd-primary-500); border-radius: var(--rd-radius-full); transform-origin: left; animation: rd-grow-bar 0.8s ease both; }

@media (max-width: 800px) { .charts-grid { grid-template-columns: 1fr; } }

.timeline { display: flex; justify-content: space-between; gap: 16px; position: relative; }
.timeline::before { content: ''; position: absolute; top: 20px; left: 8%; right: 8%; height: 1px; background: repeating-linear-gradient(to right, var(--rd-ink-300) 0 6px, transparent 6px 12px); }
.timeline-step { flex: 1; text-align: center; position: relative; z-index: 1; }
.timeline-num { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 2px solid var(--rd-primary-500); color: var(--rd-primary-500); font-family: var(--rd-font-mono); font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.timeline-step h3 { font-size: 15px; margin-bottom: 6px; }
.timeline-step p { font-size: 13px; color: var(--rd-ink-600); line-height: 1.5; }
@media (max-width: 800px) { .timeline { flex-direction: column; } .timeline::before { display: none; } }

.compare-card { background: #fff; border: 1px solid var(--rd-ink-200); border-radius: var(--rd-radius-card); box-shadow: var(--rd-shadow-card); padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.compare-col h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--rd-ink-500); margin-bottom: 16px; }
.compare-bar-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 13px; color: var(--rd-ink-700); }
.compare-bar-track { flex: 1; height: 10px; background: var(--rd-ink-100); border-radius: var(--rd-radius-full); overflow: hidden; }
.compare-bar-fill { height: 100%; border-radius: var(--rd-radius-full); transform-origin: left; animation: rd-grow-bar 1s ease both; }
.compare-bar-fill.before { background: var(--rd-ink-400); }
.compare-bar-fill.after { background: var(--rd-primary-500); }
@media (max-width: 700px) { .compare-card { grid-template-columns: 1fr; } }

.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trust-card { text-align: center; padding: 8px; }
.trust-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--rd-primary-50); color: var(--rd-primary-500); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.trust-card h3 { font-size: 16px; margin-bottom: 8px; }
.trust-card p { font-size: 13.5px; color: var(--rd-ink-600); line-height: 1.6; }
@media (max-width: 800px) { .trust-grid { grid-template-columns: 1fr; } }

.pricing-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 760px; margin: 0 auto; }
.price-card { background: #fff; border: 1px solid var(--rd-ink-200); border-radius: var(--rd-radius-card-lg); padding: 28px; position: relative; }
.price-card.featured { border: 2px solid var(--rd-primary-500); box-shadow: var(--rd-shadow-elevated); }
.price-card .tag { position: absolute; top: -12px; left: 24px; background: var(--rd-primary-900); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; padding: 4px 12px; border-radius: var(--rd-radius-full); }
.price-card h3 { font-size: 15px; margin-bottom: 8px; }
.price-card .amount { font-family: var(--rd-font-display); font-weight: 700; font-size: 36px; margin-bottom: 4px; }
.price-card .amount span { font-family: var(--rd-font-body); font-weight: 500; font-size: 14px; color: var(--rd-ink-500); }
.price-card ul { margin: 20px 0 24px; display: flex; flex-direction: column; gap: 10px; }
.price-card li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--rd-ink-700); }
@media (max-width: 700px) { .pricing-teaser { grid-template-columns: 1fr; } }

.cta-band {
  background: linear-gradient(135deg, var(--rd-primary-900) 0%, var(--rd-ink-900) 100%);
  border-radius: var(--rd-radius-card-lg);
  padding: 64px 40px;
  text-align: center;
  color: #fff;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: var(--rd-primary-200); margin-bottom: 28px; }

.site-footer { border-top: 1px solid var(--rd-ink-200); padding: 48px 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; margin-bottom: 32px; }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--rd-ink-500); margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13.5px; color: var(--rd-ink-600); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--rd-ink-500); border-top: 1px solid var(--rd-ink-200); padding-top: 24px; flex-wrap: wrap; gap: 12px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
