:root {
  --brand-navy: #0d3c47;
  --brand-teal: #0f7f7a;
  --brand-lime: #bfd400;
  --bg: #f3f7f5;
  --bg-strong: #edf5f2;
  --panel: #ffffff;
  --panel-strong: #ffffff;
  --panel-soft: #f4f9f8;
  --teal: var(--brand-teal);
  --teal-dark: var(--brand-navy);
  --teal-soft: rgba(15, 127, 122, 0.12);
  --line: #dde8e5;
  --muted: #6f7d7a;
  --text: #1c2b2b;
  --yellow: #efc770;
  --yellow-soft: #fdeec6;
  --green-soft: #ddf7ea;
  --green: #39b980;
  --shadow: 0 18px 28px rgba(24, 53, 57, 0.08);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  font-family: "Inter", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background:
    radial-gradient(circle at top left, rgba(15, 127, 122, 0.10), transparent 30%),
    linear-gradient(180deg, #f4faf8 0%, #edf3f1 100%);
}

button, input {
  font: inherit;
}

.page-shell {
  width: min(1320px, 100%);
}

.app-shell {
  display: flex;
  min-height: 900px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(27, 41, 48, 0.06);
  border-radius: 30px;
  box-shadow: 0 20px 30px rgba(24, 53, 57, 0.08);
  overflow: hidden;
  backdrop-filter: blur(6px);
}

.sidebar {
  width: 240px;
  background: rgba(255, 255, 255, 0.36);
  border-right: 1px solid rgba(32, 41, 50, 0.08);
  padding: 18px 12px 14px;
  display: flex;
  flex-direction: column;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px 18px;
  margin-bottom: 8px;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-teal));
  display: grid;
  place-items: center;
  box-shadow: 0 7px 15px rgba(8, 69, 77, 0.2);
}

.brand-mark svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: white;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-name {
  font-size: 1.06rem;
  font-weight: 800;
  line-height: 1;
}

.brand-sub {
  font-size: 0.68rem;
  color: #7a7d82;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}

.nav-section {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.nav-item {
  border: none;
  background: transparent;
  color: #4d5a63;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}

.nav-item:hover {
  background: rgba(24, 67, 72, 0.04);
}

.nav-item.active {
  background: linear-gradient(90deg, var(--teal-soft), rgba(15, 127, 122, 0.04));
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(15, 127, 122, 0.08);
}

.nav-item.active .nav-icon {
  color: var(--teal-dark);
}

.nav-item.small {
  font-size: 0.84rem;
  padding: 9px 10px;
}

.nav-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #5d6571;
}

.nav-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.group-label {
  color: #828894;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 10px 0;
}

.mini-stats {
  padding: 4px 6px 0;
}

.mini-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #4d5a63;
  font-size: 0.75rem;
  margin-bottom: 6px;
}

.mini-row strong {
  font-size: 0.72rem;
}

.mini-bar {
  width: 100%;
  height: 6px;
  background: rgba(30, 74, 80, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}

.mini-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-navy), var(--brand-teal));
}

.mini-bar.yellow span {
  background: linear-gradient(90deg, #e6b353, #f0cd8b);
}

.user-card {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 10px 6px;
  border-top: 1px solid rgba(40, 57, 64, 0.08);
}

.user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ebf1f3, #c9d8dc);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #294b56;
  font-size: 0.8rem;
}

.user-name {
  font-size: 0.76rem;
  font-weight: 700;
}

.user-email {
  font-size: 0.64rem;
  color: var(--muted);
}

.content {
  flex: 1;
  padding: 18px 18px 20px;
  background: rgba(244, 246, 245, 0.2);
}

.dashboard-content {
  padding-top: 18px;
}

body.dashboard-page {
  align-items: flex-start;
  padding-top: 50px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 2px 4px 10px;
}

.welcome-name {
  font-size: 1.08rem;
  font-weight: 700;
}

.welcome-sub {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 4px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 190px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(62, 76, 81, 0.06);
  border-radius: 12px;
  color: #8c939a;
  font-size: 0.82rem;
}

.search-box svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-button {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(62, 76, 81, 0.08);
  background: rgba(255, 255, 255, 0.75);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4d5a63;
}

.icon-button svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.primary-button {
  border: none;
  background: linear-gradient(135deg, var(--brand-teal), var(--brand-navy));
  color: #fff;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.83rem;
  padding: 10px 18px;
  box-shadow: 0 12px 18px rgba(13, 60, 71, 0.2);
  cursor: pointer;
}

.primary-button:hover,
.inline-action:hover,
.secondary-action:hover,
.small-action:hover,
.icon-button:hover,
.payee-action:hover,
.swap-btn:hover,
.modal-close:hover {
  transform: translateY(-1px);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.app-toast-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1002;
}

.app-toast {
  min-width: 220px;
  max-width: 320px;
  background: rgba(20, 32, 35, 0.92);
  color: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.8rem;
  box-shadow: 0 12px 28px rgba(15, 28, 30, 0.2);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.app-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.app-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
}

.app-modal.is-open {
  display: block;
}

.app-modal[hidden] {
  display: none;
}

.app-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 26, 28, 0.42);
}

.app-modal-panel {
  position: relative;
  width: min(460px, calc(100% - 24px));
  margin: 10vh auto 0;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(49, 62, 66, 0.08);
  border-radius: 22px;
  box-shadow: 0 26px 42px rgba(17, 26, 28, 0.22);
  padding: 20px 20px 18px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(49, 62, 66, 0.08);
  background: rgba(245, 247, 248, 0.9);
  border-radius: 10px;
  color: #4d5d61;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.modal-title {
  margin: 0 28px 14px 0;
  font-size: 1.2rem;
}

.modal-body {
  display: grid;
  gap: 12px;
}

.modal-body .field {
  gap: 7px;
}

.payee-currency-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.payee-currency-field legend {
  margin-bottom: 8px;
  font-size: 0.72rem;
  color: #66727a;
}

.payee-currency-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.payee-currency-option {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
}

.payee-currency-option:has(input:checked) {
  border-color: var(--teal);
  background: var(--teal-soft);
}

.payee-currency-option input {
  accent-color: var(--teal-dark);
  margin: 0;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.search-input {
  border: none;
  background: transparent;
  width: 100%;
  color: var(--text);
  outline: none;
  font-size: 0.83rem;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.summary-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(54, 67, 72, 0.08);
  border-radius: 16px;
  padding: 16px 18px 12px;
  min-height: 110px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
}

.summary-card.teal {
  background: linear-gradient(135deg, var(--brand-teal), var(--brand-navy));
  color: white;
  box-shadow: 0 18px 26px rgba(14, 104, 110, 0.22);
}

.card-label {
  font-size: 0.78rem;
  opacity: 0.82;
  margin-bottom: 12px;
}

.summary-card.teal .card-label {
  color: rgba(255, 255, 255, 0.8);
}

.card-value {
  font-size: clamp(1.8rem, 2.1vw, 2.2rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.card-trend {
  font-size: 0.72rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

.card-trend.down {
  color: rgba(255, 255, 255, 0.9);
}

.card-trend.up {
  color: #2f7d5d;
}

.summary-card:not(.teal) .card-trend.down {
  color: #e65d57;
}

.summary-card:not(.teal) .card-trend.up {
  color: #37a06d;
}

.trend-arrow {
  font-size: 0.7rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(240px, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.main-panel,
.side-panel,
.cards-panel,
.exchange-panel {
  background: rgba(255, 255, 255, 0.63);
  border: 1px solid rgba(49, 62, 66, 0.07);
  border-radius: 18px;
  padding: 16px 18px 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.34);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.panel-title-with-icon {
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel-filters {
  display: flex;
  gap: 8px;
}

.select-chip,
.month-select {
  border: 1px solid rgba(57, 67, 72, 0.07);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  padding: 7px 12px;
  font-size: 0.72rem;
  color: #5b646b;
}

.chart-wrap {
  position: relative;
  min-height: 270px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(234, 241, 243, 0.4), rgba(255, 255, 255, 0));
}

.budget-chart {
  width: 100%;
  height: 240px;
  display: block;
}

.grid-lines line {
  stroke: rgba(118, 138, 145, 0.18);
  stroke-width: 1;
}

.line {
  fill: none;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.line-income {
  stroke: var(--brand-teal);
}

.line-expense {
  stroke: #e7b45d;
}

.points circle {
  fill: #fff;
  stroke-width: 2;
}

.income-points circle {
  stroke: var(--brand-teal);
}

.expense-points circle {
  stroke: #e7b45d;
}

.labels-row {
  display: flex;
  justify-content: space-between;
  color: #9ca5ac;
  font-size: 0.7rem;
  padding: 0 10px 4px;
}

.chart-legend {
  display: flex;
  gap: 18px;
  padding-top: 2px;
  color: #4c5963;
  font-size: 0.76rem;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legend-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.legend-dot.teal {
  background: var(--teal);
}

.legend-dot.yellow {
  background: var(--yellow);
}

.compact-header {
  margin-bottom: 8px;
}

.donut-wrap {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.donut-chart {
  --size: 180px;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  position: relative;
  background: conic-gradient(
    var(--brand-teal) 0 50%,
    #ecb551 50% 76%,
    #dfe7eb 76% 100%
  );
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 12px rgba(255, 255, 255, 0.2);
}

.donut-chart::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
}

.donut-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.donut-total {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.spending-list {
  padding-top: 12px;
  display: grid;
  gap: 10px;
}

.spend-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #56636a;
  font-size: 0.8rem;
}

.spend-row strong {
  margin-left: auto;
  color: #2a343a;
  font-size: 0.75rem;
}

.pill {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.pill.teal {
  background: var(--brand-teal);
}

.pill.yellow {
  background: #e6b45b;
}

.pill.gray {
  background: #d5dfe5;
}

.weekly-limit {
  margin-top: 14px;
  text-align: center;
  color: #7f8790;
  font-size: 0.76rem;
}

.lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.95fr);
  gap: 16px;
}

.lower-header {
  margin-bottom: 14px;
}

.small-action {
  border: 1px solid rgba(67, 79, 83, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.8);
  color: #5d6b72;
  font-weight: 600;
  padding: 8px 12px;
  font-size: 0.76rem;
}

.account-card {
  background: linear-gradient(180deg, rgba(250, 250, 250, 0.8), rgba(247, 247, 247, 0.4));
  border: 1px solid rgba(61, 78, 82, 0.08);
  border-radius: 16px;
  padding: 14px 16px 12px;
}

.card-account-area {
  margin-top: 6px;
}

.card-topline {
  display: flex;
  gap: 14px;
  color: #69757d;
  font-size: 0.7rem;
  padding-bottom: 12px;
}

.card-topline span:last-child {
  opacity: 0.7;
}

.card-surface {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 120px;
  border-radius: 16px;
  background: linear-gradient(150deg, #0e7683, #0a5167 65%, #0f7a83 100%);
  padding: 18px 18px 16px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.mini-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.18);
  position: relative;
}

.mini-icon::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-top-color: transparent;
  transform: rotate(25deg);
}

.card-meta {
  margin-left: auto;
  text-align: right;
  color: rgba(255, 255, 255, 0.88);
}

.card-meta .label {
  font-size: 0.72rem;
  opacity: 0.8;
  margin-bottom: 8px;
}

.card-meta .amount {
  font-size: 1.1rem;
  font-weight: 700;
}

.card-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-top: 12px;
  color: #5d6971;
  font-size: 0.68rem;
}

.card-footer strong {
  display: block;
  margin-top: 4px;
  font-size: 0.74rem;
  color: #2d3339;
}

.card-actions-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.secondary-action {
  border: 1px solid rgba(51, 63, 68, 0.07);
  background: rgba(246, 247, 247, 0.8);
  color: #54636c;
  border-radius: 10px;
  padding: 9px 10px;
  font-size: 0.72rem;
  font-weight: 600;
}

.exchange-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.currency-box {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(52, 61, 66, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
}

.secondary-box {
  background: rgba(245, 247, 248, 0.75);
}

.currency-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #6f7a80;
  font-size: 0.74rem;
  margin-bottom: 8px;
}

.swap-btn {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(48, 58, 62, 0.08);
  border-radius: 50%;
  color: #4b5a61;
  background: rgba(255, 255, 255, 0.7);
}

.currency-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.currency-value {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.currency-code {
  color: #7f8a90;
  font-size: 0.72rem;
}

.exchange-table {
  display: grid;
  gap: 8px;
  padding-top: 6px;
  color: #5d6973;
  font-size: 0.74rem;
}

.exchange-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.exchange-row strong {
  color: #2d363c;
}

.total-row {
  padding-top: 8px;
  border-top: 1px solid rgba(40, 50, 56, 0.08);
  color: #2d363c;
  font-weight: 700;
}

.exchange-panel .primary-button {
  margin-top: auto;
  width: 100%;
  padding: 12px 14px;
}

@media (max-width: 1100px) {
  .app-shell {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(32, 41, 50, 0.08);
  }

  .content {
    padding-top: 12px;
  }

  .dashboard-content {
    padding-top: 12px;
  }
}

@media (max-width: 760px) {
  body.dashboard-page {
    padding-top: 22px;
  }

  .summary-grid,
  .dashboard-grid,
  .lower-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .header-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .search-box {
    flex: 1 1 100%;
  }
}

.page-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(49, 62, 66, 0.07);
  border-radius: 18px;
  padding: 18px 20px;
  margin-bottom: 16px;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2.1rem);
  letter-spacing: -0.04em;
}

.page-hero p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.inline-action {
  border: none;
  background: linear-gradient(135deg, var(--brand-teal), var(--brand-navy));
  color: #fff;
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.8rem;
  box-shadow: 0 10px 18px rgba(15, 103, 112, 0.2);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.section-card {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(49, 62, 66, 0.07);
  border-radius: 18px;
  padding: 18px;
}

.member-card-list,
.member-card-limits {
  display: grid;
  gap: 12px;
}

.member-card-record {
  display: grid;
  gap: 10px;
}

.member-card-surface {
  min-height: 132px;
}

.member-card-title {
  display: grid;
  gap: 6px;
  color: #fff;
}

.member-card-title span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
}

.member-card-details {
  display: grid;
  gap: 8px;
  margin: 0;
}

.member-card-details > div,
.member-card-limit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(49, 62, 66, 0.07);
  border-radius: 10px;
  background: rgba(245, 248, 249, 0.8);
}

.member-card-details dt,
.member-card-limit-row span {
  color: var(--muted);
  font-size: 0.72rem;
}

.member-card-details dd {
  margin: 0;
  color: #354448;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: right;
}

.member-card-limit-row > div {
  display: grid;
  gap: 4px;
}

.member-card-limit-row > strong {
  color: #263638;
  font-size: 0.9rem;
  white-space: nowrap;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.section-header h3 {
  margin: 0;
  font-size: 1rem;
}

.muted-chip {
  border: 1px solid rgba(49, 62, 66, 0.08);
  background: rgba(255,255,255,0.8);
  border-radius: 10px;
  color: #66757d;
  font-size: 0.72rem;
  padding: 6px 10px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.metric-inline {
  background: rgba(245, 248, 249, 0.8);
  border: 1px solid rgba(49, 62, 66, 0.06);
  border-radius: 14px;
  padding: 14px 16px;
}

.metric-inline .label {
  display: block;
  color: #79858d;
  font-size: 0.72rem;
  margin-bottom: 8px;
}

.metric-inline .value {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.metric-inline .trend {
  margin-top: 8px;
  font-size: 0.7rem;
  font-weight: 600;
}

.metric-inline .trend.up { color: #2a9a68; }
.metric-inline .trend.down { color: #d96b5b; }

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 160px;
  padding-top: 10px;
}

.chart-bars .bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  height: 100%;
}

.chart-bars .bar {
  width: 100%;
  max-width: 34px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(180deg, #79d2d4, #1e7f8f);
}

.chart-bars .bar.alt {
  background: linear-gradient(180deg, #f1d28d, #d7a54d);
}

.monthly-finance-bars .bar-col {
  min-width: 0;
  gap: 5px;
}

.monthly-finance-bars.chart-bars {
  position: static;
  inset: auto;
  justify-content: space-between;
  gap: clamp(2px, 1vw, 12px);
  min-height: 160px;
}

.monthly-finance-bars .bar-pair {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  width: 100%;
  height: calc(100% - 18px);
}

.monthly-finance-bars .bar-pair .bar {
  width: 42%;
  max-width: 9px;
  min-height: 0;
}

.monthly-finance-bars .bar-label {
  color: #76818a;
  font-size: clamp(0.52rem, 0.8vw, 0.62rem);
  line-height: 1;
  white-space: nowrap;
}

.chart-bars .bar-label {
  font-size: 0.7rem;
  color: #76818a;
}

.chart-legend-box {
  display: flex;
  gap: 18px;
  margin-top: 12px;
  font-size: 0.75rem;
  color: #546067;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 7px;
}

.dot.teal { background: #1d8193; }
.dot.yellow { background: #e7b45d; }

.list-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.list-card[hidden] {
  display: none;
}

.payee-form-error,
.account-setup-note.is-error {
  color: #8c3730;
  font-size: 0.76rem;
  line-height: 1.5;
}

.list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 10px;
  border-radius: 12px;
  background: rgba(247, 249, 250, 0.72);
}

.list-item strong {
  font-size: 0.78rem;
}

.list-item span {
  color: #69757b;
  font-size: 0.72rem;
}

.list-item .badge {
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 0.62rem;
  font-weight: 700;
}

.badge.green { background: rgba(52, 183, 127, 0.12); color: #278863; }
.badge.gray { background: rgba(109, 119, 126, 0.12); color: #4d5861; }
.badge.yellow { background: rgba(231, 180, 93, 0.14); color: #b67e1d; }

.payees-list, .statement-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payee-row, .statement-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(49, 62, 66, 0.07);
  border-radius: 14px;
  background: rgba(255,255,255,0.65);
}

.payee-main, .statement-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.payee-avatar, .statement-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.75rem;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-teal), var(--brand-navy));
}

.payee-meta strong, .statement-meta strong {
  display: block;
  font-size: 0.82rem;
}

.payee-meta span, .statement-meta span {
  color: #7a8389;
  font-size: 0.7rem;
}

.payee-action {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(49, 62, 66, 0.08);
  background: rgba(245,247,248,0.8);
  color: #48575d;
  font-size: 0.72rem;
  font-weight: 600;
}

.statement-amount {
  font-weight: 700;
  font-size: 0.86rem;
}

.statement-type {
  display: inline-block;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(27, 123, 130, 0.12);
  color: #0d6f76;
  font-size: 0.62rem;
  font-weight: 700;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field[hidden] {
  display: none;
}

.field label {
  font-size: 0.72rem;
  color: #66727a;
}

.field input, .field select, .field textarea {
  appearance: none;
  border: 1px solid rgba(50, 62, 68, 0.08);
  border-radius: 12px;
  background: rgba(255,255,255,0.8);
  padding: 12px 13px;
  font: inherit;
  color: var(--text);
  resize: vertical;
}

.inline-cta {
  margin-top: 14px;
  display: flex;
  justify-content: end;
}

@media (max-width: 900px) {
  .content-grid,
  .metric-row,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    flex-direction: column;
    align-items: flex-start;
  }
}

.admin-entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 4px 8px 8px;
  padding: 10px 11px;
  color: #526267;
  background: rgba(15, 127, 122, 0.07);
  border: 1px solid rgba(15, 127, 122, 0.12);
  border-radius: 11px;
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
}

.admin-entry:hover {
  color: var(--teal-dark);
  background: var(--teal-soft);
}

.admin-shell {
  min-height: 1000px;
}

.admin-sidebar {
  background: #fbfcfc;
}

.admin-sidebar-foot {
  margin-top: auto;
}

.admin-sidebar-foot .user-card {
  margin-top: 6px;
}

.admin-status {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 10px 5px;
  color: #72817d;
  font-size: 0.65rem;
}

.admin-status > span,
.banner-health > span {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #38b980;
  box-shadow: 0 0 0 3px rgba(56, 185, 128, 0.12);
}

.admin-avatar {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-teal), var(--brand-navy));
  font-size: 0.62rem;
}

.admin-nav-count {
  margin-left: auto;
  color: #6b7a7e;
  font-size: 0.66rem;
}

.admin-nav-count.alert-count {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 7px;
  color: #9c5e1c;
  background: #fff0d6;
}

.admin-content {
  flex: 1 1 0;
  min-width: 0;
  padding: 22px 24px;
  background: #f7f9f8;
}

.admin-topbar {
  margin-bottom: 18px;
}

.admin-topbar .welcome-name {
  font-size: 1.15rem;
}

.admin-topbar .welcome-sub {
  font-size: 0.76rem;
}

.admin-search {
  width: min(100%, 360px);
  min-width: 210px;
  padding: 0 12px;
}

.admin-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.78rem;
  padding: 10px 0;
}

.admin-search input::placeholder {
  color: #8c939a;
}

.admin-alerts,
.admin-content button {
  cursor: pointer;
}

.admin-welcome-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  padding: 20px 24px;
  overflow: hidden;
  border: 1px solid rgba(25, 122, 123, 0.1);
  border-radius: 18px;
  background:
    radial-gradient(circle at 85% 20%, rgba(108, 202, 190, 0.24), transparent 26%),
    linear-gradient(115deg, #eaf6f3, #f8fbfa 68%);
}

.admin-eyebrow {
  color: #6b8985;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.admin-welcome-banner h1 {
  margin: 7px 0 5px;
  color: #203839;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  letter-spacing: -0.04em;
}

.admin-welcome-banner h1 span {
  color: #d3a844;
  font-size: 0.8em;
}

.admin-welcome-banner p,
.admin-panel-heading p,
.reports-panel p {
  margin: 0;
  color: #758381;
  font-size: 0.72rem;
}

.banner-health {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 130px;
  padding: 10px 13px;
  border: 1px solid rgba(44, 119, 111, 0.09);
  border-radius: 13px;
  background: rgba(255,255,255,0.65);
}

.banner-health strong,
.banner-health small {
  display: block;
}

.banner-health strong {
  font-size: 0.92rem;
}

.banner-health small {
  margin-top: 3px;
  color: #73817e;
  font-size: 0.62rem;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.admin-finance-panel {
  margin-bottom: 14px;
}

.finance-heading {
  align-items: flex-start;
  flex-wrap: wrap;
}

.finance-heading > div:first-child {
  flex: 1 1 190px;
  min-width: 0;
}

.finance-actions {
  display: flex;
  flex: 1 1 560px;
  justify-content: flex-end;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  min-width: 0;
}

.finance-demo-notice {
  margin: -5px 0 12px;
  color: #8a7651;
  font-size: 0.61rem;
}

.primary-button.finance-add-transaction {
  padding: 8px 11px;
  border-radius: 9px;
  box-shadow: none;
  font-size: 0.65rem;
}

.finance-total-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.finance-total-grid article {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #edf1ef;
  border-radius: 12px;
  background: #fbfcfc;
}

.finance-total-grid article > span {
  color: #788582;
  font-size: 0.65rem;
}

.finance-total-grid article > strong {
  color: #263638;
  font-size: 1.22rem;
  letter-spacing: -0.035em;
}

.finance-total-grid article > small {
  color: #88938f;
  font-size: 0.58rem;
}

.ledger-heading {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0 7px;
  border-top: 1px solid #eff2f1;
}

.ledger-heading strong {
  color: #3b4a47;
  font-size: 0.68rem;
}

.ledger-heading span {
  color: #88938f;
  font-size: 0.59rem;
}

.ledger-filters {
  display: flex;
  align-items: end;
  gap: 9px;
  flex-wrap: wrap;
  padding: 2px 0 10px;
}

.ledger-filters label {
  display: grid;
  gap: 4px;
  color: #7a8784;
  font-size: 0.59rem;
}

.ledger-filters input {
  min-height: 31px;
  padding: 5px 8px;
  border: 1px solid #e6ecea;
  border-radius: 8px;
  background: #fff;
  color: #52615e;
  font: inherit;
  font-size: 0.63rem;
}

.ledger-delete-action {
  color: #b45054;
}

.ledger-delete-action:hover {
  background: #fff0ef;
}

.ledger-table {
  min-width: 820px;
}

.ledger-table td:nth-child(5),
.ledger-table td:nth-child(6) {
  font-weight: 600;
}

.finance-empty {
  padding: 16px 10px;
  color: #84908d;
  font-size: 0.66rem;
  text-align: center;
}

.finance-history-row .statement-meta strong {
  color: #334240;
}

.finance-history-row .statement-amount {
  white-space: nowrap;
}

.text-green {
  color: #278863;
}

.finance-history-row .statement-icon {
  font-size: 1.1rem;
}

.admin-metric-card,
.admin-panel {
  border: 1px solid rgba(49, 62, 66, 0.07);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(35, 54, 57, 0.025);
}

.admin-metric-card {
  position: relative;
  min-height: 132px;
  overflow: hidden;
  padding: 14px 15px 18px;
}

.admin-metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #6c7a79;
  font-size: 0.68rem;
}

.metric-icon,
.attention-symbol {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  font-size: 0.78rem;
  font-weight: 700;
}

.teal-icon { color: var(--brand-teal); background: var(--teal-soft); }
.blue-icon { color: var(--brand-teal); background: var(--teal-soft); }
.yellow-icon { color: #a36a18; background: #fff3da; }
.rose-icon { color: #ba5962; background: #fff0ef; }

.admin-metric-card > strong {
  display: block;
  margin: 10px 0 5px;
  color: #263638;
  font-size: 1.4rem;
  letter-spacing: -0.04em;
}

.admin-metric-card > small {
  position: relative;
  z-index: 1;
  font-size: 0.62rem;
  font-weight: 700;
}

.admin-metric-card > small span {
  color: #84908e;
  font-weight: 500;
}

.metric-positive { color: #27966a; }
.metric-attention { color: #ca7a32; }

.metric-spark {
  position: absolute;
  right: 12px;
  bottom: 0;
  display: flex;
  align-items: end;
  gap: 3px;
  width: 75px;
  height: 34px;
  opacity: 0.58;
}

.metric-spark i {
  flex: 1;
  height: 40%;
  border-radius: 3px 3px 0 0;
  background: currentColor;
}

.metric-spark i:nth-child(2) { height: 65%; }
.metric-spark i:nth-child(3) { height: 50%; }
.metric-spark i:nth-child(4) { height: 78%; }
.metric-spark i:nth-child(5) { height: 62%; }
.metric-spark i:nth-child(6) { height: 88%; }
.metric-spark i:nth-child(7) { height: 72%; }
.metric-spark i:nth-child(8) { height: 100%; }
.spark-teal { color: var(--brand-teal); }
.spark-blue { color: var(--brand-teal); }
.spark-yellow { color: #e3b454; }
.spark-rose { color: #d88a8c; }

.admin-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(250px, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}

.admin-panel {
  min-width: 0;
  max-width: 100%;
  padding: 16px 18px;
}

.admin-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.admin-panel-heading h2,
.reports-panel h2 {
  margin: 0 0 4px;
  font-size: 0.9rem;
  letter-spacing: -0.02em;
}

.admin-panel-heading p {
  font-size: 0.66rem;
}

.support-inbox-panel {
  margin-bottom: 16px;
}

.support-inbox-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.support-nav-unread,
.support-conversation-unread {
  display: inline-flex;
  min-width: 20px;
  min-height: 20px;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border-radius: 10px;
  background: #d84c45;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
}

.support-nav-unread[hidden],
.support-conversation-unread[hidden] {
  display: none;
}

.support-conversation-unread {
  justify-self: start;
  background: #e8f5f0;
  color: #116a58;
}

.support-inbox-layout {
  display: grid;
  min-height: 390px;
  grid-template-columns: minmax(210px, 0.75fr) minmax(0, 1.6fr);
  overflow: hidden;
  border: 1px solid #e5ece9;
  border-radius: 6px;
}

.support-inbox-list {
  max-height: 480px;
  overflow-y: auto;
  border-right: 1px solid #e5ece9;
  background: #fbfcfc;
}

.support-inbox-thread-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 12px;
  border-bottom: 1px solid #e5ece9;
  background: #fff;
}

.support-inbox-thread-heading .support-inbox-identity {
  flex: 1;
  border-bottom: 0;
}

.support-chat-delete-button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #e8caca;
  border-radius: 6px;
  background: #fff5f5;
  color: #a33a3a;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
}

.support-chat-delete-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.support-conversation-row {
  position: relative;
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid #edf1ef;
}

.support-conversation-row .support-conversation-option {
  min-width: 0;
  flex: 1;
  padding-right: 44px;
}

.support-conversation-delete {
  position: absolute;
  top: 50%;
  right: 10px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: #9d7777;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity 140ms ease, background 140ms ease, border-color 140ms ease;
}

.support-conversation-row:hover .support-conversation-delete,
.support-conversation-delete:focus-visible {
  opacity: 1;
}

.support-conversation-delete:hover {
  border-color: #eccaca;
  background: #fff1f1;
  color: #a52e2e;
}

.support-conversation-option {
  display: grid;
  width: 100%;
  gap: 5px;
  padding: 13px 12px;
  border: 0;
  border-bottom: 1px solid #e7eeeb;
  background: transparent;
  color: #30433e;
  text-align: left;
  cursor: pointer;
}

.support-conversation-option:hover,
.support-conversation-option.is-selected {
  background: #eaf5f1;
}

.support-conversation-option strong {
  overflow-wrap: anywhere;
  font-size: 0.75rem;
}

.support-conversation-option small,
.support-conversation-option time {
  color: #77847f;
  font-size: 0.65rem;
}

.support-inbox-thread {
  display: grid;
  min-width: 0;
  grid-template-rows: auto minmax(170px, 1fr) auto;
}

.support-inbox-identity {
  padding: 12px 14px;
  border-bottom: 1px solid #e5ece9;
  color: #52635f;
  font-size: 0.72rem;
  overflow-wrap: anywhere;
}

.support-inbox-messages {
  display: flex;
  min-height: 170px;
  max-height: 430px;
  flex-direction: column;
  gap: 9px;
  overflow-y: auto;
  padding: 14px;
  background: #f7f9f8;
}

.support-inbox-message {
  display: grid;
  max-width: 88%;
  gap: 5px;
  align-self: flex-start;
  padding: 9px 11px;
  border: 1px solid #e0e9e5;
  border-radius: 5px;
  background: #fff;
}

.support-inbox-message.is-admin {
  align-self: flex-end;
  border-color: #b7ddd2;
  background: #e9f5f0;
}

.support-inbox-message strong {
  color: #36534a;
  font-size: 0.66rem;
}

.support-inbox-message p {
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  color: #3e4d49;
  font-size: 0.74rem;
  line-height: 1.45;
}

.support-inbox-message time {
  color: #7d8985;
  font-size: 0.6rem;
}

.support-inbox-reply {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 9px;
  padding: 10px;
  border-top: 1px solid #e5ece9;
}

.support-inbox-reply textarea {
  width: 100%;
  min-height: 40px;
  max-height: 110px;
  padding: 9px 10px;
  border: 1px solid #d6e0dc;
  border-radius: 5px;
  resize: vertical;
  font: inherit;
  font-size: 0.72rem;
}

.admin-select {
  border: 1px solid #e6ecea;
  border-radius: 9px;
  padding: 8px 10px;
  background: #fff;
  color: #546361;
  font: inherit;
  font-size: 0.65rem;
}

.activity-summary {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.activity-summary strong {
  font-size: 1.28rem;
  letter-spacing: -0.04em;
}

.activity-summary span {
  color: #85918f;
  font-size: 0.63rem;
}

.activity-summary em {
  margin-left: auto;
  color: #29956b;
  font-size: 0.65rem;
  font-style: normal;
  font-weight: 700;
}

.activity-chart {
  position: relative;
  height: 114px;
  margin-top: 8px;
}

.chart-grid {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.chart-grid i {
  border-top: 1px dashed #edf1ef;
}

.activity-chart .chart-bars {
  position: absolute;
  inset: 2px 3% 0;
  display: flex;
  align-items: end;
  justify-content: space-around;
  gap: 10px;
}

.activity-chart .chart-bars span {
  width: min(32px, 9%);
  min-height: 5px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #58bdb0, #8bd1c4);
}

.activity-chart .chart-bars span:nth-child(6) {
  background: linear-gradient(180deg, #188f8d, #55b8ac);
}

.chart-days {
  display: flex;
  justify-content: space-around;
  padding: 5px 2% 0;
  color: #8c9794;
  font-size: 0.58rem;
}

.attention-total,
.queue-label {
  padding: 5px 8px;
  border-radius: 8px;
  color: #9a671e;
  background: #fff3dc;
  font-size: 0.65rem;
  font-weight: 700;
}

.attention-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 0;
  text-align: left;
  border: 0;
  border-top: 1px solid #eff2f1;
  background: transparent;
  color: inherit;
}

.attention-item > span:nth-child(2) {
  display: grid;
  gap: 4px;
  flex: 1;
}

.attention-item strong {
  font-size: 0.68rem;
}

.attention-item small {
  color: #85918f;
  font-size: 0.59rem;
}

.attention-item > b {
  color: #97a19f;
  font-size: 1.15rem;
}

.attention-link {
  display: flex;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid #eff2f1;
  color: var(--brand-teal);
  font-size: 0.64rem;
  font-weight: 600;
  text-decoration: none;
}

.members-panel {
  margin-bottom: 14px;
  padding-bottom: 8px;
}

.member-heading {
  margin-bottom: 12px;
}

.member-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.secondary-action.admin-export {
  min-height: 32px;
  padding: 7px 10px;
  border: 1px solid #e3eae8;
  border-radius: 9px;
  background: #fff;
  color: #435452;
  font-size: 0.65rem;
  font-weight: 600;
}

.admin-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  text-align: left;
}

.members-table {
  min-width: 980px;
}

.member-account-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px;
  min-width: 0;
}

.member-account-actions .table-action {
  white-space: nowrap;
}

.member-actions-cell {
  min-width: 285px;
}

.finance-actions {
  min-width: 0;
  max-width: 100%;
}

.finance-actions > * {
  max-width: 100%;
}

.account-number-cell {
  color: #334240 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 600;
  letter-spacing: 0.035em;
}

.admin-table th {
  padding: 9px 10px;
  border-bottom: 1px solid #edf1f0;
  color: #85918e;
  font-size: 0.58rem;
  font-weight: 600;
  white-space: nowrap;
}

.admin-table td {
  padding: 10px;
  border-bottom: 1px solid #f0f3f2;
  color: #687674;
  font-size: 0.62rem;
  white-space: nowrap;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.member-identity {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 195px;
}

.member-identity > span:last-child {
  display: grid;
  gap: 4px;
}

.member-identity strong {
  color: #334240;
  font-size: 0.65rem;
}

.member-identity small {
  color: #899491;
  font-size: 0.57rem;
}

.table-avatar,
.support-avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 10px;
  font-size: 0.57rem;
  font-weight: 700;
}

.avatar-lilac { color: #705ca4; background: #eee9fb; }
.avatar-mint { color: #36826c; background: #e2f4ec; }
.avatar-peach { color: #b46c42; background: #fff0e4; }
.avatar-sky { color: #4a77a7; background: #e5f0fb; }
.avatar-rose { color: #a45e73; background: #f9e9ef; }

.status-pill {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 7px;
  font-size: 0.57rem;
  font-weight: 600;
}

.status-active { color: #26815d; background: #e7f6ee; }
.status-pending { color: #a66c1d; background: #fff4df; }
.status-suspended { color: #ae5357; background: #fdeced; }

.table-action {
  padding: 5px 8px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--brand-teal);
  font: inherit;
  font-size: 0.61rem;
  font-weight: 700;
}

.table-action:hover {
  background: #edf8f5;
}

.table-action:disabled {
  color: #87918f;
  cursor: default;
}

.table-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid #eff2f1;
  color: #87918f;
  font-size: 0.6rem;
}

.empty-members {
  padding: 24px;
  color: #788582;
  font-size: 0.72rem;
  text-align: center;
}

.support-panel {
  margin-bottom: 14px;
}

.support-list {
  display: grid;
}

.support-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid #eff2f1;
}

.support-copy {
  display: grid;
  flex: 1;
  gap: 4px;
}

.support-copy strong {
  color: #394644;
  font-size: 0.67rem;
}

.support-copy small {
  color: #87918f;
  font-size: 0.59rem;
}

.priority-high { color: #ba5b5e; font-weight: 700; }
.priority-normal { color: #778783; }
.case-resolved { opacity: 0.55; }

.reports-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.admin-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 3px 8px;
  color: #85918e;
  font-size: 0.58rem;
}

.admin-detail-intro {
  margin: 0;
  color: #667471;
  font-size: 0.78rem;
}

.admin-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.admin-detail-grid > div {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid #e9efed;
  border-radius: 11px;
  background: #f8fbfa;
}

.admin-detail-grid small,
.admin-detail-grid strong {
  font-size: 0.68rem;
}

.admin-detail-grid small {
  color: #81908c;
}

.admin-detail-note {
  margin: 0;
  color: #8a9693;
  font-size: 0.65rem;
  line-height: 1.5;
}

.status-text-active { color: #26815d; }
.status-text-pending { color: #a66c1d; }
.status-text-suspended { color: #ae5357; }

.admin-modal-form .field input:read-only {
  color: #687674;
}

.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;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1100px) {
  .admin-sidebar-foot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4px;
  }

  .admin-sidebar-foot .user-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1440px) {
  .member-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .member-tools,
  .member-tools .admin-search {
    width: 100%;
    min-width: 0;
  }

  .admin-topbar {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .admin-topbar .header-actions {
    max-width: 100%;
    flex-wrap: wrap;
  }

  .finance-actions > .admin-select {
    flex: 1 1 240px;
    min-width: 0;
  }

  .members-table {
    min-width: 0;
  }

  .members-table thead {
    display: none;
  }

  .members-table,
  .members-table tbody {
    display: block;
    width: 100%;
  }

  .members-table tbody {
    display: grid;
    gap: 10px;
  }

  .members-table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 14px;
    padding: 8px 12px;
    border: 1px solid #e8eeec;
    border-radius: 12px;
    background: #fff;
  }

  .members-table tbody td {
    display: grid;
    align-content: start;
    gap: 4px;
    min-width: 0;
    padding: 9px 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .members-table tbody td::before {
    color: #85918e;
    content: attr(data-label);
    font-size: 0.56rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    text-transform: uppercase;
  }

  .members-table .member-actions-cell {
    grid-column: 1 / -1;
    border-top: 1px solid #eff2f1;
  }

  .ledger-table {
    min-width: 0;
  }

  .ledger-table thead {
    display: none;
  }

  .ledger-table,
  .ledger-table tbody {
    display: block;
    width: 100%;
  }

  .ledger-table tbody {
    display: grid;
    gap: 9px;
  }

  .ledger-table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 14px;
    padding: 7px 12px;
    border: 1px solid #e8eeec;
    border-radius: 11px;
    background: #fff;
  }

  .ledger-table tbody td {
    display: grid;
    align-content: start;
    gap: 4px;
    min-width: 0;
    padding: 8px 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .ledger-table tbody td::before {
    color: #85918e;
    content: attr(data-label);
    font-size: 0.56rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    text-transform: uppercase;
  }

  .ledger-table .ledger-actions-cell {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    border-top: 1px solid #eff2f1;
  }

  .ledger-table .ledger-actions-cell::before {
    flex: 0 0 100%;
  }

  .ledger-table .ledger-actions-cell .table-action {
    min-height: 36px;
    padding: 7px 12px;
    border: 1px solid #e5eeeb;
    background: #f9fcfb;
    font-size: 0.68rem;
  }

  .members-table .member-account-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    min-width: 0;
    gap: 7px;
  }

  .members-table .member-account-actions .table-action {
    min-width: 0;
    min-height: 38px;
    padding: 8px 7px;
    border: 1px solid #e5eeeb;
    background: #f9fcfb;
    font-size: 0.7rem;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .members-table .member-identity {
    min-width: 0;
  }

  .members-table tbody td:nth-child(2) {
    word-break: break-all;
  }

  .members-table tbody td.account-number-cell {
    overflow-wrap: anywhere;
  }

  .member-actions-cell {
    min-width: 0;
  }
}

@media (max-width: 1200px) {
  .admin-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-overview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .admin-content {
    padding: 14px 12px;
  }

  .members-table tbody tr {
    grid-template-columns: minmax(0, 1fr);
  }

  .ledger-table tbody tr {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-welcome-banner,
  .reports-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-topbar .header-actions {
    gap: 8px;
    flex-wrap: wrap;
  }

  .admin-search {
    flex: 1 1 100%;
    order: 1;
  }

  .member-tools,
  .member-tools .admin-search {
    width: 100%;
    min-width: 0;
  }

  .admin-topbar .header-actions > button {
    flex: 1 1 140px;
    min-height: 40px;
  }

  .admin-metrics {
    gap: 8px;
  }

  .admin-metric-card {
    min-height: 122px;
    padding: 12px;
  }

  .admin-panel {
    padding: 13px 12px;
  }

  .support-inbox-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .support-inbox-list {
    max-height: 220px;
    border-right: 0;
    border-bottom: 1px solid #e5ece9;
  }

  .member-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .member-tools {
    width: 100%;
    flex-wrap: wrap;
  }

  .finance-heading {
    flex-direction: column;
    align-items: stretch;
  }

  .finance-actions {
    justify-content: stretch;
    width: 100%;
  }

  .finance-actions > * {
    flex: 1 1 145px;
    min-height: 38px;
  }

  .finance-total-grid {
    grid-template-columns: 1fr;
  }

  .finance-total-grid article {
    grid-template-columns: 1fr auto;
  }

  .finance-total-grid article > small {
    grid-column: 1 / -1;
  }

  .ledger-heading {
    flex-direction: column;
  }

  .ledger-filters {
    align-items: stretch;
  }

  .ledger-filters label {
    flex: 1 1 125px;
  }

  .admin-footer {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .members-table .member-account-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}

.auth-pending > .page-shell {
  visibility: hidden;
}

.auth-blocking {
  width: min(520px, calc(100% - 32px));
  margin: 12vh auto;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}

.auth-blocking h1 {
  margin: 0 0 10px;
}

.auth-blocking p {
  color: var(--muted);
  line-height: 1.6;
}

.auth-blocking a,
.auth-back-link {
  color: var(--teal-dark);
  font-weight: 700;
  text-decoration: none;
}

.empty-account-state {
  padding: 18px;
  border: 1px dashed #d6e3df;
  border-radius: 12px;
  background: #f8fbfa;
  color: #72817c;
  font-size: 0.76rem;
  line-height: 1.6;
}

.account-setup-note {
  margin: 10px 0 0;
  color: #81908b;
  font-size: 0.68rem;
  line-height: 1.5;
}

.account-details-card {
  margin-bottom: 16px;
}

.account-details-card .section-header {
  margin-bottom: 14px;
}

.account-details-card .section-header h3 {
  margin: 0;
}

.member-account-select {
  max-width: min(100%, 300px);
}

.account-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.account-detail-grid > .account-detail-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 7px;
  min-width: 0;
  min-height: 76px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-soft);
}

.account-detail-item > span {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
}

.account-detail-item > strong {
  display: block;
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}

.account-number-control {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-width: 0;
}

.account-number-control strong {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.account-number-control .secondary-action {
  padding: 6px 10px;
  cursor: pointer;
}

@media (max-width: 960px) {
  .account-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .account-detail-grid {
    grid-template-columns: 1fr;
  }
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.auth-signout {
  white-space: nowrap;
}

.auth-layout {
  width: min(460px, 100%);
  margin: 28px auto;
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px 6px;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 800;
  text-decoration: none;
}

/* Official Aventra document center */
.document-center-grid{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(340px,1.2fr);gap:24px;align-items:start}.document-form-card,.document-preview-card{border:1px solid var(--border-color,#d8e0e8);border-radius:16px;padding:22px;background:#fff}.document-form-card{display:grid;gap:16px}.document-form-card select,.document-form-card input,.document-form-card textarea{width:100%;box-sizing:border-box}.document-form-card textarea{resize:vertical}.document-preview-card{background:#eef3f2}.document-preview-label{display:block;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#66736f;margin-bottom:12px}.branded-document-preview{position:relative;overflow:hidden;aspect-ratio:1/1.414;max-width:520px;margin:auto;background:#fff;border:1px solid #d7dedc;box-shadow:0 18px 48px rgba(24,58,49,.14)}.branded-document-preview:before{content:"";position:absolute;inset:0;border-top:12px solid #153f38;border-bottom:8px solid #b6d5c8}.document-preview-header{position:absolute;top:34px;left:38px;right:38px;display:flex;justify-content:space-between;border-bottom:2px solid #153f38;padding-bottom:10px;color:#153f38}.document-preview-header div{display:grid}.document-preview-header strong{font-size:20px;letter-spacing:.14em}.document-preview-header span{font-size:7px;letter-spacing:.28em}.document-preview-header small{font-size:8px;font-weight:800;letter-spacing:.12em}.document-preview-watermark{position:absolute;top:48%;left:50%;transform:translate(-50%,-50%) rotate(-32deg);font-size:74px;font-weight:800;color:rgba(21,63,56,.055);white-space:nowrap}.document-preview-body{position:absolute;top:155px;left:38px;right:38px;color:#263b36}.document-preview-body strong{font-size:18px;text-transform:uppercase}.document-preview-body p{font-size:11px;line-height:1.6}.document-preview-footer{position:absolute;left:38px;right:38px;bottom:30px;border-top:1px solid #d7dedc;padding-top:8px;font-size:7px;font-weight:800;letter-spacing:.12em;color:#587069}@media(max-width:900px){.document-center-grid{grid-template-columns:1fr}}

.auth-card {
  padding: clamp(24px, 6vw, 42px);
  border: 1px solid rgba(27, 41, 48, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.auth-eyebrow {
  color: var(--teal-dark);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.auth-card h1 {
  margin: 12px 0 8px;
  font-size: clamp(1.8rem, 6vw, 2.25rem);
  letter-spacing: -0.05em;
}

.auth-intro,
.auth-footnote {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.auth-card form {
  display: grid;
  gap: 17px;
  margin: 26px 0 18px;
}

.auth-field {
  display: grid;
  gap: 8px;
  color: #344542;
  font-size: 0.78rem;
  font-weight: 700;
}

.auth-field input {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid #dce7e3;
  border-radius: 11px;
  outline: none;
  background: #fbfdfc;
}

.auth-field input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-soft);
}

.auth-submit {
  width: 100%;
  min-height: 48px;
  justify-content: center;
  margin-top: 3px;
}

.auth-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.auth-message {
  margin-top: 18px;
  padding: 11px 12px;
  border: 1px solid #b8e3d2;
  border-radius: 10px;
  background: #edfbf5;
  color: #246548;
  font-size: 0.78rem;
  line-height: 1.5;
}

.auth-message.is-error {
  border-color: #efc2be;
  background: #fff2f0;
  color: #8c3730;
}

.auth-footnote {
  margin: 0 0 18px;
  font-size: 0.72rem;
}

.auth-back-link {
  font-size: 0.76rem;
}

.auth-security-note {
  margin: 18px 0 0;
  color: #758581;
  font-size: 0.7rem;
  text-align: center;
}

.landing-body {
  display: block;
  padding: 0;
  background:
    radial-gradient(circle at 79% 23%, rgba(15, 127, 122, 0.13), transparent 29%),
    linear-gradient(180deg, #f8fcfa, #eef5f2);
}

.landing-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.landing-nav {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(29, 62, 57, 0.09);
}

.landing-nav .auth-brand {
  margin: 0;
}

.landing-nav nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 4vw, 36px);
}

.landing-nav nav a {
  color: #53635f;
  font-size: 0.8rem;
  font-weight: 650;
  text-decoration: none;
}

.landing-nav nav .landing-signin {
  padding: 11px 18px;
  border: 1px solid #d6e4df;
  border-radius: 10px;
  background: #fff;
  color: var(--teal-dark);
}

.landing-hero {
  min-height: 555px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  align-items: center;
  gap: clamp(36px, 8vw, 100px);
  padding: 64px 0 74px;
}

.landing-copy h1 {
  max-width: 650px;
  margin: 16px 0;
  color: #163532;
  font-size: clamp(2.5rem, 6vw, 4.7rem);
  letter-spacing: -0.065em;
  line-height: 1.04;
}

.landing-copy > p {
  max-width: 550px;
  margin: 0 0 28px;
  color: #687a75;
  font-size: 1rem;
  line-height: 1.75;
}

.landing-cta {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  text-decoration: none;
}

.landing-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  color: #647570;
  font-size: 0.69rem;
}

.landing-trust span {
  color: var(--teal-dark);
  font-weight: 800;
}

.landing-preview {
  padding: 22px;
  border: 1px solid rgba(25, 63, 58, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 30px 70px rgba(29, 70, 65, 0.13);
  transform: rotate(1deg);
}

.preview-top {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-bottom: 19px;
  border-bottom: 1px solid #edf2f0;
}

.preview-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d3e2dc;
}

.preview-label {
  margin-left: auto;
  color: #8b9b96;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.preview-greeting {
  margin-top: 23px;
  color: #2a3d39;
  font-size: 0.96rem;
  font-weight: 750;
}

.preview-balance-label {
  margin-top: 25px;
  color: #879691;
  font-size: 0.57rem;
  font-weight: 750;
  letter-spacing: 0.1em;
}

.preview-balance {
  margin-top: 5px;
  color: #163d39;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.preview-divider {
  height: 1px;
  margin: 22px 0;
  background: #edf2f0;
}

.preview-activity-title {
  display: flex;
  justify-content: space-between;
  color: #2d403c;
  font-size: 0.74rem;
  font-weight: 750;
}

.preview-activity-title span {
  color: var(--teal-dark);
  font-size: 0.64rem;
}

.preview-activity {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-top: 18px;
}

.preview-activity-icon,
.feature-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #e4f6f1;
  color: var(--teal-dark);
  font-weight: 800;
}

.preview-yellow,
.feature-icon-gold {
  background: #fff4d6;
  color: #997322;
}

.preview-activity > span:nth-child(2) {
  display: grid;
  gap: 4px;
  flex: 1;
}

.preview-activity strong {
  color: #354641;
  font-size: 0.67rem;
}

.preview-activity small {
  color: #879590;
  font-size: 0.56rem;
}

.preview-activity b {
  color: #92a19c;
  font-size: 0.66rem;
}

.landing-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 28px 0 52px;
  border-top: 1px solid rgba(29, 62, 57, 0.09);
}

.landing-features > div {
  padding: 18px 18px 14px;
}

.landing-features h2 {
  margin: 15px 0 7px;
  color: #233d38;
  font-size: 0.9rem;
}

.landing-features p {
  max-width: 300px;
  margin: 0;
  color: #768580;
  font-size: 0.74rem;
  line-height: 1.65;
}

.landing-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0 26px;
  border-top: 1px solid rgba(29, 62, 57, 0.09);
  color: #81908b;
  font-size: 0.64rem;
}

@media (max-width: 800px) {
  .landing-hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 62px 0 48px;
  }

  .landing-preview {
    width: min(540px, 100%);
    margin: 0 auto;
  }

  .landing-features {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .landing-features > div {
    padding: 12px 4px;
  }
}

.landing-shell {
  width: 100%;
}

.landing-topline {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 5px max(24px, calc((100% - 1240px) / 2));
  background: #0a3f56;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.61rem;
  letter-spacing: 0.025em;
}

.landing-topline span:first-child {
  font-weight: 700;
}

.landing-nav {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: 82px;
  justify-content: initial;
  gap: 36px;
  padding: 0 max(24px, calc((100% - 1240px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: #0b6480;
  box-shadow: 0 7px 22px rgba(11, 48, 61, 0.11);
}

.landing-nav .auth-brand {
  flex: 0 0 auto;
  color: #fff;
}

.landing-nav nav {
  flex: 1 1 auto;
  justify-content: center;
  gap: clamp(20px, 3.2vw, 46px);
}

.landing-nav nav a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.79rem;
  font-weight: 600;
}

.landing-nav nav a:hover {
  color: #fff;
}

.landing-nav-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: stretch;
  align-self: stretch;
  gap: 17px;
}

.landing-login-link,
.landing-menu-toggle {
  display: flex;
  min-width: 58px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  padding: 8px 5px;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.12;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.landing-menu-toggle {
  display: none;
}

.landing-login-link svg,
.landing-menu-toggle svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.landing-menu-toggle:hover,
.landing-login-link:hover {
  color: #d3f0e2;
}

.landing-mobile-menu {
  position: sticky;
  z-index: 19;
  top: 82px;
  display: grid;
  gap: 3px;
  padding: 10px max(24px, calc((100% - 1240px) / 2)) 14px;
  border-bottom: 1px solid #dfe9e4;
  background: #fff;
  box-shadow: 0 12px 22px rgba(26, 54, 46, 0.12);
}

.landing-mobile-menu[hidden] {
  display: none;
}

.landing-mobile-menu a {
  padding: 11px 8px;
  border-radius: 7px;
  color: #33534b;
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
}

.landing-mobile-menu a:hover {
  background: #eff7f3;
}

.landing-hero,
.landing-intro,
.landing-features,
.landing-bottom-cta,
.landing-footer {
  width: min(1240px, calc(100% - 64px));
  margin-right: auto;
  margin-left: auto;
}

.landing-hero {
  min-height: 610px;
  padding-top: 66px;
}

.landing-visual {
  min-height: 470px;
}

.landing-hero-image {
  position: relative;
  z-index: 0;
  display: block;
  width: min(100%, 560px);
  max-height: 470px;
  object-fit: contain;
  filter: drop-shadow(0 22px 28px rgba(24, 66, 56, 0.12));
}

.landing-visual::before {
  width: min(90%, 450px);
  opacity: 0.72;
}

.visual-orbit {
  width: min(94%, 490px);
}

.orbit-two {
  width: min(100%, 530px);
}

.landing-intro {
  padding-top: 45px;
}

.landing-footer {
  width: min(1240px, calc(100% - 64px));
}

@media (min-width: 1440px) {
  .landing-hero {
    min-height: 670px;
  }
}

@media (max-width: 800px) {
  .landing-topline {
    min-height: 26px;
    justify-content: center;
    font-size: 0.56rem;
  }

  .landing-topline span:last-child {
    display: none;
  }

  .landing-nav {
    min-height: 72px;
    gap: 14px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .landing-nav .auth-brand {
    font-size: 1.04rem;
  }

  .landing-nav .brand-mark {
    width: 34px;
    height: 34px;
  }

  .landing-nav > nav {
    display: none;
  }

  .landing-nav-actions {
    gap: 8px;
    margin-left: auto;
  }

  .landing-login-link,
  .landing-menu-toggle {
    min-width: 50px;
    font-size: 0.62rem;
  }

  .landing-menu-toggle {
    display: flex;
  }

  .landing-mobile-menu {
    top: 72px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .landing-hero,
  .landing-intro,
  .landing-features,
  .landing-bottom-cta,
  .landing-footer {
    width: min(100% - 36px, 640px);
  }

  .landing-hero {
    padding-top: 46px;
  }

  .landing-visual {
    min-height: 0;
    width: 100%;
    padding: 6px 0 8px;
  }

  .landing-hero-image {
    width: min(100%, 510px);
    max-height: none;
  }

  .landing-visual::before {
    width: 88%;
  }

  .visual-orbit {
    width: 92%;
  }

  .orbit-two {
    width: 98%;
  }
}

@media (max-width: 520px) {
  .landing-hero,
  .landing-intro,
  .landing-features,
  .landing-bottom-cta,
  .landing-footer {
    width: calc(100% - 36px);
  }

  .landing-hero {
    gap: 12px;
    padding-top: 40px;
  }

  .landing-visual {
    margin-top: 8px;
  }

  .landing-bottom-cta {
    width: calc(100% - 36px);
  }
}

@media (max-width: 520px) {
  .landing-shell {
    width: min(100% - 32px, 1180px);
  }

  .landing-nav {
    min-height: 76px;
  }

  .landing-nav nav {
    gap: 14px;
  }

  .landing-nav nav a {
    font-size: 0.7rem;
  }

  .landing-nav nav a[href="#security"] {
    display: none;
  }

  .landing-copy h1 {
    font-size: 2.75rem;
  }

  .landing-footer {
    flex-direction: column;
  }

}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.landing-body {
  min-height: 100vh;
  padding: 0;
  display: block;
  overflow-x: clip;
  background:
    radial-gradient(ellipse at 86% 16%, rgba(86, 197, 167, 0.13), transparent 28%),
    #f5f8f6;
  color: #173330;
  font-family: "DM Sans", "Segoe UI", sans-serif;
}

.landing-shell {
  width: 100%;
  margin: 0;
}

.landing-nav {
  min-height: 86px;
  border-bottom-color: #e4ebe7;
}

.landing-nav .auth-brand {
  gap: 11px;
  font-family: "Manrope", sans-serif;
  font-size: 1.18rem;
  letter-spacing: -0.045em;
}

.landing-nav .brand-mark,
.footer-brand .brand-mark,
.preview-brand .brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  padding: 0;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
}

.landing-nav nav {
  gap: clamp(20px, 3.5vw, 42px);
}

.landing-nav nav a {
  color: #516863;
  font-size: 0.83rem;
  font-weight: 600;
}

.landing-nav nav a:hover,
.landing-text-link:hover {
  color: #128774;
}

.landing-nav nav .landing-signin {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 12px 17px;
  border-color: #153f3b;
  border-radius: 9px;
  background: #153f3b;
  color: #fff;
  transition: background 160ms ease, transform 160ms ease;
}

.landing-nav nav .landing-signin:hover {
  background: #0e6253;
  color: #fff;
  transform: translateY(-1px);
}

.landing-hero {
  position: relative;
  min-height: 610px;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 7vw, 90px);
  padding: 72px 0 80px;
}

.landing-copy {
  position: relative;
  z-index: 1;
}

.landing-hero .landing-kicker,
.landing-hero .landing-section-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #287c68;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.105em;
  text-transform: uppercase;
}

.landing-kicker > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #56c5a7;
  box-shadow: 0 0 0 4px rgba(86, 197, 167, 0.15);
}

.landing-copy h1 {
  margin: 22px 0 18px;
  color: #153a36;
  font-family: "Manrope", sans-serif;
  font-size: clamp(3.2rem, 6.6vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.99;
}

.landing-copy h1 span {
  color: #18866f;
}

.landing-copy > p {
  max-width: 490px;
  margin-bottom: 30px;
  color: #657873;
  font-size: 1.02rem;
  line-height: 1.75;
}

.landing-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.landing-cta {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 20px;
  border: 1px solid #153f3b;
  border-radius: 9px;
  background: #153f3b;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.landing-cta:hover {
  transform: translateY(-2px);
  background: #0e6253;
  box-shadow: 0 9px 22px rgba(21, 63, 59, 0.16);
}

.landing-cta > span {
  font-size: 1.05rem;
}

.landing-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #46635b;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.landing-assurance {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 40px;
}

.assurance-icon {
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #d5e9e1;
  border-radius: 50%;
  background: #eaf5f0;
  color: #18866f;
  font-size: 0.85rem;
  font-weight: 800;
}

.landing-assurance > span:last-child,
.visual-note > span:last-child {
  display: grid;
  gap: 3px;
}

.landing-assurance strong,
.visual-note strong {
  color: #294540;
  font-size: 0.72rem;
}

.landing-assurance small,
.visual-note small {
  color: #84938e;
  font-size: 0.65rem;
}

.landing-visual {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 440px;
  align-items: center;
  justify-items: center;
  isolation: isolate;
}

.landing-visual::before {
  position: absolute;
  z-index: -2;
  width: min(92%, 475px);
  aspect-ratio: 1;
  border-radius: 48% 52% 43% 57%;
  background: linear-gradient(145deg, #d7eee5, #e8f3ed 63%, #f5f8f6);
  content: "";
  transform: rotate(-12deg);
}

.visual-orbit {
  position: absolute;
  z-index: -1;
  width: min(100%, 520px);
  aspect-ratio: 1;
  border: 1px solid rgba(31, 119, 96, 0.12);
  border-radius: 50%;
}

.orbit-two {
  width: min(100%, 585px);
  border-color: rgba(31, 119, 96, 0.075);
}

.preview-card {
  width: min(100%, 426px);
  padding: 23px;
  border: 1px solid rgba(25, 63, 58, 0.09);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(24, 66, 56, 0.15);
  transform: rotate(1.5deg);
}

.preview-top {
  padding-bottom: 17px;
}

.preview-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #23413b;
  font-family: "Manrope", sans-serif;
  font-size: 0.77rem;
  font-weight: 800;
}

.preview-brand .brand-mark {
  width: 25px;
  height: 25px;
  border-radius: 8px;
}

.preview-menu {
  margin-left: auto;
  color: #899993;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.preview-account-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 19px;
  color: #8a9a94;
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.preview-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #728781;
  font-size: 0.56rem;
  letter-spacing: 0;
  text-transform: none;
}

.preview-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4eba8b;
}

.preview-greeting {
  margin-top: 11px;
  font-family: "Manrope", sans-serif;
  font-size: 0.91rem;
  font-weight: 700;
}

.preview-balance-label {
  margin-top: 25px;
  color: #85958f;
  font-size: 0.57rem;
  font-weight: 750;
  letter-spacing: 0.09em;
}

.preview-balance {
  margin-top: 4px;
  color: #173d37;
  font-family: "Manrope", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.preview-account-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 17px;
  color: #87958f;
  font-size: 0.63rem;
}

.preview-account-meta strong {
  color: #425c54;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.preview-divider {
  margin: 20px 0 17px;
  background: #edf2ef;
}

.preview-activity-title {
  font-size: 0.74rem;
}

.preview-activity-title span {
  font-size: 0.59rem;
}

.preview-activity {
  padding-top: 15px;
}

.preview-activity-icon {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  font-size: 0.87rem;
}

.visual-note {
  position: absolute;
  right: -14px;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  border: 1px solid #e6eeea;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(23, 60, 50, 0.1);
}

.visual-note-icon {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #eaf5f0;
  color: #16836d;
}

.landing-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  align-items: end;
  column-gap: 60px;
  padding: 42px 0 28px;
  border-top: 1px solid #e2eae6;
}

.landing-intro .landing-section-label {
  grid-column: 1 / -1;
  margin-bottom: 15px;
}

.landing-intro h2,
.landing-bottom-cta h2 {
  margin: 0;
  color: #183c36;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  letter-spacing: -0.06em;
  line-height: 1.14;
}

.landing-intro h2 span {
  color: #18866f;
}

.landing-intro > p {
  max-width: 445px;
  justify-self: end;
  margin: 0 0 4px;
  color: #6e807a;
  font-size: 0.9rem;
  line-height: 1.75;
}

.landing-features {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 16px 0 66px;
  border-top: 0;
}

.landing-feature {
  min-width: 0;
  padding: 23px 22px 21px;
  border: 1px solid #e4ece8;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.landing-feature:hover {
  transform: translateY(-3px);
  border-color: #cfe4dc;
  box-shadow: 0 14px 28px rgba(30, 75, 62, 0.07);
}

.landing-feature .feature-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 23px;
  border-radius: 12px;
}

.feature-icon svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.feature-icon-blue {
  color: #52779b;
  background: #e9f1f8;
}

.feature-number {
  display: block;
  margin-bottom: 8px;
  color: #82938c;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.landing-feature h3 {
  margin: 0 0 8px;
  color: #24413a;
  font-family: "Manrope", sans-serif;
  font-size: 1.03rem;
  letter-spacing: -0.025em;
}

.landing-feature p {
  max-width: 300px;
  margin: 0;
  color: #72837d;
  font-size: 0.78rem;
  line-height: 1.7;
}

.landing-bottom-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 32px;
  padding: 30px 34px;
  border-radius: 16px;
  background: #153f3b;
}

.landing-bottom-cta .landing-section-label {
  margin-bottom: 9px;
  color: #8bd5bb;
  font-size: 0.61rem;
}

.landing-bottom-cta h2 {
  max-width: 560px;
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
}

.landing-cta-light {
  flex: 0 0 auto;
  border-color: #e3c47c;
  background: #e3c47c;
  color: #183c36;
}

.landing-cta-light:hover {
  border-color: #f0d99f;
  background: #f0d99f;
}

.landing-footer {
  align-items: center;
  padding: 20px 0 28px;
  border-top-color: #e2eae6;
  font-size: 0.65rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #34554c;
  font-family: "Manrope", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.footer-brand .brand-mark {
  width: 25px;
  height: 25px;
  border-radius: 8px;
}

.site-public-header {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #e4ebe7;
}

.site-public-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: #173f3b;
  text-decoration: none;
}

.site-public-brand .brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
}

.site-public-brand .brand-mark img,
.site-public-footer .brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-public-brand strong,
.site-public-brand small {
  display: block;
}

.site-public-brand strong {
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  line-height: 1.1;
}

.site-public-brand small {
  margin-top: 3px;
  color: #647770;
  font-size: 0.66rem;
}

.site-public-links {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: clamp(9px, 1.4vw, 20px);
}

.site-public-links a,
.site-public-mobile-menu a {
  color: #516863;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
}

.site-public-links a[aria-current="page"],
.site-public-mobile-menu a[aria-current="page"] {
  color: #087c6c;
}

.site-public-signin {
  flex: 0 0 auto;
  padding: 10px 14px;
  border-radius: 6px;
  background: #153f3b;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.site-public-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d5e0dc;
  border-radius: 6px;
  background: #fff;
  color: #153f3b;
  cursor: pointer;
}

.site-public-menu-toggle svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.site-public-mobile-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: 8px 0 14px;
  border-bottom: 1px solid #e4ebe7;
}

.site-public-mobile-menu[hidden] {
  display: none;
}

.site-public-mobile-menu a {
  padding: 12px 10px;
}

.site-public-footer .landing-footer-main {
  display: grid;
  grid-template-columns: minmax(220px, 1.6fr) repeat(3, minmax(120px, 1fr));
  gap: 30px;
}

.site-public-footer .landing-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 18px;
  border-top: 1px solid #e2eae6;
}

.member-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 36px;
  padding: 18px 0 6px;
  border-top: 1px solid #dfe7e4;
  color: #687874;
  font-size: 0.76rem;
}

.member-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.member-footer a {
  color: #315d54;
  text-decoration: none;
}

.support-chat {
  position: fixed;
  z-index: 1100;
  right: max(8px, env(safe-area-inset-right));
  bottom: max(8px, env(safe-area-inset-bottom));
  display: grid;
  justify-items: end;
  gap: 0;
  font-family: "DM Sans", sans-serif;
}

.support-chat-launcher {
  position: relative;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 8px;
  padding: 0 15px;
  border: 0;
  border-radius: 7px;
  background: var(--brand-teal);
  box-shadow: 0 5px 18px rgba(15, 80, 46, 0.22);
  color: #fff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.support-chat-launcher-count,
.support-chat-tab-count {
  display: inline-grid;
  min-width: 17px;
  height: 17px;
  place-items: center;
  padding: 0 4px;
  border-radius: 9px;
  background: #d84c45;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1;
}

.support-chat-launcher-count[hidden],
.support-chat-tab-count[hidden] {
  display: none;
}

.support-chat.is-open .support-chat-launcher {
  display: none;
}

.support-chat-launcher svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.support-chat-panel {
  display: flex;
  width: min(360px, calc(100vw - 8px));
  height: min(520px, calc(100dvh - 8px));
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e0e9e4;
  border-radius: 13px 13px 0 0;
  background: #fff;
  box-shadow: 0 10px 38px rgba(20, 51, 45, 0.22);
}

.support-chat-panel[hidden] {
  display: none;
}

.support-chat-header {
  display: flex;
  min-height: 105px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 15px 12px;
  background: var(--brand-teal);
  color: #fff;
}

.support-chat-header strong,
.support-chat-header small {
  display: block;
}

.support-chat-header strong {
  font-size: 0.95rem;
}

.support-chat-header small {
  max-width: 290px;
  margin-top: 8px;
  color: #f0fff6;
  font-size: 0.72rem;
  line-height: 1.45;
}

.support-chat-close {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

.support-chat-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
}

.support-chat-back[hidden] {
  display: none;
}

.support-chat-panel.is-thread .support-chat-header {
  min-height: 44px;
  align-items: center;
  padding: 7px 12px;
}

.support-chat-panel.is-thread .support-chat-heading {
  display: none;
}

.support-chat-panel.is-thread .support-chat-header small {
  display: none;
}

.support-chat-content {
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
  overflow: hidden;
  background: #f7f8f7;
}

.support-chat-home,
.support-chat-messages-screen {
  display: grid;
  align-content: start;
  gap: 8px;
  overflow-y: auto;
  padding: 12px;
}

.support-chat-home[hidden],
.support-chat-messages-screen[hidden],
.support-chat-thread[hidden] {
  display: none;
}

.support-chat-home > p,
.support-chat-messages-screen > p {
  margin: 0;
  color: #252b29;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.45;
}

.support-chat-help-card,
.support-chat-new-conversation,
.support-chat-recent {
  width: 100%;
  border: 0;
  border-radius: 7px;
  background: #fff;
  color: #252b29;
  text-align: left;
}

  .support-chat-help-card {
    display: grid;
    gap: 8px;
    padding: 13px;
  }

  .support-chat-help-card > a {
    color: inherit;
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
  }

  .support-chat-search {
    display: grid;
    min-height: 38px;
    grid-template-columns: minmax(0, 1fr) 34px;
    align-items: center;
    overflow: hidden;
    border: 1px solid #262626;
    border-radius: 5px;
    background: #fff;
  }

  .support-chat-search input {
    width: 100%;
    min-width: 0;
    padding: 8px 9px;
    border: 0;
    outline: 0;
    color: #27322e;
    font: inherit;
    font-size: 0.68rem;
  }

  .support-chat-search button {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 0;
    background: #fff;
    color: #68736f;
    cursor: pointer;
  }

  .support-chat-search svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
  }

  .support-chat-new-conversation {
    display: flex;
    min-height: 59px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 13px;
    cursor: pointer;
  }

  .support-chat-new-conversation strong,
  .support-chat-new-conversation small {
    display: block;
  }

  .support-chat-new-conversation strong {
    font-size: 0.72rem;
  }

  .support-chat-new-conversation small {
    margin-top: 4px;
    color: #737b78;
    font-size: 0.62rem;
  }

  .support-chat-new-conversation > svg {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    fill: none;
    stroke: var(--brand-teal);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
  }

  .support-chat-messages-screen > .support-chat-recent-heading {
    margin-top: 8px;
    font-weight: 400;
  }

  .support-chat-recent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 7px;
    cursor: pointer;
  }

  .support-chat-recent[hidden],
  .support-chat-no-recent[hidden] {
    display: none;
  }

  .support-chat-recent small,
  .support-chat-recent strong {
    display: block;
  }

  .support-chat-recent small {
    margin-bottom: 5px;
    color: #757d79;
    font-size: 0.57rem;
  }

  .support-chat-recent time {
    float: right;
  }

  .support-chat-recent strong {
    overflow: hidden;
    max-width: 240px;
    color: #252b29;
    font-size: 0.62rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .support-chat-recent i {
    display: grid;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: var(--brand-teal);
    color: #fff;
    font-size: 0.58rem;
    font-style: normal;
  }

  .support-chat-privacy-link {
    justify-self: start;
    color: #61716b;
    font-size: 0.62rem;
    text-decoration: none;
  }

  .support-chat-thread {
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    flex-direction: column;
  }

  .support-chat-messages {
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    padding: 12px;
    background: #f7f8f7;
  }

  .support-chat-message {
    display: grid;
    max-width: 88%;
    gap: 4px;
    padding: 10px 12px;
    border: 1px solid #e1e9e5;
    border-radius: 7px;
    background: #fff;
    color: #314741;
  }

  .support-chat-message.from-visitor {
    align-self: flex-end;
    border-color: #b7ddd2;
    background: #e8f5f0;
  }

  .support-chat-message strong {
    font-size: 0.66rem;
  }

  .support-chat-message p {
    margin: 0;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
    font-size: 0.74rem;
    line-height: 1.45;
  }

  .support-chat-message time {
    justify-self: end;
    color: #76847f;
    font-size: 0.6rem;
  }

  .support-chat-reply {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 8px;
    padding: 9px;
    border-top: 1px solid #e3ebe7;
    background: #fff;
  }

  .support-chat-reply textarea {
    width: 100%;
    min-height: 38px;
    max-height: 100px;
    padding: 9px;
    border: 1px solid #cbd9d4;
    border-radius: 5px;
    resize: vertical;
    font: inherit;
    font-size: 0.75rem;
  }

  .support-chat-reply .primary-button {
    min-height: 38px;
  }

  .support-chat-tabs {
    display: grid;
    min-height: 42px;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #e9eeeb;
    background: #fff;
  }

  .support-chat-tabs button {
    position: relative;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: #303633;
    cursor: pointer;
  }

  .support-chat-tabs button.is-active {
    color: var(--brand-teal);
  }

  .support-chat-tabs svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
  }

  .support-chat-error {
    margin: 0;
    padding: 0 12px 8px;
    background: #fff;
    color: #a2413c;
    font-size: 0.72rem;
  }

  .support-chat-error[hidden] {
    display: none;
  }

  .support-chat-panel.is-thread .support-chat-error {
    background: #f7f8f7;
  }

  @media (max-width: 520px) {
    .support-chat {
      right: 4px;
      bottom: 4px;
    }

    .support-chat-panel {
      width: calc(100vw - 8px);
      height: calc(100dvh - 8px);
    }

    .support-chat-launcher {
      min-height: 44px;
      padding: 0 13px;
      font-size: 0.78rem;
    }
  }

@media (max-width: 700px) {
  .site-public-footer .landing-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
  }

  .site-public-footer .landing-footer-about {
    grid-column: 1 / -1;
  }

  .site-public-footer .landing-footer-bottom {
    flex-direction: column;
  }
}

.support-chat-tab-count {
  position: absolute;
  top: 3px;
  left: calc(50% + 5px);
}

.support-chat:not(.is-open) .support-chat-launcher {
  animation: support-chat-launcher-arrive 420ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.support-chat-panel:not([hidden]) {
  animation: support-chat-panel-enter 280ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  transform-origin: bottom right;
}

.support-chat-panel:not([hidden]) .support-chat-help-card {
  animation: support-chat-card-enter 280ms cubic-bezier(0.2, 0.8, 0.2, 1) 60ms both;
}

.support-chat-panel:not([hidden]) .support-chat-home > .support-chat-new-conversation,
.support-chat-panel:not([hidden]) .support-chat-messages-screen:not([hidden]) > .support-chat-new-conversation {
  animation: support-chat-card-enter 300ms cubic-bezier(0.2, 0.8, 0.2, 1) 120ms both;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.support-chat-panel:not([hidden]) .support-chat-new-conversation:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(13, 60, 71, 0.1);
}

.support-chat-message {
  animation: support-chat-message-enter 200ms ease-out both;
}

@keyframes support-chat-launcher-arrive {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes support-chat-panel-enter {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes support-chat-card-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes support-chat-message-enter {
  from { opacity: 0; transform: translateY(7px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .support-chat:not(.is-open) .support-chat-launcher, 
  .support-chat-panel:not([hidden]),
  .support-chat-panel:not([hidden]) .support-chat-help-card,
  .support-chat-panel:not([hidden]) .support-chat-new-conversation,
  .support-chat-message {
    animation: none;
    transition: none;
    transform: none;
  }
}

.support-chat-panel {
  width: min(400px, calc(100vw - 8px));
  height: min(620px, calc(100dvh - 8px));
  border-color: rgba(13, 60, 71, 0.12);
  border-radius: 17px 17px 0 0;
  box-shadow: 0 18px 56px rgba(13, 45, 50, 0.24);
}

.support-chat-header {
  min-height: 76px;
  align-items: center;
  padding: 12px 16px;
  background: linear-gradient(118deg, var(--brand-navy), var(--brand-teal));
}

.support-chat-brand {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  gap: 11px;
}

.support-chat-brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.52);
  border-radius: 12px;
  background: rgba(255,255,255,.96);
}

.support-chat-brand-mark img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.support-chat-brand-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.support-chat-brand-title {
  overflow: hidden;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-chat-brand-status {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.84);
  font-size: 0.66rem;
}

.support-chat-brand-status i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #b7dc67;
  box-shadow: 0 0 0 3px rgba(183,220,103,.18);
}

.support-chat-close {
  display: grid;
  place-items: center;
  border-radius: 8px;
  transition: background-color 140ms ease, transform 140ms ease;
}

.support-chat-close:hover {
  transform: rotate(90deg);
  background: rgba(255,255,255,.14);
}

.support-chat-panel.is-thread .support-chat-header {
  min-height: 58px;
  padding: 8px 13px;
}

.support-chat-panel.is-thread .support-chat-brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.support-chat-panel.is-thread .support-chat-brand-mark img {
  width: 23px;
  height: 23px;
}

.support-chat-back {
  min-height: 34px;
  padding: 5px 8px 5px 2px;
  border-radius: 6px;
  transition: background-color 140ms ease;
}

.support-chat-back:hover {
  background: rgba(255,255,255,.12);
}

.support-chat-back svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.support-chat-content {
  background: #f2f6f4;
}

.support-chat-home,
.support-chat-messages-screen {
  gap: 11px;
  padding: 15px;
}

.support-chat-welcome {
  display: grid;
  gap: 5px;
  padding: 2px 3px 4px;
}

.support-chat-kicker {
  color: var(--brand-teal);
  font-size: 0.62rem;
  font-weight: 700;
}

.support-chat-welcome h2 {
  margin: 0;
  color: var(--brand-navy);
  font-family: "Manrope", "DM Sans", sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.16;
}

.support-chat-welcome > p {
  margin: 0;
  color: #5d6f69;
  font-size: 0.82rem;
  line-height: 1.4;
}

.support-chat-help-card {
  gap: 10px;
  padding: 12px;
  border: 1px solid #e1eae6;
  box-shadow: 0 3px 10px rgba(13,60,71,.035);
}

.support-chat-help-title {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: var(--brand-navy);
  text-decoration: none;
}

.support-chat-help-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  background: #e7f2ef;
  color: var(--brand-teal);
}

.support-chat-help-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.support-chat-help-title > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.support-chat-help-title strong {
  font-size: 0.77rem;
}

.support-chat-help-title small {
  color: #72817c;
  font-size: 0.64rem;
}

.support-chat-card-arrow {
  margin-left: auto;
  color: #7d8c86;
  font-size: 0.9rem;
}

.support-chat-search {
  min-height: 42px;
  grid-template-columns: minmax(0, 1fr) 38px;
  border-color: #d7e1dc;
  border-radius: 7px;
  background: #f8faf9;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.support-chat-search:focus-within {
  border-color: var(--brand-teal);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(15,127,122,.12);
}

.support-chat-search input {
  padding: 10px 11px;
  background: transparent;
  font-size: 0.74rem;
}

.support-chat-search input::placeholder {
  color: #8a9691;
}

.support-chat-search button {
  width: 38px;
  height: 38px;
  color: var(--brand-teal);
}

.support-chat-new-conversation {
  min-height: 70px;
  padding: 13px 15px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 9px;
  background: linear-gradient(118deg, var(--brand-navy), var(--brand-teal));
  color: #fff;
  box-shadow: 0 6px 16px rgba(13,60,71,.16);
}

.support-chat-new-conversation strong {
  font-size: 0.82rem;
}

.support-chat-new-conversation small {
  color: rgba(255,255,255,.78);
  font-size: 0.68rem;
}

.support-chat-new-conversation > svg {
  width: 20px;
  height: 20px;
  color: #d5e8a4;
  stroke: currentColor;
}

.support-chat-privacy-link {
  padding: 2px 3px 0;
  color: #647770;
  font-size: 0.66rem;
}

.support-chat-messages-screen > p {
  font-size: 0.76rem;
}

.support-chat-messages-screen > .support-chat-recent-heading {
  margin-top: 5px;
  color: #6b7974;
  font-size: 0.67rem;
  font-weight: 700;
}

.support-chat-recent {
  padding: 12px;
  border: 1px solid #e1eae6;
  box-shadow: 0 3px 10px rgba(13,60,71,.04);
}

.support-chat-thread {
  background: #f2f6f4;
}

.support-chat-messages {
  gap: 12px;
  padding: 15px;
  background: #f2f6f4;
}

.support-chat-message {
  padding: 11px 13px;
  border-color: #e0e9e5;
  border-radius: 11px 11px 11px 4px;
  box-shadow: 0 3px 10px rgba(13,60,71,.04);
}

.support-chat-message.from-visitor {
  border-color: #b5d8ce;
  border-radius: 11px 11px 4px 11px;
  background: #e4f1ed;
}

.support-chat-message strong {
  color: var(--brand-navy);
  font-size: 0.69rem;
}

.support-chat-message p {
  color: #334842;
  font-size: 0.78rem;
}

.support-chat-reply {
  gap: 9px;
  padding: 11px;
  border-top-color: #e0e9e5;
}

.support-chat-reply textarea {
  min-height: 42px;
  border-color: #d6e0dc;
  border-radius: 7px;
  background: #f8faf9;
  font-size: 0.78rem;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.support-chat-reply textarea:focus {
  border-color: var(--brand-teal);
  outline: 0;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(15,127,122,.12);
}

.support-chat-reply .primary-button {
  padding: 0 15px;
  border-radius: 7px;
}

.support-chat-tabs {
  min-height: 50px;
  border-top-color: #e4ebe8;
}

.support-chat-tabs button::after {
  position: absolute;
  right: 25%;
  bottom: 0;
  left: 25%;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(.5);
  transition: opacity 140ms ease, transform 140ms ease;
}

.support-chat-tabs button.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

@media (max-width: 520px) {
  .support-chat-panel {
    height: calc(100dvh - 8px);
  }

  .support-chat-header {
    min-height: 70px;
    padding: 10px 13px;
  }

  .support-chat-home,
  .support-chat-messages-screen {
    gap: 9px;
    padding: 12px;
  }

  .support-chat-welcome h2 {
    font-size: 1.28rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .support-chat-close,
  .support-chat-back,
  .support-chat-search,
  .support-chat-reply textarea,
  .support-chat-tabs button::after {
    transition: none;
  }
}

@media (max-width: 800px) {
  .landing-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 58px 0 60px;
  }

  .landing-copy h1 {
    font-size: clamp(3.2rem, 12vw, 5rem);
  }

  .landing-visual {
    min-height: 420px;
  }

  .landing-intro {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .landing-intro .landing-section-label {
    grid-column: auto;
    margin-bottom: 0;
  }

  .landing-intro > p {
    justify-self: start;
  }

  .landing-features {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-bottom: 45px;
  }

  .landing-feature {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 14px;
    align-items: center;
    padding: 17px;
  }

  .landing-feature .feature-icon {
    grid-row: span 3;
    margin: 0;
  }

  .landing-feature .feature-number,
  .landing-feature h3,
  .landing-feature p {
    grid-column: 2;
  }

  .landing-feature .feature-number {
    margin: 0 0 4px;
  }

  .landing-feature h3 {
    margin-bottom: 4px;
  }

  .landing-bottom-cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 26px;
  }
}

@media (max-width: 520px) {
  .landing-shell {
    width: 100%;
  }

  .landing-hero {
    display: grid;
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 48px 0 50px;
  }

  .landing-copy {
    position: relative;
    z-index: 1;
  }

  .landing-nav {
    min-height: 72px;
  }

  .landing-nav nav {
    gap: 0;
  }

  .landing-nav nav a:not(.landing-signin) {
    display: none;
  }

  .landing-nav nav .landing-signin {
    padding: 10px 12px;
    font-size: 0.72rem;
  }

  .landing-hero {
    padding: 48px 0 50px;
  }

  .landing-copy h1 {
    margin-top: 18px;
    font-size: clamp(2.85rem, 14vw, 4rem);
  }

  .landing-copy > p {
    font-size: 0.9rem;
  }

  .landing-hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .landing-assurance {
    margin-top: 28px;
  }

  .landing-visual {
    position: relative;
    z-index: 0;
    inset: auto;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    opacity: 1;
    pointer-events: none;
  }

  .landing-hero-image {
    position: relative;
    width: min(100%, 480px);
    height: auto;
    max-height: none;
    margin: 0 auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .preview-card {
    padding: 17px;
    border-radius: 15px;
    transform: none;
  }

  .preview-balance {
    font-size: 1.7rem;
  }

  .visual-note {
    right: -5px;
    bottom: 0;
    padding: 9px 11px;
  }

  .landing-intro h2 {
    font-size: 2rem;
  }

  .landing-feature {
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 12px;
  }

  .landing-feature .feature-icon {
    width: 38px;
    height: 38px;
  }

  .landing-bottom-cta {
    padding: 22px 18px;
  }

  .landing-cta-light {
    width: 100%;
  }
}

.landing-nav {
  position: relative;
  min-height: 48px;
  justify-content: flex-start;
  gap: 30px;
  padding: 0 24px;
  border-bottom: 0;
  background: #08698a;
  box-shadow: none;
}

.landing-home-link {
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 34px;
  place-items: center;
  color: #fff;
}

.landing-home-link svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.landing-nav > .landing-main-links {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2.4vw, 36px);
  min-width: 0;
}

.landing-nav .landing-main-links > a,
.landing-nav-dropdown summary {
  color: #fff;
  font-size: clamp(0.7rem, 0.9vw, 0.84rem);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.landing-nav .landing-main-links > a:hover,
.landing-nav-dropdown summary:hover,
.landing-home-link:hover {
  color: #cceef7;
}

.landing-nav-dropdown {
  position: relative;
}

.landing-nav-dropdown summary {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  list-style: none;
}

.landing-nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.landing-nav-dropdown summary::after {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
  transition: transform 140ms ease;
}

.landing-nav-dropdown[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.landing-nav-dropdown-menu {
  position: absolute;
  z-index: 25;
  top: calc(100% + 13px);
  left: -14px;
  display: grid;
  min-width: 190px;
  gap: 2px;
  padding: 8px;
  border: 1px solid #dce8e7;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(10, 48, 62, 0.2);
}

.landing-nav .landing-nav-dropdown-menu a {
  padding: 9px 10px;
  border-radius: 5px;
  color: #31555f;
  font-size: 0.78rem;
  text-decoration: none;
}

.landing-nav .landing-nav-dropdown-menu a:hover {
  background: #edf6f6;
  color: #075e7c;
}

.landing-menu-toggle {
  display: none;
}

.landing-hero {
  background-color: #f5f8f6;
  background-image:
    linear-gradient(90deg, rgba(245, 248, 246, 0.99) 0%, rgba(245, 248, 246, 0.96) 38%, rgba(245, 248, 246, 0.48) 59%, rgba(245, 248, 246, 0.08) 100%),
    url("hero-art.svg"),
    radial-gradient(ellipse at 82% 52%, rgba(65, 171, 157, 0.2), transparent 50%);
  background-position: center, right 2% center, center;
  background-repeat: no-repeat;
  background-size: 100% 100%, min(760px, 55vw) auto, cover;
}

.landing-visual {
  display: none;
}

.landing-mobile-menu details {
  display: grid;
  gap: 2px;
}

.landing-mobile-menu summary {
  padding: 11px 8px;
  border-radius: 7px;
  color: #33534b;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.landing-mobile-menu summary::-webkit-details-marker {
  display: none;
}

.landing-mobile-menu summary::after {
  float: right;
  content: "+";
  font-size: 1rem;
}

.landing-mobile-menu details[open] summary::after {
  content: "−";
}

.landing-mobile-menu details a {
  display: block;
  padding: 8px 18px;
  color: #33534b;
  font-size: 0.78rem;
  text-decoration: none;
}

@media (max-width: 1040px) {
  .landing-nav {
    min-height: 58px;
    gap: 16px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .landing-nav > .landing-main-links {
    display: none;
  }

  .landing-menu-toggle {
    display: flex;
    min-width: 52px;
    margin-left: auto;
  }

  .landing-mobile-menu {
    top: 58px;
  }

  .landing-hero {
    background-image:
      radial-gradient(ellipse at 75% 48%, rgba(65, 171, 157, 0.16), transparent 52%),
      linear-gradient(140deg, #f5f8f6, #edf5f2);
  }

  .landing-visual {
    display: grid;
  }
}

@media (max-width: 520px) {
  .landing-nav {
    min-height: 54px;
  }

  .landing-mobile-menu {
    top: 54px;
  }
}

.landing-nav.site-public-header {
  min-height: 84px;
  justify-content: space-between;
  gap: 20px;
  padding: 0 max(20px, calc((100% - 1164px) / 2));
  border-bottom: 1px solid #e4ebe7;
  background: #fff;
  box-shadow: none;
}

@media (max-width: 1050px) {
  .landing-nav.site-public-header {
    min-height: 72px;
  }
}

.landing-hero {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: clamp(500px, 48vw, 650px);
  margin: 0;
  padding: 72px max(24px, calc((100% - 1164px) / 2));
  overflow: hidden;
  isolation: isolate;
  background: #123d3a;
}

.landing-hero-slideshow {
  position: absolute;
  z-index: 0;
  inset: 0;
}

.landing-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1);
}

.landing-hero-slide-workspace {
  background-image: url("images/hero-workspace.png");
  background-position: center 54%;
}

.landing-hero-slide-member {
  background-image: url("images/hero-member.png");
  background-position: center 48%;
}

.landing-hero-slide-aventra-member {
  background-image: url("images/hero-aventra-member.png");
  background-position: center 48%;
}

.landing-hero-slide-aventra-team {
  background-image: url("images/hero-aventra-team.png");
  background-position: center 52%;
}

.landing-hero-slide.is-active {
  opacity: 1;
  animation: landing-hero-slow-zoom 8s linear both;
}

.landing-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 37, 36, 0.88) 0%, rgba(7, 37, 36, 0.76) 38%, rgba(7, 37, 36, 0.34) 69%, rgba(7, 37, 36, 0.12) 100%),
    linear-gradient(0deg, rgba(5, 28, 29, 0.24), transparent 55%);
}

.landing-copy {
  z-index: 2;
  width: min(100%, 620px);
}

.landing-kicker,
.landing-section-label {
  color: #b7f0d9;
}

.landing-copy h1 {
  color: #fff;
}

.landing-copy h1 span {
  color: #a9e8d0;
}

.landing-copy > p {
  color: rgba(255, 255, 255, 0.84);
}

.landing-cta {
  border-color: #fff;
  background: #fff;
  color: #153f3b;
}

.landing-cta:hover {
  background: #e4f5ee;
  color: #153f3b;
}

.landing-text-link {
  color: #fff;
}

.landing-assurance strong {
  color: #fff;
}

.landing-assurance small {
  color: rgba(255, 255, 255, 0.76);
}

@keyframes landing-hero-slow-zoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.09);
  }
}

@media (max-width: 1040px) {
  .landing-hero {
    width: 100%;
    min-height: 560px;
    padding: 60px 32px;
    background: #123d3a;
  }
}

@media (max-width: 600px) {
  .landing-hero {
    min-height: 610px;
    padding: 48px 18px 82px;
  }

  .landing-hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 37, 36, 0.82), rgba(7, 37, 36, 0.46)),
      linear-gradient(0deg, rgba(5, 28, 29, 0.38), transparent 70%);
  }

}

@media (prefers-reduced-motion: reduce) {
  .landing-hero-slide.is-active {
    animation: none;
    transform: none;
  }
}

.landing-utility-bar {
  min-height: 26px;
  background: var(--brand-navy);
  color: #fff;
}

.landing-utility-inner {
  width: min(1164px, calc(100% - 48px));
  min-height: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
}

.landing-utility-links,
.landing-social-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}

.landing-utility-links a,
.landing-social-links span {
  color: #fff;
  font-size: 0.6rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.landing-utility-links a:first-child,
.landing-social-links span {
  color: #b6df5d;
}

.landing-social-links {
  gap: 16px;
}

.landing-social-links a {
  display: grid;
  width: 15px;
  height: 15px;
  place-items: center;
  color: #fff;
}

.landing-social-links svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.landing-brand-row {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0 max(24px, calc((100% - 1164px) / 2));
  background: linear-gradient(105deg, var(--brand-navy) 0%, var(--brand-teal) 100%);
  color: #fff;
}

.landing-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.landing-brand .brand-mark {
  width: 39px;
  height: 39px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: #fff;
  box-shadow: none;
}

.landing-brand > span:last-child {
  display: grid;
  gap: 1px;
}

.landing-brand strong {
  font-family: "Manrope", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}

.landing-brand small {
  font-size: 0.53rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.landing-service-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(22px, 3vw, 46px);
}

.landing-brand-row .landing-service-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.landing-service-links a:hover {
  color: #d3f0e2;
}

.landing-service-links svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.landing-language {
  display: inline-flex;
  width: 31px;
  height: 19px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 1px;
}

.landing-language svg {
  width: 100%;
  height: 100%;
}

.landing-nav {
  min-height: 44px;
  gap: 30px;
  padding-right: max(24px, calc((100% - 1164px) / 2));
  padding-left: max(24px, calc((100% - 1164px) / 2));
  background: var(--brand-teal);
}

.landing-home-link {
  flex-basis: 30px;
}

.landing-nav > .landing-main-links {
  gap: clamp(24px, 3vw, 42px);
}

.landing-nav .landing-main-links > a,
.landing-nav-dropdown summary {
  font-size: 0.88rem;
}

.landing-nav-dropdown-menu {
  top: calc(100% + 11px);
}

.landing-mobile-menu {
  top: 44px;
}

.landing-hero {
  width: 100%;
  min-height: 610px;
  padding: 78px max(24px, calc((100% - 1164px) / 2)) 80px;
  background-color: #f3f7f4;
  background-image:
    linear-gradient(90deg, rgba(243, 247, 244, 0.99) 0%, rgba(243, 247, 244, 0.96) 38%, rgba(243, 247, 244, 0.52) 57%, rgba(243, 247, 244, 0.08) 76%),
    url("hero-art.svg");
  background-position: center, right max(3%, calc((100% - 1164px) / 2)) top 10px;
  background-repeat: no-repeat;
  background-size: cover, min(760px, 57vw) auto;
}

@media (max-width: 1040px) {
  .landing-utility-inner {
    width: calc(100% - 36px);
  }

  .landing-utility-links {
    gap: 16px;
  }

  .landing-brand-row {
    min-height: 78px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .landing-service-links {
    gap: 20px;
  }

  .landing-brand-row .landing-service-links a {
    font-size: 0.8rem;
  }

  .landing-nav {
    min-height: 48px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .landing-mobile-menu {
    top: 48px;
  }

  .landing-hero {
    width: min(100% - 36px, 640px);
    min-height: 0;
    padding: 46px 0 60px;
    background-color: transparent;
    background-image:
      radial-gradient(ellipse at 75% 48%, rgba(65, 171, 157, 0.16), transparent 52%),
      linear-gradient(140deg, #f5f8f6, #edf5f2);
  }
}

@media (max-width: 600px) {
  .landing-utility-links a:not(:first-child),
  .landing-social-links {
    display: none;
  }

  .landing-utility-inner {
    justify-content: center;
  }

  .landing-brand-row {
    min-height: 68px;
    gap: 12px;
  }

  .landing-brand .brand-mark {
    width: 34px;
    height: 34px;
  }

  .landing-brand strong {
    font-size: 1.08rem;
  }

  .landing-brand small {
    font-size: 0.47rem;
  }

  .landing-service-links {
    gap: 12px;
  }

  .landing-brand-row .landing-service-links a {
    gap: 0;
    font-size: 0.65rem;
  }

  .landing-brand-row .landing-service-links a span {
    display: none;
  }

  .landing-service-links svg {
    width: 18px;
    height: 18px;
  }

  .landing-service-links a:nth-child(1),
  .landing-service-links a:nth-child(2) {
    display: none;
  }

  .landing-language {
    width: 25px;
    height: 16px;
  }

  .landing-nav {
    min-height: 48px;
  }

  .landing-mobile-menu {
    top: 48px;
  }
}

.landing-savings-promo,
.landing-products {
  width: min(1100px, calc(100% - 72px));
  margin-right: auto;
  margin-left: auto;
}

.landing-savings-promo {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: start;
  gap: 20px;
  padding: 0 0 96px;
}

.landing-savings-image {
  display: block;
  width: 100%;
  aspect-ratio: 1.52;
  border-radius: 3px;
  object-fit: cover;
}

.landing-savings-copy {
  padding: 0 0 0 0;
}

.landing-savings-copy .landing-section-label {
  margin-bottom: 10px;
  font-size: 0.66rem;
}

.landing-savings-copy h2 {
  max-width: 650px;
  margin: 0 0 17px;
  color: #172f32;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.55rem, 2.3vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.35;
}

.landing-savings-copy p {
  max-width: 640px;
  margin: 0 0 27px;
  color: #536462;
  font-size: 0.94rem;
  line-height: 1.65;
}

.landing-savings-link,
.landing-products-heading > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 5px;
  background: var(--brand-teal);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 150ms ease, transform 150ms ease;
}

.landing-savings-link:hover,
.landing-products-heading > a:hover {
  transform: translateY(-1px);
  background: var(--brand-navy);
}

.landing-products {
  padding: 0 0 72px;
}

.landing-products-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.landing-products-heading .landing-section-label {
  margin-bottom: 7px;
  font-size: 0.62rem;
}

.landing-products-heading h2 {
  margin: 0;
  color: #183c36;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  letter-spacing: -0.045em;
}

.landing-products-heading > a {
  min-height: 36px;
  padding: 0 14px;
  background: transparent;
  color: var(--brand-teal);
  font-size: 0.78rem;
}

.landing-products-heading > a:hover {
  background: #e8f3f0;
}

.landing-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.landing-product-card {
  min-width: 0;
  padding: 16px 16px 18px;
  border: 1px solid #e3e9e7;
  background: #fff;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.landing-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(23, 60, 50, 0.1);
}

.landing-product-art {
  display: block;
  width: 100%;
  height: 108px;
  margin-bottom: 14px;
  overflow: hidden;
  object-fit: cover;
}

.landing-product-card .feature-number {
  margin-bottom: 5px;
  color: var(--brand-teal);
}

.landing-product-card h3 {
  min-height: 2.5em;
  margin: 0 0 6px;
  color: #314b4a;
  font-family: "Manrope", sans-serif;
  font-size: 1.05rem;
  line-height: 1.25;
}

.landing-product-card p {
  min-height: 2.8em;
  margin: 0 0 14px;
  color: #71807e;
  font-size: 0.78rem;
  line-height: 1.55;
}

.landing-product-card > a {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--brand-teal);
  color: var(--brand-teal);
  font-size: 0.74rem;
  font-weight: 700;
  text-decoration: none;
}

.landing-product-card > a:hover {
  color: #0d5555;
}

.landing-footer {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--brand-navy);
  color: rgba(255, 255, 255, 0.78);
}

.landing-footer-main {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(130px, 1fr));
  gap: clamp(24px, 5vw, 72px);
  width: min(1164px, calc(100% - 48px));
  margin: 0 auto;
  padding: 44px 0 38px;
}

.landing-footer .footer-brand {
  color: #fff;
  font-size: 1rem;
}

.landing-footer .footer-brand .brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
}

.landing-footer-about p,
.landing-footer-column p {
  max-width: 250px;
  margin: 14px 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.77rem;
  line-height: 1.65;
}

.landing-footer-login {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #b6dfcf;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.landing-footer-column {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 11px;
}

.landing-footer-column h2 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

.landing-footer-column a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  text-decoration: none;
}

.landing-footer-column a:hover,
.landing-footer-bottom a:hover {
  color: #b6dfcf;
}

.landing-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1164px, calc(100% - 48px));
  margin: 0 auto;
  padding: 16px 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.66rem;
}

.landing-footer-bottom a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

@media (max-width: 800px) {
  .landing-savings-promo,
  .landing-products {
    width: min(100% - 36px, 640px);
  }

  .landing-savings-promo {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 24px 0 36px;
  }

  .landing-savings-image {
    max-height: 340px;
  }

  .landing-products {
    padding-bottom: 52px;
  }

  .landing-product-grid {
    grid-template-columns: 1fr;
  }

  .landing-product-card {
    display: grid;
    grid-template-columns: minmax(110px, 0.7fr) minmax(0, 1.3fr);
    column-gap: 16px;
    align-content: start;
    padding: 13px;
  }

  .landing-product-art {
    grid-row: span 4;
    height: 100%;
    min-height: 132px;
    margin: 0;
  }

  .landing-product-card .feature-number,
  .landing-product-card h3,
  .landing-product-card p,
  .landing-product-card > a {
    grid-column: 2;
  }

  .landing-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 24px;
  }

  .landing-footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .landing-savings-promo,
  .landing-products {
    width: calc(100% - 36px);
  }

  .landing-savings-promo {
    padding-top: 24px;
  }

  .landing-savings-copy h2 {
    font-size: 1.55rem;
  }

  .landing-products-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .landing-products-heading > a {
    padding-left: 0;
  }

  .landing-product-card {
    grid-template-columns: 100px minmax(0, 1fr);
    column-gap: 12px;
  }

  .landing-product-art {
    min-height: 122px;
  }

  .landing-product-card h3 {
    font-size: 0.95rem;
  }

  .landing-product-card p {
    font-size: 0.72rem;
  }

  .landing-footer-main,
  .landing-footer-bottom {
    width: calc(100% - 36px);
  }

  .landing-footer-main {
    gap: 25px 16px;
    padding: 34px 0 28px;
  }

  .landing-footer-column {
    gap: 10px;
  }

  .landing-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

.landing-hero {
  display: flex;
  width: 100%;
  min-height: clamp(500px, 48vw, 650px);
  gap: 0;
  padding: 72px max(24px, calc((100% - 1164px) / 2));
  background: #123d3a;
}

@media (max-width: 1040px) {
  .landing-hero {
    width: 100%;
    min-height: 560px;
    padding: 60px 32px;
  }
}

@media (max-width: 600px) {
  .landing-hero {
    min-height: 610px;
    padding: 48px 18px 82px;
  }
}

@media (max-width: 520px) {
  .landing-hero {
    display: flex;
    min-height: 610px;
    grid-template-columns: none;
    gap: 0;
    padding: 48px 18px 82px;
  }
}

.landing-products {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.16fr);
  align-items: stretch;
  gap: 0;
  width: 100%;
  margin: 0 0 72px;
  padding: 0;
  background: #fff;
}

.landing-devices-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 30px clamp(24px, 3.5vw, 56px);
  overflow: hidden;
  background: var(--brand-navy);
}

.landing-device-stage {
  position: relative;
  width: min(540px, 100%);
  height: clamp(250px, 24vw, 320px);
  margin: 0 auto;
}

.device {
  position: absolute;
  filter: drop-shadow(0 10px 12px rgba(2, 30, 43, 0.26));
}

.device-screen {
  position: relative;
  overflow: hidden;
  border: clamp(4px, 0.65vw, 8px) solid #122c37;
  border-radius: 7px;
  background: #f5f8fb;
  color: #233d4a;
  container-type: inline-size;
}

.laptop-device {
  z-index: 1;
  top: 8%;
  left: 13%;
  width: 72%;
}

.laptop-device .device-screen {
  aspect-ratio: 1.62;
}

.device-browser-bar {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 8%;
  min-height: 10px;
  padding: 0 4%;
  background: #e8eef2;
}

.device-browser-bar > span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #8da3ad;
}

.device-browser-bar small {
  margin-left: 5%;
  color: #728893;
  font-size: 2.5cqi;
}

.device-dashboard {
  padding: 3.5% 5%;
}

.device-dashboard-brand {
  display: flex;
  align-items: center;
  gap: 2%;
  color: var(--brand-navy);
  font-size: 3.2cqi;
  font-weight: 800;
}

.device-brand-mark {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 5cqi;
  height: 5cqi;
  border-radius: 50%;
  background: var(--brand-teal);
  color: #fff;
  font-size: 3cqi;
  font-style: normal;
  font-weight: 800;
}

.device-dashboard-brand small {
  display: block;
  margin-top: 1px;
  color: #78918d;
  font-size: 1.8cqi;
  letter-spacing: 0.1em;
}

.device-avatar {
  width: 4cqi;
  height: 4cqi;
  margin-left: auto;
  border-radius: 50%;
  background: #c1dfd4;
}

.device-dashboard-greeting {
  margin: 4% 0 2%;
  font-size: 3.4cqi;
  font-weight: 700;
}

.device-dashboard-total {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2% 4%;
  padding: 3%;
  border-radius: 4px;
  background: #e5f1ed;
}

.device-dashboard-total small {
  grid-column: 1 / -1;
  color: #6a837e;
  font-size: 2cqi;
  letter-spacing: 0.06em;
}

.device-dashboard-total strong {
  font-size: 6cqi;
}

.device-dashboard-total span {
  align-self: end;
  color: #168a67;
  font-size: 2.4cqi;
}

.device-account-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3%;
  padding: 2.7% 1%;
  border-bottom: 1px solid #e4ebee;
  font-size: 2.8cqi;
  font-weight: 700;
}

.device-account-row > span {
  display: flex;
  align-items: center;
  gap: 5%;
}

.device-account-row small,
.device-tablet-account small {
  display: block;
  margin-top: 2px;
  color: #8a9ba1;
  font-size: 2.1cqi;
  font-weight: 400;
}

.device-account-icon,
.device-tablet-account > i,
.device-phone-account > i {
  display: block;
  flex: 0 0 auto;
  width: 5cqi;
  height: 5cqi;
  border-radius: 3px;
  background: #c7e6db;
}

.device-account-icon.savings,
.device-tablet-account:nth-of-type(4) > i,
.device-phone-account:nth-of-type(4) > i {
  background: #dce5f7;
}

.device-dashboard-chart,
.device-tablet-chart {
  display: flex;
  align-items: end;
  gap: 2%;
  height: 13%;
  margin-top: 2%;
  padding: 0 2%;
  border-bottom: 1px solid #dae4e7;
}

.device-dashboard-chart span,
.device-tablet-chart span {
  flex: 1;
  height: 40%;
  border-radius: 2px 2px 0 0;
  background: #45ac91;
}

.device-dashboard-chart span:nth-child(2n),
.device-tablet-chart span:nth-child(2n) {
  height: 68%;
}

.device-dashboard-chart span:nth-child(3n),
.device-tablet-chart span:nth-child(3n) {
  height: 84%;
}

.device-laptop-base {
  width: 110%;
  height: 7px;
  margin: 0 0 0 -5%;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(#9aaeb4, #536a73 45%, #d2dce0 55%, #71858d);
  clip-path: polygon(4% 0, 96% 0, 100% 100%, 0 100%);
}

.tablet-device {
  z-index: 2;
  bottom: 8%;
  left: 0;
  width: 34%;
}

.tablet-device .device-screen {
  aspect-ratio: 0.78;
  border-width: 6px;
  border-radius: 9px;
}

.device-tablet-top {
  display: flex;
  align-items: center;
  gap: 5%;
  padding: 8%;
  background: #fff;
  font-size: 5cqi;
  font-weight: 700;
}

.device-tablet-top .device-brand-mark {
  width: 9cqi;
  height: 9cqi;
  font-size: 5cqi;
}

.device-tablet-top > i,
.device-phone-brand > i {
  width: 6cqi;
  height: 1.5cqi;
  margin-left: auto;
  border-radius: 4px;
  background: #c3d2d8;
}

.device-tablet-balance {
  display: grid;
  gap: 4%;
  margin: 7% 6%;
  padding: 8%;
  border-radius: 4px;
  background: #e5f1ed;
}

.device-tablet-balance small,
.device-phone-balance small {
  color: #6a837e;
  font-size: 3.5cqi;
  letter-spacing: 0.04em;
}

.device-tablet-balance strong {
  font-size: 8cqi;
}

.device-tablet-balance span,
.device-phone-balance span {
  color: #168a67;
  font-size: 4cqi;
}

.device-tablet-account {
  display: flex;
  align-items: center;
  gap: 5%;
  margin: 0 6%;
  padding: 6% 1%;
  border-bottom: 1px solid #e2e9eb;
  font-size: 4cqi;
}

.device-tablet-account > span {
  flex: 1;
}

.device-tablet-account > strong {
  font-size: 4.2cqi;
}

.device-tablet-account > i {
  width: 8cqi;
  height: 8cqi;
}

.device-tablet-chart {
  height: 18%;
  margin: 4% 6% 0;
}

.phone-device {
  z-index: 3;
  right: 3%;
  bottom: 2%;
  width: 20%;
}

.phone-device .device-screen {
  aspect-ratio: 0.49;
  border: 5px solid #142b35;
  border-radius: 13px;
  background: #fff;
}

.device-phone-camera {
  position: absolute;
  z-index: 1;
  top: 2%;
  left: 38%;
  width: 24%;
  height: 2%;
  border-radius: 0 0 5px 5px;
  background: #142b35;
}

.device-phone-brand {
  display: flex;
  align-items: center;
  gap: 5%;
  padding: 11% 8% 7%;
  color: var(--brand-navy);
  font-size: 6cqi;
}

.device-phone-brand .device-brand-mark {
  width: 12cqi;
  height: 12cqi;
  font-size: 7cqi;
}

.device-phone-welcome {
  display: block;
  padding: 0 8%;
  color: #49616a;
  font-size: 5cqi;
}

.device-phone-balance {
  display: grid;
  gap: 4%;
  margin: 7% 6%;
  padding: 8%;
  border-radius: 5px;
  background: #e5f1ed;
}

.device-phone-balance strong {
  font-size: 10cqi;
}

.device-phone-account {
  display: flex;
  align-items: center;
  gap: 6%;
  margin: 0 8%;
  padding: 7% 0;
  border-bottom: 1px solid #e2e9eb;
  font-size: 5cqi;
  font-weight: 700;
}

.device-phone-account small {
  display: block;
  margin-top: 2px;
  color: #8a9ba1;
  font-size: 3.5cqi;
  font-weight: 400;
}

.device-phone-account > i {
  width: 12cqi;
  height: 12cqi;
  border-radius: 4px;
  background: #c7e6db;
}

.device-phone-nav {
  display: flex;
  justify-content: space-around;
  margin-top: 4%;
  padding: 6% 4%;
  border-top: 1px solid #e2e9eb;
}

.device-phone-nav i {
  width: 8cqi;
  height: 8cqi;
  border-radius: 50%;
  background: #d8e8e2;
}

.landing-devices-caption {
  width: min(540px, 100%);
  margin: 10px auto 0;
  text-align: center;
}

.landing-devices-caption .landing-section-label {
  color: #d2f3e8;
  font-size: 0.64rem;
}

.landing-devices-caption p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
}

.landing-products .landing-product-grid {
  align-content: center;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 32px clamp(18px, 2.4vw, 36px);
}

.landing-products .landing-product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 9px;
  border: 0;
  background: var(--panel-soft);
  box-shadow: none;
}

.landing-products .landing-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(23, 60, 50, 0.1);
}

.landing-products .landing-product-art {
  width: 100%;
  height: auto;
  aspect-ratio: 2.1;
  margin: 0 0 10px;
  object-fit: cover;
}

.landing-products .landing-product-card .feature-number {
  min-height: 2em;
  margin: 0 0 3px;
  color: #55727e;
  font-size: 0.53rem;
  letter-spacing: 0.08em;
}

.landing-products .landing-product-card h3 {
  min-height: 0;
  margin: 0 0 7px;
  color: var(--brand-teal);
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.2;
}

.landing-products .landing-product-card p {
  min-height: 5.4em;
  margin: 0 0 10px;
  color: #627783;
  font-size: 0.69rem;
  line-height: 1.48;
}

.landing-products .landing-product-card > a {
  align-items: center;
  margin-top: auto;
  padding: 9px 7px;
  border: 0;
  background: var(--brand-teal);
  color: #fff;
  font-size: 0.65rem;
  text-align: center;
}

.landing-products .landing-product-card > a:hover {
  background: var(--brand-navy);
  color: #fff;
}

@media (max-width: 1040px) {
  .landing-products {
    grid-template-columns: 1fr;
  }

  .landing-devices-panel {
    min-height: 390px;
    padding: 30px 24px;
  }

  .landing-device-stage {
    width: min(540px, 74vw);
    height: clamp(250px, 32vw, 310px);
  }

  .landing-products .landing-product-grid {
    width: min(100%, 880px);
    margin: 0 auto;
    padding: 28px 24px;
  }
}

@media (max-width: 640px) {
  .landing-products {
    margin-bottom: 52px;
  }

  .landing-devices-panel {
    min-height: 320px;
    padding: 20px 14px 22px;
  }

  .landing-device-stage {
    width: min(480px, 100%);
    height: 220px;
  }

  .landing-products .landing-product-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 18px;
  }

  .landing-products .landing-product-card {
    display: grid;
    grid-template-columns: minmax(100px, 0.72fr) minmax(0, 1.28fr);
    grid-template-rows: auto auto 1fr auto;
    column-gap: 13px;
    align-content: start;
    padding: 11px;
  }

  .landing-products .landing-product-art {
    grid-column: 1;
    grid-row: 1 / 5;
    align-self: center;
    height: auto;
    min-height: 0;
    aspect-ratio: 1.2;
    margin: 0;
  }

  .landing-products .landing-product-card .feature-number,
  .landing-products .landing-product-card h3,
  .landing-products .landing-product-card p,
  .landing-products .landing-product-card > a {
    grid-column: 2;
  }

  .landing-products .landing-product-card .feature-number {
    min-height: 0;
    font-size: 0.5rem;
  }

  .landing-products .landing-product-card h3 {
    font-size: 1rem;
  }

  .landing-products .landing-product-card p {
    min-height: 0;
    font-size: 0.68rem;
  }
}

.landing-account-discovery {
  width: 100%;
  margin: 0 0 72px;
  background: #fff;
}

.landing-account-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: min(940px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 54px;
}

.landing-account-category {
  display: flex;
  min-height: 120px;
  flex-direction: column;
  align-items: center;
  padding: 18px 14px 14px;
  border: 1px solid #d5e3e9;
  background: #fff;
  color: #233d4a;
  text-align: center;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.landing-account-category:hover {
  transform: translateY(-2px);
  border-color: #0b84ad;
  box-shadow: 0 8px 20px rgba(10, 78, 105, 0.1);
}

.landing-account-category h3 {
  margin: 0 0 10px;
  color: #172f32;
  font-family: "Manrope", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
}

.landing-account-category p {
  max-width: 220px;
  margin: 0 auto 10px;
  color: #71818a;
  font-size: 0.68rem;
  line-height: 1.5;
}

.landing-account-category > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: #087ba5;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.landing-account-category > span > span {
  font-size: 1rem;
  line-height: 0.8;
}

.landing-account-callout {
  display: grid;
  grid-template-columns: minmax(280px, 30%) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  min-height: 300px;
  padding: 26px max(24px, calc((100% - 1320px) / 2));
  background: var(--brand-navy);
}

.landing-account-callout > img {
  display: block;
  width: 100%;
  height: clamp(220px, 22vw, 300px);
  object-fit: cover;
  object-position: center 45%;
}

.landing-account-callout-copy {
  max-width: 900px;
  color: #fff;
}

.landing-account-callout-copy .landing-section-label {
  margin-bottom: 10px;
  color: #bcebdd;
  font-size: 0.65rem;
}

.landing-account-callout-copy h2 {
  margin: 0 0 14px;
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.landing-account-callout-copy p {
  max-width: 830px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  line-height: 1.65;
}

.landing-account-callout-copy > a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 18px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 3px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 150ms ease, color 150ms ease;
}

.landing-account-callout-copy > a:hover {
  background: #fff;
  color: #075d7c;
}

@media (max-width: 800px) {
  .landing-account-category-grid {
    gap: 14px;
    width: calc(100% - 36px);
    padding-bottom: 36px;
  }

  .landing-account-callout {
    grid-template-columns: minmax(220px, 36%) minmax(0, 1fr);
    gap: 22px;
    padding: 24px 18px;
  }

  .landing-account-callout > img {
    height: 240px;
  }
}

@media (max-width: 520px) {
  .landing-account-discovery {
    margin-bottom: 52px;
  }

  .landing-account-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: calc(100% - 36px);
    padding-bottom: 28px;
  }

  .landing-account-category {
    min-height: 126px;
    padding: 14px 10px 12px;
  }

  .landing-account-category h3 {
    font-size: 0.9rem;
  }

  .landing-account-category p {
    font-size: 0.65rem;
  }

  .landing-account-callout {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 18px 24px;
  }

  .landing-account-callout > img {
    height: 220px;
  }

  .landing-account-callout-copy h2 {
    font-size: 1.5rem;
  }
}

.landing-mobile-banking {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(0, 1fr);
  width: min(590px, calc(100% - 48px));
  min-height: 126px;
  margin: 0 auto 54px;
  border: 1px solid #e6eaeb;
  background: #fff;
}

.landing-mobile-banking-art {
  display: grid;
  min-height: 126px;
  place-items: center;
  background: var(--brand-navy);
}

.landing-app-phone {
  position: relative;
  display: grid;
  width: 48px;
  height: 82px;
  grid-template-columns: repeat(2, 1fr);
  align-content: center;
  gap: 5px;
  padding: 12px 6px 11px;
  border: 3px solid #243b45;
  border-radius: 9px;
  background: linear-gradient(145deg, #f8fbff, #dce8f0);
  box-shadow: 0 7px 14px rgba(0, 28, 44, 0.25);
  transform: rotate(-8deg);
}

.landing-app-phone-speaker {
  position: absolute;
  top: 4px;
  left: 17px;
  width: 9px;
  height: 2px;
  border-radius: 4px;
  background: #82949e;
}

.landing-app-phone-home {
  position: absolute;
  bottom: 3px;
  left: 18px;
  width: 6px;
  height: 6px;
  border: 1px solid #8798a0;
  border-radius: 50%;
}

.landing-app-icon {
  display: grid;
  width: 13px;
  height: 13px;
  place-items: center;
  border-radius: 4px;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
}

.landing-app-icon-one {
  background: var(--brand-navy);
}

.landing-app-icon-two {
  background: var(--brand-teal);
}

.landing-app-icon-three {
  background: #e7af38;
}

.landing-app-icon-four {
  background: #5578c8;
}

.landing-mobile-banking-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 16px;
}

.landing-mobile-banking-copy > span {
  color: #08779d;
  font-size: 0.68rem;
  font-weight: 800;
}

.landing-mobile-banking-copy h2 {
  margin: 4px 0 4px;
  color: #263d49;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 500;
  line-height: 1.2;
}

.landing-mobile-banking-copy p {
  margin: 0 0 9px;
  color: #71818a;
  font-size: 0.66rem;
  line-height: 1.45;
}

.landing-app-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.landing-app-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 3px 7px;
  border-radius: 4px;
  background: #173a43;
  color: #fff;
  text-decoration: none;
}

.landing-app-link-mark {
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 50%;
  background: #d3b451;
  color: #14594d;
  font-size: 0.7rem;
  font-weight: 800;
}

.landing-app-link > span:last-child {
  display: grid;
  line-height: 1.05;
}

.landing-app-link small {
  font-size: 0.4rem;
  letter-spacing: 0.04em;
}

.landing-app-link strong {
  font-size: 0.56rem;
}

.landing-app-download {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  padding: 0 9px;
  background: #bdd400;
  color: #153a33;
  font-size: 0.58rem;
  font-weight: 800;
  text-decoration: none;
}

.landing-app-download:hover {
  background: #d4e539;
}

.landing-footer {
  background: var(--brand-navy);
  color: rgba(255, 255, 255, 0.8);
}

.landing-footer-contact {
  width: 100%;
  background: var(--brand-lime);
}

.landing-footer-contact-inner {
  display: flex;
  min-height: 40px;
  align-items: center;
  gap: clamp(16px, 4vw, 54px);
  width: min(960px, calc(100% - 48px));
  margin: 0 auto;
  color: #fff;
}

.landing-footer-contact-prompt {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 700;
}

.landing-footer-contact-avatar {
  display: block;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  margin-top: -6px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: #d8efe4;
}

.landing-footer-contact-avatar svg {
  display: block;
  width: 100%;
  height: 100%;
}

.landing-footer-contact-inner > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: 0.64rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.landing-footer-contact-inner > a:hover {
  text-decoration: underline;
}

.landing-footer-main {
  grid-template-columns: minmax(210px, 1.45fr) repeat(3, minmax(105px, 0.8fr));
  gap: clamp(20px, 4vw, 58px);
  width: min(960px, calc(100% - 48px));
  padding: 54px 0 38px;
}

.landing-footer-about p,
.landing-footer-column p {
  max-width: 210px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.68rem;
}

.landing-footer .footer-brand {
  gap: 9px;
  font-size: 0.86rem;
}

.landing-footer .footer-brand .brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.landing-footer-login {
  color: #d6e783;
  font-size: 0.68rem;
}

.landing-footer-socials {
  display: flex;
  gap: 6px;
  margin-top: 15px;
}

.landing-footer-socials a {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #0a6b63;
  font-size: 0.65rem;
  font-weight: 800;
  text-decoration: none;
}

.landing-footer-socials a:hover {
  background: #d6e783;
}

.landing-footer-column {
  gap: 10px;
}

.landing-footer-column h2 {
  margin-bottom: 5px;
  color: #fff;
  font-size: 0.8rem;
}

.landing-footer-column a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.67rem;
}

.landing-footer-column a:hover,
.landing-footer-bottom a:hover {
  color: #d6e783;
}

.landing-footer-bottom {
  width: min(960px, calc(100% - 48px));
  padding: 14px 0 18px;
  border-color: rgba(255, 255, 255, 0.13);
  font-size: 0.62rem;
}

@media (max-width: 800px) {
  .landing-footer-main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 22px;
  }

  .landing-footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .landing-mobile-banking {
    grid-template-columns: 90px minmax(0, 1fr);
    width: calc(100% - 36px);
    margin-bottom: 36px;
  }

  .landing-mobile-banking-art {
    min-height: 150px;
  }

  .landing-mobile-banking-copy {
    padding: 11px;
  }

  .landing-mobile-banking-copy h2 {
    font-size: 1rem;
  }

  .landing-mobile-banking-copy p {
    font-size: 0.62rem;
  }

  .landing-app-links {
    gap: 5px;
  }

  .landing-app-download {
    min-height: 25px;
    padding: 0 7px;
    font-size: 0.52rem;
  }

  .landing-footer-contact-inner {
    min-height: 54px;
    flex-wrap: wrap;
    gap: 8px 14px;
    width: calc(100% - 36px);
    padding: 8px 0;
  }

  .landing-footer-contact-prompt {
    flex: 1 0 100%;
    font-size: 0.68rem;
  }

  .landing-footer-contact-avatar {
    width: 36px;
    height: 36px;
  }

  .landing-footer-contact-inner > a {
    font-size: 0.62rem;
  }

  .landing-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 18px;
    width: calc(100% - 36px);
    padding: 34px 0 28px;
  }

  .landing-footer-about {
    grid-column: 1 / -1;
  }

  .landing-footer-bottom {
    width: calc(100% - 36px);
  }
}

.banking-card-image {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  height: 150px;
  max-width: 100%;
  margin: 0 0 18px;
  object-fit: cover;
  border-radius: 6px;
}

.personal-next-step,
.business-support {
  padding: 48px 24px;
  background: var(--teal-soft);
  text-align: center;
}

.personal-next-step > *,
.business-support > * {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
}

.personal-next-step h2,
.business-support h2 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--brand-navy);
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.personal-next-step > p,
.business-support > p {
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.personal-next-step > div,
.business-support > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 22px;
}

.banking-disclaimer {
  padding-top: 30px;
}

.public-nav .landing-main-links {
  gap: clamp(8px, 1.35vw, 18px);
}

.public-nav .landing-main-links > a[aria-current="page"] {
  color: var(--brand-lime);
}

.site-content-section {
  width: min(880px, calc(100% - 48px));
  margin: 0 auto;
  padding: 54px 0;
}

.site-content-section > .landing-section-label,
.site-feature-split .landing-section-label,
.personal-next-step .landing-section-label {
  display: block;
  margin-bottom: 9px;
  color: var(--brand-teal);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.site-content-section > h2,
.site-feature-split h2 {
  margin: 0 0 14px;
  color: var(--brand-navy);
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.site-content-section > p,
.site-feature-split p {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.site-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 25px;
}

.site-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 24px rgba(13, 60, 71, 0.05);
  text-decoration: none;
}

.site-card h3 {
  margin: 0 0 8px;
  color: var(--brand-navy);
  font-family: "Manrope", sans-serif;
  font-size: 0.98rem;
}

.site-card p {
  flex: 1;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.65;
}

.site-card > a,
.site-card > span:last-child {
  color: var(--brand-teal);
  font-size: 0.74rem;
  font-weight: 800;
  text-decoration: none;
}

.site-card:hover {
  border-color: var(--brand-teal);
  transform: translateY(-2px);
}

.site-card-label {
  margin-bottom: 10px;
  color: var(--brand-teal);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.site-feature-split {
  display: grid;
  grid-template-columns: minmax(220px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(26px, 5vw, 56px);
  padding: 48px max(24px, calc((100% - 880px) / 2));
  background: var(--bg-strong);
}

.site-feature-split > img {
  display: block;
  width: 100%;
  max-height: 340px;
  aspect-ratio: 1.15;
  object-fit: cover;
  box-shadow: 0 14px 32px rgba(13, 60, 71, 0.1);
}

.site-feature-split ul {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.site-feature-split li::marker {
  color: var(--brand-teal);
}

.site-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.site-link-row a {
  color: var(--brand-teal);
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-faq-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.site-faq-list details {
  padding: 17px 19px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
}

.site-faq-list summary {
  color: var(--brand-navy);
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}

.site-faq-list details p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.65;
}

.mobile-page-art {
  display: grid;
  min-height: 300px;
  place-items: center;
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 43%, rgba(201, 221, 78, 0.35), transparent 38%),
    linear-gradient(140deg, #dcefeb, #f3f7ef);
}

.mobile-page-art .landing-app-phone {
  position: relative;
  inset: auto;
  transform: scale(1.18);
}

@media (max-width: 800px) {
  .site-feature-split {
    grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1.28fr);
    gap: 24px;
    padding-right: 24px;
    padding-left: 24px;
  }

  .site-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .site-content-section {
    width: calc(100% - 36px);
    padding: 42px 0;
  }

  .site-card-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .site-feature-split {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 38px 18px;
  }

  .site-feature-split > img {
    max-height: 280px;
    aspect-ratio: 1.3;
  }

  .mobile-page-art {
    min-height: 280px;
  }

  .banking-card-image {
    height: 170px;
  }

  .personal-next-step,
  .business-support {
    padding: 38px 18px;
  }

  .personal-next-step > div,
  .business-support > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
}

.landing-body {
  --aventra-navy: var(--brand-navy);
  --aventra-teal: var(--brand-teal);
  --aventra-lime: var(--brand-lime);
}

.landing-utility-bar {
  background: var(--aventra-navy);
}

.landing-brand-row {
  background: linear-gradient(105deg, var(--aventra-navy) 0%, var(--aventra-teal) 100%);
}

.landing-nav {
  background: var(--aventra-teal);
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 350px);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  min-height: 530px;
  padding-top: 56px;
  padding-bottom: 56px;
  background: var(--aventra-navy);
}

.landing-hero-shade {
  background:
    linear-gradient(90deg, rgba(13, 60, 71, 0.91) 0%, rgba(13, 60, 71, 0.78) 43%, rgba(13, 60, 71, 0.48) 72%, rgba(13, 60, 71, 0.38) 100%),
    linear-gradient(0deg, rgba(5, 28, 29, 0.22), transparent 58%);
}

.landing-copy {
  width: min(100%, 620px);
}

.landing-kicker,
.landing-copy h1 span,
.landing-section-label {
  color: #d3e779;
}

.landing-quick-actions {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 13px;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(8, 53, 67, 0.91);
  box-shadow: 0 18px 42px rgba(4, 28, 37, 0.26);
  color: #fff;
  backdrop-filter: blur(8px);
}

.landing-quick-actions-label {
  color: #d3e779;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.landing-quick-actions h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 1.45rem;
  letter-spacing: -0.035em;
}

.landing-quick-actions > p {
  margin: -6px 0 3px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  line-height: 1.5;
}

.landing-quick-actions a {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 11px;
  padding: 0 14px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 150ms ease, transform 150ms ease;
}

.landing-quick-actions a:hover {
  transform: translateY(-1px);
}

.landing-quick-actions a svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.landing-quick-actions a > span:nth-child(2) {
  flex: 1;
}

.landing-quick-login {
  background: var(--aventra-lime);
  color: var(--aventra-navy);
}

.landing-quick-login:hover {
  background: #d2e52d;
}

.landing-quick-open {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: #fff;
  color: var(--aventra-navy);
}

.landing-quick-open:hover {
  background: #edf6f6;
}

.landing-quick-note {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.66rem;
  line-height: 1.5;
}

@media (max-width: 800px) {
  .landing-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    min-height: 0;
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .landing-quick-actions {
    width: min(100%, 480px);
  }
}

@media (max-width: 600px) {
  .landing-hero {
    gap: 25px;
    padding-top: 44px;
    padding-bottom: 45px;
  }

  .landing-hero-shade {
    background:
      linear-gradient(90deg, rgba(13, 60, 71, 0.9), rgba(13, 60, 71, 0.62)),
      linear-gradient(0deg, rgba(5, 28, 29, 0.38), transparent 70%);
  }

  .landing-quick-actions {
    gap: 11px;
    padding: 20px;
  }
}

.investment-page-title {
  padding: 8px max(24px, calc((100% - 880px) / 2));
  background: var(--panel);
}

.investment-page-title h1 {
  margin: 0;
  color: var(--brand-navy);
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 600;
}

.investment-hero {
  background: var(--bg-strong);
}

.investment-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  width: min(880px, calc(100% - 48px));
  min-height: 300px;
  margin: 0 auto;
  padding: 34px 0;
}

.investment-hero-copy {
  max-width: 430px;
}

.investment-eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--brand-teal);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.investment-hero-copy h2,
.investment-intro h2,
.investment-why h2,
.investment-options h2 {
  margin: 0 0 12px;
  color: var(--brand-navy);
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.55rem, 2.5vw, 2.1rem);
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.investment-hero-copy p,
.investment-intro p,
.investment-why p,
.investment-options-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.investment-hero-inner > img {
  display: block;
  width: 100%;
  max-height: 300px;
  aspect-ratio: 1.65;
  object-fit: cover;
  box-shadow: 0 14px 32px rgba(13, 60, 71, 0.12);
}

.investment-primary-link,
.investment-option-card > a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 16px;
  border-radius: 4px;
  background: var(--brand-teal);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 150ms ease, transform 150ms ease;
}

.investment-primary-link:hover,
.investment-option-card > a:hover {
  transform: translateY(-1px);
  background: var(--brand-navy);
}

.investment-intro {
  width: min(880px, calc(100% - 48px));
  margin: 0 auto;
  padding: 60px 0 64px;
}

.investment-intro .landing-section-label,
.investment-why .landing-section-label,
.investment-options .landing-section-label {
  display: block;
  margin-bottom: 9px;
  color: var(--brand-teal);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.investment-intro h2 {
  max-width: 680px;
}

.investment-intro p {
  max-width: 760px;
  margin-bottom: 0;
}

.investment-why {
  background: var(--bg-strong);
}

.investment-why-inner {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(24px, 4vw, 44px);
  width: min(880px, calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0;
}

.investment-why-inner > img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.investment-why h2 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.investment-why p {
  margin-bottom: 8px;
  font-size: 0.82rem;
}

.investment-why ul {
  display: grid;
  gap: 7px;
  margin: 0 0 17px;
  padding-left: 19px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.investment-why li::marker {
  color: var(--brand-teal);
}

.investment-inline-link {
  color: var(--brand-teal);
  font-size: 0.77rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.investment-inline-link:hover {
  color: var(--brand-navy);
}

.investment-options {
  width: min(880px, calc(100% - 48px));
  margin: 0 auto;
  padding: 54px 0 48px;
}

.investment-options-copy {
  max-width: 700px;
  margin-bottom: 30px;
}

.investment-options-copy p {
  margin-bottom: 12px;
  font-size: 0.82rem;
}

.investment-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.investment-option-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 24px rgba(13, 60, 71, 0.05);
}

.investment-option-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--brand-teal);
}

.investment-option-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.investment-option-card h3 {
  margin: 0 0 9px;
  color: var(--brand-navy);
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
}

.investment-option-card p {
  flex: 1;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.investment-option-card > a {
  width: 100%;
}

.investment-disclaimer {
  width: min(880px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 38px;
}

.investment-disclaimer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.6;
}

@media (max-width: 800px) {
  .investment-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.9fr);
    gap: 26px;
  }

  .investment-why-inner {
    grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1.28fr);
    gap: 22px;
  }

}

@media (max-width: 600px) {
  .investment-page-title {
    padding: 10px 18px;
  }

  .investment-hero-inner,
  .investment-why-inner {
    grid-template-columns: 1fr;
    width: calc(100% - 36px);
    gap: 22px;
    padding: 28px 0;
  }

  .investment-hero-inner > img {
    max-height: 260px;
  }

  .investment-intro,
  .investment-options,
  .investment-disclaimer {
    width: calc(100% - 36px);
  }

  .investment-intro {
    padding: 42px 0;
  }

  .investment-why-inner > img {
    max-height: 300px;
  }

  .investment-options {
    padding: 42px 0 32px;
  }

  .investment-option-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

}

.loan-hero-note {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.5;
}

.loan-benefits {
  background: var(--panel);
}

.loan-benefits-inner,
.loan-online-inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(26px, 5vw, 58px);
  width: min(880px, calc(100% - 48px));
  margin: 0 auto;
  padding: 54px 0;
}

.loan-benefits-inner > img,
.loan-online-inner > img {
  display: block;
  width: 100%;
  aspect-ratio: 1.05;
  object-fit: cover;
  box-shadow: 0 14px 32px rgba(13, 60, 71, 0.1);
}

.loan-benefits h2,
.loan-section-heading h2,
.loan-online h2,
.loan-perks h2 {
  margin: 0 0 12px;
  color: var(--brand-navy);
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.loan-benefits-copy > p,
.loan-section-heading > p,
.loan-online-inner > div > p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.loan-benefit-list {
  display: grid;
  gap: 9px;
  margin: 0 0 20px;
  padding: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
  list-style: none;
}

.loan-benefit-list li {
  position: relative;
  padding-left: 22px;
}

.loan-benefit-list li::before {
  position: absolute;
  top: 0.05em;
  left: 0;
  color: var(--brand-teal);
  content: "✓";
  font-weight: 800;
}

.loan-uses {
  width: min(880px, calc(100% - 48px));
  margin: 0 auto;
  padding: 54px 0;
}

.loan-section-heading {
  max-width: 690px;
  margin-bottom: 26px;
}

.loan-section-heading > p {
  margin-bottom: 0;
}

.loan-use-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.loan-use-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.loan-use-number {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--brand-teal);
  font-size: 0.72rem;
  font-weight: 800;
}

.loan-use-card h3,
.loan-perk-grid h3 {
  margin: 0 0 8px;
  color: var(--brand-navy);
  font-family: "Manrope", sans-serif;
  font-size: 0.94rem;
}

.loan-use-card p,
.loan-perk-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.65;
}

.loan-terms {
  background: var(--bg-strong);
}

.loan-terms-inner {
  width: min(880px, calc(100% - 48px));
  margin: 0 auto;
  padding: 54px 0 48px;
}

.loan-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 28px 0 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.loan-facts > div {
  min-width: 0;
  padding: 17px 19px;
  background: var(--panel);
}

.loan-facts dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
}

.loan-facts dd {
  margin: 0;
  color: var(--brand-navy);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.5;
}

.loan-terms-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.6;
}

.loan-options {
  padding-top: 58px;
  padding-bottom: 58px;
}

.loan-options .investment-option-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.loan-online {
  background: var(--bg-strong);
}

.loan-online-inner {
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr);
}

.loan-online-inner > img {
  aspect-ratio: 1.2;
}

.loan-online .investment-primary-link {
  margin-top: 2px;
}

.loan-perks {
  width: min(880px, calc(100% - 48px));
  margin: 0 auto;
  padding: 56px 0;
}

.loan-perk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 18px;
}

.loan-perk-grid article {
  min-width: 0;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.loan-perk-grid article > span {
  display: block;
  margin-bottom: 11px;
  color: var(--brand-teal);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.loan-disclaimer {
  padding-bottom: 38px;
}

@media (max-width: 800px) {
  .loan-benefits-inner,
  .loan-online-inner {
    gap: 24px;
  }

  .loan-use-grid,
  .loan-perk-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .loan-benefits-inner,
  .loan-online-inner {
    grid-template-columns: 1fr;
    width: calc(100% - 36px);
    gap: 22px;
    padding: 40px 0;
  }

  .loan-benefits-inner > img,
  .loan-online-inner > img {
    max-height: 300px;
    aspect-ratio: 1.3;
  }

  .loan-uses,
  .loan-terms-inner,
  .loan-perks {
    width: calc(100% - 36px);
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .loan-use-grid,
  .loan-options .investment-option-grid,
  .loan-perk-grid,
  .loan-facts {
    grid-template-columns: 1fr;
  }

  .loan-use-grid,
  .loan-options .investment-option-grid {
    gap: 12px;
  }

  .loan-options {
    width: calc(100% - 36px);
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .loan-facts > div {
    padding: 14px 16px;
  }
}

.landing-body {
  background:
    radial-gradient(circle at 79% 23%, rgba(15, 127, 122, 0.1), transparent 29%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-strong) 100%);
  color: var(--brand-navy);
}

.landing-savings-copy h2,
.landing-products-heading h2,
.landing-product-card h3,
.landing-account-category h3,
.landing-intro h2,
.landing-feature h3,
.landing-mobile-banking-copy h2 {
  color: var(--brand-navy);
}

.landing-savings-copy p,
.landing-product-card p,
.landing-account-category p,
.landing-intro > p,
.landing-feature p,
.landing-mobile-banking-copy p {
  color: var(--muted);
}

.landing-products,
.landing-account-discovery {
  background: var(--panel);
}

.landing-product-card,
.landing-account-category,
.landing-feature,
.landing-mobile-banking {
  border-color: var(--line);
  background: var(--panel-soft);
}

.landing-products .landing-product-card {
  border-color: var(--line);
  background: var(--panel-soft);
}

.landing-product-card > a,
.landing-account-category > span,
.landing-intro h2 span,
.landing-mobile-banking-copy > span {
  color: var(--brand-teal);
}

.landing-product-card > a {
  border-color: var(--brand-teal);
}

.landing-product-card > a:hover {
  color: var(--brand-navy);
}

.landing-products-heading > a:hover {
  background: var(--teal-soft);
}

.landing-account-category {
  border-color: var(--line);
  color: var(--brand-navy);
}

.landing-account-category:hover {
  border-color: var(--brand-teal);
  box-shadow: 0 8px 20px rgba(13, 60, 71, 0.1);
}

.landing-account-callout {
  background: var(--brand-navy);
}

.landing-account-callout-copy > a:hover {
  color: var(--brand-navy);
}

.landing-feature:hover {
  border-color: rgba(15, 127, 122, 0.35);
  box-shadow: 0 14px 28px rgba(13, 60, 71, 0.08);
}

.feature-icon-blue {
  color: var(--brand-teal);
  background: var(--teal-soft);
}

.landing-bottom-cta {
  background: var(--brand-navy);
}

.landing-bottom-cta .landing-section-label {
  color: var(--brand-lime);
}

.landing-cta-light {
  border-color: var(--brand-lime);
  background: var(--brand-lime);
  color: var(--brand-navy);
}

.landing-cta-light:hover {
  border-color: #d2e52d;
  background: #d2e52d;
  color: var(--brand-navy);
}

.landing-mobile-banking {
  border-color: var(--line);
}

.landing-app-icon-three,
.landing-app-link-mark {
  background: var(--brand-lime);
  color: var(--brand-navy);
}

.landing-app-icon-four {
  background: var(--brand-teal);
}

.landing-app-link {
  background: var(--brand-navy);
}

.landing-app-download {
  background: var(--brand-lime);
  color: var(--brand-navy);
}

.landing-app-download:hover {
  background: #d2e52d;
}

.landing-footer-contact,
.landing-footer-contact-inner {
  color: var(--brand-navy);
}

.landing-savings-promo .landing-section-label,
.landing-products-heading .landing-section-label,
.landing-account-discovery > .landing-section-label,
.landing-intro .landing-section-label,
.landing-features .landing-section-label {
  color: var(--brand-teal);
}

.landing-products .landing-product-card .feature-number {
  color: var(--muted);
}

.landing-products .landing-product-card h3 {
  color: var(--brand-navy);
}

.landing-products .landing-product-card p {
  color: var(--muted);
}

/* Enhanced Aventra support concierge */
.support-chat-launcher {
  animation: support-chat-launcher-arrive 420ms cubic-bezier(.2,.8,.2,1) both, support-chat-launcher-breathe 3.8s ease-in-out 1.4s infinite;
}

.support-chat-welcome {
  position: relative;
  padding-right: 48px;
}

.support-chat-welcome-avatar {
  position: absolute;
  right: 3px;
  top: 5px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(15,127,122,.18);
  border-radius: 50%;
  background: linear-gradient(145deg, #fff, #dff1ec);
  box-shadow: 0 7px 18px rgba(13,60,71,.12);
  animation: support-chat-avatar-wave 2.8s ease-in-out 600ms infinite;
}

.support-chat-welcome-avatar span { font-size: 16px; }

.support-chat-faq {
  display: grid;
  gap: 7px;
}

.support-chat-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0 2px;
  color: var(--brand-navy);
}

.support-chat-section-heading strong { font-size: .76rem; }
.support-chat-section-heading span { color: #82908c; font-size: .61rem; }
.support-chat-faq article {
  overflow: hidden;
  border: 1px solid #dfe8e4;
  border-radius: 8px;
  background: #fff;
}

.support-chat-faq-question {
  display: flex;
  width: 100%;
  min-height: 39px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 11px;
  border: 0;
  background: transparent;
  color: var(--brand-navy);
  font-size: .72rem;
  font-weight: 700;
  text-align: left;
}

.support-chat-faq-question i {
  color: var(--brand-teal);
  font-size: 1rem;
  font-style: normal;
  transition: transform 180ms ease;
}

.support-chat-faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 11px;
  opacity: 0;
  transition: max-height 220ms ease, padding 220ms ease, opacity 180ms ease;
}

.support-chat-faq article.is-open .support-chat-faq-answer {
  max-height: 140px;
  padding: 0 11px 11px;
  opacity: 1;
}
.support-chat-faq article.is-open .support-chat-faq-question i { transform: rotate(180deg); }
.support-chat-faq-answer p { margin: 0; color: #667770; font-size: .68rem; line-height: 1.45; }
.support-chat-faq-answer a { display: inline-block; margin-top: 5px; color: var(--brand-teal); font-size: .65rem; font-weight: 800; text-decoration: none; }

.support-chat-suggestions {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 9px 11px 0;
  scrollbar-width: none;
}
.support-chat-suggestions::-webkit-scrollbar { display: none; }
.support-chat-suggestions button {
  flex: 0 0 auto;
  min-height: 31px;
  padding: 0 10px;
  border: 1px solid #c8ddd6;
  border-radius: 999px;
  background: #fff;
  color: var(--brand-teal);
  font-size: .65rem;
  font-weight: 700;
}
.support-chat-suggestions button:hover { background: #e7f2ef; }

.support-chat-message:first-child {
  position: relative;
  border-left: 3px solid var(--brand-teal);
}

.support-chat-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 14px;
}
.support-chat-typing[hidden] { display: none; }
.support-chat-typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-teal);
  animation: support-chat-dot-bounce 1s infinite ease-in-out;
}
.support-chat-typing span:nth-child(2) { animation-delay: 120ms; }
.support-chat-typing span:nth-child(3) { animation-delay: 240ms; }
.support-chat-typing em { margin-left: 5px; color: #71817c; font-size: .62rem; font-style: normal; }

@keyframes support-chat-launcher-breathe {
  0%, 100% { box-shadow: 0 10px 24px rgba(13,60,71,.22); }
  50% { box-shadow: 0 10px 28px rgba(15,127,122,.38), 0 0 0 7px rgba(15,127,122,.07); }
}
@keyframes support-chat-avatar-wave {
  0%, 74%, 100% { transform: rotate(0deg); }
  80% { transform: rotate(-8deg) scale(1.04); }
  88% { transform: rotate(8deg) scale(1.04); }
}
@keyframes support-chat-dot-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .55; }
  30% { transform: translateY(-4px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .support-chat-launcher,
  .support-chat-welcome-avatar,
  .support-chat-typing span { animation: none !important; }
}
