/* =====================================================================
   Solstice Bank — design system
   Hand-written CSS. No build step. Warm ivory, pine green, coral sun.
   Display: Fraunces · Text: Manrope
   ===================================================================== */

:root {
  /* brand */
  --pine-900: #06201a;
  --pine-800: #0a2b22;
  --pine-700: #0f3a2c;
  --pine-600: #155042;
  --pine-500: #1d6a56;
  --mint: #8fe3c4;
  --mint-200: #c6f3e2;
  --mint-100: #e4f8f0;
  --coral: #ef6a4c;
  --coral-600: #d9553a;
  --coral-100: #fdeae4;
  --sol: #e8b04b;
  --sol-100: #fbf0d8;

  /* neutrals */
  --ink: #0c241c;
  --text: #12261f;
  --muted: #6d7d76;
  --faint: #94a29b;
  --sand: #f7f3ea;
  --sand-2: #efe8da;
  --card: #ffffff;
  --line: #e6dfd0;
  --line-soft: #f0ebe0;

  /* semantic */
  --ok: #1a7f5f;
  --ok-bg: #e6f6ef;
  --warn: #a86a10;
  --warn-bg: #fdf2dd;
  --bad: #c02c3c;
  --bad-bg: #fbe7e9;

  --radius: 22px;
  --radius-md: 16px;
  --radius-sm: 11px;
  --rail-w: 264px;

  --shadow-xs: 0 1px 2px rgba(12, 36, 28, .05);
  --shadow: 0 2px 4px rgba(12, 36, 28, .04), 0 18px 40px -28px rgba(12, 36, 28, .38);
  --shadow-lg: 0 40px 90px -50px rgba(6, 32, 26, .55);

  --sans: "Manrope", "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.58;
  color: var(--text);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.14; font-weight: 600; letter-spacing: -.015em; font-family: var(--display); }
h1 { font-size: 2rem; }
h2 { font-size: 1.38rem; }
h3 { font-size: 1.08rem; font-family: var(--sans); font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--pine-600); text-decoration: none; }
a:hover { color: var(--pine-800); }
strong, b { font-weight: 700; }
img { max-width: 100%; display: block; }

.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: .82rem; }
.tiny { font-size: .74rem; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: -.02em; }
.display { font-family: var(--display); }
.center { text-align: center; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.upper { text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; font-weight: 800; color: var(--faint); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.row { display: flex; align-items: center; gap: .7rem; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.row-wrap { display: flex; flex-wrap: wrap; gap: .6rem; }
.spacer { flex: 1; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }

/* asymmetric two-column layouts that collapse cleanly on small screens */
.grid-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 1.1rem; align-items: start; }
.grid-split-wide { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 1.1rem; align-items: start; }
.grid-split-rev { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 1.1rem; align-items: start; }
.grid-split-even { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.1rem; align-items: start; }

@media (max-width: 1024px) {
  .grid-split, .grid-split-wide, .grid-split-rev, .grid-split-even { grid-template-columns: minmax(0, 1fr); }
}
.divider { height: 1px; background: var(--line-soft); border: 0; margin: 1.1rem 0; }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--sans); font-size: .88rem; font-weight: 700; letter-spacing: -.01em;
  padding: .68rem 1.15rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .16s ease, background .16s ease, box-shadow .16s, color .16s, border-color .16s;
  white-space: nowrap; line-height: 1.2;
}
.btn:active { transform: translateY(1px) scale(.995); }
.btn:disabled { opacity: .55; cursor: not-allowed; }

.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 10px 24px -14px rgba(217, 85, 58, .9); }
.btn-primary:hover { background: var(--coral-600); color: #fff; box-shadow: 0 14px 28px -14px rgba(217, 85, 58, .95); }

.btn-dark { background: var(--pine-700); color: #fff; }
.btn-dark:hover { background: var(--pine-800); color: #fff; }

.btn-soft { background: var(--mint-100); color: var(--pine-700); border-color: #cfeee0; }
.btn-soft:hover { background: var(--mint-200); color: var(--pine-900); }

.btn-ghost { background: transparent; color: var(--pine-700); border-color: var(--line); }
.btn-ghost:hover { background: #fff; border-color: #d6cdba; color: var(--pine-900); }

.btn-quiet { background: transparent; color: var(--muted); border-color: transparent; padding-left: .5rem; padding-right: .5rem; }
.btn-quiet:hover { color: var(--pine-800); background: rgba(21, 80, 66, .06); }

.btn-danger { background: var(--bad-bg); color: var(--bad); border-color: #f3ccd1; }
.btn-danger:hover { background: #f8d7db; color: #96202d; }

.btn-sm { padding: .46rem .85rem; font-size: .79rem; }
.btn-lg { padding: .88rem 1.5rem; font-size: .95rem; }
.btn-block { width: 100%; }

/* ---------------------------------------------------------------- forms */
.field { margin-bottom: 1rem; }
.field > label, .label {
  display: block; margin-bottom: .38rem; font-size: .76rem; font-weight: 800;
  letter-spacing: .07em; text-transform: uppercase; color: var(--muted);
}
.input, .select, .textarea, input[type="text"], input[type="email"], input[type="password"],
input[type="number"], input[type="tel"], input[type="date"], select, textarea {
  width: 100%; font-family: var(--sans); font-size: .92rem; color: var(--text);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .74rem .9rem; outline: none; transition: border-color .16s, box-shadow .16s, background .16s;
}
.input:focus, .select:focus, .textarea:focus, input:focus, select:focus, textarea:focus {
  border-color: var(--pine-500); box-shadow: 0 0 0 4px rgba(21, 80, 66, .1);
}
.textarea { min-height: 104px; resize: vertical; }
.hint { margin-top: .35rem; font-size: .78rem; color: var(--faint); }
.error-text { margin-top: .35rem; font-size: .78rem; color: var(--bad); font-weight: 600; }
.field.has-error input, .field.has-error select { border-color: #e6a4ad; background: #fffafa; }
.input-group { display: flex; align-items: stretch; }
.input-group .addon {
  display: flex; align-items: center; padding: 0 .85rem; background: var(--sand);
  border: 1px solid var(--line); border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-weight: 800; color: var(--muted); font-family: var(--display); font-size: 1rem;
}
.input-group input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.check { display: flex; align-items: flex-start; gap: .55rem; font-size: .85rem; color: var(--muted); }
.check input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--pine-600); }

/* ---------------------------------------------------------------- cards */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.card + .card { margin-top: 1.1rem; }
.card-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.4rem; border-bottom: 1px solid var(--line-soft);
}
.card-head h2, .card-head h3 { margin: 0; }
.card-body { padding: 1.4rem; }
.pad { padding: 1.4rem; }
.pad-lg { padding: 1.8rem; }
.card-flush { padding: 0; }

/* --------------------------------------------------------------- alerts */
.alert {
  display: flex; align-items: flex-start; gap: .7rem; padding: .85rem 1rem;
  border-radius: var(--radius-sm); font-size: .86rem; font-weight: 600; margin-bottom: 1rem;
  border: 1px solid transparent;
}
.alert-ok { background: var(--ok-bg); color: var(--ok); border-color: #c9ebe0; }
.alert-err { background: var(--bad-bg); color: var(--bad); border-color: #f3ccd1; }
.alert-warn { background: var(--warn-bg); color: var(--warn); border-color: #f4e0b8; }
.alert-info { background: var(--mint-100); color: var(--pine-700); border-color: #cfeee0; }

/* --------------------------------------------------------------- badges */
.badge {
  display: inline-flex; align-items: center; gap: .34rem; padding: .24rem .6rem;
  border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .02em;
  text-transform: capitalize; white-space: nowrap;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .75; }
.badge-pending { background: var(--warn-bg); color: var(--warn); }
.badge-completed, .badge-active, .badge-verified, .badge-approved { background: var(--ok-bg); color: var(--ok); }
.badge-rejected, .badge-frozen, .badge-suspended, .badge-blocked { background: var(--bad-bg); color: var(--bad); }
.badge-neutral, .badge-inactive { background: #eef0ec; color: #63726b; }
.badge-cashapp { background: #dcf7e5; color: #0f7a3d; }
.badge-zelle { background: #e6e9ff; color: #4841b5; }
.badge-paypal { background: #e4effb; color: #14559e; }
.badge-internal { background: var(--mint-100); color: var(--pine-600); }
.badge-bank_transfer, .badge-bitcoin, .badge-ethereum, .badge-wire { background: #eef0ec; color: #5c6a63; }

.pill {
  display: inline-flex; align-items: center; gap: .4rem; padding: .32rem .7rem; border-radius: 999px;
  background: var(--sand-2); color: var(--pine-700); font-size: .76rem; font-weight: 700;
}

/* =====================================================================
   APP SHELL
   ===================================================================== */
.shell { display: flex; min-height: 100vh; }

.rail {
  width: var(--rail-w); flex: 0 0 var(--rail-w); background: #fff; border-right: 1px solid var(--line);
  display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; padding: 1.35rem 1rem;
  z-index: 40;
}
.brand { display: flex; align-items: center; gap: .65rem; padding: .25rem .5rem 1.35rem; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 12px; flex: 0 0 38px;
  background: linear-gradient(150deg, var(--pine-700), var(--pine-900));
  display: grid; place-items: center; box-shadow: 0 8px 18px -12px rgba(6, 32, 26, .9);
}
.brand-mark svg { width: 21px; height: 21px; }
.brand-name { font-family: var(--display); font-size: 1.06rem; font-weight: 600; letter-spacing: -.02em; color: var(--ink); line-height: 1.05; }
.brand-name small { display: block; font-family: var(--sans); font-size: .6rem; letter-spacing: .19em; text-transform: uppercase; color: var(--faint); font-weight: 800; margin-top: 3px; }

.rail-nav { display: flex; flex-direction: column; gap: .18rem; overflow-y: auto; }
.rail-section { margin: 1.15rem .55rem .45rem; font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); font-weight: 800; }
.rail-link {
  display: flex; align-items: center; gap: .7rem; padding: .62rem .72rem; border-radius: 12px;
  font-size: .875rem; font-weight: 600; color: #47554e; transition: background .15s, color .15s;
  position: relative;
}
.rail-link svg { width: 18px; height: 18px; flex: 0 0 18px; stroke-width: 1.7; opacity: .82; }
.rail-link:hover { background: var(--sand); color: var(--pine-800); }
.rail-link.active { background: var(--mint-100); color: var(--pine-800); font-weight: 750; }
.rail-link.active svg { opacity: 1; }
.rail-link.active::before {
  content: ""; position: absolute; left: -1rem; top: 50%; transform: translateY(-50%);
  width: 3px; height: 22px; border-radius: 0 3px 3px 0; background: var(--coral);
}
.rail-link .count {
  margin-left: auto; background: var(--coral); color: #fff; font-size: .66rem; font-weight: 800;
  padding: .1rem .38rem; border-radius: 999px; min-width: 18px; text-align: center;
}

.rail-foot { margin-top: auto; padding-top: 1rem; }
.user-chip {
  display: flex; align-items: center; gap: .65rem; padding: .6rem; border-radius: 14px;
  background: var(--sand); border: 1px solid var(--line-soft);
}
.avatar {
  width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--pine-600), var(--pine-800)); color: #fff;
  font-weight: 800; font-size: .78rem; letter-spacing: .02em; font-family: var(--sans);
}
.avatar-lg { width: 54px; height: 54px; flex-basis: 54px; font-size: 1rem; }
.user-chip .u-name { font-size: .82rem; font-weight: 700; color: var(--ink); line-height: 1.25; }
.user-chip .u-sub { font-size: .7rem; color: var(--faint); }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.topbar {
  display: flex; align-items: center; gap: 1rem; padding: .95rem 1.6rem;
  background: rgba(247, 243, 234, .86); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30;
}
.topbar h1 { font-size: 1.32rem; margin: 0; }
.topbar .sub { font-size: .78rem; color: var(--faint); margin-top: 2px; }
.balance-pill {
  display: flex; align-items: center; gap: .5rem; padding: .42rem .85rem .42rem .5rem;
  background: var(--pine-800); color: #fff; border-radius: 999px; font-size: .8rem; font-weight: 700;
}
.balance-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(143, 227, 196, .18); }
.balance-pill b { font-family: var(--display); font-size: .95rem; font-weight: 600; }

.page { padding: 1.6rem; max-width: 1340px; width: 100%; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.3rem; flex-wrap: wrap; }
.page-head h2 { margin: 0 0 .15rem; }
.page-head p { margin: 0; color: var(--muted); font-size: .87rem; }

/* mobile chrome */
.menu-btn {
  display: none; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; place-items: center; cursor: pointer; flex: 0 0 40px;
}
.menu-btn span { display: block; width: 17px; height: 2px; background: var(--pine-800); border-radius: 2px; position: relative; }
.menu-btn span::before, .menu-btn span::after {
  content: ""; position: absolute; left: 0; width: 17px; height: 2px; background: var(--pine-800); border-radius: 2px;
}
.menu-btn span::before { top: -5px; }
.menu-btn span::after { top: 5px; }
.scrim { display: none; position: fixed; inset: 0; background: rgba(6, 32, 26, .42); z-index: 45; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
body.rail-open .scrim { display: block; }

.bottom-nav { display: none; }
.rail-close { display: none; }

@media (max-width: 1024px) {
  .rail {
    position: fixed; left: 0; top: 0; bottom: 0; transform: translateX(-104%);
    transition: transform .24s ease; box-shadow: var(--shadow-lg); height: 100dvh;
    z-index: 55; background: #fff; overscroll-behavior: contain;
  }
  body.rail-open .rail { transform: none; }
  .rail-close {
    display: grid; place-items: center; width: 34px; height: 34px; margin-left: auto;
    border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; color: var(--muted);
  }
  .menu-btn { display: grid; }
  .page { padding: 1.1rem 1rem 6rem; }
  .topbar { padding: .8rem 1rem; }
  .bottom-nav {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; bottom: 0; left: 0; right: 0;
    background: rgba(255, 255, 255, .97); backdrop-filter: blur(14px); border-top: 1px solid var(--line);
    z-index: 35; padding: .35rem .35rem calc(.35rem + env(safe-area-inset-bottom));
  }
  .bottom-nav a {
    display: flex; flex-direction: column; align-items: center; gap: .18rem; padding: .4rem .1rem;
    font-size: .62rem; font-weight: 700; color: var(--faint); border-radius: 12px;
  }
  .bottom-nav a svg { width: 20px; height: 20px; stroke-width: 1.8; }
  .bottom-nav a.active { color: var(--pine-700); background: var(--mint-100); }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .balance-pill { display: none; }
}

@media (max-width: 560px) {
  .page-head h2 { font-size: 1.2rem; }
  h1 { font-size: 1.6rem; }
  .card-body, .pad { padding: 1.05rem; }
  .card-head { padding: 1rem 1.05rem; }
  .bankcard .bc-num { font-size: .9rem; letter-spacing: .06em; }
  .bankcard { padding: 1rem; min-height: 158px; }
  .balance-card { padding: 1.35rem 1.2rem 1.25rem; }
  .balance-card .bc-meta { gap: 1rem; }
  .stat .stat-value { font-size: 1.35rem; }

  /* tables: tighten and drop secondary columns instead of scrolling sideways */
  table.data { font-size: .82rem; }
  table.data th, table.data td { padding: .68rem .8rem; }
  table.data .cell-sub { font-size: .7rem; }
  table.data .amount { font-size: .82rem; }
  .data-tx th:nth-child(2), .data-tx td:nth-child(2),
  .data-tx th:nth-child(3), .data-tx td:nth-child(3),
  .data-tx th:nth-child(7), .data-tx td:nth-child(7) { display: none; }

  .data-transfer th:nth-child(1), .data-transfer td:nth-child(1),
  .data-transfer th:nth-child(3), .data-transfer td:nth-child(3) { display: none; }

  .data-deposit th:nth-child(1), .data-deposit td:nth-child(1) { display: none; }

  .data-withdraw th:nth-child(1), .data-withdraw td:nth-child(1),
  .data-withdraw th:nth-child(5), .data-withdraw td:nth-child(5) { display: none; }

  .data-adm-dep th:nth-child(2), .data-adm-dep td:nth-child(2),
  .data-adm-dep th:nth-child(5), .data-adm-dep td:nth-child(5) { display: none; }

  .data-adm-wd th:nth-child(5), .data-adm-wd td:nth-child(5) { display: none; }
  .data-adm-pay th:nth-child(5), .data-adm-pay td:nth-child(5) { display: none; }

  .data-ledger th:nth-child(2), .data-ledger td:nth-child(2),
  .data-ledger th:nth-child(3), .data-ledger td:nth-child(3),
  .data-ledger th:nth-child(8), .data-ledger td:nth-child(8) { display: none; }

  .data-adm-card th:nth-child(3), .data-adm-card td:nth-child(3),
  .data-adm-card th:nth-child(5), .data-adm-card td:nth-child(5) { display: none; }

  .data-adm-act th:nth-child(2), .data-adm-act td:nth-child(2),
  .data-adm-act th:nth-child(3), .data-adm-act td:nth-child(3),
  .data-adm-act th:nth-child(5), .data-adm-act td:nth-child(5) { display: none; }

  .data-adm-users th:nth-child(2), .data-adm-users td:nth-child(2),
  .data-adm-users th:nth-child(6), .data-adm-users td:nth-child(6) { display: none; }
}

/* phones: keep only the columns that matter, so nothing scrolls sideways */
@media (max-width: 480px) {
  table.data { font-size: .78rem; table-layout: fixed; width: 100%; }
  table.data th, table.data td { padding: .55rem .42rem; overflow-wrap: anywhere; }
  table.data th { font-size: .58rem; letter-spacing: .05em; }
  table.data td:first-child { width: 42%; }
  table.data .badge { font-size: .62rem; padding: .14rem .4rem; }
  table.data .amount { font-size: .76rem; }
  table.data td .row { flex-wrap: wrap; gap: .25rem !important; }
  table.data .btn-sm { padding: .36rem .5rem; font-size: .68rem; }
  table.data .cell-sub { font-size: .66rem; }

  .data-tx th:nth-child(5), .data-tx td:nth-child(5) { display: none; }
  .data-transfer th:nth-child(5), .data-transfer td:nth-child(5) { display: none; }
  .data-deposit th:nth-child(4), .data-deposit td:nth-child(4) { display: none; }
  .data-withdraw th:nth-child(2), .data-withdraw td:nth-child(2) { display: none; }
  .data-ledger th:nth-child(6), .data-ledger td:nth-child(6) { display: none; }
  .data-adm-dep th:nth-child(1), .data-adm-dep td:nth-child(1) { display: none; }
  .data-adm-wd th:nth-child(2), .data-adm-wd td:nth-child(2) { display: none; }
  .data-adm-pay th:nth-child(2), .data-adm-pay td:nth-child(2) { display: none; }
  .data-adm-pay th:nth-child(3), .data-adm-pay td:nth-child(3) { display: none; }
  .data-adm-utx th:nth-child(4), .data-adm-utx td:nth-child(4) { display: none; }
  .data-adm-card th:nth-child(2), .data-adm-card td:nth-child(2) { display: none; }
  .data-adm-pd th:nth-child(2), .data-adm-pd td:nth-child(2) { display: none; }
}

/* =====================================================================
   DATA DISPLAY
   ===================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.stats-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 1.15rem 1.2rem; box-shadow: var(--shadow-xs); position: relative; overflow: hidden;
}
.stat .stat-label { font-size: .69rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); font-weight: 800; }
.stat .stat-value { font-family: var(--display); font-size: 1.6rem; font-weight: 600; color: var(--ink); margin-top: .35rem; letter-spacing: -.02em; }
.stat .stat-delta { font-size: .76rem; font-weight: 700; margin-top: .3rem; color: var(--muted); }
.stat .stat-delta.up { color: var(--ok); }
.stat .stat-delta.down { color: var(--bad); }
@media (max-width: 1024px) { .stats, .stats-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .stats, .stats-3 { grid-template-columns: 1fr; } }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; font-size: .875rem; }
table.data th {
  text-align: left; padding: .75rem 1.4rem; font-size: .67rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--faint); font-weight: 800; background: #fdfbf6;
  border-bottom: 1px solid var(--line-soft); white-space: nowrap;
}
table.data td { padding: .85rem 1.4rem; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: #fdfbf6; }
table.data .amount { font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.data .amount.credit { color: var(--ok); }
table.data .amount.debit { color: var(--ink); }
.cell-title { font-weight: 700; color: var(--ink); }
.cell-sub { font-size: .76rem; color: var(--faint); }
.empty { padding: 3rem 1.5rem; text-align: center; color: var(--muted); }
.empty .empty-icon {
  width: 52px; height: 52px; margin: 0 auto .8rem; border-radius: 16px; display: grid; place-items: center;
  background: var(--sand); color: var(--faint);
}

/* pagination */
nav.pager { padding: 1rem 1.4rem; border-top: 1px solid var(--line-soft); }nav.pager ul { display: flex; gap: .3rem; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
nav.pager a, nav.pager span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px;
  padding: 0 .6rem; border-radius: 10px; font-size: .82rem; font-weight: 700; color: var(--muted);
  border: 1px solid var(--line); background: #fff;
}
nav.pager a:hover { background: var(--sand); color: var(--pine-800); }
nav.pager .active span { background: var(--pine-700); border-color: var(--pine-700); color: #fff; }
nav.pager .disabled span { opacity: .45; }

/* =====================================================================
   BANKING WIDGETS
   ===================================================================== */
.balance-card {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 1.7rem 1.7rem 1.55rem;
  background: linear-gradient(135deg, var(--pine-700) 0%, var(--pine-900) 62%, #04160f 100%);
  color: #fff; box-shadow: var(--shadow-lg); border: 1px solid rgba(143, 227, 196, .12);
}
.balance-card::before {
  content: ""; position: absolute; width: 340px; height: 340px; right: -120px; top: -150px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 176, 75, .5), rgba(232, 176, 75, 0) 66%);
}
.balance-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--mint), var(--sol), var(--coral));
  opacity: .85;
}
.balance-card .bc-label { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .6); font-weight: 800; }
.balance-card .bc-amount { font-family: var(--display); font-size: clamp(2rem, 5vw, 2.7rem); font-weight: 600; letter-spacing: -.03em; margin: .35rem 0 .2rem; line-height: 1; }
.balance-card .bc-meta { display: flex; gap: 1.4rem; flex-wrap: wrap; margin-top: 1.15rem; position: relative; z-index: 2; }
.balance-card .bc-meta div span { display: block; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); font-weight: 800; }
.balance-card .bc-meta div b { font-size: .95rem; font-weight: 700; }
.balance-card .bc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; position: relative; z-index: 2; }

.quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
@media (max-width: 640px) { .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.quick {
  display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; padding: 1rem .95rem;
  border-radius: 16px; border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-size: .83rem; font-weight: 700; transition: all .16s ease; text-align: left;
}
.quick:hover { border-color: var(--pine-500); background: #fffdf9; transform: translateY(-2px); color: var(--pine-800); }
.quick .qi {
  width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center;
  background: var(--mint-100); color: var(--pine-600);
}
.quick.qi-coral .qi { background: var(--coral-100); color: var(--coral-600); }
.quick.qi-sol .qi { background: var(--sol-100); color: #a3761a; }
.quick svg { width: 17px; height: 17px; stroke-width: 1.9; }

/* chart */
.bars { display: flex; align-items: flex-end; gap: .55rem; height: 132px; padding-top: .5rem; }
.bars .bar-col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: .3rem; height: 100%; }
.bars .bar-stack { width: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 3px; height: 100%; }
.bars .bar { width: 44%; border-radius: 5px 5px 3px 3px; min-height: 3px; transition: height .4s ease; }
.bars .bar-in { background: linear-gradient(180deg, var(--mint), #48b58f); }
.bars .bar-out { background: linear-gradient(180deg, #f6a08b, var(--coral)); }
.bars .bar-label { font-size: .64rem; font-weight: 800; color: var(--faint); letter-spacing: .04em; text-transform: uppercase; }
.legend { display: flex; gap: 1rem; font-size: .74rem; color: var(--muted); font-weight: 700; }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: .35rem; }

/* channel picker */
.channels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; }
.channels-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
@media (max-width: 900px) { .channels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 430px) { .channels, .channels-2 { grid-template-columns: minmax(0, 1fr); } }
.channel { position: relative; }
.channel input { position: absolute; opacity: 0; pointer-events: none; }
.channel label {
  display: flex; flex-direction: column; gap: .45rem; padding: .95rem .9rem; border-radius: 15px;
  border: 1.5px solid var(--line); background: #fff; cursor: pointer; transition: all .16s ease; height: 100%;
}
.channel label:hover { border-color: #cfc6b4; background: #fffdf9; }
.channel .ch-top { display: flex; align-items: center; justify-content: space-between; gap: .4rem; }
.channel .ch-name { font-size: .84rem; font-weight: 750; color: var(--ink); }
.channel .ch-sub { font-size: .72rem; color: var(--faint); line-height: 1.35; }
.channel .ch-ico {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: var(--sand); font-size: .74rem; font-weight: 800; color: var(--pine-700);
}
.channel .ch-fee { font-size: .68rem; font-weight: 800; color: var(--muted); }
.channel input:checked + label {
  border-color: var(--pine-600); background: linear-gradient(180deg, #f7fdfa, #fff);
  box-shadow: 0 0 0 4px rgba(21, 80, 66, .09);
}
.channel input:checked + label .ch-ico { background: var(--pine-700); color: #fff; }
.channel input:focus-visible + label { outline: 2px solid var(--pine-500); outline-offset: 2px; }

.rail-badge { display: inline-flex; gap: .3rem; align-items: center; font-size: .68rem; font-weight: 800; color: var(--coral-600); background: var(--coral-100); padding: .16rem .5rem; border-radius: 999px; }

.summary-list { display: flex; flex-direction: column; gap: .55rem; }
.summary-list .sl-row { display: flex; justify-content: space-between; gap: 1rem; font-size: .87rem; }
.summary-list .sl-row span { color: var(--muted); }
.summary-list .sl-row b { color: var(--ink); font-variant-numeric: tabular-nums; }
.summary-list .sl-total { border-top: 1px dashed var(--line); padding-top: .6rem; margin-top: .2rem; }
.summary-list .sl-total b { font-family: var(--display); font-size: 1.1rem; }

/* cards (bank cards) */
.bankcard {
  position: relative; border-radius: 18px; padding: 1.15rem 1.25rem; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, var(--pine-700), var(--pine-900) 70%);
  box-shadow: 0 20px 40px -26px rgba(6, 32, 26, .9); min-height: 176px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.bankcard::after {
  content: ""; position: absolute; width: 220px; height: 220px; right: -90px; bottom: -110px; border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 227, 196, .35), rgba(143, 227, 196, 0) 70%);
}
.bankcard.sol { background: linear-gradient(135deg, #b8862c, #6d4a10 72%); }
.bankcard.coral { background: linear-gradient(135deg, #d9553a, #7a2415 74%); }
.bankcard .bc-brand { display: flex; justify-content: space-between; align-items: center; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: rgba(255,255,255,.72); }
.bankcard .bc-num { font-family: ui-monospace, Menlo, monospace; font-size: 1.02rem; letter-spacing: .12em; margin-top: .9rem; }
.bankcard .bc-foot { display: flex; justify-content: space-between; align-items: flex-end; font-size: .72rem; color: rgba(255,255,255,.78); }
.bankcard .bc-foot b { display: block; font-size: .84rem; color: #fff; letter-spacing: .02em; }
.bankcard.frozen { filter: grayscale(.65); opacity: .8; }

/* =====================================================================
   AUTH
   ===================================================================== */
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; background: var(--sand); }
.auth-aside {
  position: relative; overflow: hidden; padding: 3rem; display: flex; flex-direction: column;
  justify-content: space-between; color: #fff;
  background: linear-gradient(165deg, var(--pine-700) 0%, var(--pine-900) 60%, #03110c 100%);
}
.auth-aside::before {
  content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%; left: -180px; bottom: -320px;
  background: radial-gradient(circle, rgba(232, 176, 75, .38), transparent 62%);
}
.auth-aside::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(circle at 30% 20%, #000, transparent 72%);
}
.auth-aside > * { position: relative; z-index: 2; }
.auth-aside h1 { font-size: clamp(2rem, 3.4vw, 2.9rem); letter-spacing: -.03em; margin-bottom: 1rem; }
.auth-aside .lede { color: rgba(255, 255, 255, .74); font-size: .98rem; max-width: 30ch; }
.auth-points { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-direction: column; gap: .85rem; }
.auth-points li { display: flex; gap: .65rem; align-items: flex-start; font-size: .87rem; color: rgba(255, 255, 255, .82); }
.auth-points svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; color: var(--mint); }

.auth-main { display: flex; align-items: center; justify-content: center; padding: 2.5rem 1.5rem; }
.auth-card { width: 100%; max-width: 440px; }
.auth-card h2 { font-size: 1.85rem; margin-bottom: .35rem; }
.auth-card .sub { color: var(--muted); font-size: .9rem; margin-bottom: 1.7rem; }
.auth-foot { margin-top: 1.4rem; font-size: .86rem; color: var(--muted); text-align: center; }
.auth-foot a { font-weight: 750; color: var(--pine-700); }
.demo-note {
  margin-top: 1.4rem; padding: .8rem .95rem; border-radius: 12px; background: var(--sol-100);
  border: 1px solid #f0e0b6; font-size: .78rem; color: #7d5a12; line-height: 1.55;
}
.demo-note b { color: #5f4207; }
@media (max-width: 900px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .auth-main { padding: 2rem 1.15rem; }
}

/* =====================================================================
   ADMIN (dark rail variant)
   ===================================================================== */
.rail--admin { background: var(--pine-900); border-right-color: #0c2a22; }
@media (max-width: 1024px) { .rail--admin { background: var(--pine-900); } }
.rail--admin .brand-name { color: #fff; }
.rail--admin .brand-name small { color: rgba(255, 255, 255, .42); }
.rail--admin .rail-section { color: rgba(255, 255, 255, .34); }
.rail--admin .rail-link { color: rgba(255, 255, 255, .68); }
.rail--admin .rail-link svg { opacity: .7; }
.rail--admin .rail-link:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.rail--admin .rail-link.active { background: rgba(143, 227, 196, .13); color: #fff; }
.rail--admin .rail-link.active::before { background: var(--mint); }
.rail--admin .user-chip { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .09); }
.rail--admin .user-chip .u-name { color: #fff; }
.rail--admin .user-chip .u-sub { color: rgba(255, 255, 255, .45); }
.rail--admin .rail-close { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); color: #fff; }
.admin-tag { background: var(--coral); color: #fff; font-size: .58rem; font-weight: 800; letter-spacing: .12em; padding: .12rem .38rem; border-radius: 5px; text-transform: uppercase; }

/* =====================================================================
   MARKETING SITE
   ===================================================================== */
.site { background: #fbf9f4; }

.site-nav {
  position: sticky; top: 0; z-index: 60; padding: .9rem 0;
  background: rgba(251, 249, 244, .82); backdrop-filter: blur(14px); border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(6, 32, 26, .5); }
.site-wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.site-nav .inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-links { display: flex; gap: .3rem; align-items: center; }
.site-links a { font-size: .86rem; font-weight: 650; color: #3f4f48; padding: .5rem .8rem; border-radius: 9px; }
.site-links a:hover { background: rgba(21, 80, 66, .07); color: var(--pine-800); }
.site-cta { display: flex; gap: .5rem; align-items: center; }
.nav-toggle { display: none; }
.site-menu { display: none; }

.hero { position: relative; overflow: hidden; padding: 4.2rem 0 5rem; }
.hero::before {
  content: ""; position: absolute; width: 900px; height: 900px; border-radius: 50%; right: -320px; top: -420px;
  background: radial-gradient(circle, rgba(232, 176, 75, .30), rgba(232, 176, 75, 0) 62%);
}
.hero::after {
  content: ""; position: absolute; width: 720px; height: 720px; border-radius: 50%; left: -280px; bottom: -420px;
  background: radial-gradient(circle, rgba(143, 227, 196, .38), rgba(143, 227, 196, 0) 64%);
}
.hero .site-wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; padding: .38rem .8rem .38rem .5rem;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-size: .73rem; font-weight: 800; color: var(--pine-700); box-shadow: var(--shadow-xs);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px var(--coral-100); }
.hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.1rem); letter-spacing: -.035em; line-height: 1.02; margin: 1.1rem 0 1rem; color: var(--ink); }
.hero h1 em { font-style: italic; color: var(--pine-600); }
.hero .lede { font-size: 1.05rem; color: #4d5d56; max-width: 48ch; margin-bottom: 1.6rem; }
.hero-cta { display: flex; gap: .7rem; flex-wrap: wrap; align-items: center; }
.hero-trust { display: flex; gap: 1.4rem; margin-top: 2rem; flex-wrap: wrap; }
.hero-trust div b { display: block; font-family: var(--display); font-size: 1.35rem; color: var(--ink); letter-spacing: -.02em; }
.hero-trust div span { font-size: .72rem; color: var(--faint); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

.hero-visual { position: relative; }
.device {
  background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 1rem;
  box-shadow: 0 50px 90px -50px rgba(6, 32, 26, .65), 0 0 0 1px rgba(255,255,255,.6) inset;
  transform: rotate(-1.2deg);
}
.device .dev-top { display: flex; align-items: center; justify-content: space-between; padding: .2rem .35rem .8rem; }
.device .dev-dots { display: flex; gap: 5px; }
.device .dev-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); display: block; }
.dev-card {
  border-radius: 18px; padding: 1.1rem 1.2rem; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--pine-700), var(--pine-900) 72%);
}
.dev-card::after { content: ""; position: absolute; width: 200px; height: 200px; right: -80px; top: -100px; border-radius: 50%; background: radial-gradient(circle, rgba(232,176,75,.5), transparent 68%); }
.dev-card .lbl { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); font-weight: 800; }
.dev-card .amt { font-family: var(--display); font-size: 1.85rem; font-weight: 600; letter-spacing: -.03em; margin-top: .3rem; }
.dev-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: .45rem; margin-top: .8rem; }
.dev-mini div { text-align: center; padding: .55rem .2rem; border-radius: 11px; background: rgba(255, 255, 255, .09); font-size: .58rem; font-weight: 800; color: rgba(255, 255, 255, .85); }
.dev-mini svg { width: 15px; height: 15px; margin: 0 auto .25rem; display: block; stroke-width: 2; }
.dev-list { margin-top: .9rem; display: flex; flex-direction: column; gap: .1rem; }
.dev-row { display: flex; align-items: center; gap: .6rem; padding: .55rem .2rem; border-bottom: 1px solid var(--line-soft); font-size: .78rem; }
.dev-row:last-child { border-bottom: 0; }
.dev-row .ico { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--mint-100); color: var(--pine-600); font-size: .6rem; font-weight: 800; }
.dev-row .nm { font-weight: 700; color: var(--ink); }
.dev-row .sm { font-size: .66rem; color: var(--faint); }
.dev-row .val { margin-left: auto; font-weight: 750; font-variant-numeric: tabular-nums; }
.dev-row .val.pos { color: var(--ok); }

.float-chip {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: .65rem .85rem; box-shadow: var(--shadow); display: flex; align-items: center; gap: .6rem;
  font-size: .76rem; font-weight: 700;
}
.float-chip .fc-ico { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; }
.float-chip.one { left: -1.6rem; bottom: -1.5rem; }
.float-chip.two { right: -1.2rem; top: 2.2rem; }
.float-chip small { display: block; font-size: .64rem; color: var(--faint); font-weight: 700; }

.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; padding: 1.5rem 0; }
.strip .inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.strip .statline { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.strip .statline div b { font-family: var(--display); font-size: 1.5rem; letter-spacing: -.02em; }
.strip .statline div span { display: block; font-size: .72rem; color: var(--faint); font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }

.section { padding: 5rem 0; }
.section.tight { padding: 3.6rem 0; }
.section-head { max-width: 660px; margin-bottom: 2.6rem; }
.section-head .kicker { font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--coral-600); margin-bottom: .7rem; display: block; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); letter-spacing: -.03em; margin-bottom: .8rem; }
.section-head p { color: #55655e; font-size: 1rem; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.dark { background: linear-gradient(170deg, var(--pine-800), var(--pine-900) 60%, #04160f); color: #fff; }
.section.dark .section-head h2 { color: #fff; }
.section.dark .section-head p { color: rgba(255, 255, 255, .68); }
.section.dark .section-head .kicker { color: var(--mint); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem 1.45rem;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d8cfbc; }
.feature .fi { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--mint-100); color: var(--pine-600); margin-bottom: 1rem; }
.feature .fi svg { width: 20px; height: 20px; stroke-width: 1.8; }
.feature h3 { font-size: 1rem; margin-bottom: .4rem; }
.feature p { font-size: .875rem; color: var(--muted); margin: 0; line-height: 1.6; }
.feature.coral .fi { background: var(--coral-100); color: var(--coral-600); }
.feature.sol .fi { background: var(--sol-100); color: #9a6f14; }

.pay-rails { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.pay-rail {
  border-radius: 20px; padding: 1.6rem 1.5rem; border: 1px solid var(--line); background: #fff; position: relative; overflow: hidden;
}
.pay-rail .pr-logo {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-weight: 800;
  font-size: .8rem; margin-bottom: 1rem;
}
.pay-rail.cash .pr-logo { background: #dcf7e5; color: #0f7a3d; }
.pay-rail.zelle .pr-logo { background: #e6e9ff; color: #4841b5; }
.pay-rail.paypal .pr-logo { background: #e4effb; color: #14559e; }
.pay-rail h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.pay-rail p { font-size: .87rem; color: var(--muted); margin-bottom: .9rem; }
.pay-rail .pr-meta { display: flex; justify-content: space-between; font-size: .74rem; font-weight: 750; color: var(--faint); border-top: 1px dashed var(--line); padding-top: .75rem; }
.pay-rail .pr-meta b { color: var(--pine-700); }

.split-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-direction: column; gap: .85rem; }
.check-list li { display: flex; gap: .7rem; font-size: .92rem; color: #47564f; align-items: flex-start; }
.check-list svg { width: 19px; height: 19px; flex: 0 0 19px; margin-top: 2px; color: var(--ok); }
.panel-visual {
  background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 1.4rem; box-shadow: var(--shadow);
}
.panel-visual .pv-row { display: flex; align-items: center; justify-content: space-between; padding: .7rem 0; border-bottom: 1px solid var(--line-soft); font-size: .84rem; }
.panel-visual .pv-row:last-child { border-bottom: 0; }
.panel-visual .pv-row .pv-k { display: flex; align-items: center; gap: .6rem; font-weight: 700; }
.panel-visual .pv-row .pv-k i { width: 26px; height: 26px; border-radius: 8px; background: var(--mint-100); display: grid; place-items: center; }
.panel-visual .pv-row span { color: var(--faint); font-weight: 700; }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; align-items: stretch; }
.tier {
  background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.8rem 1.6rem;
  display: flex; flex-direction: column;
}
.tier.featured { border-color: var(--pine-600); box-shadow: 0 30px 60px -40px rgba(6, 32, 26, .6); position: relative; }
.tier.featured .tier-flag { position: absolute; top: -12px; left: 1.6rem; background: var(--coral); color: #fff; font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .28rem .65rem; border-radius: 999px; }
.tier h3 { font-family: var(--display); font-size: 1.3rem; margin-bottom: .2rem; }
.tier .tier-sub { font-size: .8rem; color: var(--faint); margin-bottom: 1.1rem; }
.tier .price { font-family: var(--display); font-size: 2.1rem; letter-spacing: -.03em; margin-bottom: .2rem; }
.tier .price small { font-family: var(--sans); font-size: .74rem; color: var(--faint); font-weight: 700; letter-spacing: 0; }
.tier ul { list-style: none; padding: 0; margin: 1.2rem 0 1.5rem; display: flex; flex-direction: column; gap: .6rem; font-size: .85rem; }
.tier ul li { display: flex; gap: .55rem; color: #47564f; align-items: flex-start; }
.tier ul li svg { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 3px; color: var(--ok); }
.tier .btn { margin-top: auto; }

.faq { display: flex; flex-direction: column; gap: .65rem; max-width: 820px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 0 1.2rem; }
.faq details[open] { border-color: #cfc6b4; box-shadow: var(--shadow-xs); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 0; font-weight: 700; font-size: .95rem;
  display: flex; justify-content: space-between; gap: 1rem; align-items: center; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.2rem; color: var(--pine-600); font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq .faq-body { padding: 0 0 1.15rem; font-size: .9rem; color: var(--muted); line-height: 1.68; }

.cta-band { padding: 4.2rem 0; }
.cta-card {
  position: relative; overflow: hidden; border-radius: 28px; padding: 3rem;
  background: linear-gradient(135deg, var(--pine-700), var(--pine-900) 70%); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.cta-card::before {
  content: ""; position: absolute; width: 460px; height: 460px; right: -120px; top: -220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 176, 75, .5), transparent 66%);
}
.cta-card > * { position: relative; z-index: 2; }
.cta-card h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); color: #fff; margin-bottom: .5rem; }
.cta-card p { color: rgba(255, 255, 255, .74); margin: 0; max-width: 46ch; }

.site-foot { background: var(--pine-900); color: rgba(255, 255, 255, .66); padding: 3.4rem 0 1.6rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.foot-grid h4 { color: #fff; font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .9rem; font-weight: 800; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .55rem; font-size: .85rem; }
.foot-grid a { color: rgba(255, 255, 255, .66); }
.foot-grid a:hover { color: #fff; }
.foot-brand p { font-size: .85rem; line-height: 1.65; max-width: 34ch; margin-top: .9rem; }
.foot-bottom {
  margin-top: 2.6rem; padding-top: 1.3rem; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .76rem; color: rgba(255, 255, 255, .45);
}

@media (max-width: 1080px) {
  .features, .pay-rails, .tiers { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero .site-wrap { grid-template-columns: 1fr; gap: 2.6rem; }
  .split-feature { grid-template-columns: 1fr; gap: 2rem; }
  .site-links, .site-cta .btn-ghost { display: none; }
  .nav-toggle { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
  .site-menu {
    display: none; position: fixed; inset: 0; z-index: 80; background: var(--pine-900); color: #fff;
    padding: 1.4rem 1.5rem; flex-direction: column; gap: .4rem;
  }
  .site-menu.open { display: flex; }
  .site-menu a { color: #fff; font-size: 1.15rem; font-weight: 700; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
}
@media (max-width: 680px) {
  .features, .pay-rails, .tiers { grid-template-columns: 1fr; }
  .hero { padding: 2.6rem 0 3.4rem; }
  .section { padding: 3.2rem 0; }
  .cta-card { padding: 2rem 1.4rem; }
  .float-chip { display: none; }
  .device { transform: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 1.8rem; }
  .strip .statline { gap: 1.4rem; }
}

/* print & motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
