/* ===== Design tokens ===== */
:root {
  --color-text: #000;
  --color-hero-bg: #fff5e6;
  --color-cta-bg: #0584ca;
  --color-cta-text: #fff;
  --color-topbar-cta-bg: #ff6f00;
  --color-accent: #ff5a1f;
  --color-partners-bg: #eff3ff;
  --font-main: 'Poppins', sans-serif;
  --font-mono: 'Space Mono', ui-monospace, monospace;

  --container-max: 1280px;
  --container-pad: 20px;
}

/* ===== Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 16px;
  border: none;
  border-radius: 999px;
  padding: 16px 28px;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn--cta {
  background-color: var(--color-cta-bg);
  color: var(--color-cta-text);
  box-shadow: 0 8px 20px rgba(5, 132, 202, 0.28);
}

.btn__icon {
  flex-shrink: 0;
}

.btn--sm {
  padding: 9px 16px;
  font-size: 13px;
}

/* ===== Topbar (mobile-first) ===== */
.topbar {
  background-color: #fff;
  border-bottom: 1px solid #f0e6d8;
}

.topbar__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 12px var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.topbar__logo {
  flex-shrink: 0;
  display: block;
}

.topbar__logo-img {
  height: 28px;
  width: auto;
}

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

.topbar__join {
  flex-shrink: 0;
  background-color: var(--color-topbar-cta-bg);
  box-shadow: 0 8px 20px rgba(255, 111, 0, 0.28);
}

.topbar__member {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 15px;
  color: var(--color-text);
  flex-shrink: 0;
}

.topbar__member-lock,
.topbar__member-icon {
  flex-shrink: 0;
}

.topbar__member-label {
  display: none;
  align-items: center;
  gap: 6px;
}

/* ===== Hero (mobile-first) ===== */
.hero {
  background-color: var(--color-hero-bg);
  overflow: hidden;
  padding-top: 28px;
}

.hero__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  flex-direction: column;
}

.hero__content {
  order: 1;
  min-width: 0;
  text-align: center;
  padding-bottom: 8px;
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-cta-bg);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.hero__title {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero__subtitle {
  font-size: 16px;
  font-weight: 400;
  color: #333;
  margin-bottom: 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.hero__hint {
  font-size: 13px;
  color: #666;
  margin-top: 10px;
}

.hero__hint-info {
  position: relative;
  display: inline-flex;
  align-items: center;
  vertical-align: super;
  margin-right: 3px;
  padding: 2px;
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  font-family: inherit;
}

.hero__hint-icon {
  display: block;
  pointer-events: none;
}

.hero__hint-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  width: max-content;
  max-width: min(260px, 80vw);
  background-color: #111;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  padding: 10px 12px;
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  pointer-events: none;
  z-index: 20;
}

.hero__hint-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 10px;
  border: 6px solid transparent;
  border-top-color: #111;
}

.hero__hint-info:hover .hero__hint-tooltip,
.hero__hint-info:focus .hero__hint-tooltip,
.hero__hint-info:focus-visible .hero__hint-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hero__media {
  order: 2;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 40px;
  margin-left: calc(-1 * var(--container-pad));
  margin-right: calc(-1 * var(--container-pad));
}

.hero__image {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  min-width: 0;
  aspect-ratio: 1.7 / 1;
  object-fit: cover;
  object-position: top center;
}

/* ===== Pillars (mobile-first) ===== */
.pillars {
  background-color: #fff;
  padding: 48px 0;
}

.pillars__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.pillars__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #222;
  margin-bottom: 16px;
}

.pillars__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent);
  flex-shrink: 0;
}

.pillars__title {
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
  color: #111;
  max-width: 800px;
}

.pillars__list {
  margin-top: 28px;
}

.pillar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 26px 0;
  border-top: 1px solid #e2e2e2;
}

.pillar__number {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-accent);
}

.pillar__name {
  font-size: 24px;
  font-weight: 700;
  color: #111;
}

.pillar__text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

.pillar__text p {
  margin: 0;
}

.pillars__cta {
  margin-top: 28px;
}

.btn-outline {
  display: inline-flex;
  align-items: stretch;
  border: 1.5px solid #111;
  border-radius: 8px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: #111;
}

.btn-outline:active {
  transform: scale(0.98);
}

.btn-outline__label {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  white-space: nowrap;
}

.btn-outline__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  background-color: var(--color-accent);
  color: #fff;
}

.pillars__disclaimer {
  margin-top: 14px;
  font-size: 11px;
  color: var(--color-accent);
  line-height: 1.5;
  max-width: 480px;
}

/* ===== Partners (mobile-first) ===== */
.partners {
  background-color: var(--color-partners-bg);
  padding: 40px 0 48px;
  overflow: hidden;
}

.partners__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  text-align: center;
}

.partners__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #222;
  margin-bottom: 16px;
}

.partners__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent);
  flex-shrink: 0;
}

.partners__title {
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
  color: #111;
  max-width: 500px;
  margin: 0 auto;
}

.partners__fan {
  display: flex;
  justify-content: center;
  margin: 32px 0;
}

.partners__image {
  width: 100%;
  max-width: 380px;
  height: auto;
}

.partners__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin: 8px auto 0;
}

.partners__tags li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: #333;
}

.partners__tag-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--color-accent);
  flex-shrink: 0;
}

.partners__cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.btn-outline--accent {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ===== Network (mobile-first) ===== */
.network {
  background-color: var(--color-partners-bg);
  padding: 8px 0 56px;
}

.network__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.network__title {
  font-size: 26px;
  line-height: 1.3;
  font-weight: 700;
  color: #111;
  text-align: center;
  max-width: 520px;
  margin: 0 auto 32px;
}

.network__grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.network-card {
  background-color: #fff;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.06);
}

.network-card__icon {
  width: 48px;
  height: 48px;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.network-card__avatar {
  position: relative;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
}

.network-card__avatar-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.network-card__live {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

.network-card__title {
  font-size: 19px;
  font-weight: 700;
  color: #111;
  margin-bottom: 12px;
}

.network-card__text {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

.network__cta {
  display: flex;
  justify-content: center;
}

/* ===== Complete (mobile-first) ===== */
.complete {
  background-color: #fff;
  padding: 48px 0 56px;
}

.complete__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.complete__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #222;
  margin-bottom: 16px;
}

.complete__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent);
  flex-shrink: 0;
}

.complete__title {
  font-size: 26px;
  line-height: 1.3;
  font-weight: 700;
  color: #111;
  max-width: 520px;
}

.complete__content {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 32px;
}

.complete__row {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.complete__media {
  min-width: 0;
}

.complete__image {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top center;
  border-radius: 18px;
}

.complete__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.complete__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.complete__check {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-accent);
}

.complete__list p {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

.complete__cta {
  display: flex;
  margin-top: 16px;
  margin-left: 32px;
}

/* ===== Tablet ===== */
@media (min-width: 600px) {
  .topbar__member-label {
    display: inline-flex;
  }

  .hero__title {
    font-size: 38px;
  }

  .hero__subtitle {
    font-size: 18px;
  }

  .pillars__title {
    font-size: 32px;
  }
}

/* ===== Footer (mobile-first) ===== */
.footer {
  background: linear-gradient(to left, #0584ca, #2baff8);
  padding: 48px 0;
}

.footer__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.footer__grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer__logo {
  height: 32px;
  width: auto;
  margin-bottom: 20px;
}

.footer__title {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  color: #fff;
  font-size: 15px;
}

.footer__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 400px;
}

.footer__input {
  width: 100%;
  padding: 17px 18px;
  border: none;
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 15px;
  color: #111;
  background-color: #fff;
}

.footer__input::placeholder {
  color: #888;
}

.footer__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #fff;
  line-height: 1.4;
}

.footer__checkbox input {
  margin-top: 3px;
  flex-shrink: 0;
}

.footer__submit {
  align-self: flex-start;
  background: none;
  cursor: pointer;
}

.btn-outline--white {
  border-color: #fff;
  color: #fff;
}

.footer__disclaimer {
  margin-top: 36px;
  text-align: left;
  color: #fff;
  font-size: 13px;
  line-height: 1.6;
}

/* ===== Legal page (mobile-first) ===== */
.legal {
  background-color: #fff;
  padding: 40px 0 56px;
}

.legal__container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.legal__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #222;
  margin-bottom: 16px;
}

.legal__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent);
  flex-shrink: 0;
}

.legal__title {
  font-size: 30px;
  font-weight: 700;
  color: #111;
  margin-bottom: 32px;
}

.legal__body {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.legal__section {
  padding-top: 28px;
  border-top: 1px solid #e2e2e2;
}

.legal__section:first-child {
  padding-top: 0;
  border-top: none;
}

.legal__section h2 {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin-bottom: 12px;
}

.legal__section p {
  font-size: 15px;
  line-height: 1.65;
  color: #333;
}

.legal__section a {
  color: var(--color-cta-bg);
  text-decoration: underline;
}

.legal__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.legal__list li {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

/* ===== Desktop ===== */
@media (min-width: 1024px) {
  .topbar__container {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .topbar__logo-img {
    height: 34px;
  }

  .topbar__actions {
    gap: 28px;
  }

  .btn--sm {
    padding: 12px 22px;
    font-size: 14px;
  }

  .hero {
    padding-top: 0;
  }

  .hero__container {
    flex-direction: row;
    align-items: flex-end;
    min-height: 640px;
    padding-right: 0;
  }

  .hero__content {
    order: 1;
    flex: 0 0 46%;
    max-width: 46%;
    text-align: left;
    padding-bottom: 100px;
  }

  .hero__eyebrow,
  .hero__subtitle {
    margin-left: 0;
    margin-right: 0;
  }

  .hero__title {
    font-size: 48px;
  }

  .hero__subtitle {
    font-size: 18px;
    max-width: 420px;
  }

  .hero__media {
    order: 2;
    flex: 0 0 54%;
    max-width: 54%;
    justify-content: flex-end;
    align-items: flex-end;
    align-self: flex-end;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .hero__image {
    max-width: 100%;
    width: 100%;
    aspect-ratio: auto;
    height: auto;
    object-fit: contain;
    object-position: bottom center;
  }

  .pillars {
    padding: 100px 0;
  }

  .pillars__title {
    font-size: 36px;
    max-width: 900px;
  }

  .pillars__list {
    margin-top: 40px;
  }

  .pillar {
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
    padding: 36px 0;
  }

  .pillar__number {
    flex: 0 0 110px;
    padding-top: 4px;
  }

  .pillar__name {
    flex: 0 0 300px;
    font-size: 32px;
  }

  .pillar__text {
    flex: 1;
    min-width: 0;
  }

  .pillars__cta {
    margin-top: 40px;
  }

  .partners {
    padding: 72px 0 80px;
  }

  .partners__title {
    font-size: 34px;
    max-width: 720px;
  }

  .partners__fan {
    margin: 48px 0;
  }

  .partners__image {
    max-width: 620px;
  }

  .partners__tags {
    max-width: 720px;
    gap: 10px 26px;
  }

  .partners__tags li {
    font-size: 13px;
  }

  .network {
    padding: 16px 0 96px;
  }

  .network__title {
    font-size: 36px;
    max-width: 640px;
    margin-bottom: 48px;
  }

  .network__grid {
    flex-direction: row;
    gap: 28px;
    margin-bottom: 48px;
  }

  .network-card {
    flex: 1;
    padding: 32px 28px;
  }

  .complete {
    padding: 96px 0;
  }

  .complete__title {
    font-size: 36px;
    max-width: 640px;
  }

  .complete__content {
    margin-top: 48px;
  }

  .complete__row {
    flex-direction: row;
    align-items: stretch;
    gap: 56px;
  }

  .complete__media {
    flex: 0 0 42%;
    max-width: 42%;
  }

  .complete__image {
    width: 100%;
    height: 100%;
  }

  .complete__list {
    flex: 1;
    justify-content: center;
    gap: 22px;
  }

  .complete__list p {
    font-size: 16px;
  }

  .complete__cta {
    margin-top: 0px;
    margin-left: calc(42% + 56px + 32px);
  }

  .footer {
    padding: 64px 0;
  }

  .footer__grid {
    flex-direction: row;
    justify-content: flex-start;
    gap: 200px;
  }

  .footer__col--logo {
    flex: 0 0 auto;
  }

  .footer__col {
    flex: 0 0 auto;
  }

  .footer__disclaimer {
    max-width: 660px;
  }

  .legal {
    padding: 64px 0 96px;
  }

  .legal__title {
    font-size: 38px;
  }

  .legal__section {
    padding-top: 32px;
  }
}

/* ===== Auth / Connexion (mobile-first) ===== */
.auth {
  background-color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.auth__container {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.auth__logo {
  display: block;
  margin-bottom: 32px;
}

.auth__logo img {
  height: 32px;
  width: auto;
}

.auth__card {
  width: 100%;
}

.auth__title {
  font-size: 24px;
  font-weight: 700;
  color: #111;
  text-align: center;
  margin-bottom: 8px;
}

.auth__subtitle {
  font-size: 14px;
  color: #666;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 28px;
}

.auth__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth__field label {
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

.auth__field input {
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 14px;
  color: #111;
}

.auth__field input:focus {
  outline: none;
  border-color: var(--color-cta-bg);
}

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

.auth__checkbox {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #333;
}

.auth__forgot {
  font-size: 13px;
  color: var(--color-cta-bg);
}

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

.auth__signup {
  margin-top: 24px;
  text-align: center;
  font-size: 13px;
  color: #666;
}

.auth__signup a {
  color: var(--color-cta-bg);
  font-weight: 600;
}

/* ===== Signup (mobile-first) ===== */
.signup {
  background-color: #fff;
  padding: 56px 0;
}

.signup__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.signup__congrats {
  font-size: 28px;
  font-weight: 800;
  color: #111;
  margin-bottom: 14px;
}

.signup__message {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
  max-width: 560px;
}

.signup__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  margin-top: 28px;
  margin-bottom: 12px;
}

.signup__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.signup__name {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  line-height: 1.5;
}

.signup__role {
  font-weight: 400;
  color: #666;
}

/* ===== Wizard (mobile-first) ===== */
.wizard {
  background-color: #fff;
  padding: 8px 0 56px;
}

.wizard__container {
  max-width: 620px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.wizard__title {
  font-size: 24px;
  font-weight: 800;
  color: #111;
  text-align: center;
  margin-bottom: 24px;
}

.wizard__progress {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.wizard__progress-bar {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background-color: rgba(17, 17, 17, 0.1);
  overflow: hidden;
}

.wizard__progress-fill {
  height: 100%;
  width: 0%;
  background-color: var(--color-cta-bg);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.wizard__step-label {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #555;
}

.wizard__form {
  background-color: transparent;
  padding: 0;
}

.wizard__step {
  display: none;
  flex-direction: column;
  gap: 26px;
  animation: wizard-fade 0.35s ease;
}

.wizard__step.is-active {
  display: flex;
}

@keyframes wizard-fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wizard__step-title {
  font-size: 22px;
  font-weight: 800;
  color: #111;
}

.wizard__row {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.wizard__field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.wizard__field--center {
  align-items: center;
}

.wizard__field label {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
}

.wizard__field-hint {
  font-size: 12px;
  color: #777;
  line-height: 1.5;
  margin-top: -2px;
}

.wizard__field-hint--warn {
  color: #b8722e;
}

.wizard__field input {
  padding: 15px 18px;
  border: 1.5px solid #1a1a1a;
  border-radius: 8px;
  background-color: #fff;
  font-family: var(--font-main);
  font-size: 15px;
  color: #111;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wizard__field input::placeholder {
  color: #9a9a9a;
}

.wizard__field input:focus {
  outline: none;
  border-color: var(--color-cta-bg);
  box-shadow: 0 0 0 3px rgba(5, 132, 202, 0.12);
}

.wizard__field input.has-error {
  border-color: #e14545;
}

.wizard__input-wrap {
  position: relative;
  display: flex;
}

.wizard__input-wrap input {
  width: 100%;
  padding-right: 48px;
}

.wizard__eye {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #444;
  cursor: pointer;
  padding: 4px;
}

.wizard__choices {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.wizard__choice {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1.5px solid #8a7255;
  border-radius: 10px;
  background-color: #fff;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 700;
  color: #6b5840;
  cursor: pointer;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.wizard__radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid #8a7255;
  flex-shrink: 0;
  position: relative;
}

.wizard__choice.is-selected .wizard__radio {
  border-color: #6b5840;
}

.wizard__choice.is-selected .wizard__radio::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background-color: #6b5840;
}

.wizard__field.has-error .wizard__choices {
  outline: 1.5px solid #e14545;
  outline-offset: 4px;
  border-radius: 10px;
}

.wizard__code-intro {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
  text-align: center;
}

.wizard__code {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.wizard__code .wizard__code-digit {
  width: 44px;
  height: 54px;
  padding: 0;
  text-align: center;
  font-family: var(--font-main);
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
  border: 1.5px solid #1a1a1a;
  border-radius: 8px;
  color: #111;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wizard__code .wizard__code-digit:focus {
  outline: none;
  border-color: var(--color-cta-bg);
  box-shadow: 0 0 0 3px rgba(5, 132, 202, 0.12);
}

.wizard__code .wizard__code-digit.has-error {
  border-color: #e14545;
}

.wizard__code-error {
  font-size: 13px;
  color: #e14545;
  text-align: center;
}

.wizard__code-resend {
  font-size: 14px;
  color: #555;
  text-align: center;
}

.wizard__code-resend-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--color-cta-bg);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.wizard__code-resend-btn:disabled {
  color: #999;
  cursor: default;
}

.wizard__form-error {
  font-size: 13px;
  color: #e14545;
  text-align: center;
  margin-top: -8px;
}

.wizard__strength {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: -2px;
}

.wizard__strength[hidden] {
  display: none;
}

.wizard__strength-bar {
  display: flex;
  gap: 4px;
  flex: 1;
  max-width: 160px;
}

.wizard__strength-bar span {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background-color: #e4e4e4;
  transition: background-color 0.2s ease;
}

.wizard__strength-bar span.is-active--weak {
  background-color: #e14545;
}

.wizard__strength-bar span.is-active--medium {
  background-color: #e0a020;
}

.wizard__strength-bar span.is-active--strong {
  background-color: #2f9e5c;
}

.wizard__strength-label {
  font-size: 12px;
  font-weight: 600;
  color: #777;
}

.wizard__strength-label.is-weak {
  color: #e14545;
}

.wizard__strength-label.is-medium {
  color: #e0a020;
}

.wizard__strength-label.is-strong {
  color: #2f9e5c;
}

.wizard__field-hint--error {
  color: #e14545;
}

.wizard__phone {
  display: flex;
  align-items: stretch;
  border: 1.5px solid #1a1a1a;
  border-radius: 8px;
  background-color: #fff;
  overflow: hidden;
}

.wizard__phone-prefix {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border: none;
  border-right: 1.5px solid #1a1a1a;
  background-color: #fff;
  cursor: pointer;
  color: #333;
  flex-shrink: 0;
}

.wizard__flag {
  display: block;
  border-radius: 2px;
  flex-shrink: 0;
}

.wizard__phone input {
  flex: 1;
  min-width: 0;
  border: none;
  padding: 15px 18px;
  font-family: var(--font-main);
  font-size: 15px;
  color: #111;
}

.wizard__phone input:focus {
  outline: none;
}

.wizard__phone input::placeholder {
  color: #9a9a9a;
}

.wizard__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}

.wizard__back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  background-color: #fff;
  color: #333;
  cursor: pointer;
}

.wizard__next {
  flex: 0 0 auto;
  padding: 12px 32px;
}

@media (min-width: 600px) {
  .wizard__row {
    flex-direction: row;
  }

  .wizard__step-title {
    font-size: 26px;
  }
}

@media (min-width: 1024px) {
  .signup {
    padding: 80px 0;
  }

  .signup__congrats {
    font-size: 34px;
  }

  .signup__avatar {
    width: 68px;
    height: 68px;
  }

  .signup__name {
    font-size: 16px;
  }
}

@media (min-width: 1280px) {
  .hero__title {
    font-size: 54px;
  }
}

/* ===== Modal (mobile-first) ===== */
body.modal-open {
  overflow: hidden;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
}

.modal.is-open {
  display: block;
}

.modal__overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(10, 10, 20, 0.55);
}

.modal__panel {
  position: relative;
  z-index: 1;
  width: calc(100% - 32px);
  max-width: 560px;
  margin: 24px auto;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background-color: #fff;
  border-radius: 20px;
  padding: 28px 22px 32px;
  font-family: var(--font-main);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  border-radius: 50%;
}

.modal__close:hover {
  background-color: #f2f2f2;
}

.modal__title {
  font-size: 21px;
  line-height: 1.3;
  font-weight: 700;
  color: #111;
  margin-bottom: 12px;
  padding-right: 30px;
}

.modal__subtitle {
  font-size: 14px;
  line-height: 1.55;
  color: #333;
  margin-bottom: 10px;
}

.modal__intro {
  font-size: 14px;
  line-height: 1.55;
  color: #666;
  margin-bottom: 24px;
}

.modal__section-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #111;
  margin-bottom: 14px;
}

.modal__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.modal__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal__field label {
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

.modal__field input,
.modal__field textarea {
  padding: 11px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 14px;
  color: #111;
  background-color: #fff;
}

.modal__field input:focus,
.modal__field textarea:focus {
  outline: none;
  border-color: var(--color-cta-bg);
}

.modal__field textarea {
  resize: vertical;
}

.modal__field--full {
  margin-bottom: 22px;
}

.modal__field-hint {
  font-size: 12px;
  line-height: 1.5;
  color: #777;
  margin-top: -2px;
}

.modal__submit {
  width: auto;
  padding: 12px 24px;
  font-size: 14px;
  border-radius: 8px;
  box-shadow: none;
}

@media (min-width: 600px) {
  .modal__panel {
    padding: 36px 32px 40px;
  }

  .modal__title {
    font-size: 24px;
  }

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