/* v2 */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('/src/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/src/fonts/source-serif-4-latin-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/src/fonts/source-serif-4-latin-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/src/fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Design tokens ───────────────────────────────────────────────────────── */
:root {
  --bg:       #fafafa;
  --bg2:      #f3f4f6;
  --surface:  #ffffff;
  --border:   #e5e7eb;
  --text:     #111111;
  --text-mid: #4b5563;
  --text-dim: #9ca3af;
  --accent:   #059669;
  --accent-h: #047857;
  --accent-bg:#d1fae5;
  --radius:   14px;
  --shadow:   0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.06);
  --shadow-h: 0 4px 8px rgba(0,0,0,.08), 0 12px 32px rgba(0,0,0,.1);
  --max:      1120px;
}

/* ── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }

/* ── Layout helpers ──────────────────────────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section    { padding: 24px 0; }
.section--alt { background: var(--bg2); }

/* ── Nav ─────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,250,250,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 0 var(--border), 0 2px 12px rgba(0,0,0,.04);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 16px;
}

/* Logo */
.nav__logo {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0; text-decoration: none;
}
/* object-fit:cover crops the ~15% whitespace on each side of the
   square canvas so the actual logo fills the declared dimensions. */
.nav__logo-img {
  width: 110px; height: 48px; display: block;
  object-fit: cover; object-position: center center;
}
.nav__logo-name { display: flex; align-items: center; gap: 0; white-space: nowrap; }
.nav__logo-name .n-mortal {
  font-size: 42px; font-weight: 800; letter-spacing: -.5px;
  background: linear-gradient(90deg, #4fa3e0, #3b6fd4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav__logo-name .n-jobs {
  font-size: 42px; font-weight: 800; letter-spacing: -.5px;
  background: linear-gradient(90deg, #059669, #047857);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Nav links */
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 15px; font-weight: 600; color: var(--text-mid);
  padding: 5px 10px; border-radius: 8px;
  transition: color .15s, background .15s; white-space: nowrap;
}
.nav__links a:hover { color: var(--text); background: var(--bg2); }
.nav__links a.active { color: var(--accent); background: var(--accent-bg); }

.nav__divider { width: 1px; height: 18px; background: var(--border); margin: 0 6px; }

/* Nav right: CTA pill */
.nav__right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav__cta {
  font-size: 13px; font-weight: 700;
  background: linear-gradient(135deg, var(--accent), #047857);
  color: #fff; padding: 7px 16px; border-radius: 20px;
  transition: opacity .15s, transform .15s, box-shadow .15s;
  box-shadow: 0 2px 8px rgba(5,150,105,.3);
  white-space: nowrap; letter-spacing: .01em;
}
.nav__cta:hover { opacity: .9; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(5,150,105,.4); }

/* Hamburger */
.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav__burger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px; transition: all .25s;
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile {
  display: none; flex-direction: column;
  padding: 12px 20px 16px; border-top: 1px solid var(--border);
  background: rgba(250,250,250,.97); gap: 4px;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-size: 15px; font-weight: 500; color: var(--text-mid);
  padding: 10px 0; border-bottom: 1px solid var(--border); transition: color .15s;
}
.nav__mobile a:last-child { border-bottom: none; }
.nav__mobile a:hover { color: var(--accent); }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: inherit; font-size: 14px; font-weight: 600;
  padding: 10px 20px; border-radius: 10px; border: none;
  cursor: pointer; transition: all .18s; white-space: nowrap; text-decoration: none;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-h); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(5,150,105,.35); }
.btn--outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--ghost { background: var(--accent-bg); color: var(--accent); border: none; }
.btn--ghost:hover { background: #a7f3d0; transform: translateY(-1px); }
.btn--sm { font-size: 13px; padding: 8px 14px; }
.btn svg { width: 15px; height: 15px; flex-shrink: 0; }

/* ── Chip ────────────────────────────────────────────────────────────────── */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; letter-spacing: .02em;
  padding: 4px 12px; border-radius: 100px;
  background: var(--accent-bg); color: var(--accent);
}
.chip--soon { background: #fef3c7; color: #92400e; }
.chip--new  { background: #d1fae5; color: #065f46; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero { padding: 56px 0 40px; text-align: center; }
.hero__eyebrow { margin-bottom: 12px; }
.hero__title {
  font-size: clamp(32px, 5.5vw, 56px);
  font-weight: 900; letter-spacing: -2px; line-height: 1.08; margin-bottom: 16px;
}
.hero__title em { font-style: normal; color: var(--accent); }
.hero__subtitle {
  font-size: 17px; color: var(--text-mid);
  max-width: 520px; margin: 0 auto 28px; line-height: 1.6;
}
.hero__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ── Section heading ─────────────────────────────────────────────────────── */
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 8px;
}
.section-title {
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 800; letter-spacing: -.8px; line-height: 1.15; margin-bottom: 10px;
}
.section-sub { font-size: 16px; color: var(--text-mid); max-width: 520px; line-height: 1.6; }

/* ── Stats strip ─────────────────────────────────────────────────────────── */
.stats-strip {
  display: flex; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow); margin-top: 36px;
}
.stat {
  flex: 1; padding: 20px 16px; text-align: center;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat__value { font-size: 22px; font-weight: 800; letter-spacing: -.5px; color: var(--accent); }
.stat__label { font-size: 11px; color: var(--text-dim); margin-top: 3px; font-weight: 500; }

/* ── Role card ───────────────────────────────────────────────────────────── */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px; margin-top: 32px;
}
.role-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 22px;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s;
  text-decoration: none; color: inherit;
}
.role-card:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); border-color: var(--accent); }
.role-card__title { font-size: 16px; font-weight: 700; letter-spacing: -.2px; }
.role-card__meta  { font-size: 13px; color: var(--text-dim); font-weight: 500; }
.role-card__salary {
  font-size: 15px; font-weight: 700; color: var(--accent);
  display: flex; align-items: center; gap: 6px;
}
.role-card__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.role-card__tag {
  font-size: 11px; font-weight: 600; padding: 3px 9px;
  border-radius: 20px; background: var(--bg2); color: var(--text-mid);
}
.role-card__arrow { font-size: 13px; color: var(--accent); margin-top: auto; font-weight: 600; }

/* ── Salary table ────────────────────────────────────────────────────────── */
.salary-table { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: 14px; }
.salary-table th {
  text-align: left; font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--text-dim); padding: 10px 14px;
  border-bottom: 2px solid var(--border); white-space: nowrap;
}
.salary-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.salary-table tr:last-child td { border-bottom: none; }
.salary-table tr:hover td { background: var(--bg2); }
.salary-table .sal-region { font-weight: 600; color: var(--text); }
.salary-table .sal-range  { color: var(--accent); font-weight: 700; }
.salary-table .sal-note   { font-size: 12px; color: var(--text-dim); }

/* ── Q&A list ────────────────────────────────────────────────────────────── */
.qa-list { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.qa-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.qa-item__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; font-size: 15px; font-weight: 600; color: var(--text);
  background: none; border: none; cursor: pointer; text-align: left;
  gap: 12px; transition: background .15s; font-family: inherit;
}
.qa-item__q:hover { background: var(--bg2); }
.qa-item__chevron { flex-shrink: 0; color: var(--text-dim); font-size: 18px; transition: transform .2s; }
.qa-item[open] .qa-item__chevron { transform: rotate(180deg); }
.qa-item[open] .qa-item__q { background: var(--accent-bg); color: var(--accent); }
.qa-item__a {
  padding: 0 18px 16px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 15px; line-height: 1.75; color: var(--text-mid);
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

/* ── Role page hero ──────────────────────────────────────────────────────── */
.role-hero { padding: 40px 0 32px; }
.role-hero__breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-dim); margin-bottom: 20px;
}
.role-hero__breadcrumb a { color: var(--accent); }
.role-hero__breadcrumb a:hover { text-decoration: underline; }
.role-hero__title {
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 900; letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 12px;
}
.role-hero__title em { font-style: normal; color: var(--accent); }
.role-hero__subtitle { font-size: 16px; color: var(--text-mid); max-width: 560px; line-height: 1.6; margin-bottom: 24px; }
.role-hero__meta { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.role-hero__meta-item { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text-mid); }
.role-hero__meta-item strong { color: var(--text); }

/* ── Feature cards (role page) ───────────────────────────────────────────── */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px;
}
.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
.feature-card:hover { box-shadow: var(--shadow-h); transform: translateY(-2px); }
.feature-card__icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--accent-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 12px;
}
.feature-card__title { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.feature-card__desc  { font-size: 13px; color: var(--text-mid); line-height: 1.55; }

/* ── Divider ─────────────────────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── Scroll reveal ───────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .45s ease, transform .45s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--border); padding: 24px 0; }
.footer__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.footer__copy { font-size: 12px; color: var(--text-dim); }
.footer__links { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.footer__links a { font-size: 13px; color: var(--text-dim); transition: color .15s; }
.footer__links a:hover { color: var(--text); }

/* ── Share buttons ───────────────────────────────────────────────────────── */
.share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; font-size: 13px; font-weight: 600;
  color: var(--text-mid); background: var(--bg2);
  border: 1px solid var(--border); border-radius: 20px;
  cursor: pointer; white-space: nowrap; font-family: inherit;
  transition: color .15s, background .15s, border-color .15s;
}
.share-btn:hover { color: var(--accent); background: var(--accent-bg); border-color: var(--accent); }
.share-btn svg { flex-shrink: 0; }

/* ── Home two-column layout ──────────────────────────────────────────────── */
.home-split { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; margin-top: 28px; }
.hero-split { display: flex; align-items: center; gap: 48px; }
.hero-split__content { flex: 1; min-width: 0; text-align: center; }
.hero-split__content .hero__actions { justify-content: center; }
.hero-split .app-card-side { flex: 0 0 360px; align-self: flex-start; }

/* ── App card (AI Prep sidebar) ──────────────────────────────────────────── */
.app-card-side {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px;
  text-align: left;
}
.app-card-side__header { display: flex; align-items: center; gap: 12px; }
.app-card-side__icon {
  width: 52px; height: 52px; border-radius: 14px; overflow: hidden; flex-shrink: 0;
}
.app-card-side__icon img { width: 100%; height: 100%; object-fit: cover; }
.app-card-side__name { font-size: 17px; font-weight: 700; letter-spacing: -.2px; }
.app-card-side__tag  { font-size: 12px; color: var(--text-dim); font-weight: 500; margin-top: 2px; }
.app-card-side__desc { font-size: 14px; color: var(--text-mid); line-height: 1.6; }
.app-card-side__features { display: flex; flex-direction: column; gap: 7px; }
.app-card-side__feature {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; color: var(--text-mid); line-height: 1.5;
}
.app-card-side__feature::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0; margin-top: 6px;
}
.app-card-side__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }

@media (max-width: 760px) {
  .home-split { grid-template-columns: 1fr; }
  .hero-split { grid-template-columns: 1fr; }
  .hero-split .app-card-side { display: none; }
}

/* ── Browse Roles dropdown ───────────────────────────────────────────────── */
.nav__browse-wrap { position: relative; flex-shrink: 0; }
.nav__browse-btn {
  font-size: 13px; font-weight: 700;
  background: linear-gradient(135deg, var(--accent), #047857);
  color: #fff; padding: 7px 16px; border-radius: 20px; border: none;
  cursor: pointer; transition: opacity .15s, transform .15s, box-shadow .15s;
  box-shadow: 0 2px 8px rgba(5,150,105,.3);
  white-space: nowrap; letter-spacing: .01em; font-family: inherit;
}
.nav__browse-btn:hover { opacity: .9; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(5,150,105,.4); }

.nav__roles-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: 14px; box-shadow: 0 8px 32px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.06);
  width: 240px; max-height: 380px;
  overflow: hidden;
  display: flex; flex-direction: column;
  opacity: 0; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease;
  z-index: 200;
}
.nav__dropdown-pin {
  flex-shrink: 0;
  display: block; padding: 10px 16px;
  font-size: 14px; font-weight: 700; color: var(--accent) !important;
  border-bottom: 2px solid var(--border);
  text-decoration: none;
  background: var(--surface);
  border-radius: 14px 14px 0 0;
}
.nav__dropdown-pin:hover { background: var(--accent-bg); color: var(--accent) !important; }
.nav__dropdown-scroll {
  overflow-y: scroll; overflow-x: hidden;
  scrollbar-width: auto;
  scrollbar-color: #9ca3af #f3f4f6;
  flex: 1;
}
.nav__roles-dropdown.open {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.nav__roles-dropdown a {
  display: block; padding: 10px 16px;
  font-size: 14px; font-weight: 500; color: var(--text-mid);
  border-bottom: 1px solid var(--border);
  transition: background .12s, color .12s;
  text-decoration: none;
}
.nav__dropdown-scroll::-webkit-scrollbar { width: 10px; }
.nav__dropdown-scroll::-webkit-scrollbar-track { background: #f3f4f6; border-radius: 0 14px 14px 0; }
.nav__dropdown-scroll::-webkit-scrollbar-thumb { background: #9ca3af; border-radius: 10px; border: 2px solid #f3f4f6; }
.nav__dropdown-scroll::-webkit-scrollbar-thumb:hover { background: #6b7280; }
.nav__roles-dropdown a:last-child { border-bottom: none; }
.nav__roles-dropdown a:hover { background: var(--accent-bg); color: var(--accent); }
.nav__roles-dropdown a.active { color: var(--accent); font-weight: 600; }

/* ── Blog post ───────────────────────────────────────────────────────────── */
.blog-post { max-width: 720px; margin: 0 auto; padding: 48px 20px 28px; }
.blog-post__tag { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.blog-post__title { font-size: clamp(26px, 5vw, 40px); font-weight: 900; letter-spacing: -1px; line-height: 1.15; margin-bottom: 16px; }
.blog-post__meta { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--text-dim); margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.blog-post__body { font-size: 16px; line-height: 1.75; color: var(--text-mid); }
.blog-post__body h2 { font-size: 22px; font-weight: 800; color: var(--text); margin: 36px 0 12px; letter-spacing: -.4px; }
.blog-post__body h3 { font-size: 18px; font-weight: 700; color: var(--text); margin: 28px 0 10px; }
.blog-post__body p  { margin-bottom: 18px; }
.blog-post__body ul, .blog-post__body ol { margin: 0 0 18px 20px; }
.blog-post__body li { margin-bottom: 8px; }
.blog-post__body strong { color: var(--text); font-weight: 700; }
.blog-post__body a, .blog-post__body a strong { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.blog-post__body .ip-related-card, .blog-post__body .ip-related-card * { text-decoration: none; }
.blog-post__body .role-card, .blog-post__body .role-card * { text-decoration: none; color: inherit; }
.blog-post__body a:hover, .blog-post__body a:hover strong { color: var(--accent-h); }
.blog-post__body pre { background: var(--bg2); border: 1px solid var(--border); border-radius: 8px; padding: 16px; margin: 0 0 18px; overflow-x: auto; overflow-y: auto; max-height: 500px; }
.blog-post__body pre code { font-family: 'Menlo','Monaco','Consolas',monospace; font-size: 13px; color: var(--text); white-space: pre; display: block; }
.blog-post__body p code { font-family: 'Menlo','Monaco','Consolas',monospace; font-size: 13px; background: var(--bg2); border: 1px solid var(--border); border-radius: 4px; padding: 1px 6px; color: var(--text); }
.blog-post__cta { margin-top: 48px; padding: 28px; background: var(--accent-bg); border-radius: var(--radius); text-align: center; }
.blog-post__cta h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.blog-post__cta p  { font-size: 14px; color: var(--text-mid); margin-bottom: 16px; }

/* ── Blog listing card ───────────────────────────────────────────────────── */
.blog-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: box-shadow .2s, border-color .2s; }
.blog-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,.09); border-color: var(--accent); }
.blog-card__tag  { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--accent); margin-bottom: 8px; }
.blog-card__title { font-size: 18px; font-weight: 800; color: var(--text); line-height: 1.3; margin-bottom: 10px; letter-spacing: -.2px; }
.blog-card__excerpt { font-size: 14px; color: var(--text-mid); line-height: 1.6; margin-bottom: 14px; flex: 1; }
.blog-card__meta { font-size: 12px; color: var(--text-dim); margin-bottom: 14px; }
.blog-card__cta { font-size: 14px; font-weight: 700; color: var(--accent); }

/* ── Breadcrumb ──────────────────────────────────────────────────────────── */
.learn-breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-dim); margin-bottom: 20px; flex-wrap: wrap; }
.learn-breadcrumb a { color: var(--accent); text-decoration: none; }
.learn-breadcrumb a:hover { text-decoration: underline; }
.learn-breadcrumb span { color: var(--text-dim); }

/* ── App hero ────────────────────────────────────────────────────────────── */
.app-hero {
  padding: 48px 0 40px;
  display: flex; align-items: flex-start; gap: 48px;
}
.app-hero__content { flex: 1; }
.app-hero__icon {
  width: 80px; height: 80px; border-radius: 20px;
  background: var(--bg2); overflow: hidden; flex-shrink: 0;
  box-shadow: var(--shadow); margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 40px;
}
.app-hero__icon img { width: 100%; height: 100%; object-fit: cover; }
.app-hero__title {
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 900; letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 12px;
}
.app-hero__title em { font-style: normal; color: var(--accent); }
.app-hero__subtitle {
  font-size: 16px; color: var(--text-mid); line-height: 1.6;
  max-width: 440px; margin-bottom: 24px;
}
.app-hero__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.app-hero__visual { flex: 0 0 510px; }
.app-hero__visual img { border-radius: 14px; width: 100%; }

/* ── Screenshots row ─────────────────────────────────────────────────────── */
.screenshots-row {
  display: flex; gap: 12px; overflow-x: auto;
  padding: 6px 4px 16px; margin-top: 32px;
  scrollbar-width: thin; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.screenshots-row img {
  flex-shrink: 0; width: 220px; height: auto;
  border-radius: 14px; border: 1px solid var(--border);
  box-shadow: var(--shadow); object-fit: contain;
  scroll-snap-align: start;
}

/* ── Pricing ─────────────────────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 600px; margin: 36px auto 0; }
.pricing-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.pricing-card--accent { background: var(--accent); color: #fff; box-shadow: 0 8px 32px rgba(5,150,105,.35); }
.pricing-card__tier { font-size: 11px; font-weight: 700; letter-spacing: .1em; opacity: .6; margin-bottom: 10px; text-transform: uppercase; }
.pricing-card__price { font-size: 26px; font-weight: 900; margin-bottom: 16px; }
.pricing-card__features { display: flex; flex-direction: column; gap: 8px; font-size: 13px; opacity: .85; }

/* ── Topics ──────────────────────────────────────────────────────────────── */
.topics-target { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.topic-chip {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 8px; padding: 7px 14px; font-size: 13px; font-weight: 500;
}

/* ── AI Prep CTA ─────────────────────────────────────────────────────────── */
.aiprep-cta {
  background: var(--accent-bg); border-radius: var(--radius);
  padding: 20px 24px; text-align: center; margin-top: 24px;
}
.aiprep-cta h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; color: var(--text); }
.aiprep-cta p  { font-size: 14px; color: var(--text-mid); line-height: 1.6; max-width: 520px; margin: 0 auto 20px; }
.aiprep-cta .btn { border-radius: 12px; font-size: 14px; padding: 11px 24px; }

/* ── Role page layout ────────────────────────────────────────────────────── */
.role-page { max-width: 860px; margin: 0 auto; padding: 0 20px 80px; }

.role-section { margin-top: 28px; }
.rp-section { scroll-margin-top: 120px; }
.role-section__label {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 6px;
}
.role-section__title {
  font-size: 22px; font-weight: 800; letter-spacing: -.4px;
  margin-bottom: 16px; color: var(--text);
}

/* Intro card */
.role-intro {
  background: var(--accent-bg); border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px; margin-bottom: 32px;
}
.role-intro__label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 10px; }
.role-intro p { font-family: 'Source Serif 4', Georgia, serif; font-size: 16px; line-height: 1.75; color: var(--text); margin: 0; }

/* Prose */
.role-prose { font-family: 'Source Serif 4', Georgia, serif; font-size: 16px; line-height: 1.8; color: var(--text-mid); }
.role-prose p { margin-bottom: 16px; }
.role-prose p:last-child { margin-bottom: 0; }

/* Lists */
.role-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.role-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text-mid); line-height: 1.6;
}
.role-list li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0; margin-top: 8px;
}

/* Two-col responsibilities */
.role-responsibilities { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 16px; }
.role-responsibilities__col { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.role-responsibilities__col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--text-dim); margin-bottom: 12px; }

/* Day in the life */
.role-day { background: var(--bg2); border-radius: var(--radius); padding: 20px 22px; margin-top: 16px; font-family: 'Source Serif 4', Georgia, serif; font-size: 15px; line-height: 1.8; color: var(--text-mid); font-style: italic; }

/* Salary table */
.salary-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 16px; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); }
.salary-table { width: 100%; min-width: 580px; border-collapse: collapse; font-size: 13px; table-layout: auto; }
.salary-table colgroup col:first-child { width: 130px; }
.salary-table colgroup col { width: 22%; }
.salary-table th { text-align: left; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--text-dim); padding: 12px 14px; background: var(--bg2); border-bottom: 2px solid var(--border); }
.salary-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; word-break: break-word; }
.salary-table tr:last-child td { border-bottom: none; }
.salary-table tr:hover td { background: var(--bg2); }
.salary-table .sal-region { font-weight: 700; color: var(--text); }
.salary-table .sal-val { color: var(--accent); font-weight: 600; font-size: 13px; }

/* Career progression */
.career-steps { display: flex; flex-direction: column; gap: 0; margin-top: 16px; }
.career-step { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.career-step:last-child { border-bottom: none; }
.career-step__num { font-size: 22px; font-weight: 900; color: var(--accent); opacity: .35; flex-shrink: 0; min-width: 32px; line-height: 1.2; }
.career-step__level { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--accent); margin-bottom: 3px; }
.career-step__title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.career-step__years { font-size: 12px; color: var(--text-dim); }

/* Tools pills */
.tools-group { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.tools-group__label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--text-dim); margin-bottom: 6px; }
.tools-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.tools-pill {
  font-size: 12px; font-weight: 600; padding: 4px 12px;
  border-radius: 20px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text-mid);
}
.tools-pill--primary { background: var(--accent-bg); color: var(--accent); border-color: transparent; }
.tools-pill--emerging { background: #fef3c7; color: #92400e; border-color: transparent; }

/* Skills categories */
.skills-grid { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.skill-category { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.skill-category__name { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.skill-items { display: flex; flex-direction: column; gap: 10px; }
.skill-item__name { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.skill-item__why { font-size: 12px; color: var(--text-mid); line-height: 1.5; }

/* Q&A accordion */
.qa-group { margin-top: 24px; }
.qa-group__label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-dim); padding: 8px 0 10px; border-bottom: 2px solid var(--border); margin-bottom: 8px; }
.qa-item { border: 1px solid var(--border); border-radius: 10px; margin-bottom: 6px; overflow: hidden; }
.qa-item summary {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 10px 16px; font-size: 14px; font-weight: 600; color: var(--text);
  cursor: pointer; list-style: none; gap: 12px; transition: background .15s;
  line-height: 1.5;
}
.qa-item summary::-webkit-details-marker { display: none; }
.qa-item summary:hover { background: var(--bg2); }
.qa-item[open] summary { background: var(--accent-bg); color: var(--accent); }
.qa-item__chevron { flex-shrink: 0; color: var(--text-dim); font-size: 16px; margin-top: 2px; transition: transform .2s; }
.qa-item[open] .qa-item__chevron { transform: rotate(180deg); color: var(--accent); }
.qa-item__answer {
  padding: 16px 18px; border-top: 1px solid var(--border);
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 15px; line-height: 1.8; color: var(--text-mid);
}

/* Cert cards */
.cert-list { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.cert-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.cert-card__name { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.cert-card__provider { font-size: 12px; color: var(--text-dim); margin-bottom: 6px; }
.cert-card__difficulty { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 20px; margin-bottom: 6px; }
.cert-card__difficulty--Intermediate { background: #fef3c7; color: #92400e; }
.cert-card__difficulty--Hard, .cert-card__difficulty--Advanced { background: #fee2e2; color: #991b1b; }
.cert-card__value { font-size: 13px; color: var(--text-mid); line-height: 1.5; }

/* Related roles */
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.related-card { display: block; padding: 16px 18px; background: var(--accent-bg); border: 1px solid #a7f3d0; border-radius: var(--radius); text-decoration: none; transition: border-color .15s; }
.related-card:hover { border-color: var(--accent); }
.related-card__title { font-size: 14px; font-weight: 700; color: var(--accent); margin-bottom: 4px; }
.related-card__arrow { font-size: 12px; color: var(--accent); }

/* Hiring flags */
.hiring-flags { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.hiring-flag { border-radius: var(--radius); padding: 16px 18px; }
.hiring-flag--green { background: #f0fdf4; border: 1px solid #bbf7d0; }
.hiring-flag--red   { background: #fef2f2; border: 1px solid #fecaca; }
.hiring-flag__label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 10px; }
.hiring-flag--green .hiring-flag__label { color: #16a34a; }
.hiring-flag--red   .hiring-flag__label { color: #dc2626; }
.hiring-flag ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.hiring-flag li { font-size: 13px; line-height: 1.55; }
.hiring-flag--green li { color: #166534; }
.hiring-flag--red   li { color: #991b1b; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .app-hero__visual { display: none; }
  .app-hero { flex-direction: column; gap: 0; padding: 32px 0 28px; }
}

@media (max-width: 760px) {
  .role-responsibilities { grid-template-columns: 1fr; }
  .hiring-flags { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}

/* Mobile quickbar & bottom sheet — hidden on desktop */
.nav__mobile-quickbar { display: none; }
.nav__mobile-sheet { display: none; }
.nav__mobile-sheet-backdrop { display: none; }

/* Bottom sheet */
.nav__mobile-sheet {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--surface);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -4px 32px rgba(0,0,0,.15);
  z-index: 500;
  max-height: 70vh;
  display: flex; flex-direction: column;
  transform: translateY(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.nav__mobile-sheet.open { transform: translateY(0); }
.nav__mobile-sheet__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px 12px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  font-size: 15px; font-weight: 800; color: var(--text);
}
.nav__mobile-sheet__see-all {
  font-size: 13px; font-weight: 700; color: var(--accent);
  text-decoration: none; margin-left: auto; margin-right: 12px;
}
.nav__mobile-sheet__close {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg2); border: 1px solid var(--border);
  font-size: 14px; color: var(--text-dim); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav__mobile-sheet__list {
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  flex: 1; padding: 8px 0 24px;
}
.nav__mobile-sheet__list a {
  display: block; padding: 12px 20px;
  font-size: 15px; font-weight: 500; color: var(--text-mid);
  border-bottom: 1px solid var(--border); text-decoration: none;
}
.nav__mobile-sheet__list a:last-child { border-bottom: none; }
.nav__mobile-sheet__list a:active { background: var(--accent-bg); color: var(--accent); }
.nav__mobile-sheet-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 499;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.nav__mobile-sheet-backdrop.open { opacity: 1; pointer-events: auto; }

@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__cta   { display: none; }
  .nav__right { display: none; }
  .nav__burger { display: flex; }

  .nav__mobile-quickbar {
    display: flex; gap: 8px;
    position: sticky; top: 64px; z-index: 99;
    background: rgba(250,250,250,.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 8px 16px;
  }
  .nav__mobile-quickbtn {
    flex: 1; text-align: center;
    font-size: 13px; font-weight: 700; font-family: inherit;
    background: linear-gradient(135deg, var(--accent), #047857);
    color: #fff; padding: 8px 12px; border-radius: 20px; border: none;
    white-space: nowrap; cursor: pointer;
    box-shadow: 0 2px 8px rgba(5,150,105,.25);
  }
  .nav__logo-name .n-mortal,
  .nav__logo-name .n-jobs { font-size: 20px; }
  .nav__logo-img { width: 80px; height: 35px; }

  .hero { padding: 36px 0 28px; }
  .hero__title { letter-spacing: -1.2px; }
  .hero__subtitle { font-size: 15px; }

  .roles-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .screenshots-row img { width: 160px; }

  .stats-strip { flex-wrap: nowrap; overflow-x: auto; }
  .stat { min-width: 90px; padding: 16px 10px; }

  .footer__inner { flex-direction: column; align-items: flex-start; gap: 16px; }

  /* Blog mobile fixes */
  .blog-table-wrap { border-radius: 8px; }
  .blog-table { table-layout: auto; font-size: 12px; }
  .blog-table th, .blog-table td { padding: 8px 10px; font-size: 12px; white-space: normal; }
  .blog-post__meta { flex-wrap: wrap; justify-content: flex-start; gap: 10px; }
  .aiprep-cta { padding: 20px 16px; }
  .aiprep-cta .btn { font-size: 13px; padding: 10px 16px; }

  /* Hide QR codes on mobile — redundant when already on the device */
  .qr-block { display: none; }

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

/* ── Interview Prep listing page ─────────────────────────────────────────── */
.ip-list-group { margin-bottom: 36px; }
.ip-list-group__label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-dim); margin-bottom: 12px; }
.ip-list-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.ip-list-card { display: flex; flex-direction: column; justify-content: space-between; padding: 14px 16px; background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.ip-list-card:hover { border-color: var(--accent); box-shadow: 0 2px 12px rgba(5,150,105,.1); }
.ip-list-card__name { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.ip-list-card__desc { font-size: 12px; color: var(--text-mid); line-height: 1.5; margin-bottom: 10px; flex: 1; }
.ip-list-card__cta { font-size: 12px; font-weight: 600; color: var(--accent); }
@media (max-width: 640px) {
  .ip-list-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 360px) {
  .ip-list-grid { grid-template-columns: 1fr; }
}

/* ── Interview Prep sticky nav ────────────────────────────────────────────── */
.ip-nav-pills {
  display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; padding: 10px 20px;
  position: sticky; top: 64px; z-index: 98;
  background: var(--bg); border-bottom: 1px solid var(--border);
  box-shadow: 0 -1px 0 var(--border);
  justify-content: center;
}
.ip-nav-pills::-webkit-scrollbar { display: none; }
.ip-nav-pill {
  flex-shrink: 0; padding: 5px 14px;
  border: 1px solid rgba(5,150,105,0.25); border-radius: 20px;
  font-size: 12px; font-weight: 500; color: var(--accent);
  text-decoration: none; background: rgba(5,150,105,0.07);
  transition: border-color .15s, background .15s; white-space: nowrap;
  cursor: pointer;
}
.ip-nav-pill:hover, .ip-nav-pill.active { border-color: var(--accent); background: rgba(5,150,105,0.15); }

/* ── Interview Prep pages ─────────────────────────────────────────────────── */
.ip-content { max-width: 720px; margin: 0 auto; padding: 0 20px 0; }
.ip-section { margin-bottom: 32px; scroll-margin-top: 120px; }
.ip-section:last-child { margin-bottom: 0; }
.ip-section__title { font-size: 20px; font-weight: 800; letter-spacing: -.3px; margin: 0 0 16px; color: var(--text); }
.ip-section-sub { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-dim); margin: 14px 0 6px; }
.ip-section > p, .ip-section > ul, .ip-section > ol { font-family: 'Source Serif 4', Georgia, serif; font-size: 16px; line-height: 1.8; color: var(--text); margin-bottom: 14px; }

/* Badges */
.ip-badge { display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; border: 1px solid var(--border); background: var(--bg2); color: var(--text-mid); letter-spacing: .03em; }
.ip-badge--diff { background: rgba(5,150,105,.1); border-color: rgba(5,150,105,.3); color: #065f46; }
.ip-badge--freq { background: rgba(245,158,11,.1); border-color: rgba(245,158,11,.3); color: #92400e; }

/* Chips */
.ip-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ip-chip { font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 20px; background: var(--bg2); border: 1px solid var(--border); color: var(--text-mid); white-space: nowrap; }
.ip-chip--sm { font-size: 10px; padding: 2px 7px; }
.ip-chip--link { color: var(--accent); border-color: rgba(5,150,105,.3); background: rgba(5,150,105,.07); text-decoration: none; }
.ip-chip--link:hover { background: rgba(5,150,105,.14); }

/* Quick Facts */
.ip-quick-facts { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.ip-qf-row { display: flex; align-items: flex-start; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--border); }
.ip-qf-row:last-child { border-bottom: none; }
.ip-qf-label { font-size: 12px; font-weight: 700; color: var(--text-mid); min-width: 130px; flex-shrink: 0; padding-top: 2px; }
.ip-qf-val { font-size: 13px; color: var(--text); }
.ip-qf-val--accent { color: var(--accent); font-weight: 700; }

/* Cards (core concepts, design patterns) */
.ip-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 12px; box-shadow: var(--shadow); }
.ip-card__title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ip-card p { font-size: 14px; color: var(--text-mid); margin-bottom: 8px; line-height: 1.6; }
.ip-card p:last-child { margin-bottom: 0; }
.ip-card__relevance { font-size: 13px; color: var(--text-mid); background: var(--accent-bg); border-radius: 6px; padding: 8px 12px; margin-top: 8px !important; }

/* Architecture */
.ip-arch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 16px 0; }
.ip-arch-grid ul, .ip-arch-grid ol { font-size: 14px; color: var(--text-mid); line-height: 1.7; padding-left: 18px; margin: 0; }
.ip-diagram { background: #1e1e2e; border-radius: 10px; padding: 18px 20px; overflow-x: auto; border: 1px solid var(--border); margin-top: 16px; }
.ip-diagram code { font-family: 'Menlo','Monaco','Consolas',monospace; font-size: 12px; color: #cdd6f4; white-space: pre; display: block; line-height: 1.7; }

/* Details / accordion */
.ip-details { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 8px; background: var(--surface); }
.ip-details--warn { border-color: rgba(245,158,11,.3); }
.ip-details__summary { font-size: 14px; font-weight: 700; padding: 14px 16px; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; color: var(--text); }
.ip-details__summary::after { content: '+'; font-size: 18px; font-weight: 400; color: var(--text-dim); flex-shrink: 0; }
.ip-details[open] .ip-details__summary::after { content: '−'; }
.ip-details__body { padding: 0 16px 16px; font-size: 14px; color: var(--text-mid); line-height: 1.65; }
.ip-details__body p { margin-bottom: 8px; }
.ip-details__body ul, .ip-details__body ol { padding-left: 18px; margin: 6px 0; }
.ip-details__body li { margin-bottom: 4px; }

/* Tools */
.ip-tools-grid { display: flex; flex-direction: column; gap: 8px; }
.ip-tool { display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.ip-tool__name { font-size: 13px; font-weight: 700; color: var(--accent); min-width: 140px; flex-shrink: 0; padding-top: 1px; }
.ip-tool__desc { font-size: 13px; color: var(--text-mid); line-height: 1.55; }

/* Core concept modal */
.ip-modal-backdrop { display:none; position:fixed; inset:0; background:rgba(0,0,0,.45); z-index:1000; align-items:center; justify-content:center; padding:16px; }
.ip-modal-backdrop.open { display:flex; }
.ip-modal { background:var(--surface); border-radius:16px; max-width:560px; width:100%; max-height:90vh; overflow-y:auto; box-shadow:0 20px 60px rgba(0,0,0,.2); display:flex; flex-direction:column; }
.ip-modal__header { padding:20px 24px 16px; border-bottom:1px solid var(--border); display:flex; align-items:flex-start; justify-content:space-between; gap:12px; position:sticky; top:0; background:var(--surface); z-index:1; border-radius:16px 16px 0 0; flex-shrink:0; }
.ip-modal__title { font-size:18px; font-weight:800; color:var(--text); letter-spacing:-.3px; }
.ip-modal__close { flex-shrink:0; width:32px; height:32px; border-radius:8px; border:1px solid var(--border); background:var(--bg2); cursor:pointer; display:flex; align-items:center; justify-content:center; font-size:18px; color:var(--text-dim); transition:background .15s; }
.ip-modal__close:hover { background:var(--border); }
.ip-modal__body { padding:20px 24px 24px; }
.ip-modal__field { margin-bottom:16px; }
.ip-modal__field:last-child { margin-bottom:0; }
.ip-modal__label { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.07em; color:var(--text-dim); margin-bottom:5px; }
.ip-modal__text { font-size:14px; color:var(--text-mid); line-height:1.65; }
.ip-modal__relevance { font-size:13px; color:var(--text-mid); background:var(--accent-bg); border-radius:8px; padding:10px 14px; line-height:1.6; }

/* Concept trigger cards */
.ip-concept-triggers { display:flex; flex-wrap:wrap; gap:10px; }
.ip-concept-trigger { padding:12px 16px; background:rgba(5,150,105,.07); border:1.5px solid rgba(5,150,105,.25); border-radius:var(--radius); cursor:pointer; text-align:left; font-family:inherit; transition:border-color .15s,background .15s; display:inline-flex; align-items:center; gap:10px; }
.ip-concept-trigger:hover { border-color:var(--accent); background:rgba(5,150,105,.14); }
.ip-concept-trigger__name { font-size:14px; font-weight:700; color:var(--accent); white-space:nowrap; }
.ip-concept-trigger__icon { font-size:14px; color:var(--accent); opacity:.6; flex-shrink:0; }
.ip-concept-trigger--warn { background:rgba(245,158,11,.07); border-color:rgba(245,158,11,.3); }
.ip-concept-trigger--warn:hover { background:rgba(245,158,11,.14); border-color:rgba(245,158,11,.5); }
.ip-concept-trigger--warn .ip-concept-trigger__name { color:#92400e; }
.ip-concept-trigger--warn .ip-concept-trigger__icon { color:#92400e; }

/* Aligned bullet list */
.ip-bullet-list { margin: 6px 0 16px; }
.ip-bullet-item { display: flex; gap: 8px; font-size: 14px; color: var(--text-mid); line-height: 1.65; margin-bottom: 5px; }
.ip-bullet-dot { flex-shrink: 0; color: var(--accent); font-size: 16px; line-height: 1.4; }

/* Production & System Design table */
.ip-prod-table-wrap { border:1px solid var(--border); border-radius:var(--radius); overflow-x:auto; -webkit-overflow-scrolling:touch; margin-bottom:20px; }
.ip-prod-table { width:100%; border-collapse:collapse; }
.ip-prod-table tr { border-bottom:1px solid var(--border); }
.ip-prod-table tr:last-child { border-bottom:none; }
.ip-prod-table__dim { font-size:13px; font-weight:700; color:var(--accent); width:130px; vertical-align:top; padding:12px 16px; white-space:nowrap; background:var(--bg2); border-right:1px solid var(--border); }
.ip-prod-table__text { font-size:14px; color:var(--text-mid); line-height:1.65; padding:12px 16px; }
@media (max-width:640px) {
  .ip-prod-table tr { display:block; padding:12px 0; border-bottom:1px solid var(--border); }
  .ip-prod-table__dim { display:block; width:auto; padding:0 0 4px; white-space:normal; }
  .ip-prod-table__text { display:block; padding:0; }
}

/* Related topics grid */
.ip-related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.ip-related-card { display: block; padding: 16px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.ip-related-card:hover { border-color: var(--accent); box-shadow: 0 2px 12px rgba(5,150,105,.1); }
.ip-related-card__name { font-size: 15px; font-weight: 700; color: var(--accent); margin-bottom: 6px; }
.ip-related-card__desc { font-size: 13px; color: var(--text-mid); line-height: 1.55; }

/* Related concepts grid */
.ip-concepts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.ip-concept-card { display: block; padding: 16px 18px; background: rgba(5,150,105,.06); border: 1px solid rgba(5,150,105,.2); border-radius: var(--radius); text-decoration: none; transition: border-color .15s, background .15s; }
.ip-concept-card:hover { background: rgba(5,150,105,.11); border-color: rgba(5,150,105,.4); }
.ip-concept-card__name { font-size: 15px; font-weight: 700; color: var(--text); }

/* Related roles */
.ip-roles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.ip-role-card { padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.ip-role-card--link { display: block; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.ip-role-card--link:hover { border-color: var(--accent); box-shadow: 0 2px 12px rgba(5,150,105,.1); }
.ip-role-card__name { font-size: 14px; font-weight: 700; color: var(--accent); margin-bottom: 4px; }
.ip-role-card__rel { font-size: 13px; color: var(--text-mid); line-height: 1.55; }

/* ── Quiz engine ──────────────────────────────────────────────────────────── */
.quiz-wrap { max-width: 720px; margin: 0 auto 16px; padding: 0 20px; }
.quiz-start { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 24px 40px; text-align: center; box-shadow: var(--shadow); }
.quiz-start__icon { font-size: 36px; margin-bottom: 10px; line-height: 1; }
.quiz-start h2 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.quiz-start p { color: var(--text-mid); margin-bottom: 20px; font-size: 14px; max-width: 420px; margin-left: auto; margin-right: auto; }
.quiz-start__info { display: flex; justify-content: center; gap: 36px; margin-bottom: 28px; flex-wrap: wrap; }
.quiz-start__stat { text-align: center; }
.quiz-start__stat strong { display: block; font-size: 28px; font-weight: 800; color: var(--accent); line-height: 1.1; }
.quiz-start__stat span { font-size: 12px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .05em; }
.quiz-step { font-size: 13px; color: var(--text-dim); margin-bottom: 10px; font-weight: 500; letter-spacing: .02em; }
.quiz-difficulty { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: 3px 8px; border-radius: 5px; margin-bottom: 14px; }
.quiz-difficulty--EASY   { background: #dcfce7; color: #166534; }
.quiz-difficulty--MEDIUM { background: #fef3c7; color: #92400e; }
.quiz-difficulty--HARD   { background: #fee2e2; color: #991b1b; }
.quiz-question { font-size: 17px; font-weight: 600; line-height: 1.55; margin-bottom: 24px; }
.quiz-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.quiz-option { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; background: var(--surface); border: 1.5px solid var(--border); border-radius: 10px; cursor: pointer; text-align: left; width: 100%; font-size: 15px; line-height: 1.45; color: var(--text); transition: border-color .13s, background .13s; font-family: inherit; }
.quiz-option:hover:not([disabled]) { border-color: var(--accent); background: var(--accent-bg); }
.quiz-option__key { flex-shrink: 0; width: 26px; height: 26px; border-radius: 6px; background: var(--bg2); border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--text-mid); transition: all .13s; margin-top: 1px; }
.quiz-option.selected { border-color: var(--accent); background: var(--accent-bg); }
.quiz-option.selected .quiz-option__key { background: var(--accent); border-color: var(--accent); color: #fff; }
.quiz-option.correct { border-color: #16a34a; background: #f0fdf4; }
.quiz-option.correct .quiz-option__key { background: #16a34a; border-color: #16a34a; color: #fff; }
.quiz-option.wrong { border-color: #dc2626; background: #fef2f2; }
.quiz-option.wrong .quiz-option__key { background: #dc2626; border-color: #dc2626; color: #fff; }
.quiz-option[disabled] { cursor: default; }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.quiz-nav__prev, .quiz-nav__next { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; padding: 10px 20px; border-radius: 8px; border: 1.5px solid var(--border); background: var(--surface); cursor: pointer; color: var(--text); transition: all .13s; font-family: inherit; }
.quiz-nav__prev:hover, .quiz-nav__next:hover { border-color: var(--accent); color: var(--accent); }
.quiz-nav__prev:disabled, .quiz-nav__next:disabled { opacity: .3; cursor: default; pointer-events: none; }
.quiz-nav__next--finish { background: var(--accent); color: #fff; border-color: var(--accent); }
.quiz-nav__next--finish:hover { background: var(--accent-h); border-color: var(--accent-h); color: #fff; }
.quiz-nav__next--finish:disabled { background: var(--border); border-color: var(--border); color: var(--text-dim); }
.quiz-results { display: none; }
.quiz-results.active { display: block; }
.quiz-results__header { text-align: center; padding: 40px 0 32px; }
.quiz-score { font-size: 72px; font-weight: 900; line-height: 1; color: var(--accent); }
.quiz-score__label { font-size: 15px; color: var(--text-mid); margin-top: 6px; }
.quiz-results__title { font-size: 24px; font-weight: 700; margin: 18px 0 8px; }
.quiz-results__sub { font-size: 15px; color: var(--text-mid); }
.quiz-breakdown { display: flex; flex-direction: column; gap: 14px; margin: 28px 0; }
.quiz-breakdown__item { background: var(--surface); border: 1.5px solid var(--border); border-radius: 10px; padding: 18px 20px; }
.quiz-breakdown__item.correct { border-left: 4px solid #16a34a; }
.quiz-breakdown__item.wrong   { border-left: 4px solid #dc2626; }
.quiz-breakdown__q { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.quiz-breakdown__answers { display: flex; flex-direction: column; gap: 5px; font-size: 13px; margin-bottom: 6px; }
.quiz-breakdown__ans { padding: 5px 10px; border-radius: 6px; }
.quiz-breakdown__ans--correct { background: #f0fdf4; color: #15803d; font-weight: 600; }
.quiz-breakdown__ans--wrong   { background: #fef2f2; color: #dc2626; }
.quiz-results__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; padding: 8px 0 24px; }

/* ── Blog / FAQ shared styles ─────────────────────────────────────────────── */
.blog-faq { margin-top: 20px; }
.blog-faq__item { border-bottom: 1px solid var(--border); padding: 12px 0; }
.blog-faq__item:last-child { border-bottom: none; }
.blog-faq__q { font-weight: 700; font-size: 15px; color: var(--text); margin-bottom: 5px; }
.blog-faq__a { color: var(--text-mid); margin: 0 !important; line-height: 1.65; font-size: 14px; }

/* Mobile */
@media (max-width: 640px) {
  /* Sticky nav pills */
  .ip-nav-pills { top: 118px; padding: 10px 16px; justify-content: flex-start; }

  /* Section scroll offsets */
  .ip-section { scroll-margin-top: 185px; }
  .rp-section { scroll-margin-top: 185px; }

  /* Interview prep layout */
  .ip-arch-grid { grid-template-columns: 1fr; }
  .ip-qf-label { min-width: 100px; }
  .ip-tool { flex-direction: column; gap: 4px; }
  .ip-tool__name { min-width: unset; }
  .ip-related-grid { grid-template-columns: 1fr; }
  .ip-roles-grid { grid-template-columns: 1fr; }

  /* Code blocks */
  .blog-post__body pre { max-height: 300px; }

  /* Blog TOC scroll offset — account for sticky nav + quickbar */
  .blog-post__body h2 { scroll-margin-top: 116px !important; }
  .blog-post__body h3 { scroll-margin-top: 116px !important; }

  /* Production table — stack rows on mobile */
  .ip-prod-table__dim { white-space: normal; width: auto; display: block; padding: 10px 14px 4px; border-right: none; border-bottom: none; }
  .ip-prod-table__text { display: block; padding: 0 14px 10px; }
  .ip-prod-table tr { border-bottom: 1px solid var(--border); }

  /* Modal */
  .ip-modal { border-radius: 12px; max-height: 85vh; }
  .ip-modal__header { padding: 16px 18px 12px; border-radius: 12px 12px 0 0; }
  .ip-modal__body { padding: 16px 18px 20px; }

  /* Salary tables */
  .salary-table { font-size: 12px; }
  .salary-table th, .salary-table td { padding: 8px 10px; }

  /* Q&A items */
  .qa-item summary { padding: 10px 12px; font-size: 13px; }
  .qa-item__answer { padding: 0 12px 12px; font-size: 13px; }

  /* Quiz */
  .quiz-start { padding: 20px; }
  .quiz-start__info { gap: 20px; }
  .quiz-option { font-size: 14px; padding: 12px 14px; }
  .quiz-question { font-size: 15px; }
}

@media (max-width: 480px) {
  .quiz-start { padding: 16px; }
  .quiz-start h2 { font-size: 17px; }
  .quiz-nav__prev, .quiz-nav__next { padding: 8px 14px; font-size: 13px; }
  .ip-nav-pills { padding: 8px 12px; }
  .ip-diagram { padding: 12px 14px; }
  .ip-modal__title { font-size: 15px; }
  .ip-modal__text { font-size: 13px; }
}

@media (max-width: 360px) {
  .quiz-start { padding: 12px; }
  .quiz-option { font-size: 13px; padding: 10px 12px; }
  .ip-concept-trigger { padding: 10px 12px; }
  .ip-concept-trigger__name { font-size: 13px; }
}

/* ── Skills / Behavioral section (sk-*) ─────────────────────────────────── */
.sk-summary-box { background:rgba(5,150,105,.07); border:1.5px solid rgba(5,150,105,.22); border-radius:var(--radius); padding:20px 24px; margin:24px 0; }
.sk-summary-box h3 { font-size:13px; font-weight:800; text-transform:uppercase; letter-spacing:.07em; color:var(--accent); margin-bottom:14px; }
.sk-summary-list { list-style:none; padding:0; display:flex; flex-direction:column; gap:8px; }
.sk-summary-list li { font-size:14px; color:var(--text); line-height:1.55; padding-left:24px; position:relative; }
.sk-summary-list li::before { content:'✓'; position:absolute; left:0; color:var(--accent); font-weight:700; }
.sk-chip-row { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; -webkit-overflow-scrolling:touch; }
.sk-chip { display:inline-flex; align-items:center; gap:6px; padding:12px 16px; font-size:14px; font-weight:700; color:var(--accent); background:rgba(5,150,105,.07); border:1.5px solid rgba(5,150,105,.25); border-radius:var(--radius); cursor:pointer; font-family:inherit; white-space:nowrap; transition:border-color .15s,background .15s; }
.sk-chip::after { content:'→'; font-size:14px; opacity:.6; }
.sk-chip:hover { background:rgba(5,150,105,.14); border-color:var(--accent); }
.sk-chip--danger { color:#dc2626; background:rgba(239,68,68,.06); border-color:rgba(239,68,68,.25); }
.sk-chip--danger:hover { background:rgba(239,68,68,.12); border-color:#dc2626; }
.sk-chip--warn { color:#92400e; background:rgba(245,158,11,.07); border-color:rgba(245,158,11,.35); }
.sk-chip--warn:hover { background:rgba(245,158,11,.14); border-color:#d97706; }
.sk-fw-actions { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:20px; }
.sk-fw-btn { display:flex; flex-direction:row; align-items:center; gap:8px; padding:10px 14px; background:var(--surface); border:1.5px solid var(--border); border-radius:var(--radius); cursor:pointer; text-align:left; font-family:inherit; transition:border-color .15s,box-shadow .15s; }
.sk-fw-btn:hover { border-color:var(--accent); box-shadow:0 2px 12px rgba(5,150,105,.12); }
.sk-fw-btn--danger { background:rgba(239,68,68,.05); border-color:rgba(239,68,68,.25); }
.sk-fw-btn--danger:hover { border-color:#dc2626; box-shadow:0 2px 12px rgba(239,68,68,.12); }
.sk-fw-btn__icon { font-size:16px; line-height:1; flex-shrink:0; }
.sk-fw-btn__label { font-size:13px; font-weight:700; color:var(--accent); }
.sk-step-row { display:flex; flex-direction:column; gap:16px; margin-top:16px; }
.sk-step { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:16px 18px 16px 56px; position:relative; }
.sk-step__num { position:absolute; left:16px; top:16px; width:28px; height:28px; border-radius:50%; background:var(--accent); color:#fff; font-size:13px; font-weight:800; display:flex; align-items:center; justify-content:center; }
.sk-step__name { font-size:14px; font-weight:700; color:var(--text); margin-bottom:6px; }
.sk-step__text { font-size:14px; color:var(--text-mid); line-height:1.6; margin-bottom:10px; }
.sk-say-this { background:rgba(5,150,105,.07); border-left:3px solid var(--accent); border-radius:0 6px 6px 0; padding:10px 14px; font-size:13px; color:var(--text); line-height:1.55; font-style:italic; }
.sk-say-this::before { content:'Say this: '; font-style:normal; font-weight:700; color:var(--accent); }
.sk-ex-tabs { display:flex; gap:6px; margin-bottom:0; flex-wrap:wrap; }
.sk-ex-tab { padding:7px 14px; font-size:13px; font-weight:700; border-radius:8px 8px 0 0; border:1.5px solid var(--border); background:var(--bg2); color:var(--text-dim); cursor:pointer; border-bottom:none; transition:all .15s; font-family:inherit; }
.sk-ex-tab.active-poor  { background:#fef2f2; color:#991b1b; border-color:#fca5a5; }
.sk-ex-tab.active-avg   { background:#fef3c7; color:#92400e; border-color:#fcd34d; }
.sk-ex-tab.active-excel { background:#f0fdf4; color:#166534; border-color:#86efac; }
.sk-ex-panel { border:1.5px solid var(--border); border-radius:0 var(--radius) var(--radius) var(--radius); padding:18px 20px; background:var(--surface); }
.sk-ex-panel--poor  { border-color:#fca5a5; background:#fff5f5; }
.sk-ex-panel--avg   { border-color:#fcd34d; background:#fffbeb; }
.sk-ex-panel--excel { border-color:#86efac; background:#f0fdf4; }
.sk-ex-dialogue { font-family:'Menlo','Monaco',monospace; font-size:13px; line-height:1.7; white-space:pre-wrap; color:var(--text); background:var(--bg2); border-radius:6px; padding:12px 14px; margin-bottom:12px; overflow-x:auto; -webkit-overflow-scrolling:touch; word-break:break-word; }
.sk-ex-annotation { font-size:13px; color:var(--text-mid); line-height:1.6; padding:10px 14px; border-radius:6px; }
.sk-ex-annotation--poor  { background:rgba(239,68,68,.07); border-left:3px solid #dc2626; }
.sk-ex-annotation--avg   { background:rgba(245,158,11,.07); border-left:3px solid #d97706; }
.sk-ex-annotation--excel { background:rgba(22,163,74,.07); border-left:3px solid #16a34a; }
.sk-mistake-why { background:rgba(245,158,11,.07); border-radius:6px; padding:10px 14px; margin-bottom:8px; font-size:13px; color:#92400e; line-height:1.6; }
.sk-mistake-why::before { content:'Why it happens: '; font-weight:700; }
.sk-mistake-better { background:rgba(22,163,74,.07); border-radius:6px; padding:10px 14px; margin-bottom:8px; font-size:13px; color:#166534; line-height:1.6; }
.sk-mistake-better::before { content:'Better approach: '; font-weight:700; }
.sk-ba-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.sk-before, .sk-after { font-size:12px; line-height:1.55; padding:10px 12px; border-radius:6px; white-space:pre-wrap; word-break:break-word; }
.sk-before { background:#fef3c7; color:#92400e; }
.sk-after  { background:#f0fdf4; color:#166534; }
.sk-interview-q { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); margin-bottom:12px; overflow:hidden; }
.sk-interview-q__header { padding:14px 18px; font-size:14px; font-weight:700; color:var(--text); }
.sk-iq-tabs { display:flex; gap:6px; padding:0 18px 12px; }
.sk-iq-tab { padding:7px 14px; font-size:12px; font-weight:700; border-radius:6px; border:1.5px solid var(--border); background:var(--bg2); color:var(--text-dim); cursor:pointer; font-family:inherit; transition:all .15s; }
.sk-iq-tab--weak { background:rgba(239,68,68,.06); color:#b91c1c; border-color:rgba(239,68,68,.3); }
.sk-iq-tab.active-strong { background:#16a34a; color:#fff; border-color:#16a34a; box-shadow:0 2px 8px rgba(22,163,74,.3); }
.sk-iq-tab.active-weak   { background:#dc2626; color:#fff; border-color:#dc2626; box-shadow:0 2px 8px rgba(220,38,38,.3); }
.sk-iq-body { padding:0 18px 16px; font-size:14px; color:var(--text-mid); line-height:1.7; font-family:'Source Serif 4',Georgia,serif; }
.sk-iq-analysis { margin-top:10px; background:rgba(5,150,105,.07); border-radius:6px; padding:10px 14px; font-size:13px; color:var(--text-mid); }
.sk-iq-analysis::before { content:'Why it works: '; font-weight:700; color:var(--accent); }
.sk-redflags { list-style:none; padding:0; display:flex; flex-direction:column; gap:8px; margin-top:12px; }
.sk-redflags li { font-size:14px; color:#991b1b; line-height:1.55; padding:8px 12px 8px 32px; background:#fef2f2; border-radius:6px; position:relative; }
.sk-redflags li::before { content:'⚠'; position:absolute; left:10px; }
.sk-tips { list-style:none; padding:0; display:flex; flex-direction:column; gap:8px; margin-top:12px; }
.sk-tips li { font-size:14px; color:#166534; line-height:1.55; padding:8px 12px 8px 32px; background:#f0fdf4; border-radius:6px; position:relative; }
.sk-tips li::before { content:'✓'; position:absolute; left:10px; font-weight:700; }
.sk-scenario-card { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:18px 20px; margin-bottom:12px; }
.sk-scenario-card__situation { font-size:14px; color:var(--text); line-height:1.6; margin-bottom:12px; font-weight:500; }
.sk-scenario-reveal { display:none; font-size:14px; color:var(--text-mid); line-height:1.7; font-family:'Source Serif 4',Georgia,serif; margin-top:10px; padding-top:12px; border-top:1px solid var(--border); }
.sk-exercise { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:20px 22px; margin-bottom:14px; }
.sk-exercise__num { font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.07em; color:var(--accent); margin-bottom:8px; }
.sk-exercise__task { font-size:14px; color:var(--text); line-height:1.7; font-family:'Source Serif 4',Georgia,serif; white-space:pre-wrap; word-break:break-word; overflow-wrap:break-word; }
.sk-exercise__answer { display:none; margin-top:16px; padding-top:16px; border-top:1px solid var(--border); }
.sk-exercise__answer-label { font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.07em; color:#166534; margin-bottom:8px; }
.sk-exercise__answer-text { font-size:14px; color:var(--text-mid); line-height:1.75; font-family:'Source Serif 4',Georgia,serif; white-space:pre-wrap; word-break:break-word; overflow-wrap:break-word; }
.sk-eval-list { list-style:none; padding:0; margin-top:12px; display:flex; flex-direction:column; gap:6px; }
.sk-eval-list li { font-size:13px; color:var(--text-mid); padding:7px 12px; background:var(--bg2); border-radius:6px; line-height:1.5; }
.sk-takeaways { display:flex; flex-direction:column; gap:8px; margin-top:16px; counter-reset:tk; }
.sk-takeaway { font-size:14px; color:var(--text); line-height:1.6; padding:10px 14px 10px 36px; background:var(--surface); border:1px solid var(--border); border-radius:8px; position:relative; }
.sk-takeaway::before { content:counter(tk); counter-increment:tk; position:absolute; left:10px; top:10px; width:20px; height:20px; border-radius:50%; background:var(--accent); color:#fff; font-size:11px; font-weight:800; display:flex; align-items:center; justify-content:center; text-align:center; line-height:20px; }
.sk-ai-practice { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:20px 22px; margin-top:16px; }
.sk-rubric-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; margin-top:16px; }
.sk-rubric-card { padding:12px 14px; border-radius:8px; font-size:13px; line-height:1.55; }
.sk-rubric-card__label { font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; margin-bottom:5px; }
.sk-rubric-card--excellent { background:#f0fdf4; color:#166534; }
.sk-rubric-card--good      { background:rgba(5,150,105,.08); color:var(--text); }
.sk-rubric-card--developing { background:#fef3c7; color:#92400e; }
.sk-rubric-card--needs     { background:#fef2f2; color:#991b1b; }
#sk-quiz .quiz-start { padding:16px 20px; }
#sk-quiz .quiz-question { font-size:14px; line-height:1.5; margin-bottom:14px; }
#sk-quiz .quiz-options { gap:6px; margin-bottom:14px; }
#sk-quiz .quiz-option { font-size:13px; padding:10px 12px; }
#sk-quiz .quiz-option__key { width:22px; height:22px; font-size:10px; }
#sk-quiz .quiz-nav__prev, #sk-quiz .quiz-nav__next { font-size:13px; padding:8px 16px; }
#sk-quiz .quiz-difficulty { margin-bottom:8px; }
#sk-quiz .quiz-step { margin-bottom:6px; }
@media(max-width:640px){
  .sk-fw-actions { grid-template-columns:1fr; }
  .sk-ba-grid { grid-template-columns:1fr; }
  .sk-chip { white-space:normal; word-break:break-word; }
  .ip-concept-trigger__name { white-space:normal; word-break:break-word; }
}
@media(max-width:600px){
  .sk-rubric-grid { grid-template-columns:1fr; }
}
@media(max-width:480px){
  .sk-rubric-grid { grid-template-columns:1fr; }
}
