/* Job Hunter landing — static, no JS, no framework.
   Tokens mirror frontend/src/index.css (graphite OKLCH palette) so the
   landing visually rhymes with the SPA without sharing a build step. */

:root {
  --bg: oklch(0.995 0 0);
  --fg: oklch(0.16 0 0);
  --muted-bg: oklch(0.965 0 0);
  --muted-fg: oklch(0.50 0 0);
  --card: oklch(1 0 0);
  --border: oklch(0.915 0 0);
  --primary: oklch(0.20 0 0);
  --primary-fg: oklch(0.99 0 0);
  --primary-soft: oklch(0.95 0 0);
  --ring: oklch(0.55 0 0);
  --accent: oklch(0.50 0.21 280);   /* iris — single accent for the kicker/ribbon */
  --accent-fg: oklch(0.99 0 0);

  --radius: 0.5rem;
  --max-w: 1120px;
  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.04);
  --shadow-md: 0 4px 16px oklch(0 0 0 / 0.06);

  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Geist Variable", Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: oklch(0.155 0.005 270);
    --fg: oklch(0.965 0 0);
    --muted-bg: oklch(0.225 0.005 270);
    --muted-fg: oklch(0.66 0 0);
    --card: oklch(0.185 0.005 270);
    --border: oklch(1 0 0 / 0.09);
    --primary: oklch(0.92 0 0);
    --primary-fg: oklch(0.18 0 0);
    --primary-soft: oklch(0.27 0 0);
    --ring: oklch(0.60 0 0);
    --accent: oklch(0.72 0.17 285);
    --accent-fg: oklch(0.16 0.02 280);
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.30);
    --shadow-md: 0 4px 16px oklch(0 0 0 / 0.40);
  }
}

/* ---- reset ---- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  margin: 0 0 0.5em 0;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 650; }
h3 { font-size: 1.1rem; font-weight: 600; }

p { margin: 0 0 1em 0; }

ul { margin: 0; padding-left: 1.1rem; }
ul li + li { margin-top: 0.4rem; }

ol.steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---- topbar ---- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: oklch(from var(--bg) l c h / 0.85);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: var(--primary-fg);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.topnav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.topnav a:not(.btn) {
  color: var(--muted-fg);
  font-size: 0.92rem;
}
.topnav a:not(.btn):hover { color: var(--fg); text-decoration: none; }

@media (max-width: 720px) {
  .topnav a:not(.btn) { display: none; }
}

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius);
  font-weight: 550;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, transform 120ms ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-sm { padding: 0.4rem 0.8rem; font-size: 0.88rem; }
.btn-lg { padding: 0.75rem 1.4rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
}
.btn-primary:hover { filter: brightness(0.92); }

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--muted-bg); }

/* ---- hero ---- */
.hero {
  padding: clamp(3rem, 9vw, 6rem) 1.25rem clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}
.kicker {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.lead {
  max-width: 38rem;
  margin: 0.75rem auto 1.75rem;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--muted-fg);
}
.lead-center {
  text-align: center;
  color: var(--muted-fg);
  margin-bottom: 2rem;
}
.cta {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.meta {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--muted-fg);
}

/* ---- generic section ---- */
.section {
  padding: clamp(3rem, 7vw, 5rem) 1.25rem;
}
.section h2 {
  text-align: center;
  margin-bottom: 2.5rem;
}

/* ---- how it works ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.steps li {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--primary-soft);
  color: var(--accent);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}
.steps p { color: var(--muted-fg); margin: 0; }

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

/* ---- features ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.feature h3 { margin-bottom: 0.4rem; }
.feature p { color: var(--muted-fg); margin: 0; }

@media (max-width: 980px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---- pricing ---- */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
.plan {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
}
.plan h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--muted-fg);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}
.plan .price {
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}
.plan .price strong {
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.plan .price .cadence {
  color: var(--muted-fg);
  font-size: 0.95rem;
  font-weight: 500;
}
.plan .annual {
  color: var(--muted-fg);
  font-size: 0.85rem;
  margin: 0 0 1.25rem 0;
  min-height: 1.2em;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  flex: 1;
}
.plan ul li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.95rem;
}
.plan ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg) translateY(-50%);
}
.plan-popular {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.ribbon {
  position: absolute;
  top: -10px;
  right: 1.5rem;
  background: var(--accent);
  color: var(--accent-fg);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

@media (max-width: 920px) { .plan-grid { grid-template-columns: 1fr; max-width: 28rem; margin: 0 auto; } }

/* ---- cta strip ---- */
.cta-strip {
  text-align: center;
  padding: clamp(2.5rem, 5vw, 4rem) 1.25rem clamp(3rem, 6vw, 5rem);
}
.cta-strip h2 {
  margin-bottom: 1.5rem;
  max-width: 32rem;
  margin-inline: auto;
}

/* ---- footer ---- */
footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  color: var(--muted-fg);
  font-size: 0.88rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
footer nav {
  display: flex;
  gap: 1.25rem;
}
footer p { margin: 0; }

/* ---- a11y ---- */
:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}
