/* ============================================================
   ORDA — mission, join page, share cards, smart onboarding extras
   ============================================================ */

/* ------------------------------------------------------------ mission band */

.mission-band {
  margin-top: 18px;
  background:
    radial-gradient(800px 340px at 82% -20%, rgba(201, 162, 39, 0.18), transparent 60%),
    linear-gradient(150deg, #173b32 0%, #0d211c 100%);
  color: #f2ecdd;
}
.mission-band__inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 62px 32px 58px;
  text-align: center;
}
.mission-band__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d8c9a4;
}
.mission-band__title {
  margin: 16px auto 0;
  max-width: 25ch;
  font-size: clamp(1.7rem, 3.6vw, 2.9rem);
  line-height: 1.22;
  letter-spacing: -0.035em;
  color: #fbf7ec;
}
.mission-band__title em {
  font-style: normal;
  color: #e2c98f;
}
.mission-band__text {
  margin: 16px auto 0;
  max-width: 68ch;
  font-size: 14px;
  line-height: 1.7;
  color: #b9c6bc;
}
.mission-band__pillars {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.mission-band__pillars span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(242, 236, 221, 0.16);
  background: rgba(242, 236, 221, 0.04);
  font-size: 11px;
  color: #d8d1bf;
}
.mission-band__pillars i {
  font-style: normal;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  color: #c9a227;
  letter-spacing: 0.06em;
}

/* -------------------------------------------------------- home mission */

.home-mission {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 17px 20px;
  margin-bottom: 18px;
  border-radius: 18px;
  background:
    radial-gradient(420px 200px at 92% 0%, rgba(201, 162, 39, 0.18), transparent 60%),
    linear-gradient(150deg, #173b32, #0e251f);
  color: #f2ecdd;
  flex-wrap: wrap;
  box-shadow: 0 16px 36px -30px rgba(15, 38, 32, 0.8);
}
.home-mission__icon {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(242, 236, 221, 0.1);
  color: #ddc58c;
}
.home-mission__body {
  flex: 1;
  min-width: 240px;
}
.home-mission__body .eyebrow {
  color: #c7b98f;
  font-size: 9.5px;
}
.home-mission__body h2 {
  margin-top: 4px;
  font-size: 14.5px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: #fbf7ec;
  max-width: 70ch;
}
.home-mission__since {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  color: #d7c391;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.home-mission__since .icon {
  flex: none;
}
.home-mission__body p:last-child {
  margin-top: 3px;
  font-size: 11.5px;
  color: #b5c2b8;
  line-height: 1.5;
  max-width: 80ch;
}
.home-mission__actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.home-mission__actions .btn--on-dark {
  color: #f2ecdd;
}

/* ------------------------------------------------------- home empty states */

.home-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 22px 16px;
  text-align: center;
  background: var(--surface-2);
  border-style: dashed;
  color: var(--muted);
  border-color: var(--line-strong);
}
.home-empty > .icon {
  color: var(--faint);
}
.home-empty p {
  font-size: 12px;
  line-height: 1.5;
  max-width: 32ch;
}
.home-empty .btn {
  margin-top: 3px;
}
.home-empty-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}
.home-empty-inline .icon {
  flex: none;
  color: var(--faint);
}

/* ------------------------------------------------------------ smart wizard */

/* Keep confirmations above the modal footer, never over its buttons. */
body:has(.modal) .toast-stack {
  bottom: 170px;
}

.wizard-smart {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  margin-bottom: 18px;
  border-radius: 14px;
  border: 1px solid #e5d9bd;
  background:
    radial-gradient(400px 160px at 100% 0%, rgba(201, 162, 39, 0.14), transparent 60%),
    linear-gradient(155deg, #fbf7ed, #f6eeda);
  flex-wrap: wrap;
}
.wizard-smart__icon {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #fffdf8;
  color: var(--gold-strong);
  box-shadow: 0 2px 6px rgba(181, 138, 52, 0.15);
}
.wizard-smart__text {
  flex: 1;
  min-width: 200px;
}
.wizard-smart__text .strong {
  font-size: 13px;
}
.wizard-smart__text .small {
  margin-top: 2px;
  line-height: 1.45;
  font-size: 11.8px;
}
.wizard-smart .btn {
  flex: none;
}

.wizard-details {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-2);
  margin-top: 14px;
}
.wizard-details summary {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  list-style: none;
}
.wizard-details summary::-webkit-details-marker {
  display: none;
}
.wizard-details summary .icon {
  color: var(--muted);
}
.wizard-details[open] summary {
  margin-bottom: 2px;
}
.wizard-summary {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px solid #d9e5db;
  background: var(--brand-tint);
  font-size: 12px;
  color: var(--brand);
}
.wizard-summary span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.suggest-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e8d9b7;
  background: var(--gold-soft);
  font-size: 11px;
  color: #6d5417;
}
.suggest-strip > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}
.chip.is-suggested {
  border-style: dashed;
  border-color: #c9a24a;
  background: #fffdf6;
  color: var(--gold-strong);
}
.chip.is-suggested:hover {
  border-color: var(--gold-strong);
  color: var(--gold-strong);
}
.custom-tag--expertise,
.custom-tag--help {
  max-width: 540px;
}
.custom-tag--help {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}
.custom-tag--help .btn,
.custom-tag--expertise .btn {
  flex: none;
}
@media (max-width: 760px) {
  .custom-tag {
    flex-direction: column;
    max-width: none;
  }
  .custom-tag .btn {
    width: 100%;
  }
}

/* ------------------------------------------------------------ admin share */

.join-admin {
  margin-bottom: 14px;
  padding: 18px;
  border-color: #e3d9c3;
  background:
    radial-gradient(380px 200px at 100% 0%, rgba(201, 162, 39, 0.14), transparent 60%),
    linear-gradient(155deg, #fbf8f0, #f4eddd);
}
.join-admin__body {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}
.join-admin__icon {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #efe5cd;
}
.join-admin__body > div {
  flex: 1;
  min-width: 0;
}
.join-admin h3 {
  margin-top: 4px;
  font-size: 16px;
}
.join-admin p {
  margin-top: 3px;
  max-width: 80ch;
}
.join-admin__input {
  display: flex;
  gap: 7px;
  margin-top: 10px;
}
.join-admin__input .input {
  min-height: 38px;
  font-size: 12px;
  background: var(--surface);
}

/* --------------------------------------------------------------- join page */

.join-page {
  min-height: 100vh;
  background:
    radial-gradient(900px 480px at 80% 0%, rgba(232, 239, 233, 0.8), transparent 60%),
    radial-gradient(700px 420px at 0% 30%, rgba(246, 237, 216, 0.7), transparent 60%),
    var(--paper);
}
.join-nav {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 28px;
}
.join-nav__actions {
  display: flex;
  gap: 8px;
}
.join-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 28px 70px;
}
.join-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 46px;
  align-items: center;
  padding: 36px 0 52px;
}
.join-hero h1 {
  margin-top: 12px;
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.join-hero__mission {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.55;
  color: var(--brand);
  font-weight: 600;
  max-width: 34ch;
}
.join-hero__lead {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 56ch;
}
.join-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.join-time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: var(--muted);
}
a.float-card {
  color: inherit;
  text-decoration: none;
}
.join-note {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--ok);
}
.join-proof {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.join-card {
  padding: 26px;
  border-radius: 24px;
  background:
    radial-gradient(420px 220px at 100% 0%, rgba(201, 162, 39, 0.16), transparent 60%),
    linear-gradient(155deg, #173b32, #0e251f);
  color: #f2ecdd;
  box-shadow: 0 30px 70px -40px rgba(15, 38, 32, 0.8);
}
.join-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(242, 236, 221, 0.09);
  color: #f0e5cd;
}
.join-card h2 {
  margin-top: 16px;
  color: #fbf7ec;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.join-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}
.join-steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.join-steps li > span {
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ddc58c;
  color: #173b32;
  font-size: 10px;
  font-weight: 800;
}
.join-steps strong {
  font-size: 12.5px;
  color: #fbf7ec;
}
.join-steps p {
  margin-top: 1px;
  font-size: 11.3px;
  line-height: 1.45;
  color: #b7c5ba;
}
.join-card__note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(242, 236, 221, 0.14);
  font-size: 10.5px;
  line-height: 1.5;
  color: #a9b8ab;
}
.join-card__note .icon {
  flex: none;
  color: #c7b98f;
  margin-top: 1px;
}
.join-mission {
  padding: 32px 0 0;
  border-top: 1px solid var(--line);
}
.join-mission__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}
.join-mission__grid > div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.join-mission__grid > div > span {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--brand-tint);
  color: var(--brand);
  margin-bottom: 9px;
}
.join-mission__grid h3 {
  font-size: 13.5px;
}
.join-mission__grid p {
  margin-top: 4px;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--muted);
}

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

@media (max-width: 900px) {
  .join-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 20px;
  }
  .join-card {
    max-width: 560px;
  }
  .join-mission__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .mission-band__inner {
    padding: 42px 20px 40px;
  }
  .mission-band__pillars {
    gap: 6px;
  }
  .mission-band__pillars span {
    padding: 6px 10px;
    font-size: 10px;
  }
  .home-mission {
    padding: 14px;
  }
  .home-mission__actions {
    width: 100%;
  }
  .home-mission__actions .btn {
    flex: 1;
  }
  .wizard-smart {
    align-items: flex-start;
  }
  .wizard-smart .btn {
    width: 100%;
  }
  .wizard-summary {
    font-size: 11.5px;
  }
  .join-nav {
    padding: 14px 18px;
  }
  .join-main {
    padding: 0 18px 54px;
  }
  .join-hero h1 {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }
  .join-card {
    padding: 20px;
  }
  .join-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .join-actions .btn {
    width: 100%;
  }
  .join-admin__body {
    flex-direction: column;
  }
  .join-admin__input {
    flex-direction: column;
  }
  .join-admin__input .btn {
    width: 100%;
  }
  body:has(.modal) .toast-stack {
    bottom: 124px;
    right: 12px;
  }
  .home-empty-inline {
    align-items: flex-start;
  }
}
