:root {
  --ink: #101614;
  --pine: #103f31;
  --teal: #267865;
  --brass: #bd9554;
  --clay: #b85c45;
  --paper: #f7f5ef;
  --mist: #edf3ee;
  --stone: #d9d3c5;
  --white: #ffffff;
  --muted: #65736d;
  --line: rgba(16, 22, 20, 0.14);
  --shadow: 0 20px 58px rgba(12, 24, 20, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

body.app-body {
  background: #eef2ef;
}

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

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

button {
  cursor: pointer;
}

svg {
  display: block;
}

.container {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 74px;
  padding: 12px max(20px, calc((100vw - 1180px) / 2));
  color: var(--white);
  background: rgba(9, 18, 15, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled,
.site-header.solid {
  background: rgba(16, 22, 20, 0.96);
}

.brand,
.header-actions,
.hero-actions,
.portal-actions,
.admin-actions,
.card-topline,
.metric-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand {
  min-width: max-content;
  font-weight: 800;
}

.brand-logo {
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: linear-gradient(135deg, #ffffff, var(--brass));
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 7px;
  font-size: 0.74rem;
}

.brand-text {
  font-size: 1rem;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.82);
  border-radius: 6px;
  font-size: 0.94rem;
  transition: background 160ms ease, color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
}

.primary-button,
.secondary-button,
.ghost-button,
.text-button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 7px;
  border: 0;
  font-weight: 780;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.primary-button svg,
.secondary-button svg,
.ghost-button svg,
.text-button svg,
.icon-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  flex: 0 0 auto;
}

.primary-button {
  min-width: max-content;
  padding: 0 16px;
  color: var(--ink);
  background: var(--brass);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.primary-button:hover,
.primary-button:focus-visible {
  transform: translateY(-1px);
  background: #d4ad68;
}

.secondary-button {
  padding: 0 15px;
  color: var(--pine);
  background: #dcebe3;
  border: 1px solid rgba(15, 63, 49, 0.2);
}

.secondary-button:hover,
.secondary-button:focus-visible {
  background: #cce2d6;
}

.ghost-button {
  padding: 0 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.ghost-button:hover,
.ghost-button:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.text-button {
  padding: 0 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.text-button:hover,
.text-button:focus-visible {
  background: rgba(255, 255, 255, 0.17);
}

.text-button.light {
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
}

.text-button.light:hover,
.text-button.light:focus-visible {
  background: var(--stone);
}

.icon-button {
  width: 44px;
  height: 44px;
  color: inherit;
  background: rgba(255, 255, 255, 0.1);
}

.icon-button:hover,
.icon-button:focus-visible {
  background: rgba(255, 255, 255, 0.2);
}

.nav-toggle {
  display: none;
}

.large {
  min-height: 52px;
  padding-inline: 20px;
}

.full {
  width: 100%;
}

.hero {
  position: relative;
  min-height: clamp(620px, 88svh, 840px);
  padding: 124px 0 96px;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/pch-hero.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 12, 10, 0.94) 0%, rgba(8, 19, 15, 0.84) 40%, rgba(8, 19, 15, 0.16) 72%),
    linear-gradient(0deg, rgba(4, 9, 8, 0.7), rgba(4, 9, 8, 0.04) 58%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 42px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 820;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.1rem, 8svh, 6.3rem);
  line-height: 0.96;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 5svh, 3.9rem);
  line-height: 1.03;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.2;
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.12rem;
}

.hero-panel,
.feature-card,
.service-card,
.product-copy,
.rate-board,
.auth-card,
.dashboard-card,
.account-result,
.admin-panel,
.contact-card,
.stat-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-panel {
  align-self: end;
  padding: 22px;
  color: var(--white);
  background: rgba(11, 25, 21, 0.76);
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
}

.panel-topline,
.metric-row {
  justify-content: space-between;
}

.panel-topline {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.78);
}

.balance-label,
.small-label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-panel .balance-label {
  color: rgba(255, 255, 255, 0.62);
}

.balance {
  display: block;
  margin-bottom: 22px;
  font-size: 2.35rem;
  line-height: 1;
}

.balance-chart {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 8px;
  height: 116px;
  padding: 14px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.balance-chart span {
  display: block;
  min-height: 18px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #d7b36d, #2d7a67);
}

.quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.quick-actions span {
  display: grid;
  place-items: center;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.1);
}

.service-rail {
  position: relative;
  z-index: 2;
  margin-top: -48px;
  padding-bottom: 36px;
}

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

.rail-grid a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 96px;
  padding: 18px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(11, 24, 20, 0.14);
  font-weight: 780;
}

.rail-grid svg,
.feature-card svg,
.service-card svg {
  width: 28px;
  height: 28px;
  color: var(--teal);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
  flex: 0 0 auto;
}

.section {
  padding: 86px 0;
}

.page-hero {
  padding: 140px 0 66px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(16, 22, 20, 0.94), rgba(16, 63, 49, 0.9)),
    url("assets/pch-hero.png") center / cover;
}

.page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.split-grid,
.services-grid,
.contact-grid,
.auth-layout,
.dashboard-grid,
.admin-data-grid {
  display: grid;
  align-items: start;
  gap: 24px;
}

.split-grid {
  grid-template-columns: minmax(240px, 0.82fr) minmax(0, 1.2fr);
  gap: 46px;
}

.split-grid > div:first-child p,
.section-lede {
  color: var(--muted);
  font-size: 1.03rem;
}

.feature-grid,
.services-grid,
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.services-grid.three,
.stats-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.service-card,
.stat-card {
  min-height: 210px;
  padding: 22px;
}

.feature-card p,
.service-card p,
.stat-card p {
  color: var(--muted);
}

.product-band,
.auth-band {
  background: #eef3ec;
}

.winners-section {
  background: #fbfaf6;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: end;
  gap: 30px;
  margin-bottom: 24px;
}

.section-heading .eyebrow {
  align-self: start;
}

.product-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 18px;
  align-items: stretch;
}

.product-copy,
.rate-board {
  min-height: 330px;
  padding: 28px;
}

.product-copy {
  color: var(--white);
  background: linear-gradient(135deg, var(--pine), #19211f);
}

.product-copy p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
}

.rate-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rate-board div {
  display: grid;
  align-content: end;
  min-height: 132px;
  padding: 18px;
  border-radius: 7px;
  background: var(--paper);
}

.rate-board span,
.metric-card span,
.stat-card span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 720;
}

.rate-board strong,
.metric-card strong,
.stat-card strong {
  display: block;
  font-size: 1.75rem;
}

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

.winner-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 42px rgba(12, 24, 20, 0.1);
}

.winner-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.winner-card div {
  padding: 20px;
}

.winner-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.winner-card h3 {
  margin-bottom: 8px;
  font-size: 1.22rem;
}

.winner-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer {
  padding: 44px 0;
  background: #0b0f0d;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px 180px;
  gap: 34px;
}

.footer-brand {
  color: var(--white);
  margin-bottom: 14px;
}

.site-footer h3 {
  color: var(--white);
  font-size: 0.95rem;
}

.site-footer a {
  display: block;
  margin-top: 8px;
}

.auth-layout {
  grid-template-columns: minmax(0, 0.75fr) minmax(360px, 1fr);
  align-items: start;
}

.signup-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  align-items: start;
  gap: 24px;
}

.auth-card {
  padding: 28px;
}

.auth-card.wide {
  max-width: 980px;
  margin: 0 auto;
}

.signup-layout .auth-card.wide {
  max-width: none;
  margin: 0;
}

.signup-login-card {
  position: sticky;
  top: 96px;
}

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

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

.form-head h2,
.form-head h3 {
  margin-bottom: 0;
}

.form-badge,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 780;
}

.form-badge {
  color: var(--pine);
  background: #dcebe3;
}

.form-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.form-steps span {
  display: grid;
  place-items: center;
  min-height: 36px;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 780;
}

.form-steps .is-current {
  color: var(--white);
  background: var(--pine);
  border-color: var(--pine);
}

.form-section {
  display: grid;
  gap: 16px;
  padding: 20px;
  margin: 0 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.form-section legend {
  padding: 0 8px;
  color: var(--pine);
  font-weight: 820;
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 720;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: none;
}

textarea {
  min-height: 104px;
  padding-block: 12px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(45, 122, 103, 0.16);
}

.check-field {
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 14px;
  margin-bottom: 10px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 0.86rem;
}

.check-field input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--pine);
}

.form-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--pine);
  font-size: 0.92rem;
  font-weight: 740;
}

.form-status.error {
  color: #8a301d;
}

.account-result {
  display: grid;
  gap: 14px;
  padding: 18px;
  margin-top: 18px;
  background: #f7fbf8;
  box-shadow: none;
}

.account-result[hidden] {
  display: none;
}

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

.credential-grid div {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
}

.credential-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 740;
}

.credential-grid strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 1rem;
}

.portal-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 74px;
  padding: 12px max(20px, calc((100vw - 1220px) / 2));
  color: var(--white);
  background: #101614;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.portal-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.portal-nav a {
  padding: 10px 12px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.78);
}

.portal-nav a:hover,
.portal-nav a[aria-current="page"] {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.portal-main {
  padding: 34px 0 70px;
}

.dashboard-shell,
.admin-shell {
  display: grid;
  gap: 22px;
}

.dashboard-toolbar,
.admin-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.dashboard-toolbar h1,
.admin-toolbar h1 {
  margin: 0;
  font-size: clamp(2rem, 5svh, 3.3rem);
}

.bank-dashboard .dashboard-toolbar {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.bank-dashboard .dashboard-toolbar h1 {
  font-size: clamp(1.8rem, 4svh, 2.7rem);
  line-height: 1.05;
}

.dashboard-subtitle {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
}

.bank-dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: 22px;
}

.dashboard-main,
.dashboard-side-rail,
.dashboard-section {
  display: grid;
  gap: 18px;
}

.dashboard-side-rail {
  position: sticky;
  top: 96px;
}

.account-overview-panel,
.dashboard-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 36px rgba(12, 24, 20, 0.09);
}

.account-overview-panel {
  display: grid;
  gap: 20px;
  padding: 24px;
}

.account-panel-head,
.account-balance-line,
.section-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.account-panel-head h2,
.section-bar h2 {
  margin-bottom: 0;
  font-size: clamp(1.25rem, 3svh, 1.7rem);
  line-height: 1.12;
}

.account-panel-head p {
  margin: 6px 0 0;
  color: var(--muted);
}

.account-balance-line {
  align-items: stretch;
  padding: 20px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, #10241e, #155843 70%, #8d713d);
}

.account-balance-line div {
  display: grid;
  gap: 4px;
}

.account-balance-line span,
.crypto-total span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  font-weight: 740;
}

.account-balance-line strong {
  font-size: clamp(1.7rem, 4svh, 2.45rem);
  line-height: 1;
}

.account-detail-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.account-detail-list div {
  min-width: 0;
  padding: 13px 0 0;
  border-top: 1px solid var(--line);
}

.account-detail-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 780;
  text-transform: uppercase;
}

.account-detail-list dd {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 820;
}

.quick-action-bar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.quick-action-bar a {
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 10px;
  color: var(--pine);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: 0 8px 22px rgba(12, 24, 20, 0.08);
  font-size: 0.88rem;
  font-weight: 820;
  text-align: center;
}

.quick-action-bar a:hover,
.quick-action-bar a:focus-visible {
  background: #dcebe3;
}

.dashboard-section {
  padding: 20px;
}

.section-bar {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.section-bar .eyebrow {
  margin-bottom: 4px;
}

.bank-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
}

.crypto-total {
  display: grid;
  gap: 3px;
  min-width: 220px;
  padding: 14px;
  color: var(--white);
  background: #101614;
  border-radius: 7px;
  text-align: right;
}

.crypto-total strong {
  font-size: 1.35rem;
}

.crypto-holdings {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.crypto-holdings article,
.crypto-holdings > div {
  min-height: 88px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
}

.crypto-holdings span,
.crypto-holdings small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 740;
}

.crypto-holdings strong {
  display: block;
  margin: 5px 0 2px;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.user-metrics,
.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.metric-card,
.admin-metrics div {
  min-height: 114px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 36px rgba(12, 24, 20, 0.1);
}

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

.dashboard-card {
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 0;
  padding: 20px;
}

.dashboard-card.wide {
  grid-column: span 2;
}

.dashboard-card.full-width,
.admin-panel {
  grid-column: 1 / -1;
}

.card-topline {
  justify-content: space-between;
}

.bank-card-preview {
  display: grid;
  align-content: space-between;
  min-height: 180px;
  padding: 20px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 42%),
    linear-gradient(135deg, #121816, #103f31 58%, #6e5735);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.bank-card-preview > span {
  justify-self: end;
  color: var(--brass);
  font-weight: 820;
}

.bank-card-preview strong {
  font-size: 1.12rem;
}

.bank-card-preview small {
  color: rgba(255, 255, 255, 0.72);
}

.account-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.account-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  background: var(--white);
}

.account-table.compact,
.compact-table .account-table {
  min-width: 620px;
}

.account-table th,
.account-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.account-table th {
  color: var(--muted);
  background: var(--paper);
  font-size: 0.78rem;
  text-transform: uppercase;
}

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

.account-table small,
.mini-ledger small {
  display: block;
  color: var(--muted);
}

.credit {
  color: #0d6b49;
  font-weight: 780;
}

.debit {
  color: #9c3e2a;
  font-weight: 780;
}

.status-pill.pending,
.status-pill.review,
.status-pill.open {
  color: #6d4d00;
  background: #fff1bf;
}

.status-pill.active,
.status-pill.approved,
.status-pill.posted {
  color: #0d4a34;
  background: #cfe8da;
}

.status-pill.frozen,
.status-pill.declined,
.status-pill.closed {
  color: #702817;
  background: #f7d2c9;
}

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

.table-actions button {
  min-height: 34px;
  padding: 0 10px;
  color: var(--pine);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 740;
}

.table-actions button:hover {
  background: #dcebe3;
}

.table-actions .danger {
  color: #8a301d;
}

.admin-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.admin-filter {
  display: grid;
}

.admin-service-grid,
.admin-data-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.admin-service-grid article,
.mini-ledger {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
}

.admin-service-grid p {
  margin: 0;
  color: var(--muted);
}

.mini-ledger {
  display: grid;
  gap: 10px;
  min-height: 120px;
  color: var(--muted);
}

.mini-ledger div {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.mini-ledger div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.mini-ledger strong {
  display: block;
  color: var(--ink);
}

.login-panel {
  max-width: 520px;
  margin: 0 auto;
}

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

.contact-card {
  display: grid;
  gap: 10px;
  padding: 24px;
}

.contact-card a {
  color: var(--pine);
  font-weight: 780;
}

.notice {
  padding: 16px;
  border: 1px solid rgba(189, 149, 84, 0.36);
  border-radius: var(--radius);
  background: #fff7e5;
  color: #5c451a;
}

.mobile-app-body {
  min-height: 100svh;
  background: #fafcfc;
  color: #071821;
}

.mobile-app-body.drawer-open {
  overflow: hidden;
}

.mobile-app-body svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.app-svg {
  display: block;
  width: 1em;
  height: 1em;
}

.mobile-topbar {
  position: sticky;
  top: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 92px;
  padding: 16px clamp(18px, 4vw, 36px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e2e8e5;
  backdrop-filter: blur(18px);
}

.mobile-wordmark,
.mobile-brand {
  justify-self: center;
  color: #17276c;
  font-size: 1.05rem;
  font-weight: 920;
  letter-spacing: 0;
}

.mobile-top-actions,
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.app-icon-button,
.icon-btn,
.menu-button,
.avatar-button,
.drawer-close {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #3e4946;
  background: transparent;
  border: 0;
  border-radius: 8px;
}

.menu-button {
  font-size: 1.82rem;
}

.app-icon-button svg,
.icon-btn svg,
.avatar-button svg,
.drawer-close svg {
  width: 30px;
  height: 30px;
}

.avatar-button {
  display: flex;
  gap: 4px;
  width: auto;
  min-width: 58px;
  padding-inline: 9px;
  color: #9aa3a0;
  background: #f6f8f7;
  border: 1px solid #e3e9e6;
  border-radius: 18px;
}

.avatar-button > .app-svg {
  width: 30px;
  height: 30px;
}

.avatar-button small .app-svg {
  width: 15px;
  height: 15px;
}

.mobile-shell {
  padding-bottom: 120px;
}

.mobile-dashboard {
  display: grid;
  gap: 30px;
  width: min(100% - 40px, 900px);
  margin: 0 auto;
  padding: 54px 0 130px;
}

.dashboard-locked {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-top: 54px;
  padding: clamp(24px, 5vw, 40px);
  background: var(--white);
  border: 1px solid #dfe7e3;
  border-radius: 18px;
  box-shadow: 0 16px 44px rgba(10, 28, 23, 0.08);
}

.dashboard-locked h1 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 5vw, 3.25rem);
}

.dashboard-locked p {
  margin: 0;
  color: #74837f;
}

.locked-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.primary-action,
.secondary-action,
.primary-mini,
.secondary-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 820;
  text-align: center;
}

.primary-action .app-svg,
.secondary-action .app-svg,
.primary-mini .app-svg,
.secondary-mini .app-svg {
  width: 20px;
  height: 20px;
}

.primary-action,
.primary-mini {
  color: var(--white);
  background: #238a59;
  box-shadow: 0 12px 24px rgba(35, 138, 89, 0.22);
}

.secondary-action,
.secondary-mini {
  color: #1d3d33;
  background: #e9efed;
  border-color: #cfdbd6;
}

.primary-action:hover,
.primary-action:focus-visible,
.primary-mini:hover,
.primary-mini:focus-visible {
  background: #176e46;
}

.secondary-action:hover,
.secondary-action:focus-visible,
.secondary-mini:hover,
.secondary-mini:focus-visible {
  background: #dfe8e4;
}

.feature-page {
  width: min(100% - 40px, 1120px);
}

.function-hero-card {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 5vw, 38px);
  color: var(--white);
  background:
    radial-gradient(circle at 92% 4%, rgba(255, 255, 255, 0.16), transparent 24%),
    linear-gradient(145deg, #1a7750, #08261a 88%);
  border-radius: 18px;
  box-shadow: 0 20px 48px rgba(10, 65, 39, 0.22);
}

.function-hero-card.crypto-hero {
  background:
    radial-gradient(circle at 88% 12%, rgba(247, 165, 30, 0.22), transparent 22%),
    linear-gradient(145deg, #123f36, #091713 88%);
}

.function-hero-card.zelle-hero {
  background:
    radial-gradient(circle at 88% 12%, rgba(112, 73, 255, 0.24), transparent 24%),
    linear-gradient(145deg, #185a4a, #0b2219 88%);
}

.function-hero-card.paypal-hero {
  background:
    radial-gradient(circle at 90% 10%, rgba(0, 156, 222, 0.28), transparent 26%),
    linear-gradient(145deg, #113e5d, #061b2b 88%);
}

.function-hero-card.skrill-hero {
  background:
    radial-gradient(circle at 90% 10%, rgba(178, 31, 112, 0.28), transparent 26%),
    linear-gradient(145deg, #5d1743, #180616 88%);
}

.function-hero-card.loan-hero,
.function-hero-card.support-hero,
.function-hero-card.card-hero,
.function-hero-card.activity-hero {
  background:
    radial-gradient(circle at 90% 10%, rgba(205, 171, 106, 0.24), transparent 24%),
    linear-gradient(145deg, #164f43, #071d15 88%);
}

.function-hero-card h1 {
  max-width: 780px;
  margin: 0;
  color: inherit;
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1.02;
}

.function-hero-card > p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
}

.function-hero-card .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.back-link {
  justify-self: start;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
  font-weight: 820;
}

.function-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.function-summary-grid article,
.summary-mini-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
}

.function-summary-grid article {
  background: rgba(255, 255, 255, 0.1);
}

.function-summary-grid span,
.summary-mini-card span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8rem;
  font-weight: 820;
  text-transform: uppercase;
}

.function-summary-grid strong {
  overflow-wrap: anywhere;
  font-size: clamp(1.05rem, 2.5vw, 1.45rem);
}

.page-form-grid,
.single-function-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.page-form-grid .app-form-card:first-child {
  grid-row: span 2;
}

.action-form-wide {
  min-height: 100%;
}

.summary-mini-card {
  align-content: start;
  background: var(--white);
  border-color: #dfe7e3;
  box-shadow: 0 6px 18px rgba(10, 28, 23, 0.08);
}

.summary-mini-card span {
  color: #738480;
}

.summary-mini-card strong {
  color: #071821;
  overflow-wrap: anywhere;
  font-size: 1.28rem;
}

.summary-mini-card p {
  margin: 0;
  color: #72817c;
}

.summary-mini-card a {
  color: #238a59;
  font-weight: 820;
}

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

.loan-service-grid article,
.loan-type-list article {
  border: 1px solid #dfe7e3;
  background: var(--white);
  box-shadow: 0 6px 18px rgba(10, 28, 23, 0.08);
}

.loan-service-grid article {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 16px;
}

.loan-service-grid span,
.loan-type-list > article > span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #238a59;
  background: #dff2e8;
  border-radius: 14px;
}

.loan-service-grid .app-svg,
.loan-type-list .app-svg {
  width: 30px;
  height: 30px;
}

.loan-service-grid strong,
.loan-type-list strong,
.loan-step-list strong {
  color: #071821;
  font-size: 1.2rem;
}

.loan-service-grid p,
.loan-step-list p {
  margin: 0;
  color: #7d8d88;
}

.loan-type-list,
.loan-step-list {
  display: grid;
  gap: 14px;
}

.loan-type-list article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 18px;
  border-radius: 16px;
}

.loan-type-list small {
  display: block;
  margin-top: 4px;
  color: #7d8d88;
}

.loan-step-list article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.loan-step-list article > span {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  color: #092316;
  background: linear-gradient(145deg, #2a965f, #0d6b42);
  border-radius: 50%;
  font-weight: 900;
}

.loan-step-list article:nth-child(2) > span {
  background: linear-gradient(145deg, #efd66c, #cda225);
}

.activity-table-card {
  overflow: hidden;
}

.activity-cards {
  display: none;
}

.welcome-block h1 {
  margin-bottom: 8px;
  color: #071821;
  font-size: clamp(2.25rem, 8vw, 4rem);
  line-height: 1.05;
}

.welcome-block p {
  margin: 0;
  color: #81908b;
  font-size: clamp(1.05rem, 4vw, 1.45rem);
}

.mobile-balance-card {
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 5% 52%, rgba(255, 255, 255, 0.08), transparent 28%),
    radial-gradient(circle at 96% 4%, rgba(255, 255, 255, 0.09), transparent 24%),
    linear-gradient(145deg, #197547, #092316 85%);
  border-radius: 18px;
  box-shadow: 0 24px 58px rgba(10, 65, 39, 0.28);
}

.balance-card-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  min-height: 230px;
  padding: clamp(24px, 6vw, 42px);
}

.balance-card-top span,
.crypto-mini-grid b {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.95rem, 3vw, 1.22rem);
  font-weight: 820;
  text-transform: uppercase;
}

.balance-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
}

.balance-row strong {
  font-size: clamp(2.5rem, 11vw, 4.2rem);
  line-height: 0.9;
}

.balance-row svg {
  width: 34px;
  height: 34px;
  color: rgba(255, 255, 255, 0.62);
}

.fund-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 142px;
  height: 76px;
  padding: 0 22px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  font-size: clamp(1.12rem, 4vw, 1.5rem);
  font-weight: 860;
}

.fund-chip span {
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  text-transform: none;
}

.crypto-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.16);
}

.crypto-mini-grid div {
  min-width: 0;
  padding: clamp(18px, 5vw, 30px);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.crypto-mini-grid div:last-child {
  border-right: 0;
}

.coin-dot,
.coin-large {
  display: inline-grid;
  place-items: center;
  color: var(--white);
  font-weight: 920;
  line-height: 1;
}

.coin-dot {
  width: 26px;
  height: 26px;
  margin-right: 7px;
  border-radius: 50%;
  font-size: 0.8rem;
}

.coin-large {
  width: 62px;
  height: 62px;
  margin: 0 auto 12px;
  border-radius: 50%;
  font-size: 1.3rem;
}

.btc {
  background: #f7a51e;
}

.eth {
  background: #6572b8;
}

.usdt {
  background: #10a99a;
}

.usdc {
  background: #2775ca;
}

.crypto-mini-grid strong {
  display: block;
  margin: 12px 0 4px;
  font-size: clamp(1.45rem, 5vw, 2.25rem);
  line-height: 1;
}

.crypto-mini-grid small {
  color: rgba(255, 255, 255, 0.58);
  font-size: clamp(0.86rem, 3vw, 1.05rem);
}

.mobile-section {
  display: grid;
  gap: 18px;
}

.mobile-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.mobile-section-heading h2 {
  margin: 0;
  color: #738480;
  font-size: clamp(1.2rem, 4.6vw, 1.65rem);
  line-height: 1.1;
  text-transform: uppercase;
}

.mobile-section-heading a,
.mobile-section-heading span {
  color: #2c915f;
  font-size: clamp(0.98rem, 3.5vw, 1.2rem);
  font-weight: 820;
}

.transfer-tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
}

.transfer-tile,
.crypto-transfer-card,
.app-form-card,
.card-empty-panel,
.transaction-item,
.empty-activity {
  border: 1px solid #dfe7e3;
  background: var(--white);
  box-shadow: 0 6px 18px rgba(10, 28, 23, 0.08);
}

.transfer-tile {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 180px;
  padding: 24px;
  border-radius: 14px;
}

.tile-icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  color: #10202a;
  background: #eef3f1;
  border: 1px solid #dfe7e3;
  border-radius: 16px;
}

.tile-icon .app-svg,
.brand-icon .app-svg,
.card-empty-icon .app-svg,
.profile-avatar .app-svg {
  width: 38px;
  height: 38px;
}

.tile-icon svg {
  width: 38px;
  height: 38px;
}

.tile-icon.bank {
  color: #12326f;
  background: #f2f6fb;
}

.tile-icon.local {
  color: #6d3df4;
  background: #f3edff;
}

.tile-icon.bill {
  color: #197547;
  background: #edf7f2;
}

.brand-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  overflow: hidden;
  border: 1px solid #dfe7e3;
  border-radius: 16px;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.62);
  font-weight: 920;
  letter-spacing: 0;
}

.brand-icon::before,
.brand-icon::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.brand-icon {
  isolation: isolate;
}

.brand-icon > *,
.brand-icon {
  z-index: 1;
}

.zelle-logo {
  color: #fff;
  background: linear-gradient(145deg, #7f44f2, #6125da);
  font-size: 2.2rem;
}

.zelle-logo::before,
.zelle-logo::after {
  top: 17px;
  bottom: 17px;
  width: 4px;
  background: currentColor;
  border-radius: 99px;
}

.zelle-logo::before {
  left: 18px;
}

.zelle-logo::after {
  right: 18px;
}

.paypal-logo {
  color: #003087;
  background: #f4fbff;
  font-size: 2.45rem;
  font-style: italic;
}

.paypal-logo::before {
  width: 29px;
  height: 43px;
  border-radius: 15px 15px 18px 18px;
  background: #009cde;
  transform: translate(8px, 6px) skew(-8deg);
  opacity: 0.86;
  z-index: 0;
}

.skrill-logo {
  color: #fff;
  background: #a91572;
  font-size: 1.22rem;
}

.brand-form-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-form-head h3 {
  margin: 0;
}

.brand-form-head .brand-icon {
  flex: 0 0 auto;
}

.bank-icon {
  color: #17276c;
}

.local-icon {
  color: #8038ee;
}

.zelle-icon {
  color: #6236ff;
}

.pch-icon {
  color: #197547;
}

.transfer-tile strong {
  color: #071821;
  font-size: clamp(1.2rem, 4.2vw, 1.65rem);
}

.transfer-tile small {
  color: #7d8d88;
  font-size: clamp(0.95rem, 3.3vw, 1.2rem);
}

.crypto-transfer-strip {
  display: flex;
  gap: 16px;
  margin-inline: -2px;
  padding: 2px 2px 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}

.crypto-transfer-card {
  display: grid;
  flex: 0 0 min(31%, 220px);
  min-width: 170px;
  min-height: 190px;
  padding: 22px 18px 18px;
  border-radius: 14px;
  text-align: center;
  scroll-snap-align: start;
}

.crypto-transfer-card strong {
  color: #071821;
  font-size: 1.15rem;
}

.crypto-transfer-card small,
.crypto-transfer-card em {
  color: #7d8d88;
  font-style: normal;
  font-size: 0.95rem;
}

.crypto-transfer-card em {
  align-self: end;
  justify-self: start;
  margin-top: 14px;
}

.action-panel-section,
.crypto-actions {
  padding-top: 4px;
}

.mobile-form-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.app-form-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px;
  border-radius: 14px;
}

.app-form-card h3 {
  margin-bottom: 2px;
  font-size: 1.18rem;
}

.card-empty-panel {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: clamp(34px, 8vw, 58px) 24px;
  border-radius: 14px;
  text-align: center;
}

.card-empty-icon {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  color: #738480;
  background: #e9efed;
  border-radius: 50%;
}

.card-empty-icon svg {
  width: 42px;
  height: 42px;
}

.card-empty-panel h2 {
  margin: 0;
  color: #071821;
  font-size: 1.55rem;
}

.card-empty-panel p {
  max-width: 500px;
  margin: 0;
  color: #7d8d88;
  font-size: 1.12rem;
}

.transaction-list {
  display: grid;
  gap: 12px;
}

.transaction-item,
.empty-activity {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 14px;
}

.empty-activity {
  display: block;
  color: #7d8d88;
  text-align: center;
}

.transaction-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #197547;
  background: #e4f4eb;
  border-radius: 13px;
  font-weight: 900;
}

.transaction-item strong,
.transaction-item small {
  display: block;
}

.transaction-item strong {
  overflow-wrap: anywhere;
}

.transaction-item small {
  color: #7d8d88;
}

.mobile-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 65;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  width: min(100%, 540px);
  min-height: 92px;
  padding: 12px 10px 10px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #e2e8e5;
  border-bottom: 0;
  box-shadow: 0 -10px 28px rgba(10, 28, 23, 0.1);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.mobile-bottom-nav a,
.mobile-bottom-nav button {
  display: grid;
  justify-items: center;
  gap: 5px;
  color: #687671;
  background: transparent;
  border: 0;
  font-size: 0.82rem;
  font-weight: 760;
}

.mobile-bottom-nav svg,
.mobile-bottom-nav button svg {
  width: 28px;
  height: 28px;
}

.mobile-bottom-nav .is-active {
  color: #198457;
}

.mobile-bottom-nav .center-tab {
  position: relative;
  color: #198457;
  font-weight: 850;
}

.mobile-bottom-nav .center-tab span {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-top: -42px;
  color: var(--white);
  background: linear-gradient(145deg, #2f9a68, #0c663f);
  border: 6px solid #eef7f1;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(21, 91, 59, 0.3);
}

.floating-support {
  position: fixed;
  right: max(18px, calc((100vw - 540px) / 2 + 18px));
  bottom: 112px;
  z-index: 64;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  color: var(--white);
  background: #7897a5;
  border-radius: 50%;
  box-shadow: 0 16px 32px rgba(45, 71, 83, 0.25);
}

.floating-support svg {
  width: 36px;
  height: 36px;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 88;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(5px);
}

.account-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 90;
  width: min(78vw, 390px);
  padding: 28px;
  overflow-y: auto;
  background: var(--white);
  border-right: 1px solid #dfe7e3;
  box-shadow: 30px 0 70px rgba(0, 0, 0, 0.22);
  transform: translateX(-105%);
  transition: transform 180ms ease;
}

.account-drawer.is-open {
  transform: translateX(0);
}

.drawer-profile {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 18px;
  align-items: start;
  padding: 10px 48px 28px 0;
  border-bottom: 1px solid #dfe7e3;
}

.drawer-profile .profile-avatar {
  grid-row: span 4;
}

.profile-avatar {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  color: #a3adaa;
  background: #f6f8f7;
  border: 1px solid #dfe7e3;
  border-radius: 50%;
}

.profile-avatar svg {
  width: 46px;
  height: 46px;
}

.drawer-close {
  position: absolute;
  top: 0;
  right: 0;
}

.drawer-profile h2 {
  margin: 4px 0 0;
  color: #071821;
  font-size: 1.25rem;
  line-height: 1.1;
}

.drawer-profile a {
  color: #4a5350;
  text-decoration: underline;
  overflow-wrap: anywhere;
}

.account-pill,
.drawer-account-number {
  justify-self: start;
  min-height: 34px;
  padding: 4px 13px;
  color: #4a5350;
  background: #e8eeee;
  border: 1px solid #cdd8d5;
  border-radius: 6px;
  font-size: 1rem;
}

.drawer-profile p {
  margin: 0;
  color: #7d8d88;
}

.drawer-balance {
  display: grid;
  gap: 12px;
  padding: 28px 0;
  border-bottom: 1px solid #dfe7e3;
}

.drawer-balance span,
.drawer-menu {
  color: #747f7b;
  font-weight: 820;
  text-transform: uppercase;
}

.drawer-balance strong {
  color: #071821;
  font-size: 2.3rem;
  line-height: 1;
}

.drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.drawer-menu {
  display: grid;
  gap: 20px;
  padding: 28px 0;
  text-transform: none;
}

.drawer-menu a,
.drawer-menu button {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 0;
  color: #414b48;
  background: transparent;
  border: 0;
  text-align: left;
  font-size: 1.22rem;
  font-weight: 760;
}

.drawer-menu > a > .app-svg,
.drawer-menu > button > .app-svg {
  width: 52px;
  height: 52px;
  padding: 13px;
  color: #071821;
  background: #edf2f0;
  border-radius: 12px;
}

.drawer-menu span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: #071821;
  background: #edf2f0;
  border-radius: 12px;
  font-weight: 900;
}

.drawer-menu span .app-svg {
  width: 28px;
  height: 28px;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.drawer-menu .brand-mini {
  color: #fff;
  font-size: 1.05rem;
}

.drawer-menu .zelle-mini {
  background: #6b38ee;
}

.drawer-menu .paypal-mini {
  color: #003087;
  background: #eef8ff;
  font-size: 1.35rem;
  font-style: italic;
}

.drawer-menu .skrill-mini {
  background: #a91572;
}

.enrollment-body {
  background:
    linear-gradient(180deg, #ffffff 0, #f7faf9 210px, #eef3f1 100%);
}

.enrollment-shell {
  padding-bottom: 70px;
}

.enrollment-dashboard {
  width: min(100% - 40px, 980px);
  padding-bottom: 70px;
}

.enrollment-form,
.enrollment-login {
  border-radius: 18px;
}

.enrollment-form {
  gap: 18px;
}

.enrollment-form .form-section {
  background: #fbfdfc;
}

.enrollment-login {
  max-width: 520px;
  margin: 0 auto;
}

[hidden] {
  display: none !important;
}

.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;
}

@media (max-width: 1040px) {
  .dashboard-locked,
  .page-form-grid,
  .single-function-grid,
  .loan-service-grid,
  .function-summary-grid {
    grid-template-columns: 1fr;
  }

  .page-form-grid .app-form-card:first-child {
    grid-row: auto;
  }

  .locked-actions {
    justify-content: flex-start;
  }

  .site-header,
  .portal-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav,
  .portal-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 20px;
    right: 20px;
    display: none;
    grid-template-columns: 1fr;
    padding: 10px;
    background: rgba(16, 22, 20, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
  }

  .site-header.is-open .site-nav,
  .portal-header.is-open .portal-nav {
    display: grid;
  }

  .header-actions .text-button,
  .header-actions .primary-button,
  .portal-actions .text-button {
    display: none;
  }

  .hero-grid,
  .split-grid,
  .product-shell,
  .winner-grid,
  .auth-layout,
  .signup-layout,
  .bank-dashboard-layout,
  .contact-grid,
  .section-heading,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-side-rail {
    position: static;
  }

  .hero-panel {
    display: none;
  }

  .rail-grid,
  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-grid.three,
  .stats-grid.three,
  .admin-service-grid,
  .admin-data-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .user-metrics,
  .admin-metrics,
  .account-detail-list,
  .crypto-holdings {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .dashboard-locked {
    align-items: stretch;
    margin-top: 32px;
    padding: 22px;
  }

  .locked-actions,
  .locked-actions .primary-action,
  .locked-actions .secondary-action {
    width: 100%;
  }

  .function-hero-card {
    border-radius: 16px;
  }

  .function-hero-card h1 {
    font-size: 2.25rem;
  }

  .function-summary-grid article,
  .summary-mini-card {
    padding: 16px;
  }

  .activity-cards {
    display: grid;
  }

  .activity-table-card {
    display: none;
  }

  .site-header,
  .portal-header {
    min-height: 66px;
    padding-inline: 14px;
  }

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

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: 84svh;
    padding: 100px 0 78px;
  }

  .hero-media {
    background-position: 62% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(4, 12, 10, 0.95), rgba(8, 19, 15, 0.78)),
      linear-gradient(0deg, rgba(4, 9, 8, 0.66), transparent 58%);
  }

  h1 {
    font-size: 3.1rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .hero-actions,
  .dashboard-toolbar,
  .admin-toolbar,
  .account-panel-head,
  .account-balance-line,
  .section-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .primary-button,
  .hero-actions .ghost-button {
    width: 100%;
  }

  .service-rail {
    margin-top: -34px;
  }

  .rail-grid,
  .feature-grid,
  .services-grid,
  .services-grid.three,
  .stats-grid,
  .stats-grid.three,
    .rate-board,
    .form-grid,
    .form-steps,
    .signup-layout,
    .credential-grid,
    .quick-action-bar,
    .bank-form-grid,
    .account-detail-list,
    .crypto-holdings,
    .dashboard-grid,
    .user-metrics,
    .admin-metrics,
  .admin-service-grid,
  .admin-data-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 0;
  }

  .page-hero {
    padding: 112px 0 56px;
  }

  .auth-card,
  .dashboard-card,
  .account-overview-panel,
  .dashboard-section,
  .admin-panel,
  .product-copy,
  .rate-board {
    padding: 20px;
  }

  .account-balance-line,
  .crypto-total {
    text-align: left;
  }

  .dashboard-card.wide {
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  .mobile-topbar {
    min-height: 84px;
    padding-inline: 18px;
  }

  .mobile-dashboard {
    width: min(100% - 28px, 540px);
    gap: 28px;
    padding-top: 42px;
  }

  .welcome-block h1 {
    font-size: 2.25rem;
  }

  .balance-card-top {
    min-height: 210px;
    padding: 24px;
  }

  .fund-chip {
    min-width: 116px;
    height: 58px;
    border-radius: 16px;
  }

  .crypto-mini-grid div {
    padding: 17px 14px;
  }

  .crypto-mini-grid strong {
    font-size: 1.35rem;
  }

  .transfer-tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .transfer-tile {
    min-height: 166px;
    padding: 18px;
  }

  .tile-icon {
    width: 60px;
    height: 60px;
  }

  .brand-icon {
    width: 60px;
    height: 60px;
  }

  .zelle-logo {
    font-size: 1.9rem;
  }

  .paypal-logo {
    font-size: 2.15rem;
  }

  .skrill-logo {
    font-size: 1.02rem;
  }

  .transfer-tile strong {
    font-size: 1.05rem;
  }

  .transfer-tile small {
    font-size: 0.92rem;
  }

  .crypto-transfer-card {
    flex-basis: 42%;
    min-width: 150px;
  }

  .mobile-form-stack {
    grid-template-columns: 1fr;
  }

  .card-empty-panel,
  .app-form-card {
    padding: 20px;
  }

  .transaction-item {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .transaction-item b {
    grid-column: 2;
    justify-self: start;
  }

  .account-drawer {
    width: min(78vw, 340px);
    padding: 26px 22px;
  }

  .drawer-profile {
    grid-template-columns: 1fr;
    padding-right: 42px;
  }

  .drawer-profile .profile-avatar {
    grid-row: auto;
    margin-bottom: 12px;
  }
}

@media (max-width: 430px) {
  .mobile-dashboard {
    width: min(100% - 28px, 402px);
  }

  .transfer-tile {
    min-height: 148px;
    padding: 14px;
  }

  .tile-icon,
  .brand-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
  }

  .transfer-tile strong {
    font-size: 0.98rem;
  }

  .transfer-tile small {
    font-size: 0.84rem;
  }

  .mobile-top-actions {
    gap: 8px;
  }

  .app-icon-button,
  .avatar-button {
    width: 40px;
    height: 40px;
  }

  .mobile-balance-card {
    border-radius: 16px;
  }

  .balance-card-top {
    min-height: 196px;
  }

  .balance-row strong {
    font-size: 2.6rem;
  }

  .crypto-mini-grid small {
    font-size: 0.78rem;
  }

  .transfer-tile strong {
    font-size: 1.18rem;
  }

  .mobile-bottom-nav {
    min-height: 86px;
  }

  .floating-support {
    width: 64px;
    height: 64px;
    bottom: 106px;
  }
}
