:root {
  --ink: #071a3a;
  --ink-2: #102b58;
  --paper: #f6f8fb;
  --paper-2: #ffffff;
  --muted: #657084;
  --line: #dce3ee;
  --line-2: #eef2f7;
  --lime: #e9b84d;
  --mint: #2fb59f;
  --cyan: #1f6bc1;
  --coral: #b9783b;
  --amber: #f4ca73;
  --gold: #d9a33a;
  --gold-2: #f3d27b;
  --navy: #0a2a5f;
  --sky: #e9f2ff;
  --shadow: 0 22px 60px rgba(7, 26, 58, 0.12);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(217, 163, 58, 0.08) 0%, transparent 34%),
    linear-gradient(230deg, rgba(31, 107, 193, 0.11) 0%, transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fd 48%, #edf4fb 100%),
    var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.app-shell {
  position: relative;
  min-height: 100vh;
}

.topbar,
.site-main,
.layout {
  position: relative;
  z-index: 1;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(190px, 270px) 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 12px 28px;
  border-bottom: 1px solid rgba(7, 26, 58, 0.08);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 900;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(7, 26, 58, 0.14));
}

.brand-copy {
  min-width: 0;
}

.brand-title {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.brand-subtitle {
  margin: 2px 0 0;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  overflow-x: auto;
}

.nav-link {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-active {
  border-color: rgba(217, 163, 58, 0.34);
  background: rgba(217, 163, 58, 0.1);
  color: var(--ink);
}

.journey-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.stage-pill {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-2);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.stage-pill.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.stage-pill.is-done {
  border-color: rgba(48, 214, 163, 0.55);
  background: rgba(48, 214, 163, 0.12);
  color: var(--ink);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-2);
  white-space: nowrap;
}

.avatar,
.mini-avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 900;
}

.avatar {
  width: 34px;
  height: 34px;
  font-size: 13px;
}

.mini-avatar {
  width: 28px;
  height: 28px;
  font-size: 11px;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  width: min(1360px, calc(100% - 40px));
  margin: 28px auto 48px;
}

.side-panel,
.context-panel,
.content-panel,
.panel,
.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 252, 0.94);
  box-shadow: var(--shadow);
}

.side-panel,
.context-panel {
  position: sticky;
  top: 84px;
  align-self: start;
  max-height: calc(100vh - 104px);
  overflow: auto;
}

.side-panel {
  display: none;
  padding: 18px;
}

.content-panel {
  min-width: 0;
  overflow: hidden;
  animation: pageReveal 420ms ease both;
}

.site-main {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto 56px;
}

.company-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 84px);
  padding: 72px 0 56px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(42px, 6.2vw, 78px);
  line-height: 0.96;
}

.hero-lead {
  max-width: 660px;
  margin: 0;
  color: #48566f;
  font-size: 20px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
}

.hero-proof div,
.outcome-card,
.company-feature {
  border: 1px solid rgba(7, 26, 58, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.hero-proof div {
  min-height: 104px;
  padding: 18px;
}

.hero-proof strong {
  display: block;
  color: var(--navy);
  font-size: 30px;
}

.hero-proof span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-brand-panel {
  display: grid;
  gap: 18px;
}

.logo-stage {
  position: relative;
  display: grid;
  min-height: 440px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(217, 163, 58, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 38%, rgba(217, 163, 58, 0.18), transparent 18rem),
    linear-gradient(145deg, #ffffff, #edf4fb);
  box-shadow: var(--shadow);
}

.logo-stage::before {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border: 1px solid rgba(217, 163, 58, 0.32);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(217, 163, 58, 0.12), transparent 42%),
    conic-gradient(from 90deg, transparent, rgba(217, 163, 58, 0.42), transparent, rgba(31, 107, 193, 0.34), transparent);
  content: "";
  filter: blur(0.2px);
  opacity: 0.55;
  animation: slowSpin 22s linear infinite;
}

.logo-stage img {
  position: relative;
  z-index: 1;
  width: min(78%, 420px);
  filter: drop-shadow(0 28px 34px rgba(7, 26, 58, 0.16));
  animation: logoFloat 5.5s ease-in-out infinite;
}

.hero-product-card {
  padding: 22px;
  border: 1px solid rgba(7, 26, 58, 0.12);
  border-radius: 8px;
  background: linear-gradient(135deg, #071a3a, #0e3672);
  color: #fff;
  box-shadow: var(--shadow);
}

.hero-product-card h2 {
  margin-top: 16px;
  color: #fff;
  font-size: 30px;
}

.hero-product-card p,
.company-band p,
.company-cta p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.6;
}

.company-section {
  padding: 76px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2,
.company-band h2,
.company-cta h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
}

.section-heading p {
  color: #536176;
  font-size: 18px;
  line-height: 1.55;
}

.feature-grid,
.outcome-grid {
  display: grid;
  gap: 16px;
}

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

.company-feature {
  min-height: 260px;
  padding: 22px;
}

.company-feature span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: rgba(217, 163, 58, 0.15);
  color: #7a5417;
  font-weight: 900;
}

.company-feature h3 {
  margin-top: 28px;
  font-size: 22px;
}

.company-feature p,
.outcome-card span {
  color: #536176;
  line-height: 1.55;
}

.company-band,
.company-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1fr);
  gap: 28px;
  align-items: center;
  padding: 42px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(7, 26, 58, 0.96), rgba(14, 54, 114, 0.94)),
    var(--ink);
  box-shadow: var(--shadow);
  color: #fff;
}

.company-process {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.process-step {
  display: grid;
  min-height: 126px;
  align-content: start;
  gap: 7px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-align: left;
}

.process-step span {
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 900;
}

.process-step strong {
  font-size: 15px;
}

.process-step small {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 700;
}

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

.outcome-card {
  min-height: 160px;
  padding: 24px;
}

.outcome-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
}

.company-cta {
  margin-top: 22px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.gold-text {
  color: #8b641d;
}

.context-panel {
  padding: 18px;
}

.section {
  padding: 32px;
}

.section + .section {
  border-top: 1px solid var(--line-2);
}

.view-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
  padding: 40px 40px 34px;
  border-bottom: 1px solid var(--line-2);
  background:
    linear-gradient(120deg, rgba(217, 163, 58, 0.16), transparent 48%),
    linear-gradient(280deg, rgba(31, 107, 193, 0.1), transparent 42%),
    #ffffff;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 10px;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.02;
}

h2 {
  margin-bottom: 14px;
  font-size: 23px;
  line-height: 1.15;
}

h3 {
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.2;
}

.lead {
  max-width: 760px;
  margin: 0;
  color: #465047;
  font-size: 17px;
  line-height: 1.55;
}

.metric-row,
.chip-row,
.filter-row,
.button-row,
.member-stack,
.kpi-grid,
.role-grid,
.match-grid,
.task-grid,
.milestone-grid,
.showcase-grid,
.feed-grid {
  display: grid;
  gap: 12px;
}

.metric-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 24px 32px;
  background: linear-gradient(135deg, var(--ink), var(--navy));
}

.metric {
  min-height: 92px;
  padding: 15px;
  border: 1px solid rgba(245, 247, 241, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--paper);
}

.metric strong {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-2);
  font-size: 28px;
}

.metric span {
  color: rgba(245, 247, 241, 0.75);
  font-size: 13px;
  font-weight: 700;
}

.side-title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.flow-list {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.flow-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-2);
}

.flow-index {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  background: var(--line-2);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.flow-item.is-active {
  border-color: var(--ink);
  background: #fbfff0;
}

.flow-item.is-active .flow-index {
  background: var(--lime);
  color: var(--ink);
}

.flow-item.is-done .flow-index {
  background: var(--mint);
  color: var(--ink);
}

.flow-label {
  min-width: 0;
  font-size: 13px;
  font-weight: 900;
}

.flow-small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.quick-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffefa;
}

.quick-card + .quick-card {
  margin-top: 12px;
}

.context-actions {
  display: grid;
  gap: 8px;
}

.quick-stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-2);
}

.quick-stat:last-child {
  border-bottom: 0;
}

.quick-stat strong {
  font-size: 20px;
}

.quick-stat span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.btn {
  position: relative;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 900;
  text-decoration: none;
  overflow: hidden;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible,
.stage-pill:focus-visible,
.icon-btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(44, 186, 214, 0.4);
  outline-offset: 2px;
}

.btn.secondary {
  border-color: var(--line);
  background: var(--paper-2);
  color: var(--ink);
}

.btn.lime {
  border-color: var(--ink);
  background: var(--lime);
  color: var(--ink);
}

.btn.gold {
  border-color: #8f651d;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #071a3a;
  box-shadow: 0 12px 24px rgba(217, 163, 58, 0.22);
}

.btn.gold::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.42) 42%, transparent 64%);
  content: "";
  transform: translateX(-120%);
  transition: transform 500ms ease;
}

.btn.gold:hover::after {
  transform: translateX(120%);
}

.btn.compact {
  min-height: 38px;
  padding-inline: 12px;
  font-size: 13px;
}

.btn.dark-surface {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn.ghost {
  border-color: transparent;
  background: transparent;
  color: var(--ink);
}

.btn[disabled] {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}

.icon-btn {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-2);
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.filter-row {
  grid-template-columns: minmax(220px, 1fr) repeat(3, auto);
  align-items: center;
}

.search-input,
.select-input,
.text-input {
  min-height: 42px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-2);
  color: var(--ink);
}

.search-input,
.text-input {
  padding: 0 13px;
}

.select-input {
  padding: 0 34px 0 12px;
}

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

.card {
  box-shadow: none;
}

.company-feature,
.outcome-card,
.opportunity-card,
.match-card,
.role-card,
.task-item,
.milestone-card,
.kpi-card,
.hero-product-card,
.quick-card,
.process-step {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.company-feature:hover,
.outcome-card:hover,
.opportunity-card:hover,
.match-card:hover,
.role-card:hover,
.task-item:hover,
.milestone-card:hover,
.kpi-card:hover,
.process-step:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 163, 58, 0.5);
  box-shadow: 0 20px 42px rgba(7, 26, 58, 0.11);
}

.opportunity-card {
  display: flex;
  min-height: 342px;
  flex-direction: column;
  padding: 20px;
}

.opportunity-card.is-featured {
  border-color: var(--ink);
  background: linear-gradient(180deg, #fffefa, #f6fde9);
}

.card-topline {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-2);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.badge.dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.badge.lime {
  border-color: rgba(182, 244, 61, 0.8);
  background: rgba(182, 244, 61, 0.22);
}

.badge.cyan {
  border-color: rgba(44, 186, 214, 0.45);
  background: rgba(44, 186, 214, 0.13);
}

.badge.coral {
  border-color: rgba(255, 111, 86, 0.48);
  background: rgba(255, 111, 86, 0.14);
}

.badge.amber {
  border-color: rgba(249, 188, 69, 0.55);
  background: rgba(249, 188, 69, 0.16);
}

.badge.gold {
  border-color: rgba(217, 163, 58, 0.52);
  background: rgba(217, 163, 58, 0.14);
  color: #6d4910;
}

.badge.navy {
  border-color: rgba(31, 107, 193, 0.42);
  background: rgba(31, 107, 193, 0.12);
  color: var(--navy);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.opportunity-card p {
  color: #4b574d;
  line-height: 1.5;
}

.opportunity-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0;
}

.meta-tile {
  min-height: 70px;
  padding: 10px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: #fbfcf7;
}

.meta-tile span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.meta-tile strong {
  display: block;
  margin-top: 5px;
  font-size: 15px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
}

.media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 18px;
}

.media-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-2);
}

.media-panel img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.journey-snapshot {
  display: grid;
  grid-template-columns: minmax(0, 0.48fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #f3f7fc);
}

.pipeline-map {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 8px;
}

.pipeline-node {
  min-height: 92px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.pipeline-node span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  background: var(--line-2);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.pipeline-node strong {
  display: block;
  margin-top: 10px;
  font-size: 13px;
}

.pipeline-node.is-active,
.pipeline-node.is-done {
  border-color: rgba(217, 163, 58, 0.52);
  background: rgba(217, 163, 58, 0.08);
}

.pipeline-node.is-active span,
.pipeline-node.is-done span {
  background: var(--gold);
  color: #071a3a;
}

.detail-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 10px;
  min-height: 44px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-2);
}

.detail-list li:last-child {
  border-bottom: 0;
}

.detail-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-list strong {
  font-size: 15px;
}

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

.role-card {
  min-height: 214px;
  padding: 16px;
}

.role-card.is-selected {
  border-color: rgba(217, 163, 58, 0.72);
  background: rgba(217, 163, 58, 0.08);
}

.role-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.toggle {
  display: inline-flex;
  width: 52px;
  height: 30px;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--line-2);
}

.toggle::after {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--paper-2);
  box-shadow: 0 2px 4px rgba(23, 28, 31, 0.18);
  content: "";
}

.role-card.is-selected .toggle {
  border-color: var(--ink);
  background: var(--gold-2);
  justify-content: flex-end;
}

.coverage-bar {
  overflow: hidden;
  height: 12px;
  border-radius: 999px;
  background: var(--line-2);
}

.coverage-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-2), var(--gold), var(--cyan));
}

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

.match-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
}

.segmented-control,
.workspace-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.segment,
.tab-btn {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-weight: 900;
}

.segment.is-active,
.tab-btn.is-active {
  border-color: rgba(217, 163, 58, 0.72);
  background: rgba(217, 163, 58, 0.14);
  color: var(--ink);
}

.match-card {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.match-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.match-avatar {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-size: 15px;
  font-weight: 900;
}

.match-title {
  margin: 0;
  font-size: 18px;
}

.match-role {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.score-ring {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fffefa 0 55%, transparent 57%),
    conic-gradient(var(--gold) calc(var(--score) * 1%), var(--line-2) 0);
  font-size: 14px;
  font-weight: 900;
}

.reason-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reason-list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  color: #435045;
  font-size: 14px;
  line-height: 1.4;
}

.reason-dot {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--mint);
}

.fit-breakdown {
  display: grid;
  gap: 8px;
}

.fit-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 38px;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.fit-track {
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: var(--line-2);
}

.fit-track span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--cyan);
}

.team-roster {
  display: grid;
  gap: 10px;
}

.roster-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 72px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-2);
}

.roster-card.is-empty {
  border-style: dashed;
  background: rgba(237, 242, 232, 0.6);
}

.task-grid {
  grid-template-columns: 1fr 1fr;
}

.task-column {
  min-height: 260px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf7;
}

.task-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.task-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-2);
}

.task-check {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper-2);
  color: transparent;
  font-size: 10px;
  font-weight: 900;
}

.task-item.is-done .task-check {
  border-color: var(--ink);
  background: var(--gold-2);
  color: var(--ink);
}

.task-title {
  margin: 0;
  font-weight: 900;
}

.task-meta {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.task-form {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(130px, 0.5fr) auto;
  gap: 10px;
  align-items: end;
}

.workspace-tabs {
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.workspace-tab-body {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.mentor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 16px;
}

.mentor-note-card {
  padding: 18px;
}

.mentor-textarea {
  width: 100%;
  min-height: 154px;
  resize: vertical;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  line-height: 1.5;
}

.activity-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: 20px;
}

.activity-list {
  display: grid;
  gap: 10px;
}

.activity-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.activity-item > span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.activity-item p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

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

.milestone-card {
  min-height: 174px;
  padding: 14px;
}

.milestone-card.is-done {
  border-color: rgba(48, 214, 163, 0.48);
  background: rgba(48, 214, 163, 0.08);
}

.milestone-card.is-active {
  border-color: var(--amber);
  background: rgba(249, 188, 69, 0.12);
}

.mentor-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
}

.mentor-box p {
  margin: 4px 0 0;
  color: rgba(245, 247, 241, 0.74);
}

.mentor-box .badge {
  border-color: rgba(245, 247, 241, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: var(--paper);
}

.progress-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 1.18fr);
  gap: 20px;
  align-items: stretch;
}

.progress-score {
  display: grid;
  min-height: 310px;
  place-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
}

.big-ring {
  display: grid;
  width: min(220px, 64vw);
  height: min(220px, 64vw);
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--ink) 0 58%, transparent 60%),
    conic-gradient(var(--gold-2) calc(var(--progress) * 1%), rgba(255, 255, 255, 0.15) 0);
}

.big-ring strong {
  display: block;
  font-size: 48px;
}

.big-ring span {
  display: block;
  color: rgba(245, 247, 241, 0.75);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.showcase-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
}

.showcase-card {
  padding: 18px;
  border-color: var(--ink);
  background: #fffefa;
}

.showcase-card h3 {
  font-size: 26px;
}

.screenshot-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-2);
}

.screenshot-card img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: contain;
  background: #edf5eb;
}

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

.kpi-card {
  min-height: 120px;
  padding: 14px;
}

.kpi-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 30px;
}

.kpi-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.empty-state {
  display: grid;
  min-height: 220px;
  place-items: center;
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 252, 0.7);
  text-align: center;
}

.empty-state p {
  max-width: 420px;
  margin: 8px auto 0;
  color: var(--muted);
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  max-width: min(360px, calc(100vw - 40px));
  padding: 14px 16px;
  border: 1px solid rgba(23, 28, 31, 0.18);
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
  visibility: hidden;
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.toast strong {
  display: block;
  margin-bottom: 2px;
}

.toast span {
  color: rgba(245, 247, 241, 0.72);
  font-size: 13px;
}

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

.mt-0 {
  margin-top: 0;
}

.mt-12 {
  margin-top: 12px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-20 {
  margin-top: 20px;
}

.mb-0 {
  margin-bottom: 0;
}

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

.stack {
  display: grid;
  gap: 12px;
}

.small {
  font-size: 12px;
  font-weight: 800;
}

.ambient-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.ambient-canvas,
.feather-field,
.horizon-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ambient-canvas {
  opacity: 0.82;
}

.feather-field {
  opacity: 0.72;
  mix-blend-mode: multiply;
}

.feather-line {
  fill: none;
  stroke-linecap: round;
  stroke-width: 1.8;
  stroke-dasharray: 22 28;
  filter: drop-shadow(0 0 8px rgba(217, 163, 58, 0.18));
  animation: featherFlow 12s linear infinite;
}

.line-a,
.line-c {
  stroke: rgba(217, 163, 58, 0.42);
}

.line-b,
.line-d {
  stroke: rgba(31, 107, 193, 0.34);
  animation-direction: reverse;
}

.line-b {
  animation-duration: 15s;
}

.line-c {
  animation-duration: 18s;
}

.line-d {
  animation-duration: 20s;
}

.horizon-grid {
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(7, 26, 58, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 26, 58, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent, #000 16%, #000 72%, transparent);
  animation: gridGlide 18s linear infinite;
}

.account-chip {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid rgba(217, 163, 58, 0.34);
  border-radius: 8px;
  background: rgba(217, 163, 58, 0.1);
  font-size: 13px;
  font-weight: 900;
}

.impact-lab,
.subpage-hero,
.auth-shell,
.opportunity-radar,
.match-inspector,
.launch-pack,
.role-optimizer {
  display: grid;
  gap: 24px;
  border: 1px solid rgba(7, 26, 58, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.impact-lab {
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr) minmax(320px, 1fr);
  align-items: center;
  padding: 32px;
}

.impact-controls {
  display: grid;
  gap: 18px;
}

.impact-controls label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.impact-controls input {
  accent-color: var(--gold);
}

.impact-controls strong {
  color: var(--ink);
  font-size: 24px;
}

.impact-results,
.contact-grid,
.blueprint-grid,
.pack-grid,
.timeline-grid {
  display: grid;
  gap: 14px;
}

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

.impact-results div,
.contact-method,
.blueprint-card,
.pack-item,
.timeline-card,
.mission-card,
.contact-card,
.auth-card,
.auth-brand,
.mentor-note-card,
.submitted-messages {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(7, 26, 58, 0.08);
}

.impact-results div {
  min-height: 116px;
  padding: 16px;
}

.impact-results strong {
  display: block;
  color: var(--navy);
  font-size: 34px;
}

.impact-results span,
.contact-method span,
.pack-item span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.subpage-hero {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.76fr);
  align-items: center;
  margin-top: 44px;
  padding: 42px;
}

.subpage-hero h1,
.auth-brand h1 {
  font-size: clamp(38px, 5vw, 68px);
}

.mission-card,
.contact-card,
.auth-card,
.auth-brand,
.submitted-messages {
  padding: 24px;
}

.mission-card img,
.auth-brand img {
  width: 140px;
  margin-bottom: 18px;
}

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

.timeline-card,
.blueprint-card {
  min-height: 210px;
  padding: 22px;
}

.timeline-card span,
.blueprint-card span {
  color: var(--gold);
  font-weight: 900;
}

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

.contact-method {
  min-height: 120px;
  padding: 20px;
}

.contact-method strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
}

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

.auth-shell {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
  align-items: stretch;
  margin-top: 44px;
  padding: 28px;
}

.auth-brand {
  display: grid;
  align-content: center;
  background:
    radial-gradient(circle at 78% 20%, rgba(217, 163, 58, 0.16), transparent 16rem),
    linear-gradient(135deg, #ffffff, #f2f7ff);
}

.form-message {
  margin: 14px 0 0;
  color: #8a4d16;
  font-weight: 800;
}

.opportunity-radar {
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr) auto;
  align-items: center;
  padding: 22px;
}

.radar-visual {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    repeating-radial-gradient(circle at 50% 50%, transparent 0 38px, rgba(31, 107, 193, 0.12) 39px 40px),
    radial-gradient(circle at 50% 50%, rgba(217, 163, 58, 0.12), transparent 70%);
}

.radar-visual::after {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 46%;
  height: 2px;
  background: linear-gradient(90deg, rgba(217, 163, 58, 0.75), transparent);
  content: "";
  transform-origin: left center;
  animation: radarSweep 4s linear infinite;
}

.radar-visual span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: scale(var(--s));
  padding: 6px 9px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(7, 26, 58, 0.12);
}

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

.role-optimizer {
  grid-template-columns: minmax(0, 0.9fr) auto minmax(260px, 0.9fr);
  align-items: center;
  padding: 22px;
}

.small-ring {
  width: 150px;
  height: 150px;
}

.small-ring strong {
  font-size: 30px;
}

.optimizer-stack {
  display: grid;
  gap: 9px;
}

.optimizer-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.optimizer-item span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.match-inspector {
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.8fr) minmax(240px, 0.6fr);
  align-items: center;
  padding: 22px;
}

.inspector-bars {
  display: grid;
  gap: 10px;
}

.inspector-note {
  padding: 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--ink), var(--navy));
  color: #fff;
}

.inspector-note p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.launch-pack {
  grid-template-columns: minmax(0, 0.8fr) auto;
  align-items: center;
  padding: 22px;
}

.pack-grid {
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pack-item {
  padding: 14px;
}

.pack-item.is-ready {
  border-color: rgba(217, 163, 58, 0.5);
  background: rgba(217, 163, 58, 0.08);
}

.pack-item strong {
  display: block;
  margin-bottom: 5px;
}

.site-footer {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(150px, 0.7fr));
  gap: 28px;
  width: min(1240px, calc(100% - 32px));
  margin: 42px auto 24px;
  padding: 28px;
  border: 1px solid rgba(7, 26, 58, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.site-footer p {
  max-width: 340px;
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.footer-brand .brand-logo {
  width: 44px;
  height: 44px;
}

.site-footer strong {
  display: block;
  margin-bottom: 12px;
}

.site-footer button {
  display: block;
  margin: 8px 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  text-align: left;
}

.site-footer button:hover {
  color: var(--ink);
}

@keyframes slowSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes pageReveal {
  from {
    opacity: 0.96;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes radarSweep {
  to {
    transform: rotate(360deg);
  }
}

@keyframes featherFlow {
  to {
    stroke-dashoffset: -100;
  }
}

@keyframes gridGlide {
  to {
    background-position: 72px 72px;
  }
}

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

@media (max-width: 1180px) {
  .company-hero,
  .company-band,
  .company-cta {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .company-process,
  .timeline-grid,
  .impact-lab,
  .role-optimizer,
  .match-inspector,
  .opportunity-radar,
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .layout {
    grid-template-columns: 1fr;
    width: min(100% - 32px, 980px);
  }

  .context-panel {
    position: static;
    grid-column: 1 / -1;
    max-height: none;
  }

  .feed-grid,
  .metric-row,
  .milestone-grid,
  .pipeline-map,
  .pack-grid,
  .blueprint-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .topbar {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .site-nav {
    justify-content: start;
    order: 3;
    width: 100%;
    padding-bottom: 2px;
  }

  .top-actions {
    justify-content: start;
    order: 2;
    flex-wrap: wrap;
  }

  .site-main {
    width: min(100% - 20px, 760px);
  }

  .company-hero {
    min-height: auto;
    padding-top: 34px;
  }

  .hero-proof,
  .outcome-grid,
  .feature-grid,
  .company-process,
  .journey-snapshot,
  .match-toolbar,
  .mentor-grid,
  .activity-panel,
  .subpage-hero,
  .auth-shell,
  .contact-grid,
  .timeline-grid,
  .impact-lab,
  .impact-results,
  .opportunity-radar,
  .blueprint-grid,
  .role-optimizer,
  .match-inspector,
  .pack-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .company-band,
  .company-cta,
  .subpage-hero,
  .auth-shell,
  .impact-lab {
    padding: 26px;
  }

  .logo-stage {
    min-height: 320px;
  }

  .layout {
    grid-template-columns: 1fr;
    width: min(100% - 20px, 760px);
    margin-top: 12px;
  }

  .side-panel {
    position: static;
    max-height: none;
    order: 2;
  }

  .content-panel {
    order: 1;
  }

  .context-panel {
    order: 3;
  }

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

  .view-header,
  .media-grid,
  .progress-hero,
  .showcase-grid,
  .task-grid,
  .role-grid,
  .match-grid,
  .filter-row,
  .task-form,
  .pipeline-map {
    grid-template-columns: 1fr;
  }

  .view-header {
    padding: 22px;
  }

  .section {
    padding: 18px;
  }
}

@media (max-width: 560px) {
  .topbar {
    padding: 12px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand-title {
    font-size: 16px;
  }

  .brand-subtitle {
    font-size: 12px;
  }

  .nav-link {
    min-height: 34px;
    padding-inline: 9px;
    font-size: 12px;
  }

  .top-actions {
    gap: 6px;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .feed-grid,
  .metric-row,
  .milestone-grid,
  .kpi-grid,
  .flow-list,
  .hero-proof,
  .outcome-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: 74px;
  }

  .detail-list li {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .roster-card,
  .task-item,
  .match-head {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .score-ring,
  .roster-card .badge,
  .task-item .badge {
    grid-column: 2;
    justify-self: start;
  }
}
