:root {
  color-scheme: light;
  --bg: #f7f8f4;
  --ink: #17211c;
  --muted: #66736c;
  --line: #dce3dc;
  --teal: #0f766e;
  --gold: #b7791f;
  --paper: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.6; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
.site-header, main, footer { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.1rem; }
.brand-mark { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; background: var(--teal); color: white; }
nav { display: flex; gap: 20px; flex-wrap: wrap; }
nav a { color: #2d3b34; font-weight: 650; }
.hero { min-height: calc(100vh - 112px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: 48px; align-items: center; padding: 32px 0 72px; }
.hero h1 { font-size: clamp(2.35rem, 6vw, 5.4rem); line-height: .98; margin: 0; letter-spacing: 0; max-width: 780px; }
.hero p { font-size: 1.12rem; color: var(--muted); max-width: 680px; }
.eyebrow { color: var(--gold); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; margin: 0 0 12px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.button { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 8px; font-weight: 800; }
.primary { background: var(--teal); color: white; }
.secondary { color: var(--ink); border: 1px solid var(--line); background: rgba(255,255,255,.7); }
.hero-art { min-height: 480px; position: relative; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(145deg, #ffffff, #eef6f1); overflow: hidden; padding: 32px; }
.hero-art:before { content: ""; position: absolute; inset: 30px; border: 1px solid #cddbd3; border-radius: 8px; background-image: linear-gradient(#dfe9e3 1px, transparent 1px), linear-gradient(90deg, #dfe9e3 1px, transparent 1px); background-size: 36px 36px; opacity: .7; }
.profile-card, .metric { position: relative; background: white; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 24px 60px rgba(21, 48, 38, .12); }
.profile-card { width: min(330px, 100%); padding: 24px; margin: 48px auto 0; }
.profile-card strong { display: block; font-size: 1.5rem; line-height: 1.15; margin-top: 18px; }
.profile-card p { color: var(--muted); margin-bottom: 0; }
.avatar { width: 58px; height: 58px; display: block; border-radius: 8px; background: linear-gradient(135deg, var(--teal), var(--gold)); }
.timeline { position: relative; display: grid; gap: 16px; width: 72%; margin: 34px auto; }
.timeline span { height: 14px; border-radius: 999px; background: #d0e4db; }
.timeline span:nth-child(2) { width: 78%; background: #ecd8b8; }
.timeline span:nth-child(3) { width: 58%; }
.metric { padding: 18px; width: 220px; margin-left: auto; }
.metric b { display: block; font-size: 1.7rem; }
.metric span { color: var(--muted); }
.section { padding: 72px 0; border-top: 1px solid var(--line); }
.section-heading { max-width: 720px; margin-bottom: 26px; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.08; margin: 0 0 14px; }
h3 { margin: 0 0 10px; font-size: 1.22rem; }
.grid { display: grid; gap: 16px; }
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 24px; }
.card p { color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.checklist { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.checklist li { background: white; border-left: 4px solid var(--teal); padding: 14px 16px; border-radius: 6px; }
.content { max-width: 820px; padding: 56px 0 84px; }
.content h1 { font-size: clamp(2.1rem, 5vw, 4rem); line-height: 1.02; margin: 0 0 18px; }
.content p, .content li { color: var(--muted); }
.content article { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 24px; margin-top: 18px; }
.error-page { min-height: calc(100vh - 160px); padding: 42px 0 84px; }
.error-panel { padding: 72px 0 48px; max-width: 780px; }
.error-panel h1 { font-size: clamp(2.2rem, 6vw, 5rem); line-height: 1; margin: 0 0 18px; }
.error-panel p { color: var(--muted); font-size: 1.1rem; max-width: 680px; }
.error-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 32px 0 0; border-top: 0; }
.error-links h2 { font-size: 1.35rem; line-height: 1.2; }
footer { border-top: 1px solid var(--line); min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--muted); }
@media (max-width: 820px) {
  .site-header { align-items: flex-start; flex-direction: column; padding: 18px 0; }
  .hero, .split, .three { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 20px; }
  .hero-art { min-height: 380px; }
  .error-links { grid-template-columns: 1fr; }
  footer { flex-direction: column; align-items: flex-start; padding: 22px 0; }
}

/* Article & Content Enhancements for SEO & E-E-A-T */
.breadcrumbs { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; color: var(--muted); margin-bottom: 20px; flex-wrap: wrap; }
.breadcrumbs a { color: var(--muted); font-weight: 500; }
.breadcrumbs a:hover { color: var(--teal); }
.breadcrumbs span { opacity: 0.6; }
.article-meta { display: flex; gap: 16px; align-items: center; font-size: 0.88rem; color: var(--muted); margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.article-meta strong { color: var(--ink); }
.content h2 { font-size: 1.65rem; margin: 38px 0 16px; color: var(--ink); line-height: 1.25; }
.content h3 { font-size: 1.25rem; margin: 24px 0 12px; color: var(--ink); }
.content p { font-size: 1.05rem; line-height: 1.75; color: #2d3b34; margin: 0 0 18px; }
.content ul, .content ol { font-size: 1.02rem; line-height: 1.75; color: #2d3b34; margin: 0 0 24px; padding-left: 24px; }
.content li { margin-bottom: 8px; }
.callout { background: #f0f7f4; border-left: 4px solid var(--teal); border-radius: 6px; padding: 18px 22px; margin: 28px 0; }
.callout strong { display: block; color: var(--teal); font-size: 1.05rem; margin-bottom: 6px; }
.callout p { margin: 0; font-size: 0.98rem; }
.callout.warning { background: #fef7ee; border-left-color: var(--gold); }
.callout.warning strong { color: #92400e; }
.table-wrap { overflow-x: auto; margin: 28px 0; border: 1px solid var(--line); border-radius: 8px; background: white; }
.comparison-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.95rem; }
.comparison-table th { background: #edf2ee; padding: 12px 16px; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); }
.comparison-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.comparison-table tr:last-child td { border-bottom: none; }
.badge { display: inline-block; padding: 3px 8px; border-radius: 4px; font-size: 0.78rem; font-weight: 700; }
.badge-good { background: #def7ec; color: #03543f; }
.badge-bad { background: #fde8e8; color: #9b1c1c; }
.faq-section { margin-top: 48px; }
.faq-item { background: white; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 14px; overflow: hidden; }
.faq-item summary { padding: 18px 20px; font-weight: 700; font-size: 1.05rem; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--teal); font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-content { padding: 0 20px 20px; color: #374151; font-size: 0.98rem; line-height: 1.7; border-top: 1px solid #f3f4f6; }
.faq-content p { margin: 12px 0 0; }
.author-box { display: flex; gap: 18px; align-items: center; background: white; border: 1px solid var(--line); border-radius: 8px; padding: 22px; margin-top: 44px; }
.author-avatar { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--gold)); display: grid; place-items: center; color: white; font-weight: 800; font-size: 1.3rem; flex-shrink: 0; }
.author-info h4 { margin: 0 0 4px; font-size: 1.05rem; color: var(--ink); }
.author-info p { margin: 0; font-size: 0.88rem; color: var(--muted); line-height: 1.5; }

/* 404 Page Styling Enhancements */
.error-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fef3c7;
  color: #92400e;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 18px;
  border: 1px solid #fde68a;
}
.search-form-404 {
  margin: 32px 0 24px;
  max-width: 620px;
}
.search-input-wrap {
  display: flex;
  gap: 8px;
  background: white;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 6px 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-input-wrap:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}
.search-input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  padding: 8px 12px;
  font-family: inherit;
  color: var(--ink);
  background: transparent;
}
.search-input-wrap .button {
  flex-shrink: 0;
  cursor: pointer;
  border: none;
}
.error-links.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  font-size: 1.25rem;
  background: #f0fdf4;
  color: var(--teal);
}
.card-icon.cv {
  background: #fefce8;
  color: var(--gold);
}
.card-icon.interview {
  background: #eff6ff;
  color: #2563eb;
}
.card a.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  margin-top: 14px;
}
@media (max-width: 820px) {
  .error-links.three-col {
    grid-template-columns: 1fr;
  }
  .search-input-wrap {
    flex-direction: column;
  }
}

/* Top Leaderboard Ad Unit (Seamless & Native Integration) */
.ad-top-wrapper {
  width: min(1120px, calc(100% - 32px));
  margin: 16px auto 24px auto;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.ad-top-wrapper .adsbygoogle {
  display: inline-block;
  width: 728px;
  height: 90px;
  max-width: 100%;
}
@media (max-width: 820px) {
  .ad-top-wrapper {
    margin: 10px auto 18px auto;
  }
}
