/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 80px 0 120px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 80%;
  background:
    radial-gradient(60% 50% at 85% 30%, rgba(17,97,254,0.14), transparent 70%),
    radial-gradient(40% 40% at 10% 70%, rgba(17,97,254,0.08), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}
.hero h1 {
  font-size: clamp(48px, 6.4vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin: 24px 0 24px;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--accent); }
.hero h1 em {
  font-style: normal;
  font-family: "Times New Roman", Times, serif;
  font-weight: 400;
  letter-spacing: -0.04em;
}
.hero p.lede {
  font-size: 19px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 520px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-trust {
  margin-top: 48px;
  display: flex; align-items: center; gap: 20px;
  color: var(--muted);
  font-size: 13px;
}
.hero-trust .avatars { display: flex; }
.hero-trust .avatars span {
  width: 28px; height: 28px; border-radius: 999px;
  background: linear-gradient(135deg, #CFDCFF, #1161FE);
  border: 2px solid var(--bg);
  margin-left: -8px;
}
.hero-trust .avatars span:first-child { margin-left: 0; }
.hero-trust .avatars span:nth-child(2) { background: linear-gradient(135deg, #FFD9D9, #FE7A11); }
.hero-trust .avatars span:nth-child(3) { background: linear-gradient(135deg, #D9FFE5, #11BE6B); }
.hero-trust .avatars span:nth-child(4) { background: linear-gradient(135deg, #F0DFFF, #8C11FE); }
.hero-trust strong { color: var(--ink); font-weight: 600; }

/* Centered hero (offline, no widget) */
.hero-centered { padding: 120px 0 100px; }
.hero-center-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-center-col h1 { margin: 28px 0 20px; }
.hero-center-col .lede { max-width: 560px; margin: 0 auto 36px; }
.offline-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  font-size: 13px;
  font-weight: 590;
  color: var(--muted);
  box-shadow: var(--shadow-sm);
}
.offline-dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--warn);
  box-shadow: 0 0 0 3px rgba(217,119,6,0.18);
}
.hero-center-cta { margin-bottom: 0; }
.hero-center-cta .btn {
  padding: 20px 48px;
  font-size: 17px;
}
.hero-advantages.hero-advantages-row {
  flex-direction: row;
  gap: 40px;
  max-width: none;
  margin-top: 0;
  margin-bottom: 48px;
  justify-content: center;
}
@media (max-width: 720px) {
  .hero-advantages.hero-advantages-row { gap: 12px; }
}

/* Exchange widget */
.exchange {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 20px 20px 16px;
  box-shadow: var(--shadow-lg);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ex-row { padding: 8px 0; }
.ex-label { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.ex-row-body {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.ex-asset {
  display: flex; align-items: center; gap: 14px;
  padding: 0; background: transparent;
  text-align: left;
}
.ex-sym {
  width: 44px; height: 44px; border-radius: 999px;
  display: grid; place-items: center;
  font-size: 18px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.ex-sym.btc { background: #F7931A; }
.ex-sym.eth { background: #6274F1; }
.ex-sym.usdt { background: #26A17B; }
.ex-sym.sol { background: #9945FF; }
.ex-sym.usd { background: #16a34a; }
.ex-sym.eur { background: #1161FE; }
.ex-asset-text { display: flex; flex-direction: column; }
.ex-asset-name {
  font-size: 18px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink);
  display: inline-flex; align-items: center; gap: 4px;
}
.ex-asset-ticker {
  font-size: 13px; color: var(--muted); margin-top: 2px;
}
.ex-amount {
  font-size: 40px; font-weight: 700; letter-spacing: -0.04em;
  background: none; border: none; outline: none;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  text-align: right;
  width: 140px;
  min-width: 0;
}
.ex-amount::placeholder { color: var(--muted-2); }
.ex-divider {
  position: relative;
  height: 1px; background: var(--line);
  margin: 8px 0;
}
.ex-divider .swap-btn {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 36px; height: 36px; border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: transform .3s ease, border-color .2s, color .2s;
  margin: 0;
}
.ex-divider .swap-btn:hover { transform: translate(-50%, -50%) rotate(180deg); border-color: var(--accent); color: var(--accent); }
.ex-rate {
  text-align: center; font-size: 13px; color: var(--muted); padding: 12px 0 16px;
}
.ex-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: #fff; border: 1px solid var(--line-2); border-radius: 12px;
  box-shadow: var(--shadow-md); padding: 6px; min-width: 240px; z-index: 10;
}
.ex-dropdown button {
  width: 100%; padding: 10px 12px; display: flex; align-items: center;
  gap: 10px; border-radius: 8px; font-size: 14px; font-weight: 500;
  background: transparent; color: var(--ink); text-align: left;
}
.ex-dropdown button:hover { background: var(--bg); }
.ex-dropdown button.active { background: var(--accent-tint); color: var(--accent); }
.ex-dropdown .ex-sym { width: 32px; height: 32px; font-size: 14px; }
.ex-dropdown .pill-name { max-width: none; }
.ex-dropdown button.active .pill-ticker { color: var(--accent); opacity: 0.7; }
.exchange::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--r-xl);
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}
.exchange-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 4px 0 16px;
}
.exchange-head .tabs { display: flex; gap: 4px; background: #F4F4F4; border-radius: 999px; padding: 4px; }
.exchange-head .tabs button {
  padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 590; color: var(--muted);
}
.exchange-head .tabs button.active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.exchange-head .tabs.tabs-full {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.exchange-head .tabs.tabs-full button {
  padding: 10px 16px;
  font-size: 14px;
}
.exchange-head .rate {
  font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px;
}
.exchange-head .rate .live {
  display: inline-block; width: 6px; height: 6px; border-radius: 999px; background: var(--ok);
  box-shadow: 0 0 0 3px rgba(11,169,104,0.2);
  animation: pulse 1.8s infinite;
}
@keyframes pulse { 50% { opacity: .4; } }

.field {
  background: #F4F4F4;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  padding: 18px 20px;
  transition: border .15s;
}
.field:hover { border-color: var(--line-2); }
.field-label { font-size: 12px; color: var(--muted); font-weight: 500; }
.field-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.field-amount {
  font-size: 36px; font-weight: 600; letter-spacing: -0.04em;
  background: none; border: none; outline: none; width: 100%;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.field-amount::placeholder { color: var(--muted-2); }

.sym.btc { background: #F7931A; }
.sym.eth { background: #6274F1; }
.sym.usdt { background: #26A17B; }
.sym.sol { background: #9945FF; }
.sym.usd { background: #0A0A0A; }
.sym.eur { background: #1161FE; }
.sym.gbp { background: #6B2BF7; }

.exchange .field + .field { margin-top: 0; }

.swap-btn {
  width: 44px; height: 44px; border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(17,97,254,0.06);
  transition: transform .3s ease, border-color .15s, color .15s, box-shadow .15s;
}
.swap-btn:hover {
  transform: rotate(180deg);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 4px 14px rgba(17,97,254,0.18);
}

.swap-btn-center {
  margin: -14px auto;
  position: relative;
  z-index: 2;
}

.currency-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  font-weight: 590;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  width: 220px;
  box-shadow: 0 1px 2px rgba(10,10,10,0.03);
}
.currency-pill:hover { border-color: var(--accent); }
.currency-pill .sym {
  width: 34px; height: 34px; border-radius: 999px;
  display: grid; place-items: center;
  font-size: 14px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.currency-pill .pill-text {
  display: flex; flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  flex: 1;
  min-width: 0;
}
.currency-pill .pill-name {
  font-size: 14px; font-weight: 600; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 100%;
  letter-spacing: -0.01em;
}
.currency-pill .pill-ticker {
  font-size: 12px; font-weight: 500; color: var(--muted);
  font-family: var(--mono); letter-spacing: 0.02em;
}

/* ========= PILL STYLE VARIANTS (data-pill on body) ========= */

/* GHOST — no fill, no border, icon floats on grey field */
body[data-pill="ghost"] .currency-pill {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  width: auto;
  min-width: 200px;
  padding: 4px 8px 4px 4px;
}
body[data-pill="ghost"] .currency-pill:hover {
  background: rgba(17,97,254,0.06);
  border-color: transparent;
}

/* INVERTED — dark ink pill with white text */
body[data-pill="inverted"] .currency-pill {
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 4px 12px rgba(10,10,10,0.18);
  width: 220px;
  padding: 6px 16px 6px 6px;
}
body[data-pill="inverted"] .currency-pill .pill-name { color: #fff; }
body[data-pill="inverted"] .currency-pill .pill-ticker { color: rgba(255,255,255,0.6); }
body[data-pill="inverted"] .currency-pill:hover {
  background: #1a1a1a;
  border-color: var(--accent);
}

/* CHIP — tight rectangle, no shadow, flat */
body[data-pill="chip"] .currency-pill {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: none;
  border-radius: 10px;
  width: 200px;
  padding: 6px 12px 6px 6px;
  gap: 8px;
}
body[data-pill="chip"] .currency-pill .sym {
  width: 28px; height: 28px; font-size: 12px;
}
body[data-pill="chip"] .currency-pill .pill-name { font-size: 13px; }
body[data-pill="chip"] .currency-pill .pill-ticker { font-size: 11px; }

/* MEGA — larger pill with bigger icon & clearer layout */
body[data-pill="mega"] .currency-pill {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 16px 10px 10px;
  width: 240px;
  box-shadow: 0 2px 6px rgba(10,10,10,0.04);
  gap: 12px;
}
body[data-pill="mega"] .currency-pill .sym {
  width: 42px; height: 42px; font-size: 16px;
  box-shadow: 0 2px 6px rgba(10,10,10,0.08);
}
body[data-pill="mega"] .currency-pill .pill-name { font-size: 15px; font-weight: 700; }
body[data-pill="mega"] .currency-pill .pill-ticker { font-size: 12px; }

.ex-rate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.ex-rate .live {
  display: inline-block; width: 6px; height: 6px; border-radius: 999px; background: var(--ok);
  box-shadow: 0 0 0 3px rgba(11,169,104,0.2);
  animation: pulse 1.8s infinite;
}
.ex-rate-txt { color: var(--muted); }
.ex-rate-txt strong { color: var(--muted); font-weight: 500; }

.exchange-meta {
  display: none;
}

.exchange .cta {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  padding: 18px;
  font-size: 16px;
  font-weight: 590;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 4px 14px rgba(17,97,254,0.3);
  transition: background .15s, transform .15s;
  margin-top: 8px;
}
.exchange .cta:hover { background: var(--accent-hover); transform: translateY(-1px); }
.exchange button.cta.cta-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-2);
  box-shadow: none;
  margin-top: 8px;
  border-radius: 999px;
}
.exchange button.cta.cta-secondary:hover { background: #F4F4F4; border-color: var(--ink); transform: none; }

/* After-hours closed state */
.exchange-closed {
  align-items: center;
  text-align: center;
  padding: 48px 36px 24px;
  gap: 0;
}
.closed-moon {
  width: 96px; height: 96px;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 24px;
}
.closed-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  color: var(--ink);
}
.closed-sub {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 380px;
}
.closed-hours {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 590;
  color: var(--ink);
  background: #F4F4F4;
  border-radius: 999px;
  padding: 10px 18px;
  margin-bottom: 28px;
}
.closed-dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--warn);
  box-shadow: 0 0 0 3px rgba(217,119,6,0.18);
}
.exchange-closed .cta { width: 100%; }

/* Hero advantages */
.hero-advantages {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 420px;
}
.adv { display: flex; align-items: center; gap: 14px; }
.adv-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: #FFFFFF; color: var(--accent);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.adv-icon svg { display: block; }
.adv-title { font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; line-height: 1.2; }
.adv-sub { font-size: 13px; color: var(--muted); margin-top: 2px; line-height: 1.3; }

@media (max-width: 720px) {
  .hero-advantages {
    flex-direction: row;
    gap: 12px;
    max-width: none;
    justify-content: space-between;
  }
  .adv {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
  }
  .adv-icon { width: 48px; height: 48px; }
  .adv-title { font-size: 13px; letter-spacing: -0.02em; }
  .adv-sub { display: none; }
}

/* Footer socials */
.footer-socials { display: flex; gap: 8px; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 999px;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  color: var(--ink-2);
  transition: background .15s, color .15s, border-color .15s;
}
.footer-socials a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ============ TRUST BAR ============ */
.trustbar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.trustbar-head {
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.trustbar-label {
  font-size: 11px; color: var(--muted);
  letter-spacing: 0.12em; text-transform: uppercase;
}
.trustbar-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.trustbar-track {
  display: inline-flex;
  gap: 64px;
  width: max-content;
  animation: trustbar-scroll 45s linear infinite;
  white-space: nowrap;
  align-items: center;
}
@keyframes trustbar-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.333%); }
}
.trust-logo {
  font-weight: 700; letter-spacing: -0.02em; color: var(--muted-2); font-size: 24px;
  display: inline-flex; align-items: center; gap: 8px;
  opacity: .7;
  transition: opacity .2s, color .2s;
  flex-shrink: 0;
}
.trust-logo:hover { opacity: 1; color: var(--ink); }

/* Section backgrounds with soft accent washes */
.services {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.services::before {
  content: "";
  position: absolute;
  top: 10%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(17,97,254,0.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.services .container { position: relative; z-index: 1; }
.svc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column;
  min-height: 320px;
  box-shadow: var(--shadow-card);
}
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.svc-card .num {
  font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0;
}
.svc-card h3 {
  font-size: 28px; font-weight: 700; letter-spacing: -0.03em;
  margin: 12px 0 12px;
}
.svc-card p { color: var(--muted); margin: 0; font-size: 15px; line-height: 1.5; }
.svc-card .svc-foot {
  margin-top: auto; padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.svc-card .learn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 590; color: var(--accent);
}
.svc-viz {
  height: 120px; margin: 20px 0 8px;
  background: linear-gradient(135deg, var(--accent-tint), #fff);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
}

/* 4-card row */
.svc-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .svc-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .svc-row { grid-template-columns: 1fr; } }

/* Bento grid */
.svc-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}
.svc-bento .b1 { grid-column: span 4; grid-row: span 2; }
.svc-bento .b2 { grid-column: span 2; grid-row: span 1; }
.svc-bento .b3 { grid-column: span 2; grid-row: span 1; }
.svc-bento .b4 { grid-column: span 6; grid-row: span 1; }
.svc-bento .svc-card { min-height: 0; height: 100%; }
.svc-bento .b1 h3 { font-size: 44px; }
.svc-bento .b4 { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; }
.svc-bento .b4 h3 { font-size: 36px; }
@media (max-width: 1000px) {
  .svc-bento { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .svc-bento .b1, .svc-bento .b2, .svc-bento .b3, .svc-bento .b4 { grid-column: span 2; grid-row: auto; }
  .svc-bento .b4 { grid-template-columns: 1fr; }
}

/* Tabs */
.svc-tabs { display: flex; flex-direction: column; gap: 24px; }
.svc-tabs-head {
  display: flex; gap: 4px; padding: 4px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; align-self: flex-start;
}
.svc-tabs-head button {
  padding: 12px 24px; border-radius: 999px; font-size: 15px; font-weight: 590;
  color: var(--muted); transition: all .2s;
}
.svc-tabs-head button.active { background: var(--ink); color: #fff; }
.svc-tabs-panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 56px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  min-height: 420px;
}
.svc-tabs-panel h3 {
  font-size: clamp(36px, 4vw, 52px); font-weight: 700; letter-spacing: -0.035em;
  margin: 16px 0 16px;
}
.svc-tabs-panel p { font-size: 17px; color: var(--muted); }
.svc-tabs-panel ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.svc-tabs-panel li { display: flex; gap: 10px; align-items: start; font-size: 15px; }
.svc-tabs-panel li::before {
  content: ""; width: 18px; height: 18px; border-radius: 999px;
  background: var(--accent-tint);
  background-image: radial-gradient(circle, var(--accent) 30%, transparent 32%);
  flex-shrink: 0; margin-top: 2px;
}
@media (max-width: 900px) {
  .svc-tabs-panel { grid-template-columns: 1fr; padding: 32px; }
}

/* Vertical stack */
.svc-stack { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.svc-stack .svc-row-item {
  display: grid; grid-template-columns: 80px 1fr 1fr 160px;
  gap: 32px; align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .2s;
}
.svc-stack .svc-row-item:hover { padding-left: 16px; }
.svc-stack .svc-row-item h3 { font-size: 40px; margin: 0; letter-spacing: -0.035em; }
.svc-stack .svc-row-item .num { font-family: var(--mono); color: var(--muted); font-size: 13px; }
.svc-stack .svc-row-item p { color: var(--muted); margin: 0; font-size: 15px; }
.svc-stack .svc-row-item .arrow {
  justify-self: end;
  width: 56px; height: 56px; border-radius: 999px;
  background: var(--bg); border: 1px solid var(--line-2);
  display: grid; place-items: center;
  transition: all .2s;
}
.svc-stack .svc-row-item:hover .arrow { background: var(--accent); color: #fff; border-color: var(--accent); transform: rotate(-45deg); }
@media (max-width: 900px) {
  .svc-stack .svc-row-item { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .svc-stack .svc-row-item .arrow { display: none; }
  .svc-stack .svc-row-item h3 { font-size: 28px; }
}

/* ============ STEPS ============ */
.steps {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-xl);
  margin: 0 32px;
  padding: 96px 0;
}
.steps .container { max-width: 1216px; }
.steps .section-head h2 { color: #fff; }
.steps .section-head p { color: #a0a0a0; }
.steps .eyebrow { background: rgba(17,97,254,0.2); color: #8aa9ff; }
.steps .eyebrow .dot { background: #8aa9ff; box-shadow: 0 0 0 4px rgba(138,169,255,0.2); }

.steps-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  position: relative;
}
.step-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
  min-height: 320px;
  display: flex; flex-direction: column;
}
.step-card .step-num {
  font-size: 72px; font-weight: 700; letter-spacing: -0.05em;
  color: var(--accent);
  line-height: 1;
}
.step-card h3 {
  font-size: 24px; font-weight: 600; letter-spacing: -0.03em;
  margin: 24px 0 12px;
}
.step-card p { color: #a0a0a0; font-size: 15px; margin: 0; }
.step-card .step-viz {
  margin-top: auto; padding-top: 24px;
  height: 80px;
  display: flex; align-items: end;
}
@media (max-width: 900px) {
  .steps-row { grid-template-columns: 1fr; }
  .steps { margin: 0 16px; padding: 72px 0; }
}
@media (max-width: 720px) {
  .steps { margin: 0; border-radius: 0; }
}

/* ============ FAQ ============ */
.faq-grid {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px;
}
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 32px; } }
.faq-list { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 0 28px; box-shadow: var(--shadow-card); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%; text-align: left;
  padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 18px; font-weight: 590; letter-spacing: -0.02em;
}
.faq-q .plus {
  width: 32px; height: 32px; border-radius: 999px;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: transform .25s, background .2s, color .2s;
}
.faq-item.open .faq-q .plus { background: var(--ink); color: #fff; border-color: var(--ink); transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  color: var(--muted); font-size: 15px;
  transition: max-height .3s ease, padding .3s ease;
}
.faq-item.open .faq-a { max-height: 400px; padding: 0 0 24px; }

/* ============ BLOG ============ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex; flex-direction: column;
  min-height: 380px;
  transition: transform .2s, box-shadow .2s;
  box-shadow: var(--shadow-card);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-thumb {
  height: 180px; border-radius: var(--r-md);
  border: 1px solid var(--line);
  margin-bottom: 20px;
  position: relative; overflow: hidden;
  display: grid; place-items: center;
  background: var(--accent-tint);
}
.blog-thumb-1 { background: linear-gradient(135deg, #E1EAFF, #1161FE); color: #fff; }
.blog-thumb-2 { background: #F3F2EC; color: var(--ink); }
.blog-thumb-3 { background: #0A0A0A; color: var(--accent); }
.blog-thumb-headline {
  font-size: 24px; font-weight: 700; letter-spacing: -0.035em; padding: 16px; text-align: center;
  line-height: 1;
}
.blog-card .tag {
  font-size: 12px; font-family: var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em;
}
.blog-card h3 {
  font-size: 20px; font-weight: 600; letter-spacing: -0.02em;
  margin: 12px 0 8px; line-height: 1.25;
}
.blog-card p { color: var(--muted); font-size: 14px; margin: 0; }
.blog-card .blog-meta {
  margin-top: auto; padding-top: 20px;
  display: flex; justify-content: flex-end; align-items: center;
  font-size: 13px; color: var(--muted);
}
.read-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent); font-weight: 590; font-size: 14px;
  transition: gap .15s;
}
.blog-card:hover .read-link { gap: 10px; }

/* ============ OFFICE ============ */
.office-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
@media (max-width: 900px) { .office-grid { grid-template-columns: 1fr; } }
.office-info { padding: 48px; display: flex; flex-direction: column; }
.office-info h3 {
  font-size: clamp(36px, 4.5vw, 56px); font-weight: 700; letter-spacing: -0.035em;
  margin: 12px 0 24px; line-height: 1;
}
.office-info .addr-row {
  display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line);
  font-size: 15px;
}
.office-info .addr-row:last-of-type { border-bottom: 1px solid var(--line); }
.office-info .addr-row .lbl {
  width: 140px; flex-shrink: 0; color: var(--muted);
  font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em;
  padding-top: 2px;
}
.office-info .addr-row .val { color: var(--ink); font-weight: 500; }
.office-info .addr-row .val small { color: var(--muted); font-weight: 400; display: block; margin-top: 4px; font-size: 13px; }
.office-map {
  background: #F3F2EC;
  min-height: 480px;
  position: relative;
  overflow: hidden;
  border-left: 1px solid var(--line);
}
.office-gmap {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: 0;
  display: block;
  filter: grayscale(0.15) contrast(0.98);
}
@media (max-width: 900px) { .office-map { border-left: none; border-top: 1px solid var(--line); min-height: 320px; } }

/* ============ CONTACT ============ */
.contact-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 72px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 100% at 100% 0%, rgba(17,97,254,0.4), transparent 50%);
  pointer-events: none;
}
.contact-card > * { position: relative; z-index: 1; }
.contact-card h2 {
  font-size: clamp(40px, 5vw, 72px); font-weight: 700; letter-spacing: -0.04em;
  margin: 16px 0 20px; line-height: 0.95; text-wrap: balance;
}
.contact-card p { color: #a0a0a0; font-size: 17px; max-width: 420px; margin: 0 0 36px; }
.contact-channels { display: grid; gap: 12px; align-self: stretch; }
.channel {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md);
  transition: background .15s, border-color .15s;
}
.channel:hover { background: rgba(255,255,255,0.08); border-color: rgba(17,97,254,0.4); }
.channel-l { display: flex; align-items: center; gap: 14px; }
.channel-icon { width: 36px; height: 36px; border-radius: 10px; background: rgba(17,97,254,0.2); color: #8aa9ff; display: grid; place-items: center; }
.channel-name { font-weight: 590; font-size: 15px; }
.channel-val { color: #a0a0a0; font-size: 13px; font-family: var(--mono); }
.channel-arrow { color: #666; }

.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form .field-dark {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md);
  padding: 16px 20px;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  width: 100%;
  outline: none;
  transition: border-color .15s;
}
.contact-form .field-dark::placeholder { color: #666; }
.contact-form .field-dark:focus { border-color: var(--accent); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form button {
  background: #fff; color: var(--ink);
  padding: 16px; border-radius: var(--r-md);
  font-weight: 590; font-size: 15px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform .15s;
}
.contact-form button:hover { transform: translateY(-1px); }
@media (max-width: 900px) {
  .contact-card { grid-template-columns: 1fr; padding: 40px 28px; gap: 40px; }
}

/* ============ CTA BANNER ============ */
.cta-banner {
  text-align: center;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 50% at 50% 50%, rgba(17,97,254,0.15), transparent 70%),
    radial-gradient(30% 40% at 20% 60%, rgba(17,97,254,0.08), transparent 70%),
    radial-gradient(30% 40% at 80% 40%, rgba(17,97,254,0.08), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 {
  font-size: clamp(56px, 8vw, 112px); font-weight: 700; letter-spacing: -0.045em;
  line-height: 0.95; margin: 0 0 24px;
  text-wrap: balance;
}
.cta-banner h2 em {
  font-style: normal;
  font-family: "Times New Roman", Times, serif;
  font-weight: 400;
  color: var(--accent);
}
.cta-banner p { color: var(--muted); font-size: 19px; max-width: 520px; margin: 0 auto 40px; }
.cta-banner-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============ FOOTER ============ */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-col h5 {
  font-size: 12px; font-family: var(--mono); color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin: 0 0 16px; font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--ink-2); font-size: 14px; }
.footer-col a:hover { color: var(--accent); }
.footer-brand h4 {
  font-size: 28px; font-weight: 700; letter-spacing: -0.03em; margin: 16px 0 12px;
}
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 320px; margin: 0; }
.footer-bottom {
  padding-top: 32px;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--muted); font-size: 13px;
  flex-wrap: wrap; gap: 16px;
}

/* ============ TWEAKS PANEL ============ */
.tweaks-panel {
  position: fixed; bottom: 20px; right: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  z-index: 100;
  min-width: 300px;
  max-width: 320px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  font-size: 13px;
}
.tweaks-group + .tweaks-group { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.tweaks-group-label {
  font-size: 11px; font-family: var(--mono);
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink); font-weight: 600;
  margin-bottom: 10px;
}
.tweaks-panel h5 {
  margin: 0 0 12px; font-size: 11px; font-family: var(--mono);
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted);
  display: flex; justify-content: space-between; align-items: center;
}
.tweaks-panel h5 .badge { color: var(--accent); }
.tweaks-options { display: grid; gap: 6px; }
.tweaks-options button {
  text-align: left;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  display: flex; justify-content: space-between; align-items: center;
  transition: border-color .15s;
}
.tweaks-options button:hover { border-color: var(--line-2); }
.tweaks-options button.active { border-color: var(--accent); background: var(--accent-tint); color: var(--accent); }
.tweaks-options button .desc { color: var(--muted); font-size: 12px; font-weight: 400; }
.tweaks-options button.active .desc { color: var(--accent); opacity: 0.8; }

/* ============ MAP ============ */
.map-svg { width: 100%; height: 100%; display: block; }
.map-pin {
  position: absolute;
  width: 20px; height: 20px; border-radius: 999px;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 0 0 6px rgba(17,97,254,0.2), 0 4px 10px rgba(0,0,0,0.1);
}
.map-pin::after {
  content: ""; position: absolute;
  inset: -14px; border-radius: 999px;
  border: 1px solid var(--accent);
  opacity: 0.4;
  animation: ping 2s infinite;
}
@keyframes ping {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.2); opacity: 0; }
}
.map-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 14px;
  box-shadow: var(--shadow-md);
  font-size: 13px;
  min-width: 180px;
}
.map-card .city { font-weight: 700; letter-spacing: -0.02em; font-size: 15px; }
.map-card .subline { color: var(--muted); font-size: 12px; margin-top: 2px; }
