:root {
  color-scheme: light;
  --page: #ffffff;
  --soft: #f7f8fb;
  --cream: #fff4c8;
  --yellow: #ffdb70;
  --blue: #2f3de8;
  --blue-2: #eef1ff;
  --ink: #202124;
  --muted: #6a6f7a;
  --line: #d8dbe3;
  --line-dark: #1d1f26;
  --success: #12805c;
  --success-soft: #e8f7f1;
  --warning: #b86f00;
  --warning-soft: #fff6df;
  --danger: #d33a2c;
  --danger-soft: #fff0ee;
  --shadow: 0 16px 36px rgba(35, 48, 90, 0.12);
  --shadow-blue: 0 8px 0 rgba(47, 61, 232, 0.16);
  --radius: 16px;
  --radius-lg: 24px;
  --font-body: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
  --font-heading: "Estedad", "Vazirmatn", sans-serif;
  --font-display: "Lalezar", "Estedad", "Vazirmatn", sans-serif;
  --font-data: "Roboto Mono", "Vazirmatn", monospace;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: var(--font-body);
  font-size: 16px;
  overflow-x: hidden;
  zoom: 0.8;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
}


.page-grid {
  position: fixed;
  inset: auto 0 0 0;
  height: 34vh;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to top, #f4f7ff, rgba(244, 247, 255, 0));
}

.global-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 72px;
  display: flex;
  direction: ltr;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px max(28px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(47, 61, 232, 0.13);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(240, 245, 255, 0.95) 48%, rgba(240, 255, 247, 0.94)),
    rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 34px rgba(35, 48, 90, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  direction: ltr;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 0;
  filter: drop-shadow(0 10px 18px rgba(31, 142, 234, 0.18));
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: #11131a;
  font-family: var(--font-heading);
  font-size: 17px;
  line-height: 1.15;
  letter-spacing: 0;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  direction: rtl;
}

.header-actions {
  min-width: 0;
  display: flex;
  direction: ltr;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.header-pill {
  min-height: 40px;
  display: inline-flex;
  direction: rtl;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid rgba(47, 61, 232, 0.16);
  border-radius: var(--radius);
  background: var(--blue-2);
  color: #172033;
  white-space: nowrap;
}

.header-pill span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
}

.header-pill strong {
  font-size: 12px;
  font-weight: 950;
}

.top-nav {
  display: flex;
  direction: rtl;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.top-nav a,
.header-buy-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 14px;
  border: 0;
  font-family: inherit;
  font-size: 13px;
  color: #121522;
  background: transparent;
  cursor: pointer;
  font-weight: 900;
  transition:
    color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  color: var(--blue);
  background: var(--blue-2);
  transform: translateY(-1px);
}

.header-buy-button {
  background: var(--blue);
  color: #ffffff;
  box-shadow: var(--shadow-blue);
}

.header-buy-button:hover,
.header-buy-button:focus-visible {
  background: #2635d8;
  color: #ffffff;
  transform: translateY(-1px);
}

.app-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 18px 0 56px;
}

main {
  display: grid;
  gap: 26px;
}

.screen-hero {
  position: relative;
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
  overflow: hidden;
  padding: 32px 0 22px;
}

.hero-copy {
  z-index: 2;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-heading);
  letter-spacing: 0;
}

h1 {
  max-width: 620px;
  margin-bottom: 0;
  color: #282a31;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.2vw, 2.85rem);
  line-height: 1.22;
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 0;
  color: #202329;
  font-size: 24px;
}

.lede {
  max-width: 610px;
  margin: 14px 0 0;
  color: #3e434d;
  font-size: 16px;
  line-height: 1.85;
}

.automation-highlight {
  width: min(100%, 560px);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 11px 13px;
  border: 1.5px solid rgba(18, 128, 92, 0.26);
  border-radius: 20px;
  background: linear-gradient(135deg, var(--success-soft) 0%, #ffffff 80%);
  box-shadow: 0 14px 32px rgba(18, 128, 92, 0.1);
}

.automation-highlight span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--success);
  color: #ffffff;
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.automation-highlight strong {
  color: #0f5f46;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.55;
}

.hero-service-card {
  width: min(100%, 560px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(35, 48, 90, 0.1);
}

.hero-service-card div {
  min-width: 0;
  padding: 10px 12px;
  border-radius: 15px;
  background: var(--soft);
}

.hero-service-card span,
.hero-service-card strong {
  display: block;
}

.hero-service-card span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.hero-service-card strong {
  margin-top: 3px;
  color: #202329;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.hero-art {
  width: min(300px, 64%);
  justify-self: end;
  align-self: center;
  grid-row: 1 / span 2;
  grid-column: 2;
  margin: 0 12px 0 0;
  filter: drop-shadow(0 18px 32px rgba(66, 133, 244, 0.16));
}

.summary-strip {
  z-index: 3;
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-self: end;
}

.summary-strip div {
  min-width: 150px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 26px rgba(31, 42, 80, 0.08);
}

.summary-strip span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.summary-strip strong {
  display: block;
  margin-top: 3px;
  color: var(--blue);
  font-size: 28px;
  line-height: 1.1;
}

.workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 26px;
  align-items: start;
}

.result-rail {
  display: grid;
  gap: 26px;
}

.module {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.form-module,
.result-module,
.support-module {
  display: grid;
  gap: 20px;
  padding: 26px;
}

.service-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(47, 61, 232, 0.16);
  border-radius: 20px;
  background: linear-gradient(135deg, #eef1ff 0%, #ffffff 100%);
}

.service-context span,
.service-context strong {
  display: block;
}

.service-context span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.service-context strong {
  margin-top: 4px;
  color: var(--blue);
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 950;
  line-height: 1.4;
}

.service-context em {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--success-soft);
  color: var(--success);
  font-size: 13px;
  font-style: normal;
  font-weight: 950;
  white-space: nowrap;
}

.module-head {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.module-head.compact {
  margin-top: 4px;
}

.module-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.75;
}

.step-badge,
.progress-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 18px;
  background: var(--blue-2);
  color: var(--blue);
  font-weight: 950;
}

.status-dot {
  width: 16px;
  height: 16px;
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 8px rgba(18, 128, 92, 0.12);
}

.field,
.field-block {
  display: grid;
  gap: 9px;
}

.field span,
.field-label,
.field-title {
  color: #1f2430;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 900;
}

.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  outline: none;
  padding: 13px 15px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

input::placeholder {
  font-family: var(--font-body);
  color: #9aa3b8;
}

input[dir="ltr"],
code,
.request-specs strong[dir="ltr"],
.raw-message,
.english-message {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(47, 61, 232, 0.12);
}

input.is-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(211, 58, 44, 0.12);
}

input:disabled {
  cursor: not-allowed;
  background: #f2f4f8;
  color: #8b94a6;
}

.field-error {
  min-height: 19px;
  color: var(--danger);
  font-size: 13px;
  font-weight: 800;
}

.inline-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.security-code-grid {
  display: grid;
  gap: 14px;
}

.security-code-grid.is-backup {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.security-code-grid [hidden] {
  display: none;
}

.option-grid {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
}

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

.option-grid legend {
  grid-column: 1 / -1;
  margin-bottom: 10px;
}

.auth-type {
  row-gap: 18px;
  padding-top: 4px;
}

.auth-type .field-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding-bottom: 2px;
}

.auth-type-title .inline-help-link {
  margin-right: 0;
  white-space: nowrap;
}

.option-card {
  position: relative;
  min-width: 0;
}

.option-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-card span {
  min-height: 84px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.option-card span:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 61, 232, 0.35);
  box-shadow: 0 12px 24px rgba(47, 61, 232, 0.08);
}

.option-card strong,
.option-card small {
  display: block;
}

.option-card strong {
  color: #1f2430;
  font-size: 15px;
  font-weight: 950;
}

.recommend-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  margin-right: 8px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--success-soft);
  color: var(--success);
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  vertical-align: middle;
}

.inline-help-link {
  display: inline-flex;
  margin-right: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
}

.field-label-row .inline-help-link {
  margin-right: 0;
  white-space: nowrap;
}

.inline-help-link:hover,
.inline-help-link:focus-visible {
  text-decoration: underline;
}

.option-card small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.65;
}

.option-card input:checked + span {
  border-color: var(--blue);
  background: var(--blue-2);
  box-shadow: inset 0 0 0 1px var(--blue);
}

.option-card input:disabled + span {
  cursor: not-allowed;
  opacity: 0.62;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1.5px solid var(--line-dark);
  border-radius: var(--radius);
  background: #fff;
  color: #141722;
  cursor: pointer;
  font-weight: 950;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.68;
  transform: none;
  box-shadow: none;
}

.button.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.button.submit {
  border-color: var(--success);
  background: var(--success);
  color: #fff;
  box-shadow: 0 8px 0 rgba(18, 128, 92, 0.16);
}

.button.full {
  width: 100%;
}

.button-icon {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  font-family: Arial, sans-serif;
  line-height: 1;
}

.progress-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.progress-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.progress-item.is-active {
  border-color: rgba(255, 186, 44, 0.85);
  background: #fff9e8;
}

.progress-item.is-done {
  border-color: rgba(18, 128, 92, 0.35);
  background: var(--success-soft);
}

.progress-item.is-done .progress-number {
  background: var(--success-soft);
  color: var(--success);
}

.progress-item.is-active .progress-number {
  background: var(--yellow);
  color: #5d4b12;
}

.progress-item strong,
.progress-item small {
  display: block;
}

.progress-item strong {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
}

.progress-item small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

.result-callout {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 18px;
}

.result-callout.success {
  background: var(--success-soft);
  color: #0f5f46;
}

.result-callout.warning {
  background: var(--warning-soft);
  color: var(--warning);
}

.result-callout.error {
  background: var(--danger-soft);
  color: var(--danger);
}

.result-callout strong {
  font-size: 15px;
  font-weight: 950;
}

.result-callout span {
  color: #3e604f;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.75;
}

.result-callout.warning span {
  color: #775119;
}

.result-callout.error span {
  color: #873026;
}

.compact-list {
  display: grid;
  gap: 12px;
}

.compact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.compact-row strong,
.compact-row small {
  display: block;
}

.compact-row strong {
  color: #1f2430;
  font-weight: 950;
}

.compact-row small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

.compact-row em {
  color: var(--blue);
  font-size: 13px;
  font-style: normal;
  font-weight: 950;
}

.compact-row.is-link {
  color: inherit;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.compact-row.is-link:hover,
.compact-row.is-link:focus-visible {
  border-color: rgba(47, 61, 232, 0.35);
  background: var(--blue-2);
  box-shadow: 0 12px 24px rgba(47, 61, 232, 0.08);
  transform: translateY(-2px);
}

.guide-spotlight-link {
  position: relative;
  overflow: hidden;
  align-items: flex-start;
  padding: 18px;
  border: 1.5px solid rgba(47, 61, 232, 0.34);
  background: linear-gradient(135deg, #eef1ff 0%, #ffffff 72%);
  box-shadow:
    0 14px 32px rgba(47, 61, 232, 0.12),
    inset 0 0 0 1px rgba(47, 61, 232, 0.08);
}

.guide-spotlight-link::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 7px;
  height: 100%;
  background: var(--blue);
}

.guide-spotlight-link strong {
  color: var(--blue);
  font-size: 18px;
}

.guide-spotlight-link small {
  color: #3e434d;
  font-size: 14px;
}

.guide-spotlight-link em {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--blue);
  color: #ffffff;
  box-shadow: var(--shadow-blue);
}

.request-status-panel {
  display: grid;
  gap: 20px;
  padding: 26px;
  border-radius: var(--radius-lg);
  color: #ffffff;
  background: #5b3fa8;
  box-shadow: 0 18px 42px rgba(62, 44, 126, 0.22);
}

.request-status-panel[hidden] {
  display: none;
}

.request-status-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.request-status-icon {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 20px;
  line-height: 1;
}

.request-status-head h2 {
  color: #ffffff;
  font-family: var(--font-heading);
}

.request-status-head p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.request-status-body {
  display: grid;
  gap: 14px;
}

.request-status-empty {
  margin: 0;
  padding: 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.65;
  text-align: center;
}

.request-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.1)),
    rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.request-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: rgba(255, 255, 255, 0.38);
}

.request-card:has(.request-status-badge.error) {
  border-color: rgba(255, 118, 104, 0.45);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(116, 75, 183, 0.2)),
    rgba(255, 255, 255, 0.11);
}

.request-card:has(.request-status-badge.error)::before {
  background: linear-gradient(180deg, #ff8a7f, #df3f4b);
  box-shadow: 0 0 26px rgba(255, 90, 86, 0.45);
}

.request-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.request-card-title {
  display: grid;
  gap: 3px;
  text-align: right;
}

.request-card-title strong,
.request-card-title small {
  display: block;
}

.request-card-title strong {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 950;
}

.request-card-title small {
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 700;
}

.request-status-badge {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 950;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(31, 22, 71, 0.18);
}

.request-status-badge.success {
  background: linear-gradient(135deg, #1fb884, #0c7d60);
}

.request-status-badge.warning {
  background: rgba(255, 219, 112, 0.25);
  color: #fff3c6;
}

.request-status-badge.error {
  background: linear-gradient(135deg, #ff6a5c, #d93245);
}

.request-result {
  margin: 0;
  padding: 18px 18px 18px 20px;
  border-radius: 14px;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 950;
  line-height: 1.85;
  text-wrap: pretty;
}

.request-result.error {
  border: 1px solid rgba(255, 139, 128, 0.42);
  background:
    linear-gradient(135deg, rgba(255, 114, 100, 0.22), rgba(255, 255, 255, 0.08)),
    rgba(55, 32, 101, 0.28);
  box-shadow: 0 18px 34px rgba(89, 42, 84, 0.22);
}

.request-result.warning {
  border: 1px solid rgba(255, 219, 112, 0.32);
  background: rgba(255, 219, 112, 0.14);
  color: #fff5cf;
}

.request-result.success {
  border: 1px solid rgba(76, 211, 162, 0.32);
  background: rgba(18, 128, 92, 0.28);
}

.request-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.request-specs div {
  min-width: 0;
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
}

.request-specs span,
.request-specs strong {
  display: block;
}

.request-specs span {
  color: rgba(255, 255, 255, 0.66);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 850;
}

.request-specs strong {
  margin-top: 3px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.request-advice {
  position: relative;
  margin: 0;
  padding: 14px 52px 14px 16px;
  border-radius: 12px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.8;
}

.request-advice::before {
  content: "!";
  position: absolute;
  top: 14px;
  right: 16px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.22);
  font-weight: 950;
  line-height: 1;
}

.request-advice.error {
  border: 1px solid rgba(255, 132, 120, 0.48);
  background: linear-gradient(135deg, rgba(215, 55, 67, 0.96), rgba(183, 49, 79, 0.86));
  box-shadow: 0 14px 26px rgba(105, 31, 61, 0.22);
}

.request-advice.warning {
  background: rgba(255, 219, 112, 0.16);
}

.request-advice.success {
  background: rgba(18, 128, 92, 0.78);
}

body.modal-open {
  overflow: hidden;
}

.submission-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(247, 248, 251, 0.76);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  backdrop-filter: blur(12px);
  transition:
    opacity 240ms ease,
    visibility 0s linear 240ms;
}

.submission-modal[hidden] {
  display: none;
}

.submission-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.submission-modal-card {
  width: min(720px, 100%);
  max-height: calc(100vh - 34px);
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  overflow-y: auto;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(35, 48, 90, 0.22);
  opacity: 0;
  transform: translateY(18px) scale(0.975);
  transition:
    opacity 220ms ease,
    transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.submission-modal.is-open .submission-modal-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.buy-code-modal-card {
  width: min(560px, 100%);
}

.submission-alert-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(47, 61, 232, 0.24);
  border-radius: 18px;
  background: var(--yellow);
  color: #5d4b12;
  font-size: 28px;
  font-weight: 950;
}

.buy-code-icon {
  background: var(--blue);
  color: #ffffff;
}

.submission-modal-copy {
  min-width: 0;
}

.submission-modal-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: 26px;
}

.submission-modal-copy p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.8;
}

.submission-modal-copy a,
.submission-modal-copy strong {
  color: var(--blue);
  font-weight: 950;
}

.submission-modal-copy a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.buy-code-note {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(47, 61, 232, 0.16);
  border-radius: 22px;
  background: var(--blue-2);
}

.buy-code-note span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.buy-code-note strong {
  color: var(--blue);
  font-size: 20px;
  font-weight: 950;
}

.submission-checklist {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.submission-check-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(47, 61, 232, 0.16);
  border-radius: 22px;
  background: var(--blue-2);
}

.submission-check-item.warning {
  border-color: rgba(211, 58, 44, 0.24);
  background: var(--danger-soft);
}

.submission-check-item.support {
  border-color: rgba(18, 128, 92, 0.22);
  background: var(--success-soft);
}

.submission-check-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #ffffff;
  font-size: 18px;
  font-weight: 950;
}

.submission-check-item.warning .submission-check-number {
  background: var(--danger);
}

.submission-check-item.support .submission-check-number {
  background: var(--success);
}

.submission-check-item p {
  margin: 0;
  color: #252934;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.75;
}

.submission-check-item strong,
.submission-check-item a {
  color: var(--danger);
  font-weight: 950;
}

.submission-check-item a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.submission-modal-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-start;
  gap: 14px;
  margin-top: 8px;
}

.submission-guide-link,
.submission-dismiss {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 16px;
  cursor: pointer;
  font-weight: 950;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.submission-guide-link {
  border: 1px solid var(--line-dark);
  background: #ffffff;
  color: #141722;
}

.submission-dismiss {
  border: 1.5px solid var(--blue);
  background: var(--blue);
  color: #ffffff;
  box-shadow: var(--shadow-blue);
}

.submission-guide-link:hover,
.submission-guide-link:focus-visible,
.submission-dismiss:hover,
.submission-dismiss:focus-visible {
  transform: translateY(-1px);
}

.guide-page {
  background:
    linear-gradient(to top, #f4f7ff, rgba(244, 247, 255, 0)),
    #ffffff;
}

.guide-shell {
  width: min(1040px, calc(100% - 36px));
  margin: 0 auto;
  padding: 42px 0 70px;
}

.guide-hero {
  display: grid;
  gap: 14px;
  padding: 34px 0 24px;
}

.guide-hero h1 {
  max-width: 760px;
}

.guide-hero p {
  max-width: 760px;
  margin: 0;
  color: #3e434d;
  font-size: 18px;
  line-height: 1.9;
}

.guide-note,
.guide-editing {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(47, 61, 232, 0.18);
  border-radius: var(--radius-lg);
  background: var(--blue-2);
}

.guide-note strong,
.guide-editing h2 {
  color: var(--blue);
  font-size: 20px;
  font-weight: 950;
}

.guide-note span,
.guide-editing p {
  color: #3e434d;
  line-height: 1.85;
}

.guide-steps {
  display: grid;
  gap: 22px;
  margin: 28px 0;
}

.guide-step {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  gap: 20px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.guide-step-copy {
  display: grid;
  gap: 8px;
}

.guide-step-copy span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 950;
}

.guide-step-copy h2 {
  margin: 0;
}

.guide-step-copy p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.85;
}

.guide-step img {
  width: 100%;
  min-width: 0;
  display: block;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
}

.guide-editing ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-editing li {
  padding: 8px 12px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--blue);
  font-weight: 900;
}

.guide-editing code {
  font-family: var(--font-data);
}

.tutorial-hero h1 {
  max-width: 880px;
}

.tutorial-hero p {
  max-width: 880px;
}

.tutorial-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 4px 0 18px;
}

.tutorial-overview a {
  min-width: 0;
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 26px rgba(31, 42, 80, 0.08);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.tutorial-overview a:hover,
.tutorial-overview a:focus-visible {
  border-color: rgba(47, 61, 232, 0.35);
  box-shadow: 0 14px 30px rgba(47, 61, 232, 0.1);
  transform: translateY(-2px);
}

.tutorial-overview span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--blue-2);
  color: var(--blue);
  font-weight: 950;
}

.tutorial-overview strong,
.tutorial-overview small {
  display: block;
}

.tutorial-overview strong {
  color: #202329;
  font-weight: 950;
}

.tutorial-overview small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.6;
}

.tutorial-note {
  margin-top: 10px;
}

.tutorial-step {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: start;
}

.tutorial-step:nth-child(even) {
  grid-template-columns: minmax(360px, 1.05fr) minmax(0, 0.95fr);
}

.tutorial-step:nth-child(even) .guide-step-copy {
  grid-column: 2;
}

.tutorial-step:nth-child(even) img {
  grid-column: 1;
  grid-row: 1;
}

.tutorial-step strong {
  color: #202329;
}

.tutorial-list {
  display: grid;
  gap: 7px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.tutorial-list li {
  position: relative;
  padding-right: 18px;
  color: #3e434d;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.75;
}

.tutorial-list li::before {
  content: "";
  position: absolute;
  top: 12px;
  right: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.tutorial-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.tutorial-actions a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 14px;
  background: var(--blue);
  color: #ffffff;
  font-size: 13px;
  font-weight: 950;
  box-shadow: var(--shadow-blue);
}

.tutorial-final-note {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(47, 61, 232, 0.18);
  border-radius: var(--radius-lg);
  background: var(--blue-2);
}

.tutorial-final-note h2 {
  color: var(--blue);
}

.tutorial-final-note p {
  margin: 0;
  color: #3e434d;
  line-height: 1.85;
}

.tutorial-final-note ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tutorial-final-note li {
  padding: 8px 12px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--blue);
  font-weight: 900;
}

.tutorial-final-note code {
  font-family: var(--font-data);
}

@media (max-width: 1080px) {
  .screen-hero,
  .workbench {
    grid-template-columns: 1fr;
  }

  .hero-art {
    grid-column: 1;
    grid-row: auto;
    justify-self: center;
    width: min(260px, 58%);
    margin: 6px 0 0;
  }

  .summary-strip {
    grid-column: 1;
  }

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

  .tutorial-step,
  .tutorial-step:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .tutorial-step:nth-child(even) .guide-step-copy,
  .tutorial-step:nth-child(even) img {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 700px) {
  .global-header {
    position: static;
    align-items: stretch;
    flex-direction: column;
    padding: 14px 12px;
  }

  .brand {
    justify-content: flex-start;
  }

  .header-actions {
    align-items: stretch;
    justify-content: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .header-pill {
    justify-content: center;
  }

  .top-nav {
    justify-content: stretch;
    gap: 8px;
  }

  .top-nav a,
  .header-buy-button {
    flex: 1 1 30%;
    min-width: 0;
    padding-inline: 10px;
  }

  .app-shell {
    width: min(100% - 20px, 1280px);
    padding-top: 12px;
  }

  .screen-hero {
    min-height: auto;
    padding-top: 16px;
  }

  h1 {
    font-size: 1.75rem;
    line-height: 1.34;
  }

  .lede {
    font-size: 15px;
  }

  .hero-art {
    width: min(230px, 66%);
    max-width: none;
    margin-inline: auto;
  }

  .hero-service-card {
    grid-template-columns: 1fr;
  }

  .automation-highlight {
    align-items: stretch;
    flex-direction: column;
  }

  .summary-strip div {
    flex: 1 1 130px;
    min-width: 0;
  }

  .form-module,
  .result-module,
  .support-module,
  .request-status-panel {
    padding: 18px;
  }

  .module-head {
    align-items: flex-start;
  }

  .field-label-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .inline-fields,
  .security-code-grid.is-backup,
  .option-grid.two {
    grid-template-columns: 1fr;
  }

  .compact-row {
    align-items: stretch;
    flex-direction: column;
  }

  .service-context {
    align-items: stretch;
    flex-direction: column;
  }

  .request-card-head {
    align-items: stretch;
    flex-direction: column;
  }

  .request-specs {
    grid-template-columns: 1fr;
  }

  .submission-modal {
    align-items: start;
    padding: 10px;
  }

  .submission-modal-card {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 20px);
    gap: 10px;
    padding: 14px;
    border-radius: 22px;
  }

  .submission-alert-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    font-size: 24px;
  }

  .submission-modal-copy h2 {
    font-size: 20px;
  }

  .submission-modal-copy p,
  .submission-check-item p {
    font-size: 14px;
    line-height: 1.62;
  }

  .submission-checklist {
    gap: 10px;
    margin-top: 2px;
  }

  .submission-check-item {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
    border-radius: 18px;
  }

  .submission-check-number {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  .submission-modal-actions {
    flex-direction: column-reverse;
    gap: 10px;
    margin-top: 2px;
  }

  .submission-guide-link,
  .submission-dismiss {
    width: 100%;
    min-height: 48px;
    padding: 10px 16px;
  }

  .guide-header {
    position: static;
  }

  .guide-shell {
    width: min(100% - 20px, 1040px);
    padding-top: 22px;
  }

  .guide-step {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .tutorial-overview {
    grid-template-columns: 1fr;
  }

  .tutorial-final-note {
    padding: 18px;
  }
}

@media (max-width: 430px) {
  .global-header,
  .app-shell {
    font-size: 15px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .brand strong {
    font-size: 16px;
  }

  .top-nav a,
  .header-buy-button {
    font-size: 13px;
  }

  h1 {
    font-size: 1.62rem;
  }

  h2 {
    font-size: 20px;
  }

  .step-badge,
  .progress-number {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
