﻿:root {
  --ink: #17263a;
  --muted: #687587;
  --line: #e4e9e8;
  --paper: #ffffff;
  --cream: #f5f6ef;
  --green: #0f725c;
  --green-dark: #0a5546;
  --green-soft: #e7f3ec;
  --lime: #dceb75;
  --orange: #e97845;
  --shadow: 0 24px 60px rgba(20, 51, 45, 0.11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  line-height: 1.55;
}
body.modal-open { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { min-height: 44px; cursor: pointer; }
input,
select,
textarea { min-height: 44px; }
:focus-visible { outline: 3px solid rgba(15, 114, 92, 0.3); outline-offset: 2px; }
a { color: inherit; }

.site-header {
  height: 82px;
  padding: 0 max(32px, calc((100vw - 1180px) / 2));
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(228, 233, 232, 0.8);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font: 800 20px "Manrope", sans-serif;
  text-decoration: none;
  white-space: nowrap;
}
.brand > span:last-child span { color: var(--green); }
.brand small { color: #8e9997; font-size: 14px; }
.brand-mark {
  width: 36px;
  height: 36px;
  position: relative;
  display: block;
  border-radius: 50%;
  background: var(--green);
}
.brand-mark i {
  width: 8px;
  height: 8px;
  position: absolute;
  border: 2px solid white;
  border-radius: 50%;
}
.brand-mark i:nth-child(1) { top: 8px; left: 8px; }
.brand-mark i:nth-child(2) { top: 8px; right: 8px; }
.brand-mark i:nth-child(3) { bottom: 8px; left: 14px; }
.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  height: 2px;
  background: white;
  transform-origin: left center;
}
.brand-mark::before { width: 13px; top: 13px; left: 12px; }
.brand-mark::after { width: 11px; top: 17px; left: 11px; transform: rotate(55deg); }

.main-nav {
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 31px;
}
.main-nav a {
  position: relative;
  color: #5f6b77;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.main-nav a:hover,
.main-nav a.active { color: var(--green); }
.main-nav a.active::after {
  content: "";
  width: 4px;
  height: 4px;
  position: absolute;
  left: 50%;
  bottom: -10px;
  border-radius: 50%;
  background: var(--green);
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.ghost-button {
  padding: 10px 15px;
  color: var(--green);
  border: 0;
  background: transparent;
  font-size: 15px;
  font-weight: 700;
}
.primary-button,
.dark-button,
.white-button,
.outline-button,
.mini-button,
.see-more-button {
  border: 0;
  border-radius: 9px;
  font-weight: 700;
}
.primary-button {
  padding: 13px 20px;
  color: white;
  background: var(--green);
  box-shadow: 0 9px 24px rgba(15, 114, 92, 0.2);
  transition: 0.2s ease;
}
.primary-button:hover { background: var(--green-dark); transform: translateY(-1px); }
.primary-button.small { padding: 11px 17px; font-size: 14px; }
.primary-button span,
.dark-button span,
.white-button span,
.outline-button span { margin-left: 7px; }
.menu-button {
  width: 40px;
  height: 40px;
  margin-left: auto;
  display: none;
  color: var(--green);
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
}

.hero {
  min-height: 625px;
  padding: 76px max(32px, calc((100vw - 1180px) / 2)) 72px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  background: var(--cream);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image: radial-gradient(#6f8075 0.65px, transparent 0.65px);
  background-size: 18px 18px;
  mask-image: linear-gradient(to right, transparent, black 70%, transparent);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(2px); }
.glow-one { width: 380px; height: 380px; right: 30px; top: 40px; background: rgba(196, 225, 157, 0.27); }
.glow-two { width: 260px; height: 260px; right: 360px; bottom: -130px; background: rgba(15, 114, 92, 0.08); }
.hero-content, .hero-visual { position: relative; z-index: 2; }
.hero-content { padding-right: 25px; }
.community-pill {
  width: max-content;
  padding: 6px 13px 6px 7px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #4b5f58;
  border: 1px solid #dae2d8;
  border-radius: 30px;
  background: rgba(255,255,255,0.75);
  font-size: 14px;
}
.community-pill i { width: 5px; height: 5px; border-radius: 50%; background: #4fba7e; }
.mini-avatars { display: flex; padding-left: 6px; }
.mini-avatars span {
  width: 24px;
  height: 24px;
  margin-left: -6px;
  display: grid;
  place-items: center;
  color: white;
  border: 2px solid white;
  border-radius: 50%;
  background: #72897e;
  font-size: 12px;
  font-weight: 700;
}
.mini-avatars span:nth-child(2) { background: #53788d; }
.mini-avatars span:nth-child(3) { background: #a86d62; }
.hero h1 {
  margin: 24px 0 17px;
  font: 800 clamp(42px, 5vw, 64px)/1.08 "Manrope", sans-serif;
  letter-spacing: -3.4px;
}
.hero h1 em { color: var(--green); font-style: normal; }
.hero-content > p {
  max-width: 580px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}
.hero-actions { margin-top: 29px; display: flex; align-items: center; gap: 24px; }
.hero-cta { padding: 15px 22px; }
.play-link {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #4d5c62;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.play-link b {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--green);
  border: 1px solid #cdd8d4;
  border-radius: 50%;
  background: white;
  font-size: 15px;
}
.trust-line { margin-top: 24px; display: flex; gap: 22px; color: #708078; font-size: 14px; }
.trust-line span::first-letter { color: var(--green); }

.hero-visual { min-height: 450px; }
.radar-rings, .radar-rings i { position: absolute; border: 1px solid rgba(15,114,92,0.12); border-radius: 50%; }
.radar-rings { width: 410px; height: 410px; top: 10px; left: 53%; transform: translateX(-50%); }
.radar-rings i:nth-child(1) { inset: 50px; }
.radar-rings i:nth-child(2) { inset: 100px; }
.radar-rings i:nth-child(3) { inset: 150px; background: rgba(15,114,92,0.04); }
.profile-preview {
  padding: 26px;
  position: absolute;
  border: 1px solid rgba(223,229,225,0.9);
  border-radius: 18px;
  background: rgba(255,255,255,0.96);
  box-shadow: var(--shadow);
}
.main-profile { width: 260px; top: 52px; left: 51%; text-align: center; transform: translateX(-50%); }
.match-pill {
  padding: 5px 9px;
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--green);
  border-radius: 20px;
  background: var(--green-soft);
  font-size: 15px;
  font-weight: 800;
}
.profile-photo {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: white;
  border-radius: 50%;
  font-weight: 700;
}
.main-profile .profile-photo { width: 70px; height: 70px; margin: 7px auto 13px; font-size: 16px; }
.photo-warm { background: linear-gradient(145deg, #a16f5f, #d9a78e); }
.photo-cool { background: linear-gradient(145deg, #4f6878, #8aa3ad); }
.photo-neutral { background: linear-gradient(145deg, #6c796a, #a4b094); }
.online-dot {
  width: 10px;
  height: 10px;
  position: absolute;
  top: 85px;
  left: calc(50% + 23px);
  border: 2px solid white;
  border-radius: 50%;
  background: #37b876;
}
.main-profile h3 { margin: 0; font: 700 15px "Manrope", sans-serif; }
.main-profile > p { margin: 5px 0 12px; color: var(--muted); font-size: 13px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.main-profile .tag-row { justify-content: center; }
.tag-row span {
  padding: 5px 8px;
  color: #3f6e61;
  border-radius: 6px;
  background: #eef5ef;
  font-size: 15px;
  font-weight: 600;
}
.profile-divider { height: 1px; margin: 18px 0 13px; background: var(--line); }
.profile-fit { text-align: left; }
.profile-fit span { color: var(--muted); font-size: 15px; }
.fit-bar { height: 5px; margin-top: 7px; overflow: hidden; border-radius: 4px; background: #e8ece8; }
.fit-bar i { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, var(--green), #85bc77); }
.float-profile {
  min-width: 200px;
  padding: 11px 13px;
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e6ebe7;
  border-radius: 12px;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 15px 35px rgba(34,65,58,0.1);
}
.float-profile .profile-photo { width: 37px; height: 37px; font-size: 15px; }
.float-profile strong, .float-profile small { display: block; }
.float-profile strong { font-size: 13px; }
.float-profile small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.float-profile b { margin-left: auto; color: var(--green); font-size: 14px; }
.profile-left { top: 145px; left: -16px; }
.profile-right { right: -18px; bottom: 95px; }
.ai-chip {
  padding: 10px 14px;
  position: absolute;
  left: 38px;
  bottom: 29px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 12px;
  color: white;
  background: var(--green);
  box-shadow: 0 15px 30px rgba(15,114,92,0.2);
}
.ai-chip > span { font-size: 15px; }
.ai-chip strong, .ai-chip small { display: block; }
.ai-chip strong { font-size: 13px; }
.ai-chip small { margin-top: 2px; color: rgba(255,255,255,0.65); font-size: 12px; }
.spark { position: absolute; color: #a8bf61; }
.spark-one { right: 32px; top: 66px; font-size: 22px; }
.spark-two { left: 35px; top: 78px; font-size: 14px; }

.credibility-strip {
  min-height: 108px;
  padding: 20px max(32px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  gap: 50px;
  border-bottom: 1px solid var(--line);
}
.credibility-strip > p { margin: 0; color: #8a9597; font-size: 14px; white-space: nowrap; }
.credibility-strip > div { flex: 1; display: flex; align-items: center; justify-content: space-between; }
.source-logo { color: #899494; font-size: 14px; font-weight: 800; letter-spacing: -0.4px; }
.source-logo span { font-weight: 600; }
.source-logo.scholar::first-letter { color: #4285f4; }
.source-logo.sinta { color: #4e758e; letter-spacing: 1.5px; }
.source-logo.scopus { color: #dd8436; }
.source-logo.orcid i { padding: 4px; color: white; border-radius: 50%; background: #a6c644; font-style: normal; font-size: 13px; }
.source-logo.cv { display: flex; gap: 6px; color: #6a7476; font-size: 14px; }

.section-wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.how-section { padding-block: 95px 105px; }
.section-intro { max-width: 690px; margin: 0 auto 53px; text-align: center; }
.overline {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
}
.section-intro h2, .section-heading h2, .opportunity-copy h2, .final-cta h2 {
  margin: 12px 0 14px;
  font: 800 34px/1.25 "Manrope", sans-serif;
  letter-spacing: -1.5px;
}
.section-intro p { margin: 0; color: var(--muted); font-size: 13px; }
.steps-grid {
  display: grid;
  grid-template-columns: 1fr 45px 1fr 45px 1fr;
  align-items: center;
}
.step-card {
  min-height: 296px;
  padding: 25px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}
.step-card.featured-step { border-color: #cadfcf; box-shadow: 0 18px 45px rgba(35,82,66,0.08); }
.step-number {
  position: absolute;
  top: 18px;
  right: 20px;
  color: #e1e6e4;
  font: 800 30px "Manrope", sans-serif;
}
.step-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--green);
  border-radius: 13px;
  background: var(--green-soft);
  font-size: 22px;
}
.ai-icon { color: white; background: var(--green); }
.match-icon { color: #a85d35; background: #fff0e5; }
.step-card h3 { margin: 20px 0 9px; font: 700 16px "Manrope", sans-serif; }
.step-card > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.step-arrow { color: #a7b3ae; font-size: 18px; text-align: center; }
.mini-source-stack { margin-top: 26px; display: flex; }
.mini-source-stack b {
  width: 35px;
  height: 35px;
  margin-right: -5px;
  display: grid;
  place-items: center;
  color: var(--green);
  border: 2px solid white;
  border-radius: 9px;
  background: #edf3ee;
  font-size: 13px;
}
.scanning-demo { margin-top: 26px; padding: 14px; position: relative; border-radius: 9px; background: #f3f7f3; }
.scanning-demo span { height: 5px; margin: 6px 0; display: block; border-radius: 4px; background: #d9e3dc; }
.scanning-demo span:nth-child(1) { width: 80%; }
.scanning-demo span:nth-child(2) { width: 60%; }
.scanning-demo span:nth-child(3) { width: 72%; }
.scanning-demo i { width: 2px; position: absolute; inset: 7px auto 7px 30%; background: var(--green); animation: scan 2.4s infinite ease-in-out; }
@keyframes scan { 0%, 100% { left: 12%; } 50% { left: 88%; } }
.matched-faces { margin-top: 28px; display: flex; align-items: center; }
.matched-faces b {
  width: 36px;
  height: 36px;
  margin-right: -6px;
  display: grid;
  place-items: center;
  color: white;
  border: 2px solid white;
  border-radius: 50%;
  background: #71878e;
  font-size: 15px;
}
.matched-faces b:nth-child(2) { z-index: 2; color: var(--green); background: #e6f1e9; }
.matched-faces b:nth-child(3) { background: #ab7b6c; }
.matched-faces span { margin-left: 16px; color: var(--green); font-size: 13px; font-weight: 700; }

.match-section { padding: 90px 0 95px; background: #f4f6f1; }
.section-heading { margin-bottom: 32px; display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; }
.section-heading h2 { margin-bottom: 0; font-size: 30px; }
.overline.green { color: #4d937c; }
.filter-tabs { padding: 4px; display: flex; border-radius: 10px; background: white; }
.filter-tabs button {
  padding: 9px 13px;
  color: #748079;
  border: 0;
  border-radius: 7px;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
}
.filter-tabs button.active { color: white; background: var(--green); }
.researcher-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.researcher-grid.community-empty { grid-template-columns: minmax(280px, 520px); justify-content: center; }
.community-empty .researcher-card { padding: 32px; text-align: center; }
.community-empty .step-icon { margin: 0 auto; }
.community-empty h3 { margin: 17px 0 8px; font: 700 16px "Manrope", sans-serif; }
.community-empty p { margin: 0 auto 18px; max-width: 400px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.real-data-note { margin: 24px 0 0; color: #748079; font-size: 14px; text-align: center; }
.real-data-note strong { color: var(--green); }
.researcher-card {
  padding: 20px;
  border: 1px solid #e0e6e1;
  border-radius: 15px;
  background: white;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.researcher-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.researcher-card.hidden { display: none; }
.card-top { display: flex; align-items: center; justify-content: space-between; }
.availability { color: #469272; font-size: 15px; font-weight: 700; }
.availability i { width: 6px; height: 6px; margin-right: 5px; display: inline-block; border-radius: 50%; background: #44b97c; }
.availability.limited { color: #a47a42; }
.availability.limited i { background: #d9a04f; }
.bookmark { color: #8c9993; border: 0; background: transparent; font-size: 18px; }
.bookmark.saved { color: var(--orange); }
.researcher-identity { margin: 17px 0 20px; display: flex; align-items: center; gap: 11px; }
.profile-photo.large { width: 48px; height: 48px; font-size: 14px; }
.researcher-identity h3 { margin: 0 0 4px; font: 700 13px "Manrope", sans-serif; }
.researcher-identity p { margin: 0; color: var(--muted); font-size: 15px; }
.expertise-block small, .modal-detail-grid label, .result-section label, .result-columns label { color: #98a19d; font-size: 12px; font-weight: 800; letter-spacing: 0.8px; }
.expertise-block .tag-row { margin-top: 8px; }
.why-match {
  margin: 18px 0;
  padding: 11px;
  display: flex;
  gap: 8px;
  border-radius: 9px;
  background: #f2f7f3;
}
.why-match > span { color: var(--green); font-size: 14px; }
.why-match p { margin: 0; color: #6c7773; font-size: 15px; line-height: 1.5; }
.why-match strong { color: #3a4d46; }
.card-footer { padding-top: 15px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); }
.match-score strong, .match-score span { display: block; }
.match-score strong { color: var(--green); font: 800 17px "Manrope", sans-serif; }
.match-score span { color: #99a39e; font-size: 12px; }
.outline-button {
  padding: 9px 12px;
  color: var(--green);
  border: 1px solid #c9d9d2;
  background: white;
  font-size: 13px;
}
.see-more-button {
  margin: 28px auto 0;
  padding: 11px 17px;
  display: block;
  color: #53645d;
  border: 1px solid #d8dfda;
  background: transparent;
  font-size: 14px;
}

.opportunity-section { padding-block: 100px; display: grid; grid-template-columns: 0.85fr 1.15fr; align-items: center; gap: 90px; }
.opportunity-copy h2 { font-size: 35px; }
.opportunity-copy > p { max-width: 440px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.opportunity-copy ul { margin: 27px 0 29px; padding: 0; display: grid; gap: 17px; list-style: none; }
.opportunity-copy li { display: flex; gap: 12px; }
.opportunity-copy li > span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--green);
  border-radius: 50%;
  background: var(--green-soft);
  font-size: 14px;
  font-weight: 800;
}
.opportunity-copy li strong, .opportunity-copy li small { display: block; }
.opportunity-copy li strong { font-size: 14px; }
.opportunity-copy li small { margin-top: 3px; color: var(--muted); font-size: 13px; }
.dark-button { padding: 13px 19px; color: white; background: var(--ink); font-size: 14px; }
.opportunity-board {
  padding: 17px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f4f6f2;
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}
.board-header { padding: 4px 4px 14px; display: flex; align-items: center; justify-content: space-between; }
.board-header span { color: #64716c; font-size: 13px; font-weight: 700; }
.board-header i { width: 6px; height: 6px; margin-right: 6px; display: inline-block; border-radius: 50%; background: #4fbf7e; }
.board-header button { border: 0; background: transparent; }
.project-card { padding: 19px; border: 1px solid #e0e5e1; border-radius: 12px; background: white; }
.project-badge { width: max-content; padding: 5px 8px; color: var(--green); border-radius: 5px; background: var(--green-soft); font-size: 12px; font-weight: 800; }
.project-badge.orange { color: #b9643c; background: #fff0e6; }
.project-card h3 { max-width: 440px; margin: 13px 0 7px; font: 700 14px/1.45 "Manrope", sans-serif; }
.project-card > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.needed-roles { margin: 15px 0; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.needed-roles > span { color: #9aa39f; font-size: 15px; }
.needed-roles b { padding: 5px 7px; color: #566660; border-radius: 5px; background: #f0f3f0; font-size: 12px; }
.project-footer { padding-top: 14px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); }
.project-owner { display: flex; align-items: center; gap: 8px; }
.project-owner > span { width: 30px; height: 30px; display: grid; place-items: center; color: white; border-radius: 50%; background: #a87665; font-size: 12px; }
.project-owner strong, .project-owner small { display: block; }
.project-owner strong { font-size: 15px; }
.project-owner small { margin-top: 2px; color: var(--muted); font-size: 12px; }
.mini-button { padding: 8px 10px; color: white; background: var(--green); font-size: 15px; }
.faded-card { margin: 10px 22px -52px; opacity: 0.72; transform: rotate(-2deg); }

.final-cta {
  min-height: 360px;
  padding: 70px 32px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: white;
  background: var(--green);
  text-align: center;
}
.cta-pattern { position: absolute; inset: 0; opacity: 0.12; background-image: radial-gradient(white 1px, transparent 1px); background-size: 24px 24px; }
.final-cta > div:last-child { position: relative; z-index: 2; }
.overline.light { color: #b9dbcb; }
.final-cta h2 { margin-block: 14px 10px; font-size: 35px; }
.final-cta p { margin: 0 0 24px; color: rgba(255,255,255,0.7); font-size: 15px; }
.white-button { padding: 14px 20px; color: var(--green); background: white; font-size: 14px; }

footer {
  min-height: 100px;
  padding: 25px max(32px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  gap: 35px;
  color: #89938e;
  border-top: 1px solid var(--line);
}
.footer-brand { font-size: 16px; }
.footer-brand .brand-mark { width: 29px; height: 29px; transform: scale(0.8); }
footer p { margin: 0; font-size: 13px; }
footer > div { margin-left: auto; display: flex; gap: 20px; }
footer > div a { font-size: 13px; text-decoration: none; }

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  padding: 20px;
  display: grid;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  background: rgba(15, 30, 35, 0.62);
  backdrop-filter: blur(6px);
  transition: 0.22s ease;
}
.modal-backdrop.open { visibility: visible; opacity: 1; }
.onboarding-modal,
.profile-modal,
.invite-modal {
  width: min(610px, 100%);
  max-height: calc(100vh - 40px);
  padding: 31px;
  position: relative;
  overflow-y: auto;
  border-radius: 20px;
  background: white;
  box-shadow: 0 32px 90px rgba(10, 35, 29, 0.25);
  transform: translateY(15px) scale(0.985);
  transition: 0.22s ease;
}
.modal-backdrop.open > section { transform: translateY(0) scale(1); }
.modal-close {
  width: 32px;
  height: 32px;
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  color: #7b8983;
  border: 0;
  border-radius: 8px;
  background: #f1f4f1;
  font-size: 20px;
}
.onboarding-progress { margin-bottom: 25px; display: flex; gap: 6px; }
.onboarding-progress span { height: 4px; flex: 1; border-radius: 4px; background: #e5eae6; }
.onboarding-progress span.active { background: var(--green); }
.onboarding-step { display: none; }
.onboarding-step.active { display: block; }
.modal-kicker { color: var(--green); font-size: 15px; font-weight: 800; letter-spacing: 1.1px; }
.onboarding-step h2, .profile-modal h2, .invite-modal h2 { margin: 9px 0 7px; font: 800 24px "Manrope", sans-serif; letter-spacing: -0.7px; }
.onboarding-step > p, .invite-modal > p { margin: 0 0 20px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.upload-zone {
  min-height: 135px;
  padding: 18px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1.5px dashed #b9ccc3;
  border-radius: 13px;
  background: #f6faf7;
  text-align: center;
  cursor: pointer;
}
.upload-zone input { display: none; }
.upload-symbol { width: 35px; height: 35px; display: grid; place-items: center; color: var(--green); border-radius: 9px; background: var(--green-soft); font-size: 18px; }
.upload-zone strong { margin-top: 8px; font-size: 14px; }
.upload-zone small { margin: 3px 0 7px; color: var(--muted); font-size: 15px; }
.upload-zone b { color: var(--green); font-size: 13px; }
.upload-zone.has-file { border-style: solid; border-color: #62a88b; background: #eff8f2; }
.or-divider { margin: 17px 0; display: flex; align-items: center; gap: 10px; color: #a2aaa6; font-size: 15px; }
.or-divider::before, .or-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.profile-sources { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.profile-sources label {
  min-height: 58px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: text;
}
.source-badge { width: 29px; height: 29px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 8px; font-size: 13px; font-weight: 800; }
.orcid-badge { color: white; background: #a6c644; }
.scholar-badge { color: white; background: #4285f4; }
.sinta-badge { color: white; background: #50768d; }
.scopus-badge { color: white; background: #df8739; }
.profile-sources label div { min-width: 82px; }
.profile-sources strong, .profile-sources small { display: block; }
.profile-sources strong { font-size: 13px; }
.profile-sources small { margin-top: 2px; color: var(--muted); font-size: 12px; }
.profile-sources input { min-width: 0; width: 100%; border: 0; outline: 0; color: var(--ink); font-size: 15px; }
.profile-sources label > i { width: 18px; height: 18px; display: grid; place-items: center; color: var(--green); border-radius: 5px; background: var(--green-soft); font-size: 14px; font-style: normal; }
.profile-sources label.connected { border-color: #79b49d; background: #f1f8f4; }
.primary-button.full { width: 100%; margin-top: 20px; }

.analysis-state { padding: 15px 15px 5px; text-align: center; }
.ai-orbit { width: 90px; height: 90px; margin: 0 auto 20px; position: relative; display: grid; place-items: center; border-radius: 50%; background: #eff7f1; }
.ai-orbit > span { width: 46px; height: 46px; display: grid; place-items: center; z-index: 2; color: white; border-radius: 50%; background: var(--green); font-size: 18px; }
.ai-orbit i { position: absolute; inset: 5px; border: 1px solid #aacabb; border-radius: 50%; animation: spin 5s linear infinite; }
.ai-orbit i::after { content: ""; width: 7px; height: 7px; position: absolute; top: 6px; left: 10px; border-radius: 50%; background: var(--lime); }
.ai-orbit i:nth-child(3) { inset: -4px; animation-direction: reverse; animation-duration: 7s; }
@keyframes spin { to { transform: rotate(360deg); } }
.analysis-state > p { color: var(--muted); font-size: 14px; }
.analysis-list { margin-top: 25px; display: grid; gap: 6px; text-align: left; }
.analysis-list > div { padding: 10px 12px; display: flex; align-items: center; gap: 9px; border-radius: 9px; background: #f7f8f6; }
.analysis-list span { width: 22px; height: 22px; display: grid; place-items: center; color: #9aa49e; border-radius: 50%; background: #e9edea; font-size: 15px; }
.analysis-list p { margin: 0; flex: 1; font-size: 13px; }
.analysis-list b { color: #a2aaa6; font-size: 12px; }
.analysis-list .done span { color: white; background: #48aa79; }
.analysis-list .done b { color: #48a277; }
.analysis-list .processing span { color: white; background: var(--green); }
.analysis-list .processing b { color: var(--green); }

.modal-kicker.success { color: #4b9f73; }
.screening-result { margin-top: 19px; padding: 17px; border: 1px solid var(--line); border-radius: 13px; background: #fbfcfa; }
.result-head { padding-bottom: 14px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.avatar-result { width: 42px; height: 42px; display: grid; place-items: center; color: white; border-radius: 50%; background: #657c73; font-size: 13px; font-weight: 700; }
.result-head div { flex: 1; }
.result-head strong, .result-head small { display: block; }
.result-head strong { font-size: 14px; }
.result-head small { margin-top: 3px; color: var(--muted); font-size: 15px; }
.verified-badge { padding: 5px 7px; color: var(--green); border-radius: 6px; background: var(--green-soft); font-size: 12px; font-weight: 700; }
.result-section { padding: 14px 0; border-bottom: 1px solid var(--line); }
.result-section label { display: flex; justify-content: space-between; }
.result-section label button { padding: 0; color: var(--green); border: 0; background: transparent; font-size: 12px; font-weight: 700; }
.editable-tags { margin-top: 8px; }
.result-columns { padding: 14px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; border-bottom: 1px solid var(--line); }
.result-columns p { margin: 5px 0 0; color: #52615b; font-size: 15px; line-height: 1.5; }
.contact-setting { padding-top: 14px; display: flex; align-items: center; gap: 15px; }
.contact-setting div { flex: 1; }
.contact-setting strong, .contact-setting small { display: block; }
.contact-setting strong { font-size: 13px; }
.contact-setting small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.contact-setting select, .invite-modal select {
  padding: 8px 10px;
  color: #54635d;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  background: white;
  font-size: 15px;
}

.profile-modal { width: min(660px, 100%); }
.profile-modal-top { display: flex; align-items: center; gap: 14px; }
.profile-photo.xl { width: 66px; height: 66px; font-size: 15px; }
.profile-modal-top > div:nth-child(2) { flex: 1; }
.profile-modal-top h2 { margin-block: 7px 4px; }
.profile-modal-top p { margin: 0; color: var(--muted); font-size: 13px; }
.big-match { padding-right: 25px; text-align: center; }
.big-match strong, .big-match small { display: block; }
.big-match strong { color: var(--green); font: 800 24px "Manrope", sans-serif; }
.big-match small { color: var(--muted); font-size: 12px; }
.match-explanation { margin: 23px 0; padding: 14px; display: flex; gap: 10px; border-radius: 10px; background: #eff7f1; }
.match-explanation > span { color: var(--green); }
.match-explanation strong { font-size: 14px; }
.match-explanation p { margin: 4px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.modal-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.modal-detail-grid > div { padding: 13px; border: 1px solid var(--line); border-radius: 9px; }
.modal-detail-grid .tag-row { margin-top: 8px; }
.modal-detail-grid p { margin: 7px 0 0; color: #596861; font-size: 15px; line-height: 1.5; }
.privacy-note { margin-top: 9px; display: block; color: #929d98; font-size: 12px; text-align: center; }

.invite-modal { width: min(520px, 100%); }
.invite-icon { width: 42px; height: 42px; margin-bottom: 15px; display: grid; place-items: center; color: white; border-radius: 11px; background: var(--green); }
.invite-modal label { margin-top: 13px; display: block; color: #596861; font-size: 13px; font-weight: 700; }
.invite-modal select, .invite-modal textarea { width: 100%; margin-top: 6px; }
.invite-modal textarea {
  padding: 12px;
  color: #46554f;
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: 0;
  resize: vertical;
  font-size: 13px;
  line-height: 1.6;
}

.toast {
  max-width: 340px;
  padding: 13px 17px;
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 90;
  color: white;
  border-radius: 10px;
  background: var(--ink);
  box-shadow: var(--shadow);
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: 0.2s ease;
}
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 1120px) {
  .main-nav { gap: 18px; }
  .hero { grid-template-columns: 1fr 0.8fr; }
  .profile-left { left: -30px; }
  .profile-right { right: -30px; }
  .researcher-grid { grid-template-columns: 1fr 1fr; }
  .researcher-card:last-child { display: none; }
  .opportunity-section { gap: 45px; }
}

@media (max-width: 820px) {
  .site-header { height: 70px; padding-inline: 22px; }
  .main-nav {
    padding: 18px;
    position: fixed;
    top: 70px;
    left: 16px;
    right: 16px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: white;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a.active::after { display: none; }
  .header-actions { display: none; }
  .menu-button { display: block; }
  .hero { padding: 60px 30px; grid-template-columns: 1fr; text-align: center; }
  .hero-content { padding: 0; }
  .community-pill, .hero-actions, .trust-line { margin-inline: auto; }
  .hero-content > p { margin-inline: auto; }
  .hero-visual { min-height: 430px; margin-top: 30px; }
  .credibility-strip { align-items: flex-start; flex-direction: column; gap: 20px; }
  .credibility-strip > div { width: 100%; flex-wrap: wrap; gap: 20px; }
  .steps-grid { grid-template-columns: 1fr; gap: 13px; }
  .step-arrow { transform: rotate(90deg); }
  .step-card { min-height: 240px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .opportunity-section { grid-template-columns: 1fr; }
  .opportunity-board { margin: 0 15px 35px; }
}

@media (max-width: 600px) {
  .section-wrap { width: calc(100% - 32px); }
  .hero { padding-inline: 20px; }
  .hero h1 { font-size: 39px; letter-spacing: -2px; }
  .hero-content > p { font-size: 13px; }
  .hero-actions { flex-direction: column; gap: 16px; }
  .trust-line { max-width: 300px; flex-wrap: wrap; justify-content: center; gap: 8px 14px; }
  .hero-visual { transform: scale(0.82); margin-inline: -55px; }
  .profile-left { left: 0; }
  .profile-right { right: 0; }
  .credibility-strip { padding-inline: 20px; }
  .how-section, .match-section, .opportunity-section { padding-block: 70px; }
  .section-intro h2, .section-heading h2, .opportunity-copy h2, .final-cta h2 { font-size: 27px; }
  .researcher-grid { grid-template-columns: 1fr; }
  .researcher-card:last-child { display: block; }
  .filter-tabs { width: 100%; overflow-x: auto; }
  .filter-tabs button { white-space: nowrap; }
  .opportunity-section { gap: 30px; }
  .faded-card { margin-inline: 8px; }
  .final-cta { padding-inline: 18px; }
  footer { align-items: flex-start; flex-direction: column; gap: 12px; }
  footer > div { margin-left: 0; }
  .profile-sources { grid-template-columns: 1fr; }
  .profile-sources label div { min-width: 105px; }
  .result-columns, .modal-detail-grid { grid-template-columns: 1fr; }
  .contact-setting { align-items: stretch; flex-direction: column; }
  .contact-setting select { width: 100%; }
  .profile-modal-top { align-items: flex-start; flex-wrap: wrap; }
  .big-match { padding: 0; }
  .onboarding-modal, .profile-modal, .invite-modal { padding: 25px 19px; }
}
