/* Portal UI — builds on colors_and_type.css */

/* ---------- top bar / header ---------- */
.topbar {
  background: var(--brand-green-900);
  color: #fff;
  font-size: 12px;
}

.topbar-inner {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 6px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.draft-toast {
  position: absolute;
  top: -45px;
  right: 0;
  background: var(--brand-green-700);
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  animation: toastSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  z-index: 10;
  pointer-events: none;
}

@keyframes toastSlideIn {
  from {
    transform: translateX(30px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.topbar .muted {
  opacity: 0.75;
}

.flag-stripe {
  height: 4px;
  background: linear-gradient(to left, #9b1b1b 0 33.33%, #ffffff 33.33% 66.66%, #111 66.66% 100%);
}

.site-header {
  background: var(--brand-green-800);
  color: #fff;
}

.site-header-inner {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-header .crest {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 50%;
  padding: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.site-header .emblem {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  opacity: 0.9;
  margin-right: auto;
}

.site-header .title-block h1 {
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  line-height: 1.25;
  color: #fff;
}

.site-header .title-block .sub {
  font-size: 13px;
  opacity: 0.85;
  margin-top: 3px;
}

.site-nav {
  background: #fff;
  border-bottom: 1px solid var(--border-1);
}

.site-nav-inner {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 28px;
}

.site-nav a {
  font-size: 14px;
  color: var(--fg-2);
  padding: 14px 0;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  transition: color 120ms ease, border-color 120ms ease;
  cursor: pointer;
}

.site-nav a:hover {
  color: var(--brand-green-800);
  border-bottom-color: transparent;
}

.site-nav a.active {
  color: var(--brand-green-800);
  border-bottom-color: var(--brand-green-700);
  font-weight: 700;
}

/* ---------- shell ---------- */
.shell {
  max-width: 880px;
  margin: 0 auto;
  padding: 28px 20px 60px;
}

.shell.landing {
  max-width: var(--container-lg);
}

.page-title h2 {
  font-size: 26px;
  font-weight: 800;
  margin: 0;
  color: var(--fg-1);
}

.page-title-sub {
  font-size: 13px;
  color: var(--fg-3);
  margin-top: 4px;
}

/* ---------- stepper ---------- */
.stepper-wrap {
  margin: 22px 0 16px;
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: 6px;
  padding: 16px 20px;
}

.stepper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stepper .step {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stepper .num {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  border: 1.5px solid var(--border-2);
  background: #fff;
  color: var(--fg-3);
}

.stepper .step.done .num {
  background: var(--brand-green-700);
  border-color: var(--brand-green-700);
  color: #fff;
}

.stepper .step.active .num {
  background: #fff;
  border-color: var(--brand-green-700);
  color: var(--brand-green-700);
  box-shadow: 0 0 0 3px rgba(20, 102, 63, 0.18);
}

.stepper .label {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-3);
  white-space: nowrap;
}

.stepper .step.done .label {
  color: var(--fg-1);
}

.stepper .step.active .label {
  color: var(--brand-green-800);
  font-weight: 700;
}

.stepper .line {
  flex: 1;
  height: 2px;
  background: var(--border-1);
  min-width: 16px;
}

.stepper .line.done {
  background: var(--brand-green-700);
}

/* ---------- form card ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: 6px;
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}

.form-card .section {
  padding: 24px 28px;
}

.form-card .section+.section {
  border-top: 1px solid var(--border-1);
}

.section-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--fg-1);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-1);
  position: relative;
}

.section-title::before {
  content: '';
  position: absolute;
  right: 0;
  bottom: -1px;
  width: 60px;
  height: 2px;
  background: var(--brand-green-700);
}

.section-note {
  font-size: 14px;
  color: var(--fg-2);
  margin: -4px 0 18px;
}

.sub-title {
  font-size: 15px;
  font-weight: 700;
  margin: 16px 0 12px;
  color: var(--fg-1);
}

.subsection {
  background: var(--bg-tint);
  border: 1px solid var(--brand-green-100);
  border-radius: 6px;
  padding: 16px 18px;
  margin-top: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px 18px;
}

/* ---------- fields ---------- */
.field {
  display: flex;
  flex-direction: column;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-2);
  margin-bottom: 6px;
}

.field .req {
  color: var(--brand-red-700);
  margin-left: 3px;
  font-weight: 700;
}

.input {
  font-family: var(--font-sans-ar);
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid var(--border-2);
  border-radius: 4px;
  font-size: 15px;
  background: #fff;
  color: var(--fg-1);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.input:focus {
  outline: 0;
  border-color: var(--brand-green-700);
  box-shadow: 0 0 0 3px rgba(20, 102, 63, 0.2);
}

.field.has-error .input {
  border-color: var(--brand-red-600);
}

.err-msg {
  font-size: 12px;
  color: var(--brand-red-700);
  margin-top: 4px;
}

.hint {
  font-size: 12px;
  color: var(--fg-3);
  margin-top: 4px;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 4px;
}

.radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--fg-1);
  padding: 6px 12px;
  border: 1px solid var(--border-2);
  border-radius: 4px;
  background: #fff;
  transition: all 120ms ease;
}

.radio input {
  display: none;
}

.radio .dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 1.5px solid var(--border-2);
  background: #fff;
  position: relative;
}

.radio.checked {
  border-color: var(--brand-green-700);
  background: var(--bg-tint);
  color: var(--brand-green-800);
  font-weight: 500;
}

.radio.checked .dot {
  border-color: var(--brand-green-700);
}

.radio.checked .dot::after {
  content: '';
  position: absolute;
  inset: 2.5px;
  background: var(--brand-green-700);
  border-radius: 999px;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
}

.check input {
  width: 16px;
  height: 16px;
  accent-color: var(--brand-green-700);
}

.check-big {
  display: flex;
  padding: 12px 14px;
  border: 1px solid var(--border-1);
  border-radius: 6px;
  background: var(--bg-muted);
  line-height: 1.6;
  align-items: flex-start;
}

.check-big input {
  margin-top: 3px;
}

.file-input {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px dashed var(--border-2);
  border-radius: 6px;
  padding: 8px 10px;
  background: var(--bg-muted);
  cursor: pointer;
  transition: border-color 120ms ease;
}

.file-input:hover {
  border-color: var(--brand-green-700);
}

.file-cta {
  background: var(--brand-green-700);
  color: #fff;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
}

.file-name {
  font-size: 13px;
  color: var(--fg-3);
  flex: 1;
}

/* ---------- buttons ---------- */
.btn {
  font-family: var(--font-sans-ar);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 120ms ease;
  border: 1px solid transparent;
}

.btn-lg {
  font-size: 18px;
  font-weight: 700;
  padding: 16px 40px;
  min-width: 240px;
  border-radius: 6px;
}

.btn-md {
  font-size: 14px;
  padding: 10px 20px;
}

.btn-sm {
  font-size: 13px;
  padding: 6px 14px;
}

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

.btn-primary:hover {
  background: var(--brand-green-800);
}

.btn-primary:active {
  transform: translateY(1px);
}

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

.btn-secondary:hover {
  background: var(--bg-tint);
}

.btn-ghost {
  background: transparent;
  color: var(--fg-2);
  border-color: var(--border-2);
}

.btn-ghost:hover {
  background: var(--bg-muted);
  color: var(--fg-1);
}

.btn-danger {
  background: var(--brand-red-700);
  color: #fff;
  border-color: #6b1212;
}

.btn-danger:hover {
  background: #6b1212;
}

.btn.is-disabled,
.btn:disabled {
  background: var(--neutral-100);
  color: var(--fg-muted);
  border-color: var(--border-1);
  cursor: not-allowed;
}

/* ---------- form actions ---------- */
.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 28px;
  border-top: 1px solid var(--border-1);
  background: var(--bg-muted);
}

.row-g {
  display: flex;
  gap: 10px;
}

.form-note {
  margin-top: 18px;
  background: #fff;
  border: 1px solid var(--border-1);
  border-left: 3px solid var(--brand-gold-500);
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.7;
}

[dir="rtl"] .form-note {
  border-left: 1px solid var(--border-1);
  border-right: 3px solid var(--brand-gold-500);
}

/* ---------- alerts ---------- */
.alert {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.6;
  border: 1px solid;
}

.alert-title {
  font-weight: 700;
  margin: 0 0 2px;
  font-size: 14px;
}

.alert p {
  margin: 0;
  color: inherit;
}

.alert-mark {
  width: 4px;
  border-radius: 2px;
  flex-shrink: 0;
}

.alert-info {
  background: #e7efff;
  border-color: #b8cbeb;
  color: #1c5599;
}

.alert-ok {
  background: #e6f4ea;
  border-color: #b6d9c2;
  color: #0f5132;
}

.alert-err {
  background: #fdecea;
  border-color: #eaa9a9;
  color: #9b1b1b;
}

/* ---------- documents ---------- */
.doc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.doc-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--border-1);
  border-radius: 6px;
  background: #fff;
  transition: all 0.2s ease;
}

.doc-row.has-error {
  border-color: #e53e3e;
  background: #fff5f5;
  box-shadow: 0 0 0 1px #e53e3e;
}

.doc-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--brand-green-900);
}

.doc-sub {
  font-size: 12px;
  color: var(--fg-3);
  margin-top: 2px;
}

.doc-error {
  font-size: 12px;
  color: #e53e3e;
  font-weight: 700;
  margin-top: 6px;
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  overflow: hidden;
}

.review-row {
  display: grid;
  grid-template-columns: 40% 60%;
  border-top: 1px solid var(--border-strong);
}

.review-row:nth-child(-n+2) {
  border-top: 0;
}

.review-label {
  padding: 10px 12px;
  background: var(--neutral-50);
  font-weight: 500;
  font-size: 13px;
  border-left: 1px solid var(--border-strong);
}

[dir="rtl"] .review-label {
  border-left: 0;
  border-right: 0;
  border-inline-end: 1px solid var(--border-strong);
}

.review-value {
  padding: 10px 12px;
  font-size: 14px;
}

.muted {
  color: var(--fg-muted);
}

/* ---------- landing ---------- */
.hero {
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: 8px;
  padding: 40px 44px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 3px;
  background: var(--brand-green-700);
}

.hero-meta {
  font-size: 12px;
  color: var(--fg-3);
  letter-spacing: 0.04em;
  font-weight: 500;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--fg-1);
  margin: 0 0 14px;
  max-width: 700px;
}

.hero-sub {
  font-size: 16px;
  color: var(--fg-2);
  line-height: 1.75;
  max-width: 680px;
  margin: 0 0 24px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.hero-note {
  font-size: 13px;
  color: var(--fg-3);
  padding-top: 14px;
  border-top: 1px dashed var(--border-1);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.info-card {
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: 6px;
  overflow: hidden;
}

.info-stripe {
  height: 3px;
  background: var(--brand-gold-500);
}

.info-body {
  padding: 20px 22px;
}

.info-body h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--brand-green-800);
}

.info-body ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-body li {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.75;
  padding-right: 18px;
  position: relative;
  margin-bottom: 6px;
}

.info-body li::before {
  content: '';
  position: absolute;
  right: 4px;
  top: 10px;
  width: 5px;
  height: 5px;
  background: var(--brand-green-700);
  border-radius: 999px;
}

.steps-strip {
  margin-top: 28px;
  background: var(--bg-tint);
  border: 1px solid var(--brand-green-100);
  border-radius: 6px;
  padding: 24px;
}

.steps-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-green-800);
  margin-bottom: 16px;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.step-box {
  background: #fff;
  border: 1px solid var(--brand-green-100);
  border-radius: 6px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--brand-green-800);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}

.step-label {
  font-size: 13px;
  color: var(--fg-1);
  font-weight: 500;
  line-height: 1.45;
}

/* ---------- confirmation ---------- */
.confirm {
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: 8px;
  padding: 48px 40px;
  text-align: center;
}

.confirm-mark {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: var(--bg-tint);
  color: var(--brand-green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 2px solid var(--brand-green-700);
}

.confirm h1 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 10px;
}

.confirm p {
  font-size: 15px;
  color: var(--fg-2);
  line-height: 1.75;
  max-width: 500px;
  margin: 0 auto 24px;
}

.confirm-id {
  background: var(--bg-tint);
  border: 1px dashed var(--brand-green-700);
  border-radius: 6px;
  padding: 18px;
  display: inline-block;
  margin-bottom: 24px;
}

.confirm-id-label {
  font-size: 12px;
  color: var(--fg-3);
  font-weight: 500;
  margin-bottom: 6px;
}

.confirm-id-value {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--brand-green-900);
  letter-spacing: 0.04em;
}

.confirm-id-sub {
  font-size: 12px;
  color: var(--fg-3);
  margin-top: 6px;
}

.confirm-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--brand-green-900);
  color: #fff;
  margin-top: 60px;
}

.footer-inner {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 36px 20px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
}

.footer-crest {
  width: 64px;
  height: 64px;
  margin-bottom: 14px;
  background: #fff;
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.footer-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
}

.footer-sub {
  font-size: 13px;
  opacity: 0.8;
  line-height: 1.7;
}

.footer-col .footer-heading {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--brand-gold-500);
  letter-spacing: 0.02em;
}

.footer-col a {
  display: block;
  color: #fff;
  font-size: 13px;
  opacity: 0.85;
  padding: 3px 0;
  text-decoration: none;
  border: 0;
}

.footer-col a:hover {
  opacity: 1;
  border: 0;
}

.footer-line {
  font-size: 13px;
  opacity: 0.85;
  padding: 3px 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 20px;
  text-align: center;
  font-size: 12px;
  opacity: 0.75;
}

/* ---------- status / chips / timeline ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid;
}

.chip-review {
  background: #fff3d6;
  color: #8a5a08;
  border-color: #e8c97a;
}

.chip-approved {
  background: #e6f4ea;
  color: #0f5132;
  border-color: #b6d9c2;
}

.chip-rejected {
  background: #fdecea;
  color: #9b1b1b;
  border-color: #eaa9a9;
}

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 28px 8px 0;
  margin: 0;
}

.timeline::before {
  content: '';
  position: absolute;
  right: 13px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: var(--border-1);
}

.tl-row {
  position: relative;
  padding: 14px 0;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.tl-dot {
  position: absolute;
  right: -28px;
  top: 14px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--fg-3);
  flex-shrink: 0;
  z-index: 1;
}

.tl-done .tl-dot {
  background: var(--brand-green-700);
  border-color: var(--brand-green-700);
  color: #fff;
}

.tl-active .tl-dot {
  border-color: var(--brand-green-700);
  color: var(--brand-green-700);
  box-shadow: 0 0 0 3px rgba(20, 102, 63, 0.18);
}

.tl-body {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}

.tl-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg-1);
  line-height: 1.5;
}

.tl-todo .tl-label {
  color: var(--fg-3);
  font-weight: 500;
}

.tl-date {
  font-size: 13px;
  color: var(--fg-3);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ---------- legal / terms ---------- */
.legal-list {
  padding-right: 22px;
  margin: 0;
  counter-reset: legal;
  list-style: none;
}

.legal-list li {
  position: relative;
  padding: 8px 0;
  font-size: 14.5px;
  color: var(--fg-1);
  line-height: 1.85;
  counter-increment: legal;
  padding-right: 32px;
}

.legal-list li::before {
  content: counter(legal);
  position: absolute;
  right: 0;
  top: 10px;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: var(--bg-tint);
  color: var(--brand-green-800);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--brand-green-100);
}

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--border-1);
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-q {
  all: unset;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 28px;
  box-sizing: border-box;
  transition: background 120ms ease;
}

.faq-q:hover {
  background: var(--bg-muted);
}

.faq-item.is-open .faq-q {
  background: var(--bg-tint);
}

.faq-q-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--brand-green-700);
  font-weight: 700;
  flex-shrink: 0;
}

.faq-q-text {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: var(--fg-1);
}

.faq-q-icon {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-green-800);
  flex-shrink: 0;
}

.faq-item.is-open .faq-q-icon {
  background: var(--brand-green-700);
  color: #fff;
  border-color: var(--brand-green-700);
}

.faq-a {
  padding: 0 28px 22px 70px;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--fg-2);
}

/* ---------- responsive ---------- */
@media (max-width: 760px) {

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

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

  .steps-list {
    grid-template-columns: 1fr 1fr;
  }

  .site-header-inner {
    flex-wrap: nowrap;
    gap: 12px;
    padding: 14px 16px;
  }

  .site-header .crest {
    width: 60px;
    height: 60px;
    padding: 6px;
  }

  .site-header .title-block h1 {
    font-size: 16px;
    line-height: 1.3;
  }

  .site-header .title-block .sub {
    font-size: 11px;
    margin-top: 4px;
    line-height: 1.4;
    opacity: 0.9;
  }

  .site-header .emblem {
    display: none;
  }

  .hero {
    padding: 28px 24px;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .stepper {
    overflow-x: auto;
  }

  .stepper .label {
    display: none;
  }

  .stepper .step.active .label {
    display: inline;
  }
}

/* ---------- spinner / loading ---------- */
.is-loading {
  display: flex !important;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.spinner-sm {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Branded QR Code (Right Aligned) ---------- */
.confirm-qr-wrapper {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 48px auto 0 !important;
  width: 100%;
  border-top: 1px solid var(--border-1);
  padding-top: 32px;
  clear: both;
}

.confirm-qr {
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  border: 5px solid var(--brand-green-700);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto !important;
}

.confirm-qr img {
  display: block;
  width: 160px;
  height: 160px;
}

.confirm-qr-text {
  margin-top: 16px;
  font-size: 14px;
  color: var(--brand-green-700);
  font-weight: 800;
  letter-spacing: 0.5px;
}