/* =========================================================
   XTREMEX — BUSINESS PAGES
   Partnerships, careers and contact share this sheet.
   Loaded after join.css so it can reuse the portal language.
   ========================================================= */

/* ---------- Section shell ---------- */

.biz-section {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin: clamp(58px, 8vw, 112px) auto 0;
}

.biz-section--tight {
  margin-top: clamp(42px, 5vw, 64px);
}

.biz-section .section-bar {
  margin-bottom: clamp(30px, 4vw, 48px);
}

.biz-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(22px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(28px, 3.4vw, 46px);
}

.biz-head h2 {
  margin: 0;
}

.biz-intro {
  display: grid;
  gap: 16px;
  align-content: end;
  padding-bottom: 6px;
}

.biz-intro p {
  max-width: 48ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.biz-intro .text-link {
  justify-self: start;
}

/* ---------- Hero console ---------- */

.biz-console {
  display: flex;
  flex-direction: column;
}

.biz-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.16em;
  color: var(--muted-2);
}

.biz-live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 10px var(--acid);
}

.biz-panel {
  display: grid;
  gap: 18px;
  align-content: start;
}

.biz-panel__title {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.biz-panel__title em {
  color: var(--acid);
  font-style: normal;
}

.biz-panel__copy {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.biz-panel__note {
  font-family: var(--mono);
  font-size: 7px;
  line-height: 1.7;
  letter-spacing: 0.12em;
  color: var(--muted-2);
}

.biz-mini {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--join-line);
  background: var(--join-line);
}

.biz-mini > div {
  display: grid;
  gap: 5px;
  padding: 13px 12px;
  background: var(--join-panel);
}

.biz-mini b {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1;
  color: var(--bone);
}

.biz-mini span {
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
}

.biz-lines {
  display: grid;
  border-top: 1px solid var(--join-line);
}

.biz-lines li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--join-line-soft);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.biz-lines span {
  color: var(--muted-2);
}

.biz-lines b {
  font-weight: 400;
  color: var(--bone);
  text-align: right;
}

.biz-lines a {
  color: var(--acid);
  overflow-wrap: anywhere;
  text-align: right;
  transition: opacity 0.3s;
}

.biz-lines a:hover {
  opacity: 0.75;
}

.biz-panel .button {
  justify-self: start;
}

/* ---------- Cards ---------- */

.biz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.biz-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--join-line);
  background: var(--join-panel);
  transition: border-color 0.3s, transform 0.35s var(--ease), background 0.3s;
}

.biz-card:hover {
  border-color: rgba(216, 255, 63, 0.34);
  transform: translateY(-3px);
}

.biz-card__index {
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.18em;
  color: var(--acid);
}

.biz-card h3 {
  font-family: var(--display);
  font-size: 1.32rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.biz-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.biz-card__meta {
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid var(--join-line-soft);
  font-family: var(--mono);
  font-size: 6.8px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
}

/* ---------- Fact strip ---------- */

.biz-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  border: 1px solid var(--join-line);
  background: var(--join-line);
}

.biz-fact {
  display: grid;
  gap: 7px;
  padding: 20px 18px;
  background: var(--join-panel);
}

.biz-fact b {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 400;
  line-height: 1;
}

.biz-fact span {
  font-family: var(--mono);
  font-size: 6.8px;
  letter-spacing: 0.16em;
  color: var(--muted-2);
}

/* ---------- Inventory table ---------- */

.biz-table {
  border-top: 1px solid var(--join-line);
}

.biz-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.6fr) 128px;
  gap: 22px;
  align-items: baseline;
  padding: 17px 0;
  border-bottom: 1px solid var(--join-line-soft);
  transition: background 0.3s, padding 0.3s;
}

.biz-row:not(.biz-row--head):hover {
  padding-left: 12px;
  padding-right: 12px;
  background: rgba(241, 240, 232, 0.025);
}

.biz-row--head {
  padding: 10px 0;
  border-bottom: 1px solid var(--join-line);
  font-family: var(--mono);
  font-size: 6.8px;
  letter-spacing: 0.2em;
  color: var(--muted-2);
}

.biz-row h3 {
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
}

.biz-row p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.biz-row__state {
  justify-self: start;
  padding: 5px 9px;
  border: 1px solid rgba(216, 255, 63, 0.34);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.14em;
  color: var(--acid);
  white-space: nowrap;
}

.biz-row__state.is-warm {
  border-color: rgba(137, 219, 255, 0.34);
  color: var(--blue);
}

.biz-row__state.is-cool {
  border-color: var(--join-line);
  color: var(--muted-2);
}

/* ---------- Roles ---------- */

.biz-roles {
  display: grid;
  border-top: 1px solid var(--join-line);
}

.biz-role {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 150px 96px;
  gap: 18px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--join-line-soft);
  transition: background 0.3s, padding 0.3s;
}

.biz-role:hover {
  padding-left: 12px;
  padding-right: 12px;
  background: rgba(241, 240, 232, 0.025);
}

.biz-role__id {
  padding-top: 4px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  color: var(--acid);
}

.biz-role h3 {
  font-family: var(--display);
  font-size: 1.38rem;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.biz-role p {
  max-width: 58ch;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.biz-role__meta {
  display: grid;
  gap: 5px;
  padding-top: 4px;
  font-family: var(--mono);
  font-size: 6.8px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
}

.biz-role__go {
  justify-self: end;
  padding-top: 4px;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.14em;
  color: var(--acid);
  white-space: nowrap;
  transition: opacity 0.3s;
}

.biz-role__go:hover {
  opacity: 0.7;
}

/* ---------- Process steps ---------- */

.biz-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  border: 1px solid var(--join-line);
  background: var(--join-line);
}

.biz-step {
  display: grid;
  gap: 9px;
  align-content: start;
  padding: 22px 20px;
  background: var(--join-panel);
}

.biz-step b {
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--acid);
}

.biz-step h3 {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.biz-step p {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
}

/* ---------- Channels ---------- */

.biz-channels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.biz-channel {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 20px;
  border: 1px solid var(--join-line);
  background: var(--join-panel);
  transition: border-color 0.3s, transform 0.35s var(--ease);
}

.biz-channel:hover {
  border-color: rgba(216, 255, 63, 0.34);
  transform: translateY(-3px);
}

.biz-channel span {
  font-family: var(--mono);
  font-size: 6.8px;
  letter-spacing: 0.18em;
  color: var(--muted-2);
}

.biz-channel b {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.1;
  color: var(--bone);
  overflow-wrap: anywhere;
}

.biz-channel em {
  font-family: var(--mono);
  font-size: 7px;
  font-style: normal;
  letter-spacing: 0.1em;
  line-height: 1.7;
  color: var(--muted);
}

.biz-channel i,
.biz-channel__go {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 7.5px;
  font-style: normal;
  letter-spacing: 0.14em;
  color: var(--acid);
  transition: opacity 0.3s;
}

.biz-channel__go:hover {
  opacity: 0.7;
}

/* ---------- Honeypot ---------- */

.biz-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Form layout ---------- */

.biz-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(26px, 4vw, 64px);
  align-items: start;
}

.biz-form-copy {
  display: grid;
  gap: 18px;
  align-content: start;
  padding-top: 8px;
}

.biz-form-copy h2 {
  margin: 0;
}

.biz-form-copy > p {
  max-width: 40ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.biz-form-copy .biz-lines {
  margin-top: 4px;
}

.biz-form .join-panel {
  padding: clamp(18px, 2.4vw, 26px);
}

.biz-form__row {
  display: grid;
  gap: 8px;
}

.biz-form textarea {
  resize: vertical;
}

.biz-form .join-submit {
  width: 100%;
}

.biz-success {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--join-line);
  background:
    radial-gradient(420px 240px at 20% 0%, rgba(216, 255, 63, 0.08), transparent 70%),
    var(--join-panel-2);
}

.biz-success__ref {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--acid);
}

.biz-success p {
  max-width: 46ch;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.biz-success__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* ---------- Office / dossier ---------- */

.biz-office {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--join-line);
  background: var(--join-panel);
}

.biz-office h3 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 0.96;
  text-transform: uppercase;
}

.biz-office h3 em {
  color: var(--acid);
  font-style: normal;
}

.biz-office__copy {
  display: grid;
  gap: 12px;
  align-content: start;
  padding-top: 6px;
}

.biz-office__copy p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.biz-office__coords {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.16em;
  color: var(--muted-2);
}

/* ---------- FAQ ---------- */

.biz-faq {
  border-top: 1px solid var(--join-line);
}

.biz-faq details {
  border-bottom: 1px solid var(--join-line-soft);
}

.biz-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  cursor: pointer;
  list-style: none;
  transition: color 0.3s;
}

.biz-faq summary::-webkit-details-marker {
  display: none;
}

.biz-faq summary::after {
  content: "+";
  font-size: 15px;
  color: var(--acid);
  transition: transform 0.3s;
}

.biz-faq details[open] summary::after {
  transform: rotate(45deg);
}

.biz-faq summary:hover {
  color: var(--acid);
}

.biz-faq p {
  max-width: 70ch;
  padding: 0 0 20px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

/* ---------- CTA band ---------- */

.biz-cta {
  display: grid;
  gap: 22px;
  justify-items: start;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--join-line);
  background:
    radial-gradient(560px 320px at 8% 0%, rgba(216, 255, 63, 0.07), transparent 70%),
    var(--join-panel);
}

.biz-cta h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.biz-cta h2 em {
  color: var(--acid);
  font-style: normal;
}

.biz-cta__lede {
  max-width: 52ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.biz-cta__actions {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.biz-cta__note {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .biz-head,
  .biz-form-grid,
  .biz-office {
    grid-template-columns: 1fr;
  }

  .biz-head {
    align-items: start;
    gap: 18px;
  }

  .biz-form-copy > p {
    max-width: 60ch;
  }

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

@media (max-width: 980px) {
  .biz-channels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .biz-role {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px 14px;
  }

  .biz-role__meta {
    grid-column: 2;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
  }

  .biz-role__go {
    grid-column: 2;
    justify-self: start;
  }

  .biz-row {
    grid-template-columns: minmax(0, 1fr) 108px;
    gap: 8px 16px;
  }

  .biz-row p {
    grid-column: 1 / -1;
  }

  .biz-row--head p {
    display: none;
  }
}

@media (max-width: 520px) {
  .biz-grid,
  .biz-steps,
  .biz-channels {
    grid-template-columns: 1fr;
  }

  .biz-card {
    padding: 18px;
  }

  .biz-mini b {
    font-size: 1.3rem;
  }

  .biz-cta {
    padding: 22px 18px;
  }

  .biz-cta__actions {
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .biz-card,
  .biz-channel,
  .biz-role,
  .biz-row {
    transition: none;
  }
}
