:root {
  --bg: #eef1f7;
  --bg-alt: #e3e8f1;
  --fg: #0b1320;
  --muted: #5b667a;
  --line: #e3e8ef;
  --accent: #2563eb;
  --accent-strong: #1d4ed8;
  --accent-soft: #eaf1ff;
  --error: #dc2626;
  --grad: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --max: 1140px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 0.85rem clamp(1rem, 5vw, 2rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--grad);
  color: #fff;
  border-radius: 7px;
  font-weight: 800;
  font-size: 0.95rem;
}

.logo-tm {
  font-size: 0.7em;
  vertical-align: super;
  color: var(--muted);
  margin-left: 1px;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  align-items: center;
  font-size: 0.93rem;
  color: var(--muted);
}

.nav-links a:not(.nav-cta):hover { color: var(--fg); }

.nav-cta {
  background: var(--fg);
  color: #fff;
  padding: 0.5rem 1.05rem;
  border-radius: 8px;
  font-weight: 600;
}

@media (max-width: 700px) {
  .nav-links { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 4rem clamp(1rem, 5vw, 2rem) 5rem;
  background: radial-gradient(ellipse at top, var(--accent-soft) 0%, transparent 60%), var(--bg);
}

.hero-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: var(--shadow);
  margin-bottom: 1.75rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 1.25rem;
  font-weight: 800;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subhead {
  font-size: 1.13rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

/* ---------- Drop zone ---------- */
.dropzone {
  background: #fff;
  border: 2px dashed var(--line);
  border-radius: 16px;
  padding: 2.5rem 1.25rem;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
  box-shadow: var(--shadow);
  max-width: 600px;
  margin: 0 auto;
}

.dropzone:hover { border-color: var(--accent); }
.dropzone.drag-over {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: scale(1.02);
}

.dropzone-icon {
  font-size: 2.75rem;
  margin-bottom: 0.5rem;
}

.dropzone-prompt {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.dropzone-sub {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
}

#browse-btn {
  background: var(--accent);
  color: #fff;
  border: 0;
  padding: 0.65rem 1.5rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
#browse-btn:hover { background: var(--accent-strong); }

#loading {
  margin-top: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #e3e8ef;
  border-top-color: var(--accent);
  border-radius: 50%;
  margin: 0 auto 1rem;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

#error {
  margin: 1.25rem auto 0;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: #fef2f2;
  color: var(--error);
  border: 1px solid #fecaca;
  max-width: 600px;
  font-size: 0.95rem;
}

.hero-stats {
  margin-top: 2.5rem;
  font-size: 0.92rem;
  color: var(--muted);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.hero-stats strong { color: var(--fg); }
.stat-divider { opacity: 0.4; }

/* ---------- Sections ---------- */
.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  font-weight: 800;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.02rem;
}

/* ---------- Features ---------- */
.features {
  padding: 5rem clamp(1rem, 5vw, 2rem);
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  font-size: 1.75rem;
  margin-bottom: 0.85rem;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- How it works ---------- */
.how-it-works {
  padding: 5rem clamp(1rem, 5vw, 2rem);
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 980px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}

.steps li {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.steps h3 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.steps p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- Testimonials ---------- */
.testimonials {
  padding: 5rem clamp(1rem, 5vw, 2rem);
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
}

.testi-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.testi-grid blockquote {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.testi-grid p {
  margin: 0 0 1rem;
  font-size: 1.02rem;
  line-height: 1.55;
}

.testi-grid footer {
  font-size: 0.88rem;
  color: var(--muted);
  font-style: normal;
}

/* ---------- Logos strip ---------- */
.logos {
  padding: 4rem clamp(1rem, 5vw, 2rem);
  text-align: center;
}

.logos-label {
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 1.5rem;
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
  align-items: center;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  color: #93a1b6;
  opacity: 0.85;
}

/* ---------- Pricing ---------- */
.pricing {
  padding: 5rem clamp(1rem, 5vw, 2rem);
  background: var(--bg);
}

.pricing-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.pricing-card {
  margin-top: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2.75rem 2rem 2.5rem;
  box-shadow: var(--shadow-lg);
}

.pricing-badge {
  display: inline-block;
  background: var(--grad);
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.pricing-headline {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 0.5rem;
}

.pricing-period {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  text-align: left;
  display: inline-block;
}

.pricing-features li {
  padding: 0.4rem 0;
  font-size: 0.98rem;
  color: var(--fg);
}

.pricing-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.85rem 2.25rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.15s;
}
.pricing-cta:hover { background: var(--accent-strong); }

.pricing-fineprint {
  margin-top: 1.75rem;
  font-size: 0.84rem;
  color: var(--muted);
  font-style: italic;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Content pages (legal, careers) ---------- */
.content-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem clamp(1rem, 5vw, 2rem) 5rem;
}

.content-page h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.025em;
  margin: 0 0 0.75rem;
  font-weight: 800;
}

.content-page .lede {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 2rem;
}

.content-page section {
  margin-bottom: 2.5rem;
}

.content-page h2 {
  margin-top: 0.5rem;
  margin-bottom: 0.85rem;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}

.content-page h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.content-page p {
  color: var(--fg);
  font-size: 0.97rem;
  line-height: 1.65;
  margin: 0 0 1rem;
}

.content-page ul {
  padding-left: 1.4rem;
  margin: 0 0 1.5rem;
}

.content-page li {
  margin-bottom: 0.4rem;
  font-size: 0.97rem;
  line-height: 1.6;
}

.content-page .toc {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin: 1rem 0 2.5rem;
}

.content-page .toc h4 {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.content-page .toc a {
  color: var(--accent);
  display: block;
  font-size: 0.93rem;
  padding: 0.18rem 0;
}

.content-page .back-link {
  display: inline-block;
  margin-top: 2.5rem;
  color: var(--accent);
  font-weight: 600;
}

/* Career-specific role cards */
.career-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.75rem;
  margin: 1.5rem 0;
  box-shadow: var(--shadow);
}

.career-card h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

.career-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.career-meta span {
  background: var(--bg-alt);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--fg);
  color: #c8cfdb;
  padding: 4rem clamp(1rem, 5vw, 2rem) 2rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 2fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand strong { color: #fff; font-size: 1.1rem; }
.footer-brand p { font-size: 0.9rem; color: #8895a8; margin: 0.5rem 0 0.85rem; }

.footer-source {
  display: inline-block;
  font-size: 0.85rem;
  color: #c8cfdb;
  border: 1px solid #2c3a52;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-family: 'SF Mono', ui-monospace, 'Courier New', monospace;
}
.footer-source:hover { color: #fff; border-color: #5b6a85; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-cols h4 {
  color: #fff;
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 0.85rem;
}

.footer-cols a {
  display: block;
  font-size: 0.92rem;
  color: #8895a8;
  margin-bottom: 0.5rem;
}
.footer-cols a:hover { color: #fff; }

.warning-fineprint {
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid #1f2a3d;
  padding-top: 1.5rem;
  font-size: 0.78rem;
  color: #6b7891;
  text-align: center;
}

@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Live activity ticker ---------- */
.activity-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.25rem;
  padding: 0.4rem 0.85rem;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 100%;
}
.activity-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.55);
  animation: activity-pulse 1.6s ease-in-out infinite;
  flex: 0 0 auto;
}
@keyframes activity-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.55); }
  50%      { box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); }
}
.activity-label {
  font-weight: 700;
  color: #16a34a;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.activity-text {
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.25s ease;
}
.activity-text.fade { animation: activity-fade 0.4s ease-out; }
@keyframes activity-fade {
  from { opacity: 0; transform: translateY(2px); }
  to   { opacity: 1; transform: translateY(0); }
}

