/* GetAResume guide pages: shared styles. Design tokens match the landing page. */

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

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

/* ── Tokens ── */
:root {
  --canvas: #f8f7f3;
  --form-bg: #f1ede3;
  --card: #efeedb;
  --text: #1c1917;
  --muted: #78716c;
  --border: #d4cfc6;
  --border-card: #c8c5b0;
  --primary: #1d4ed8;
  --primary-hover: #1e40af;
  --primary-light: #e0e7ff;
  --white: #ffffff;

  --font-display: "Lora", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
  --shadow-btn: 0 2px 8px rgba(67, 56, 202, 0.25);
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Nav ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 247, 243, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding-top: 8px;
  padding-bottom: 8px;
}

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

.logo-box {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
}

.dot-com {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  margin-left: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-guides {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.15s;
}

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

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    background 0.15s,
    transform 0.1s;
  border: none;
  font-family: var(--font-body);
  white-space: nowrap;
}

.btn-primary {
  font-size: 16px;
  color: var(--white);
  background: var(--primary);
  padding: 14px 32px;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  font-size: 14px;
  color: var(--muted);
  background: transparent;
  padding: 9px 20px;
  border: 1px solid var(--border);
  gap: 6px;
}

.btn-secondary:hover {
  color: var(--text);
  border-color: var(--border-card);
}

.btn-label-short {
  display: none;
}

/* ── Breadcrumb ── */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  padding-top: 28px;
}

.crumbs a {
  color: var(--muted);
}

.crumbs a:hover {
  color: var(--text);
  text-decoration: underline;
}

.crumbs span[aria-hidden] {
  opacity: 0.6;
}

/* ── Guide header ── */
.guide-hero {
  padding: 20px 0 8px;
}

.guide-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.6vw, 46px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.guide-lead {
  font-size: 19px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.guide-meta {
  font-size: 13px;
  color: var(--muted);
}

/* ── Article body ── */
.prose {
  padding-bottom: 8px;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 30px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 52px 0 14px;
  scroll-margin-top: 84px;
}

.prose h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 28px 0 8px;
}

.prose p {
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 16px;
}

.prose ul {
  margin: 0 0 20px 22px;
}

.prose li {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 8px;
}

.prose a:not(.btn) {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:not(.btn):hover {
  color: var(--primary-hover);
}

.prose .btn {
  margin: 4px 0 12px;
}

/* Callout */
.callout {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 28px 0 8px;
}

.prose .callout p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}

/* Table of contents */
.toc {
  background: var(--white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  margin: 28px 0 0;
}

.prose .toc-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 10px;
  line-height: 1.4;
}

.toc ol {
  margin: 0 0 0 20px;
}

.toc li {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 6px;
}

.toc a {
  color: var(--text);
}

.toc a:hover {
  color: var(--primary);
}

/* Comparison table */
.table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  background: var(--white);
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.table-wrap th,
.table-wrap td {
  text-align: left;
  padding: 12px 16px;
  font-size: 15px;
  line-height: 1.5;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.table-wrap thead th {
  background: var(--form-bg);
  font-weight: 700;
}

.table-wrap tbody th {
  font-weight: 600;
  width: 22%;
}

.table-wrap tr:last-child th,
.table-wrap tr:last-child td {
  border-bottom: none;
}

/* Numbered steps */
.steps {
  list-style: none;
  margin: 20px 0;
  counter-reset: step;
}

.prose .steps li {
  counter-increment: step;
  position: relative;
  padding-left: 52px;
  margin-bottom: 22px;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps li strong {
  display: block;
  margin-bottom: 2px;
}

/* Tick / untick illustration (same look as the landing page) */
.example {
  margin: 24px 0;
}

.mr-spotlight-visual {
  background: var(--white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.mr-visual-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 12px;
}

.mr-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--canvas);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 8px;
}

.mr-toggle-row.off {
  opacity: 0.45;
}

.mr-toggle-text {
  min-width: 0;
}

.mr-toggle-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.mr-toggle-sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.mr-check {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: var(--primary);
  border: 2px solid var(--primary);
  position: relative;
  flex-shrink: 0;
}

.mr-check::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.mr-check.off {
  background: var(--white);
  border-color: #b9b4a8;
}

.mr-check.off::after {
  display: none;
}

.example figcaption,
.guide-video figcaption {
  font-size: 14px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.6;
}

.example figcaption {
  text-align: center;
  font-size: 13px;
}

/* ── Video (click to play) ── */
.guide-video {
  margin: 8px 0 0;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
  background: #000;
}

.video-frame iframe,
.video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-thumb {
  display: block;
  cursor: pointer;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  padding-left: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition:
    background 0.15s,
    transform 0.15s;
}

.video-thumb:hover .video-play {
  background: var(--primary-hover);
  transform: translate(-50%, -50%) scale(1.06);
}

.video-duration {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(0, 0, 0, 0.75);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

/* ── FAQ ── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}

.prose .faq-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
}

.prose .faq-item p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* ── Guide cards (hub + related) ── */
.hub-hero {
  max-width: 760px;
  padding: 24px 0 36px;
}

.hub-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.related,
.hub-list,
.hub-video {
  padding-top: 56px;
}

.hub-list {
  padding-top: 0;
}

.related h2,
.hub-video h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.related-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 22px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.related-card h2,
.related-card h3 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  margin: 0 0 8px;
}

.related-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.related-card .more {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.hub-video .video-wrap {
  max-width: 760px;
}

/* ── CTA ── */
.cta-section {
  padding: 72px 0 80px;
}

.cta-box {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 56px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.cta-box p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.btn-white {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  background: var(--white);
  padding: 14px 36px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition:
    transform 0.15s,
    box-shadow 0.15s;
  position: relative;
  z-index: 1;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cta-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin: 16px 0 0;
  position: relative;
  z-index: 1;
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  background: var(--form-bg);
  padding: 32px 0;
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-container p {
  font-size: 13px;
  color: var(--muted);
}

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

.footer-links a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.15s;
}

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

/* ── Responsive ── */
@media (max-width: 600px) {
  .prose p,
  .prose li {
    font-size: 16px;
  }

  .guide-lead {
    font-size: 17px;
  }

  .prose h2 {
    margin-top: 44px;
  }

  .cta-box {
    padding: 40px 20px;
  }

  .cta-section {
    padding: 56px 0 64px;
  }

  .table-wrap table {
    min-width: 0;
  }

  .table-wrap th,
  .table-wrap td {
    padding: 10px 10px;
    font-size: 13px;
  }

  .table-wrap tbody th {
    width: 26%;
  }

  .video-play {
    width: 60px;
    height: 60px;
    font-size: 20px;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Nav: compact single row, same approach as the landing page */
  .nav-container {
    flex-wrap: nowrap;
  }

  .nav-guides {
    display: none;
  }

  .logo {
    font-size: 15px;
    gap: 6px;
  }

  .logo-box {
    width: 30px;
    height: 30px;
    font-size: 15px;
  }

  .dot-com {
    display: none;
  }

  .btn-primary {
    padding: 9px 16px;
    font-size: 13px;
  }

  .prose .btn-primary {
    padding: 14px 24px;
    font-size: 16px;
  }

  .btn-secondary {
    padding: 9px 10px;
  }

  .btn-label-full {
    display: none;
  }

  .btn-primary .btn-label-short {
    display: inline;
  }
}

@media (max-width: 360px) {
  .btn-secondary {
    padding: 8px 9px;
  }

  .btn-primary {
    padding: 8px 12px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
