/* IOSAPI Services — "technical paper" design system.
   Warm paper + ink + signal orange. Sharp corners, hairline rules,
   mono micro-labels. Deliberately not the 2026 dark-glass-gradient look. */

:root {
  /* warm paper tones, ~10% darker than the original to ease the eyes */
  --paper: #ddd8cb;
  --surface: #e8e3d7;
  --ink: #17150f;
  --ink-soft: #3d3a30;
  --muted: #7d7668;
  --line: rgba(23, 21, 15, 0.18);
  --line-soft: rgba(23, 21, 15, 0.09);
  --accent: #ff4b00;
  --ok: #2e7d4f;
  --font-display: "Unbounded", sans-serif;
  --font-body: "Golos Text", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --font-serif: "Spectral", Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  /* ruled columns, barely visible */
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent calc(100% / 12 - 1px),
    var(--line-soft) calc(100% / 12 - 1px),
    var(--line-soft) calc(100% / 12)
  );
}

::selection { background: var(--accent); color: var(--paper); }

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

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- primitives ---------- */

.tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.tag::before { content: ""; width: 22px; height: 1px; background: var(--accent); }

.tag-idx { color: var(--accent); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; }

h1 em, h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 22px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--ink);
}
.btn:active { transform: translate(0, 0); box-shadow: none; }

.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--accent); border-color: var(--ink); }

.btn-block { width: 100%; justify-content: center; }

.led {
  width: 8px; height: 8px;
  background: var(--ok);
  display: inline-block;
  animation: blink 2.2s infinite;
}
.led.orange { background: var(--accent); }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

/* card with crosshair corner ticks */
.panel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 28px;
}
.panel::before, .panel::after {
  font-family: var(--font-mono);
  color: var(--muted);
  font-size: 12px;
  position: absolute;
  line-height: 1;
}
.panel::before { content: "+"; top: 6px; left: 8px; }
.panel::after { content: "+"; bottom: 6px; right: 8px; }

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

/* ---------- header ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.topbar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 9px;
  color: inherit;
}
.logo-mark { width: 22px; height: 22px; flex: none; }

.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  padding: 2px 0;
}
.nav a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* header CTA: two buttons for guests, balance chip + cabinet for logged-in */
.topbar-cta { display: flex; gap: 12px; align-items: center; }
.bal-chip {
  font-family: var(--font-mono);
  font-size: 13px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 8px 13px;
  display: inline-flex;
  gap: 9px;
  align-items: center;
  white-space: nowrap;
}
.bal-chip .bal-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 560px) {
  .topbar-cta .btn-ghost { display: none; } /* keep primary action only on tiny screens */
  .bal-chip { padding: 7px 10px; font-size: 12px; }
}

/* ---------- hero ---------- */

.hero { padding: 84px 0 64px; border-bottom: 1px solid var(--line); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: start;
}
.hero h1 { font-size: clamp(38px, 5.4vw, 68px); margin: 22px 0 18px; }
.hero p.lead { font-size: 18px; color: var(--ink-soft); max-width: 46ch; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.hero-note {
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 10px;
  align-items: center;
}

/* fake console in hero */
.console { font-family: var(--font-mono); font-size: 13px; }
.console-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 14px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.console-line { display: flex; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line-soft); }
.console-line .m { color: var(--accent); font-weight: 700; min-width: 44px; }
.console-line .s { margin-left: auto; color: var(--ok); }
.console-out {
  margin-top: 14px;
  background: var(--ink);
  color: #e8e4d8;
  padding: 16px;
  font-size: 12.5px;
  line-height: 1.7;
  overflow-x: auto;
}
.console-out .k { color: #ff9d6b; }
.console-out .v { color: #9fd8a9; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-top: none;
  background: var(--surface);
}
.hero-stat { padding: 16px 18px; border-right: 1px solid var(--line); }
.hero-stat:last-child { border-right: none; }
.hero-stat .n { font-family: var(--font-display); font-size: 22px; }
.hero-stat .l { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* ---------- ticker ---------- */

.ticker {
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--surface);
  white-space: nowrap;
}
.ticker-in {
  display: inline-block;
  padding: 12px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  animation: ticker 32s linear infinite;
}
.ticker-in span { margin: 0 26px; }
.ticker-in b { color: var(--accent); font-weight: 400; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- sections ---------- */

section.block { padding: 84px 0; border-bottom: 1px solid var(--line); }
.block h2 { font-size: clamp(28px, 3.6vw, 44px); margin: 20px 0 40px; max-width: 22ch; }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.feature {
  background: var(--surface);
  padding: 26px;
  position: relative;
  transition: background 0.15s ease;
}
.feature:hover { background: var(--paper); }
.feature .idx {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.16em;
}
.feature h3 { font-size: 17px; margin: 14px 0 10px; font-family: var(--font-body); font-weight: 600; }
.feature p { font-size: 14px; color: var(--muted); }

/* steps */
.steps { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.step {
  display: grid;
  grid-template-columns: 120px 1fr 1.2fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.step .num { font-family: var(--font-display); font-size: 40px; color: var(--accent); }
.step h3 { font-size: 20px; }
.step p { color: var(--muted); font-size: 15px; }

/* API preview — inverted band */
.api-band { background: var(--ink); color: #e8e4d8; border-bottom: 1px solid var(--line); }
.api-band .tag { color: #9a937f; }
.api-band h2 { color: #f3f0e6; }
.api-band h2 em { color: var(--accent); }
.api-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; padding: 84px 0; align-items: center; }
.api-grid p { color: #b3ac99; max-width: 42ch; margin-top: 14px; }
.codebox {
  border: 1px solid rgba(232, 228, 216, 0.25);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.75;
  padding: 22px;
  overflow-x: auto;
  position: relative;
}
.codebox::before {
  content: "REST / V1";
  position: absolute;
  top: -9px; left: 14px;
  background: var(--ink);
  padding: 0 8px;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--accent);
}
.codebox .c { color: #6f6a5c; }
.codebox .k { color: #ff9d6b; }
.codebox .s { color: #9fd8a9; }

/* CTA */
.cta { text-align: left; }
.cta h2 { max-width: none; }

/* footer */
footer { padding: 44px 0 60px; }
.foot {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

/* ---------- auth page ---------- */

.auth-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-side {
  background: var(--ink);
  color: #e8e4d8;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.auth-side .tag { color: #9a937f; }
.auth-side h1 { font-size: clamp(30px, 3.4vw, 46px); margin-top: 24px; max-width: 14ch; color: #f3f0e6; }
.auth-side h1 em { color: var(--accent); }
.auth-spec {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #8f8874;
  line-height: 2.1;
  border-top: 1px solid rgba(232, 228, 216, 0.18);
  padding-top: 18px;
}
.auth-spec b { color: #e8e4d8; font-weight: 400; }

.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}
.auth-card { width: 100%; max-width: 420px; }

.tabs { display: flex; border: 1px solid var(--line); margin-bottom: 26px; }
.tab {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  padding: 13px 0;
  cursor: pointer;
  color: var(--muted);
  background: var(--surface);
  border: none;
}
.tab + .tab { border-left: 1px solid var(--line); }
.tab.active { background: var(--ink); color: var(--paper); }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field input {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 15px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  outline: none;
  border-radius: 0;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
.field input:focus { border-color: var(--ink); box-shadow: 3px 3px 0 var(--accent); }

.code-input { letter-spacing: 0.9em !important; text-align: center; font-size: 22px !important; }

.form-msg {
  font-family: var(--font-mono);
  font-size: 12.5px;
  padding: 12px 14px;
  margin-bottom: 18px;
  display: none;
  border: 1px solid;
}
.form-msg.err { display: block; color: #b3260e; border-color: #b3260e; background: rgba(255, 75, 0, 0.06); }
.form-msg.ok { display: block; color: var(--ok); border-color: var(--ok); background: rgba(46, 125, 79, 0.07); }

.auth-foot {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}
.auth-foot a { color: var(--ink); border-bottom: 1px solid var(--accent); cursor: pointer; }
.auth-foot a:hover { color: var(--accent); }

/* ---------- dashboard ---------- */

.dash {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}
.side {
  border-right: 1px solid var(--line);
  background: var(--surface);
  padding: 22px 0;
  display: flex;
  flex-direction: column;
}
.side .logo { padding: 0 22px 22px; border-bottom: 1px solid var(--line); }
.side-nav { display: flex; flex-direction: column; padding-top: 10px; }
.side-nav a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 13px 22px;
  display: flex;
  gap: 12px;
  border-left: 2px solid transparent;
}
.side-nav a .i { color: var(--muted); }
.side-nav a:hover { color: var(--accent); }
.side-nav a.active { border-left-color: var(--accent); color: var(--ink); background: var(--paper); }
.side-nav a .soon {
  margin-left: auto;
  font-size: 9px;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 1px 5px;
  letter-spacing: 0.14em;
}
.side-foot { margin-top: auto; padding: 18px 22px 0; border-top: 1px solid var(--line); }

.main { padding: 0 36px 48px; }
.main-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
}
.user-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
}
.btn-sm { padding: 9px 14px; font-size: 11px; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 26px 0; }
.card-stat .l { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.card-stat .n { font-family: var(--font-display); font-size: 30px; margin-top: 10px; }
.card-stat .sub { font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin-top: 6px; }

.dash h2 { font-size: 26px; margin-bottom: 8px; }
.dash .sub-line { color: var(--muted); font-size: 14.5px; }

.placeholder {
  border: 1px dashed var(--line);
  padding: 34px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 16px;
}
.placeholder b { color: var(--accent); font-weight: 400; }

/* ---------- profile ---------- */
.profile-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  margin-top: 22px;
}
.kv { display: grid; grid-template-columns: auto 1fr; gap: 12px 24px; align-items: baseline; }
.kv dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.kv dd { font-size: 15px; text-align: right; }
.balance-panel { display: flex; flex-direction: column; }
.balance-big { font-family: var(--font-display); font-size: 44px; line-height: 1; margin-top: 6px; }
.balance-big .cur { color: var(--accent); font-size: 28px; }
.pw-panel { margin-top: 16px; max-width: 640px; }
.pw-fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}
@media (max-width: 860px) {
  .profile-grid { grid-template-columns: 1fr; }
  .pw-fields { grid-template-columns: 1fr; }
}

/* section header with action button */
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sec-head h2 { margin: 0; }

/* list item cards (proxies, and future asset lists) */
.item-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  padding: 18px 22px;
}
.item-title { font-family: var(--font-body); font-weight: 600; font-size: 16px; }
.item-meta { font-size: 12px; color: var(--muted); margin-top: 4px; }
.item-actions { display: flex; gap: 8px; flex: none; }

.sec select {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 15px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 0;
}
.sec textarea {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 0;
  resize: vertical;
}
.sec textarea:focus, .sec select:focus { outline: none; border-color: var(--ink); box-shadow: 3px 3px 0 var(--accent); }
.sec input[type="file"] {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 10px;
  border: 1px dashed var(--line);
  background: var(--surface);
}
.sec input[type="number"] {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 15px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 0;
}
.sec input[type="number"]:focus { outline: none; border-color: var(--ink); box-shadow: 3px 3px 0 var(--accent); }
.ctab { display: block; }

/* ---------- modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(23, 21, 15, 0.55);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 6vh 20px 20px;
  z-index: 100;
  overflow-y: auto;
  animation: modalfade 0.14s ease;
}
@keyframes modalfade { from { opacity: 0; } to { opacity: 1; } }
.modal {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--ink);
  box-shadow: 8px 8px 0 var(--accent);
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  animation: modalpop 0.16s cubic-bezier(0.2, 0.8, 0.3, 1);
}
@keyframes modalpop { from { transform: translateY(-10px); } to { transform: translateY(0); } }
.modal.wide { max-width: 720px; }
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.modal-head h3 { font-family: var(--font-display); font-weight: 500; font-size: 20px; margin: 0; }
.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 22px;
  line-height: 1;
  color: var(--muted);
  padding: 2px 6px;
  flex: none;
}
.modal-close:hover { color: var(--accent); }
.modal-body { padding: 24px; }
.modal-body .field:last-child { margin-bottom: 0; }
.modal-foot {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
}
.modal .form-msg { margin-bottom: 16px; }
.modal-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .modal-row { grid-template-columns: 1fr; } }

/* toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 13px 22px;
  border-left: 3px solid var(--accent);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 200;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* form controls inside modals inherit the section look */
.modal-body select, .modal-body textarea, .modal-body input[type="number"] {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 15px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 0;
}
.modal-body textarea { font-size: 14px; resize: vertical; }
.modal-body input[type="file"] {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 10px;
  border: 1px dashed var(--line);
  background: var(--surface);
}
.modal-body select:focus, .modal-body textarea:focus, .modal-body input:focus {
  outline: none; border-color: var(--ink); box-shadow: 3px 3px 0 var(--accent);
}

/* ---------- custom select (site-styled, replaces native <select>) ---------- */
.cs-wrap { position: relative; }
.cs-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
}
.cs-btn.open { border-color: var(--ink); box-shadow: 3px 3px 0 var(--accent); }
.cs-arrow {
  width: 0; height: 0; flex: none;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--ink-soft);
  transition: transform 0.12s ease;
}
.cs-btn.open .cs-arrow { transform: rotate(180deg); }
.cs-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  z-index: 20;
  background: var(--surface);
  border: 1px solid var(--ink);
  max-height: 240px;
  overflow-y: auto;
  box-shadow: 5px 5px 0 rgba(23, 21, 15, 0.14);
}
.cs-item {
  padding: 11px 14px;
  font-family: var(--font-mono);
  font-size: 14px;
  cursor: pointer;
  border-bottom: 1px solid var(--line-soft);
}
.cs-item:last-child { border-bottom: none; }
.cs-item:hover { background: var(--paper); color: var(--accent); }
.cs-item.sel { color: var(--accent); }

/* ---------- sidebar icons + custom cursor ---------- */
.side-nav a svg { width: 18px; height: 18px; flex: none; color: var(--muted); transition: color 0.12s ease; }
.side-nav a:hover svg, .side-nav a.active svg { color: var(--accent); }
.side-nav a {
  cursor: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='20'%20height='20'%20viewBox='0%200%2024%2024'%20fill='%23ff4b00'%20stroke='%2317150f'%20stroke-width='1.6'%20stroke-linejoin='round'%3E%3Cpath%20d='M5%203l13.5%207.5-5.7%201.4-2.8%206z'/%3E%3C/svg%3E") 2 2, pointer;
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .hero-grid, .api-grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .step { grid-template-columns: 70px 1fr; }
  .step p { grid-column: 2; }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .dash { grid-template-columns: 1fr; }
  .side { flex-direction: row; align-items: center; overflow-x: auto; padding: 0; border-right: none; border-bottom: 1px solid var(--line); }
  .side .logo { border-bottom: none; padding: 16px 18px; }
  .side-nav { flex-direction: row; padding: 0; }
  .side-nav a { padding: 16px 14px; border-left: none; border-bottom: 2px solid transparent; white-space: nowrap; }
  .side-nav a.active { border-bottom-color: var(--accent); }
  .side-foot { display: none; }
  .cards { grid-template-columns: 1fr 1fr; }
  .main { padding: 0 20px 40px; }
  .nav { display: none; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 44px; }
}
