/* ─── HERO BENCH PREVIEW ─────────────────────────────────────────── */

.bench-preview {
  position: relative; z-index: 1;
  width: 100%; max-width: 880px;
  margin: 56px auto -60px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(20, 34, 46, .04), 0 40px 80px -40px rgba(20, 34, 46, .38);
}
.bp-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.bp-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ms-green);
  box-shadow: 0 0 0 0 rgba(127, 186, 0, .55);
  animation: livePulse 2.2s ease-out infinite;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(127, 186, 0, .55); }
  70%  { box-shadow: 0 0 0 8px rgba(127, 186, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(127, 186, 0, 0); }
}
.bp-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .07em;
  color: var(--ink-mid);
}
.bp-count {
  margin-left: auto;
  font-family: var(--mono); font-size: 11px; color: var(--ms-green);
}
/* Fixed 4 columns so the 8 cells always fill exactly two rows — auto-fill left
   ragged empty cells at some widths, which read as a broken panel. */
.bp-grid {
  display: grid; gap: 1px;
  grid-template-columns: repeat(4, 1fr);
  background: var(--border);
}
.bp-cell {
  background: var(--card);
  padding: 16px 14px;
  display: flex; flex-direction: column; gap: 7px;
  transition: background .3s ease;
}
.bp-cell.hot { background: rgba(242, 80, 34, .045); }
.bp-role {
  font-size: 12.5px; font-weight: 500; color: var(--ink);
  line-height: 1.35;
}
.bp-meta {
  font-family: var(--mono); font-size: 10px; color: var(--ink-dim);
  letter-spacing: .04em;
}
.bp-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .05em;
  color: var(--ink-mid);
}
.bp-status i { width: 5px; height: 5px; border-radius: 50%; background: var(--ms-green); flex-shrink: 0; }
.bp-status.soon i { background: var(--ms-yellow); }
.bp-status.busy i { background: var(--ink-dim); }

/* ─── BENCH VISUAL PANEL ─────────────────────────────────────────── */

.bench-visual { position: relative; }

.bv-panel {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 2px rgba(20, 34, 46, .04), 0 30px 60px -34px rgba(20, 34, 46, .32);
}
.bv-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 18px; border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.bv-title { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--ink-mid); }
.bv-pill {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft);
  padding: 4px 9px; border-radius: 100px;
}
.bv-rows { padding: 8px 0; }
.bv-row {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 18px;
  opacity: 0; transform: translateX(-8px);
  transition: opacity .45s ease, transform .45s ease, background .3s ease;
}
.bv-row.on { opacity: 1; transform: none; }
.bv-row.dim { opacity: .32; }
.bv-av {
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 10px; color: #fff;
}
.bv-name { font-size: 13px; color: var(--ink); font-weight: 500; }
.bv-sub { font-family: var(--mono); font-size: 10px; color: var(--ink-dim); margin-top: 2px; }
.bv-tag {
  margin-left: auto; flex-shrink: 0;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .05em;
  color: var(--ink-mid); background: var(--surface-2);
  border: 1px solid var(--border); padding: 4px 9px; border-radius: 100px;
}
.bv-foot {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-top: 1px solid var(--border);
  background: var(--surface-2);
}
.bv-scale-label { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-dim); }
.bv-scale { display: flex; gap: 4px; margin-left: auto; }
.bv-scale i {
  width: 16px; height: 22px; border-radius: 3px;
  background: var(--border); transition: background .4s ease;
}
.bv-scale i.up { background: var(--accent); }

/* ─── PROFILE CARD (talent section) ──────────────────────────────── */

.profile-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  box-shadow: 0 1px 2px rgba(20, 34, 46, .04), 0 30px 60px -34px rgba(20, 34, 46, .32);
}
.pcard-top { display: flex; align-items: center; gap: 13px; }
.pcard-avatar {
  width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0;
  background: linear-gradient(140deg, var(--ms-blue), var(--ms-green));
  color: #fff; display: grid; place-items: center;
  font-family: var(--mono); font-size: 14px;
}
.pcard-name { font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.pcard-meta { font-family: var(--mono); font-size: 10.5px; color: var(--ink-dim); margin-top: 3px; }
.pcard-status {
  margin-left: auto; flex-shrink: 0;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .06em;
  color: var(--ms-green); background: rgba(127, 186, 0, .12);
  padding: 5px 10px; border-radius: 100px;
}
.pcard-skills { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0; }
.pcard-skills span {
  font-family: var(--mono); font-size: 10px; color: var(--ink-mid);
  background: var(--surface-2); border: 1px solid var(--border);
  padding: 5px 10px; border-radius: 100px;
}
.pcard-rows { display: grid; gap: 1px; background: var(--border); border-radius: 12px; overflow: hidden; }
.pcard-rows > div {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--card); padding: 11px 14px;
}
.pcard-rows span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; color: var(--ink-dim); }
.pcard-rows strong { font-size: 13px; font-weight: 500; color: var(--ink); }
.pcard-rows .score { color: var(--accent); font-weight: 600; }
.pcard-boost {
  display: flex; align-items: center; gap: 8px;
  margin-top: 14px; padding: 11px 14px; border-radius: 12px;
  background: linear-gradient(100deg, rgba(242, 80, 34, .10), rgba(255, 185, 0, .10));
  font-size: 12.5px; color: var(--ink-mid);
}
/* drawn flame, not an emoji */
.boost-flame {
  width: 14px; height: 14px; flex-shrink: 0;
  background: linear-gradient(180deg, var(--ms-yellow), var(--ms-red));
  -webkit-mask-image: var(--flame-mark); mask-image: var(--flame-mark);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center;   mask-position: center;
  -webkit-mask-size: contain;      mask-size: contain;
}

/* ─── FEATURE GRID ───────────────────────────────────────────────── */

.feature-grid {
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.feature {
  background: var(--card); padding: 30px 26px;
  transition: background .25s ease;
}
.feature:hover { background: #fff; }
.f-icon {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--accent-soft);
  margin-bottom: 16px;
}
.f-icon::before {
  content: ''; width: 18px; height: 18px;
  background: var(--accent);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center;  mask-position: center;
  -webkit-mask-size: contain;     mask-size: contain;
}
.f-icon[data-icon="search"]::before    { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E"); }
.f-icon[data-icon="pulse"]::before     { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12h4l3-8 6 16 3-8h4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12h4l3-8 6 16 3-8h4'/%3E%3C/svg%3E"); }
.f-icon[data-icon="bell"]::before      { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 9-3 9h18s-3-2-3-9'/%3E%3Cpath d='M13.7 21a2 2 0 0 1-3.4 0'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 9-3 9h18s-3-2-3-9'/%3E%3Cpath d='M13.7 21a2 2 0 0 1-3.4 0'/%3E%3C/svg%3E"); }
.f-icon[data-icon="board"]::before     { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='18' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='11' rx='1.5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='18' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='11' rx='1.5'/%3E%3C/svg%3E"); }
.f-icon[data-icon="chart"]::before     { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 20V10M10 20V4M16 20v-7M22 20H2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 20V10M10 20V4M16 20v-7M22 20H2'/%3E%3C/svg%3E"); }
.f-icon[data-icon="handshake"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m11 17 2 2a1 1 0 1 0 3-3'/%3E%3Cpath d='m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.9-3.9a2 2 0 0 1 0-2.8l.8-.8a2 2 0 0 1 2.8 0L21 8'/%3E%3Cpath d='m21 3-3 3-6 6-3-3 6-6z' opacity='0'/%3E%3Cpath d='M3 8l3.5-3.5a2 2 0 0 1 2.8 0L14 9l-3 3a2 2 0 0 1-2.8 0L6 9.8'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m11 17 2 2a1 1 0 1 0 3-3'/%3E%3Cpath d='m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.9-3.9a2 2 0 0 1 0-2.8l.8-.8a2 2 0 0 1 2.8 0L21 8'/%3E%3Cpath d='M3 8l3.5-3.5a2 2 0 0 1 2.8 0L14 9l-3 3a2 2 0 0 1-2.8 0L6 9.8'/%3E%3C/svg%3E"); }

.feature h4 { font-size: 15.5px; font-weight: 600; margin-bottom: 8px; }
.feature p { font-size: 13.5px; line-height: 1.6; color: var(--ink-mid); }

/* ─── PLANS ──────────────────────────────────────────────────────── */

.plan-toggle {
  display: inline-flex; gap: 4px; padding: 4px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 100px; margin-bottom: 36px;
}
.pt-btn {
  border: none; background: none; cursor: pointer;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-mid);
  padding: 10px 20px; border-radius: 100px;
  transition: background .2s, color .2s, box-shadow .2s;
}
.pt-btn.active { background: #fff; color: var(--ink); box-shadow: 0 2px 6px -2px rgba(20, 34, 46, .18); }

.plan-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  align-items: start;
}
/* `display: grid` would otherwise beat the hidden attribute */
.plan-grid[hidden] { display: none; }
.plan {
  position: relative;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 26px;
  display: flex; flex-direction: column;
}
.plan.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft), 0 26px 50px -30px rgba(242, 80, 34, .45);
}
.plan-flag {
  position: absolute; top: -11px; left: 26px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em;
  text-transform: uppercase; color: #fff; background: var(--accent);
  padding: 5px 11px; border-radius: 100px;
}
.plan h3 { font-size: 21px; margin-bottom: 14px; }
.plan-price { display: flex; align-items: baseline; gap: 5px; }
.pp-amt { font-family: var(--serif); font-size: 40px; font-weight: 500; line-height: 1; }
.pp-per { font-family: var(--mono); font-size: 12px; color: var(--ink-dim); }
.plan-note { font-size: 12.5px; color: var(--ink-dim); margin-top: 10px; }
.plan ul { list-style: none; display: grid; gap: 10px; margin: 24px 0 28px; }
.plan li {
  position: relative; padding-left: 24px;
  font-size: 13.5px; line-height: 1.45; color: var(--ink-mid);
  text-wrap: balance;
}
.plan li::before {
  content: ''; position: absolute; left: 0; top: 4px;
  width: 12px; height: 12px;
  background-image: var(--check-mark);
  background-repeat: no-repeat; background-position: center; background-size: contain;
}
.plan > a { margin-top: auto; }

/* ─── FAQ ────────────────────────────────────────────────────────── */

.faq { display: grid; gap: 12px; max-width: 800px; }
.faq-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none;
  padding: 20px 52px 20px 24px; position: relative;
  font-size: 15.5px; font-weight: 500; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; position: absolute; right: 24px; top: 50%;
  width: 11px; height: 11px; margin-top: -6px;
  border-right: 2px solid var(--ink-dim);
  border-bottom: 2px solid var(--ink-dim);
  transform: rotate(45deg);
  transition: transform .25s ease, border-color .2s;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; border-color: var(--accent); }
.faq-item[open] summary { color: var(--accent); }
.faq-item p {
  padding: 0 24px 22px;
  font-size: 14px; line-height: 1.68; color: var(--ink-mid);
}

/* ─── JOIN / FORM CARD ───────────────────────────────────────────── */

.join-section { padding-bottom: 100px; }
.join-layout {
  display: grid; gap: 56px; align-items: center;
  grid-template-columns: 1fr 460px;
}
.join-copy h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 18px; }
.join-copy > p { font-size: 15.5px; line-height: 1.68; color: var(--ink-mid); }

.form-card {
  width: 100%;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 22px; padding: 30px 30px 32px;
  position: relative; overflow: hidden;
  box-shadow: 0 1px 2px rgba(20, 34, 46, .04), 0 30px 66px -32px rgba(20, 34, 46, .34);
}
.form-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--ms-red), var(--ms-yellow), var(--ms-green), var(--ms-blue));
}
.fc-eyebrow {
  font-family: var(--mono); font-size: 10px; color: var(--ink-dim);
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px;
}
.fc-title { font-size: 27px; margin-bottom: 8px; }
.fc-sub { font-size: 14px; color: var(--ink-mid); line-height: 1.6; margin-bottom: 26px; }

.field { margin-bottom: 14px; }
/* Sentence-case form labels — this is the field someone types their details
   into, so it should look like a bank form, not a design portfolio. */
.field label {
  font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--ink-mid);
  display: block; margin-bottom: 7px;
}
.field input {
  width: 100%; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 11px;
  padding: 14px 16px;
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  outline: none; -webkit-appearance: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input::placeholder { color: var(--ink-dim); }
.field input:focus {
  border-color: var(--accent); background: #fff;
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.role-pick { margin-bottom: 24px; }
.role-pick > span {
  font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--ink-mid);
  display: block; margin-bottom: 9px;
}
.role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.role-opt { position: relative; }
.role-opt input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.role-opt label {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 13px; background: var(--surface-2);
  border: 1.5px solid var(--border); border-radius: 11px;
  font-size: 13.5px; font-weight: 500; color: var(--ink-mid);
  cursor: pointer; user-select: none;
  transition: all .18s ease;
}
.role-opt label .ri { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; }
.role-opt label:hover { border-color: var(--border-hi); color: var(--ink); transform: translateY(-1px); }
.role-opt input:checked + label {
  border-color: var(--accent); color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
/* pixel-square fill on hover, crumbles back on leave */
.pf {
  position: absolute; inset: 0; z-index: 0; display: grid;
  grid-template-columns: repeat(9, 1fr); grid-template-rows: repeat(3, 1fr);
}
.pf b {
  background: var(--accent); opacity: 0;
  transition: opacity .18s ease;
  transition-delay: calc((27 - var(--i, 0)) * 15ms);
}
.role-opt label:hover .pf b { opacity: .22; transition-delay: calc(var(--i, 0) * 15ms); }
.role-opt.locked .pf b     { opacity: .26; transition-delay: calc(var(--i, 0) * 15ms); }

.fc-note { font-size: 12px; color: var(--ink-dim); text-align: center; margin-top: 14px; line-height: 1.5; }

/* success */
.fc-success { display: none; text-align: center; padding: 14px 0; }
.fc-success.on { display: block; }
.success-ring {
  width: 62px; height: 62px; margin: 0 auto 22px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--ms-red), var(--ms-yellow), var(--ms-green), var(--ms-blue), var(--ms-red));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 26px; line-height: 1;
  box-shadow: 0 12px 30px -10px rgba(242, 80, 34, .5);
}
.success-ring span {
  width: 50px; height: 50px; border-radius: 50%; background: var(--ms-red);
  display: flex; align-items: center; justify-content: center;
}
.success-h { font-family: var(--serif); font-size: 28px; font-weight: 500; margin-bottom: 10px; }
.success-p { font-size: 14px; color: var(--ink-mid); line-height: 1.6; }

/* pixel confetti */
.confetti-pixel {
  position: fixed; width: 9px; height: 9px; z-index: 9999;
  pointer-events: none; border-radius: 1px;
  animation: confettiFly 1.3s ease-out forwards;
}
@keyframes confettiFly {
  0%   { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 1; }
  100% { transform: translate(var(--dx), calc(var(--dy) + 240px)) scale(.5) rotate(240deg); opacity: 0; }
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────── */

@media (max-width: 980px) {
  .join-layout { grid-template-columns: 1fr; gap: 36px; }
  .form-card { max-width: 460px; }
}

@media (max-width: 600px) {
  .bench-preview { margin: 40px auto -46px; border-radius: 16px; }
  .bp-grid { grid-template-columns: repeat(2, 1fr); }
  .form-card { padding: 28px 20px; }
  .plan-toggle { width: 100%; }
  .pt-btn { flex: 1; padding: 10px 8px; }
}
