:root {
  --ink: #142038;
  --ink-2: #34445f;
  --muted: #6f7d93;
  --faint: #929db0;
  --line: #dfe4ec;
  --line-soft: #ebeff4;
  --canvas: #f5f7fa;
  --surface: #ffffff;
  --surface-soft: #f9fafc;
  --navy: #15233c;
  --navy-hover: #213454;
  --blue: #285ed9;
  --blue-hover: #1e4fbe;
  --blue-soft: #edf3ff;
  --teal: #087f73;
  --teal-soft: #e9f8f4;
  --amber: #a75b00;
  --amber-soft: #fff5e5;
  --red: #bd3238;
  --red-soft: #fff0f1;
  --shadow-xs: 0 1px 2px rgba(16, 32, 57, 0.04);
  --shadow-sm: 0 4px 16px rgba(16, 32, 57, 0.07);
  --shadow-md: 0 18px 50px rgba(16, 32, 57, 0.14);
  --radius-sm: 7px;
  --radius: 10px;
  --radius-lg: 15px;
  --content: 1320px;
  --font: Inter, Geist, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--canvas);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

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

button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

img,
svg {
  display: block;
}

svg {
  flex: 0 0 auto;
}

::selection {
  color: #fff;
  background: var(--blue);
}

.container {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}

.icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sm {
  width: 15px;
  height: 15px;
}

.icon-lg {
  width: 22px;
  height: 22px;
}

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

.btn {
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 680;
  line-height: 1;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

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

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible,
.icon-btn:focus-visible,
.nav-link:focus-visible,
.country-row:focus-visible,
.faq-question:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(40, 94, 217, 0.2);
  outline-offset: 2px;
}

.btn-primary {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 1px 2px rgba(18, 47, 111, 0.14);
}

.btn-primary:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
}

.btn-dark {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.btn-dark:hover {
  background: var(--navy-hover);
}

.btn-secondary {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  border-color: #c7cfdb;
  background: var(--surface-soft);
}

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

.btn-ghost:hover {
  color: var(--ink);
  background: var(--surface-soft);
}

.btn-danger {
  color: var(--red);
  background: var(--red-soft);
  border-color: #f7cdd0;
}

.btn-small {
  min-height: 34px;
  padding: 7px 12px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

.icon-btn {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  background: var(--surface);
  cursor: pointer;
  transition: 160ms ease;
}

.icon-btn:hover {
  color: var(--ink);
  border-color: #c7cfdb;
  background: var(--surface-soft);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 70px;
  border-bottom: 1px solid rgba(213, 219, 229, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 790;
  letter-spacing: -0.025em;
  color: var(--navy);
}

.brand-mark {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--navy);
  box-shadow: 0 4px 12px rgba(21, 35, 60, 0.18);
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 6px;
  height: 6px;
  border: 2px solid var(--navy);
  border-radius: 50%;
  background: #39c4ad;
}

.brand-mark svg {
  width: 17px;
  height: 17px;
}

.brand-word small {
  margin-left: 6px;
  padding: 2px 5px;
  border: 1px solid var(--line);
  border-radius: 4px;
  vertical-align: 2px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 760;
  letter-spacing: 0.09em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 3px;
}

.nav-link {
  padding: 8px 11px;
  border-radius: 6px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 560;
  transition: 150ms ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--ink);
  background: var(--surface-soft);
}

.nav-link.active {
  font-weight: 680;
}

.header-actions {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-link {
  margin-inline-end: 7px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22a68e;
  box-shadow: 0 0 0 4px rgba(34, 166, 142, 0.1);
}

.status-dot.pending-dot {
  background: #d58a27;
  box-shadow: 0 0 0 4px rgba(213, 138, 39, 0.1);
}

.environment-pill {
  margin-inline-start: 8px;
  padding: 5px 8px;
  border: 1px solid #f0d8b2;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--amber);
  background: var(--amber-soft);
  font-size: 9px;
  font-weight: 680;
}

.environment-pill .status-dot {
  width: 5px;
  height: 5px;
  box-shadow: none;
}

.language-wrap {
  position: relative;
}

.language-button {
  width: auto;
  min-width: 58px;
  gap: 6px;
  font-size: 12px;
  font-weight: 720;
}

.language-menu {
  position: absolute;
  z-index: 80;
  top: calc(100% + 9px);
  right: 0;
  width: 218px;
  max-height: 370px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-y: auto;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

[dir="rtl"] .language-menu {
  right: auto;
  left: 0;
}

.language-option {
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-2);
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.language-option:hover,
.language-option.active {
  color: var(--ink);
  background: var(--surface-soft);
}

.language-option.active::after {
  content: "✓";
  margin-inline-start: auto;
  color: var(--teal);
  font-weight: 800;
}

.language-code {
  width: 28px;
  padding: 2px 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 760;
  text-align: center;
}

.mobile-menu-btn {
  display: none;
}

.mobile-nav {
  display: none;
}

.home-hero {
  padding: 58px 0 30px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.76), rgba(247, 249, 252, 0.9)),
    radial-gradient(circle at 15% 5%, rgba(40, 94, 217, 0.1), transparent 27%),
    radial-gradient(circle at 85% 20%, rgba(23, 156, 133, 0.07), transparent 24%);
}

.hero-copy {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

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

.hero-copy h1,
.page-hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.hero-copy p:not(.eyebrow) {
  max-width: 680px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.market-shell {
  border: 1px solid #d9e0e9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 18px 55px rgba(24, 43, 75, 0.1);
}

.market-toolbar {
  padding: 16px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
}

.search-field {
  position: relative;
  flex: 1;
}

.search-field .icon {
  position: absolute;
  top: 50%;
  left: 14px;
  color: var(--faint);
  transform: translateY(-50%);
  pointer-events: none;
}

[dir="rtl"] .search-field .icon {
  right: 14px;
  left: auto;
}

.search-field input,
.form-control {
  width: 100%;
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: var(--surface);
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.search-field input {
  padding-inline-start: 43px;
}

.search-field input::placeholder,
.form-control::placeholder {
  color: var(--faint);
}

.search-field input:focus,
.form-control:focus {
  border-color: #96addf;
  box-shadow: 0 0 0 3px rgba(40, 94, 217, 0.1);
}

.select-control {
  min-height: 42px;
  padding: 8px 34px 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  background: var(--surface);
  cursor: pointer;
}

.inventory-grid {
  min-height: 535px;
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
}

.country-panel {
  padding: 14px 10px;
  border-inline-end: 1px solid var(--line-soft);
  background: #fbfcfd;
}

.country-heading {
  padding: 5px 9px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--faint);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.country-list {
  max-height: 450px;
  overflow: auto;
  scrollbar-width: thin;
}

.country-row {
  width: 100%;
  min-height: 43px;
  padding: 7px 9px;
  border: 0;
  border-radius: 7px;
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: 150ms ease;
}

.country-row:hover {
  background: #f0f3f7;
}

.country-row.active {
  color: #173f99;
  background: var(--blue-soft);
  font-weight: 680;
}

.flag {
  font-size: 19px;
  line-height: 1;
}

.country-row .country-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.country-count {
  color: var(--faint);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.inventory-main {
  min-width: 0;
  background: var(--surface);
}

.inventory-summary {
  min-height: 51px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}

.inventory-summary strong {
  color: var(--ink);
  font-weight: 680;
}

.live-refresh {
  margin-inline-start: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
}

.live-refresh .status-dot {
  width: 6px;
  height: 6px;
  box-shadow: none;
}

.catalog-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--amber);
  background: var(--amber-soft);
  font-size: 11px;
  line-height: 1.45;
}

.catalog-disclaimer .icon {
  flex: 0 0 auto;
  margin-top: 1px;
}

.inventory-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.inventory-table th {
  height: 40px;
  padding: 7px 14px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--faint);
  background: var(--surface-soft);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.075em;
  text-align: left;
  text-transform: uppercase;
}

.inventory-table th:nth-child(1) { width: 30%; }
.inventory-table th:nth-child(2) { width: 15%; }
.inventory-table th:nth-child(3) { width: 15%; }
.inventory-table th:nth-child(4) { width: 14%; }
.inventory-table th:nth-child(5) { width: 12%; }
.inventory-table th:nth-child(6) { width: 14%; }

.inventory-table td {
  height: 64px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-2);
  vertical-align: middle;
  font-size: 13px;
}

.inventory-table tr:last-child td {
  border-bottom: 0;
}

.inventory-table tbody tr {
  transition: background-color 140ms ease;
}

.inventory-table tbody tr:hover {
  background: #fbfcfe;
}

.service-cell {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.service-logo {
  width: 35px;
  height: 35px;
  border: 1px solid rgba(20, 32, 56, 0.08);
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  font-size: 12px;
  font-weight: 780;
  letter-spacing: -0.02em;
}

.service-name {
  min-width: 0;
}

.service-name strong {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  font-weight: 680;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-name small {
  color: var(--faint);
  font-size: 10px;
}

.metric-main {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 680;
  font-variant-numeric: tabular-nums;
}

.metric-sub {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--faint);
  font-size: 10px;
}

.stock-bar {
  width: 42px;
  height: 3px;
  border-radius: 99px;
  overflow: hidden;
  background: #e7eaf0;
}

.stock-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
}

.stock-limited span {
  background: #dc8d23;
}

.price-cell {
  color: var(--ink) !important;
  font-size: 14px !important;
  font-weight: 760;
  font-variant-numeric: tabular-nums;
}

.buy-cell {
  text-align: right;
}

[dir="rtl"] .buy-cell,
[dir="rtl"] .inventory-table th,
[dir="rtl"] .country-row,
[dir="rtl"] .language-option {
  text-align: right;
}

.inventory-mobile {
  display: none;
}

.empty-state {
  min-height: 380px;
  padding: 60px 24px;
  display: grid;
  place-items: center;
  text-align: center;
}

.empty-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: var(--surface-soft);
}

.empty-state h3 {
  margin: 0 0 5px;
  font-size: 17px;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
}

.assurance-strip {
  padding: 28px 0 0;
}

.assurance-grid {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.assurance-item {
  padding: 23px 26px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.assurance-item + .assurance-item {
  border-inline-start: 1px solid var(--line);
}

.assurance-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--surface);
}

.assurance-item strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 13px;
}

.assurance-item span {
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding: 94px 0;
}

.section-white {
  background: var(--surface);
}

.section-navy {
  color: #fff;
  background: var(--navy);
}

.section-heading {
  max-width: 690px;
  margin: 0 0 38px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(29px, 3.5vw, 41px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.section-heading p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 16px;
}

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

.step-card {
  min-height: 224px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}

.step-number {
  width: 32px;
  height: 32px;
  margin-bottom: 28px;
  border: 1px solid #ccd9f5;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 11px;
  font-weight: 780;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  letter-spacing: -0.015em;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.api-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  align-items: center;
  gap: 70px;
}

.api-copy .eyebrow {
  color: #7da4ff;
}

.api-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 4vw, 47px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.api-copy > p:not(.eyebrow) {
  max-width: 540px;
  margin: 17px 0 25px;
  color: #b6c1d3;
  font-size: 16px;
}

.api-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.api-actions .btn-primary {
  color: var(--navy);
  background: #fff;
  border-color: #fff;
}

.api-actions .btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.ai-policy {
  margin-top: 23px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #a8b5ca;
  font-size: 12px;
}

.code-window {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 11px;
  overflow: hidden;
  background: #0d182b;
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.24);
  direction: ltr;
}

.code-titlebar {
  min-height: 43px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 7px;
  color: #8796ad;
  font-size: 11px;
}

.code-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #536078;
}

.code-filename {
  margin-left: 7px;
}

.code-tabs {
  margin-left: auto;
  display: flex;
  gap: 3px;
}

.code-tab {
  padding: 4px 8px;
  border: 0;
  border-radius: 4px;
  color: #8695ac;
  background: transparent;
  font-size: 10px;
  cursor: pointer;
}

.code-tab.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.code-window pre {
  min-height: 274px;
  margin: 0;
  padding: 24px;
  overflow-x: auto;
  color: #d5deeb;
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  line-height: 1.75;
  white-space: pre;
}

.code-blue { color: #79a7ff; }
.code-green { color: #6ed4bc; }
.code-yellow { color: #e8c77a; }
.code-dim { color: #76849b; }

.coverage-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(480px, 1.28fr);
  align-items: center;
  gap: 75px;
}

.coverage-copy h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(32px, 4vw, 47px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.coverage-copy p {
  margin: 16px 0 24px;
  color: var(--muted);
  font-size: 16px;
}

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

.region-card {
  min-height: 98px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: 150ms ease;
}

.region-card:hover {
  border-color: #bdc9dc;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.region-flags {
  margin-bottom: 12px;
  font-size: 18px;
  letter-spacing: 1px;
}

.region-card strong {
  display: block;
  font-size: 13px;
}

.region-card small {
  color: var(--muted);
  font-size: 11px;
}

.faq-list {
  max-width: 850px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

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

.faq-heading {
  margin: 0;
  font: inherit;
}

.faq-question {
  width: 100%;
  padding: 21px 2px;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink);
  background: transparent;
  font-size: 15px;
  font-weight: 680;
  text-align: left;
  cursor: pointer;
}

.faq-question .icon {
  color: var(--muted);
  transition: transform 180ms ease;
}

.faq-item.open .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  max-width: 720px;
  padding: 0 2px 23px;
  color: var(--muted);
  font-size: 14px;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-answer p {
  margin: 0;
}

.section-action {
  margin-top: 28px;
  text-align: center;
}

.site-footer {
  padding: 61px 0 25px;
  color: #b8c2d1;
  background: #101b2f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(4, 1fr);
  gap: 38px;
}

.footer-brand .brand {
  color: #fff;
}

.footer-brand .brand-mark {
  color: var(--navy);
  background: #fff;
}

.footer-brand .brand-mark::after {
  border-color: #101b2f;
}

.footer-brand p {
  max-width: 270px;
  margin: 17px 0;
  color: #8e9bb0;
  font-size: 13px;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9caabd;
  font-size: 12px;
}

.footer-column h4 {
  margin: 4px 0 15px;
  color: #fff;
  font-size: 12px;
  font-weight: 680;
}

.footer-column a {
  display: block;
  width: fit-content;
  margin: 9px 0;
  color: #8e9bb0;
  font-size: 12px;
  transition: color 150ms ease;
}

.footer-column a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  gap: 18px;
  color: #748299;
  font-size: 11px;
}

.footer-bottom .compliance-note {
  margin-inline-start: auto;
  text-align: right;
}

.page-main {
  min-height: calc(100vh - 70px);
}

.page-hero {
  padding: 76px 0 58px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.page-hero-inner {
  max-width: 790px;
}

.page-hero h1 {
  font-size: clamp(38px, 5vw, 58px);
}

.page-hero p:not(.eyebrow) {
  max-width: 690px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.page-hero .page-review-date {
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.page-actions {
  margin-top: 27px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.content-section {
  padding: 58px 0 90px;
}

.content-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}

.content-card h2,
.content-card h3 {
  margin-top: 0;
  letter-spacing: -0.02em;
}

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

.pricing-card {
  position: relative;
  min-height: 390px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.pricing-card.featured {
  border-color: #afc3ed;
  box-shadow: 0 15px 40px rgba(40, 94, 217, 0.1);
}

.pricing-badge {
  position: absolute;
  top: 17px;
  right: 17px;
  padding: 4px 8px;
  border-radius: 99px;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
}

.pricing-card h3 {
  margin: 0 0 6px;
  font-size: 19px;
}

.pricing-card > p {
  min-height: 50px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.price-display {
  margin: 25px 0;
  color: var(--navy);
  font-size: 37px;
  font-weight: 780;
  letter-spacing: -0.04em;
}

.price-display span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}

.feature-list {
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  margin: 11px 0;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--ink-2);
  font-size: 13px;
}

.feature-list .icon {
  margin-top: 2px;
  color: var(--teal);
}

.api-doc-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: start;
  gap: 45px;
}

.docs-nav {
  position: sticky;
  top: 92px;
}

.docs-nav-title {
  margin-bottom: 9px;
  color: var(--faint);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.docs-nav a {
  margin: 2px 0;
  padding: 7px 10px;
  border-radius: 6px;
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.docs-nav a:hover,
.docs-nav a.active {
  color: var(--blue);
  background: var(--blue-soft);
}

.docs-content {
  max-width: 850px;
}

.docs-content section {
  padding: 10px 0 45px;
  border-bottom: 1px solid var(--line);
}

.docs-content section + section {
  padding-top: 45px;
}

.docs-content h2 {
  margin: 0 0 12px;
  font-size: 25px;
  letter-spacing: -0.025em;
}

.docs-content h3 {
  margin: 25px 0 10px;
  font-size: 16px;
}

.docs-content p {
  color: var(--muted);
}

.inline-code {
  padding: 2px 5px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  color: #9d3152;
  background: #f8f1f4;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.9em;
}

.endpoint-row {
  margin: 10px 0;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 12px;
}

.method {
  min-width: 47px;
  padding: 4px 6px;
  border-radius: 4px;
  color: var(--teal);
  background: var(--teal-soft);
  font-size: 9px;
  font-weight: 800;
  text-align: center;
}

.method.post {
  color: var(--blue);
  background: var(--blue-soft);
}

.docs-code {
  margin: 16px 0;
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  color: #d7dfeb;
  background: #101b2f;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 12px;
  line-height: 1.7;
  direction: ltr;
  white-space: pre;
}

.notice {
  margin: 18px 0;
  padding: 15px 17px;
  border: 1px solid #d2dff6;
  border-radius: 7px;
  color: #36517e;
  background: #f0f5ff;
  font-size: 13px;
}

.notice strong {
  color: #213e71;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: start;
  gap: 35px;
}

.legal-content {
  padding: 35px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.legal-content h2 {
  margin: 33px 0 10px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 14px;
}

.legal-side {
  position: sticky;
  top: 94px;
}

.legal-side .content-card {
  padding: 21px;
}

.legal-side h3 {
  margin-bottom: 9px;
  font-size: 15px;
}

.legal-side p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
}

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

.help-card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.help-card .assurance-icon {
  margin-bottom: 21px;
}

.help-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.help-card p {
  min-height: 44px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
}

.dashboard-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  color: var(--ink);
  background: var(--canvas);
}

.dash-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 20px 15px;
  border-inline-end: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  background: var(--surface);
}

.dash-sidebar .brand {
  padding: 0 8px 22px;
}

.dash-sidebar-head {
  display: flex;
  align-items: flex-start;
}

.dash-sidebar-head .brand {
  flex: 1;
}

.dash-sidebar-close,
.dash-backdrop {
  display: none;
}

.workspace-switcher {
  margin-bottom: 18px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--surface-soft);
}

.workspace-avatar,
.user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: #405c91;
  font-size: 11px;
  font-weight: 760;
}

.workspace-name {
  min-width: 0;
  flex: 1;
}

.workspace-name strong {
  display: block;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workspace-name span {
  display: block;
  color: var(--muted);
  font-size: 10px;
}

.dash-nav-section {
  margin-bottom: 16px;
}

.dash-nav-label {
  padding: 0 10px 6px;
  color: var(--faint);
  font-size: 9px;
  font-weight: 770;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.dash-nav-link {
  width: 100%;
  min-height: 39px;
  margin: 2px 0;
  padding: 8px 10px;
  border: 0;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 580;
  cursor: pointer;
  text-align: left;
}

.dash-nav-link:hover {
  color: var(--ink);
  background: var(--surface-soft);
}

.dash-nav-link.active {
  color: #173f99;
  background: var(--blue-soft);
  font-weight: 680;
}

.dash-nav-link .nav-badge {
  margin-inline-start: auto;
  min-width: 20px;
  padding: 1px 5px;
  border-radius: 99px;
  color: var(--muted);
  background: #e9edf3;
  font-size: 9px;
  font-weight: 700;
  text-align: center;
}

.dash-nav-link.active .nav-badge {
  color: var(--blue);
  background: #d9e6ff;
}

.sidebar-bottom {
  margin-top: auto;
}

.sidebar-user {
  padding: 12px 9px 0;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  gap: 9px;
}

.sidebar-user .user-avatar {
  border-radius: 50%;
  background: #d07b61;
}

.sidebar-user-info {
  min-width: 0;
  flex: 1;
}

.sidebar-user-info strong {
  display: block;
  font-size: 11px;
}

.sidebar-user-info span {
  display: block;
  overflow: hidden;
  color: var(--faint);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash-main {
  min-width: 0;
}

.dash-topbar {
  height: 65px;
  padding: 0 30px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.dash-mobile-menu {
  display: none;
}

.topbar-title {
  color: var(--ink);
  font-size: 14px;
  font-weight: 680;
}

.topbar-actions {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.balance-pill {
  min-height: 38px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  background: var(--surface);
  font-size: 10px;
}

.balance-pill strong {
  color: var(--ink);
  font-size: 12px;
}

.dash-content {
  width: min(calc(100% - 60px), 1180px);
  margin: 0 auto;
  padding: 36px 0 70px;
}

.dash-heading {
  margin-bottom: 26px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.dash-heading h1 {
  margin: 0;
  color: var(--navy);
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.dash-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.dash-heading-actions {
  display: flex;
  gap: 8px;
}

.stat-grid {
  margin-bottom: 19px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
}

.stat-card {
  min-height: 127px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}

.stat-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}

.stat-card-top .icon {
  color: var(--faint);
}

.stat-value {
  margin-top: 14px;
  color: var(--navy);
  font-size: 27px;
  font-weight: 760;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.stat-trend {
  margin-top: 3px;
  color: var(--teal);
  font-size: 10px;
}

.dash-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
  gap: 15px;
}

.dash-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}

.dash-card-header {
  min-height: 56px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  gap: 10px;
}

.dash-card-header h2 {
  margin: 0;
  font-size: 13px;
  font-weight: 690;
}

.dash-card-header a,
.dash-card-header button {
  margin-inline-start: auto;
}

.activation-card-body {
  padding: 20px;
}

.activation-top {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.activation-top .service-logo {
  width: 42px;
  height: 42px;
}

.activation-info {
  min-width: 0;
  flex: 1;
}

.activation-info strong {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
}

.activation-info span {
  color: var(--muted);
  font-size: 11px;
}

.status-badge {
  padding: 5px 8px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--amber);
  background: var(--amber-soft);
  font-size: 9px;
  font-weight: 700;
}

.status-badge .status-dot {
  width: 5px;
  height: 5px;
  background: #d9891c;
  box-shadow: none;
}

.status-badge.received {
  color: var(--teal);
  border-color: #9fc9bb;
  background: var(--teal-soft);
}

.status-badge.received .status-dot {
  background: var(--teal);
}

.number-display {
  margin: 20px 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-soft);
}

.number-display span {
  color: var(--navy);
  font-size: 20px;
  font-weight: 720;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.number-display .icon-btn {
  margin-inline-start: auto;
  width: 32px;
  height: 32px;
  background: var(--surface);
}

.message-panel {
  margin: 0 0 18px;
  padding: 17px;
  border: 1px solid #9fc9bb;
  background: #edf6f1;
}

.message-panel > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.message-panel > div:first-child span {
  color: var(--teal);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.message-panel > div:first-child strong {
  color: var(--ink-2);
  font-size: 12px;
}

.message-panel-code {
  margin-top: 13px;
  padding: 13px 14px;
  border: 1px solid #bad8cd;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
}

.message-panel-code span {
  color: var(--navy);
  font-family: var(--font-data);
  font-size: 25px;
  font-weight: 760;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
}

.message-panel-code .icon-btn {
  margin-inline-start: auto;
}

.message-panel p {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.activation-progress {
  margin-bottom: 18px;
}

.progress-meta {
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
}

.progress-meta strong {
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

.progress-bar {
  height: 5px;
  border-radius: 99px;
  overflow: hidden;
  background: #e7eaf0;
}

.progress-bar span {
  display: block;
  width: 38%;
  height: 100%;
  border-radius: inherit;
  background: #d58a27;
}

.activation-actions {
  display: flex;
  gap: 8px;
}

.activity-list {
  padding: 8px 18px;
}

.activity-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

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

.activity-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--blue-soft);
}

.activity-icon.green {
  color: var(--teal);
  background: var(--teal-soft);
}

.activity-main strong {
  display: block;
  font-size: 11px;
}

.activity-main span {
  display: block;
  color: var(--muted);
  font-size: 9px;
}

.activity-value {
  color: var(--ink-2);
  font-size: 10px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.system-row {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
}

.system-row:last-child {
  border-bottom: 0;
}

.system-row .status-dot {
  width: 6px;
  height: 6px;
  box-shadow: none;
}

.system-row span:last-child {
  margin-inline-start: auto;
  color: var(--teal);
  font-size: 9px;
}

.wallet-hero {
  margin-bottom: 17px;
  padding: 28px;
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  color: #fff;
  background: var(--navy);
  box-shadow: var(--shadow-sm);
}

.wallet-hero-label {
  color: #a8b5c9;
  font-size: 11px;
}

.wallet-hero-value {
  margin-top: 3px;
  font-size: 36px;
  font-weight: 760;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.wallet-hero-meta {
  margin-top: 8px;
  color: #94a2b9;
  font-size: 10px;
}

.wallet-hero .btn-primary {
  color: var(--navy);
  background: #fff;
  border-color: #fff;
}

.info-banner {
  margin-bottom: 17px;
  padding: 15px 17px;
  border: 1px solid #cfdcf5;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: #42608f;
  background: #f1f6ff;
  font-size: 12px;
}

.info-banner strong {
  display: block;
  margin-bottom: 2px;
  color: #294a7f;
}

.transaction-table {
  width: 100%;
  border-collapse: collapse;
}

.transaction-table th,
.transaction-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 11px;
  text-align: left;
}

.transaction-table th {
  color: var(--faint);
  background: var(--surface-soft);
  font-size: 9px;
  font-weight: 760;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.transaction-table td {
  color: var(--ink-2);
}

.transaction-table td strong {
  color: var(--ink);
}

.amount-positive {
  color: var(--teal) !important;
  font-weight: 680;
}

.amount-negative {
  color: #9b442f !important;
  font-weight: 680;
}

.api-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 15px;
}

.api-key-row {
  padding: 17px 18px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  gap: 12px;
}

.api-key-row:last-child {
  border-bottom: 0;
}

.key-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--blue-soft);
}

.key-info {
  min-width: 0;
  flex: 1;
}

.key-info strong {
  display: block;
  font-size: 11px;
}

.key-info code {
  color: var(--muted);
  font-size: 9px;
}

.scope-pill {
  padding: 4px 7px;
  border-radius: 99px;
  color: var(--muted);
  background: var(--canvas);
  font-size: 8px;
}

.usage-meter {
  padding: 20px;
}

.usage-number {
  margin: 6px 0 2px;
  color: var(--navy);
  font-size: 29px;
  font-weight: 760;
}

.usage-number span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.usage-meter p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.settings-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.settings-card h2 {
  margin: 0 0 5px;
  font-size: 14px;
}

.settings-card > p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 11px;
}

.form-row {
  margin-bottom: 15px;
}

.form-row label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 650;
}

.form-row .form-control {
  min-height: 39px;
  font-size: 12px;
}

.toggle-row {
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  gap: 14px;
}

.toggle-row:last-child {
  border-bottom: 0;
}

.toggle-info {
  flex: 1;
}

.toggle-info strong {
  display: block;
  font-size: 11px;
}

.toggle-info span {
  display: block;
  color: var(--muted);
  font-size: 9px;
}

.toggle {
  position: relative;
  width: 36px;
  height: 21px;
  border: 0;
  border-radius: 99px;
  background: #cbd2dc;
  cursor: pointer;
}

.toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16);
  transition: 160ms ease;
}

.toggle.on {
  background: var(--blue);
}

.toggle.on::after {
  left: 18px;
}

.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  padding: 22px;
  display: grid;
  place-items: center;
  background: rgba(9, 18, 33, 0.55);
  backdrop-filter: blur(3px);
  animation: fade-in 150ms ease;
}

.modal {
  width: min(100%, 480px);
  max-height: calc(100vh - 44px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 13px;
  overflow-y: auto;
  background: var(--surface);
  box-shadow: 0 28px 90px rgba(8, 18, 35, 0.3);
  animation: modal-in 180ms ease;
}

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

.modal-header {
  min-height: 64px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-header h2 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.015em;
}

.modal-header .icon-btn {
  margin-inline-start: auto;
}

.modal-body {
  padding: 22px;
}

.modal-footer {
  padding: 15px 20px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  background: var(--surface-soft);
}

.purchase-product {
  margin-bottom: 20px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-soft);
}

.purchase-product .service-logo {
  width: 43px;
  height: 43px;
}

.purchase-product-info {
  flex: 1;
}

.purchase-product-info strong {
  display: block;
  font-size: 13px;
}

.purchase-product-info span {
  color: var(--muted);
  font-size: 11px;
}

.purchase-product-price {
  color: var(--navy);
  font-size: 17px;
  font-weight: 760;
}

.summary-list {
  margin: 0;
}

.summary-row {
  padding: 9px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
}

.summary-row strong {
  color: var(--ink);
}

.summary-row.total {
  margin-top: 7px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.amount-options {
  margin: 13px 0 15px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.amount-option {
  min-height: 46px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink-2);
  background: var(--surface);
  font-size: 13px;
  font-weight: 680;
  cursor: pointer;
}

.amount-option:hover,
.amount-option.active {
  color: var(--blue);
  border-color: #96afe3;
  background: var(--blue-soft);
}

.provider-box {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 11px;
}

.provider-logo {
  padding: 5px 8px;
  border-radius: 5px;
  color: #fff;
  background: #7653ee;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.warning-box {
  margin-top: 15px;
  padding: 12px 13px;
  border: 1px solid #f2d8ae;
  border-radius: 7px;
  color: #805523;
  background: #fff8eb;
  font-size: 10px;
}

.error-text {
  margin-top: 6px;
  color: var(--red);
  font-size: 10px;
}

.toast-root {
  position: fixed;
  z-index: 130;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 8px;
  pointer-events: none;
}

[dir="rtl"] .toast-root {
  right: auto;
  left: 22px;
}

.toast {
  min-width: 260px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  background: var(--navy);
  box-shadow: var(--shadow-md);
  font-size: 12px;
  animation: toast-in 180ms ease;
}

.toast .status-dot {
  width: 6px;
  height: 6px;
  box-shadow: none;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

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

@media (max-width: 1120px) {
  .status-link { display: none; }
  .main-nav { gap: 0; }
  .nav-link { padding-inline: 8px; }
  .inventory-grid { grid-template-columns: 215px minmax(0, 1fr); }
  .inventory-table th,
  .inventory-table td { padding-inline: 10px; }
  .api-feature,
  .coverage-layout { gap: 45px; }
  .dashboard-shell { grid-template-columns: 220px minmax(0, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .container { width: min(calc(100% - 32px), var(--content)); }
  .site-header { height: 64px; }
  .main-nav,
  .header-actions > .btn,
  .header-actions > .language-wrap { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .mobile-nav {
    position: fixed;
    z-index: 49;
    top: 64px;
    right: 0;
    left: 0;
    padding: 13px 16px 19px;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
  }
  .mobile-nav.open { display: block; }
  .mobile-nav .nav-link { display: block; padding: 11px; }
  .mobile-nav-actions { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .mobile-language-grid { margin-top: 13px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
  .mobile-language-grid button { padding: 7px 3px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); background: var(--surface-soft); font-size: 9px; font-weight: 700; }
  .home-hero { padding-top: 43px; }
  .hero-copy h1 { font-size: 45px; }
  .market-toolbar .select-control { display: none; }
  .inventory-grid { grid-template-columns: 190px minmax(0, 1fr); }
  .inventory-table th:nth-child(4),
  .inventory-table td:nth-child(4),
  .inventory-table th:nth-child(5),
  .inventory-table td:nth-child(5) { display: none; }
  .inventory-table th:nth-child(1) { width: 38%; }
  .inventory-table th:nth-child(2) { width: 20%; }
  .inventory-table th:nth-child(3) { width: 19%; }
  .inventory-table th:nth-child(6) { width: 23%; }
  .api-feature,
  .coverage-layout { grid-template-columns: 1fr; }
  .api-copy { max-width: 640px; }
  .code-window { max-width: 720px; }
  .coverage-layout { gap: 38px; }
  .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .footer-brand { grid-row: span 2; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card { min-height: auto; }
  .api-doc-layout { grid-template-columns: 1fr; }
  .docs-nav { position: static; display: flex; flex-wrap: wrap; gap: 3px; }
  .docs-nav-title { width: 100%; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-side { position: static; }
  .help-grid { grid-template-columns: 1fr; }
  .dashboard-shell { display: block; }
  .dash-sidebar {
    position: fixed;
    z-index: 80;
    top: 0;
    left: 0;
    width: 245px;
    transform: translateX(-105%);
    box-shadow: var(--shadow-md);
    transition: transform 180ms ease;
  }
  .dash-sidebar-head { position: relative; }
  .dash-sidebar-head .brand { min-width: 0; padding-inline-end: 40px; font-size: 14px; }
  .dash-sidebar-close { position: absolute; inset-inline-end: 0; top: 0; display: inline-flex; width: 32px; height: 32px; }
  .dash-backdrop {
    position: fixed;
    z-index: 79;
    inset: 0;
    border: 0;
    display: none;
    background: rgba(9, 18, 33, 0.42);
    backdrop-filter: blur(2px);
  }
  .dash-backdrop.open { display: block; }
  [dir="rtl"] .dash-sidebar { right: 0; left: auto; transform: translateX(105%); }
  .dash-sidebar.open { transform: translateX(0); }
  .dash-mobile-menu { display: inline-flex; }
  .dash-grid,
  .api-panel-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 24px), var(--content)); }
  .brand-word small { display: none; }
  .home-hero { padding-top: 34px; }
  .hero-copy { margin-bottom: 25px; }
  .hero-copy h1 { font-size: 37px; }
  .hero-copy p:not(.eyebrow) { font-size: 15px; }
  .market-shell { border-radius: 11px; }
  .market-toolbar { padding: 11px; }
  .market-toolbar > .btn { min-width: 42px; padding-inline: 10px; }
  .market-toolbar > .btn span { display: none; }
  .inventory-grid { min-height: 0; display: block; }
  .country-panel,
  .inventory-table { display: none; }
  .inventory-summary { min-height: 48px; padding-inline: 12px; }
  .inventory-summary .selected-label { display: none; }
  .inventory-mobile { padding: 8px; display: grid; gap: 7px; }
  .offer-card { padding: 13px; border: 1px solid var(--line-soft); border-radius: 8px; background: var(--surface); }
  .offer-card-head { display: flex; align-items: center; gap: 10px; }
  .offer-card-head .service-logo { width: 37px; height: 37px; }
  .offer-card-head .service-name { flex: 1; }
  .offer-price { color: var(--navy); font-size: 15px; font-weight: 760; }
  .offer-meta { margin: 12px 0; padding: 10px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); display: grid; grid-template-columns: repeat(3, 1fr); }
  .offer-meta div { color: var(--faint); font-size: 9px; }
  .offer-meta div + div { padding-inline-start: 10px; border-inline-start: 1px solid var(--line-soft); }
  .offer-meta strong { display: block; margin-top: 2px; color: var(--ink-2); font-size: 11px; }
  .offer-card .btn { width: 100%; }
  .assurance-grid { grid-template-columns: 1fr; }
  .assurance-item { padding-inline: 5px; }
  .assurance-item + .assurance-item { border-inline-start: 0; border-top: 1px solid var(--line); }
  .section { padding: 68px 0; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card { min-height: auto; }
  .api-feature { grid-template-columns: 1fr; }
  .code-window pre { padding: 17px; font-size: 10px; }
  .region-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer-brand { grid-column: 1 / -1; grid-row: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-bottom .compliance-note { margin-inline-start: 0; text-align: left; }
  .page-hero { padding: 52px 0 42px; }
  .page-hero p:not(.eyebrow) { font-size: 15px; }
  .legal-content { padding: 22px; }
  .dash-topbar { padding-inline: 13px; }
  .topbar-title { display: none; }
  .environment-pill { width: 25px; min-height: 25px; margin-inline-start: 0; padding: 3px 5px; justify-content: center; }
  .environment-pill > span:last-child { display: none; }
  .balance-pill span { display: none; }
  .dash-content { width: min(calc(100% - 24px), 1180px); padding-top: 25px; }
  .dash-heading { align-items: flex-start; flex-direction: column; }
  .dash-heading-actions { width: 100%; }
  .dash-heading-actions .btn { flex: 1; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .stat-card { min-height: 112px; padding: 14px; }
  .stat-value { font-size: 22px; }
  .activation-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .wallet-hero { grid-template-columns: 1fr; gap: 18px; }
  .wallet-hero .btn { width: 100%; }
  .transaction-scroll { overflow-x: auto; }
  .transaction-table { min-width: 620px; }
  .settings-grid { grid-template-columns: 1fr; }
  .amount-options { grid-template-columns: repeat(2, 1fr); }
  .modal-backdrop { padding: 10px; align-items: end; }
  .modal { width: 100%; max-height: calc(100vh - 10px); border-radius: 13px 13px 0 0; }
  .modal-footer { display: grid; grid-template-columns: 1fr 1fr; }
  .modal-footer .btn { width: 100%; }
}

@media (max-width: 420px) {
  .hero-copy h1 { font-size: 33px; }
  .market-toolbar { flex-wrap: wrap; }
  .search-field { flex-basis: calc(100% - 54px); }
  .region-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .number-display span { font-size: 17px; }
}

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

/* --------------------------------------------------------------------------
   TemporarySMSNumber — editorial operator theme
   A deliberately restrained visual language: warm paper, carbon, petrol and
   saffron. These overrides keep the existing application structure intact.
   -------------------------------------------------------------------------- */

:root {
  --ink: #201f1b;
  --ink-2: #4b4941;
  --muted: #706d63;
  --faint: #969085;
  --line: #d7d0c2;
  --line-soft: #e9e3d8;
  --canvas: #f2eee4;
  --surface: #fffdf7;
  --surface-soft: #f7f3e9;
  --navy: #153f3d;
  --navy-hover: #0d302f;
  --blue: #17625d;
  --blue-hover: #104b48;
  --blue-soft: #e4efea;
  --teal: #17625d;
  --teal-soft: #e3eee9;
  --amber: #8a4e05;
  --amber-soft: #f8e8c7;
  --red: #a13d35;
  --red-soft: #f8e8e4;
  --shadow-xs: 0 1px 0 rgba(32, 31, 27, 0.05);
  --shadow-sm: 0 8px 24px rgba(32, 31, 27, 0.07);
  --shadow-md: 0 24px 65px rgba(19, 38, 36, 0.17);
  --radius-sm: 3px;
  --radius: 5px;
  --radius-lg: 7px;
  --font: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Baskerville, Georgia, serif;
  --font-data: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  --saffron: #e2a235;
  --saffron-dark: #bd7415;
  --carbon: #24231f;
}

html,
body {
  background: var(--canvas);
}

body {
  line-height: 1.48;
}

::selection {
  color: var(--carbon);
  background: #f0bd68;
}

.btn,
.icon-btn,
.nav-link,
.country-row,
.language-option,
.region-card,
.step-card,
.dash-card,
.stat-card {
  transition-duration: 120ms;
}

.btn {
  min-height: 42px;
  padding-inline: 17px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.005em;
}

.btn:hover {
  transform: none;
}

.btn-primary {
  color: #211d16;
  background: var(--saffron);
  border-color: #c98721;
  box-shadow: none;
}

.btn-primary:hover {
  color: #17140f;
  background: #edb34f;
  border-color: var(--saffron-dark);
}

.btn-dark {
  background: var(--navy);
  border-color: var(--navy);
}

.btn-secondary,
.icon-btn {
  background: var(--surface);
  border-color: #c9c1b2;
  box-shadow: none;
}

.btn-secondary:hover,
.icon-btn:hover {
  background: #f4eee1;
  border-color: #9d9587;
}

.btn-ghost:hover {
  background: rgba(21, 63, 61, 0.07);
}

.btn:focus-visible,
.icon-btn:focus-visible,
.nav-link:focus-visible,
.country-row:focus-visible,
.faq-question:focus-visible,
input:focus-visible,
select:focus-visible {
  outline-color: rgba(189, 116, 21, 0.42);
}

.icon-btn,
.language-menu,
.form-control,
.search-field input,
.select-control {
  border-radius: 2px;
}

/* Public navigation */

.site-header {
  height: 74px;
  border-bottom: 2px solid var(--carbon);
  background: rgba(255, 253, 247, 0.97);
  backdrop-filter: blur(8px);
}

.header-inner {
  gap: 35px;
}

.brand {
  gap: 11px;
  color: var(--carbon);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 33px;
  height: 33px;
  border-radius: 1px;
  color: #f8f1e4;
  background: var(--navy);
  box-shadow: none;
  clip-path: polygon(0 0, 82% 0, 100% 18%, 100% 100%, 18% 100%, 0 82%);
}

.brand-mark::after {
  right: 3px;
  bottom: 3px;
  width: 5px;
  height: 5px;
  border: 1px solid var(--navy);
  border-radius: 0;
  background: var(--saffron);
}

.brand-word small {
  border-radius: 1px;
  color: #67562f;
  background: #f5e8cc;
}

.main-nav {
  align-self: stretch;
  gap: 0;
}

.nav-link {
  position: relative;
  padding: 0 13px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  color: #555148;
  font-size: 13px;
  font-weight: 600;
}

.nav-link:hover,
.nav-link.active {
  color: var(--carbon);
  background: transparent;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: -2px;
  left: 13px;
  height: 3px;
  background: var(--saffron);
}

.status-link {
  color: #776d5d;
  font-family: var(--font-data);
  font-size: 10px;
}

.status-dot,
.status-dot.pending-dot {
  border-radius: 1px;
  background: var(--saffron-dark);
  box-shadow: none;
}

.environment-pill,
.status-badge,
.scope-pill {
  border-radius: 2px;
}

.language-menu {
  border-top: 3px solid var(--navy);
  box-shadow: var(--shadow-md);
}

.language-option,
.language-code {
  border-radius: 1px;
}

/* Homepage / inventory terminal */

.home-hero {
  position: relative;
  padding: 70px 0 46px;
  overflow: hidden;
  background-color: var(--canvas);
  background-image:
    linear-gradient(90deg, rgba(21, 63, 61, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(21, 63, 61, 0.035) 1px, transparent 1px);
  background-size: 120px 100%, 100% 120px;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: max(24px, calc((100vw - var(--content)) / 2));
  width: 5px;
  background: var(--saffron);
}

.hero-copy {
  max-width: 890px;
  margin: 0 0 44px;
  padding-inline-start: 32px;
  text-align: start;
}

.eyebrow {
  margin-bottom: 15px;
  color: #80500d;
  font-family: var(--font-data);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.hero-copy h1,
.page-hero h1,
.section-heading h2,
.api-copy h2,
.coverage-copy h2,
.dash-heading h1,
.docs-content h2 {
  font-family: var(--font-display);
  font-weight: 600;
}

.hero-copy h1,
.page-hero h1 {
  color: var(--carbon);
  font-size: clamp(44px, 5.8vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-copy p:not(.eyebrow) {
  max-width: 650px;
  margin: 22px 0 0;
  color: #625e55;
  font-size: 17px;
}

.market-shell {
  position: relative;
  border: 1px solid #bdb5a7;
  border-top: 5px solid var(--navy);
  border-radius: 2px;
  background: var(--surface);
  box-shadow: 8px 9px 0 rgba(21, 63, 61, 0.09);
}

.market-shell::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: -5px;
  inset-inline-end: 0;
  width: 118px;
  height: 5px;
  background: var(--saffron);
}

.market-toolbar {
  min-height: 70px;
  padding: 13px 15px;
  border-bottom-color: #cfc7b9;
  background: #f7f2e8;
}

.search-field input,
.form-control,
.select-control {
  border-color: #c9c1b3;
  background: #fffef9;
}

.search-field input:focus,
.form-control:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 2px rgba(21, 63, 61, 0.14);
}

.inventory-grid {
  grid-template-columns: 252px minmax(0, 1fr);
}

.country-panel {
  padding: 0;
  border-inline-end-color: #c9c1b3;
  background: #ede8dc;
}

.country-heading {
  min-height: 52px;
  padding: 9px 16px;
  border-bottom: 1px solid #cec6b8;
  color: #645f55;
  font-family: var(--font-data);
  letter-spacing: 0.12em;
}

.country-list {
  padding: 9px;
}

.country-row {
  position: relative;
  min-height: 44px;
  padding: 7px 10px;
  border-radius: 1px;
}

.country-row:hover {
  background: rgba(255, 253, 247, 0.72);
}

.country-row.active {
  color: #173f3d;
  background: #fffdf7;
  box-shadow: inset 4px 0 0 var(--saffron-dark);
  font-weight: 700;
}

[dir="rtl"] .country-row.active {
  box-shadow: inset -4px 0 0 var(--saffron-dark);
}

.country-count,
.metric-main,
.metric-sub,
.price-cell,
.inventory-summary {
  font-family: var(--font-data);
}

.inventory-summary {
  min-height: 52px;
  padding-inline: 17px;
  border-bottom-color: #cfc7b9;
  color: #716b60;
  background: #fffdf7;
  font-size: 10px;
}

.inventory-table th {
  height: 43px;
  padding-inline: 16px;
  border-bottom-color: #0d302f;
  color: #e9e1d2;
  background: var(--navy);
  font-family: var(--font-data);
  font-size: 9px;
  letter-spacing: 0.11em;
}

.inventory-table td {
  height: 66px;
  padding-inline: 16px;
  border-bottom-color: #ddd6c9;
  color: #49463f;
}

.inventory-table tbody tr:nth-child(even) {
  background: #fbf8f0;
}

.inventory-table tbody tr:hover {
  background: #f3ead8;
  box-shadow: inset 3px 0 0 var(--saffron);
}

[dir="rtl"] .inventory-table tbody tr:hover {
  box-shadow: inset -3px 0 0 var(--saffron);
}

.service-logo {
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.service-name strong {
  font-size: 13px;
  font-weight: 700;
}

.service-name small {
  font-family: var(--font-data);
}

.stock-bar {
  height: 4px;
  border-radius: 0;
  background: #ddd7ca;
}

.stock-bar span {
  border-radius: 0;
  background: var(--teal);
}

.stock-limited span {
  background: var(--saffron-dark);
}

.price-cell {
  color: var(--carbon) !important;
  font-size: 13px !important;
  letter-spacing: -0.02em;
}

/* Supporting editorial sections */

.assurance-grid {
  border-top: 2px solid var(--carbon);
  border-bottom: 1px solid var(--line);
}

.assurance-icon,
.help-card .assurance-icon {
  border-radius: 1px;
  color: var(--navy);
  background: #efe6d4;
}

.section {
  padding-block: 100px;
}

.section-white {
  background: #fffdf7;
}

.section-navy {
  background: var(--navy);
}

.section-heading {
  max-width: 760px;
}

.section-heading.center {
  text-align: start;
  margin-inline: 0;
  padding-inline-start: 25px;
  border-inline-start: 4px solid var(--saffron);
}

.section-heading h2,
.coverage-copy h2 {
  color: var(--carbon);
  font-size: clamp(34px, 4.2vw, 53px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.step-card,
.region-card,
.content-card,
.pricing-card,
.help-card,
.legal-content,
.legal-side .content-card,
.settings-card,
.dash-card,
.stat-card {
  border-color: #d1c9bb;
  border-radius: 2px;
  box-shadow: none;
}

.step-card {
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--navy);
}

.step-card::after {
  content: "";
  position: absolute;
  inset-inline-end: 0;
  top: 0;
  width: 54px;
  height: 3px;
  background: var(--saffron);
}

.step-number {
  border: 0;
  border-radius: 1px;
  color: var(--surface);
  background: var(--navy);
  font-family: var(--font-data);
}

.step-card h3,
.pricing-card h3,
.content-card h2,
.content-card h3,
.settings-card h2 {
  font-family: var(--font-display);
}

.api-copy .eyebrow {
  color: #f3bd5c;
}

.api-copy h2 {
  color: #fff9ed;
}

.api-copy > p:not(.eyebrow),
.ai-policy {
  color: #c8d5cf;
}

.api-actions .btn-primary {
  color: #211d16;
  background: var(--saffron);
  border-color: var(--saffron);
}

.code-window,
.docs-code {
  border-radius: 2px;
  background: #142321;
  box-shadow: 9px 9px 0 rgba(7, 25, 24, 0.35);
}

.code-window {
  border-top: 4px solid var(--saffron);
}

.code-titlebar {
  color: #a9b8b0;
  background: rgba(255, 255, 255, 0.02);
}

.code-dot {
  border-radius: 1px;
}

.code-tab {
  border-radius: 1px;
}

.region-card:hover {
  border-color: #867e70;
  box-shadow: 5px 5px 0 rgba(21, 63, 61, 0.1);
  transform: translate(-1px, -1px);
}

.faq-list {
  border-top: 2px solid var(--carbon);
}

.faq-question {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
}

.site-footer {
  padding-top: 67px;
  border-top: 6px solid var(--saffron);
  color: #c6c8c0;
  background: #242823;
}

.footer-brand .brand,
.footer-column h4 {
  color: #fff9ed;
}

.footer-brand .brand-mark {
  color: var(--carbon);
  background: var(--saffron);
}

.footer-brand .brand-mark::after {
  border-color: var(--saffron);
  background: var(--navy);
}

.footer-column h4 {
  font-family: var(--font-data);
  font-size: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-column a:hover {
  color: var(--saffron);
}

/* Inner pages */

.page-main {
  background: var(--canvas);
}

.page-hero {
  position: relative;
  padding-block: 88px 68px;
  border-bottom: 1px solid #c6beaf;
  overflow: hidden;
  background: #e9e3d7;
}

.page-hero::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  inset-inline-end: max(0px, calc((100vw - var(--content)) / 2));
  width: min(26vw, 360px);
  opacity: 0.35;
  background: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(21, 63, 61, 0.17) 14px 15px);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  padding-inline-start: 27px;
  border-inline-start: 5px solid var(--saffron);
}

.page-hero h1 {
  font-size: clamp(43px, 5.3vw, 67px);
}

.content-section {
  padding-block: 72px 100px;
}

.content-card,
.legal-content,
.settings-card {
  background: var(--surface);
}

.pricing-card.featured {
  border-color: var(--navy);
  border-top: 5px solid var(--navy);
  box-shadow: 7px 7px 0 rgba(21, 63, 61, 0.1);
}

.pricing-badge {
  border-radius: 1px;
  color: #211d16;
  background: var(--saffron);
}

.price-display {
  color: var(--navy);
  font-family: var(--font-display);
}

.docs-nav a {
  border-radius: 1px;
}

.docs-nav a:hover,
.docs-nav a.active {
  color: var(--navy);
  background: #e5ded1;
  box-shadow: inset 3px 0 0 var(--saffron-dark);
}

[dir="rtl"] .docs-nav a:hover,
[dir="rtl"] .docs-nav a.active {
  box-shadow: inset -3px 0 0 var(--saffron-dark);
}

.inline-code {
  border-radius: 1px;
  color: #7e3f19;
  background: #f2e7d4;
}

.method,
.notice,
.info-banner,
.endpoint-row {
  border-radius: 2px;
}

.notice,
.info-banner {
  border-color: #b9c8c0;
  color: #355d56;
  background: #e7efea;
}

.notice strong,
.info-banner strong {
  color: #173f3d;
}

/* Dashboard */

.dashboard-shell {
  grid-template-columns: 254px minmax(0, 1fr);
  background: #ece7dc;
}

.dash-sidebar {
  padding: 22px 14px;
  border-inline-end: 0;
  color: #d7ded8;
  background: #173a38;
}

.dash-sidebar .brand {
  color: #fff9ed;
}

.dash-sidebar .brand-mark {
  color: var(--carbon);
  background: var(--saffron);
}

.dash-sidebar .brand-mark::after {
  border-color: var(--saffron);
  background: #173a38;
}

.workspace-switcher {
  border-color: rgba(255, 255, 255, 0.17);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.055);
}

.workspace-name strong,
.sidebar-user-info strong {
  color: #fff9ed;
}

.workspace-name span,
.sidebar-user-info span,
.dash-nav-label {
  color: #98aaa2;
}

.dash-nav-label {
  font-family: var(--font-data);
  letter-spacing: 0.12em;
}

.dash-nav-link {
  border-radius: 1px;
  color: #bccac3;
}

.dash-nav-link:hover {
  color: #fff9ed;
  background: rgba(255, 255, 255, 0.07);
}

.dash-nav-link.active {
  color: #1f2a25;
  background: var(--saffron);
  box-shadow: none;
}

.dash-nav-link .nav-badge {
  color: #bfcac5;
  background: rgba(255, 255, 255, 0.1);
}

.dash-nav-link.active .nav-badge {
  color: var(--carbon);
  background: rgba(255, 255, 255, 0.38);
}

.sidebar-bottom,
.sidebar-user {
  border-color: rgba(255, 255, 255, 0.15);
}

.dash-topbar {
  height: 68px;
  border-bottom: 2px solid var(--carbon);
  background: rgba(255, 253, 247, 0.96);
  backdrop-filter: blur(7px);
}

.topbar-title {
  color: var(--carbon);
  font-family: var(--font-data);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.balance-pill {
  border-radius: 2px;
  color: #173f3d;
  background: #e8e1d4;
}

.environment-pill {
  border-color: #d7b77c;
  color: #6f4308;
  background: #f3dfb8;
  font-family: var(--font-data);
  letter-spacing: 0.06em;
}

.dash-content {
  padding-top: 37px;
}

.dash-heading {
  padding-bottom: 18px;
  border-bottom: 1px solid #cfc7ba;
}

.dash-heading h1 {
  color: var(--carbon);
  font-size: 35px;
  letter-spacing: -0.035em;
}

.stat-grid {
  gap: 10px;
}

.stat-card {
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--navy);
  background: var(--surface);
}

.stat-card::after {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  width: 40px;
  height: 3px;
  background: var(--saffron);
}

.stat-card-top,
.stat-value,
.stat-trend,
.activity-value,
.usage-number,
.wallet-hero-value,
.transaction-table,
.number-display span {
  font-family: var(--font-data);
}

.stat-value {
  color: var(--navy);
  font-size: 25px;
}

.dash-card {
  background: var(--surface);
}

.dash-card-header {
  border-bottom-color: #d5cec1;
  background: #f7f2e8;
}

.dash-card-header h2 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
}

.status-badge {
  border: 1px solid #ddbd82;
}

.number-display {
  border-radius: 2px;
  border-color: #c9c1b3;
  background: #f1eadc;
}

.progress-bar {
  border-radius: 0;
  background: #dcd4c7;
}

.progress-bar span {
  border-radius: 0;
  background: var(--saffron-dark);
}

.activity-icon,
.key-icon,
.user-avatar {
  border-radius: 2px;
}

.activity-icon,
.key-icon {
  color: var(--navy);
  background: #e2ebe6;
}

.activity-icon.green {
  color: #7f4f0b;
  background: #f5e3be;
}

.wallet-hero {
  border: 1px solid #0c302e;
  border-radius: 2px;
  background: var(--navy);
  box-shadow: 7px 7px 0 rgba(21, 63, 61, 0.12);
}

.wallet-hero .btn-primary {
  color: #211d16;
  background: var(--saffron);
  border-color: var(--saffron);
}

.transaction-table th {
  color: #e7e0d3;
  background: var(--navy);
  font-family: var(--font-data);
}

.transaction-table tbody tr:nth-child(even) {
  background: #faf6ee;
}

.settings-card {
  border-top: 3px solid var(--navy);
}

.toggle {
  border-radius: 2px;
  background: #bbb3a6;
}

.toggle::after {
  border-radius: 1px;
}

.toggle.on {
  background: var(--navy);
}

/* Overlays and feedback */

.modal-backdrop {
  background: rgba(20, 28, 25, 0.66);
  backdrop-filter: blur(2px);
}

.modal {
  border: 0;
  border-top: 6px solid var(--saffron);
  border-radius: 2px;
  box-shadow: 12px 12px 0 rgba(12, 32, 30, 0.28);
}

.modal-header,
.modal-footer {
  background: #f5efe3;
}

.modal-header h2 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
}

.purchase-product,
.provider-box,
.warning-box,
.amount-option {
  border-radius: 2px;
}

.amount-option:hover,
.amount-option.active {
  color: var(--navy);
  border-color: var(--navy);
  background: #e5eee9;
  box-shadow: inset 0 -3px 0 var(--saffron);
}

.provider-logo {
  border-radius: 1px;
  background: #5f4a84;
}

.toast {
  border-radius: 2px;
  border-inline-start: 4px solid var(--saffron);
  background: #203936;
}

/* Responsive refinements for the new, more angular system */

@media (max-width: 1120px) {
  .inventory-grid {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .dashboard-shell {
    grid-template-columns: 224px minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .site-header {
    height: 66px;
  }

  .mobile-nav {
    top: 66px;
    border-bottom: 2px solid var(--carbon);
    background: #fffdf7;
  }

  .mobile-nav .nav-link {
    min-height: 43px;
  }

  .mobile-nav .nav-link.active::after {
    top: 8px;
    right: auto;
    bottom: 8px;
    left: 0;
    width: 3px;
    height: auto;
  }

  [dir="rtl"] .mobile-nav .nav-link.active::after {
    right: 0;
    left: auto;
  }

  .home-hero::before {
    inset-inline-start: 16px;
  }

  .hero-copy {
    padding-inline-start: 26px;
  }

  .inventory-grid {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .dash-sidebar {
    background: #173a38;
  }
}

@media (max-width: 680px) {
  .home-hero {
    padding-block: 45px 35px;
    background-size: 72px 100%, 100% 72px;
  }

  .home-hero::before {
    inset-inline-start: 12px;
    width: 4px;
  }

  .hero-copy {
    margin-bottom: 30px;
    padding-inline-start: 18px;
  }

  .hero-copy h1 {
    font-size: clamp(39px, 12vw, 53px);
    line-height: 0.98;
  }

  .market-shell {
    border-radius: 1px;
    box-shadow: 5px 6px 0 rgba(21, 63, 61, 0.09);
  }

  .market-toolbar {
    min-height: 60px;
  }

  .inventory-mobile {
    padding: 0;
    gap: 0;
  }

  .offer-card {
    padding: 16px 13px;
    border-width: 0 0 1px;
    border-color: #d8d0c3;
    border-radius: 0;
    background: #fffdf7;
  }

  .offer-card:nth-child(even) {
    background: #faf6ed;
  }

  .section {
    padding-block: 72px;
  }

  .section-heading.center {
    padding-inline-start: 17px;
  }

  .step-card {
    border-radius: 1px;
  }

  .page-hero {
    padding-block: 57px 49px;
  }

  .page-hero::after {
    width: 34vw;
  }

  .page-hero-inner {
    padding-inline-start: 18px;
    border-inline-start-width: 4px;
  }

  .page-hero h1 {
    font-size: clamp(39px, 12vw, 52px);
  }

  .dash-topbar {
    height: 64px;
  }

  .dash-heading h1 {
    font-size: 31px;
  }

  .modal {
    border-radius: 2px 2px 0 0;
  }
}

@media (max-width: 420px) {
  .brand {
    gap: 8px;
    font-size: 16px;
  }

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

  .hero-copy h1 {
    font-size: 38px;
  }
}
