:root {
  color-scheme: light;
  --blue: #0047ab; /* Cobalt Blue */
  --navy: #0f2a52; /* deep headline blue */
  --blue-light: #d3e0f5;
  --sky-top: #eaf1fc;
  --sky-bottom: #ffffff;
  --ink: #22292f;
  --muted: #5b6670;
  --bg: #fafbfc;
  --card-bg: #ffffff;
  --border: #e1e6ea;
  --error: #b3261e;
  --gold: #f0ac3f; /* matches the logo's rising-wave accent */
  --gold-ink: #4a3200;
}

/* Site is designed as a single light theme - the brand system built across
   the whole redesign (homepage sections, all Learn articles, Learn hub,
   About page) uses fixed hex text colors, not these CSS variables. Letting
   only *some* older components flip their background/border to dark via
   prefers-color-scheme while their text stayed hardcoded-dark made large
   amounts of text unreadable (near-black on near-black) for visitors with
   a dark OS/browser theme. color-scheme: light above, plus intentionally
   NOT reintroducing a dark @media override, keeps every page consistently
   light regardless of device theme - do not add prefers-color-scheme dark
   overrides back without also auditing every hardcoded text color in the
   sections added this session. */

* { box-sizing: border-box; }

[hidden] { display: none !important; }

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

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 0;
}

.nav-logo {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--blue);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo img {
  height: 44px;
  width: auto;
  display: block;
}

.nav-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
}

.nav-wordmark-gold {
  color: #d9922a;
}

.nav-wordmark small {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem 1.5rem;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.nav-active {
  color: var(--blue);
}

.nav-links a.nav-cta {
  background: linear-gradient(135deg, var(--blue), #2f6fd6);
  color: white;
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
}

.nav-links a.nav-cta:hover,
.nav-links a.nav-cta.nav-active {
  color: white;
  opacity: 0.9;
}

.site-header,
.page-header {
  text-align: center;
  padding: 2rem 1rem 1.5rem;
}

.wordmark {
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue);
}

.tagline {
  color: var(--muted);
  margin-top: 0.25rem;
}

.hero {
  text-align: center;
  padding: 3rem 1rem 2.5rem;
  max-width: 700px;
  margin: 0 auto;
}

.hero .wordmark {
  font-size: 2.75rem;
}

.hero-logo {
  height: 90px;
  width: auto;
}

.hero-tagline {
  font-size: 1.15rem;
  color: var(--ink);
  margin-top: 0.5rem;
}

.hero-sub {
  color: var(--muted);
  margin-top: 1rem;
  line-height: 1.6;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  text-decoration: none;
  border-radius: 8px;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  margin-top: 1.5rem;
}

.btn-primary {
  background: var(--blue);
  color: white;
}
.btn-primary:hover { opacity: 0.9; }

.btn-secondary {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
  margin-top: 1rem;
}
.btn-secondary:hover { opacity: 0.85; }

.btn-finish {
  display: inline-block;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.75rem;
  font-weight: 700;
  margin-top: 1rem;
  background: var(--gold);
  color: var(--gold-ink);
}
.btn-finish:hover { opacity: 0.88; }

main {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
}

.value-props {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .value-props { flex-direction: row; }
}

.value-prop { flex: 1; }
.value-prop h3 {
  color: var(--blue);
  font-size: 1rem;
  margin-bottom: 0.4rem;
}
.value-prop p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1rem 0 0.5rem;
}

.article-card {
  display: block;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  color: var(--ink);
}

.article-card:hover { border-color: var(--blue); }

.article-card strong {
  display: block;
  color: var(--blue);
  margin-bottom: 0.3rem;
}

.article-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.video-card { cursor: default; }
.video-card:hover { border-color: var(--border); }

.coming-soon {
  display: inline-block;
  color: var(--muted);
  font-weight: 400;
  font-size: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.1rem 0.6rem;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.article-body {
  line-height: 1.7;
}

.article-body h1 { font-size: 1.6rem; }
.article-body h2 { font-size: 1.25rem; margin-top: 1.75rem; }
.article-body p { margin: 1rem 0; }
.article-body ul, .article-body ol { padding-left: 1.4rem; }
.article-body a { color: var(--blue); }

.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  margin: 1.5rem 0;
  border-radius: 10px;
  overflow: hidden;
}

.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

h2 {
  margin-top: 0;
}

.hint {
  color: var(--muted);
  font-size: 0.92rem;
}

.field {
  display: block;
  margin-bottom: 1.25rem;
}

.field span {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.field input[type="file"],
.field textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--bg);
  color: var(--ink);
}

.mode-choices {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 560px) {
  .mode-choices { flex-direction: row; flex-wrap: wrap; }
}

.mode-btn {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  text-align: left;
  text-decoration: none;
  background: var(--bg);
  color: var(--ink);
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  font-weight: 400;
  cursor: pointer;
}

.mode-btn:hover {
  border-color: var(--blue);
  opacity: 1;
}

.mode-btn strong {
  font-size: 1.05rem;
  color: var(--blue);
}

.mode-btn span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.checkbox-field input { width: auto; }

button {
  background: var(--blue);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
button:hover { opacity: 0.9; }
button:disabled { opacity: 0.5; cursor: not-allowed; }

.error {
  color: var(--error);
  margin-top: 0.75rem;
  font-size: 0.92rem;
}

/* --- Processing/waiting state, shared across all tools (loading.js) --- */

.processing-card {
  text-align: center;
  padding: 0.5rem 0.5rem 0.25rem;
}

.processing-headline {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 1.25rem;
}

.processing-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.processing-icon svg {
  width: 34px;
  height: 34px;
  display: block;
}

.processing-icon-done {
  opacity: 0.4;
}

.processing-dots {
  display: flex;
  gap: 6px;
}

.processing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.3;
}

@media (prefers-reduced-motion: no-preference) {
  .processing-dot {
    animation: processing-pulse 1.4s ease-in-out infinite;
  }
  .processing-dot:nth-child(2) { animation-delay: 0.2s; }
  .processing-dot:nth-child(3) { animation-delay: 0.4s; }

  .processing-icon-done {
    animation: processing-glow 3s ease-in-out infinite;
  }

  .processing-status {
    transition: opacity 0.2s ease;
  }

  .processing-status-fade {
    opacity: 0;
  }
}

@keyframes processing-pulse {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.85); }
  40% { opacity: 1; transform: scale(1.1); }
}

@keyframes processing-glow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.9; }
}

.processing-status {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  min-height: 1.4em;
  margin: 0 0 0.75rem;
}

.processing-wait-copy {
  margin: 0;
}

.processing-wait-copy strong {
  color: var(--blue);
}

.success {
  color: var(--blue);
  margin-top: 0.75rem;
  font-size: 0.92rem;
}

#match-level-badge {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 800;
  padding: 0.3rem 1rem;
  border-radius: 8px;
  background: var(--blue-light);
  color: var(--ink);
  margin-bottom: 0.5rem;
}

#match-level-badge.match-level-low {
  background: #fbe4e2;
  color: #8a241c;
}

#match-level-badge.match-level-average {
  background: #fbe8c8;
  color: var(--gold-ink);
}

#match-level-badge.match-level-high {
  background: #d7f0da;
  color: #1b5e28;
}

.report-block {
  margin-top: 1.5rem;
}

.report-block h3 {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.report-block ul {
  padding-left: 1.2rem;
}

.report-block li {
  margin-bottom: 0.5rem;
}

.gap-status {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-right: 0.4rem;
}

.flag-term {
  font-weight: 700;
}

.question-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.question-card p {
  margin-top: 0;
  font-weight: 600;
}

.question-options {
  display: flex;
  gap: 1.5rem;
}

.question-options label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  font-weight: 400;
}

footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  padding: 1.5rem 1rem 2.5rem;
}

/* Minimal footer used on the homepage and Learn hub (other pages keep the plain footer above) */
footer.site-footer-v2 {
  background: var(--card-bg);
  border-top: 1px solid #e8ebf0;
  padding: 3rem 1.5rem;
}

.site-footer-inner {
  max-width: 560px;
  margin: 0 auto;
}

.site-footer-brand {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: #101318;
}

.site-footer-tagline {
  margin: 0 0 18px;
  font-size: 14px;
  color: #626b78;
}

.site-footer-privacy {
  margin: 0;
  font-size: 13.5px;
  color: #626b78;
}

/* --- Start-from-scratch wizard --- */

.wizard-progress {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
}

.wizard-step-label {
  color: var(--muted);
}

.wizard-step-label.active {
  color: var(--blue);
  font-weight: 700;
}

.field-row {
  display: flex;
  gap: 1rem;
}

.field-row .field {
  flex: 1;
}

.entry-form-card {
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  margin-top: 1rem;
}

.entry-form-card h3 {
  margin-top: 0;
  font-size: 1rem;
}

.button-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.button-row .btn-secondary {
  margin-top: 0;
}

.entry-summary-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}

.entry-summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.entry-remove-btn {
  background: transparent;
  color: var(--error);
  border: 1px solid var(--error);
  border-radius: 6px;
  padding: 0.2rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.tag-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 1.5rem;
}

.skill-tag {
  background: var(--blue-light);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.35rem 0.5rem 0.35rem 0.9rem;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.skill-tag button {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 0.2rem;
}

/* --- Homepage: wide marketing layout --- */

.home-main {
  max-width: 1120px;
}

.home-hero {
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bottom) 65%);
  padding: 2.5rem 1.5rem 3rem;
}

.home-hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .home-hero-inner { grid-template-columns: 1.1fr 1fr; }
}

.hero-h1-v2 {
  margin: 0 0 24px;
  max-width: 620px;
  font-size: 36px;
  font-weight: 750;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

@media (min-width: 640px) {
  .hero-h1-v2 { font-size: 56px; }
}

.hero-h1-line1,
.hero-h1-line2 {
  display: block;
}

.hero-h1-line1 { color: #102d55; }
.hero-h1-line2 { color: #e2a126; }

.home-hero-philosophy {
  margin: 0 0 14px;
  max-width: 590px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: #0847c7;
}

.home-hero-sub {
  margin: 0;
  max-width: 590px;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.55;
  color: #404957;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
}

.hero-ctas .btn-primary,
.hero-ctas .btn-secondary {
  margin-top: 0;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: none;
}

.hero-ctas .btn-primary {
  background: #0847c7;
  border: none;
  transition: background 0.2s ease;
}

.hero-ctas .btn-primary:hover {
  background: #063594;
  opacity: 1;
}

.hero-ctas .btn-secondary {
  background: #e2a126;
  color: #101318;
  border: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-ctas .btn-secondary:hover {
  background: #c78a17;
  color: #101318;
  opacity: 1;
  transform: translateY(-2px);
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary {
    width: 100%;
    text-align: center;
  }
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin-top: 34px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.trust-badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff7e8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-badge-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.trust-badge strong {
  display: block;
  color: #101318;
  font-size: 14.5px;
  font-weight: 700;
}

.trust-badge span {
  color: #626b78;
  font-size: 13.5px;
  font-weight: 400;
}

/* Hero illustration - built from CSS shapes and floating cards, no photography */

.hero-art {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0.5rem;
}

.hero-art-blob {
  position: absolute;
  inset: 4%;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--blue-light), #fbe4bd 90%);
  opacity: 0.45;
  z-index: 0;
}

.hero-photo {
  position: absolute;
  z-index: 1;
  inset: 2% 4% 22%;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 55px rgba(15, 42, 82, 0.22);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

@media (max-width: 859px) {
  .hero-photo img { object-position: 65% top; }
}

.floating-card {
  position: relative;
  z-index: 2;
  width: 272px;
  max-width: 78%;
  margin-left: 12%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(9, 35, 75, 0.14);
  padding: 1.5rem 1.6rem;
}

.floating-card-accent {
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: var(--gold);
  margin-bottom: 0.9rem;
}

.floating-card-eyebrow {
  margin: 0 0 0.9rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.resume-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
}

.resume-checklist li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0;
  color: var(--ink);
}

.resume-checklist li::before {
  content: "✓";
  color: var(--blue);
  font-weight: 800;
}

.floating-card-secondary {
  position: absolute;
  z-index: 3;
  right: -0.75rem;
  bottom: -1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 16px;
  box-shadow: 0 16px 35px rgba(9, 35, 75, 0.12);
  padding: 0.85rem 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  max-width: 10rem;
}

@media (max-width: 859px) {
  .floating-card-secondary { display: none; }
}

.floating-card-secondary-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

/* --- Guide: homepage teaser + modal (deterministic nav assistant, V1) --- */

.guide-teaser {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem 2.5rem;
}

.guide-teaser-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, var(--sky-top) 0%, #f4f8fd 100%);
  border: 1px solid var(--blue-light);
  border-radius: 16px;
  padding: 1.75rem 2rem;
}

.guide-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff7e8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guide-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

/* Larger variant, scoped to the homepage teaser only - the same icon in
   Guide's modal header stays at its original size. */
.guide-icon-lg {
  width: 72px;
  height: 72px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(8, 71, 199, 0.12);
}

.guide-icon-lg svg {
  width: 38px;
  height: 38px;
}

.guide-mascot {
  width: 110px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
  cursor: pointer;
  border-radius: 50%;
  filter: drop-shadow(0 0 0 rgba(8, 71, 199, 0));
  transition: filter 0.2s ease;
}

.guide-mascot:hover,
.guide-mascot:focus-visible {
  filter: drop-shadow(0 0 10px rgba(8, 71, 199, 0.35));
}

@media (prefers-reduced-motion: no-preference) {
  .guide-mascot {
    transition: filter 0.2s ease, transform 0.2s ease;
  }
  .guide-mascot:hover,
  .guide-mascot:focus-visible {
    transform: scale(1.04);
  }
}

.guide-mascot:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

@media (max-width: 640px) {
  .guide-mascot {
    width: 80px;
  }
}

.guide-eyebrow {
  margin: 0 0 0.3rem;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.guide-teaser-text {
  flex: 1 1 320px;
}

.guide-teaser-text h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  color: var(--navy);
  cursor: pointer;
  width: fit-content;
  transition: color 0.2s ease;
}

.guide-teaser-text h2:hover,
.guide-teaser-text h2:focus-visible {
  color: var(--blue);
  text-decoration: underline;
}

.guide-teaser-text h2:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
  border-radius: 4px;
}

.guide-teaser-text p {
  margin: 0;
  color: var(--muted);
}

.guide-cta {
  margin-top: 0;
  flex-shrink: 0;
  background: #0e7c72;
}

.guide-cta:hover {
  background: #0b6259;
  opacity: 1;
}

@media (max-width: 640px) {
  .guide-teaser-inner {
    padding: 1.5rem;
  }

  .guide-cta {
    width: 100%;
    text-align: center;
  }
}

.guide-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 42, 82, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 1000;
}

.guide-modal {
  background: var(--card-bg);
  border-radius: 16px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.75rem;
  position: relative;
}

.guide-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  padding: 0.25rem;
}

.guide-modal-close:hover {
  color: var(--ink);
}

.guide-modal-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-right: 1.5rem;
}

.guide-modal-header h2 {
  margin: 0;
  font-size: 1.3rem;
  color: var(--navy);
}

.guide-modal-descriptor {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0.1rem 0 0;
}

.guide-options {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1rem;
}

.guide-option-btn {
  flex: 0 0 auto;
  width: 100%;
  padding: 1rem 1.25rem;
}

#guide-step-recommendation h3 {
  margin: 0 0 0.5rem;
  color: var(--blue);
}

#guide-step-recommendation p {
  margin: 0 0 1.25rem;
  color: var(--ink);
}

.guide-recommendation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.guide-recommendation-actions .btn-primary,
.guide-recommendation-actions .btn-secondary {
  margin-top: 0;
}

/* "Why Creating Tomorrow Is Different" - minimal, premium, no icons */

.value-section {
  background: #fffdf8;
  padding: 3rem 0 80px;
}

@media (max-width: 719px) {
  .value-section { padding-bottom: 56px; }
}

.value-section-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.value-section-header {
  margin-bottom: 34px;
}

.value-section-header h2 {
  margin: 0;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--ink);
}

@media (max-width: 719px) {
  .value-section-header h2 { font-size: 28px; }
}

.value-quote-block {
  margin-top: 18px;
}

.value-quote-accent {
  display: block;
  width: 32px;
  height: 2px;
  background: #e2a126;
  margin-bottom: 12px;
}

.value-quote {
  margin: 0;
  max-width: 650px;
  font-size: 19px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: #3e4653;
}

@media (max-width: 719px) {
  .value-quote { font-size: 17px; }
}

.value-quote-attribution {
  margin: 8px 0 0;
  font-size: 13.5px;
  font-weight: 600;
  font-style: normal;
  color: #0847c7;
}

.brand-philosophy-desc {
  margin: 14px 0 0;
  max-width: 560px;
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
  color: #404957;
}

.principles-row {
  display: flex;
  flex-direction: column;
}

@media (min-width: 720px) {
  .principles-row { flex-direction: row; }
}

.principle {
  flex: 1;
  padding: 32px 0;
}

@media (min-width: 720px) {
  .principle {
    padding: 0 40px;
    border-left: 1px solid #e4e8ef;
  }
  .principle:first-child {
    padding-left: 0;
    border-left: none;
  }
}

@media (max-width: 719px) {
  .principle {
    border-top: 1px solid #e4e8ef;
  }
  .principle:first-child { border-top: none; padding-top: 0; }
}

.principle-number {
  display: block;
  margin-bottom: 10px;
  font-size: 21px;
  font-weight: 600;
  color: #e2a126;
}

.principle-label {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0847c7;
}

@media (max-width: 719px) {
  .principle-label { font-size: 12.5px; }
}

.principle h3 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: #101318;
}

@media (max-width: 719px) {
  .principle h3 { font-size: 21px; }
}

.principle-desc {
  margin: 0;
  max-width: 300px;
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.55;
  color: #4d5663;
}

/* Learn section teaser - minimal, no thumbnails/color blocks */

.learn-section-v2 {
  background: #ffffff;
  padding: 3rem 0;
}

.learn-section-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.learn-section-header h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  color: #101318;
}

@media (max-width: 719px) {
  .learn-section-header h2 { font-size: 28px; }
}

.learn-section-sub {
  margin: 0.5rem 0 0;
  font-size: 16px;
  color: #626b78;
}

.learn-teaser-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 28px;
}

@media (min-width: 560px) {
  .learn-teaser-grid { grid-template-columns: repeat(2, 1fr); }
}

.learn-teaser-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  background: #ffffff;
  border: 1px solid #e1e6ee;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(15, 32, 60, 0.05);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

@media (hover: hover) {
  .learn-teaser-card:hover {
    transform: translateY(-4px);
    border-color: rgba(8, 71, 199, 0.35);
    box-shadow: 0 16px 38px rgba(15, 32, 60, 0.1);
  }
}

.learn-teaser-accent {
  display: block;
  width: 24px;
  height: 2px;
  background: #e2a126;
  margin-bottom: 12px;
}

.learn-teaser-label {
  margin: 0 0 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0847c7;
}

.learn-teaser-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: #101318;
}

.learn-teaser-desc {
  margin: 0 0 16px;
  font-size: 15.5px;
  line-height: 1.5;
  color: #4d5663;
  flex: 1;
}

.learn-teaser-read {
  font-size: 14.5px;
  font-weight: 700;
  color: #0847c7;
}

.learn-teaser-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.learn-teaser-card:hover .learn-teaser-arrow {
  transform: translateX(3px);
}

.learn-see-all {
  display: inline-block;
  margin-top: 24px;
  font-size: 15px;
  font-weight: 600;
  color: #0847c7;
  text-decoration: none;
}

/* Final CTA */

.final-cta {
  max-width: 1120px;
  margin: 0 auto 3rem;
  padding: 1.5rem;
}

.final-cta-inner {
  background: linear-gradient(135deg, #f7f9fc, #fff9ee);
  border-radius: 18px;
  padding: 46px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.final-cta-text {
  flex: 1 1 320px;
}

.final-cta-accent {
  display: block;
  width: 30px;
  height: 2px;
  background: #e2a126;
  margin-bottom: 14px;
}

.final-cta-text h2 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 700;
  color: #101318;
}

.final-cta-text p {
  margin: 0;
  font-size: 17px;
  color: #404957;
}

.final-cta .hero-ctas {
  margin-top: 0;
  flex: 0 0 auto;
}

/* ===== Rich article template ("What Is an ATS, Really?" and other Learn ===== */
/* ===== articles that use the custom .ats-* layout instead of markdown.) ===== */

.ats-article {
  max-width: 780px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 2rem;
}

.ats-back-link {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 14px;
  font-weight: 600;
  color: #0847c7;
  text-decoration: none;
}

.ats-header { margin-bottom: 40px; }

.ats-category {
  margin: 0 0 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0847c7;
}

.ats-header-accent {
  display: block;
  width: 32px;
  height: 3px;
  background: #e2a126;
  margin-bottom: 18px;
}

.ats-header h1 {
  margin: 0 0 18px;
  font-size: 36px;
  font-weight: 750;
  line-height: 1.05;
  color: #101318;
}

@media (min-width: 640px) {
  .ats-header h1 { font-size: 52px; }
}

.ats-subtitle {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.5;
  color: #404957;
}

.ats-readtime {
  margin: 0;
  font-size: 13.5px;
  color: #8a92a0;
}

.ats-body {
  font-size: 17px;
  line-height: 1.75;
  color: #303844;
}

@media (min-width: 640px) {
  .ats-body { font-size: 17.5px; }
}

.ats-body > p { margin: 0 0 24px; }

.ats-body h2 {
  margin: 54px 0 22px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: #101318;
}

@media (min-width: 640px) {
  .ats-body h2 { font-size: 30px; margin-top: 60px; }
}

.ats-body h3 {
  margin: 34px 0 14px;
  font-size: 21px;
  font-weight: 700;
  color: #063594;
}

.ats-body ul {
  margin: 0 0 24px;
  padding-left: 1.3rem;
}

.ats-body li { margin-bottom: 8px; }

.ats-body em {
  font-style: normal;
  color: #626b78;
  font-size: 0.92em;
}

.ats-body a { color: #0847c7; }

/* Opening summary card */
.ats-callout-summary {
  background: #eef1f6;
  border-left: 3px solid #0847c7;
  border-radius: 12px;
  padding: 24px 26px;
  margin: 8px 0 32px;
}

.ats-callout-summary p {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  color: #101318;
}

.ats-callout-summary p + p { margin-top: 4px; }

/* Key takeaway callouts - lighter than the opening summary card */
.ats-callout {
  background: #fbfcfe;
  border-left: 3px solid #e2a126;
  border-radius: 12px;
  padding: 22px 26px;
  margin: 8px 0 32px;
}

.ats-callout p {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #101318;
}

/* Unclear / Clearer comparison blocks */
.ats-compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 8px 0 24px;
}

@media (min-width: 560px) {
  .ats-compare { grid-template-columns: 1fr 1fr; }
}

.ats-compare-col { border-radius: 12px; padding: 18px 20px; }
.ats-compare-unclear { background: #f2f3f5; }
.ats-compare-clear { background: #fdf6e8; }

.ats-compare-label {
  margin: 0 0 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ats-compare-unclear .ats-compare-label { color: #8a92a0; }
.ats-compare-clear .ats-compare-label { color: #0847c7; }

.ats-compare-col p:last-child {
  margin: 0;
  font-size: 16px;
  color: #101318;
}

/* Checklist with cobalt checkmarks */
.ats-checklist { list-style: none; padding: 0; }

.ats-checklist li {
  padding-left: 1.6rem;
  position: relative;
}

.ats-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #0847c7;
  font-weight: 700;
}

/* Final takeaway section */
.ats-takeaway {
  max-width: 780px;
  margin: 0 auto 3rem;
  padding: 40px 24px;
  background: linear-gradient(135deg, #f7f9fc, #fff9ee);
  border-radius: 18px;
}

@media (min-width: 640px) {
  .ats-takeaway { padding: 48px 44px; }
}

.ats-takeaway h2 {
  margin: 0 0 16px;
  font-size: 26px;
  font-weight: 700;
  color: #101318;
}

@media (min-width: 640px) {
  .ats-takeaway h2 { font-size: 28px; }
}

.ats-takeaway > p {
  margin: 0 0 24px;
  font-size: 17.5px;
  line-height: 1.6;
  color: #303844;
}

.ats-takeaway-list { list-style: none; padding: 0; margin: 0 0 32px; }

.ats-takeaway-list li {
  padding: 10px 0;
  font-size: 18px;
  font-weight: 600;
  color: #101318;
  border-top: 1px solid rgba(16, 19, 24, 0.08);
}

@media (min-width: 640px) {
  .ats-takeaway-list li { font-size: 19px; }
}

.ats-takeaway-list li:first-child { border-top: none; }

.ats-takeaway-final {
  margin: 0;
  font-size: 22px;
  font-weight: 750;
}

@media (min-width: 640px) {
  .ats-takeaway-final { font-size: 26px; }
}

.ats-cobalt { color: #0847c7; }
.ats-gold { color: #e2a126; }
.ats-ink { color: #101318; }
.ats-muted { color: #8a92a0; }

/* Sources accordion - native <details>, no custom JS needed for a11y */
.ats-sources {
  border-top: 1px solid #e4e8ef;
  border-bottom: 1px solid #e4e8ef;
  padding: 4px 0;
  margin: 0 0 2rem;
}

.ats-sources summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 20px 4px;
  cursor: pointer;
  list-style: none;
}

.ats-sources summary::-webkit-details-marker { display: none; }

.ats-sources-title {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #101318;
}

.ats-sources-sub {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: #626b78;
}

.ats-chevron {
  flex-shrink: 0;
  color: #0847c7;
  transition: transform 0.2s ease;
}

.ats-sources[open] .ats-chevron { transform: rotate(180deg); }

.ats-sources-body {
  padding: 4px 4px 22px;
  font-size: 14.5px;
  color: #404957;
}

.ats-sources-body h3 {
  margin: 20px 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0847c7;
}

.ats-sources-body h3:first-child { margin-top: 0; }

.ats-sources-body ul { margin: 0 0 4px; padding-left: 1.2rem; }
.ats-sources-body li { margin-bottom: 8px; line-height: 1.5; }
.ats-sources-body a { color: #0847c7; }

/* Footer CTA reuses .final-cta/.hero-ctas from the homepage, just narrower */
.ats-final-cta {
  max-width: 780px;
  margin: 0 auto 2.5rem;
  padding: 0 1.5rem;
}

.ats-next-link {
  display: block;
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
  font-size: 15px;
  font-weight: 600;
  color: #0847c7;
  text-decoration: none;
}

@media (max-width: 639px) {
  .ats-article { padding: 2rem 1.25rem 1.5rem; }
}

/* ===== Additional shared components (used by the calling-card article) ===== */

/* Reflection mini-prompts - light editorial layout, no cards */
.ats-prompts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px 32px;
  margin: 8px 0 28px;
}

@media (min-width: 560px) {
  .ats-prompts { grid-template-columns: 1fr 1fr; }
}

.ats-prompt-num {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #e2a126;
}

.ats-prompt-q {
  margin: 0 0 6px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0847c7;
}

.ats-prompt p:last-child { margin: 0; font-size: 15.5px; color: #404957; }

/* Scannable category grid ("What Should You Actually Keep Track Of?") */
.ats-track-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 8px 0 28px;
}

@media (min-width: 560px) {
  .ats-track-grid { grid-template-columns: 1fr 1fr; }
}

.ats-track-item { background: #f2f3f5; border-radius: 12px; padding: 16px 18px; }

.ats-track-label {
  margin: 0 0 6px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #063594;
}

.ats-track-item p:last-child { margin: 0; font-size: 15px; color: #404957; }

/* 3-step process (Capture / Review / Refresh) - minimal typographic progression */
.ats-progression {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 24px 0 32px;
}

@media (min-width: 640px) {
  .ats-progression { flex-direction: row; justify-content: center; gap: 16px; }
}

.ats-progression-step {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0847c7;
}

.ats-progression-connector {
  width: 2px;
  height: 20px;
  background: #e2a126;
}

@media (min-width: 640px) {
  .ats-progression-connector { width: 32px; height: 2px; }
}

.ats-progression-label {
  margin: 32px 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0847c7;
}

.ats-step-example {
  background: #eef1f6;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14.5px;
  font-style: italic;
  color: #303844;
}

/* Career archive -> application resume flow */
.ats-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 20px 0 28px;
  text-align: center;
}

.ats-flow-box {
  width: 100%;
  max-width: 420px;
  background: #f7f9fc;
  border-radius: 12px;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: #101318;
}

.ats-flow-box.ats-flow-highlight { background: #fdf6e8; color: #063594; }

.ats-flow-arrow { color: #0847c7; font-size: 20px; line-height: 1.4; }

/* Research / practice / folklore credibility spectrum */
.ats-spectrum {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 20px 0 8px;
}

@media (min-width: 560px) {
  .ats-spectrum { grid-template-columns: 1fr 1fr 1fr; }
}

.ats-spectrum-item {
  border-radius: 10px;
  padding: 14px 16px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ats-spectrum-research { background: #eef1f6; color: #0847c7; }
.ats-spectrum-practice { background: #fdf6e8; color: #101318; }
.ats-spectrum-folklore { background: #f2f3f5; color: #8a92a0; }

/* Interactive (unsaved) resume-check checklist */
.ats-check {
  list-style: none;
  padding: 0;
  margin: 8px 0 20px;
  background: #fff9ee;
  border: 1px solid #e8e2d5;
  border-radius: 16px;
  overflow: hidden;
}

.ats-check li { border-bottom: 1px solid rgba(16, 19, 24, 0.06); }
.ats-check li:last-child { border-bottom: none; }

.ats-check label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  font-size: 15.5px;
  color: #101318;
  cursor: pointer;
}

.ats-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #0847c7;
  flex-shrink: 0;
}

/* Story Bank - short-label editorial grid with small gold accents */
.ats-tag-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 18px;
  margin: 8px 0 24px;
}

@media (min-width: 560px) {
  .ats-tag-grid { grid-template-columns: repeat(3, 1fr); }
}

.ats-tag-item {
  position: relative;
  padding-left: 16px;
  font-size: 15.5px;
  font-weight: 600;
  color: #101318;
}

.ats-tag-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 2px;
  background: #e2a126;
}

/* Horizontal wrapping tag list ("what this demonstrates") */
.ats-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 0 0 24px;
}

.ats-tag {
  background: #eef1f6;
  color: #0847c7;
  font-size: 13.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
}

/* Small secondary labels above STAR flow boxes */
.ats-flow-secondary {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a92a0;
}

/* Flow-box text color modifiers (default is near-black) */
.ats-flow-box.ats-flow-text-cobalt { color: #0847c7; }
.ats-flow-box.ats-flow-text-gold { color: #e2a126; }

/* Mutual-evaluation symmetric pairs ("Interviews Work Both Ways") */
.ats-mutual {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 20px 0 28px;
}

@media (min-width: 560px) {
  .ats-mutual { grid-template-columns: 1fr 1fr; }
}

.ats-mutual-pair {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: #f7f9fc;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  font-weight: 700;
  color: #101318;
}

.ats-mutual-verb {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a92a0;
}

/* ===== Learn hub (learn.html) - premium resource-library redesign ===== */

.learn-hub-hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 72px 1.5rem 8px;
  text-align: center;
}

.learn-hub-hero h1 {
  margin: 0 0 16px;
  font-size: 42px;
  font-weight: 700;
  color: #101318;
}

@media (min-width: 640px) {
  .learn-hub-hero h1 { font-size: 48px; }
}

.learn-hub-subtitle {
  max-width: 620px;
  margin: 0 auto;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: #4d5663;
}

.learn-hub-main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.learn-hub-intro {
  text-align: center;
  margin: 40px 0 40px;
}

.learn-hub-intro-accent {
  display: block;
  width: 30px;
  height: 2px;
  background: #e2a126;
  margin: 0 auto 14px;
}

.learn-hub-kicker {
  margin: 0 0 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0847c7;
}

.learn-hub-intro-sub {
  margin: 0;
  font-size: 15.5px;
  color: #626b78;
}

.learn-hub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 640px) {
  .learn-hub-grid { grid-template-columns: repeat(2, 1fr); }
}

.learn-hub-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  background: #ffffff;
  border: 1px solid #e1e6ee;
  border-radius: 18px;
  padding: 32px;
  min-height: 220px;
  box-shadow: 0 10px 30px rgba(15, 32, 60, 0.05);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.learn-hub-card:focus-visible {
  outline: 2px solid #0847c7;
  outline-offset: 3px;
}

@media (hover: hover) {
  .learn-hub-card:hover {
    transform: translateY(-4px);
    border-color: rgba(8, 71, 199, 0.3);
    box-shadow: 0 16px 38px rgba(15, 32, 60, 0.1);
  }
}

.learn-hub-card-accent {
  display: block;
  width: 26px;
  height: 2px;
  background: #e2a126;
  margin-bottom: 14px;
}

.learn-hub-card-category {
  margin: 0 0 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0847c7;
}

.learn-hub-card h2 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: #101318;
}

.learn-hub-card-desc {
  margin: 0 0 20px;
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.55;
  color: #4d5663;
  flex: 1;
}

.learn-hub-card-read {
  font-size: 14.5px;
  font-weight: 700;
  color: #0847c7;
}

.learn-hub-card-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.learn-hub-card:hover .learn-hub-card-arrow {
  transform: translateX(3px);
}

@media (max-width: 639px) {
  .learn-hub-hero { padding: 40px 20px 4px; }
  .learn-hub-hero h1 { font-size: 38px; }
  .learn-hub-main { padding: 0 20px 3rem; }
  .learn-hub-card { padding: 28px; }
}

/* ===== About page (about.html) - editorial mission/founder page ===== */

.about-hero {
  padding: 88px 1.5rem 8px;
  text-align: center;
  background: #ffffff;
}

.about-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.about-hero h1 {
  margin: 0 0 20px;
  font-size: 40px;
  font-weight: 700;
  color: #101318;
}

@media (min-width: 640px) {
  .about-hero h1 { font-size: 48px; }
}

.about-hero-primary {
  margin: 0 auto 18px;
  max-width: 620px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: #063594;
}

@media (min-width: 640px) {
  .about-hero-primary { font-size: 27px; }
}

.about-main { background: #ffffff; }

.about-section { padding: 80px 0; }

@media (max-width: 719px) {
  .about-section { padding: 56px 0; }
}

.about-section-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.about-inner-narrow {
  max-width: 720px;
  margin: 0 auto;
}

.about-inner-center { text-align: center; }

.about-section p {
  margin: 0 0 20px;
  font-size: 17px;
  line-height: 1.7;
  color: #303844;
}

/* The closing brand-voice quote gets its own visual pause - centered,
   set off by a top border - rather than blending into the paragraph
   flow above it, since it's meant to read as a distinct closing beat. */
.about-section p.about-editorial-line {
  max-width: 640px;
  margin: 56px auto 0;
  padding-top: 40px;
  border-top: 1px solid #e4e8ef;
  text-align: center;
  font-size: 21px;
  font-style: italic;
  line-height: 1.5;
  color: #063594;
}

.about-closing-line {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem 64px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #8a92a0;
}

@media (max-width: 639px) {
  .about-hero { padding: 48px 20px 4px; }
  .about-hero h1 { font-size: 34px; }
  .about-hero-primary { font-size: 21px; }
  .about-section-inner { padding: 0 20px; }
  .about-section p.about-editorial-line { margin-top: 40px; padding-top: 28px; font-size: 19px; }
}

/* --- Spotlight (LinkedIn Profile Review) --- */

.guide-intro-line {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.guide-intro-line p {
  margin: 0;
  color: var(--muted);
}

.privacy-note {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
}

.input-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.input-option-toggle {
  width: 100%;
  text-align: left;
}

.input-option-panel {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  margin-top: -0.25rem;
  background: var(--bg);
}

.screenshot-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.screenshot-thumb {
  position: relative;
  width: 96px;
}

.screenshot-thumb img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: block;
}

.screenshot-thumb-remove {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--card-bg);
  color: var(--error);
  border: 1px solid var(--error);
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.report-block h4 {
  margin: 1rem 0 0.4rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
}

.suggested-text-block {
  background: var(--blue-light);
  border-radius: 8px;
  padding: 1rem;
  margin: 0.5rem 0;
}

.suggested-text-block h4 {
  margin-top: 0;
}

.suggested-text-block p {
  margin: 0 0 0.75rem;
}

.copy-btn {
  padding: 0.35rem 0.9rem;
  font-size: 0.85rem;
  margin-top: 0;
}

.strength-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}

.strength-card h4 {
  margin: 0 0 0.4rem;
  color: var(--blue);
  letter-spacing: 0.04em;
}

.strength-card p {
  margin: 0;
  color: var(--muted);
  font-style: italic;
}

@media (max-width: 640px) {
  .screenshot-thumb,
  .screenshot-thumb img {
    width: 80px;
    height: 80px;
  }
}
