/* WAMEX Professional UI System - RTL / responsive / dependency-free */

/* WAMEX Typography System — Estedad Variable (100–900) */

:root {
  --font-ui: "Estedad Variable",Estedad,Tahoma,Arial,sans-serif;
  --font-mono: Consolas,"Courier New",monospace;
}

html,body,button,input,select,textarea {
  font-family: var(--font-ui);
}

body {
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

h1,h2,h3,h4,h5,h6,.brand b,.btn,.side-link,.public-nav a,.kpi-value,.price {
  font-family: var(--font-ui);
  font-weight: 700;
}

.brand b {
  font-weight: 850;
  letter-spacing: .02em;
}

.eyebrow,.kicker,.v2-section-kicker {
  font-weight: 700;
}

input,select,textarea {
  font-weight: 450;
}

.mono {
  font-family: var(--font-mono);
}

:root {
  --ink: #10213f;
  --ink-2: #223556;
  --muted: #6e7c91;
  --muted-2: #93a0b3;
  --line: #e6ebf2;
  --line-2: #d8e0ea;
  --bg: #f5f7fb;
  --surface: #fff;
  --surface-2: #f9fbfd;
  --navy: #10213f;
  --primary: #2563eb;
  --primary-2: #1d4ed8;
  --primary-soft: #eef4ff;
  --teal: #0f9f8f;
  --teal-soft: #eafaf7;
  --amber: #b7791f;
  --amber-soft: #fff8e8;
  --danger: #c2415c;
  --danger-soft: #fff0f3;
  --shadow-sm: 0 1px 2px rgba(16,33,63,.04),0 5px 18px rgba(16,33,63,.04);
  --shadow: 0 14px 40px rgba(16,33,63,.08);
  --shadow-lg: 0 28px 70px rgba(16,33,63,.14);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1200px;
  --sidebar: 272px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Estedad Variable",Estedad,Tahoma,Arial,sans-serif;
  font-size: 14px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  cursor: pointer;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

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

.public-main {
  min-height: 68vh;
}

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

.text-sm {
  font-size: 12px;
}

.text-lg {
  font-size: 17px;
}

.strong {
  font-weight: 800;
}

.mono {
  font-family: Consolas,"Segoe UI",sans-serif;
  direction: ltr;
  unicode-bidi: embed;
}

.nowrap {
  white-space: nowrap;
}

.spacer {
  height: 18px;
}

/* Brand */ .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg,#1e4fd7,#2f7df3);
  color: #fff;
  font-weight: 900;
  font-size: 20px;
  box-shadow: 0 8px 20px rgba(37,99,235,.25);
}

.brand>span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand b {
  font-size: 18px;
  letter-spacing: .8px;
}

.brand small {
  font-size: 10px;
  color: var(--muted);
  font-weight: 600;
  margin-top: 5px;
}

.brand--panel .brand-mark {
  background: #fff;
  color: var(--primary);
  box-shadow: none;
}

.brand--panel b,.brand--panel small {
  color: #fff;
}

.brand--panel small {
  opacity: .62;
}

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

.brand--footer small {
  color: #9eabc0;
}

/* Buttons */ .btn,button.btn {
  border: 1px solid transparent;
  border-radius: 12px;
  min-height: 42px;
  padding: 9px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 750;
  transition: .18s ease;
  background: transparent;
  color: var(--ink);
}

.btn .icon {
  width: 18px;
  height: 18px;
}

.btn--primary,.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(37,99,235,.18);
}

.btn--primary:hover,.btn-primary:hover {
  background: var(--primary-2);
  transform: translateY(-1px);
}

.btn--soft {
  background: var(--primary-soft);
  color: var(--primary-2);
  border-color: #dbe7ff;
}

.btn--soft:hover {
  background: #e4edff;
}

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

.btn--ghost:hover {
  background: #f3f6fa;
}

.btn--outline {
  background: #fff;
  border-color: var(--line-2);
  color: var(--ink-2);
}

.btn--outline:hover {
  border-color: #bcc9d9;
  background: #f9fbfd;
}

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

.btn--success {
  background: var(--teal-soft);
  color: #08796d;
  border-color: #c7efe8;
}

.btn--block {
  width: 100%;
}

.btn--sm {
  min-height: 36px;
  padding: 6px 11px;
  border-radius: 10px;
  font-size: 12px;
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--ink-2);
}

.icon-button:hover {
  background: #f7f9fc;
}

/* Public header */ .public-header {
  height: 78px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(224,230,239,.9);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-container {
  width: min(var(--container),calc(100% - 40px));
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 30px;
}

.public-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-inline-start: auto;
}

.public-nav a {
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 650;
  position: relative;
}

.public-nav a:after {
  content: "";
  position: absolute;
  right: 0;
  left: 100%;
  bottom: -10px;
  height: 2px;
  background: var(--primary);
  transition: .2s;
}

.public-nav a:hover {
  color: var(--primary);
}

.public-nav a:hover:after {
  left: 0;
}

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

.header-logout {
  display: inline;
}

.public-menu-trigger {
  display: none;
}

/* Marketing */ .hero-section {
  position: relative;
  overflow: hidden;
  padding: 70px 0 56px;
  background: radial-gradient(circle at 15% 10%,rgba(37,99,235,.10),transparent 34%),linear-gradient(180deg,#fbfdff 0,#f6f8fc 100%);
  border-bottom: 1px solid var(--line);
}

.hero-section:before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(37,99,235,.08);
  left: -260px;
  top: -170px;
  box-shadow: 0 0 0 70px rgba(37,99,235,.02),0 0 0 140px rgba(37,99,235,.015);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(380px,.72fr);
  gap: 72px;
  align-items: center;
  position: relative;
}

.hero-copy h1 {
  font-size: 50px;
  line-height: 1.35;
  letter-spacing: -1.6px;
  margin: 14px 0 18px;
  max-width: 720px;
}

.hero-copy h1 .accent {
  color: var(--primary);
}

.hero-copy>p {
  font-size: 17px;
  line-height: 2.05;
  color: var(--muted);
  max-width: 680px;
  margin: 0 0 28px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d9e5ff;
  color: #2456bf;
  background: #f2f6ff;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 11px;
  font-weight: 800;
}

.eyebrow-pill .icon {
  width: 15px;
  height: 15px;
}

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

.hero-trust {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 32px;
  color: var(--muted);
  font-size: 12px;
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-trust .icon {
  width: 17px;
  height: 17px;
  color: var(--teal);
}

.loan-finder-card {
  background: #fff;
  border: 1px solid #e1e8f2;
  border-radius: 26px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.loan-finder-card:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

.finder-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.finder-head h2 {
  font-size: 19px;
  margin: 0 0 3px;
}

.finder-head p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.finder-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
}

.finder-form {
  display: grid;
  gap: 14px;
}

.money-field {
  position: relative;
}

.money-field span {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  color: var(--muted);
  pointer-events: none;
}

.finder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.finder-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
  padding-top: 3px;
}

.finder-note .icon {
  width: 16px;
  height: 16px;
  color: var(--teal);
  margin-top: 2px;
  flex: 0 0 auto;
}

.section {
  padding: 78px 0;
}

.section--white {
  background: #fff;
}

.section--soft {
  background: #f8fafc;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-head h2 {
  font-size: 30px;
  letter-spacing: -.6px;
  margin: 7px 0 0;
}

.section-head p {
  color: var(--muted);
  margin: 0;
  max-width: 600px;
}

.kicker {
  color: var(--primary);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .2px;
}

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

.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  min-height: 210px;
  transition: .2s;
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: #ced9e8;
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 19px;
}

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

.feature-icon--amber {
  background: var(--amber-soft);
  color: var(--amber);
}

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

.feature-card p {
  color: var(--muted);
  margin: 0 0 18px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--primary);
  font-weight: 800;
  font-size: 12px;
}

.text-link .icon {
  width: 15px;
  height: 15px;
}

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

.step-card {
  position: relative;
  border-top: 1px solid var(--line);
  padding: 24px 14px 0;
}

.step-no {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 15px;
}

.step-card h3 {
  font-size: 15px;
  margin: 0 0 6px;
}

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

.trust-panel {
  background: linear-gradient(135deg,#10213f,#163260);
  border-radius: 26px;
  padding: 38px;
  color: #fff;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow);
}

.trust-panel h2 {
  font-size: 28px;
  margin: 8px 0 10px;
}

.trust-panel p {
  color: #bcc8da;
  margin: 0;
}

.trust-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.trust-item {
  padding: 15px;
  border: 1px solid rgba(255,255,255,.11);
  background: rgba(255,255,255,.055);
  border-radius: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.trust-item .icon {
  color: #6ee7d8;
  flex: 0 0 auto;
  margin-top: 2px;
}

.trust-item b {
  display: block;
  font-size: 13px;
}

.trust-item small {
  display: block;
  color: #aebcd0;
  margin-top: 2px;
}

.cta-band {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-sm);
}

.cta-band h2 {
  font-size: 24px;
  margin: 0 0 4px;
}

.cta-band p {
  margin: 0;
  color: var(--muted);
}

/* General content */ .content-wrap {
  width: min(1120px,calc(100% - 40px));
  margin: 0 auto;
  padding: 46px 0 70px;
}

.content-wrap--narrow {
  width: min(760px,calc(100% - 40px));
}

.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.page-head h1 {
  font-size: 28px;
  letter-spacing: -.5px;
  margin: 0 0 6px;
}

.page-head p {
  margin: 0;
  color: var(--muted);
}

.page-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.eyebrow {
  display: block;
  font-size: 10px;
  color: var(--muted);
  font-weight: 800;
  letter-spacing: .5px;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.panel-pad {
  padding: 24px;
}

.panel-head {
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-head h2,.panel-head h3 {
  margin: 0;
  font-size: 16px;
}

.panel-head p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.panel-body {
  padding: 22px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.card h1,.card h2,.card h3 {
  margin-top: 0;
}

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

.split-grid {
  display: grid;
  grid-template-columns: minmax(0,1.55fr) minmax(300px,.75fr);
  gap: 18px;
}

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

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

.empty-state {
  padding: 48px 24px;
  text-align: center;
  background: #fff;
  border: 1px dashed var(--line-2);
  border-radius: 18px;
}

.empty-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  border-radius: 17px;
  background: #f1f5fb;
  color: var(--muted);
  display: grid;
  place-items: center;
}

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

.empty-state p {
  margin: 0 auto 16px;
  color: var(--muted);
  max-width: 480px;
}

/* Forms */ .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field--full {
  grid-column: 1/-1;
}

.field label {
  font-size: 12px;
  font-weight: 800;
  color: var(--ink-2);
}

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

.field small,.field-hint {
  font-size: 10px;
  color: var(--muted);
}

input,select,textarea {
  width: 100%;
  border: 1px solid var(--line-2);
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  min-height: 46px;
  padding: 10px 13px;
  outline: none;
  transition: .15s;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,select:focus,textarea:focus {
  border-color: #7aa5fb;
  box-shadow: 0 0 0 3px rgba(37,99,235,.10);
}

input::placeholder,textarea::placeholder {
  color: #adb7c5;
}

.input-validation-error {
  border-color: #ef8294!important;
  box-shadow: 0 0 0 3px rgba(194,65,92,.08)!important;
}

.field-validation-error,.validation-summary-errors {
  color: var(--danger);
  font-size: 11px;
}

.validation-summary-errors {
  background: var(--danger-soft);
  border: 1px solid #ffd5dd;
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.validation-summary-errors ul {
  margin: 0;
  padding-right: 18px;
}

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  font-size: 12px;
}

.checkbox-line input {
  width: 16px;
  height: 16px;
  min-height: auto;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  justify-content: flex-start;
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 20px;
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.segment {
  position: relative;
}

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

.segment label {
  display: flex!important;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  font-weight: 700!important;
  background: #fff;
}

.segment input:checked+label {
  border-color: #8aaff8;
  background: #f2f6ff;
  color: #1d4ed8;
  box-shadow: 0 0 0 2px rgba(37,99,235,.07);
}

.segment-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #bdc6d3;
}

.segment input:checked+label .segment-dot {
  background: var(--primary);
  box-shadow: 0 0 0 4px #dce8ff;
}

.form-note {
  display: flex;
  gap: 9px;
  background: #f7f9fc;
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 12px;
  font-size: 11px;
  color: var(--muted);
}

.form-note .icon {
  width: 17px;
  height: 17px;
  color: var(--primary);
  flex: 0 0 auto;
}

.file-field {
  display: flex;
  align-items: center;
  gap: 9px;
}

.file-field input[type=file] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.file-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px dashed #b9c6d8;
  background: #f9fbfd;
  border-radius: 10px;
  padding: 8px 11px;
  color: var(--primary);
  font-weight: 800;
  cursor: pointer;
  font-size: 11px;
}

.file-name {
  font-size: 10px;
  color: var(--muted);
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Search / toolbar */ .toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.search-box {
  position: relative;
  width: min(360px,100%);
}

.search-box .icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--muted);
}

.search-box input {
  padding-right: 38px;
  background: #fff;
}

.toolbar-note {
  font-size: 11px;
  color: var(--muted);
}

/* Badges */ .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 27px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #f0f3f7;
  color: #5d6b7f;
  font-size: 10px;
  font-weight: 850;
  white-space: nowrap;
}

.badge:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: .8;
}

.badge--primary {
  background: var(--primary-soft);
  color: #2457c5;
}

.badge--success {
  background: var(--teal-soft);
  color: #08796d;
}

.badge--warning {
  background: var(--amber-soft);
  color: #9b6519;
}

.badge--danger {
  background: var(--danger-soft);
  color: var(--danger);
}

.badge--neutral {
  background: #f0f3f7;
  color: #65748a;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 8px;
  background: #f3f6fa;
  color: #55657b;
  font-size: 10px;
  font-weight: 750;
}

/* Tables */ .table-shell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th {
  height: 46px;
  background: #f8fafc;
  color: #718096;
  font-size: 10px;
  font-weight: 850;
  text-align: right;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

td {
  padding: 14px 18px;
  border-bottom: 1px solid #eef2f6;
  color: var(--ink-2);
  vertical-align: middle;
  font-size: 12px;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover {
  background: #fbfcfe;
}

.table-primary {
  font-weight: 800;
  color: var(--ink);
}

.table-secondary {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 2px;
}

.table-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-start;
}

.link-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--primary);
  font-weight: 800;
  font-size: 11px;
}

.link-action .icon {
  width: 15px;
  height: 15px;
}

/* KPI / dashboards */ .dashboard-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.dashboard-head h1 {
  font-size: 27px;
  margin: 0 0 4px;
}

.dashboard-head p {
  margin: 0;
  color: var(--muted);
}

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

.kpi-grid.kpi-grid--3 {
  grid-template-columns: repeat(3,1fr);
}

.kpi-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.kpi-icon {
  width: 43px;
  height: 43px;
  border-radius: 13px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

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

.kpi-icon--amber {
  background: var(--amber-soft);
  color: var(--amber);
}

.kpi-icon--navy {
  background: #edf1f6;
  color: var(--navy);
}

.kpi-copy small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.kpi-copy strong {
  display: block;
  font-size: 24px;
  line-height: 1.3;
  margin-top: 3px;
  letter-spacing: -.6px;
}

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

.quick-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 19px;
  display: flex;
  align-items: center;
  gap: 13px;
  transition: .18s;
}

.quick-card:hover {
  border-color: #c5d3e5;
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.quick-card .quick-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #f4f7fb;
  display: grid;
  place-items: center;
  color: var(--ink-2);
}

.quick-card b {
  display: block;
  font-size: 13px;
}

.quick-card small {
  display: block;
  color: var(--muted);
  margin-top: 2px;
}

.quick-card>.icon {
  margin-inline-start: auto;
  width: 16px;
  height: 16px;
  color: var(--muted);
}

/* App shell */ .app-body {
  overflow-x: hidden;
}

.app-shell {
  min-height: 100vh;
}

.app-sidebar {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: var(--sidebar);
  background: linear-gradient(180deg,#10213f,#0d1b34);
  color: #dbe5f5;
  padding: 18px 14px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 30px rgba(16,33,63,.08);
}

.sidebar-head {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.sidebar-close {
  display: none;
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.09);
  color: #fff;
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 0;
}

.side-link {
  width: 100%;
  min-height: 44px;
  border-radius: 11px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #aebbd0;
  font-size: 12px;
  font-weight: 700;
  border: 0;
  background: transparent;
  text-align: right;
}

.side-link .icon {
  width: 18px;
  height: 18px;
}

.side-link:hover {
  background: rgba(255,255,255,.06);
  color: #fff;
}

.side-link.active {
  background: linear-gradient(90deg,rgba(37,99,235,.34),rgba(37,99,235,.18));
  color: #fff;
  box-shadow: inset -2px 0 #61a0ff;
}

.side-link--button {
  cursor: pointer;
}

.sidebar-bottom {
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 12px;
}

.sidebar-bottom form {
  margin: 0;
}

.app-stage {
  margin-right: var(--sidebar);
  min-height: 100vh;
}

.app-topbar {
  height: 72px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 40;
}

.topbar-start {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-start strong {
  display: block;
  font-size: 14px;
}

.sidebar-trigger {
  display: none;
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 9px;
}

.user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #eef3fa;
  color: #3f587a;
  display: grid;
  place-items: center;
}

.user-avatar .icon {
  width: 18px;
  height: 18px;
}

.user-chip-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.user-chip-copy small {
  font-size: 9px;
  color: var(--muted);
}

.user-chip-copy b {
  font-size: 11px;
  margin-top: 3px;
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-main {
  padding: 28px;
  max-width: 1500px;
  margin: 0 auto;
}

.app-overlay {
  display: none;
}

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

.ad-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 19px;
  overflow: hidden;
  transition: .2s;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.ad-card:hover {
  transform: translateY(-3px);
  border-color: #ced9e8;
  box-shadow: var(--shadow);
}

.ad-card-top {
  padding: 19px 19px 13px;
}

.ad-card h3 {
  font-size: 16px;
  line-height: 1.65;
  margin: 10px 0 11px;
}

.ad-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 11px;
}

.ad-meta b {
  color: var(--ink-2);
}

.ad-price {
  padding: 13px 19px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
}

.ad-price small {
  display: block;
  color: var(--muted);
  font-size: 9px;
}

.ad-price strong {
  display: block;
  color: var(--primary);
  font-size: 18px;
  letter-spacing: -.4px;
}

.ad-price>.icon {
  width: 17px;
  height: 17px;
  color: var(--muted);
}

.detail-title {
  font-size: 28px;
  margin: 12px 0 7px;
}

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

.metric {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 13px;
}

.metric small {
  display: block;
  font-size: 9px;
  color: var(--muted);
}

.metric strong {
  display: block;
  font-size: 16px;
  margin-top: 3px;
}

.price-box {
  background: linear-gradient(145deg,#f1f6ff,#fff);
  border: 1px solid #dce7fb;
  border-radius: 16px;
  padding: 18px;
}

.price-box small {
  color: var(--muted);
  display: block;
}

.price-box strong {
  font-size: 27px;
  color: var(--primary);
  display: block;
  margin-top: 3px;
}

.safe-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--teal-soft);
  border: 1px solid #c7eee7;
  border-radius: 14px;
  padding: 13px;
  color: #17675f;
}

.safe-box .icon {
  flex: 0 0 auto;
  margin-top: 2px;
}

/* Loan flow */ .flow-steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 0;
  margin-bottom: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 12px;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.flow-step:not(:last-child):after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1;
  margin: 0 10px;
}

.flow-step-no {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: #f0f3f7;
  display: grid;
  place-items: center;
}

.flow-step.active {
  color: var(--primary);
}

.flow-step.active .flow-step-no {
  background: var(--primary);
  color: #fff;
}

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

.suggestion-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 19px;
  padding: 20px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.suggestion-card--featured {
  border-color: #bcd1fb;
  box-shadow: 0 16px 40px rgba(37,99,235,.09);
}

.suggestion-card--featured:before {
  content: "گزینه پیشنهادی";
  position: absolute;
  top: -10px;
  left: 16px;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 9px;
  font-weight: 850;
}

.suggestion-provider {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.suggestion-card h3 {
  font-size: 16px;
  margin: 13px 0 15px;
}

.suggestion-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.suggestion-stat {
  background: #f8fafc;
  border-radius: 11px;
  padding: 9px;
}

.suggestion-stat small {
  display: block;
  color: var(--muted);
  font-size: 9px;
}

.suggestion-stat b {
  display: block;
  font-size: 12px;
  margin-top: 2px;
}

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

.suggestion-total small {
  display: block;
  color: var(--muted);
  font-size: 9px;
}

.suggestion-total strong {
  display: block;
  font-size: 21px;
  color: var(--primary);
  margin-top: 2px;
}

.submit-band {
  margin-top: 18px;
  background: #10213f;
  color: #fff;
  border-radius: 18px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.submit-band p {
  margin: 2px 0 0;
  color: #b9c5d6;
  font-size: 11px;
}

/* Auth */ .auth-section {
  min-height: calc(100vh - 78px);
  display: grid;
  place-items: center;
  padding: 48px 20px;
  background: radial-gradient(circle at 80% 15%,rgba(37,99,235,.10),transparent 30%),#f6f8fc;
}

.auth-shell {
  width: min(950px,100%);
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 570px;
}

.auth-aside {
  background: linear-gradient(145deg,#10213f,#173969);
  color: #fff;
  padding: 38px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.auth-aside:after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  left: -130px;
  bottom: -140px;
  box-shadow: 0 0 0 55px rgba(255,255,255,.025),0 0 0 110px rgba(255,255,255,.02);
}

.auth-aside h2 {
  font-size: 27px;
  line-height: 1.55;
  margin: 36px 0 10px;
  position: relative;
  z-index: 1;
}

.auth-aside p {
  color: #b8c6d9;
  margin: 0;
  position: relative;
  z-index: 1;
}

.auth-benefits {
  display: grid;
  gap: 13px;
  position: relative;
  z-index: 1;
}

.auth-benefit {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  color: #d6e0ed;
}

.auth-benefit .icon {
  color: #70e0d2;
  width: 17px;
  height: 17px;
}

.auth-form {
  padding: 42px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-form h1 {
  font-size: 27px;
  margin: 0 0 5px;
}

.auth-form>.muted {
  margin: 0 0 24px;
}

.auth-meta {
  margin-top: 16px;
  text-align: center;
  color: var(--muted);
  font-size: 11px;
}

.auth-meta a {
  color: var(--primary);
  font-weight: 800;
}

.demo-accounts {
  margin-top: 20px;
  padding: 12px;
  border: 1px dashed var(--line-2);
  border-radius: 12px;
  background: #fafbfd;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.9;
}

/* Timeline / request details */ .summary-line {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.summary-line>span {
  font-size: 11px;
  color: var(--muted);
}

.summary-line b {
  color: var(--ink);
  font-size: 13px;
}

.offer-card {
  border: 1px solid #dbe6f7;
  background: linear-gradient(180deg,#fff,#fbfdff);
  border-radius: 17px;
  padding: 20px;
}

.offer-breakdown {
  display: grid;
  gap: 9px;
  margin: 15px 0;
}

.offer-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 11px;
  color: var(--muted);
}

.offer-row b {
  color: var(--ink-2);
}

.offer-row--total {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.offer-row--total b {
  font-size: 20px;
  color: var(--primary);
}

.inventory-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  margin-bottom: 9px;
}

.inventory-option:last-child {
  margin-bottom: 0;
}

.inventory-copy b {
  display: block;
  font-size: 12px;
}

.inventory-copy small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 2px;
}

/* Toast */ .toast-wrap {
  padding-top: 16px;
}

.toast {
  min-height: 50px;
  border-radius: 13px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  border: 1px solid;
  box-shadow: var(--shadow-sm);
  font-size: 12px;
}

.toast--success {
  background: #f0fbf8;
  border-color: #c9eee7;
  color: #176d64;
}

.toast--danger {
  background: #fff2f4;
  border-color: #ffd7df;
  color: #a9374e;
}

.toast-icon {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: rgba(255,255,255,.65);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

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

.toast button {
  margin-inline-start: auto;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 20px;
  padding: 0 7px;
}

/* Footer */ .public-footer {
  background: #0c1830;
  color: #c7d1df;
  padding: 48px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .7fr .7fr 1fr;
  gap: 40px;
}

.footer-brand p {
  max-width: 360px;
  color: #8fa0b7;
  font-size: 11px;
  margin: 18px 0 0;
}

.footer-grid h4 {
  color: #fff;
  font-size: 12px;
  margin: 0 0 13px;
}

.footer-grid>div:not(.footer-brand):not(.footer-note) {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-grid a {
  font-size: 11px;
  color: #9eadc0;
}

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

.footer-note {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255,255,255,.03);
}

.footer-note p {
  margin: 0;
  color: #9eacc0;
  font-size: 10px;
}

.security-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(71,221,199,.10);
  color: #62d8c9;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  margin-top: 34px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  color: #71829a;
  font-size: 9px;
}

/* Responsive */ @media(max-width:1100px) {
  .hero-grid {
    grid-template-columns: 1fr .8fr;
    gap: 38px;
  }
  .hero-copy h1 {
    font-size: 43px;
  }
  .feature-grid,.ad-grid,.suggestion-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .kpi-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .footer-grid {
    grid-template-columns: 1.3fr .7fr .7fr;
  }
  .footer-note {
    grid-column: 1/-1;
  }
  .split-grid {
    grid-template-columns: 1fr;
  }
  .quick-grid {
    grid-template-columns: repeat(2,1fr);
  }
}

@media(max-width:900px) {
  .public-nav {
    display: none;
    position: absolute;
    top: 78px;
    right: 20px;
    left: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .public-nav a {
    padding: 10px 8px;
  }
  .public-header.menu-open .public-nav {
    display: flex;
  }
  .public-menu-trigger {
    display: grid;
  }
  .header-panel-btn,.header-logout {
    display: none;
  }
  .hero-section {
    padding-top: 46px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .loan-finder-card {
    max-width: 620px;
  }
  .hero-copy h1 {
    font-size: 42px;
  }
  .steps-grid {
    grid-template-columns: repeat(2,1fr);
    gap: 28px 12px;
  }
  .trust-panel {
    grid-template-columns: 1fr;
  }
  .auth-shell {
    grid-template-columns: 1fr;
    max-width: 620px;
  }
  .auth-aside {
    display: none;
  }
  .app-sidebar {
    transform: translateX(105%);
    transition: .22s ease;
  }
  .app-stage {
    margin-right: 0;
  }
  .sidebar-trigger,.sidebar-close {
    display: grid;
  }
  .app-shell.sidebar-open .app-sidebar {
    transform: none;
  }
  .app-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8,18,35,.45);
    backdrop-filter: blur(2px);
    z-index: 60;
  }
  .app-shell.sidebar-open .app-overlay {
    display: block;
  }
  .app-main {
    padding: 22px;
  }
  .user-chip-copy {
    display: none;
  }
}

@media(max-width:680px) {
  body {
    font-size: 13px;
  }
  .page-container,.content-wrap,.content-wrap--narrow {
    width: min(100% - 28px,var(--container));
  }
  .public-header {
    height: 68px;
  }
  .nav-container {
    width: calc(100% - 28px);
    gap: 10px;
  }
  .public-nav {
    top: 68px;
    right: 14px;
    left: 14px;
  }
  .brand small {
    display: none;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }
  .header-actions>.btn {
    min-height: 38px;
    padding: 7px 10px;
  }
  .hero-section {
    padding: 34px 0 38px;
  }
  .hero-copy h1 {
    font-size: 34px;
    letter-spacing: -1px;
  }
  .hero-copy>p {
    font-size: 14px;
  }
  .finder-grid,.form-grid,.two-grid,.metric-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid,.ad-grid,.suggestion-grid,.quick-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 54px 0;
  }
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .section-head h2 {
    font-size: 25px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .trust-list {
    grid-template-columns: 1fr;
  }
  .trust-panel {
    padding: 25px;
  }
  .cta-band {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-brand,.footer-note {
    grid-column: 1/-1;
  }
  .page-head,.dashboard-head {
    flex-direction: column;
  }
  .page-head h1,.dashboard-head h1 {
    font-size: 24px;
  }
  .kpi-grid,.kpi-grid.kpi-grid--3 {
    grid-template-columns: 1fr;
  }
  .app-topbar {
    height: 64px;
    padding: 0 14px;
  }
  .app-main {
    padding: 16px 14px 30px;
  }
  .panel-pad,.panel-body {
    padding: 17px;
  }
  .panel-head {
    padding: 15px 17px;
  }
  .toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .search-box {
    width: 100%;
  }
  .flow-steps {
    padding: 9px;
  }
  .flow-step span:last-child {
    display: none;
  }
  .flow-step:not(:last-child):after {
    margin: 0 5px;
  }
  .submit-band {
    align-items: flex-start;
    flex-direction: column;
  }
  .auth-section {
    padding: 25px 14px;
    min-height: calc(100vh - 68px);
  }
  .auth-form {
    padding: 28px 20px;
  }
  .auth-shell {
    min-height: auto;
  }
  .detail-title {
    font-size: 24px;
  }
  .file-field {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ============================================================
   WAMEX UI/UX V2 — TeaArz-inspired information architecture,
   original visual execution. No external template assets.
   ============================================================ */ :root {
  --ink: #0b1730;
  --ink-2: #223451;
  --muted: #6f7d91;
  --line: #e4eaf2;
  --line-2: #d5dee9;
  --bg: #f5f7fa;
  --surface: #fff;
  --surface-2: #f8fafc;
  --navy: #07162f;
  --navy-2: #0c2448;
  --primary: #1268f3;
  --primary-2: #0757d6;
  --primary-soft: #edf4ff;
  --teal: #08a88a;
  --teal-soft: #e9fbf7;
  --shadow-sm: 0 3px 16px rgba(10,29,55,.055);
  --shadow: 0 18px 48px rgba(10,29,55,.09);
  --shadow-lg: 0 34px 90px rgba(6,20,42,.18);
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1240px;
}

body {
  font-family: "Estedad Variable",Estedad,Tahoma,Arial,sans-serif;
  background: #f7f9fc;
  color: var(--ink);
}

.brand-mark {
  background: linear-gradient(145deg,#0d6efd,#07a6d8);
  box-shadow: 0 10px 28px rgba(18,104,243,.28);
}

.btn {
  border-radius: 13px;
}

.btn--primary,.btn-primary {
  background: linear-gradient(135deg,#1268f3,#0a7fe8);
  border-color: #1268f3;
  box-shadow: 0 11px 28px rgba(18,104,243,.22);
}

.btn--primary:hover,.btn-primary:hover {
  background: linear-gradient(135deg,#0757d6,#0871cf);
  box-shadow: 0 14px 32px rgba(18,104,243,.27);
}

/* Utility + public navigation */ .v2-utility-bar {
  height: 34px;
  background: #07162f;
  color: #b8c8dd;
  font-size: 10px;
}

.v2-utility-bar>.page-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.v2-utility-bar span,.v2-utility-bar div {
  display: flex;
  align-items: center;
  gap: 7px;
}

.v2-utility-bar .icon {
  width: 14px;
  height: 14px;
  color: #5ee1c5;
}

.v2-utility-bar a {
  transition: .18s;
}

.v2-utility-bar a:hover {
  color: #fff;
}

.v2-utility-sep {
  width: 1px;
  height: 12px;
  background: rgba(255,255,255,.14);
  display: inline-block!important;
}

.public-header {
  height: 76px;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(222,229,238,.85);
  box-shadow: 0 4px 22px rgba(11,23,48,.025);
}

.nav-container {
  width: min(var(--container),calc(100% - 40px));
  gap: 34px;
}

.public-nav {
  gap: 4px;
}

.public-nav a {
  padding: 10px 13px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 750;
}

.public-nav a:after {
  display: none;
}

.public-nav a:hover {
  background: #f1f5fa;
  color: var(--primary);
}

.header-actions {
  gap: 4px;
}

.header-actions .btn {
  min-height: 40px;
}

/* Premium hero */ .v2-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg,#07162f 0%,#0a2245 54%,#0a3153 100%);
  padding: 76px 0 66px;
  color: #fff;
  isolation: isolate;
}

.v2-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to left,#000,transparent 75%);
  z-index: -1;
}

.v2-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  z-index: -1;
}

.v2-hero-glow--one {
  width: 620px;
  height: 620px;
  left: -220px;
  top: -240px;
  background: radial-gradient(circle,rgba(0,176,255,.21),transparent 68%);
}

.v2-hero-glow--two {
  width: 460px;
  height: 460px;
  right: 35%;
  bottom: -320px;
  background: radial-gradient(circle,rgba(27,226,186,.11),transparent 70%);
}

.v2-hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.02fr) minmax(410px,.82fr);
  gap: 72px;
  align-items: center;
}

.v2-hero-copy {
  position: relative;
  z-index: 2;
}

.v2-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(126,207,255,.26);
  background: rgba(24,112,194,.14);
  border-radius: 999px;
  color: #d7edff;
  font-size: 10px;
  font-weight: 800;
}

.v2-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3fe0be;
  box-shadow: 0 0 0 5px rgba(63,224,190,.10);
}

.v2-hero-copy h1 {
  font-size: 53px;
  line-height: 1.34;
  letter-spacing: -1.8px;
  margin: 17px 0 18px;
  max-width: 720px;
}

.v2-hero-copy h1 span {
  color: #64d7ff;
  background: linear-gradient(90deg,#7ae6ff,#59e7c9);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.v2-hero-copy>p {
  max-width: 690px;
  color: #b9c9dc;
  font-size: 16px;
  line-height: 2.05;
  margin: 0 0 28px;
}

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

.v2-btn-xl {
  min-height: 50px;
  padding: 11px 20px;
  border-radius: 14px;
}

.v2-btn-glass {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.13);
  color: #fff;
}

.v2-btn-glass:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.2);
}

.v2-hero-proof {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,.09);
}

.v2-hero-proof>div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.v2-proof-icon {
  width: 35px;
  height: 35px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.055);
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #61e0c8;
}

.v2-proof-icon .icon {
  width: 16px;
  height: 16px;
}

.v2-hero-proof b,.v2-hero-proof small {
  display: block;
}

.v2-hero-proof b {
  font-size: 10px;
  color: #fff;
}

.v2-hero-proof small {
  font-size: 9px;
  color: #8fa4bd;
  margin-top: 2px;
}

.v2-calculator-wrap {
  position: relative;
}

.v2-calculator {
  background: rgba(255,255,255,.98);
  color: var(--ink);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 28px;
  padding: 26px;
  box-shadow: 0 35px 90px rgba(0,0,0,.25);
  position: relative;
  z-index: 2;
}

.v2-calculator:before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 28px;
  padding: 1px;
  background: linear-gradient(145deg,rgba(92,207,255,.6),transparent 45%,rgba(76,236,202,.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  pointer-events: none;
}

.v2-calculator-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  padding-bottom: 19px;
  border-bottom: 1px solid #edf0f4;
}

.v2-mini-label {
  font-size: 9px;
  color: var(--primary);
  font-weight: 900;
}

.v2-calculator h2 {
  font-size: 23px;
  margin: 3px 0 3px;
  letter-spacing: -.4px;
}

.v2-calculator-head p {
  font-size: 10px;
  color: var(--muted);
  margin: 0;
}

.v2-calc-icon {
  width: 47px;
  height: 47px;
  border-radius: 15px;
  background: linear-gradient(145deg,#eaf4ff,#f4fbff);
  color: #1268f3;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px #dbeafb;
}

.v2-calc-form {
  padding-top: 19px;
}

.v2-field {
  margin-bottom: 15px;
}

.v2-field label {
  font-size: 10px;
  font-weight: 850;
  color: #34455f;
  margin-bottom: 7px;
}

.v2-money-input,.v2-rate-input {
  height: 50px;
  border: 1px solid #dbe3ed;
  border-radius: 13px;
  background: #fafbfd;
  display: flex;
  align-items: center;
  overflow: hidden;
  transition: .18s;
}

.v2-money-input:focus-within,.v2-rate-input:focus-within {
  border-color: #8cb8ff;
  box-shadow: 0 0 0 4px rgba(18,104,243,.08);
  background: #fff;
}

.v2-money-input input,.v2-rate-input input {
  height: 100%;
  border: 0;
  background: transparent;
  outline: 0;
  padding: 0 13px;
  min-width: 0;
  flex: 1;
  color: var(--ink);
  font-weight: 800;
}

.v2-money-input span,.v2-rate-input span {
  height: 30px;
  display: flex;
  align-items: center;
  border-right: 1px solid #e4e9ef;
  padding: 0 13px;
  color: var(--muted);
  font-size: 9px;
}

.v2-range-row {
  display: flex;
  justify-content: space-between;
  color: #a1adbd;
  font-size: 8px;
  margin-top: 5px;
}

.v2-calc-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.v2-calc-two select {
  height: 50px;
}

.v2-preview {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 8px;
  background: #f5f8fc;
  border: 1px solid #e8edf3;
  border-radius: 13px;
  padding: 11px 13px;
  margin-bottom: 12px;
}

.v2-preview>div+div {
  border-right: 1px solid #e0e6ed;
  padding-right: 12px;
}

.v2-preview small,.v2-preview strong {
  display: block;
}

.v2-preview small {
  font-size: 8px;
  color: var(--muted);
}

.v2-preview strong {
  font-size: 11px;
  margin-top: 2px;
}

.v2-calc-submit {
  min-height: 49px;
}

.v2-calc-note {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  color: #77869a;
  font-size: 8px;
  margin-top: 11px;
  line-height: 1.7;
}

.v2-calc-note .icon {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  color: #1da68e;
  margin-top: 1px;
}

.v2-floating-card {
  position: absolute;
  z-index: 3;
  background: #fff;
  color: var(--ink);
  border: 1px solid #e8edf4;
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(1,15,35,.22);
  padding: 10px 13px;
  min-width: 135px;
}

.v2-floating-card span,.v2-floating-card b,.v2-floating-card small {
  display: block;
}

.v2-floating-card span {
  font-size: 7px;
  color: var(--primary);
  font-weight: 900;
}

.v2-floating-card b {
  font-size: 10px;
  margin-top: 1px;
}

.v2-floating-card small {
  font-size: 7px;
  color: var(--muted);
  margin-top: 2px;
}

.v2-floating-card--a {
  right: -42px;
  top: 62px;
  animation: v2Float 4.8s ease-in-out infinite;
}

.v2-floating-card--b {
  left: -42px;
  bottom: 56px;
  animation: v2Float 5.4s ease-in-out infinite reverse;
}

@keyframes v2Float {
  50% {
    transform: translateY(-7px);
  }
}

/* service ticker */ .v2-ticker {
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(10,29,55,.035);
}

.v2-ticker-track {
  display: grid;
  grid-template-columns: repeat(4,1fr);
}

.v2-ticker a {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 18px;
  border-left: 1px solid var(--line);
  transition: .18s;
}

.v2-ticker a:first-child {
  border-right: 1px solid var(--line);
}

.v2-ticker a:hover {
  background: #f8fbff;
}

.v2-ticker-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #eef5ff;
  color: var(--primary);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.v2-ticker-icon .icon {
  width: 17px;
  height: 17px;
}

.v2-ticker small,.v2-ticker b {
  display: block;
}

.v2-ticker small {
  font-size: 8px;
  color: #8b98aa;
}

.v2-ticker b {
  font-size: 10px;
  margin-top: 2px;
}

.v2-ticker-arrow {
  width: 15px;
  height: 15px;
  margin-right: auto;
  color: #a5b0bf;
  transition: .18s;
}

.v2-ticker a:hover .v2-ticker-arrow {
  color: var(--primary);
  transform: translateX(-3px);
}

/* sections */ .v2-services {
  background: #f7f9fc;
}

.v2-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 31px;
}

.v2-section-head h2 {
  font-size: 31px;
  letter-spacing: -.7px;
  margin: 7px 0 0;
  line-height: 1.55;
}

.v2-section-head>p {
  max-width: 510px;
  color: var(--muted);
  margin: 0;
  font-size: 12px;
  line-height: 1.9;
}

.v2-section-kicker {
  display: inline-block;
  color: var(--primary);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .2px;
}

.v2-section-kicker--light {
  color: #67e5cc;
}

.v2-section-head--center {
  align-items: center;
}

.v2-section-head--center>div {
  text-align: right;
}

.v2-service-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 15px;
}

.v2-service-card {
  position: relative;
  min-height: 230px;
  background: #fff;
  border: 1px solid #e4eaf1;
  border-radius: 20px;
  padding: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: .22s;
}

.v2-service-card:after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  left: -50px;
  top: -50px;
  background: radial-gradient(circle,#eff5ff,transparent 72%);
  transition: .22s;
}

.v2-service-card:hover {
  transform: translateY(-4px);
  border-color: #cbd9ed;
  box-shadow: var(--shadow);
}

.v2-service-card--hero {
  background: linear-gradient(145deg,#0e64e9,#0b80d5);
  color: #fff;
  border-color: transparent;
}

.v2-service-card--hero:after {
  background: radial-gradient(circle,rgba(255,255,255,.18),transparent 72%);
}

.v2-service-index {
  position: absolute;
  left: 18px;
  top: 15px;
  color: #b1bdcc;
  font-size: 9px;
  font-weight: 900;
}

.v2-service-card--hero .v2-service-index {
  color: #a9d7ff;
}

.v2-service-icon {
  width: 47px;
  height: 47px;
  border-radius: 14px;
  background: #eef5ff;
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 21px;
}

.v2-service-card--hero .v2-service-icon {
  background: rgba(255,255,255,.13);
  color: #fff;
}

.v2-service-card h3 {
  font-size: 16px;
  margin: 0 0 8px;
}

.v2-service-card p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
  line-height: 1.9;
  max-width: 320px;
}

.v2-service-card--hero p {
  color: #cfe5ff;
}

.v2-service-link {
  position: absolute;
  right: 22px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--primary);
  font-size: 10px;
  font-weight: 900;
}

.v2-service-link .icon {
  width: 14px;
  height: 14px;
}

.v2-service-card--hero .v2-service-link {
  color: #fff;
}

/* dark market feature */ .v2-market-section {
  background: #07162f;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.v2-market-section:before {
  content: "";
  position: absolute;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(17,121,238,.15),transparent 68%);
  left: -220px;
  bottom: -300px;
}

.v2-market-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 70px;
  align-items: center;
  position: relative;
}

.v2-market-copy h2 {
  font-size: 34px;
  line-height: 1.55;
  letter-spacing: -.7px;
  margin: 7px 0 12px;
}

.v2-market-copy>p {
  color: #aabbd0;
  line-height: 2;
  font-size: 12px;
  margin: 0 0 23px;
}

.v2-market-points {
  display: grid;
  gap: 12px;
  margin: 0 0 26px;
}

.v2-market-points>div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.v2-market-points .icon {
  width: 18px;
  height: 18px;
  color: #5be0c5;
  margin-top: 2px;
}

.v2-market-points b,.v2-market-points small {
  display: block;
}

.v2-market-points b {
  font-size: 11px;
}

.v2-market-points small {
  font-size: 9px;
  color: #7f93ac;
  margin-top: 2px;
}

.v2-btn-light {
  background: #fff;
  color: #0b2445;
  border-color: #fff;
}

.v2-btn-light:hover {
  background: #eaf4ff;
}

.v2-market-board {
  background: linear-gradient(180deg,#0d2445,#0b1d39);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 28px 70px rgba(0,0,0,.25);
}

.v2-board-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1px 3px 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: #d8e5f4;
}

.v2-board-top>span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  font-weight: 850;
}

.v2-board-top i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4de0c3;
  box-shadow: 0 0 0 5px rgba(77,224,195,.09);
}

.v2-board-top small {
  font-size: 7px;
  color: #7187a3;
}

.v2-board-row {
  display: grid;
  grid-template-columns: 1.35fr .8fr .7fr .8fr;
  align-items: center;
  gap: 8px;
  min-height: 57px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 9px;
  color: #d5e0ed;
}

.v2-board-head {
  min-height: 37px;
  color: #6f86a2;
  font-size: 7px;
}

.v2-board-row>span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}

.v2-bank-badge {
  width: 27px;
  height: 27px;
  border-radius: 9px;
  background: #17365d;
  color: #75d9ff;
  display: grid;
  place-items: center;
  font-size: 9px;
}

.v2-board-row em {
  font-style: normal;
  padding: 4px 7px;
  border-radius: 999px;
  font-size: 7px;
}

.v2-status-up {
  background: rgba(56,211,179,.1);
  color: #5ce1c6;
}

.v2-status-wait {
  background: rgba(250,188,76,.1);
  color: #f2c25e;
}

.v2-mini-chart {
  height: 75px;
  display: flex;
  align-items: end;
  gap: 6px;
  padding: 15px 4px 1px;
}

.v2-mini-chart span {
  height: var(--h);
  flex: 1;
  min-width: 5px;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg,#29c2dc,#1471e8);
  opacity: .75;
}

/* process */ .v2-process {
  background: #fff;
}

.v2-process-line {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  position: relative;
}

.v2-process-line:before {
  content: "";
  position: absolute;
  top: 32px;
  right: 12%;
  left: 12%;
  height: 1px;
  background: #dce4ed;
}

.v2-process-line article {
  position: relative;
  text-align: center;
  padding: 0 22px;
}

.v2-process-no {
  position: absolute;
  top: 2px;
  left: 20px;
  color: #c1cbd8;
  font-size: 8px;
  font-weight: 900;
}

.v2-process-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 17px;
  border: 1px solid #dce5ef;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(9,29,55,.07);
  display: grid;
  place-items: center;
  color: var(--primary);
  position: relative;
  z-index: 2;
}

.v2-process-icon .icon {
  width: 23px;
  height: 23px;
}

.v2-process-line h3 {
  font-size: 14px;
  margin: 0 0 6px;
}

.v2-process-line p {
  font-size: 10px;
  color: var(--muted);
  margin: 0;
  line-height: 1.8;
}

/* trust */ .v2-trust-section {
  background: #f7f9fc;
}

.v2-trust-shell {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 30px;
  background: #fff;
  border: 1px solid #e3e9f1;
  border-radius: 27px;
  padding: 34px;
  box-shadow: var(--shadow-sm);
}

.v2-trust-copy {
  padding: 14px 8px;
}

.v2-trust-copy h2 {
  font-size: 29px;
  line-height: 1.6;
  margin: 7px 0 11px;
}

.v2-trust-copy>p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.95;
  margin: 0 0 20px;
}

.v2-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--primary);
  font-size: 10px;
  font-weight: 900;
}

.v2-inline-link .icon {
  width: 15px;
  height: 15px;
}

.v2-trust-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.v2-trust-cards>div {
  padding: 18px;
  border: 1px solid #e5eaf1;
  background: #fafbfd;
  border-radius: 16px;
}

.v2-trust-cards>div>span {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #edf5ff;
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

.v2-trust-cards .icon {
  width: 16px;
  height: 16px;
}

.v2-trust-cards b,.v2-trust-cards small {
  display: block;
}

.v2-trust-cards b {
  font-size: 11px;
}

.v2-trust-cards small {
  font-size: 9px;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 4px;
}

/* FAQ */ .v2-faq-section {
  background: #fff;
}

.v2-faq-grid {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: 70px;
  align-items: start;
}

.v2-faq-intro h2 {
  font-size: 30px;
  line-height: 1.6;
  margin: 7px 0 9px;
}

.v2-faq-intro p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
  margin: 0 0 20px;
}

.v2-faq-list {
  border-top: 1px solid #e4e9ef;
}

.v2-faq-list details {
  border-bottom: 1px solid #e4e9ef;
  padding: 0;
}

.v2-faq-list summary {
  list-style: none;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.v2-faq-list summary::-webkit-details-marker {
  display: none;
}

.v2-faq-list summary span {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #f1f5fa;
  display: grid;
  place-items: center;
  color: #60728a;
  font-size: 18px;
  font-weight: 400;
  transition: .18s;
}

.v2-faq-list details[open] summary {
  color: var(--primary);
}

.v2-faq-list details[open] summary span {
  transform: rotate(45deg);
  background: #edf4ff;
  color: var(--primary);
}

.v2-faq-list details p {
  margin: -4px 0 17px;
  max-width: 740px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.95;
}

/* final CTA */ .v2-final-cta {
  background: #f7f9fc;
  padding: 0 0 74px;
}

.v2-final-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg,#081a35,#0c3560);
  border-radius: 28px;
  padding: 40px 44px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  box-shadow: 0 26px 70px rgba(7,22,47,.18);
}

.v2-final-card:after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  left: -80px;
  top: -180px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 0 0 55px rgba(255,255,255,.025),0 0 0 110px rgba(255,255,255,.018);
}

.v2-final-card>div {
  position: relative;
  z-index: 2;
}

.v2-live-pill--light {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
}

.v2-final-card h2 {
  font-size: 29px;
  margin: 11px 0 5px;
}

.v2-final-card p {
  color: #aebed1;
  font-size: 11px;
  margin: 0;
}

.v2-final-actions {
  display: flex;
  gap: 9px;
  flex: 0 0 auto;
}

/* Footer v2 */ .v2-footer {
  padding: 55px 0 0;
  background: #061328;
}

.v2-footer-top {
  display: grid;
  grid-template-columns: 1.45fr .7fr .7fr .7fr;
  gap: 45px;
  padding-bottom: 38px;
}

.v2-footer-intro>p {
  max-width: 390px;
  color: #7f91a9;
  font-size: 10px;
  line-height: 1.9;
  margin: 17px 0;
}

.v2-footer-security {
  display: flex;
  gap: 9px;
  align-items: center;
  max-width: 400px;
  padding: 11px 13px;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.025);
  border-radius: 13px;
}

.v2-footer-security>.icon {
  width: 18px;
  height: 18px;
  color: #54ddc2;
  flex: 0 0 auto;
}

.v2-footer-security b,.v2-footer-security small {
  display: block;
}

.v2-footer-security b {
  font-size: 9px;
  color: #d8e2ef;
}

.v2-footer-security small {
  font-size: 7px;
  color: #667b96;
  margin-top: 2px;
}

.v2-footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.v2-footer-links h4 {
  font-size: 10px;
  color: #fff;
  margin: 4px 0 9px;
}

.v2-footer-links a {
  font-size: 9px;
  color: #7f91a9;
  transition: .18s;
}

.v2-footer-links a:hover {
  color: #fff;
  transform: translateX(-2px);
}

.v2-footer-bottom {
  height: 58px;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #566b86;
  font-size: 8px;
}

/* Panel polish: same product language */ .app-sidebar {
  background: linear-gradient(180deg,#07162f,#081b35);
  box-shadow: -14px 0 40px rgba(7,22,47,.10);
}

.side-link.active {
  background: linear-gradient(90deg,rgba(18,104,243,.42),rgba(24,135,220,.17));
  box-shadow: inset -2px 0 #53cdec;
}

.app-topbar {
  background: rgba(255,255,255,.94);
  box-shadow: 0 4px 20px rgba(10,29,55,.025);
}

.panel,.kpi-card,.quick-card,.suggestion-card,.ad-card {
  border-color: #e2e8f0;
  box-shadow: 0 4px 18px rgba(10,29,55,.045);
}

.kpi-card:hover,.quick-card:hover,.ad-card:hover {
  box-shadow: 0 14px 34px rgba(10,29,55,.075);
}

@media(max-width:1120px) {
  .v2-hero-grid {
    grid-template-columns: 1fr .82fr;
    gap: 40px;
  }
  .v2-hero-copy h1 {
    font-size: 45px;
  }
  .v2-floating-card {
    display: none;
  }
  .v2-service-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .v2-market-grid {
    gap: 40px;
  }
  .v2-footer-top {
    grid-template-columns: 1.4fr .8fr .8fr;
  }
  .v2-footer-links:last-child {
    display: none;
  }
}

@media(max-width:900px) {
  .v2-utility-bar {
    display: none;
  }
  .public-header {
    height: 70px;
  }
  .public-nav {
    top: 70px;
  }
  .v2-hero {
    padding: 52px 0;
  }
  .v2-hero-grid {
    grid-template-columns: 1fr;
  }
  .v2-hero-copy {
    max-width: 760px;
  }
  .v2-calculator {
    max-width: 650px;
  }
  .v2-ticker-track {
    grid-template-columns: 1fr 1fr;
  }
  .v2-ticker a:nth-child(2) {
    border-left: 0;
  }
  .v2-ticker a:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
  .v2-market-grid,.v2-trust-shell,.v2-faq-grid {
    grid-template-columns: 1fr;
  }
  .v2-market-board {
    max-width: 720px;
  }
  .v2-process-line {
    grid-template-columns: 1fr 1fr;
    gap: 35px 0;
  }
  .v2-process-line:before {
    display: none;
  }
  .v2-footer-top {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .v2-final-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media(max-width:680px) {
  .v2-hero {
    padding: 38px 0 42px;
  }
  .v2-hero-copy h1 {
    font-size: 34px;
    letter-spacing: -1px;
  }
  .v2-hero-copy>p {
    font-size: 13px;
  }
  .v2-hero-proof {
    gap: 15px;
  }
  .v2-hero-proof>div {
    width: calc(50% - 8px);
  }
  .v2-calculator {
    padding: 20px;
    border-radius: 21px;
  }
  .v2-calculator:before {
    border-radius: 21px;
  }
  .v2-calculator h2 {
    font-size: 20px;
  }
  .v2-calc-two {
    grid-template-columns: 1fr;
  }
  .v2-preview {
    grid-template-columns: 1fr;
  }
  .v2-preview>div+div {
    border-right: 0;
    border-top: 1px solid #e0e6ed;
    padding-right: 0;
    padding-top: 8px;
  }
  .v2-ticker a {
    padding: 12px 10px;
  }
  .v2-ticker b {
    font-size: 9px;
  }
  .v2-ticker-icon {
    width: 32px;
    height: 32px;
  }
  .v2-ticker-arrow {
    display: none;
  }
  .v2-section-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .v2-section-head h2 {
    font-size: 25px;
  }
  .v2-service-grid {
    grid-template-columns: 1fr;
  }
  .v2-service-card {
    min-height: 210px;
  }
  .v2-market-copy h2,.v2-trust-copy h2,.v2-faq-intro h2 {
    font-size: 25px;
  }
  .v2-board-row {
    grid-template-columns: 1.3fr .8fr .7fr;
  }
  .v2-board-row>span:nth-child(3),.v2-board-head>span:nth-child(3) {
    display: none;
  }
  .v2-process-line {
    grid-template-columns: 1fr;
  }
  .v2-trust-shell {
    padding: 23px;
  }
  .v2-trust-cards {
    grid-template-columns: 1fr;
  }
  .v2-faq-grid {
    gap: 35px;
  }
  .v2-final-card {
    padding: 28px 22px;
  }
  .v2-final-card h2 {
    font-size: 24px;
  }
  .v2-final-actions {
    width: 100%;
    flex-direction: column;
  }
  .v2-final-actions .btn {
    width: 100%;
  }
  .v2-footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .v2-footer-intro {
    grid-column: 1/-1;
  }
  .v2-footer-bottom {
    height: auto;
    min-height: 58px;
    padding: 14px 0;
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media(max-width:430px) {
  .v2-hero-proof>div {
    width: 100%;
  }
  .v2-ticker-track {
    grid-template-columns: 1fr;
  }
  .v2-ticker a {
    border-left: 0!important;
    border-right: 0!important;
    border-bottom: 1px solid var(--line)!important;
  }
  .v2-footer-top {
    grid-template-columns: 1fr;
  }
  .v2-footer-intro {
    grid-column: auto;
  }
  .v2-footer-links:last-child {
    display: flex;
  }
}

@media(prefers-reduced-motion:reduce) {
  .v2-floating-card {
    animation: none!important;
  }
}

/* Auth form refinements */ .auth-name-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.auth-field-gap {
  margin-top: 14px;
}

.auth-submit {
  margin-top: 20px;
}

.auth-form input[dir="ltr"] {
  text-align: left;
}

.auth-form .field-validation-error {
  display: block;
  margin-top: 2px;
}

.auth-form .validation-summary-errors {
  margin-top: 0;
}

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

/* =========================================================
   WAMEX Live Market Price
   ========================================================= */
.live-market-section {
  position: relative;
  padding-top: 76px;
  padding-bottom: 82px;
  background:
    radial-gradient(circle at 15% 0,rgba(37,99,235,.08),transparent 34%),
    linear-gradient(180deg,#fff 0,#f7f9fd 100%);
}

.live-market-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.live-market-head h2 {
  margin: 8px 0 10px;
  font-size: clamp(28px,3vw,42px);
  letter-spacing: -.035em;
}

.live-market-head p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.live-market-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  white-space: nowrap;
}

.live-market-meta small {
  color: var(--muted);
}

.live-pulse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #cfe9e5;
  border-radius: 999px;
  background: #f1fbf9;
  color: #08796e;
  font-size: 12px;
  font-weight: 750;
}

.live-pulse i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 5px rgba(16,185,129,.12);
  animation: wamexPulse 1.7s ease-out infinite;
}

@keyframes wamexPulse {
  0% { box-shadow: 0 0 0 0 rgba(16,185,129,.22); }
  70% { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

.live-price-board {
  overflow: hidden;
  border: 1px solid #dfe6ef;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(16,33,63,.09);
}

.live-price-board-top,
.live-price-board-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.live-price-board-top {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg,#10213f 0,#162e55 66%,#174169 100%);
  color: #fff;
}

.live-price-board-top > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.live-price-board-top b {
  display: block;
  font-size: 16px;
  font-weight: 800;
}

.live-price-board-top small {
  display: block;
  margin-top: 2px;
  color: rgba(255,255,255,.65);
}

.live-board-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 13px;
  background: rgba(255,255,255,.09);
}

.live-board-note {
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.78);
  font-size: 11px;
}

.live-price-table-wrap {
  overflow-x: auto;
}

.live-price-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

.live-price-table th {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
  color: #7c899c;
  font-size: 11px;
  font-weight: 700;
  text-align: right;
}

.live-price-table td {
  padding: 17px 18px;
  border-bottom: 1px solid #edf1f6;
  color: var(--ink-2);
  vertical-align: middle;
}

.live-price-table tbody tr {
  transition: background .18s ease,transform .18s ease;
}

.live-price-table tbody tr:hover {
  background: #fbfcff;
}

.live-price-table tbody tr:last-child td {
  border-bottom: 0;
}

.live-price-table td:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bank-avatar {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: #eef4ff;
  color: var(--primary);
  font-weight: 850;
}

.live-buy,
.live-sell {
  direction: rtl;
  white-space: nowrap;
}

.live-buy span,
.live-sell span {
  display: inline-block;
  font-size: 16px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.live-buy span { color: #08796e; }
.live-sell span { color: #b45309; }

.live-buy small,
.live-sell small {
  margin-right: 4px;
  color: var(--muted-2);
  font-size: 10px;
}

.live-mode {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
}

.live-mode::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.live-mode--auto {
  background: #edf9f6;
  color: #08796e;
}

.live-mode--auto::before { background: #10b981; }
.live-mode--manual {
  background: #f1f5f9;
  color: #526176;
}
.live-mode--manual::before { background: #94a3b8; }

.live-price-board-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  background: #fbfcfe;
  color: var(--muted);
  font-size: 11px;
}

.live-price-board-footer span,
.live-price-board-footer a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.live-price-board-footer a {
  color: var(--primary);
  font-weight: 750;
}

.live-price-board-footer .icon { width: 16px; height: 16px; }
.live-price-empty { padding: 24px; color: var(--muted); text-align: center; }

/* Admin live price */
.price-admin-head {
  align-items: center;
}

.price-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.price-kpi-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.price-kpi-icon {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  background: var(--primary-soft);
  color: var(--primary);
}

.price-kpi-card small,
.price-kpi-card span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.price-kpi-card strong {
  display: block;
  margin: 2px 0;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.35;
}

.price-kpi-card .price-kpi-date {
  font-size: 14px;
}

.live-price-panel {
  margin-bottom: 20px;
}

.admin-create-box {
  margin-bottom: 18px;
  border: 1px dashed #cdd8e6;
  border-radius: 16px;
  background: #fbfcff;
}

.admin-create-box > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  color: var(--primary);
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

.admin-create-box > summary::-webkit-details-marker { display: none; }
.admin-create-box > summary .icon { width: 17px; height: 17px; }

.price-form-grid,
.source-form-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
  padding: 0 16px 16px;
}

.source-url-field { grid-column: span 2; }
.source-pattern-field { grid-column: 1 / -1; }
.source-pattern-field textarea { min-height: 96px; font-family: var(--font-mono); font-size: 12px; }
.source-pattern-field small { color: var(--muted); }

.input-suffix {
  position: relative;
}

.input-suffix input {
  width: 100%;
  padding-left: 72px;
}

.input-suffix span {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  color: var(--muted-2);
  font-size: 10px;
}

.check-field {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--ink-2);
  font-weight: 600;
}

.check-field input {
  width: 17px;
  height: 17px;
  accent-color: var(--primary);
}

.price-form-grid .form-actions,
.source-form-grid .form-actions {
  display: flex;
  align-items: end;
  justify-content: flex-end;
}

.live-price-admin-table td {
  vertical-align: middle;
}

.table-sub {
  display: block;
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 500;
}

.money-cell {
  white-space: nowrap;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.money-cell small {
  color: var(--muted-2);
  font-size: 9px;
}

.money-cell--buy { color: #08796e; }
.money-cell--sell { color: #b45309; }

.row-actions-details {
  position: relative;
}

.row-actions-details > summary {
  padding: 6px 9px;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.row-actions-details > summary::-webkit-details-marker { display: none; }

.row-edit-popover {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  left: 0;
  width: 330px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.row-edit-form {
  display: grid;
  gap: 10px;
  margin-bottom: 8px;
}

.row-edit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn--danger {
  border-color: #f2c7d0;
  background: #fff1f4;
  color: #b42345;
}

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

.source-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.source-card--active {
  border-color: #cfe8e3;
}

.source-card-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 9px;
}

.source-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #94a3b8;
}

.source-card--active .source-status-dot {
  background: #10b981;
  box-shadow: 0 0 0 5px rgba(16,185,129,.1);
}

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

.source-card-head small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.source-url {
  display: block;
  overflow: hidden;
  margin: 14px 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f7f9fc;
  color: #64748b;
  font-family: var(--font-mono);
  font-size: 10px;
  direction: ltr;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.source-health {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.source-health > div {
  padding: 9px;
  border: 1px solid #edf1f6;
  border-radius: 11px;
}

.source-health small,
.source-health b {
  display: block;
}

.source-health small { color: var(--muted-2); font-size: 9px; }
.source-health b { margin-top: 2px; font-size: 10px; }

.source-error {
  margin-bottom: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  background: var(--danger-soft);
  color: #a93450;
  font-size: 10px;
  line-height: 1.7;
}

.empty-inline {
  padding: 24px;
  color: var(--muted);
  text-align: center;
}

.live-price-message {
  margin-bottom: 14px;
}

.toast--warning {
  border-color: #f2dfad;
  background: #fffaed;
  color: #805c17;
}

@media (max-width: 1050px) {
  .price-kpi-grid,
  .source-card-grid { grid-template-columns: 1fr 1fr; }
  .price-form-grid,
  .source-form-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .live-market-head,
  .live-price-board-top,
  .live-price-board-footer { align-items: flex-start; flex-direction: column; }
  .live-market-meta { align-items: flex-start; white-space: normal; }
  .live-price-board { border-radius: 18px; }
  .price-kpi-grid,
  .source-card-grid,
  .price-form-grid,
  .source-form-grid { grid-template-columns: 1fr; }
  .source-url-field,
  .source-pattern-field { grid-column: auto; }
  .row-edit-popover { position: fixed; right: 16px; bottom: 16px; left: 16px; top: auto; width: auto; max-height: 78vh; overflow: auto; }
}

/* =========================================================
   WAMEX SEO & Content Experience
   ========================================================= */
.skip-link {
  position: fixed;
  inset-inline-start: 18px;
  top: 12px;
  z-index: 10000;
  transform: translateY(-140%);
  padding: 10px 16px;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform .18s ease;
}
.skip-link:focus { transform: translateY(0); }

.seo-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 12% 15%, rgba(37,99,235,.28), transparent 32%),
    linear-gradient(145deg, #10213f 0%, #142e56 64%, #0f2747 100%);
}
.seo-hero--compact { padding: 56px 0 62px; }
.seo-hero--article { padding: 54px 0 58px; }
.seo-hero h1 {
  max-width: 860px;
  margin: 10px 0 12px;
  font-size: clamp(29px, 4vw, 48px);
  line-height: 1.35;
}
.seo-hero p {
  max-width: 850px;
  margin: 0;
  color: #cbd7e8;
  font-size: 15px;
  line-height: 2;
}
.seo-hero .v2-section-kicker { color: #88b2ff; }
.seo-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
}
.seo-hero .seo-breadcrumb { color: #aec0d8; }
.seo-breadcrumb a { transition: color .18s ease; }
.seo-breadcrumb a:hover { color: var(--primary); }
.seo-hero .seo-breadcrumb a:hover { color: #fff; }
.seo-updated {
  display: inline-flex;
  gap: 6px;
  margin-top: 22px;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: #d9e5f4;
  font-size: 11px;
}

.seo-bank-grid,
.seo-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.seo-link-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seo-bank-card,
.seo-link-card,
.seo-content-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.seo-bank-card,
.seo-link-card { padding: 22px; }
.seo-bank-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.seo-bank-card__head h2,
.seo-link-card h2,
.seo-link-card h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
}
.seo-bank-card__head small,
.seo-link-card span { color: var(--muted); font-size: 11px; }
.seo-bank-card__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0;
}
.seo-bank-card__metrics > div {
  padding: 13px;
  border-radius: 14px;
  background: var(--surface-2);
}
.seo-bank-card__metrics small { display: block; color: var(--muted); font-size: 10px; }
.seo-bank-card__metrics strong { display: block; margin-top: 5px; font-size: 13px; }
.seo-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 700;
  font-size: 12px;
}
.seo-card-link .icon { width: 16px; height: 16px; }
.seo-link-card {
  display: flex;
  flex-direction: column;
  min-height: 190px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.seo-link-card:hover {
  transform: translateY(-3px);
  border-color: #cbd9ef;
  box-shadow: var(--shadow);
}
.seo-link-card > span { color: var(--primary); font-weight: 700; }
.seo-link-card h3,
.seo-link-card h2 { margin-top: 8px; }
.seo-link-card p {
  flex: 1;
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 12px;
}
.seo-home-guides { background: #f8faff; }
.seo-home-more,
.seo-inline-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.seo-info-box {
  margin-top: 26px;
  padding: 24px;
  border: 1px solid #dce6f5;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #f8fbff, #f3f7fd);
}
.seo-info-box h2,
.seo-content-card h2,
.seo-history h2 { margin: 0 0 9px; font-size: 19px; }
.seo-info-box p,
.seo-content-card p { margin: 0 0 12px; color: var(--muted); }
.seo-live-board { margin: 0; }
.seo-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, .85fr);
  gap: 20px;
  margin-top: 24px;
}
.seo-two-column--wide { align-items: start; }
.seo-content-card { padding: 22px; }
.seo-content-card--soft { background: #f8fbff; }
.seo-check-list {
  display: grid;
  gap: 9px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.seo-check-list li {
  position: relative;
  padding-inline-start: 22px;
  color: var(--ink-2);
}
.seo-check-list li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  color: var(--teal);
  font-weight: 900;
}
.seo-history { margin-top: 34px; }
.seo-product-list { display: grid; gap: 10px; }
.seo-product-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.seo-product-row:last-child { border-bottom: 0; }
.seo-product-row strong,
.seo-product-row small,
.seo-product-row span,
.seo-product-row b { display: block; }
.seo-product-row small,
.seo-product-row span { color: var(--muted); font-size: 10px; }
.seo-product-row > div:last-child { text-align: left; }
.seo-sidebar-stack { display: grid; gap: 16px; }
.seo-text-links { display: grid; gap: 9px; }
.seo-text-links a { color: var(--primary); font-weight: 650; }
.seo-copy-section { padding-top: 0; }
.seo-prose { max-width: 900px; }
.seo-prose h2 { margin: 34px 0 10px; font-size: 22px; line-height: 1.6; }
.seo-prose h2:first-child { margin-top: 0; }
.seo-prose p { margin: 0 0 15px; color: var(--ink-2); line-height: 2.1; }
.seo-prose ul { display: grid; gap: 9px; padding-inline-start: 22px; color: var(--ink-2); }
.seo-article-width { max-width: 900px; }
.seo-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
}
.seo-prose--article { max-width: none; }
.seo-prose--article > section {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.seo-article-aside { position: sticky; top: 100px; }
.seo-faq-list { display: grid; gap: 10px; }
.seo-faq-list details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 14px 16px;
}
.seo-faq-list summary { cursor: pointer; font-weight: 700; }
.seo-faq-list p { margin: 10px 0 0; }
.seo-disclaimer {
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--amber-soft);
  color: #6e4c13;
}
.seo-contact-cta {
  margin-top: 28px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--primary-soft);
}
.seo-contact-cta h2 { margin-top: 0; }

.seo-market-filter { flex-wrap: wrap; }
.seo-market-filter .search-box { flex: 1 1 320px; }
.ad-card-main { display: block; }
.ad-card-labels { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-bottom: 10px; }
.ad-card h2 { margin: 0 0 12px; font-size: 16px; }
.seo-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}
.seo-pagination a,
.seo-pagination span {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 12px;
}
.seo-pagination a { color: var(--primary); font-weight: 700; }
.seo-market-copy { margin-bottom: 20px; }
.seo-subheading { margin: 24px 0 8px; font-size: 18px; }
.seo-ad-guidance { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.seo-ad-guidance h2 { margin: 0; font-size: 17px; }

@media (max-width: 980px) {
  .seo-link-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seo-two-column,
  .seo-article-layout { grid-template-columns: 1fr; }
  .seo-article-aside { position: static; }
}
@media (max-width: 680px) {
  .seo-hero--compact,
  .seo-hero--article { padding: 38px 0 42px; }
  .seo-bank-grid,
  .seo-link-grid,
  .seo-link-grid--3 { grid-template-columns: 1fr; }
  .seo-bank-card__metrics { grid-template-columns: 1fr; }
  .seo-product-row { align-items: flex-start; flex-direction: column; gap: 8px; }
  .seo-product-row > div:last-child { text-align: right; }
  .seo-pagination { flex-wrap: wrap; }
}
