:root {
  --green-900: #064737;
  --green-700: #0f6b51;
  --green-500: #43d885;
  --green-400: #77e9a8;
  --green-100: #dff8e9;
  --highlight: #d8ff65;
  --bg: #f7f8f4;
  --text: #10352b;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Manrope, "Century Gothic", system-ui, sans-serif;
}

.navbar-app {
  background: var(--green-900);
}

.navbar-app .nav-link,
.navbar-app .navbar-brand {
  color: #fff;
}

.navbar-app .nav-link:hover,
.navbar-app .nav-link.active {
  color: var(--highlight);
}

.btn-brand {
  background: var(--green-900);
  border-color: var(--green-900);
  color: #fff;
}

.btn-brand:hover {
  background: var(--green-700);
  color: #fff;
}

.card {
  border: 0;
  box-shadow: 0 8px 24px rgba(16, 53, 43, 0.06);
}

.status-badge {
  text-transform: capitalize;
}

.variant-col {
  min-width: 18rem;
}

.media-preview {
  max-width: 100%;
  background: #fff;
  border-radius: 0.75rem;
}

.wizard-step {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green-100);
  color: var(--green-900);
  font-weight: 700;
}

.wizard-step.active {
  background: var(--highlight);
}

.activation-tile {
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.activation-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(16, 53, 43, 0.1);
  color: inherit;
}

.platform-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: var(--green-100);
  color: var(--green-900);
  flex-shrink: 0;
}

.platform-card--unavailable {
  opacity: 0.85;
}

.platform-card--connected {
  outline: 1px solid rgba(15, 107, 81, 0.25);
}

/* Logical properties so Arabic (dir=rtl) mirrors layout without separate sheets. */
[dir="rtl"] body {
  font-family: "Noto Naskh Arabic", Manrope, "Century Gothic", system-ui, sans-serif;
}
.navbar-app .navbar-nav {
  margin-inline-end: auto;
  margin-inline-start: 0;
}

/* ---------------------------------------------------------------------------
   Phase 1 — public homepage + authentication (scoped; does not restyle app chrome)
   --------------------------------------------------------------------------- */
.public-page {
  --mkt-ink: #0b2f26;
  --mkt-muted: #4d6b61;
  --mkt-line: rgba(6, 71, 55, 0.12);
  --mkt-surface: #f3f7f4;
  --mkt-panel: #ffffff;
  --mkt-deep: var(--green-900);
  --mkt-mid: var(--green-700);
  --mkt-glow: var(--highlight);
  margin: 0;
  min-height: 100vh;
  color: var(--mkt-ink);
  background:
    radial-gradient(1200px 600px at 12% -10%, rgba(67, 216, 133, 0.18), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(216, 255, 101, 0.12), transparent 45%),
    linear-gradient(180deg, #f7faf7 0%, var(--mkt-surface) 42%, #eef4f0 100%);
  font-family: "Plus Jakarta Sans", Manrope, "Century Gothic", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.public-page a {
  color: var(--mkt-mid);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.public-page a:hover {
  color: var(--mkt-deep);
}

.public-page a.mkt-btn--solid,
.public-page a.mkt-btn--solid:hover,
.public-page a.mkt-btn--solid:focus {
  color: #f5fff9;
  text-decoration: none;
}

.mkt-logo {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--mkt-deep);
  text-decoration: none;
}

.mkt-logo:hover {
  color: var(--mkt-deep);
  text-decoration: none;
}

.mkt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.6rem;
  padding: 0.55rem 1.15rem;
  border-radius: 0.65rem;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.mkt-btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.mkt-btn--solid {
  background: var(--mkt-deep);
  color: #f5fff9;
  border-color: var(--mkt-deep);
}

.mkt-btn--solid:hover {
  background: var(--mkt-mid);
  color: #f5fff9;
  border-color: var(--mkt-mid);
}

.mkt-btn--ghost {
  background: rgba(255, 255, 255, 0.55);
  color: var(--mkt-deep);
  border-color: var(--mkt-line);
}

.mkt-btn--ghost:hover {
  background: #fff;
  color: var(--mkt-deep);
}

.mkt-btn--lg {
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
}

.mkt-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(247, 250, 247, 0.82);
  border-bottom: 1px solid var(--mkt-line);
}

.mkt-nav__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.mkt-nav__links {
  display: none;
  gap: 1.25rem;
  margin-inline-start: 0.5rem;
}

.mkt-nav__links a {
  color: var(--mkt-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.mkt-nav__links a:hover {
  color: var(--mkt-deep);
}

.mkt-nav__actions {
  margin-inline-start: auto;
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.mkt-hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 4rem;
  display: grid;
  gap: 2.75rem;
  align-items: center;
}

.mkt-eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mkt-mid);
}

.mkt-hero__title {
  margin: 0 0 1rem;
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--mkt-ink);
  max-width: 16ch;
}

.mkt-hero__lede {
  margin: 0 0 0.85rem;
  max-width: 36rem;
  color: var(--mkt-muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.mkt-hero__support {
  margin: 0 0 1.75rem;
  max-width: 36rem;
  color: var(--mkt-deep);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.45;
}

.mkt-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.mkt-hero__visual {
  min-width: 0;
}

.mkt-stage {
  background: linear-gradient(160deg, #0b3d31 0%, #064737 48%, #0f6b51 100%);
  border-radius: 1.25rem;
  padding: 1rem;
  box-shadow: 0 28px 60px rgba(6, 71, 55, 0.28);
  color: #e8f7ee;
}

.mkt-stage__chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
  padding: 0.15rem 0.35rem;
}

.mkt-stage__chrome span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.mkt-stage__chrome em {
  margin-inline-start: auto;
  font-style: normal;
  font-size: 0.75rem;
  opacity: 0.75;
}

.mkt-stage__body {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0.75rem;
  min-height: 17rem;
}

.mkt-stage__rail {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding-top: 0.35rem;
}

.mkt-stage__rail i {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.08);
  display: block;
}

.mkt-stage__rail i.is-active {
  background: var(--mkt-glow);
}

.mkt-stage__canvas {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.9rem;
  padding: 0.85rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0.75rem;
}

.mkt-stage__shot {
  border-radius: 0.65rem;
  min-height: 8.5rem;
}

.mkt-stage__shot--a {
  background:
    linear-gradient(145deg, rgba(216, 255, 101, 0.55), transparent 55%),
    linear-gradient(25deg, #1d6b55, #43d885);
  grid-row: span 2;
}

.mkt-stage__shot--b {
  background: linear-gradient(160deg, #dff8e9, #77e9a8 70%);
  min-height: 5rem;
}

.mkt-stage__meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.6rem 0.7rem;
  border-radius: 0.65rem;
  background: rgba(4, 40, 32, 0.35);
}

.mkt-stage__meta strong {
  font-size: 0.92rem;
}

.mkt-stage__meta span {
  font-size: 0.78rem;
  opacity: 0.75;
}

.mkt-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem 1.25rem 4rem;
}

.mkt-section--muted {
  margin-top: 0.5rem;
  padding-top: 3rem;
  padding-bottom: 3.5rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--mkt-line);
}

.mkt-section__head {
  max-width: 36rem;
  margin-bottom: 2rem;
}

.mkt-section__head h2 {
  margin: 0 0 0.6rem;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
}

.mkt-section__head p {
  margin: 0;
  color: var(--mkt-muted);
  line-height: 1.55;
}

.mkt-mode-grid {
  display: grid;
  gap: 1rem;
}

.mkt-mode {
  padding: 1.4rem 1.3rem;
  border-radius: 1rem;
  background: var(--mkt-panel);
  border: 1px solid var(--mkt-line);
}

.mkt-mode--featured {
  border-color: rgba(15, 107, 81, 0.35);
  box-shadow: 0 12px 30px rgba(6, 71, 55, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f3faf5 100%);
}

.mkt-mode__badge {
  display: inline-block;
  margin: 0 0 0.7rem;
  padding: 0.2rem 0.55rem;
  border-radius: 0.4rem;
  background: var(--green-100);
  color: var(--mkt-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mkt-mode h3 {
  margin: 0 0 0.5rem;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.35rem;
  color: var(--mkt-deep);
}

.mkt-mode p {
  margin: 0;
  color: var(--mkt-muted);
  line-height: 1.55;
  font-size: 0.96rem;
}

.mkt-feature-grid {
  display: grid;
  gap: 1rem;
}

.mkt-feature {
  padding: 1.35rem 1.3rem;
  border-radius: 1rem;
  background: var(--mkt-panel);
  border: 1px solid var(--mkt-line);
}

.mkt-feature h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: var(--mkt-deep);
}

.mkt-feature p {
  margin: 0;
  color: var(--mkt-muted);
  line-height: 1.55;
  font-size: 0.96rem;
}

.mkt-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

.mkt-steps li {
  counter-increment: step;
  display: grid;
  gap: 0.35rem;
  padding: 1.2rem 1.2rem 1.2rem 4rem;
  position: relative;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--mkt-line);
}

.mkt-steps li::before {
  content: counter(step);
  position: absolute;
  left: 1.1rem;
  top: 1.15rem;
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  display: grid;
  place-items: center;
  background: var(--green-100);
  color: var(--mkt-deep);
  font-weight: 700;
  font-size: 0.9rem;
}

.mkt-steps strong {
  font-size: 1.02rem;
}

.mkt-steps span {
  color: var(--mkt-muted);
  line-height: 1.5;
  font-size: 0.95rem;
}

.mkt-cta {
  max-width: 1120px;
  margin: 0 auto 3rem;
  padding: 0 1.25rem;
}

.mkt-cta__inner {
  padding: 2.5rem 1.5rem;
  border-radius: 1.35rem;
  background: linear-gradient(135deg, var(--mkt-deep), #0f6b51 70%);
  color: #f3fff8;
  text-align: center;
}

.mkt-cta__inner h2 {
  margin: 0 0 0.6rem;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.mkt-cta__inner p {
  margin: 0 auto 1.4rem;
  max-width: 34rem;
  opacity: 0.88;
  line-height: 1.55;
}

.public-page .mkt-cta a.mkt-btn--solid,
.public-page .mkt-cta a.mkt-btn--solid:hover,
.public-page .mkt-cta a.mkt-btn--solid:focus {
  background: #ffffff;
  color: var(--mkt-deep);
  border-color: #ffffff;
}

.public-page .mkt-cta a.mkt-btn--solid:hover {
  background: var(--mkt-glow);
  border-color: var(--mkt-glow);
}

.mkt-cta .mkt-btn--ghost {
  background: transparent;
  color: #f5fff9;
  border-color: rgba(245, 255, 249, 0.55);
}

.mkt-cta .mkt-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.mkt-cta .mkt-hero__cta {
  justify-content: center;
}

.mkt-footer {
  border-top: 1px solid var(--mkt-line);
  padding: 2.5rem 1.25rem 2rem;
  background: rgba(255, 255, 255, 0.45);
}

.mkt-footer__inner {
  max-width: 1120px;
  margin: 0 auto 1.75rem;
  display: grid;
  gap: 2rem;
}

.mkt-footer__tag {
  margin: 0.6rem 0 0;
  color: var(--mkt-muted);
  font-size: 0.92rem;
}

.mkt-footer__cols {
  display: grid;
  gap: 1.5rem;
}

.mkt-footer__cols h3 {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mkt-muted);
}

.mkt-footer__cols a {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--mkt-ink);
  text-decoration: none;
  font-size: 0.95rem;
}

.mkt-footer__cols a:hover {
  color: var(--mkt-mid);
}

.mkt-footer__legal {
  max-width: 1120px;
  margin: 0 auto;
  color: var(--mkt-muted);
  font-size: 0.85rem;
}

@media (min-width: 768px) {
  .mkt-nav__links {
    display: flex;
  }

  .mkt-mode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .mkt-steps li {
    padding: 1.35rem 1.2rem 1.35rem 1.2rem;
  }

  .mkt-steps li::before {
    position: static;
    margin-bottom: 0.75rem;
  }

  .mkt-footer__inner {
    grid-template-columns: 1.2fr 2fr;
  }

  .mkt-footer__cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .mkt-hero {
    grid-template-columns: 1.05fr 0.95fr;
    padding-top: 4.5rem;
    padding-bottom: 5rem;
  }

  .mkt-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mkt-cta__inner {
    padding: 3rem 2rem;
  }
}

/* Auth split layout */
.auth-page {
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(216, 255, 101, 0.16), transparent 50%),
    #f4f8f5;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
}

.auth-brand {
  display: none;
  background:
    linear-gradient(165deg, rgba(216, 255, 101, 0.14), transparent 40%),
    linear-gradient(160deg, #05382c 0%, #064737 45%, #0f6b51 100%);
  color: #f5fff9;
  padding: 2rem 2.5rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.auth-brand__mark {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
}

.auth-brand__mark:hover {
  color: var(--mkt-glow);
  text-decoration: none;
}

.auth-brand__copy {
  margin-top: 18vh;
  max-width: 26rem;
}

.auth-brand__eyebrow {
  margin: 0 0 0.75rem;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #ffffff;
}

.auth-brand__title {
  margin: 0 0 0.9rem;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.9rem, 2.6vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.auth-brand__lede {
  margin: 0;
  color: rgba(245, 255, 249, 0.92);
  line-height: 1.55;
  font-size: 1.02rem;
}

.auth-brand__panel {
  position: absolute;
  inset-inline: 2.5rem;
  bottom: 2rem;
}

.auth-preview {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  padding: 0.85rem;
  backdrop-filter: blur(8px);
}

.auth-preview__bar {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.auth-preview__bar span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.auth-preview__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0.55rem;
}

.auth-preview__tile {
  min-height: 3.2rem;
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.1);
}

.auth-preview__tile--wide {
  grid-row: span 2;
  min-height: 7rem;
  background: linear-gradient(145deg, rgba(216, 255, 101, 0.45), rgba(67, 216, 133, 0.25));
}

.auth-preview__tile--accent {
  background: rgba(216, 255, 101, 0.35);
}

.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
}

.auth-main__inner {
  width: 100%;
  max-width: 26rem;
}

.auth-card--wide + .auth-main__inner,
.auth-main__inner:has(.auth-card--wide) {
  max-width: 30rem;
}

.auth-mobile-brand {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--mkt-deep);
  text-decoration: none;
}

.auth-mobile-brand:hover {
  color: var(--mkt-mid);
  text-decoration: none;
}

.auth-card__header {
  margin-bottom: 1.5rem;
}

.auth-card__title {
  margin: 0 0 0.45rem;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.85rem;
  letter-spacing: -0.02em;
  color: var(--mkt-ink);
}

.auth-card__subtitle {
  margin: 0;
  color: var(--mkt-muted);
  line-height: 1.5;
}

.auth-form {
  display: grid;
  gap: 1rem;
}

.auth-field {
  display: grid;
  gap: 0.4rem;
}

.auth-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--mkt-ink);
}

.auth-form input,
.auth-form select,
.auth-form textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 2.85rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--mkt-line);
  border-radius: 0.65rem;
  background: #fff;
  color: var(--mkt-ink);
  font: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.auth-form input:focus,
.auth-form select:focus,
.auth-form textarea:focus {
  outline: none;
  border-color: var(--mkt-mid);
  box-shadow: 0 0 0 3px rgba(15, 107, 81, 0.15);
}

.auth-field--invalid input,
.auth-field--invalid select,
.auth-field--invalid textarea {
  border-color: #b42318;
}

.auth-field__error {
  margin: 0;
  color: #b42318;
  font-size: 0.86rem;
}

.auth-field__help {
  margin: 0;
  color: var(--mkt-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.auth-input--code {
  letter-spacing: 0.18em;
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
}

.auth-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.95rem;
  margin-top: 0.35rem;
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: 0.65rem;
  background: var(--mkt-deep);
  color: #fff;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.auth-submit:hover {
  background: var(--mkt-mid);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.auth-submit--secondary {
  background: #fff;
  color: var(--mkt-deep);
  border: 1px solid var(--mkt-line);
}

.auth-submit--secondary:hover {
  background: var(--green-100);
  color: var(--mkt-deep);
}

.auth-card__footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--mkt-line);
  display: grid;
  gap: 0.55rem;
  color: var(--mkt-muted);
  font-size: 0.94rem;
}

.auth-card__footer p {
  margin: 0;
}

.auth-alert {
  margin-bottom: 1rem;
  padding: 0.8rem 0.95rem;
  border-radius: 0.65rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

.auth-alert--error,
.auth-alert--danger {
  background: #fef3f2;
  color: #b42318;
  border: 1px solid #fecdca;
}

.auth-alert--info,
.auth-alert--success,
.auth-alert--warning {
  background: var(--green-100);
  color: var(--mkt-deep);
  border: 1px solid rgba(15, 107, 81, 0.18);
}

.auth-steps {
  margin: 0 0 1.35rem;
  padding-inline-start: 1.2rem;
  color: var(--mkt-muted);
  line-height: 1.55;
}

.auth-steps li + li {
  margin-top: 0.75rem;
}

.auth-secret {
  display: inline-block;
  margin-top: 0.45rem;
  padding: 0.45rem 0.65rem;
  border-radius: 0.45rem;
  background: #eff6f1;
  color: var(--mkt-deep);
  font-size: 0.9rem;
  word-break: break-all;
}

.auth-recovery-list {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  list-style: none;
  border-radius: 0.75rem;
  background: #eff6f1;
  border: 1px solid var(--mkt-line);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.95rem;
}

.auth-recovery-list li + li {
  margin-top: 0.35rem;
}

@media (min-width: 960px) {
  .auth-shell {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .auth-brand {
    display: flex;
    flex-direction: column;
  }

  .auth-mobile-brand {
    display: none;
  }

  .auth-main {
    padding: 3rem 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mkt-btn,
  .auth-submit {
    transition: none;
  }

  .mkt-btn:hover,
  .auth-submit:hover {
    transform: none;
  }
}

[dir="rtl"] .public-page {
  font-family: "Noto Naskh Arabic", "Plus Jakarta Sans", Manrope, system-ui, sans-serif;
}
