/* ResumeGPT marketing site — plain CSS, no build step, no webfonts. */

:root {
  --ink: #17211c;
  --ink-soft: #1f2b24;
  --bg: #f4f1ea;
  --surface: #ffffff;
  --surface-soft: #edeadf;
  --line: #e0dbcb;
  --muted: #6c7469;
  --accent: #2f5c46;
  --accent-dark: #1f4433;
  --accent-pale: #e3ecdf;
  --warm: #e8c78a;
  --warm-dark: #8a6a2f;
  --shadow: 0 18px 48px rgba(23, 33, 28, 0.12);
  --radius: 14px;
  --max: 1120px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.wrap {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ink);
  color: #f2f4f1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: #fff;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  text-decoration: none;
  color: #cdd6cd;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 6px;
}

/* ---------- language switcher ---------- */

.lang-switch {
  position: relative;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

.lang-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

.lang-toggle .caret {
  font-size: 10px;
  opacity: 0.8;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 50;
  min-width: 172px;
  padding: 8px;
  border-radius: 12px;
  background: var(--ink-soft);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  display: none;
}

.lang-menu.open {
  display: block;
}

.lang-menu a {
  display: block;
  padding: 8px 11px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #cdd6cd;
  text-decoration: none;
}

.lang-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.lang-menu a.active {
  color: var(--warm);
  font-weight: 800;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--warm);
  color: #2c2410;
  box-shadow: 0 10px 26px rgba(232, 199, 138, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 14px 32px rgba(232, 199, 138, 0.36);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-outline {
  background: transparent;
  color: var(--accent-dark);
  border-color: var(--line);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: var(--accent-pale);
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}

/* ---------- hero ---------- */

.hero {
  background: radial-gradient(120% 140% at 15% -10%, #24352b 0%, var(--ink) 55%);
  color: #f2f4f1;
  padding-block: 88px 108px;
  position: relative;
  overflow: hidden;
}

.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 20px;
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(232, 199, 138, 0.14);
  color: var(--warm);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.hero h1 em {
  font-style: normal;
  color: var(--warm);
}

.hero p.lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
  color: #c9d1c6;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.hero-cmd {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font: 13px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #dfe6dc;
  max-width: 100%;
  overflow-x: auto;
}

.hero-cmd .dollar {
  color: var(--warm);
  flex: none;
}

.hero-note {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: #98a396;
}

/* ---------- generic section ---------- */

section {
  padding-block: 84px;
}

.section-head {
  max-width: 640px;
  margin: 0 0 40px;
}

.section-head .eyebrow {
  background: var(--accent-pale);
  color: var(--accent-dark);
}

.section-head h2 {
  margin: 14px 0 10px;
  font-size: clamp(26px, 3.4vw, 36px);
  letter-spacing: -0.02em;
  font-weight: 800;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.section-alt {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

/* ---------- how it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 26px 22px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--warm);
  font-weight: 800;
  font-size: 14px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.step-arrow {
  position: absolute;
  top: 34px;
  right: -25px;
  color: var(--line);
  font-size: 20px;
  z-index: 1;
}

/* ---------- features ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 11px;
  background: var(--accent-pale);
  color: var(--accent-dark);
  font-size: 19px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 16.5px;
  letter-spacing: -0.01em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* ---------- screenshots ---------- */

.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.shot {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  cursor: zoom-in;
  text-align: left;
  padding: 0;
  display: block;
  width: 100%;
}

.shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  transition: transform 0.25s ease;
}

.shot:hover img {
  transform: scale(1.03);
}

.shot-caption {
  display: block;
  padding: 14px 16px 16px;
  background: var(--surface);
  font-size: 13.5px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.shot-caption strong {
  display: block;
  color: var(--ink);
  font-size: 14.5px;
  margin-bottom: 3px;
}

/* lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 28px;
  background: rgba(12, 17, 14, 0.86);
  backdrop-filter: blur(3px);
}

.lightbox.open {
  display: grid;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 88vh;
  border-radius: 10px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

/* ---------- manual teaser ---------- */

.manual-band {
  background: var(--ink);
  color: #f2f4f1;
}

.manual-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.manual-band h2 {
  margin: 0 0 8px;
  font-size: 24px;
  letter-spacing: -0.01em;
}

.manual-band p {
  margin: 0;
  color: #b9c2b6;
  max-width: 480px;
  font-size: 15px;
}

/* ---------- CTA ---------- */

.cta {
  text-align: center;
}

.cta .section-head {
  margin-inline: auto;
  text-align: center;
}

.cta .hero-actions {
  justify-content: center;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 40px;
  background: var(--surface);
}

.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--accent-dark);
}

/* ---------- placeholder page (manual.html) ---------- */

.placeholder {
  padding-block: 120px;
  text-align: center;
}

.placeholder .wrap {
  max-width: 560px;
}

.placeholder .icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border-radius: 16px;
  background: var(--accent-pale);
  color: var(--accent-dark);
  font-size: 28px;
}

.placeholder h1 {
  margin: 0 0 12px;
  font-size: 30px;
  letter-spacing: -0.02em;
}

.placeholder p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
}

.placeholder .hero-actions {
  justify-content: center;
}

/* ---------- responsive ---------- */

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

  .step-arrow {
    display: none;
  }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    inset: 60px 16px auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--ink-soft);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    display: none;
  }

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

  .nav-links a {
    padding: 9px 0;
    width: 100%;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

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

  .hero {
    padding-block: 64px 76px;
  }

  section {
    padding-block: 56px;
  }

  .manual-band .wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header .wrap {
    gap: 10px;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-actions .btn-ghost span.btn-label {
    display: none;
  }

  .nav-actions .btn-ghost {
    padding: 10px 12px;
  }
}
