:root {
  --ink: #1d1d1f;
  --ink-soft: #3a3a3c;
  --muted: #6e6e73;
  --muted-light: #86868b;
  --paper: #f5f5f7;
  --card: #ffffff;
  --line: #e5e5ea;
  --line-strong: #d2d2d7;
  --blue: #007aff;
  --blue-dark: #0066d6;
  --sky: #32ade6;
  --cyan: #5ac8fa;
  --blue-soft: #eaf4ff;
  --blue-wash: #f5faff;
  --danger: #d70015;
  --white: #ffffff;
  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 12px 40px rgba(0, 40, 90, .08);
  --shadow-sm: 0 4px 20px rgba(0, 40, 90, .05);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", ui-monospace, Consolas, "Liberation Mono", Menlo, monospace;
  /* Legacy aliases kept so older templates still resolve. */
  --navy: var(--ink);
  --navy-2: var(--ink-soft);
  --orange: var(--blue);
  --orange-dark: var(--blue-dark);
  --teal: var(--blue);
  --teal-soft: var(--blue-soft);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 650;
  line-height: 1.08;
  margin: 0 0 .5em;
  letter-spacing: -.035em;
}
h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 3rem); }
h3 { font-size: 1.22rem; letter-spacing: -.02em; }
h4 { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
p { margin: 0 0 1rem; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
::selection { background: #cce8ff; }
:focus-visible { outline: 3px solid rgba(0, 122, 255, .45); outline-offset: 2px; }
hr { border: 0; border-top: 1px solid var(--line); }

.wrap { width: min(1120px, calc(100% - 3rem)); margin: 0 auto; }
.narrow { width: min(800px, calc(100% - 3rem)); }
.center { text-align: center; }
.center-block { text-align: center; padding: 4rem 0; }
.center-block .btn { margin-top: 1rem; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.tiny { font-size: .78rem; line-height: 1.5; }
.on-navy { color: var(--ink); }
.on-navy-muted { color: var(--muted); max-width: 660px; }
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .7rem;
  font-weight: 600;
  color: var(--blue);
  margin: 0 0 .8rem;
}
.eyebrow-light { color: var(--blue); }
.skip {
  position: absolute; left: -999px; top: 0; background: var(--white); color: var(--ink);
  padding: .7rem 1rem; z-index: 100; border-radius: 0 0 12px 0;
}
.skip:focus { left: 0; top: 0; }

/* ---------------------------------------------------------------- header */
.site-header {
  background: rgba(255, 255, 255, .78);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; font-weight: 650; font-size: 1.02rem; letter-spacing: -.02em; }
.brand-mark {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(145deg, var(--sky), var(--blue));
  color: var(--white); font-size: .95rem; font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 122, 255, .28);
}
.nav { display: flex; align-items: center; gap: 1.35rem; flex-wrap: wrap; }
.nav-link { color: var(--ink-soft); text-decoration: none; font-size: .86rem; font-weight: 500; }
.nav-link:hover { color: var(--blue); }
.tier-pill {
  font-size: .64rem; font-weight: 650; text-transform: uppercase; letter-spacing: .08em;
  background: var(--blue-soft); color: var(--blue); padding: .28rem .55rem; border-radius: 99px;
}
.user-menu { position: relative; }
.user-menu summary {
  list-style: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--cyan), var(--blue)); color: var(--white);
  cursor: pointer; font-weight: 600; font-size: .82rem;
}
.user-menu summary::-webkit-details-marker { display: none; }
.menu {
  position: absolute; right: 0; top: 42px; background: rgba(255, 255, 255, .96);
  border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  min-width: 230px; padding: .45rem; backdrop-filter: blur(20px);
}
.menu-email { font-size: .76rem; color: var(--muted); padding: .45rem .65rem; border-bottom: 1px solid var(--line); margin-bottom: .3rem; overflow: hidden; text-overflow: ellipsis; }
.menu-item { display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: .55rem .65rem; border-radius: 9px; cursor: pointer; color: var(--ink); font-size: .88rem; }
.menu-item:hover { background: var(--paper); }

/* -------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  border: 1px solid transparent; border-radius: 999px; padding: .72rem 1.25rem;
  font-weight: 550; font-size: .9rem; line-height: 1.1; text-decoration: none; cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-primary {
  background: var(--blue); color: var(--white);
  box-shadow: 0 6px 18px rgba(0, 122, 255, .22);
}
.btn-primary:hover { background: var(--blue-dark); color: var(--white); }
.btn-ghost { background: rgba(255, 255, 255, .7); border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); background: var(--white); }
.btn-small { padding: .45rem .8rem; font-size: .78rem; }
.btn-large { padding: .9rem 1.6rem; font-size: 1rem; }
.btn-block { width: 100%; }
.text-link { font-weight: 550; text-decoration: none; color: var(--blue); font-size: .9rem; }
.text-link:hover { color: var(--blue-dark); }

/* ----------------------------------------------------------------- hero */
.hero {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0 clamp(3rem, 5vw, 4.5rem);
  background:
    radial-gradient(900px 460px at 78% 8%, rgba(90, 200, 250, .24) 0%, transparent 62%),
    radial-gradient(700px 380px at 12% 22%, rgba(0, 122, 255, .08) 0%, transparent 60%),
    var(--paper);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-copy .lede { max-width: 600px; }
h1 em { font-style: normal; color: var(--blue); }
.result-actions { margin-top: 1rem; }
.lede { font-size: 1.14rem; color: var(--muted); max-width: 700px; line-height: 1.55; }
.hero-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin: 1.7rem 0 1rem; }
.proof-row { display: flex; gap: 2rem; margin-top: 2rem; padding-top: 1.3rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.proof-row div { display: flex; flex-direction: column; }
.proof-row strong { font-size: 1.5rem; color: var(--ink); line-height: 1; letter-spacing: -.03em; }
.proof-row span { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: .35rem; }
.hero-visual { position: relative; }
.hero-visual::before {
  content: ""; position: absolute; inset: 8% -4% -6% 4%;
  background: linear-gradient(145deg, rgba(90, 200, 250, .45), rgba(0, 122, 255, .18));
  border-radius: 40px; filter: blur(30px);
}
.plan-card {
  position: relative; background: rgba(255, 255, 255, .92); color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .9); border-radius: 24px; padding: 1.3rem;
  box-shadow: 0 24px 70px rgba(0, 60, 120, .14);
  backdrop-filter: blur(20px);
}
.plan-card-head { display: flex; align-items: center; gap: .55rem; font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding-bottom: .85rem; border-bottom: 1px solid var(--line); font-weight: 600; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 4px rgba(50, 173, 230, .14); }
.plan-score { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 0; }
.score-number { font-size: 3.2rem; font-weight: 650; line-height: .9; color: var(--ink); letter-spacing: -.05em; }
.score-number span { font-size: .8rem; color: var(--muted); margin-left: .15rem; font-weight: 500; letter-spacing: 0; }
.plan-score strong { color: var(--ink); font-size: .95rem; font-weight: 600; }
.plan-score .tiny { margin: .25rem 0 0; }
.mini-block { background: var(--blue-wash); border: 1px solid #dcefff; border-radius: 14px; padding: .85rem .95rem; margin-top: .7rem; }
.mini-label { font-size: .64rem; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); margin-bottom: .5rem; font-weight: 650; }
.mini-tasks { margin: 0; padding: 0; list-style: none; }
.mini-tasks li { display: flex; gap: .6rem; font-size: .8rem; padding: .34rem 0; border-bottom: 1px solid #e4f1ff; line-height: 1.4; }
.mini-tasks li:last-child { border-bottom: 0; }
.mini-tasks li span { color: var(--blue); font-family: var(--mono); font-size: .68rem; min-width: 2.8rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { font-size: .68rem; border: 1px solid #cfe7ff; color: #35627f; background: var(--white); border-radius: 99px; padding: .25rem .6rem; }
.chip-now { background: var(--blue); border-color: var(--blue); color: var(--white); font-weight: 600; }
.hero-visual > .tiny { margin-top: 1.5rem; }

/* --------------------------------------------------------------- sections */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-tint { background: #fbfbfd; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-navy {
  background:
    radial-gradient(800px 400px at 20% 0%, rgba(90, 200, 250, .18), transparent 65%),
    #f2f9ff;
  border-top: 1px solid #e1f0ff;
  border-bottom: 1px solid #e1f0ff;
  color: var(--ink);
}
.section-navy .eyebrow { color: var(--blue); }
.section-navy h2 { color: var(--ink); }
.section-navy .on-navy-muted { color: var(--muted); }
.section-cta { background: linear-gradient(180deg, #f5faff, #eaf5ff); border-top: 1px solid #e1f0ff; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.2rem; }
.three-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.plain-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.plain-card h3 { font-size: 1.1rem; }
.plain-card p { color: var(--muted); font-size: .92rem; }
.plain-card p:last-child { margin-bottom: 0; }
.small-grid { margin-top: 1.2rem; }
.small-grid .plain-card { padding: 1.1rem; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 1.3rem; box-shadow: var(--shadow-sm); }
.step-no { font-family: var(--mono); color: var(--blue); font-size: .72rem; }
.step h3 { font-size: 1.02rem; margin: .45rem 0 .4rem; }
.step p { font-size: .86rem; color: var(--muted); margin: 0; }

/* roles */
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.role-card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 1.3rem; color: var(--ink); text-decoration: none; transition: .18s ease; box-shadow: var(--shadow-sm); }
.role-card:hover { border-color: #b9ddff; transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0, 80, 160, .10); color: var(--ink); }
.role-top { display: flex; justify-content: space-between; gap: .6rem; align-items: start; }
.role-top h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.demand { font-size: .6rem; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); background: var(--blue-soft); padding: .25rem .5rem; border-radius: 99px; white-space: nowrap; font-weight: 600; }
.role-card p { font-size: .85rem; color: var(--muted); min-height: 4.6em; }
.role-meta { display: flex; justify-content: space-between; font-size: .72rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: .65rem; }

/* --------------------------------------------------------------- pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.2rem; align-items: stretch; }
.price-card { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 24px; padding: 1.6rem; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.price-card.featured {
  background: linear-gradient(155deg, #0a84ff 0%, #32ade6 100%);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 24px 60px rgba(0, 122, 255, .28);
  transform: translateY(-4px);
}
.price-card.featured .muted, .price-card.featured .tiny { color: rgba(255, 255, 255, .82); }
.price-head { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.price-head h3 { margin: 0; font-size: 1.2rem; }
.price { font-size: 2.1rem; font-weight: 650; line-height: 1; letter-spacing: -.04em; }
.price span { font-size: .76rem; color: var(--muted); margin-left: .2rem; font-weight: 400; letter-spacing: 0; }
.price-card.featured .price span { color: rgba(255, 255, 255, .78); }
.price-card .muted { font-size: .86rem; }
.check-list { list-style: none; padding: 0; margin: .9rem 0 1.4rem; display: grid; gap: .5rem; }
.check-list li { position: relative; padding-left: 1.45rem; font-size: .86rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: .55rem; height: .3rem;
  border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}
.price-card.featured .check-list li::before { border-color: rgba(255, 255, 255, .9); }
.price-card .btn { margin-top: auto; }
.price-card .tiny { margin: .7rem 0 0; text-align: center; }
.price-card.featured .btn-primary { background: var(--white); color: var(--blue); box-shadow: none; }
.price-card.featured .btn-primary:hover { background: #f2f9ff; color: var(--blue-dark); }
.price-card.featured .text-link, .price-card.featured a { color: #ffffff; text-decoration: underline; text-underline-offset: 2px; }

/* ------------------------------------------------------------------- faq */
.faq { border-top: 1px solid var(--line); padding: 1.05rem 0; }
.faq summary { cursor: pointer; font-weight: 550; font-size: .98rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 1.25rem; line-height: 1; font-weight: 300; }
.faq[open] summary::after { content: "−"; }
.faq p { margin: .7rem 0 0; color: var(--muted); font-size: .9rem; max-width: 700px; }

/* ------------------------------------------------------------------ page */
.page-head {
  padding: clamp(3rem, 6vw, 5rem) 0 1.8rem;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(700px 300px at 85% 0, rgba(90, 200, 250, .18), transparent 65%), var(--paper);
}
.page-head.compact { padding-bottom: 1.3rem; }
.page-head .lede { margin-bottom: 0; }
.two-col { display: grid; grid-template-columns: minmax(0, 430px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 1.7rem; box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.45rem; }
.field { margin-bottom: 1rem; display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .8rem; font-weight: 550; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--white);
  padding: .68rem .8rem; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 2.2rem; }
.field textarea { resize: vertical; min-height: 140px; font-family: var(--mono); font-size: .78rem; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 4px rgba(0, 122, 255, .12); }
.hint { font-size: .74rem; color: var(--muted); }
.empty-state { border: 1px dashed var(--line-strong); border-radius: 20px; padding: 2rem; background: rgba(255, 255, 255, .6); }
.empty-state h3 { margin-top: 0; }
.demo-result { display: grid; gap: 1.3rem; }
.result-head { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.result-head h2 { margin: 0; }
.unlock-panel {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  background: linear-gradient(135deg, #eef8ff, #f8fcff); border: 1px solid #d9edff;
  border-radius: 20px; padding: 1.3rem;
}
.unlock-panel h3 { margin: 0 0 .3rem; }
.unlock-panel p { margin: 0; font-size: .86rem; color: var(--muted); }

/* ------------------------------------------------------------------- auth */
.auth-section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.auth-grid { display: grid; grid-template-columns: 1fr minmax(320px, 440px); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.auth-copy h1 { font-size: clamp(2.1rem, 3.6vw, 3rem); }
.form-error { background: #fff2f2; color: var(--danger); border: 1px solid #ffd0d0; border-radius: 12px; padding: .65rem .8rem; font-size: .82rem; margin-bottom: 1rem; }

/* -------------------------------------------------------------- onboarding */
.form-wide { max-width: 920px; }
.profile-form fieldset { border: 0; border-top: 1px solid var(--line); padding: 1.6rem 0 .5rem; margin: 0; }
.profile-form legend { font-size: 1.25rem; font-weight: 650; letter-spacing: -.02em; padding: 0 1rem 0 0; }
.two-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.three-fields { display: grid; grid-template-columns: 1fr 1.4fr .8fr; gap: 1rem; }
.resume-tools { display: flex; align-items: center; gap: .8rem; margin-top: .4rem; flex-wrap: wrap; }
.skill-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1.5rem; margin-top: .8rem; }
.skill-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding: .5rem 0; }
.skill-row > div { display: flex; flex-direction: column; }
.skill-row label { font-size: .86rem; font-weight: 550; }
.skill-row select { width: 138px; border: 1px solid var(--line-strong); border-radius: 10px; padding: .4rem; background: var(--white); }
.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 1rem; margin-top: .6rem; }
.cert-check { display: flex; gap: .55rem; align-items: start; font-size: .84rem; padding: .45rem; border: 1px solid transparent; border-radius: 12px; }
.cert-check:hover { border-color: var(--line); background: var(--blue-wash); }
.cert-check span { display: flex; flex-direction: column; }
.cert-check small { color: var(--muted); }
.check-line { display: flex; gap: .6rem; align-items: start; font-size: .86rem; }
.check { display: flex; gap: .55rem; align-items: start; }
.consent { margin: .2rem 0 1rem; color: var(--muted); font-size: .8rem; }
.consent input { margin-top: .2rem; }
.form-actions { display: flex; gap: .8rem; padding-top: 1.7rem; border-top: 1px solid var(--line); flex-wrap: wrap; }

/* --------------------------------------------------------------- dashboard */
.dash-head { padding: 2.6rem 0 1.4rem; border-bottom: 1px solid var(--line); background: var(--paper); }
.dash-head .wrap { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; }
.dash-head h1 { font-size: clamp(1.9rem, 3vw, 2.7rem); margin-bottom: .2rem; }
.dash-actions { display: flex; gap: .5rem; }
.dash-body { padding-top: 1.8rem; }
.upgrade-strip {
  display: flex; justify-content: space-between; align-items: center; gap: 1.2rem;
  background: linear-gradient(135deg, #e9f6ff, #f8fcff); color: var(--ink);
  border: 1px solid #d4ebff; border-radius: 18px; padding: 1rem 1.2rem; margin-bottom: 1.1rem; font-size: .86rem;
}
.upgrade-strip .btn { flex: 0 0 auto; }
.notice { border-left: 3px solid var(--sky); background: #f2faff; padding: .85rem 1rem; border-radius: 0 12px 12px 0; margin-bottom: 1rem; }
.notice p { margin: 0 0 .35rem; font-size: .84rem; }
.score-panel {
  display: grid; grid-template-columns: 190px 1fr; gap: 2rem; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 1.7rem;
  box-shadow: var(--shadow-sm);
}
.ring-wrap { position: relative; width: 160px; height: 160px; }
.score-ring { width: 160px; height: 160px; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: #e8f2fb; stroke-width: 10; }
.ring-fg { fill: none; stroke: var(--blue); stroke-width: 10; stroke-linecap: round; }
.ring-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-label strong { font-size: 2.5rem; line-height: .9; letter-spacing: -.04em; }
.ring-label span { font-size: .72rem; color: var(--muted); }
.subscores { display: grid; gap: .55rem; margin-top: 1rem; }
.subscores > div { display: grid; grid-template-columns: 120px 1fr 32px; gap: .7rem; align-items: center; font-size: .76rem; }
.subscores progress { width: 100%; height: 7px; }
.subscores b { text-align: right; font-size: .76rem; }
progress { accent-color: var(--sky); }
.dash-two { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.2rem; margin-top: 1.2rem; align-items: start; }
.dash-section { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 1.4rem; margin-top: 1.2rem; box-shadow: var(--shadow-sm); }
.dash-two .dash-section { margin-top: 0; }
.dash-section-head { display: flex; justify-content: space-between; align-items: start; gap: 1rem; margin-bottom: .9rem; }
.dash-section-head h2 { font-size: 1.35rem; margin: 0; }
.dash-section-head .eyebrow { margin-bottom: .3rem; }
.gap-list { display: grid; }
.gap-row { display: grid; grid-template-columns: 26px 1fr 64px 44px; gap: .7rem; align-items: center; border-top: 1px solid var(--line); padding: .7rem 0; }
.gap-row:first-child { border-top: 0; }
.gap-rank { font-family: var(--mono); color: var(--blue); font-size: .7rem; }
.gap-main { display: flex; flex-direction: column; gap: .1rem; }
.gap-main strong { font-size: .88rem; }
.gap-impact { text-align: right; font-size: .7rem; color: var(--muted); }
.gap-impact b { display: block; font-size: .86rem; color: var(--ink); }
.gap-hours { font-family: var(--mono); font-size: .74rem; text-align: right; color: var(--muted); }
.progress-wide { width: 100%; height: 10px; margin: .3rem 0 .9rem; }
.progress-notes p { font-size: .84rem; margin-bottom: .35rem; }
.milestone-list { display: grid; gap: .7rem; margin-top: 1rem; }
.milestone-list > div { border-left: 2px solid #cfe9ff; padding-left: .75rem; }
.milestone-list span { font-family: var(--mono); font-size: .66rem; color: var(--blue); }
.milestone-list strong { display: block; font-size: .84rem; }
.milestone-list p { margin: 0; }

/* certs */
.cert-grid-dash { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.cert-card { border: 1px solid var(--line); border-radius: 18px; padding: 1rem; background: var(--white); }
.cert-now { border-color: #9fd4ff; background: var(--blue-wash); box-shadow: inset 0 0 0 1px rgba(0, 122, 255, .05); }
.cert-next { border-color: #c5e9ff; }
.cert-head { display: flex; justify-content: space-between; gap: .5rem; align-items: center; }
.cert-tier { font-size: .58rem; text-transform: uppercase; letter-spacing: .09em; font-weight: 650; color: var(--blue); }
.cert-card h3 { font-size: .96rem; margin: .35rem 0; }
.cert-meta { display: flex; gap: .6rem; flex-wrap: wrap; font-family: var(--mono); font-size: .66rem; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: .45rem; margin-bottom: .45rem; }
.cert-card p { margin: 0; }
.cert-held { color: var(--muted); font-size: .76rem; margin: .2rem 0 0; max-width: 560px; }
.topic-row { display: flex; flex-wrap: wrap; gap: .25rem; margin-top: .45rem; }
.topic { font-size: .6rem; background: var(--paper); border: 1px solid var(--line); border-radius: 99px; padding: .16rem .45rem; }
.resource-list { margin: .5rem 0 0; padding-left: 1rem; font-size: .72rem; }
.resource-list li { margin-bottom: .2rem; }
.locked-card {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  border: 1px dashed #a9d8ff; background: #f4faff; padding: 1rem; border-radius: 16px; margin-top: .8rem;
}
.locked-card p { margin: .2rem 0 0; }
.locked-longterm { border: 1px dashed var(--line-strong); border-radius: 16px; padding: 1rem; background: #fbfbfd; }

/* timeline */
.phase-stack { display: grid; gap: .8rem; }
.phase-card { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--white); }
.phase-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: #f5faff; padding: .75rem 1rem; }
.phase-head h3 { margin: 0; font-size: 1.05rem; }
.phase-key { font-family: var(--mono); font-size: .6rem; color: var(--blue); text-transform: uppercase; letter-spacing: .1em; }
.phase-weeks { font-family: var(--mono); font-size: .68rem; color: var(--muted); }
.phase-obj { font-size: .8rem; color: var(--muted); margin: .7rem 1rem; }
.task-list { list-style: none; margin: 0; padding: 0 1rem .5rem; }
.task { display: flex; gap: .7rem; border-top: 1px solid var(--line); padding: .75rem 0; }
.task-check { padding-top: .15rem; }
.task-check input { width: 18px; height: 18px; accent-color: var(--blue); }
.task-body { min-width: 0; flex: 1; }
.task-title { font-size: .9rem; font-weight: 550; display: flex; gap: .45rem; align-items: baseline; }
.task-kind { font-family: var(--mono); font-size: .58rem; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); background: var(--blue-soft); padding: .12rem .35rem; border-radius: 999px; }
.task-detail { font-size: .78rem; color: var(--muted); margin: .2rem 0 .3rem; }
.task-meta { display: flex; gap: .7rem; flex-wrap: wrap; font-family: var(--mono); font-size: .63rem; color: var(--muted); }
.task-accept { font-size: .72rem; color: var(--muted); margin-top: .3rem; }
.task.done .task-title { text-decoration: line-through; color: var(--muted); }
.task.done .task-detail, .task.done .task-accept { opacity: .55; }

/* long term */
.term-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-top: .9rem; }
.term { border-top: 2px solid var(--sky); padding-top: .55rem; }
.term-head { display: flex; flex-direction: column; }
.term-head span { font-family: var(--mono); font-size: .63rem; color: var(--blue); }
.term-head b { font-size: .78rem; }
.term ul { margin: .35rem 0 0; padding-left: .9rem; font-size: .7rem; color: var(--muted); }
.assumption-box { margin-top: 1.3rem; border-top: 1px solid var(--line); padding-top: 1.1rem; font-size: .78rem; color: var(--muted); }
.assumption-box ul { margin: .3rem 0 .6rem; padding-left: 1.1rem; }
.assumption-box h3 { font-size: .95rem; color: var(--ink); }

/* --------------------------------------------------------------- flash/footer */
.flash {
  display: flex; gap: .8rem; align-items: center; border: 1px solid #c9e8ff;
  background: #eef8ff; color: #24506e; padding: .8rem 1rem; border-radius: 14px; margin: 1rem 0; font-size: .86rem;
}
.flash strong { font-weight: 600; }
.flash span { color: #416b86; }
.flash-warn { border-color: #ffd9a8; background: #fff8ec; color: #7a4b0d; }
.site-footer { background: #f5f5f7; color: var(--muted); padding: 3.5rem 0 2rem; margin-top: 3rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.site-footer a { display: block; color: #515154; text-decoration: none; font-size: .82rem; margin-bottom: .5rem; }
.site-footer a:hover { color: var(--blue); }
.site-footer h4 { color: var(--muted); font-size: .66rem; letter-spacing: .1em; margin-bottom: .7rem; }
.footer-brand { color: var(--ink); margin-bottom: .8rem; }
.site-footer .muted { color: var(--muted); }
.footer-grid > div:first-child p { margin-bottom: .4rem; }

/* ---------------------------------------------------------------- misc */
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }
.legal p, .legal li { color: var(--ink-soft); font-size: .92rem; }
.legal ul { padding-left: 1.2rem; }
.compare-table { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-top: 1.2rem; background: var(--white); }
.compare-row { display: grid; grid-template-columns: 2fr .7fr .7fr; gap: 1rem; padding: .7rem 1rem; border-top: 1px solid var(--line); font-size: .84rem; background: var(--white); }
.compare-row:first-child { border-top: 0; }
.compare-head { background: #f5faff; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.compare-row span:not(:first-child) { text-align: center; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 1.4rem; margin-bottom: .8rem; box-shadow: var(--shadow-sm); }
.contact-card h2 { font-size: 1.15rem; margin-bottom: .3rem; }
.print-page { max-width: 900px; margin: 2rem auto; padding: 0 1.2rem; }
.print-page table { width: 100%; border-collapse: collapse; font-size: .76rem; margin: .6rem 0 1.2rem; }
.print-page th, .print-page td { border: 1px solid var(--line-strong); padding: .35rem .4rem; text-align: left; vertical-align: top; }
.print-page th { background: #f5faff; }
.print-page h2 { font-size: 1.2rem; margin-top: 1.4rem; }

.delete-form { display: grid; gap: .55rem; max-width: 370px; margin-top: .9rem; }
.delete-form label { font-size: .76rem; color: var(--muted); }
.delete-form input[type=password] { width: 100%; padding: .6rem .75rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.delete-form .btn { justify-self: start; margin-top: .35rem; }

@media (max-width: 980px) {
  .hero-grid, .two-col, .auth-grid, .dash-two { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; }
  .steps, .term-grid { grid-template-columns: 1fr 1fr; }
  .role-grid, .pricing-grid, .three-grid, .cert-grid-dash { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .score-panel { grid-template-columns: 160px 1fr; }
}
@media (max-width: 700px) {
  .nav { gap: .8rem; }
  .nav-link { display: none; }
  .nav-link[href="/app"], .nav-link[href="/login"] { display: inline; }
  .tier-pill { display: none; }
  .nav .btn { display: inline-flex; }
  .header-inner { min-height: 60px; }
  .hero { padding-top: 2.5rem; }
  .hero h1 { font-size: 2.35rem; }
  .steps, .role-grid, .pricing-grid, .three-grid, .cert-grid-dash, .term-grid, .footer-grid,
  .skill-grid, .cert-grid, .two-fields, .three-fields { grid-template-columns: 1fr; }
  .score-panel { grid-template-columns: 1fr; text-align: center; }
  .ring-wrap { margin: 0 auto; }
  .subscores > div { grid-template-columns: 100px 1fr 28px; text-align: left; }
  .gap-row { grid-template-columns: 22px 1fr 50px; }
  .gap-hours { display: none; }
  .unlock-panel, .upgrade-strip, .locked-card { flex-direction: column; align-items: flex-start; }
  .section-head { flex-direction: column; align-items: start; }
  .dash-head .wrap { align-items: start; }
  .compare-row { grid-template-columns: 1.4fr .6fr .6fr; font-size: .76rem; }
  .form-card { padding: 1.15rem; }
  .wrap { width: min(1120px, calc(100% - 1.6rem)); }
  .price-card.featured { transform: none; }
}
@media print {
  .site-header, .site-footer, .dash-actions, .upgrade-strip, .task-check, .btn { display: none !important; }
  body { background: #fff; }
  .print-page { max-width: none; margin: 0; padding: 0; }
  a { color: #000; text-decoration: none; }
}

/* ------------------------------------------------------------------ onboarding */
.ob-page { min-height: calc(100vh - 64px); padding: 2.4rem 0 4rem; }
.ob-wrap { max-width: 760px; }
.ob-top { display: flex; align-items: center; gap: 1rem; margin-bottom: 2.2rem; }
.ob-exit { color: var(--muted); font-size: .86rem; text-decoration: none; white-space: nowrap; }
.ob-exit:hover { color: var(--ink); }
.ob-meter { flex: 1; height: 5px; border-radius: 999px; background: rgba(14, 36, 54, .08); overflow: hidden; }
.ob-meter span { display: block; width: 12.5%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), #5ac8fa); transition: width .35s ease; }
.ob-count { color: var(--muted); font-size: .8rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ob-count b { color: var(--ink); font-weight: 600; }
.ob-form { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 2.2rem 2.4rem 1.4rem; box-shadow: 0 24px 60px rgba(14, 36, 54, .07); }
.ob-step { min-height: 330px; }
.ob-step h1 { font-size: clamp(1.75rem, 4vw, 2.45rem); line-height: 1.08; letter-spacing: -.035em; margin: .25rem 0 .8rem; max-width: 620px; }
.ob-lede { color: var(--muted); font-size: 1rem; line-height: 1.6; max-width: 570px; margin-bottom: 1.6rem; }
.ob-actions { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 1.2rem; margin-top: 2rem; gap: 1rem; }
.ob-actions-right { display: flex; align-items: center; gap: 1rem; }
.ob-skip { background: none; border: 0; color: var(--muted); font: inherit; font-size: .88rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.ob-skip:hover { color: var(--ink); }
.ob-actions .btn { min-height: 44px; }
.hidden-inputs { display: none; }

/* choice cards */
.choice-stack { display: grid; gap: .6rem; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.choice-grid.tight { grid-template-columns: 1fr 1fr; }
.choice-card { position: relative; display: flex; align-items: flex-start; gap: .9rem; padding: 1rem 1.05rem; border: 1.5px solid var(--line); border-radius: 16px; cursor: pointer; background: #fff; transition: border-color .15s ease, background .15s ease, transform .15s ease; }
.choice-card:hover { border-color: #b9c6d4; transform: translateY(-1px); }
.choice-card:focus-within { outline: 3px solid rgba(0, 122, 255, .35); outline-offset: 2px; }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-code { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--paper); color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .04em; }
.choice-copy strong { display: block; font-size: .98rem; line-height: 1.25; }
.choice-copy small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.35; margin-top: .18rem; }
.choice-card:has(input:checked) { border-color: var(--blue); background: #f2f9ff; box-shadow: 0 0 0 3px rgba(0, 122, 255, .12); }
.choice-card:has(input:checked) .choice-code { background: var(--blue); color: #fff; }
.choice-card.compact { padding: .85rem 1rem; }
.choice-card.compact .choice-copy strong { font-size: .92rem; }

/* education */
.edu-grid { display: grid; grid-template-columns: .9fr 1.3fr .8fr; gap: .8rem; }
.edu-grid .field { margin: 0; }
.field select, .field input { width: 100%; }
.deadline-field { margin-top: 1.4rem; max-width: 360px; }

/* hours */
.hours-hero { display: flex; align-items: baseline; gap: .7rem; margin: 1rem 0 1.1rem; }
.hours-hero output { font-family: var(--serif); font-size: clamp(3.6rem, 9vw, 6.2rem); line-height: .9; letter-spacing: -.05em; color: var(--blue); }
.hours-hero span { color: var(--muted); font-size: 1rem; }
.hours-range { width: 100%; accent-color: var(--blue); height: 32px; }
.range-scale { display: flex; justify-content: space-between; color: var(--muted); font-size: .75rem; margin-top: -.2rem; }

/* weeks */
.week-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.2rem; }
.week-pill { position: relative; cursor: pointer; }
.week-pill input { position: absolute; opacity: 0; pointer-events: none; }
.week-pill span { display: inline-flex; align-items: center; justify-content: center; min-width: 92px; padding: .68rem 1rem; border: 1.5px solid var(--line); border-radius: 999px; font-size: .9rem; background: #fff; transition: all .15s ease; }
.week-pill:hover span { border-color: #b9c6d4; }
.week-pill:focus-within span { outline: 3px solid rgba(0, 122, 255, .35); outline-offset: 2px; }
.week-pill input:checked + span { border-color: var(--blue); background: #eef8ff; color: #0071e3; font-weight: 600; }

/* upload */
.upload-zone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; text-align: center; padding: 2.2rem 1.2rem; border: 1.5px dashed #c4cfda; border-radius: 20px; background: #fbfcfd; transition: border-color .15s ease, background .15s ease; }
.upload-zone.is-dragging { border-color: var(--blue); background: #f2f9ff; }
.upload-mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #eef4fa; color: var(--navy); font-size: 1.3rem; margin-bottom: .3rem; }
.upload-hint { color: var(--muted); font-size: .8rem; margin-bottom: .65rem; }
.upload-status { min-height: 1.5rem; font-size: .86rem; color: var(--muted); margin: .7rem 0 0; }
.upload-status[data-tone="ok"] { color: var(--teal); }
.upload-status[data-tone="error"] { color: #a63b25; }
.upload-status[data-tone="busy"] { color: var(--muted); }
.ob-paste { margin-top: 1rem; border: 1px solid var(--line); border-radius: 14px; padding: .8rem 1rem; }
.ob-paste summary { cursor: pointer; font-size: .88rem; color: var(--muted); }
.ob-paste textarea { margin-top: .8rem; }
.ob-linkedin { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.2rem; padding: 1rem 0 0; border-top: 1px solid var(--line); }
.ob-linkedin strong { font-size: .92rem; }
.ob-linkedin p { color: var(--muted); font-size: .82rem; margin: .15rem 0 0; }
.linkedin-panel { margin-top: .8rem; padding: 1rem; background: var(--paper); border-radius: 14px; }
.linkedin-panel label { display: block; font-size: .8rem; font-weight: 600; margin-bottom: .35rem; }
.linkedin-panel input { width: 100%; }

/* certificates */
.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin: .4rem 0 .8rem; }
.cert-choice { position: relative; display: flex; align-items: center; gap: .7rem; padding: .72rem .8rem; background: #fff; border: 1.5px solid var(--line); border-radius: 13px; cursor: pointer; transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.cert-choice:hover { border-color: #b9c6d4; }
.cert-choice input { position: absolute; opacity: 0; pointer-events: none; }
.cert-tick { flex: 0 0 auto; width: 18px; height: 18px; border: 1.5px solid #c4cfda; border-radius: 6px; background: #fff; position: relative; }
.cert-choice input:checked + .cert-tick { background: var(--blue); border-color: var(--blue); }
.cert-choice input:checked + .cert-tick::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cert-copy strong { display: block; font-size: .86rem; line-height: 1.25; }
.cert-copy small { display: block; color: var(--muted); font-size: .72rem; line-height: 1.35; margin-top: .12rem; }
.cert-choice:has(input:checked) { border-color: var(--blue); background: #f2f9ff; box-shadow: 0 0 0 3px rgba(0, 122, 255, .1); }
.cert-choice:focus-within { outline: 3px solid rgba(0, 122, 255, .28); outline-offset: 2px; }

/* review */
.review-list { margin: .6rem 0 1.4rem; border-top: 1px solid var(--line); }
.review-list > div { display: flex; justify-content: space-between; gap: 1.5rem; padding: .78rem 0; border-bottom: 1px solid var(--line); }
.review-list dt { color: var(--muted); font-size: .84rem; }
.review-list dd { margin: 0; text-align: right; font-size: .9rem; font-weight: 500; }
.consent-line { display: flex; align-items: flex-start; gap: .55rem; font-size: .82rem; color: var(--muted); line-height: 1.5; }
.consent-line input { margin-top: .2rem; }

/* resources and jobs */
.resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.resource-card { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 1.4rem 1.5rem; box-shadow: var(--shadow-sm); }
.resource-card h2 { font-size: 1.28rem; margin: .45rem 0 .5rem; line-height: 1.25; }
.resource-card h2 a { color: var(--ink); text-decoration: none; }
.resource-card h2 a:hover { color: var(--blue); }
.resource-card p { color: var(--muted); font-size: .9rem; line-height: 1.55; }
.resource-meta { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.chip { display: inline-flex; align-items: center; padding: .24rem .55rem; border-radius: 999px; background: #eaf4ff; color: #0057b8; font-size: .7rem; font-weight: 650; letter-spacing: .01em; }
.chip-muted { background: var(--paper); color: var(--muted); }
.text-link { color: var(--blue); font-size: .86rem; font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.article { padding-top: 2.2rem; }
.article h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.04em; line-height: 1.08; margin: .8rem 0 .8rem; }
.article-body { margin: 2rem 0; color: #2b3138; font-size: 1.02rem; line-height: 1.75; }
.article-body p { margin: 0 0 1.15rem; }
.article-body h2 { margin: 2rem 0 .7rem; }
.article-cta { margin: 2.5rem 0 1rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: 22px; background: var(--white); }
.article-cta h2 { margin: 0 0 .4rem; font-size: 1.3rem; }
.article-cta p { color: var(--muted); margin: 0 0 .9rem; }
.job-list { display: grid; gap: .75rem; }
.job-card { display: flex; justify-content: space-between; gap: 1.5rem; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 1.25rem 1.4rem; box-shadow: var(--shadow-sm); }
.job-card h2 { font-size: 1.08rem; margin: 0 0 .2rem; line-height: 1.3; }
.job-company { color: var(--ink); font-weight: 550; font-size: .9rem; margin: 0 0 .55rem; }
.job-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .55rem; }
.job-card p.muted { margin: 0; font-size: .86rem; line-height: 1.55; }
.job-action { flex: 0 0 auto; padding-top: .15rem; }
.empty-state { background: var(--white); border: 1px dashed var(--line-strong); border-radius: 22px; padding: 3rem 2rem; text-align: center; }
.empty-state h2 { margin: 0 0 .6rem; }
.empty-state p { color: var(--muted); max-width: 34rem; margin: 0 auto 1.2rem; }

/* admin */
.admin-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; margin-bottom: 2rem; }
.admin-stats .stat { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.1rem; }
.admin-stats strong { display: block; font-size: 1.7rem; letter-spacing: -.03em; }
.admin-stats span { color: var(--muted); font-size: .76rem; }
.admin-section-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 1.6rem 0 .7rem; }
.admin-section-head h2 { margin: 0; font-size: 1.25rem; }
.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.admin-table th { text-align: left; font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
.admin-table td { padding: .9rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table a { color: var(--ink); font-weight: 600; text-decoration: none; }
.admin-table a:hover { color: var(--blue); }
.status { display: inline-flex; padding: .2rem .5rem; border-radius: 999px; font-size: .7rem; font-weight: 650; }
.status-published { background: #e7f8ee; color: #147a3d; }
.status-draft { background: #fff4df; color: #8a5a00; }
.status-archived { background: var(--paper); color: var(--muted); }
.admin-form { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 1.5rem; display: grid; gap: 1rem; }
.admin-form label { display: grid; gap: .35rem; font-size: .8rem; font-weight: 600; color: var(--ink); }
.admin-form input, .admin-form textarea, .admin-form select { width: 100%; padding: .68rem .75rem; border: 1px solid var(--line-strong); border-radius: 11px; background: #fff; color: var(--ink); font: inherit; font-size: .9rem; font-weight: 400; }
.admin-form textarea { resize: vertical; line-height: 1.55; }
.admin-form input:focus, .admin-form textarea:focus, .admin-form select:focus { outline: 3px solid rgba(0, 122, 255, .18); border-color: var(--blue); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.admin-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; padding-top: .4rem; }
.admin-actions .text-link { margin-left: auto; }
.form-error { background: #fff1f0; border: 1px solid #ffd3cf; color: #a42218; border-radius: 12px; padding: .75rem .9rem; margin-bottom: 1rem; font-size: .86rem; }
.btn-secondary { background: #eef4fb; color: #0b5cad; border-color: transparent; }
.btn-secondary:hover { background: #e2eefb; color: #084a8a; }
.btn-quiet { background: transparent; color: var(--muted); border-color: transparent; }
.btn-quiet:hover { color: #a42218; background: #fff1f0; }

@media (max-width: 700px) {
  .ob-page { padding: 1rem 0 2.5rem; }
  .ob-top { margin-bottom: 1.2rem; }
  .ob-form { padding: 1.4rem 1.15rem 1rem; border-radius: 22px; }
  .ob-step { min-height: 300px; }
  .ob-step h1 { font-size: clamp(1.55rem, 8vw, 2rem); }
  .choice-grid, .choice-grid.tight { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .edu-grid { grid-template-columns: 1fr; }
  .ob-actions { gap: .4rem; }
  .ob-actions-right { gap: .65rem; }
  .ob-skip { font-size: .8rem; }
  .ob-linkedin { align-items: flex-start; flex-direction: column; }
  .review-list > div { gap: 1rem; }
  .resource-grid { grid-template-columns: 1fr; }
  .job-card { flex-direction: column; gap: .8rem; }
  .job-action { width: 100%; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .admin-actions .text-link { margin-left: 0; }
}
