/* Launchpad 5.1: original ascent identity, progressive enhancement of the 4.x UI. */
:root {
  --navy: #101e41;
  --ink: #172747;
  --sub: #53647d;
  --border: #e1e7f0;
  --canvas: #f4f7fc;
  --surface: #fff;
  --primary: #285bdb;
  --primary-dark: #204bbb;
  --radius: 19px;
  --shadow-soft: 0 5px 24px #17366507;
}
body {
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.dark {
  --ink: #e7edf9;
  --sub: #b6c4da;
  --surface: #17243e;
  --canvas: #0d172b;
  --border: #34425d;
  --primary: #285bdb;
  --primary-dark: #204bbb;
  --shadow-soft: none;
}
.main-content {
  max-width: 1680px;
  padding: 0 clamp(20px, 3vw, 48px) 36px;
}
.sidebar {
  background: linear-gradient(170deg, #14264f, #0d1934);
  padding: 30px 19px 24px;
  width: 242px;
}
.sidebar .brand {
  margin: 0 8px 42px;
}
.nav-item {
  min-height: 44px;
  color: #b9c9e6;
  padding: 12px 14px;
  font-size: 12px;
}
.nav-item:hover {
  background: #203963;
  color: #fff;
}
.nav-item.active {
  background: #2a58c4;
  box-shadow:
    inset 3px 0 #9ef1ca,
    0 5px 16px #0002;
}
.nav-label,
.privacy-note {
  color: #a3b7d6;
}
.goal-card {
  background: linear-gradient(135deg, #223f71, #172d54);
  border-color: #3d5680;
}
.goal-card p {
  color: #c1cfe5;
}
.topbar {
  height: 80px;
}
.view {
  padding-top: 32px;
}
h1 {
  font-size: clamp(32px, 3.5vw, 52px);
  letter-spacing: -1.9px;
  line-height: 1.12;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 15px;
}
.screen-heading {
  margin-bottom: 26px;
  align-items: center;
  gap: 20px;
}
.screen-heading .intro-copy {
  max-width: 620px;
  font-size: 13px;
  margin-top: 14px;
}
.eyebrow {
  color: #285bbe;
  font-size: 10px;
  margin-bottom: 12px;
}
body.dark .eyebrow {
  color: #a6c7ff;
}
.panel,
.metric-card,
.stat-card {
  box-shadow: var(--shadow-soft);
}
.button {
  min-height: 42px;
  padding: 11px 16px;
  border-radius: 11px;
  letter-spacing: 0.05px;
}
.button-primary,
body.dark .button-primary {
  background: var(--primary);
  color: #fff;
}
.button-primary:hover,
body.dark .button-primary:hover {
  background: var(--primary-dark);
}
.button-outline[aria-pressed="true"] {
  border-color: var(--primary);
  box-shadow: inset 0 0 0 1px var(--primary);
}
a.text-link {
  color: #2659c1;
  font-weight: 650;
}
body.dark a.text-link {
  color: #abcaff;
}
.helper {
  font-size: 12px;
  line-height: 1.75;
}
.section-pad {
  padding: 24px;
}
.panel form,
.panel label {
  min-width: 0;
}
input:not([type="checkbox"]),
select,
textarea {
  min-height: 43px;
  border-radius: 10px;
}
.explorer-filters {
  gap: 14px;
}
.empty-copy {
  padding: 18px 0;
  line-height: 1.8;
  color: var(--sub);
}
/* A compact dashboard header and a purpose-built bento composition. */
.dashboard-heading h1 {
  max-width: 660px;
  font-size: clamp(25px, 2.6vw, 37px);
  letter-spacing: -1.2px;
  overflow-wrap: anywhere;
}
.dashboard-heading .intro-copy {
  margin-top: 8px;
}
.dashboard-heading .eyebrow {
  margin-bottom: 7px;
}
.ascent-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
  min-height: 265px;
  border-radius: 23px;
  overflow: hidden;
  background: linear-gradient(115deg, #163a99, #214fc1 65%, #295dd3);
  color: #fff;
  margin-bottom: 22px;
}
.ascent-copy {
  position: relative;
  z-index: 1;
  padding: 32px 0 32px 34px;
}
.ascent-copy h2 {
  font-size: clamp(25px, 2.5vw, 36px);
  font-weight: 750;
  letter-spacing: -1px;
  line-height: 1.2;
  max-width: 380px;
  margin: 12px 0;
}
.ascent-copy p:not(.hero-kicker) {
  color: #e1ecff;
  font-size: 13px;
  max-width: 370px;
  line-height: 1.8;
}
.hero-kicker {
  color: #c5f8df;
  font-size: 9px;
  letter-spacing: 1.5px;
  font-weight: 800;
}
.ascent-art {
  width: 100%;
  height: auto;
  max-height: 290px;
  object-fit: contain;
}
.hero-button {
  background: #d2f9e5;
  color: #123f35;
  border-color: #d2f9e5;
  text-decoration: none;
}
.hero-button:hover {
  background: #e6fff2;
}
.hero-link {
  color: #fff;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 10px 0;
}
#onboardingCard {
  padding: 18px 24px;
  border-left: 3px solid #2d62d8;
  margin-bottom: 22px;
}
#onboardingCard h2 {
  font-size: 15px;
}
#onboardingCard p {
  font-size: 12px;
  margin: 6px 0 12px;
  max-width: 900px;
}
#onboardingCard .button {
  margin-right: 7px;
}
.metrics-grid {
  gap: 16px;
  margin-bottom: 22px;
}
.metric-card {
  border-radius: 17px;
  padding: 20px;
  position: relative;
  min-width: 0;
}
.metric-card > svg {
  position: absolute;
  right: 18px;
  top: 20px;
  width: 35px;
  height: 35px;
  padding: 8px;
  background: #eaf0ff;
  color: #2b5ac2;
  border-radius: 11px;
}
.metric-card .stat-label {
  font-size: 10px;
  letter-spacing: 0.6px;
  display: block;
  max-width: calc(100% - 40px);
}
.metric-card strong {
  font-size: 32px;
  margin-top: 17px;
  letter-spacing: -1px;
}
body.dark .metric-card > svg {
  background: #253c66;
  color: #bad2ff;
}
.dashboard-bento {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
  margin: 0 0 22px;
}
.dashboard-bento .panel {
  margin: 0;
}
.dashboard-bento h2 {
  font-size: 16px;
  margin-bottom: 20px;
}
#dashboardJourney .widget-content {
  display: flex;
  gap: 24px;
  align-items: center;
  min-height: 132px;
}
.trajectory-ring {
  --progress: 0%;
  flex-shrink: 0;
  width: 112px;
  height: 112px;
  background: conic-gradient(#2860d5 var(--progress), var(--border) 0);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
.trajectory-ring:before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--surface);
}
.trajectory-ring strong,
.trajectory-ring span {
  z-index: 1;
}
.trajectory-ring strong {
  font-size: 25px;
  line-height: 1.2;
}
.trajectory-ring span {
  font-size: 10px;
  color: var(--sub);
}
.trajectory-detail h3 {
  overflow-wrap: anywhere;
}
.activity-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}
.activity-row > div {
  min-width: 0;
  flex: 1;
}
.activity-row strong {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.activity-row p {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
}
.activity-row .status-pill {
  flex-shrink: 0;
}
#dashboardActivity .text-link {
  display: inline-block;
  margin-top: 15px;
  font-size: 12px;
}
#dashboardFocus .widget-content > svg,
#dashboardCoach .widget-content > svg {
  width: 38px;
  height: 38px;
  padding: 8px;
  background: #e7f8ef;
  color: #1b6a51;
  border-radius: 12px;
  margin-bottom: 12px;
}
#dashboardFocus {
  background: linear-gradient(135deg, var(--surface), #f0faf6);
}
#dashboardCoach {
  background: linear-gradient(135deg, var(--surface), #f1f3ff);
}
body.dark #dashboardFocus,
body.dark #dashboardCoach {
  background: var(--surface);
}
#dashboardFocus h3 {
  font-size: 17px;
}
#dashboardCoach .widget-content > p:not(.helper) {
  font-size: 15px;
  line-height: 1.6;
}
#dashboardView > .split-grid {
  gap: 20px;
}
#dashboardView .directory-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
/* Brand marks are local, decorative and never determine company identity. */
.employer-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #dce4ef;
  background: #fff;
  color: #2e4970;
  box-shadow: 0 3px 10px #18355a06;
}
.employer-mark img,
.employer-mark svg {
  width: 24px;
  height: 24px;
  display: block;
}
.directory-card {
  padding: 22px;
  position: relative;
  transition:
    box-shadow 0.18s,
    border-color 0.18s;
}
.directory-card:hover {
  border-color: #9eb8e8;
  box-shadow: 0 8px 28px #1530630c;
}
.directory-card .employer-mark {
  margin-bottom: 16px;
}
.directory-card h3 {
  font-size: 17px;
  margin-bottom: 6px;
}
.directory-card .button-row {
  gap: 9px;
  margin-top: 17px;
}
.directory-card .button {
  padding: 8px 11px;
  min-height: 39px;
  font-size: 11px;
}
.directory-card .text-link {
  font-size: 11px;
}
.directory-list {
  grid-template-columns: 1fr !important;
}
.directory-list .directory-card {
  display: grid;
  grid-template-columns: 48px minmax(120px, 1fr) 1.1fr;
  gap: 8px 18px;
  align-items: center;
}
.directory-list .employer-mark {
  grid-row: 1 / 3;
  margin: 0;
}
.directory-list h3 {
  margin: 0;
}
.directory-list .helper {
  grid-column: 2;
  margin: 0;
}
.directory-list .button-row {
  grid-column: 3;
  grid-row: 1 / 3;
  margin: 0;
  justify-content: flex-end;
}
.brand-source {
  margin-top: 22px;
}
.employer-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}
.employer-name {
  display: block;
  min-width: 0;
}
.employer-name strong,
.employer-name small {
  overflow-wrap: anywhere;
}
#applicationsView .page-intro {
  min-height: 0;
  margin: 8px 0 28px;
}
#applicationsView .hero-decoration {
  width: 125px;
  height: 125px;
}
#applicationsView .hero-decoration > span {
  font-size: 46px;
}
#applicationsView h1 {
  font-size: clamp(34px, 3.4vw, 49px);
}
#applicationsView .stat-card {
  min-height: 105px;
  padding: 18px 20px;
}
#applicationsView .stat-label {
  color: var(--sub);
}
th {
  color: var(--sub);
  font-size: 9px;
  padding: 14px 20px;
}
td {
  padding: 18px 20px;
}
.kanban-board {
  gap: 14px;
  padding: 18px;
  background: var(--canvas);
  border-radius: 16px;
}
.kanban-column {
  border-top: 3px solid #7b95c4;
  min-width: 235px;
  border-radius: 12px;
  background: var(--surface);
  padding: 15px;
}
.kanban-column[data-stage="Applied"] {
  border-top-color: #3a6de0;
}
.kanban-column[data-stage="Interview"] {
  border-top-color: #c38a2d;
}
.kanban-column[data-stage="Offer"],
.kanban-column[data-stage="Hired"] {
  border-top-color: #19836a;
}
.kanban-column[data-stage="Rejected"] {
  border-top-color: #bc5375;
}
.kanban-card {
  border-radius: 12px;
  box-shadow: 0 4px 13px #15305c08;
  border-color: var(--border);
}
.application-dialog {
  border-radius: 22px;
}
#applicationDialog {
  width: min(760px, calc(100vw - 24px));
}
.dialog-head h2 {
  letter-spacing: -0.6px;
}
/* A timeline keeps every existing edit and completion control. */
#personalMilestones {
  border-left: 2px solid var(--border);
  margin-left: 12px;
  padding-left: 25px;
}
.journey-milestone {
  position: relative;
  margin-bottom: 15px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 14px;
}
.journey-milestone:before {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  background: #6f87b2;
  border: 3px solid var(--canvas);
  border-radius: 50%;
  left: -33px;
  top: 26px;
}
.journey-milestone.is-complete:before {
  background: #178360;
}
.journey-milestone.is-complete {
  border-left: 3px solid #178360;
}
#personalJourneyBar {
  display: block;
  width: 100%;
  height: 10px;
  margin: 12px 0 25px;
  accent-color: #2860d5;
}
#jobSearchForm {
  border-top: 3px solid var(--primary);
}
#jobResults {
  margin-top: 24px;
}
#coachView > .split-grid {
  grid-template-columns: 1fr 1.15fr;
}
.coach-suggestions {
  margin-bottom: 20px;
}
.coach-suggestions .button {
  white-space: normal;
  font-size: 11px;
}
#coachForm fieldset {
  border: 1px solid var(--border);
  border-radius: 13px;
  margin: 20px 0;
  padding: 16px;
}
#coachResponse {
  min-height: 80px;
  line-height: 1.85;
}
#coachResponse:empty:before {
  content: "Your next conversation starts with a question. Choose a prompt or write your own. No request is sent until you choose Ask coach.";
  display: block;
  color: var(--sub);
  padding: 24px 0;
}
#coachHistory .list-item {
  border-left: 3px solid #7799dc;
}
#analyticsCharts .panel {
  padding: 25px;
}
.chart-track {
  height: 9px;
  background: var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.chart-fill {
  background: linear-gradient(90deg, #3168df, #1a8b73);
  border-radius: 10px;
}
#analyticsCharts .chart-row {
  padding: 11px 0;
}
/* Pricing remains proposed until real backend readiness is confirmed. */
.pricing-grid {
  gap: 20px;
  padding-top: 12px;
}
.pricing-card {
  position: relative;
  padding: 27px;
  border-radius: 21px;
}
.pricing-card[data-plan="pro"] {
  border: 2px solid #2a5dd5;
  box-shadow: 0 10px 35px #285ad413;
}
.plan-highlight {
  display: block;
  background: #e7eeff;
  color: #244fb1;
  border-radius: 7px;
  padding: 6px 9px;
  font-size: 10px;
  font-weight: 750;
  margin-bottom: 15px;
  align-self: flex-start;
}
body.dark .plan-highlight {
  background: #29406c;
  color: #d3e3ff;
}
.pricing-card .price {
  font-size: 34px;
  margin: 14px 0 20px;
  letter-spacing: -1.3px;
}
.pricing-card ul {
  list-style: none;
  padding: 0;
  font-size: 12px;
  line-height: 1.8;
}
.pricing-card li {
  position: relative;
  padding: 0 0 12px 19px;
}
.pricing-card li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #137550;
  font-weight: 800;
}
body.dark .pricing-card li:before {
  color: #9de7c5;
}
#billingView > section {
  margin-top: 22px;
}
#billingStatus,
#jobStatus,
#coachStatus {
  padding: 12px 15px;
  border: 1px solid var(--border);
  background: var(--canvas);
  border-radius: 10px;
}
.auth-brand-story {
  background: linear-gradient(135deg, #163a99, #244db4);
  color: #fff;
  border-radius: 15px;
  padding: 23px;
  margin-bottom: 24px;
}
.auth-brand-story .eyebrow {
  color: #c8f6df;
}
.auth-brand-story p {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.8px;
  margin: 10px 0;
}
.auth-brand-story > span:last-child {
  color: #e0ebff;
  font-size: 12px;
}
#authDialog {
  width: min(570px, calc(100vw - 24px));
}
#authForm > .auth-copy {
  font-size: 12px;
}
#authModes {
  background: var(--canvas);
  border-radius: 12px;
  padding: 5px;
}
#authModes .button {
  flex: 1;
}
/* Original illustration and live product previews, not fabricated user metrics. */
.landing-hero {
  background: radial-gradient(ellipse at 90% 8%, #dce8ff 0, transparent 55%);
  border-radius: 24px;
  padding: 34px;
  margin-bottom: 24px;
  position: relative;
}
body.dark .landing-hero {
  background: radial-gradient(ellipse at 90% 8%, #223c6c 0, transparent 58%);
}
.landing-hero:after {
  content: "";
  position: absolute;
  right: 0;
  top: 65px;
  width: 38%;
  height: 220px;
  background: url("../assets/career-ascent.svg") center/contain no-repeat;
  pointer-events: none;
}
.landing-hero h1,
.landing-hero > .intro-copy,
.landing-hero > #landingActions {
  position: relative;
  z-index: 1;
  max-width: 60%;
}
.landing-hero h1 {
  font-size: clamp(42px, 5.1vw, 72px);
}
.value-grid {
  margin-top: 38px;
  gap: 17px;
}
.value-grid article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 21px;
}
.value-grid article h2 {
  font-size: 17px;
}
.value-grid article p {
  font-size: 12px;
  line-height: 1.8;
}
.release-badge {
  color: var(--sub);
  background: var(--surface);
  border-color: var(--border);
}
@media (min-width: 1280px) {
  .sidebar {
    width: 250px;
  }
  .main-content {
    padding-left: 36px;
    padding-right: 36px;
  }
}
@media (max-width: 1150px) {
  .dashboard-bento {
    grid-template-columns: 1fr 1fr;
  }
  .ascent-copy {
    padding-left: 26px;
  }
  .metrics-grid {
    gap: 11px;
  }
  .metric-card {
    padding: 16px;
  }
  .metric-card > svg {
    width: 28px;
    height: 28px;
    right: 12px;
    padding: 6px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  .dashboard-bento {
    grid-template-columns: 1fr;
  }
  .ascent-hero {
    grid-template-columns: 1.4fr 1fr;
  }
  .ascent-copy {
    padding: 24px;
  }
  #dashboardView .directory-grid {
    grid-template-columns: 1fr;
  }
  #coachView > .split-grid {
    grid-template-columns: 1fr;
  }
  .directory-list .directory-card {
    display: block;
  }
  .directory-list .employer-mark {
    margin-bottom: 12px;
  }
  .directory-list .button-row {
    margin-top: 16px;
    justify-content: flex-start;
  }
}
@media (max-width: 768px) {
  .main-content {
    padding: 0 18px 28px;
  }
  .mobile-header {
    background: var(--surface);
  }
  .sidebar {
    width: min(320px, calc(100vw - 40px));
  }
  .topbar {
    height: 66px;
  }
  .view {
    padding-top: 25px;
  }
  .screen-heading {
    align-items: flex-start;
    gap: 16px;
  }
  .dashboard-heading {
    flex-direction: column;
  }
  .dashboard-heading h1 {
    font-size: 29px;
  }
  .ascent-hero {
    min-height: 235px;
    grid-template-columns: 1.35fr 1fr;
  }
  .ascent-copy {
    padding: 24px;
  }
  .ascent-copy h2 {
    font-size: 27px;
  }
  .ascent-copy .hero-kicker {
    font-size: 8px;
  }
  .ascent-art {
    min-width: 0;
  }
  .metric-card .stat-label {
    font-size: 9px;
  }
  .metric-card strong {
    font-size: 28px;
  }
  .landing-hero {
    padding: 24px;
  }
  .landing-hero:after {
    top: 60px;
    height: 180px;
  }
  .section-pad {
    padding: 21px;
  }
  .pricing-card {
    padding: 26px;
  }
}
@media (max-width: 560px) {
  .ascent-hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .ascent-copy {
    padding: 26px 25px 0;
  }
  .ascent-art {
    max-height: 180px;
    width: 85%;
    align-self: center;
    margin-top: -4px;
  }
  .ascent-copy h2 {
    max-width: 300px;
  }
  .ascent-copy p:not(.hero-kicker) {
    max-width: 300px;
  }
  .ascent-copy .button-row {
    gap: 16px;
  }
  .dashboard-bento {
    gap: 15px;
  }
  #dashboardJourney .widget-content {
    gap: 17px;
  }
  .trajectory-ring {
    width: 93px;
    height: 93px;
  }
  .trajectory-detail .button {
    white-space: normal;
    font-size: 11px;
    padding: 10px;
  }
  .activity-row {
    flex-wrap: wrap;
  }
  .activity-row .status-pill {
    margin-left: 56px;
  }
  .landing-hero:after {
    position: relative;
    display: block;
    width: 100%;
    height: 195px;
    top: auto;
    margin-top: 20px;
  }
  .landing-hero h1,
  .landing-hero > .intro-copy,
  .landing-hero > #landingActions {
    max-width: 100%;
  }
  .value-grid {
    margin-top: 28px;
  }
  .employer-cell {
    gap: 10px;
  }
  .employer-mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }
  #applicationsView .page-intro {
    margin-top: 0;
  }
  .directory-card {
    padding: 21px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.application-detail {
  display: block;
  margin-top: 4px;
  max-width: 290px;
  line-height: 1.7;
}
.kanban-card > .employer-mark {
  margin-bottom: 12px;
}
.billing-faq details {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.billing-faq summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}
.billing-faq summary:focus-visible {
  outline: 3px solid #8bb9ff;
  outline-offset: 4px;
}
/* Separate the dark theme's readable link accent from its solid CTA fill. */
body.dark {
  --primary: #a6c7ff;
}
body.dark .button-primary {
  background: #285bdb;
  color: #fff;
}
body.dark .button-primary:hover {
  background: #204bbb;
}
.dashboard-plan-status {
  display: inline-block;
  color: var(--sub);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 8px 12px;
  border-radius: 999px;
  margin: 0 0 20px;
  font-size: 11px;
  text-underline-offset: 3px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
