:root {
  --color-bg: #f8f7f9;
  --color-ink: #212529;
  --color-muted: #6c757d;
  --color-primary: #714b67;
  --color-accent: #017e84;
  --color-primary-soft: #f3eef2;
  --color-border: #e9ecef;
  --font-fa: "Vazirmatn", "Tahoma", sans-serif;
  --font-en: "Vazirmatn", "Segoe UI", "Helvetica Neue", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--color-ink);
  background:
    radial-gradient(ellipse 75% 60% at 90% 10%, color-mix(in oklab, var(--color-primary) 14%, transparent), transparent 58%),
    radial-gradient(ellipse 55% 45% at 5% 90%, color-mix(in oklab, var(--color-accent) 12%, transparent), transparent 52%),
    linear-gradient(180deg, #ffffff 0%, var(--color-bg) 100%);
  font-family: var(--font-en);
  line-height: 1.6;
}

body.is-rtl {
  font-family: var(--font-fa);
}

.site-header {
  border-bottom: 1px solid var(--color-border);
  background: color-mix(in oklab, #fff 92%, transparent);
  backdrop-filter: blur(10px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
}

.site-brand {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-primary);
}

.language-switcher select {
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  background: #fff;
  color: var(--color-ink);
  font: inherit;
}

.site-main {
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

body.root-product,
body.root-denied,
body.root-error {
  display: flex;
  flex-direction: column;
  background: #714b67;
  color: #f8f4f7;
}

body.root-product,
body.root-error {
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
}

body.root-product .site-main,
body.root-denied .site-main,
body.root-error .site-main {
  max-width: none;
  margin: 0;
  padding: 0;
  flex: 1;
  display: flex;
  min-height: 0;
}

/* ── Staff root: marketing-style hero banner (no scroll) ── */
.root-hero {
  --root-primary: #714b67;
  --root-accent: #017e84;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  min-height: 0;
  height: 100%;
  padding: 4.5rem 1.25rem 1.5rem;
  color: #fff;
  background:
    radial-gradient(ellipse 80% 70% at 92% 8%, color-mix(in oklab, var(--root-accent) 42%, transparent), transparent 55%),
    radial-gradient(ellipse 60% 50% at 8% 95%, rgba(255, 255, 255, 0.12), transparent 50%),
    linear-gradient(
      145deg,
      color-mix(in oklab, var(--root-primary) 82%, black) 0%,
      var(--root-primary) 45%,
      color-mix(in oklab, var(--root-primary) 78%, var(--root-accent)) 100%
    );
}

body.is-rtl .root-hero {
  background:
    radial-gradient(ellipse 80% 70% at 8% 8%, color-mix(in oklab, var(--root-accent) 42%, transparent), transparent 55%),
    radial-gradient(ellipse 60% 50% at 92% 95%, rgba(255, 255, 255, 0.12), transparent 50%),
    linear-gradient(
      215deg,
      color-mix(in oklab, var(--root-primary) 82%, black) 0%,
      var(--root-primary) 45%,
      color-mix(in oklab, var(--root-primary) 78%, var(--root-accent)) 100%
    );
}

.root-hero__glow {
  position: absolute;
  inset-inline-end: -4rem;
  top: 2rem;
  width: min(18rem, 45vw);
  height: min(18rem, 45vw);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  filter: blur(48px);
  pointer-events: none;
}

.root-hero__art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.root-hero__blob {
  position: absolute;
}

.root-hero__blob--a {
  width: min(28rem, 70vw);
  inset-inline-end: -18%;
  top: -22%;
  opacity: 0.55;
  animation: root-float 10s ease-in-out infinite;
}

.root-hero__blob--b {
  width: min(22rem, 60vw);
  inset-inline-start: -16%;
  bottom: -28%;
  opacity: 0.7;
  animation: root-float 12s ease-in-out infinite reverse;
}

.root-hero__lang,
.root-denied__lang,
.root-error__lang {
  position: absolute;
  z-index: 3;
  inset-inline-end: 1.25rem;
  top: 1.25rem;
}

.root-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  gap: 1.75rem;
  width: min(72rem, 100%);
  margin: 0 auto;
  flex: 1;
  min-height: 0;
}

@media (min-width: 960px) {
  .root-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.5rem;
  }
}

.root-hero__copy {
  max-width: 36rem;
  min-width: 0;
}

.root-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.is-rtl .root-hero__badge {
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.78rem;
}

.root-hero__title {
  margin: 1.1rem 0 0;
  font-size: clamp(1.85rem, 4.2vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: #fff;
}

.root-hero__subtitle {
  margin: 1rem 0 0;
  max-width: 34rem;
  font-size: clamp(0.95rem, 1.5vw, 1.125rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
}

.root-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.root-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.root-hero__btn--primary {
  background: #fff;
  color: var(--root-primary);
  box-shadow: 0 12px 28px rgba(33, 18, 30, 0.22);
}

.root-hero__btn--primary:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
}

body.is-rtl .root-hero__btn--primary svg {
  transform: scaleX(-1);
}

.root-hero__btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.root-hero__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.root-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}

.root-hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.root-hero__trust svg {
  flex-shrink: 0;
  color: #fff;
}

.root-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1.35rem 0 0;
}

.root-hero__stat {
  margin: 0;
  padding: 0.75rem 0.7rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.root-hero__stat dt {
  margin: 0;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

body.is-rtl .root-hero__stat dt {
  letter-spacing: 0;
  text-transform: none;
}

.root-hero__stat dd {
  margin: 0.3rem 0 0;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
  color: #fff;
}

.root-hero__media {
  position: relative;
  display: flex;
  justify-content: center;
  min-width: 0;
  min-height: 0;
}

.root-hero__mock {
  display: block;
  width: min(100%, 26rem);
  height: auto;
  max-height: min(58vh, 28rem);
}

.root-hero__orb {
  animation: root-twinkle 3.2s ease-in-out infinite;
}

.root-hero__orb--2 {
  animation-delay: 0.5s;
}

.root-hero__orb--3 {
  animation-delay: 1s;
}

.root-hero__domain {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  align-self: center;
  margin: 0.75rem auto 0;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

.root-hero__domain strong {
  color: #9ef0f3;
  font-weight: 600;
  direction: ltr;
}

.root-fade-up {
  animation: root-fade-up 0.7s ease-out both;
  animation-delay: var(--root-delay, 0s);
}

.root-float {
  animation: root-float 5.5s ease-in-out infinite;
  width: 100%;
  display: flex;
  justify-content: center;
}

@media (max-width: 959px) {
  .root-hero {
    padding: 4rem 1rem 1rem;
  }

  .root-hero__stats {
    gap: 0.5rem;
  }

  .root-hero__mock {
    max-height: min(38vh, 18rem);
  }

  .root-hero__title {
    font-size: clamp(1.55rem, 6vw, 2.2rem);
  }

  .root-hero__subtitle {
    font-size: 0.95rem;
  }
}

@media (max-height: 740px) {
  .root-hero__stats {
    display: none;
  }

  .root-hero__mock {
    max-height: min(42vh, 16rem);
  }

  .root-hero__cta {
    margin-top: 1rem;
  }

  .root-hero__trust {
    margin-top: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .root-fade-up,
  .root-float,
  .root-hero__blob,
  .root-hero__orb,
  .root-denied__burst,
  .root-error__burst,
  .root-error__blob {
    animation: none !important;
  }
}

/* ── Access denied + HTTP error pages (full-viewport brand stage) ── */
.root-denied,
.root-error {
  --root-primary: #714b67;
  --root-accent: #017e84;
  position: relative;
  flex: 1;
  display: grid;
  align-items: center;
  justify-items: center;
  overflow: hidden;
  width: 100%;
  min-height: 0;
  height: 100%;
  padding: 5rem 1.25rem 3rem;
  color: #fff;
  background:
    radial-gradient(ellipse 80% 70% at 92% 8%, color-mix(in oklab, var(--root-accent) 42%, transparent), transparent 55%),
    radial-gradient(ellipse 60% 50% at 8% 95%, rgba(255, 255, 255, 0.12), transparent 50%),
    linear-gradient(
      145deg,
      color-mix(in oklab, var(--root-primary) 82%, black) 0%,
      var(--root-primary) 45%,
      color-mix(in oklab, var(--root-primary) 78%, var(--root-accent)) 100%
    );
}

body.is-rtl .root-denied,
body.is-rtl .root-error {
  background:
    radial-gradient(ellipse 80% 70% at 8% 8%, color-mix(in oklab, var(--root-accent) 42%, transparent), transparent 55%),
    radial-gradient(ellipse 60% 50% at 92% 95%, rgba(255, 255, 255, 0.12), transparent 50%),
    linear-gradient(
      215deg,
      color-mix(in oklab, var(--root-primary) 82%, black) 0%,
      var(--root-primary) 45%,
      color-mix(in oklab, var(--root-primary) 78%, var(--root-accent)) 100%
    );
}

.root-error__glow {
  position: absolute;
  inset-inline-end: -4rem;
  top: 2rem;
  width: min(18rem, 45vw);
  height: min(18rem, 45vw);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  filter: blur(48px);
  pointer-events: none;
}

.root-denied__art,
.root-error__art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.root-error__blob {
  position: absolute;
}

.root-error__blob--a {
  width: min(28rem, 70vw);
  inset-inline-end: -18%;
  top: -22%;
  opacity: 0.55;
  animation: root-float 10s ease-in-out infinite;
}

.root-error__blob--b {
  width: min(22rem, 60vw);
  inset-inline-start: -16%;
  bottom: -28%;
  opacity: 0.7;
  animation: root-float 12s ease-in-out infinite reverse;
}

.root-denied__burst,
.root-error__burst {
  position: absolute;
  width: min(28rem, 80vw);
  inset-inline-end: -8%;
  top: 8%;
  opacity: 0.85;
  animation: root-spin 60s linear infinite;
}

.root-denied__inner,
.root-error__inner {
  position: relative;
  z-index: 2;
  width: min(40rem, 100%);
}

.root-denied__stamp,
.root-error__stamp {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9ef0f3;
}

body.is-rtl .root-denied__stamp,
body.is-rtl .root-error__stamp {
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.82rem;
}

.root-error__code {
  margin: 0;
  font-size: clamp(4.5rem, 16vw, 7.5rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.9;
  color: rgba(255, 255, 255, 0.14);
  user-select: none;
}

.root-denied__title,
.root-error__title {
  margin: 0.35rem 0 0.85rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
}

.root-denied__lead,
.root-error__lead {
  margin: 0 0 1.5rem;
  max-width: 34rem;
  color: rgba(255, 245, 250, 0.72);
  font-size: 1.05rem;
  line-height: 1.65;
}

.root-denied__abuse {
  margin: 0 0 1.5rem;
  padding: 0.25rem 1.15rem;
  list-style: none;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
}

.root-denied__abuse li {
  margin: 0;
  padding: 0.85rem 0;
  color: #f8f4f7;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.root-denied__abuse li:first-child {
  border-top: 0;
}

.root-denied__cta,
.root-error__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}

.root-denied__home,
.root-error__home {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  background: #fff;
  color: var(--root-primary, #714b67);
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(33, 18, 30, 0.22);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.root-denied__home:hover,
.root-error__home:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
}

body.is-rtl .root-error__home svg {
  transform: scaleX(-1);
}

.root-denied__domain,
.root-error__domain {
  display: inline-flex;
  margin: 0;
  padding: 0.55rem 0.9rem;
  border-radius: 0.85rem;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
  font-weight: 600;
  color: #9ef0f3;
  direction: ltr;
}

@media (max-width: 640px) {
  .root-error {
    padding: 4.5rem 1rem 2rem;
  }

  .root-error__code {
    font-size: clamp(3.5rem, 22vw, 5rem);
  }
}

.lang-switch {
  margin: 0;
}

.lang-switch__track {
  display: inline-flex;
  align-items: stretch;
  padding: 0.22rem;
  gap: 0.15rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 28px rgba(33, 18, 30, 0.18);
}

.lang-switch__option {
  appearance: none;
  border: 0;
  margin: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.lang-switch__option:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.lang-switch__option.is-active {
  background: linear-gradient(135deg, #017e84 0%, #02949c 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(1, 126, 132, 0.35);
}

.lang-switch__code {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.lang-switch__name {
  font-weight: 500;
}

.lang-switch--root .lang-switch__option.is-active,
body.root-product .lang-switch__option.is-active,
body.root-denied .lang-switch__option.is-active,
body.root-error .lang-switch__option.is-active {
  background: linear-gradient(135deg, #017e84 0%, #02a3ab 100%);
}

@media (max-width: 640px) {
  .lang-switch__name {
    display: none;
  }
}

@keyframes root-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes root-fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes root-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes root-twinkle {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1.25);
  }
}

.site-footer {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2.5rem;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.flash-messages {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.flash {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.flash-success {
  border-color: rgba(11, 110, 79, 0.35);
  background: rgba(11, 110, 79, 0.08);
}

.flash-error,
.flash-warning {
  border-color: rgba(180, 83, 9, 0.35);
  background: rgba(255, 237, 213, 0.9);
}

.flash-info {
  background: rgba(255, 255, 255, 0.9);
}

.wizard__header {
  margin-bottom: 1.5rem;
}

.wizard__eyebrow {
  margin: 0 0 0.35rem;
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.wizard h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.wizard__lead,
.wizard__hint {
  margin: 0 0 0.75rem;
  color: var(--color-muted);
  max-width: 42rem;
}

.wizard__hint {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: rgba(11, 110, 79, 0.06);
  border: 1px dashed rgba(11, 110, 79, 0.25);
}

.wizard__warn {
  color: #9a3412;
  font-weight: 600;
}

.wizard-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
  gap: 0.5rem;
  margin: 0 0 1.5rem;
  padding: 0;
}

.wizard-steps__link {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.65rem 0.7rem;
  border-radius: 0.55rem;
  text-decoration: none;
  color: var(--color-muted);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.06);
  min-height: 100%;
}

.wizard-steps__item.is-current .wizard-steps__link {
  color: var(--color-ink);
  border-color: rgba(11, 110, 79, 0.45);
  background: #fff;
  box-shadow: 0 0 0 1px rgba(11, 110, 79, 0.12);
}

.wizard-steps__item.is-done .wizard-steps__link {
  color: var(--color-accent);
}

.wizard-steps__index {
  font-size: 0.75rem;
  font-weight: 700;
}

.wizard-steps__title {
  font-size: 0.85rem;
  line-height: 1.3;
}

.wizard__panel {
  padding: 1.25rem 1.35rem 1.5rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.wizard__panel h2 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

.wizard__panel h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1rem;
}

.wizard__order-list,
.wizard__checklist {
  margin: 0 0 1.25rem;
  padding-inline-start: 1.25rem;
  color: var(--color-ink);
}

.wizard__checklist .is-ok::marker {
  color: var(--color-accent);
}

.wizard__checklist .is-missing {
  color: #9a3412;
}

.wizard__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.25rem;
}

.wizard-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.1rem;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.wizard-btn--primary {
  background: var(--color-accent);
  color: #fff;
}

.wizard-btn--ghost {
  background: #fff;
  color: var(--color-ink);
  border-color: rgba(0, 0, 0, 0.12);
}

.wizard__aside {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.wizard__code {
  display: block;
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  overflow-x: auto;
  border-radius: 0.45rem;
  background: #1a1a1a;
  color: #e8f0ec;
  font-size: 0.85rem;
}

.wizard-form {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.wizard-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.wizard-input,
.wizard-select,
.wizard-textarea {
  width: 100%;
  max-width: 32rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.4rem;
  background: #fff;
  font: inherit;
}

.wizard-field__help {
  margin: 0.35rem 0 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  max-width: 36rem;
}

.wizard-field__errors,
.wizard-form__errors {
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
  color: #b91c1c;
  font-size: 0.9rem;
}

.wizard-field.has-error .wizard-input,
.wizard-field.has-error .wizard-select {
  border-color: #b91c1c;
}

.wizard__summary-card {
  margin-bottom: 1.25rem;
  padding: 1rem;
  border-radius: 0.65rem;
  background: rgba(11, 110, 79, 0.05);
}

.wizard__dl {
  display: grid;
  grid-template-columns: minmax(8rem, 10rem) 1fr;
  gap: 0.4rem 1rem;
  margin: 0;
}

.wizard__dl dt {
  color: var(--color-muted);
}

.wizard__dl dd {
  margin: 0;
  font-weight: 600;
}

@media (max-width: 640px) {
  .wizard__dl {
    grid-template-columns: 1fr;
  }
}
