:root {
  --blue: #1d4ed8;
  --blue-dark: #1e3a8a;
  --blue-mid: #2563eb;
  --sky: #38bdf8;
  --sky-soft: #e0f2fe;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --border: #e2e8f0;
  --text: #0f172a;
  --muted: #475569;
  --muted-2: #64748b;
  --success: #0f766e;
  --success-soft: #ccfbf1;
  --warning-soft: #fef3c7;
  --danger: #b42318;
  --danger-soft: #fff1f2;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.1);
  --shadow-soft: 0 8px 24px rgba(15, 23, 42, 0.07);
  --shadow-blue: 0 22px 52px rgba(29, 78, 216, 0.2);
  --radius: 14px;
  --radius-sm: 10px;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(90deg, rgba(30, 58, 138, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(30, 58, 138, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.3), transparent 25rem),
    radial-gradient(circle at 100% 6%, rgba(29, 78, 216, 0.18), transparent 31rem),
    linear-gradient(180deg, #f8fafc 0%, #edf6ff 46%, #f8fafc 100%);
  background-size: 48px 48px, 48px 48px, auto, auto, auto;
}

main {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(56, 189, 248, 0.45);
  outline-offset: 2px;
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
}

.brand {
  align-items: center;
  color: var(--text);
  display: inline-flex;
  gap: 8px;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: #ffffff;
  border: 1px solid #dbeafe;
  border-radius: 13px;
  box-shadow: 0 12px 28px rgba(29, 78, 216, 0.16);
  display: inline-flex;
  height: 44px;
  justify-content: center;
  overflow: hidden;
  width: 44px;
}

.brand-mark img {
  height: 34px;
  object-fit: contain;
  width: 34px;
}

.brand-logo {
  display: none;
  height: 38px;
  max-width: 180px;
  object-fit: contain;
}

.brand-icon {
  align-items: center;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue), var(--sky));
  border-radius: 13px;
  box-shadow: 0 12px 28px rgba(29, 78, 216, 0.28);
  color: #ffffff;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 950;
  height: 42px;
  justify-content: center;
  min-width: 42px;
}

.header-badge {
  background: var(--sky-soft);
  border: 1px solid #bae6fd;
  border-radius: 999px;
  color: var(--blue-dark);
  display: none;
  font-size: 0.78rem;
  font-weight: 950;
  margin-left: auto;
  padding: 8px 12px;
}

.header-nav {
  display: flex;
  gap: 6px;
  margin-left: 0;
  order: 3;
  overflow-x: auto;
  padding-bottom: 2px;
  width: 100%;
}

.nav-link,
.auth-tabs button {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--blue-dark);
  font-weight: 900;
  min-height: 40px;
  padding: 0 12px;
  white-space: nowrap;
}

.nav-link:hover,
.auth-tabs button:hover,
.auth-tabs button.active {
  background: var(--sky-soft);
  border-color: #bae6fd;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1;
}

.brand-copy small {
  color: var(--muted-2);
  font-size: 0.72rem;
  font-weight: 750;
}

.header-action {
  background: var(--blue-dark);
  border: 1px solid var(--blue-dark);
  border-radius: 999px;
  color: #ffffff;
  font-weight: 850;
  min-height: 42px;
  padding: 0 18px;
  box-shadow: 0 12px 26px rgba(30, 58, 138, 0.2);
}

.hero,
.institution-section,
.gig-landing,
.info-section,
.audience-section,
.trust-section,
.category-section,
.company-cta,
.final-cta,
.form-section,
.results-section {
  margin: 0 auto;
  max-width: 1160px;
  padding: 30px 16px;
}

.hero {
  display: grid;
  gap: 18px;
  padding-top: 36px;
}

.institution-card {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.gig-landing-card,
.gig-section {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.gig-landing-card {
  background:
    linear-gradient(135deg, rgba(224, 242, 254, 0.9), rgba(255, 255, 255, 0.96)),
    #ffffff;
}

.institution-copy {
  display: grid;
  gap: 12px;
}

.institution-copy p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
  margin: 0;
}

.feature-strip,
.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.feature-strip span,
.job-meta span {
  background: var(--sky-soft);
  border: 1px solid #bae6fd;
  border-radius: 999px;
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 900;
  padding: 8px 10px;
}

.other-options {
  margin-top: 14px;
  padding: 16px;
}

.gig-grid {
  display: grid;
  gap: 12px;
}

.gig-card {
  display: grid;
  gap: 12px;
  overflow: hidden;
  padding: 16px;
  position: relative;
}

.gig-card::after {
  background: linear-gradient(90deg, var(--blue), var(--sky));
  content: "";
  height: 3px;
  left: 16px;
  opacity: 0.7;
  position: absolute;
  right: 16px;
  top: 0;
}

.gig-card h3 {
  color: var(--text);
  font-size: 1.18rem;
  line-height: 1.25;
  margin: 0;
}

.gig-card p {
  color: var(--muted);
  line-height: 1.52;
  margin: 0;
}

.gig-card p strong {
  color: var(--text);
}

.copy-source {
  height: 1px;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  width: 1px;
}

.other-gigs {
  display: grid;
  gap: 10px;
}

.compact-badges {
  margin-top: 12px;
}

.hero-content,
.hero-panel,
.institution-card,
.gig-landing-card,
.audience-panel,
.trust-card,
.company-cta,
.final-cta,
.results-heading,
.form-card,
.best-card,
.profile-summary,
.trust-panel,
.guidance,
.company-section,
.next-steps,
.text-output,
.admin-panel,
.other-options,
.gig-section,
.gig-card,
.form-helper,
.form-error,
label,
fieldset,
.info-card,
.job-card,
.company-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.hero-content {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(224, 242, 254, 0.9)),
    #ffffff;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.hero-logo {
  display: block;
  height: auto;
  margin-bottom: 16px;
  max-width: min(250px, 82vw);
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.hero-content::after {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(29, 78, 216, 0.08));
  border-radius: 999px;
  content: "";
  height: 160px;
  position: absolute;
  right: -70px;
  top: -70px;
  width: 160px;
}

.hero-content::before {
  background: linear-gradient(180deg, var(--sky), var(--blue));
  border-radius: 999px;
  content: "";
  height: calc(100% - 48px);
  left: 0;
  opacity: 0.85;
  position: absolute;
  top: 24px;
  width: 5px;
}

.hero-kicker,
.eyebrow,
.panel-label {
  background: var(--sky-soft);
  border: 1px solid rgba(56, 189, 248, 0.34);
  border-radius: 999px;
  color: var(--blue-dark);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  padding: 7px 10px;
}

.hero-content h1,
.results-heading h1,
.section-heading h1 {
  color: var(--text);
  font-size: clamp(2.25rem, 12vw, 3.45rem);
  letter-spacing: 0;
  line-height: 1.02;
  margin: 18px 0 14px;
  max-width: 860px;
  position: relative;
  z-index: 1;
}

.section-heading h2,
.audience-panel h2,
.trust-card h2 {
  color: var(--text);
  font-size: clamp(1.85rem, 9vw, 2.8rem);
  letter-spacing: 0;
  line-height: 1.06;
  margin: 12px 0;
}

.hero-content p,
.results-heading p,
.section-heading p,
.audience-panel p,
.trust-card p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.58;
  margin: 0;
  position: relative;
  z-index: 1;
}

.hero-actions,
.form-actions,
.bottom-actions {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.primary-button,
.secondary-button,
.copy-button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  letter-spacing: 0;
  min-height: 56px;
  padding: 0 20px;
  text-decoration: none;
  width: 100%;
}

.primary-button {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  border: 1px solid var(--blue);
  color: #ffffff;
  box-shadow: var(--shadow-blue);
  position: relative;
  transform: translateY(0);
  transition: box-shadow 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.secondary-button {
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--blue-dark);
}

.primary-button:hover,
.header-action:hover,
.copy-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 26px 56px rgba(29, 78, 216, 0.25);
}

.secondary-button:hover,
.chip:hover {
  border-color: #93c5fd;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.copy-button {
  background: var(--blue);
  border: 1px solid var(--blue);
  color: #ffffff;
}

.copy-button.copied {
  background: var(--success);
  border-color: var(--success);
}

.trust-strip {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.trust-strip span {
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--blue-dark);
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 850;
  min-height: 38px;
  padding: 8px 12px;
}

.hero-panel {
  background:
    radial-gradient(circle at 88% 10%, rgba(56, 189, 248, 0.32), transparent 14rem),
    linear-gradient(180deg, rgba(30, 58, 138, 0.98), rgba(29, 78, 216, 0.94)),
    var(--blue-dark);
  border-color: rgba(125, 211, 252, 0.3);
  box-shadow: 0 24px 60px rgba(30, 58, 138, 0.24);
  color: #ffffff;
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.hero-panel-art {
  bottom: -28px;
  filter: drop-shadow(0 20px 26px rgba(15, 23, 42, 0.18));
  opacity: 0.22;
  pointer-events: none;
  position: absolute;
  right: -28px;
  width: 190px;
}

.hero-panel .panel-label {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  color: #dff7ff;
}

.hero-panel-header {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.hero-panel-header strong {
  color: #ffffff;
  font-size: 0.86rem;
}

.hero-panel h2 {
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1.24;
  margin: 0 0 4px;
  position: relative;
  z-index: 1;
}

.preview-list {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 10px;
  padding: 13px;
  position: relative;
  z-index: 1;
}

.preview-list span {
  color: #ffffff;
  font-weight: 800;
}

.preview-list strong {
  background: #ffffff;
  border-radius: 999px;
  color: var(--blue-dark);
  font-size: 0.8rem;
  font-weight: 950;
  padding: 7px 10px;
  white-space: nowrap;
}

.hero-mini-note {
  background: rgba(224, 242, 254, 0.14);
  border: 1px solid rgba(224, 242, 254, 0.18);
  border-radius: var(--radius-sm);
  color: #e0f2fe;
  font-weight: 800;
  line-height: 1.45;
  margin-top: 12px;
  padding: 12px;
  position: relative;
  z-index: 1;
}

.hero-stats {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 12px;
  position: relative;
  z-index: 1;
}

.hero-stats span {
  background: rgba(15, 23, 42, 0.18);
  border-radius: var(--radius-sm);
  color: #dbeafe;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 10px;
  text-align: center;
}

.hero-stats strong {
  color: #ffffff;
  display: block;
  font-size: 1.2rem;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.section-heading.compact {
  margin-bottom: 14px;
}

.section-icon,
.info-number,
.step-card span {
  align-items: center;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 950;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.image-icon {
  background: #ffffff;
  border: 1px solid #bfdbfe;
  box-shadow: var(--shadow-soft);
  height: 54px;
  width: 54px;
}

.image-icon img {
  height: 44px;
  object-fit: contain;
  width: 44px;
}

.info-section,
.audience-section,
.trust-section,
.category-section {
  padding-top: 18px;
}

.info-grid,
.audience-list,
.trust-grid,
.category-grid,
.recommendations,
.output-grid,
.company-grid,
.steps-list {
  display: grid;
  gap: 12px;
}

.category-section {
  background: rgba(255, 255, 255, 0.44);
  border-radius: 24px;
}

.category-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-badge {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--blue-dark);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 900;
  justify-content: center;
  min-height: 44px;
  padding: 10px 12px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.info-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  position: relative;
}

.info-card::after,
.job-card::after,
.company-card::after {
  background: linear-gradient(90deg, var(--sky), transparent);
  content: "";
  height: 3px;
  left: 16px;
  opacity: 0.7;
  position: absolute;
  right: 16px;
  top: 0;
}

.info-card-head {
  align-items: center;
  display: flex;
  gap: 12px;
}

.info-card-head h3 {
  flex: 1 1 auto;
}

.card-icon {
  height: 54px;
  margin-left: auto;
  object-fit: contain;
  width: 54px;
}

.info-card h3 {
  font-size: 1.12rem;
  letter-spacing: 0;
  margin: 0;
}

.split-section {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.section-art {
  filter: drop-shadow(0 18px 24px rgba(30, 58, 138, 0.13));
  flex: 0 0 auto;
  height: 112px;
  object-fit: contain;
  width: 112px;
}

.section-art.small {
  justify-self: start;
  margin-top: -4px;
}

.info-card p,
.audience-list p,
.trust-grid p,
.job-card p,
.text-output p,
.step-card p,
.company-card p,
.best-card p {
  color: var(--muted);
  line-height: 1.52;
  margin: 0;
}

.audience-panel,
.trust-card {
  background:
    linear-gradient(135deg, rgba(224, 242, 254, 0.84), rgba(255, 255, 255, 0.94)),
    #ffffff;
  display: grid;
  gap: 18px;
  padding: 22px;
}

.audience-list p,
.trust-grid p {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  display: flex;
  gap: 10px;
  font-weight: 760;
  padding: 13px;
}

.audience-list span {
  align-items: center;
  background: var(--blue-dark);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 950;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.audience-list span img {
  height: 22px;
  object-fit: contain;
  width: 22px;
}

.trust-grid p {
  display: grid;
}

.trust-grid strong {
  color: var(--blue-dark);
  display: block;
  margin-bottom: 2px;
}

.form-helper,
.form-error {
  box-shadow: var(--shadow-soft);
  line-height: 1.5;
  margin-bottom: 14px;
  padding: 14px;
}

.form-card {
  padding: 12px;
}

.auth-layout {
  display: grid;
  gap: 16px;
}

.auth-heading {
  max-width: none;
}

.auth-card {
  display: grid;
  gap: 14px;
}

.auth-tabs {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 4px;
}

.auth-tabs button.active {
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.privacy-note {
  background: linear-gradient(135deg, rgba(224, 242, 254, 0.8), rgba(255, 255, 255, 0.95));
  border: 1px solid #bae6fd;
  border-radius: var(--radius-sm);
  color: var(--muted);
  display: grid;
  gap: 6px;
  line-height: 1.45;
  padding: 14px;
}

.privacy-note p {
  margin: 0;
}

.admin-panel {
  display: grid;
  gap: 16px;
  margin-top: 14px;
  padding: 16px;
}

.admin-panel .split-section {
  align-items: start;
}

.admin-panel h2,
.admin-panel p {
  margin-bottom: 0;
}

.admin-table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow-x: auto;
}

.admin-table {
  border-collapse: collapse;
  min-width: 920px;
  width: 100%;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  background: var(--surface-2);
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.form-helper {
  color: var(--muted);
}

.form-helper strong {
  color: var(--blue-dark);
}

.form-error {
  background: var(--danger-soft);
  border-color: #fecdd3;
  color: var(--danger);
  font-weight: 850;
}

.profile-form {
  display: grid;
  gap: 13px;
}

.wide {
  grid-column: 1 / -1;
}

label,
fieldset {
  color: var(--text);
  display: flex;
  flex-direction: column;
  font-weight: 900;
  gap: 8px;
  margin: 0;
  padding: 17px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

label:focus-within,
fieldset:focus-within {
  border-color: #bae6fd;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

fieldset {
  min-width: 0;
}

legend {
  padding: 0 4px;
}

input,
select,
textarea {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  min-height: 52px;
  padding: 13px 14px;
  width: 100%;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #bfdbfe;
}

input:focus,
select:focus,
textarea:focus {
  background: #ffffff;
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.16);
}

textarea {
  line-height: 1.48;
  min-height: 126px;
  resize: vertical;
}

.segmented {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 4px;
}

.segmented button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 900;
  min-height: 44px;
}

.segmented .active {
  background: #ffffff;
  color: var(--blue-dark);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.field-title {
  color: var(--blue-dark);
  font-weight: 950;
  margin: 0 0 6px;
}

.field-help {
  color: var(--muted-2);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.42;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.chip {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-weight: 850;
  min-height: 42px;
  padding: 0 14px;
}

.chip.selected {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: #ffffff;
}

.results-heading {
  background:
    radial-gradient(circle at 90% 0%, rgba(56, 189, 248, 0.32), transparent 18rem),
    linear-gradient(135deg, rgba(30, 58, 138, 0.96), rgba(29, 78, 216, 0.9)),
    var(--blue-dark);
  border-color: rgba(56, 189, 248, 0.24);
  color: #ffffff;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.results-art {
  bottom: -46px;
  filter: drop-shadow(0 24px 32px rgba(15, 23, 42, 0.2));
  opacity: 0.18;
  pointer-events: none;
  position: absolute;
  right: -36px;
  width: 210px;
}

.results-heading .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  color: #dff7ff;
}

.results-heading h1,
.results-heading p {
  color: #ffffff;
}

.profile-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.profile-pills span,
.compatibility {
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 950;
  padding: 8px 10px;
  white-space: nowrap;
}

.profile-pills span {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e0f2fe;
}

.best-card,
.trust-panel,
.guidance,
.company-section,
.next-steps,
.text-output {
  margin-top: 14px;
  padding: 16px;
}

.best-card {
  background:
    linear-gradient(135deg, rgba(224, 242, 254, 0.92), rgba(255, 255, 255, 0.96)),
    #ffffff;
  display: grid;
  gap: 13px;
  border-color: #bfdbfe;
  box-shadow: 0 20px 48px rgba(29, 78, 216, 0.13);
}

.best-card h2 {
  font-size: 1.46rem;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
}

.trust-panel {
  display: grid;
  gap: 10px;
}

.trust-panel p {
  border-left: 4px solid var(--sky);
  color: var(--text);
  font-weight: 820;
  line-height: 1.42;
  margin: 0;
  padding-left: 10px;
}

.results-label {
  display: grid;
  gap: 4px;
  margin-top: 18px;
}

.results-label span {
  color: var(--blue-dark);
  font-size: 1.12rem;
  font-weight: 950;
}

.results-label p {
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

.recommendations {
  margin-top: 12px;
}

.job-card,
.company-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  position: relative;
  overflow: hidden;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.job-card:hover,
.company-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

.job-card-top {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.job-area,
.company-message span {
  color: var(--blue);
  display: block;
  font-size: 0.8rem;
  font-weight: 950;
  margin-bottom: 5px;
}

.job-card h2,
.guidance h2,
.company-section h2,
.next-steps h2,
.text-output h2 {
  color: var(--text);
  font-size: 1.22rem;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0;
}

.compatibility {
  flex: 0 0 auto;
}

.score-bar {
  background: #e2e8f0;
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}

.score-bar span {
  background: linear-gradient(90deg, var(--blue-dark), var(--sky));
  border-radius: inherit;
  display: block;
  height: 100%;
  width: var(--score);
}

.alto {
  background: var(--success-soft);
  color: var(--success);
}

.medio {
  background: var(--sky-soft);
  color: var(--blue-dark);
}

.bajo {
  background: var(--warning-soft);
  color: #92400e;
}

.job-card p strong,
.company-card p strong {
  color: var(--text);
}

.job-tip {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-left: 4px solid var(--sky);
  border-radius: var(--radius-sm);
  color: var(--muted);
  line-height: 1.45;
  padding: 12px;
}

.guidance ul {
  color: var(--muted);
  line-height: 1.55;
  margin: 14px 0 0;
  padding-left: 20px;
}

.guidance li + li {
  margin-top: 8px;
}

.company-section,
.next-steps,
.profile-summary {
  display: grid;
  gap: 14px;
}

.company-cta,
.final-cta {
  align-items: center;
  display: grid;
  gap: 16px;
  margin: 20px auto;
  max-width: 1160px;
  padding: 22px 16px;
}

.company-cta {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(224, 242, 254, 0.88)),
    #ffffff;
}

.final-cta {
  background:
    radial-gradient(circle at 92% 12%, rgba(56, 189, 248, 0.22), transparent 16rem),
    linear-gradient(135deg, rgba(30, 58, 138, 0.96), rgba(29, 78, 216, 0.9));
  color: #ffffff;
}

.final-cta h2,
.final-cta p {
  color: #ffffff;
}

.final-cta img {
  filter: drop-shadow(0 20px 28px rgba(15, 23, 42, 0.2));
  justify-self: start;
  max-width: 130px;
  width: 38vw;
}

.profile-summary {
  margin-top: 14px;
  padding: 16px;
}

.profile-detail-grid {
  display: grid;
  gap: 10px;
}

.profile-detail-grid p {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
  padding: 12px;
}

.profile-detail-grid strong {
  color: var(--text);
}

.company-card {
  box-shadow: none;
}

.company-type {
  color: var(--blue-dark);
  font-size: 1.08rem;
  font-weight: 950;
}

.company-message {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: grid;
  gap: 6px;
  padding: 12px;
}

.maps-tip {
  border-left: 4px solid var(--blue);
  padding-left: 10px;
}

.step-card {
  align-items: flex-start;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  gap: 12px;
  padding: 12px;
  transition: border-color 160ms ease, transform 160ms ease;
}

.step-card:hover {
  border-color: #bfdbfe;
  transform: translateY(-1px);
}

.output-heading {
  color: var(--blue-dark);
  margin-bottom: 8px;
}

.text-output {
  display: grid;
  gap: 12px;
}

.text-output textarea {
  background: #f8fafc;
  font-size: 0.95rem;
  line-height: 1.46;
  min-height: 230px;
  white-space: pre-wrap;
}

.bottom-actions {
  margin-bottom: 18px;
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  margin: 20px auto 0;
  max-width: 1160px;
  padding: 28px 16px 36px;
}

.footer-brand {
  align-items: center;
  color: var(--blue-dark);
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}

.footer-logo {
  height: auto;
  max-width: 230px;
  object-fit: contain;
  width: 100%;
}

.footer-brand .brand-icon {
  height: 34px;
  min-width: 34px;
}

.site-footer p {
  line-height: 1.5;
  margin: 0;
}

@media (min-width: 680px) {
  .site-header {
    padding: 14px 28px;
  }

  .header-badge {
    display: inline-flex;
  }

  .header-nav {
    display: flex;
    margin-left: auto;
    order: 0;
    overflow: visible;
    width: auto;
  }

  .brand-logo {
    display: block;
  }

  .hero,
  .institution-section,
  .gig-landing,
  .info-section,
  .audience-section,
  .trust-section,
  .category-section,
  .company-cta,
  .final-cta,
  .form-section,
  .results-section {
    padding: 44px 28px;
  }

  .hero-actions,
  .form-actions,
  .bottom-actions,
  .trust-strip {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
  }

  .primary-button,
  .secondary-button,
  .copy-button {
    width: auto;
  }

  .full {
    width: 100%;
  }

  .profile-form,
  .recommendations,
  .gig-grid,
  .company-grid,
  .output-grid,
  .audience-list,
  .trust-grid,
  .profile-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-grid,
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .company-cta,
  .final-cta {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-left: 28px;
    padding-right: 28px;
  }

  .final-cta {
    grid-template-columns: 130px minmax(0, 1fr) auto;
  }

  .recommendations .job-card:first-child {
    grid-column: 1 / -1;
  }

  .form-card {
    padding: 16px;
  }

  .auth-layout {
    align-items: start;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  }

  .hero-panel-art {
    opacity: 0.28;
    width: 230px;
  }

  .results-art {
    opacity: 0.22;
    width: 260px;
  }
}

@media (min-width: 940px) {
  .site-header {
    padding-left: 56px;
    padding-right: 56px;
  }

  .hero,
  .institution-section,
  .gig-landing,
  .info-section,
  .audience-section,
  .trust-section,
  .category-section,
  .company-cta,
  .final-cta,
  .form-section,
  .results-section {
    padding: 64px 56px;
  }

  .hero {
    align-items: center;
    gap: 32px;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
    min-height: calc(92vh - 70px);
  }

  .hero-content {
    padding: 38px;
  }

  .hero-logo {
    max-width: 320px;
  }

  .hero-panel {
    padding: 28px;
  }

  .results-heading {
    padding: 32px;
  }

  .hero-content h1,
  .results-heading h1,
  .section-heading h1 {
    font-size: clamp(3.2rem, 5vw, 4.9rem);
  }

  .section-heading,
  .results-heading {
    max-width: 900px;
  }

  .steps-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
