/* ==========================================================================
   ClearResume — Light-First Warm Editorial Paper & Terracotta Career Studio
   Inspired by Monocle, Harvard Career Services, Notion Warm Light & Stripe Press.
   Self-hosted static Plus Jakarta Sans + JetBrains Mono WOFF2 fonts.
   Strict style-src 'self' compliant (zero inline style attributes needed).
   ========================================================================== */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("/fonts/plus-jakarta-sans-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("/fonts/plus-jakarta-sans-latin-400-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: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("/fonts/plus-jakarta-sans-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("/fonts/plus-jakarta-sans-latin-500-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: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("/fonts/plus-jakarta-sans-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("/fonts/plus-jakarta-sans-latin-600-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: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("/fonts/plus-jakarta-sans-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("/fonts/plus-jakarta-sans-latin-700-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: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url("/fonts/plus-jakarta-sans-latin-ext-800-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url("/fonts/plus-jakarta-sans-latin-800-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: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("/fonts/jetbrains-mono-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("/fonts/jetbrains-mono-latin-400-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: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("/fonts/jetbrains-mono-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("/fonts/jetbrains-mono-latin-600-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: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("/fonts/jetbrains-mono-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("/fonts/jetbrains-mono-latin-700-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;
}

:root,
[data-theme="light"] {
  color-scheme: light;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --bg: #faf7f2;
  --bg-elevated: rgba(250, 247, 242, 0.92);
  --bg-card: #ffffff;
  --bg-subtle: #f3efe6;
  --bg-input: #ffffff;
  --border: #e6e0d4;
  --border-strong: #d1c8b8;

  --text: #18181b;
  --text-secondary: #3f3f46;
  --text-muted: #71717a;

  --primary: #c2410c;
  --primary-hover: #9a3412;
  --btn-primary-bg: #c2410c;
  --btn-primary-hover: #9a3412;
  --btn-forest-bg: #15803d;
  --primary-soft: #fff7ed;
  --primary-border: #fed7aa;

  --forest: #15803d;
  --forest-soft: #f0fdf4;
  --forest-border: #bbf7d0;

  --navy: #1e3a8a;
  --navy-soft: #eff6ff;
  --navy-border: #bfdbfe;

  --amber: #b45309;
  --amber-soft: #fffbeb;
  --amber-border: #fde68a;

  --grad-brand: linear-gradient(135deg, #c2410c 0%, #9a3412 52%, #1e3a8a 100%);
  --grad-hero-text: linear-gradient(110deg, #c2410c 0%, #b45309 50%, #15803d 100%);

  --shadow-xs: 0 1px 2px rgba(24, 24, 27, 0.05);
  --shadow-sm: 0 2px 8px rgba(24, 24, 27, 0.05), 0 10px 26px -12px rgba(24, 24, 27, 0.08);
  --shadow-md: 0 6px 18px rgba(24, 24, 27, 0.06), 0 22px 48px -18px rgba(194, 65, 12, 0.14);

  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 11px;
  --radius-sm: 8px;
  --container: 1240px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #141412;
  --bg-elevated: rgba(20, 20, 18, 0.92);
  --bg-card: #1e1d1a;
  --bg-subtle: #272521;
  --bg-input: #171614;
  --border: #38352e;
  --border-strong: #4e4940;

  --text: #f5f5f4;
  --text-secondary: #d6d3d1;
  --text-muted: #a8a29e;

  --primary: #fb923c;
  --primary-hover: #fdba74;
  --btn-primary-bg: #c2410c;
  --btn-primary-hover: #9a3412;
  --btn-forest-bg: #15803d;
  --primary-soft: rgba(249, 115, 22, 0.14);
  --primary-border: rgba(249, 115, 22, 0.34);

  --forest: #22c55e;
  --forest-soft: rgba(34, 197, 94, 0.14);
  --forest-border: rgba(34, 197, 94, 0.32);

  --navy: #60a5fa;
  --navy-soft: rgba(96, 165, 250, 0.14);
  --navy-border: rgba(96, 165, 250, 0.32);

  --amber: #fbbf24;
  --amber-soft: rgba(251, 191, 36, 0.14);
  --amber-border: rgba(251, 191, 36, 0.32);

  --grad-hero-text: linear-gradient(110deg, #fb923c 0%, #fbbf24 55%, #4ade80 100%);
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 6px 22px -10px rgba(0, 0, 0, 0.6);
  --shadow-md: 0 20px 50px -16px rgba(0, 0, 0, 0.78);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.58;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 65% 42% at 15% -5%, rgba(194, 65, 12, 0.08), transparent 65%),
    radial-gradient(ellipse 55% 38% at 88% 0%, rgba(21, 128, 61, 0.07), transparent 64%),
    radial-gradient(ellipse 48% 32% at 50% 8%, rgba(30, 58, 138, 0.05), transparent 65%);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.is-hidden {
  display: none !important;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.4rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--btn-primary-bg);
  color: #ffffff;
  padding: 0.55rem 1rem;
  z-index: 1000;
  font-weight: 700;
}
.skip-link:focus {
  left: 0;
}

/* ==========================================================================
   Sticky Editorial Header (Single-Row 64px Desktop, Static <=96px Mobile)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--bg-elevated);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  min-height: 62px;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  flex-wrap: nowrap;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.brand:hover {
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--grad-brand);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 6px 16px -4px rgba(194, 65, 12, 0.42);
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.26rem 0.65rem;
  border-radius: 999px;
  background: var(--forest-soft);
  border: 1px solid var(--forest-border);
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.trust-pill:hover {
  text-decoration: none;
  color: var(--forest);
}
@media (max-width: 1180px) {
  .trust-pill {
    display: none;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
  min-width: 0;
}
.nav-links > a {
  color: var(--text-secondary);
  font-size: 0.83rem;
  font-weight: 600;
  padding: 0.36rem 0.62rem;
  border-radius: 999px;
  white-space: nowrap;
  flex: 0 0 auto;
}
.nav-links > a:hover,
.nav-links > a[aria-current="page"] {
  color: var(--text);
  background: var(--bg-subtle);
  text-decoration: none;
}

.support-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.36rem 0.72rem;
  border-radius: 999px;
  border: 1px solid var(--primary-border);
  background: var(--primary-soft);
  color: var(--primary);
  font-family: var(--font-sans);
  font-size: 0.79rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex: 0 0 auto;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.36rem 0.68rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.79rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
  }
  .header-inner {
    flex-wrap: wrap;
    min-height: auto;
    gap: 0.4rem;
    padding-top: 0.5rem;
    padding-bottom: 0.45rem;
  }
  .brand-group {
    width: 100%;
    justify-content: space-between;
  }
  .nav-links {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.15rem;
    gap: 0.3rem;
  }
  .nav-links::-webkit-scrollbar {
    display: none;
  }
}

main {
  flex: 1;
  padding: 1.85rem 0 4.5rem;
}

/* ==========================================================================
   Hero Split + 3-Tab Live Career Workbench (Above the Fold)
   ========================================================================== */
.hero-career {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 1.85rem;
  align-items: start;
  margin-bottom: 2.65rem;
  animation: fadeSlideUp 0.52s var(--ease-out) both;
}
@media (max-width: 1040px) {
  .hero-career {
    grid-template-columns: 1fr;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.95rem;
}

.hero-copy h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.95rem, 3.3vw, 2.85rem);
  font-weight: 800;
  line-height: 1.11;
  letter-spacing: -0.035em;
}

.hero-gradient-text {
  background: var(--grad-hero-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 52ch;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
}

.hero-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
}
.hero-trust-item strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
}
.hero-trust-item span {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* 3-Tab Hero Workbench Card */
.hero-wb-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
  min-width: 0;
  max-width: 100%;
}

.wb-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  flex-wrap: wrap;
  padding-bottom: 0.85rem;
  margin-bottom: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.wb-tab-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  padding: 3px;
  border-radius: 11px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
}

.wb-tab-btn {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.42rem 0.78rem;
  border-radius: 8px;
  cursor: pointer;
}
.wb-tab-btn.is-active {
  background: var(--bg-card);
  color: var(--primary);
  box-shadow: var(--shadow-xs);
}

.role-presets-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}
.role-presets-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.preset-chip {
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  cursor: pointer;
}
.preset-chip.is-active,
.preset-chip:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
}

.hero-radar-grid {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 0.9rem;
  border-radius: 14px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  margin-bottom: 0.85rem;
}
@media (max-width: 640px) {
  .hero-radar-grid {
    grid-template-columns: 1fr;
  }
}

.gauge-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.gauge-svg {
  width: 112px;
  height: 112px;
}
.gauge-track {
  fill: none;
  stroke: var(--border);
  stroke-width: 10;
}
.gauge-fill {
  fill: none;
  stroke: var(--forest);
  stroke-width: 10;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  transition: stroke-dashoffset 0.35s var(--ease-out);
}
.gauge-score-text {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 800;
  fill: var(--text);
}
.gauge-sub-text {
  font-size: 9.5px;
  font-weight: 700;
  fill: var(--text-muted);
  text-transform: uppercase;
}

.chips-section-title {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin: 0 0 0.38rem;
}
.chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.36rem;
  margin-bottom: 0.65rem;
}

.skill-chip-matched {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.24rem 0.58rem;
  border-radius: 999px;
  background: var(--forest-soft);
  border: 1px solid var(--forest-border);
  color: var(--forest);
  font-size: 0.74rem;
  font-weight: 700;
}

.skill-chip-missing {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.26rem 0.62rem;
  border-radius: 999px;
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.14s ease, background 0.15s ease;
}
.skill-chip-missing:hover {
  transform: translateY(-1px);
  background: var(--primary);
  color: #ffffff;
}

.hero-inputs-mini {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}
@media (max-width: 640px) {
  .hero-inputs-mini {
    grid-template-columns: 1fr;
  }
}

/* Single-Column Harvard Resume Sheet */
.resume-paper {
  background: #ffffff;
  color: #18181b;
  border: 1px solid #d1c8b8;
  border-radius: 12px;
  padding: 1.55rem 1.75rem;
  box-shadow: var(--shadow-sm);
  font-size: 0.86rem;
  line-height: 1.48;
}
.resume-paper h2 {
  margin: 0;
  font-size: 1.38rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #18181b;
}
.resume-contact-line {
  font-size: 0.79rem;
  color: #52525b;
  padding-bottom: 0.65rem;
  margin-bottom: 0.75rem;
  border-bottom: 1.5px solid #18181b;
}
.resume-sec-head {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #18181b;
  border-bottom: 1px solid #d4d4d8;
  padding-bottom: 0.22rem;
  margin: 0.85rem 0 0.45rem;
}
.resume-role-line {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.86rem;
  margin-top: 0.4rem;
}
.resume-bullets {
  margin: 0.25rem 0 0.5rem 1.1rem;
  padding: 0;
}
.resume-bullets li {
  margin-bottom: 0.22rem;
  color: #27272a;
}

/* ==========================================================================
   Buttons, Forms, Tool Grid & Workbench Panels
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  padding: 0.58rem 1.04rem;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 700;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-xs);
  transition: all 0.16s var(--ease-out);
}
.btn:hover {
  border-color: var(--primary);
  color: var(--text);
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--btn-primary-bg);
  border-color: var(--btn-primary-bg);
  color: #ffffff;
  box-shadow: 0 8px 20px -6px rgba(194, 65, 12, 0.45);
}
.btn-primary:hover {
  background: var(--btn-primary-hover);
  border-color: var(--btn-primary-hover);
  color: #ffffff;
}
.btn-forest {
  background: var(--btn-forest-bg);
  border-color: var(--btn-forest-bg);
  color: #ffffff;
}
.btn-forest:hover {
  color: #ffffff;
  filter: brightness(1.06);
}
.btn-sm {
  padding: 0.4rem 0.76rem;
  font-size: 0.79rem;
  border-radius: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.22rem 0.62rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  color: var(--primary);
}
.badge-muted {
  background: var(--bg-subtle);
  border-color: var(--border);
  color: var(--text-secondary);
}
.badge-success {
  background: var(--forest-soft);
  border-color: var(--forest-border);
  color: var(--forest);
}
.badge-warning {
  background: var(--amber-soft);
  border-color: var(--amber-border);
  color: var(--amber);
}
.badge-navy {
  background: var(--navy-soft);
  border-color: var(--navy-border);
  color: var(--navy);
}

/* Hub Catalog */
.catalog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.15rem;
}
.catalog-head h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.catalog-head p {
  margin: 0.22rem 0 0;
  color: var(--text-secondary);
  font-size: 0.93rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}
.filter-pill {
  padding: 0.44rem 0.92rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.83rem;
  font-weight: 700;
  cursor: pointer;
}
.filter-pill.is-active {
  background: var(--btn-primary-bg);
  border-color: var(--btn-primary-bg);
  color: #ffffff;
}

.search-box {
  position: relative;
  min-width: 0;
  width: 100%;
  flex: 1 1 240px;
  max-width: 340px;
}
.search-box input {
  width: 100%;
  padding: 0.56rem 0.9rem 0.56rem 2.25rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.87rem;
  outline: none;
}
.search-box input:focus {
  border-color: var(--primary);
}
.search-box svg {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.1rem;
  margin-bottom: 2.2rem;
}
@media (max-width: 420px) {
  .tool-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.tool-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.3rem;
  box-shadow: var(--shadow-sm);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.2s var(--ease-out), border-color 0.16s ease, box-shadow 0.2s ease;
}
.tool-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  color: var(--text);
  text-decoration: none;
}
.tool-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}
.tool-icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 1.15rem;
}
.tool-card h3 {
  margin: 0 0 0.42rem;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.tool-card p {
  margin: 0 0 1.1rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.tool-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--primary);
}

/* Tool Pages & 2-Column Studio Grid */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-bottom: 0.95rem;
}
.breadcrumbs a {
  color: var(--text-secondary);
  font-weight: 600;
}

.tool-header {
  margin-bottom: 1.55rem;
}
.tool-header h1 {
  margin: 0.5rem 0 0.55rem;
  font-size: clamp(1.7rem, 3.1vw, 2.38rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.tool-header .lead {
  margin: 0;
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 74ch;
}

.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 1.45rem;
  align-items: start;
  margin-bottom: 2.2rem;
}
@media (max-width: 960px) {
  .studio-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.studio-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  min-width: 0;
  max-width: 100%;
}
pre.resume-paper {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: var(--font-sans);
  max-width: 100%;
  overflow-x: auto;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0 0 1rem;
  font-size: 0.98rem;
  font-weight: 800;
}

.field-stack {
  display: flex;
  flex-direction: column;
  gap: 0.92rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.34rem;
}
.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}
@media (max-width: 560px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}
.field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--text);
}

.input,
.textarea,
.select {
  width: 100%;
  padding: 0.58rem 0.78rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-input);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  outline: none;
}
.input:focus,
.textarea:focus,
.select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.5;
}
.textarea-compact {
  min-height: 78px;
}
.textarea-tall {
  min-height: 170px;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}
@media (max-width: 560px) {
  .stat-strip {
    grid-template-columns: 1fr;
  }
}
.stat-tile {
  padding: 0.72rem 0.85rem;
  border-radius: 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
}
.stat-tile span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}
.stat-tile strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  margin-top: 0.14rem;
}

.audit-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.audit-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.62rem 0.82rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  font-size: 0.84rem;
}
.audit-item.is-pass {
  border-left: 3.5px solid var(--forest);
}
.audit-item.is-warn {
  border-left: 3.5px solid var(--amber);
  background: var(--amber-soft);
}

.xray-pre {
  margin: 0;
  padding: 0.9rem;
  border-radius: 10px;
  background: #18181b;
  color: #e4e4e7;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.5;
  max-height: 290px;
  overflow: auto;
  white-space: pre-wrap;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}
@media (max-width: 560px) {
  .checkbox-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.check-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.44rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}
.check-pill input {
  accent-color: var(--primary);
}

.board-links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 0.85rem;
}
@media (max-width: 560px) {
  .board-links-grid {
    grid-template-columns: 1fr;
  }
}
.board-card {
  padding: 0.75rem 0.85rem;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.bullet-card {
  padding: 0.85rem;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  margin-bottom: 0.7rem;
}
.rewrite-box {
  margin-top: 0.55rem;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px dashed var(--border-strong);
  font-size: 0.81rem;
}

/* Content Sections, Sponsor, FAQs, Footer, Modal & Toast */
.sponsor-slot {
  margin: 2rem 0;
  padding: 1.2rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--primary-border);
  background: var(--primary-soft);
}
.sponsor-slot-copy strong {
  display: block;
  font-size: 0.98rem;
  margin-top: 0.25rem;
}
.sponsor-slot-copy p {
  margin: 0.2rem 0 0;
  font-size: 0.86rem;
  color: var(--text-secondary);
  max-width: 64ch;
}

.content-section {
  margin-bottom: 1.8rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-xs);
}
.content-section h2 {
  margin: 0 0 0.8rem;
  font-size: 1.22rem;
  font-weight: 800;
}
.content-section p,
.content-section li {
  color: var(--text-secondary);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.62rem;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--bg-subtle);
}
.faq-item summary {
  padding: 0.9rem 1.1rem;
  font-weight: 700;
  font-size: 0.93rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--primary);
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-answer {
  padding: 0.8rem 1.1rem 1rem;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.91rem;
}

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

.prose-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.1rem;
  max-width: 840px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}
.prose-card h1 {
  margin-top: 0;
  font-size: 1.95rem;
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-card);
  padding: 2.1rem 0;
  margin-top: auto;
  font-size: 0.86rem;
  color: var(--text-muted);
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem;
}
.footer-links a {
  color: var(--text-secondary);
  font-weight: 600;
}

/* 5-App Cross-Link Footer Network */
.footer-network {
  margin-top: 1.6rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border);
}
.network-head {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}
.network-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
}
@media (max-width: 960px) {
  .network-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .network-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.network-card {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  padding: 0.68rem 0.78rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  color: var(--text);
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.network-card:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
  text-decoration: none;
  color: var(--text);
}
.network-card.is-current {
  border-color: var(--forest-border);
  background: var(--forest-soft);
}
.network-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text);
}
.network-current-pill {
  font-size: 0.66rem;
  font-weight: 700;
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--forest-border);
  color: var(--forest);
  white-space: nowrap;
}
.network-card span.network-desc {
  font-size: 0.75rem;
  line-height: 1.38;
  color: var(--text-secondary);
}

/* Role-Specific ATS Resume Guide Pages (/resume-examples/<slug>/) */
.role-guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 0.72rem;
  margin-top: 1rem;
}
@media (max-width: 420px) {
  .role-guides-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.role-guide-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.16s ease, transform 0.16s ease;
}
.role-guide-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--text);
}
.role-guide-card strong {
  font-size: 0.91rem;
  font-weight: 800;
}
.role-guide-card span {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.kw-copy-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}
.kw-copy-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.34rem 0.72rem;
  border-radius: 999px;
  border: 1px solid var(--forest-border);
  background: var(--forest-soft);
  color: var(--forest);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.14s ease, border-color 0.14s ease;
}
.kw-copy-chip:hover {
  transform: translateY(-1px);
  border-color: var(--forest);
}

.guide-bullet-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  margin-bottom: 0.65rem;
}
.guide-bullet-card p {
  margin: 0;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
}
@media (max-width: 560px) {
  .guide-bullet-card {
    flex-direction: column;
  }
}

.pitfall-card {
  padding: 0.82rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--amber-border);
  border-left: 4px solid var(--amber);
  background: var(--amber-soft);
  color: var(--text);
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.not-found-card {
  text-align: center;
  padding: 3rem 1.8rem;
}
.not-found-code {
  font-family: var(--font-mono);
  font-size: 3.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.support-modal {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  color: var(--text);
  padding: 1.5rem;
  max-width: 470px;
  width: calc(100% - 2rem);
  box-shadow: var(--shadow-md);
}
.support-modal::backdrop {
  background: rgba(24, 24, 27, 0.5);
  backdrop-filter: blur(5px);
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.7rem;
}
.modal-head h2 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 800;
}
.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
}

.toast-container {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}
.toast {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.68rem 1rem;
  border-radius: 11px;
  background: #18181b;
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: 0 14px 34px -8px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .breadcrumbs,
  .tool-header,
  .no-print,
  .sponsor-slot,
  .content-section {
    display: none !important;
  }
  body {
    background: #ffffff !important;
  }
  .studio-grid,
  .hero-career {
    display: block !important;
  }
  .studio-panel,
  .hero-wb-card,
  .resume-paper {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
}
