/**
 * Organiser band, community types and the web→app journey.
 * Colour comes from tokens.css; no `[data-theme]` branching here.
 */

/* ------------------------------------------------------- organiser band */

.organiser-section {
  position: relative;
  overflow: hidden;
  background: var(--organiser-bg);
  color: var(--band-ink);
  padding: 120px 24px;
}

.organiser-section:before {
  content: '';
  position: absolute;
  width: 680px;
  height: 680px;
  border: 1px solid var(--band-glow-motion);
  border-radius: 50%;
  right: -270px;
  top: -360px;
}

.organiser-inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 85px;
}

.organiser-copy h2 {
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.03;
  letter-spacing: -3.6px;
  margin: 24px 0;
}

.organiser-copy > p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--band-ink-muted);
}

.organiser-benefits {
  display: grid;
  gap: 13px;
  margin: 32px 0;
}

.organiser-benefits span {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 15px;
  color: var(--band-ink-muted);
}

.organiser-benefits i {
  font-style: normal;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--motion-tint);
  color: var(--motion-ink);
  font-size: 12px;
  flex: none;
}

.organiser-benefits b {
  color: var(--band-ink);
}

/* ------------------------------------------------- organiser console mock */

.command-centre {
  background: var(--mock-canvas);
  color: var(--mock-ink);
  border: 7px solid var(--mock-bezel);
  border-radius: 26px;
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  transform: perspective(1300px) rotateY(-4deg) rotateX(1deg);
}

.command-top {
  height: 62px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--mock-surface);
  border-bottom: 1px solid var(--mock-hairline);
}

.live-status {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--motion-tint-ink);
  background: var(--motion-tint);
  padding: 8px 10px;
  border-radius: 100px;
}

.command-body {
  display: grid;
  grid-template-columns: 140px 1fr;
  min-height: 390px;
}

.command-body aside {
  padding: 25px 15px;
  border-right: 1px solid var(--mock-hairline);
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: var(--mock-surface);
}

.command-body aside span {
  padding: 11px;
  border-radius: 9px;
  font-size: 12px;
  color: var(--mock-ink-muted);
}

.command-body aside .on {
  background: var(--brand-tint);
  color: var(--brand-ink);
  font-weight: 800;
}

.command-main {
  padding: 28px;
  background: var(--mock-canvas);
}

.command-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.command-title small {
  font-size: 10px;
  letter-spacing: 1.1px;
  color: var(--mock-ink-muted);
}

.command-title h3 {
  font-size: 22px;
  margin: 5px 0;
}

.command-title button {
  border: 0;
  background: var(--brand-fill);
  color: var(--on-brand);
  font-weight: 800;
  border-radius: 10px;
  padding: 11px 14px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 24px 0;
}

.metrics span {
  background: var(--mock-surface);
  border: 1px solid var(--mock-hairline);
  border-radius: 14px;
  padding: 15px;
}

.metrics b {
  display: block;
  font-size: 24px;
}

.metrics small {
  font-size: 9px;
  color: var(--mock-ink-muted);
}

.fixture-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #6d50f1, #5638dc);
  color: #fff;
  border-radius: 15px;
  padding: 17px 19px;
}

.fixture-card div small,
.fixture-card div b,
.fixture-card div em,
.fixture-card strong small {
  display: block;
}

.fixture-card div small {
  font-size: 9px;
  opacity: 0.85;
}

.fixture-card div b {
  margin: 6px 0;
}

.fixture-card div em {
  font-size: 9px;
  color: var(--lime);
}

.fixture-card strong {
  font-size: 21px;
  text-align: right;
}

.fixture-card strong small {
  font-size: 8px;
  opacity: 0.8;
}

.progress-card {
  background: var(--mock-surface);
  border: 1px solid var(--mock-hairline);
  border-radius: 15px;
  margin-top: 11px;
  padding: 15px;
}

.progress-card > div {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

.progress-card > i {
  display: block;
  height: 6px;
  background: var(--mock-hairline);
  border-radius: 9px;
  margin: 11px 0;
}

.progress-card > i u {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: 9px;
  background: linear-gradient(90deg, var(--brand), var(--motion));
}

.progress-card > small {
  font-size: 10px;
  color: var(--mock-ink-muted);
}

/* --------------------------------------------------------- community types */

.community-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.community-type-grid article {
  position: relative;
  min-height: 360px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--hairline);
  border-radius: 26px;
  padding: 30px;
  overflow: hidden;
  transition: 0.25s;
}

.community-type-grid article:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
}

.community-type-grid article.club-card {
  background: var(--brand-tint);
  color: var(--brand-tint-ink);
  border-color: var(--brand-tint-hairline);
  box-shadow: 0 28px 60px rgba(115, 87, 255, 0.16);
}

.community-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 19px;
  /* Tokenised: this chip used to keep its light lavender fill in dark mode. */
  background: var(--brand-tint);
  font-size: 28px;
  margin-bottom: 42px;
}

.club-card .community-icon {
  background: var(--surface);
}

.community-type-grid article > span {
  font-size: 11px;
  letter-spacing: 1.5px;
  font-weight: 900;
  color: var(--brand-ink);
}

.community-type-grid h3 {
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin: 12px 0;
}

.community-type-grid p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-muted);
}

.community-type-grid .club-card p {
  color: var(--brand-tint-ink);
  opacity: 0.85;
}

.community-type-grid article > b {
  position: absolute;
  bottom: 28px;
  font-size: 11px;
  letter-spacing: 0.8px;
  color: var(--brand-ink);
}

/* --------------------------------------------------------------- journey */

.journey-section {
  padding-bottom: 100px;
}

.journey-visual {
  min-height: 500px;
  display: grid;
  grid-template-columns: 1.2fr 120px 0.62fr;
  align-items: center;
  gap: 24px;
  background: var(--journey-bg);
  border: 1px solid var(--band-hairline);
  border-radius: 32px;
  padding: 55px;
  color: var(--band-ink);
  overflow: hidden;
}

.journey-device {
  background: var(--mock-canvas);
  color: var(--mock-ink);
  box-shadow: var(--shadow-lift);
}

.web-device {
  border: 6px solid var(--mock-bezel);
  border-radius: 22px;
  overflow: hidden;
}

.device-bar {
  height: 38px;
  background: var(--mock-chrome);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
}

.device-bar i {
  width: 7px;
  height: 7px;
  background: #5a5e76;
  border-radius: 50%;
}

.device-bar span {
  margin-left: 10px;
  font-size: 10px;
  color: #b6b9c9;
}

.web-screen {
  min-height: 330px;
  padding: 34px;
  background: var(--mock-canvas);
}

.web-screen > small {
  display: block;
  color: var(--brand-ink);
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 900;
  margin: 42px 0 10px;
}

.web-screen h3 {
  font-size: 32px;
  letter-spacing: -1.3px;
  line-height: 1.08;
}

.web-screen button {
  border: 0;
  background: var(--lime);
  /* Was inheriting the screen's text colour, giving white-on-lime in dark. */
  color: var(--on-lime);
  font-weight: 900;
  border-radius: 10px;
  padding: 13px 16px;
}

.journey-arrow {
  text-align: center;
}

.journey-arrow span,
.journey-arrow small {
  display: block;
  font-size: 10px;
  letter-spacing: 1.4px;
  color: var(--band-ink-muted);
}

.journey-arrow b {
  display: block;
  font-size: 46px;
  color: var(--motion-ink);
  margin: 6px;
}

.app-device {
  border: 7px solid var(--mock-bezel);
  border-radius: 34px;
  overflow: hidden;
  position: relative;
}

.app-notch {
  position: absolute;
  z-index: 2;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 58px;
  height: 14px;
  border-radius: 10px;
  background: var(--mock-chrome);
}

.app-screen {
  min-height: 410px;
  padding: 45px 18px 20px;
  background: var(--mock-canvas);
}

.app-screen > small {
  font-size: 10px;
  color: var(--brand-ink);
  font-weight: 900;
}

.app-screen > h3 {
  font-size: 20px;
  letter-spacing: -0.5px;
  margin: 8px 0 22px;
}

.app-choice {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--mock-hairline);
  background: var(--mock-surface);
  border-radius: 13px;
  padding: 12px;
  margin-bottom: 9px;
}

.app-choice > i {
  font-style: normal;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--brand-tint);
  color: var(--brand-ink);
}

.app-choice b,
.app-choice small {
  display: block;
}

.app-choice b {
  font-size: 13px;
}

.app-choice small {
  font-size: 9px;
  color: var(--mock-ink-muted);
  margin-top: 3px;
}

.app-choice em {
  color: var(--brand-ink);
}

/* ------------------------------------------------------------ route flow */

.route-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.route-flow span {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--hairline);
  border-radius: 100px;
  padding: 12px 15px;
  font-size: 12px;
  font-weight: 800;
}

.route-flow span b {
  color: var(--brand-ink);
  font-size: 10px;
}

.route-flow > i {
  font-style: normal;
  color: var(--ink-muted);
}

.section-head.solo {
  grid-template-columns: 1fr;
}

.section-head.solo > div {
  max-width: 820px;
}

/* --------------------------------------------------------------- shared */

.brand-logo {
  width: 168px !important;
  height: auto !important;
  border-radius: 0 !important;
  display: block;
}

.wordmark-small {
  width: 126px;
  height: auto;
  display: block;
}

/* --------------------------------------------------------------- responsive */

@media (max-width: 980px) {
  .organiser-inner {
    grid-template-columns: 1fr;
    gap: 55px;
  }
  .command-centre {
    transform: none;
  }
  .community-type-grid {
    grid-template-columns: 1fr;
  }
  .journey-visual {
    grid-template-columns: 1fr 70px 0.7fr;
    padding: 32px;
  }
  .india-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .organiser-section {
    padding: 85px 18px;
  }
  .organiser-copy h2 {
    font-size: 40px;
    letter-spacing: -2.2px;
  }
  .command-centre {
    margin: 0 -4px;
    border-width: 4px;
  }
  .command-body {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .command-body aside {
    display: none;
  }
  .command-main {
    padding: 18px;
  }
  .command-title {
    align-items: flex-start;
  }
  .command-title h3 {
    font-size: 17px;
  }
  .metrics span {
    padding: 10px;
  }
  .metrics b {
    font-size: 18px;
  }
  .community-type-grid article {
    min-height: 330px;
  }
  .journey-visual {
    grid-template-columns: 1fr;
    padding: 22px;
  }
  .journey-arrow {
    padding: 10px;
  }
  .journey-arrow b {
    transform: rotate(90deg);
  }
  .app-device {
    width: min(270px, 100%);
    margin: auto;
  }
  .route-flow {
    align-items: stretch;
    flex-direction: column;
  }
  .route-flow > i {
    transform: rotate(90deg);
    text-align: center;
  }
  .route-flow span {
    justify-content: center;
  }
  .web-screen {
    padding: 25px;
  }
  .web-screen h3 {
    font-size: 27px;
  }
}

/* --------------------------------------------------------------- lead form */

.lead-section {
  background: var(--surface-sunken);
  color: var(--ink);
  border-top: 1px solid var(--hairline);
  padding: 96px 24px;
}

.lead-inner {
  max-width: 1240px;
  margin: auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.lead-copy h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -2.4px;
  margin: 20px 0 18px;
}

.lead-copy p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-muted);
  max-width: 480px;
}

.lead-alt a {
  color: var(--brand-ink);
  font-weight: 700;
}

.lead-form {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 26px;
  padding: 32px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* Persistent label; the placeholder is an example, not a label (DESIGN.md §7). */
.field label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--hairline-strong);
  border-radius: 14px;
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-subtle);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-color: var(--brand);
}

.field input[aria-invalid='true'],
.field textarea[aria-invalid='true'] {
  border-color: var(--danger);
}

/* Errors sit below the field with an icon and plain-language correction. */
.field-error {
  margin: 0;
  font-size: 13px;
  font-weight: 650;
  color: var(--danger);
}

.field-error::before {
  content: '⚠ ';
}

.lead-submit {
  width: 100%;
  margin-top: 4px;
}

.lead-submit[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.lead-status {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  min-height: 1.2em;
}

.lead-status[data-state='error'] {
  color: var(--danger);
}

.lead-status[data-state='ok'] {
  color: var(--motion-ink);
}

.lead-privacy {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-muted);
}

.lead-privacy a {
  color: var(--brand-ink);
  font-weight: 700;
}

/* Honeypot. Off-screen rather than display:none, which some bots skip. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 980px) {
  .lead-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 680px) {
  .lead-section {
    padding: 72px 18px;
  }
  .lead-form {
    padding: 22px;
  }
  .field-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* Turnstile renders its own iframe; reserve space only when one is present. */
.turnstile-slot:not(:empty) {
  margin-top: 4px;
  min-height: 65px;
}
