:root {
  color: #18201c;
  background: #f4f5f5;
  font-family:
    Inter,
    "SF Pro Display",
    "SF Pro Text",
    "Segoe UI",
    "Microsoft YaHei UI",
    "Microsoft YaHei",
    system-ui,
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -12%, rgba(255, 255, 255, 0.92), transparent 34%),
    linear-gradient(180deg, #fbfcfb 0%, #f1f3f2 42%, #e9ecea 100%);
}

button,
input {
  font: inherit;
}

button {
  border: 0;
}

.app-shell {
  position: relative;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr) 360px;
  gap: 16px;
  min-height: 100vh;
  padding: 76px 16px 16px;
}

.money-island {
  position: absolute;
  top: 16px;
  left: 50%;
  z-index: 30;
  display: grid;
  grid-template-columns: 14px auto 1px minmax(0, auto) auto;
  align-items: center;
  gap: 12px;
  min-width: 430px;
  max-width: min(720px, calc(100vw - 32px));
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #f7fbf8;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), transparent 44%),
    #090b0a;
  box-shadow:
    0 26px 80px rgba(8, 10, 9, 0.32),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  padding: 7px 12px;
  transform: translateX(-50%);
  backdrop-filter: blur(28px) saturate(1.25);
}

.island-sensor {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 35%, #7cf2bc, #14a667 52%, #043a25 100%);
  box-shadow: 0 0 18px rgba(20, 166, 103, 0.66);
}

.island-copy {
  display: grid;
  gap: 1px;
}

.island-copy small {
  color: rgba(246, 250, 247, 0.58);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.island-copy strong {
  color: #ffffff;
  font-size: 17px;
  font-weight: 790;
  letter-spacing: 0;
  line-height: 1;
}

.island-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.14);
}

.island-detail {
  overflow: hidden;
  color: rgba(246, 250, 247, 0.78);
  font-size: 13px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.island-pulse {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #d8fbe8;
  font-size: 12px;
  font-weight: 760;
  padding: 0 10px;
}

.island-pulse i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #68e9aa;
  box-shadow: 0 0 12px rgba(104, 233, 170, 0.74);
}

.sidebar,
.detail-panel,
.panel,
.agent-panel,
.bank-panel,
.experience-panel,
.hero-panel,
.quest-panel,
.proof-panel,
.list-panel,
.connection-card,
.todo-card,
.vault-card,
.leak-card,
.pricing-card,
.search-box {
  border: 1px solid rgba(24, 32, 28, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    0 20px 60px rgba(24, 32, 28, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(22px) saturate(1.08);
}

.sidebar {
  position: sticky;
  top: 76px;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 92px);
  padding: 16px;
  background: rgba(255, 255, 255, 0.66);
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #0b0e0c;
  background:
    linear-gradient(145deg, #ffffff, #dce6df),
    #e7f7ee;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.side-nav {
  display: grid;
  gap: 6px;
  margin-top: 18px;
}

.mobile-nav {
  display: none;
}

.language-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 18px;
  padding: 4px;
  border: 1px solid rgba(24, 32, 28, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.language-switch button {
  min-height: 30px;
  border-radius: 6px;
  color: #657069;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 720;
}

.language-switch button.is-active {
  color: #0c613e;
  background: #e7f7ee;
}

.nav-item,
.ghost-button,
.secondary-button,
.action-row button,
.filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  border-radius: 8px;
  color: #405046;
  background: transparent;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    transform 160ms ease,
    border-color 160ms ease;
}

.nav-item {
  justify-content: flex-start;
  padding: 0 10px;
}

.nav-item.is-active,
.filter-pill.is-active {
  color: #0c613e;
  background: linear-gradient(145deg, rgba(231, 247, 238, 0.96), rgba(255, 255, 255, 0.82));
  box-shadow: inset 0 0 0 1px rgba(20, 166, 103, 0.12);
}

.nav-item:hover,
.filter-pill:hover,
.ghost-button:hover,
.secondary-button:hover,
.action-row button:hover {
  transform: translateY(-1px);
}

.icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.sidebar-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: #6a746e;
  font-size: 13px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #14a667;
}

.content {
  container-type: inline-size;
  min-width: 0;
  padding-bottom: 24px;
}

.compliance-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  border-top: 1px solid rgba(24, 32, 28, 0.1);
  padding: 18px 2px 0;
  color: #6a746e;
  font-size: 12px;
  font-weight: 720;
}

.compliance-footer span {
  margin-right: auto;
}

.compliance-footer a {
  color: inherit;
  text-decoration: none;
}

.compliance-footer a:hover {
  color: var(--accent);
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
  padding: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(244, 247, 245, 0.74)),
    #fbfbf8;
}

.hero-copy h1,
.view-header h1 {
  margin: 0;
  max-width: 720px;
  color: #131915;
  font-size: 44px;
  font-weight: 780;
  letter-spacing: 0;
  line-height: 1.02;
}

.view-header h1 {
  font-size: 34px;
}

.subtitle {
  max-width: 680px;
  margin: 12px 0 0;
  color: #626c66;
  font-size: 15px;
  line-height: 1.55;
}

.eyebrow {
  margin: 0 0 8px;
  color: #758078;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.mode-banner {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 16px;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 13px;
}

.mode-banner span {
  color: #59645d;
}

.hero-actions button,
.waitlist-form button,
.proof-heading button,
.pricing-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  padding: 0 14px;
  color: #ffffff;
  background: #111812;
  cursor: pointer;
  font-weight: 730;
}

.savings-card {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 190px;
  padding: 20px;
  border-radius: 8px;
  color: #10251b;
  background:
    radial-gradient(circle at 84% 14%, rgba(20, 166, 103, 0.2), transparent 26%),
    linear-gradient(145deg, #ffffff, #e8f4ee 78%);
  border: 1px solid rgba(20, 166, 103, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.savings-card strong {
  font-size: 52px;
  letter-spacing: 0;
  line-height: 1;
}

.metric-label,
.metric-note {
  color: #456050;
  font-size: 13px;
  font-weight: 680;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 16px;
}

.experience-panel {
  margin-top: 16px;
  padding: 18px;
}

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

.step-grid article,
.report-grid article,
.timing-list div {
  border: 1px solid rgba(24, 32, 28, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  padding: 14px;
}

.step-grid span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #111812;
  color: #ffffff;
  font-weight: 820;
}

.step-grid strong,
.report-grid strong,
.timing-list strong {
  display: block;
  margin-top: 12px;
  color: #18201c;
  font-size: 18px;
}

.report-grid strong {
  color: #0e764c;
  font-size: 28px;
}

.step-grid p,
.report-grid p,
.timing-list p {
  margin: 8px 0 0;
  color: #657069;
  font-size: 13px;
  line-height: 1.45;
}

.bank-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 18px;
  margin-top: 16px;
  padding: 18px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(232, 247, 239, 0.72)),
    #f7fbf8;
}

.bank-panel h2 {
  margin: 4px 0 0;
  font-size: 18px;
}

.bank-panel strong {
  display: block;
  margin-top: 10px;
  color: #0e764c;
  font-size: 44px;
  line-height: 1;
}

.bank-panel p {
  max-width: 580px;
  margin: 10px 0 0;
  color: #657069;
}

.bank-meter {
  align-self: center;
  height: 12px;
  border-radius: 999px;
  background: rgba(24, 32, 28, 0.1);
  overflow: hidden;
}

.bank-meter span {
  display: block;
  width: var(--progress);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #14a667, #68e9aa);
}

.bank-meta {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.bank-meta span {
  min-height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  color: #405046;
  font-size: 13px;
  font-weight: 720;
  padding: 10px;
}

.proof-panel {
  display: grid;
  gap: 18px;
  margin-top: 16px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(9, 11, 10, 0.95), rgba(17, 28, 22, 0.92)),
    #090b0a;
  color: #f7fbf8;
}

.proof-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 16px;
}

.proof-heading .eyebrow {
  color: rgba(216, 251, 232, 0.76);
}

.proof-heading h2 {
  max-width: 760px;
  margin: 4px 0 0;
  color: #ffffff;
  font-size: 24px;
  line-height: 1.12;
}

.proof-heading button {
  background: #d8fbe8;
  color: #07100b;
}

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

.proof-card {
  min-height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  padding: 14px;
}

.proof-card span {
  color: rgba(246, 250, 247, 0.62);
  font-size: 12px;
  font-weight: 760;
}

.proof-card strong {
  display: block;
  margin-top: 18px;
  color: #68e9aa;
  font-size: 34px;
  line-height: 1;
}

.proof-card p {
  margin: 12px 0 0;
  color: rgba(246, 250, 247, 0.72);
  font-size: 13px;
  line-height: 1.45;
}

.testimonial-panel {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(240, 247, 243, 0.76)),
    var(--surface-tint);
}

.testimonial-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.testimonial-head h2 {
  max-width: 720px;
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.14;
}

.testimonial-head > span {
  min-height: 30px;
  border-radius: 999px;
  background: #e7f7ef;
  color: #0e764c;
  font-size: 12px;
  font-weight: 820;
  padding: 7px 11px;
  white-space: nowrap;
}

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

.testimonial-card {
  display: grid;
  gap: 14px;
  min-height: 172px;
  border: 1px solid rgba(24, 32, 28, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.58));
  padding: 14px;
}

.testimonial-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.testimonial-card span {
  color: var(--accent);
  font-size: 28px;
  font-weight: 860;
  line-height: 1;
}

.testimonial-card strong {
  color: var(--ink);
  font-size: 13px;
  text-align: right;
}

.testimonial-card p {
  color: #2d3831;
  font-size: 14px;
  line-height: 1.5;
}

.testimonial-card small {
  align-self: end;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.review-form {
  display: grid;
  grid-template-columns: 1.1fr minmax(0, 1.4fr) auto;
  gap: 10px;
  align-items: end;
  border: 1px solid rgba(24, 32, 28, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.62));
  padding: 14px;
}

.review-form-copy {
  display: grid;
  gap: 4px;
}

.review-form-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.review-form-copy small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.review-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 8px;
}

.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  border: 1px solid rgba(24, 32, 28, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  outline: none;
  padding: 11px 12px;
}

.review-form textarea {
  grid-column: 2 / 3;
  min-height: 82px;
  resize: vertical;
}

.review-form button {
  min-height: 82px;
  align-self: stretch;
  background: #101612;
  color: #ffffff;
}

.panel,
.list-panel {
  padding: 18px;
}

.panel-large {
  grid-row: span 2;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.panel h2,
.detail-panel h2 {
  margin: 0;
  color: #17201b;
  font-size: 20px;
  line-height: 1.2;
}

.panel p,
.detail-panel p,
.connection-card p,
.vault-card p {
  color: #657069;
  line-height: 1.5;
}

.stack {
  display: grid;
  gap: 10px;
}

.todo-panel {
  display: grid;
  gap: 14px;
}

.todo-quote {
  display: grid;
  gap: 6px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(9, 11, 10, 0.94), rgba(18, 36, 26, 0.88)),
    #090b0a;
  color: #ffffff;
  padding: 16px;
}

.todo-quote span {
  color: rgba(216, 251, 232, 0.82);
  font-size: 13px;
  font-weight: 760;
}

.todo-quote strong {
  font-size: 22px;
  line-height: 1.12;
}

.todo-list {
  display: grid;
  gap: 10px;
}

.agent-panel {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 18px;
  color: #f7fbf8;
  background:
    linear-gradient(135deg, rgba(9, 11, 10, 0.96), rgba(14, 32, 24, 0.92)),
    #090b0a;
}

.agent-hero h2 {
  max-width: 760px;
  margin: 6px 0 0;
  color: #ffffff;
  font-size: 25px;
  line-height: 1.12;
}

.agent-panel .eyebrow {
  color: rgba(216, 251, 232, 0.74);
}

.agent-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.agent-stats span,
.agent-grid article,
.week-plan div {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  padding: 12px;
}

.agent-stats b {
  display: block;
  color: #68e9aa;
  font-size: 24px;
  line-height: 1;
}

.agent-stats span {
  color: rgba(246, 250, 247, 0.68);
  font-size: 12px;
  font-weight: 740;
}

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

.agent-grid span,
.week-plan span {
  color: rgba(216, 251, 232, 0.72);
  font-size: 12px;
  font-weight: 820;
}

.agent-grid strong {
  display: block;
  margin-top: 8px;
  color: #ffffff;
  font-size: 17px;
}

.agent-grid p {
  margin: 8px 0 0;
  color: rgba(246, 250, 247, 0.7);
  line-height: 1.45;
}

.week-plan {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.week-plan strong {
  display: block;
  margin-top: 8px;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.35;
}

.todo-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px;
  gap: 12px;
  padding: 14px;
}

.todo-card.is-done {
  opacity: 0.76;
}

.todo-main h3 {
  margin: 10px 0 0;
  color: #18201c;
  font-size: 17px;
  line-height: 1.25;
}

.todo-main p {
  margin: 8px 0 0;
  color: #657069;
  font-size: 13px;
  line-height: 1.42;
}

.todo-value {
  display: grid;
  justify-items: end;
  align-content: start;
  gap: 4px;
}

.todo-value span,
.todo-value small {
  color: #657069;
  font-size: 12px;
  font-weight: 720;
}

.todo-value strong {
  color: #0e764c;
  font-size: 24px;
  line-height: 1;
}

.todo-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.todo-actions button {
  min-height: 38px;
  border-radius: 8px;
  color: #ffffff;
  background: #111812;
  cursor: pointer;
  font-weight: 760;
}

.todo-actions .secondary-button {
  color: #0c613e !important;
  background: #e7f7ee;
}

.todo-actions .ghost-button {
  color: #405046;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(24, 32, 28, 0.1);
}

.quest-reward-row {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quest-reward-row span {
  min-height: 28px;
  border-radius: 999px;
  background: rgba(231, 247, 239, 0.76);
  color: #0e764c;
  font-size: 12px;
  font-weight: 820;
  padding: 6px 10px;
}

.quest-panel {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(234, 246, 240, 0.8)),
    var(--surface-tint);
}

.quest-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.quest-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
}

.quest-head > span {
  min-height: 32px;
  border-radius: 999px;
  background: #101612;
  color: #ffffff;
  font-size: 13px;
  font-weight: 820;
  padding: 8px 12px;
}

.quest-progress {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.quest-progress strong {
  color: var(--accent);
  font-size: 34px;
  line-height: 1;
}

.quest-progress div {
  height: 12px;
  border-radius: 999px;
  background: rgba(18, 25, 21, 0.09);
  overflow: hidden;
}

.quest-progress i {
  display: block;
  width: var(--progress);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.quest-progress span,
.quest-panel p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

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

.quest-stats span {
  min-height: 76px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 12px;
  font-weight: 740;
  padding: 12px;
}

.quest-stats b {
  display: block;
  color: var(--accent);
  font-size: 24px;
  line-height: 1.05;
}

.leak-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  width: 100%;
  min-height: 82px;
  padding: 14px;
  text-align: left;
  cursor: pointer;
}

.leak-card .category-chip {
  grid-column: 1;
  grid-row: 1;
}

.leak-card .leak-main {
  grid-column: 1;
  grid-row: 2;
}

.leak-card .amount-block {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
}

.leak-card.is-selected,
.vault-card.is-selected {
  border-color: rgba(20, 166, 103, 0.42);
  box-shadow: 0 18px 56px rgba(20, 166, 103, 0.12);
}

.leak-main,
.amount-block {
  display: grid;
  gap: 4px;
}

.leak-main strong,
.vault-card h3 {
  overflow-wrap: anywhere;
  color: #17201b;
}

.leak-main small,
.amount-block small,
.vault-meta span {
  color: #6d7771;
  font-size: 13px;
}

.amount-block {
  justify-items: end;
}

.amount-block strong {
  color: #0e764c;
  font-size: 18px;
}

.category-chip,
.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 720;
}

.category-chip {
  color: #405046;
  background: #f0f1ed;
}

.status-badge {
  text-transform: capitalize;
}

.tone-good {
  color: #0b6c45;
  background: #e7f7ee;
}

.tone-warn {
  color: #8a5a00;
  background: #fff2d7;
}

.tone-danger {
  color: #9c2f2f;
  background: #fee9e7;
}

.tone-neutral {
  color: #52605a;
  background: #eef0ec;
}

.health-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.health-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  border-bottom: 1px solid rgba(24, 32, 28, 0.08);
}

.health-row:last-child {
  border-bottom: 0;
}

.quiet-panel {
  min-height: 148px;
}

.view-header {
  padding: 12px 2px 16px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.filter-pill {
  padding: 0 13px;
  border: 1px solid rgba(24, 32, 28, 0.08);
  background: rgba(255, 255, 255, 0.74);
}

.list-panel {
  display: grid;
  gap: 10px;
}

.search-box {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  padding: 12px;
}

.search-box span {
  color: #657069;
  font-size: 12px;
  font-weight: 720;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.search-box input {
  min-height: 42px;
  border: 1px solid rgba(24, 32, 28, 0.1);
  border-radius: 8px;
  padding: 0 12px;
  outline: 0;
  background: #fff;
}

.search-box input:focus {
  border-color: rgba(20, 166, 103, 0.48);
}

.vault-grid,
.settings-grid,
.insight-grid,
.launch-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.launch-header {
  max-width: 840px;
}

.launch-grid {
  margin-bottom: 14px;
}

.waitlist-panel h2 {
  max-width: 560px;
}

.waitlist-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.waitlist-form label {
  display: grid;
  gap: 7px;
}

.waitlist-form span {
  color: #657069;
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.waitlist-form input,
.waitlist-form select {
  min-height: 42px;
  border: 1px solid rgba(24, 32, 28, 0.1);
  border-radius: 8px;
  padding: 0 12px;
  color: #17201b;
  background: #fff;
  outline: 0;
}

.waitlist-form input:focus,
.waitlist-form select:focus {
  border-color: rgba(20, 166, 103, 0.48);
}

.form-note {
  margin: 0;
  color: #657069;
  font-size: 13px;
  line-height: 1.45;
}

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

.waitlist-success {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  border-radius: 8px;
  background: #e7f7ee;
  padding: 14px;
}

.waitlist-success strong {
  color: #0c613e;
}

.waitlist-success span {
  color: #496255;
  font-size: 13px;
}

.pricing-section {
  margin-top: 14px;
}

.pricing-card {
  display: grid;
  align-content: space-between;
  min-height: 230px;
  padding: 16px;
}

.pricing-card.is-selected {
  border-color: rgba(20, 166, 103, 0.42);
  box-shadow: 0 18px 56px rgba(20, 166, 103, 0.12);
}

.pricing-card strong {
  display: block;
  margin-top: 16px;
  color: #0e764c;
  font-size: 34px;
  line-height: 1;
}

.pricing-card p {
  color: #657069;
  line-height: 1.5;
}

.comparison-panel,
.trust-panel,
.timing-panel {
  margin-top: 14px;
}

.comparison-table,
.timing-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.comparison-table div {
  display: grid;
  grid-template-columns: minmax(90px, 0.7fr) minmax(90px, 0.75fr) minmax(0, 1.45fr);
  gap: 10px;
  align-items: center;
  min-height: 48px;
  border: 1px solid rgba(24, 32, 28, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 10px;
}

.comparison-table span,
.timing-list span {
  color: #657069;
  font-size: 13px;
  font-weight: 720;
}

.comparison-table strong {
  color: #405046;
}

.comparison-table b {
  color: #0e764c;
}

.trust-panel ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.trust-panel li {
  border-radius: 8px;
  background: rgba(231, 247, 238, 0.72);
  color: #405046;
  font-weight: 680;
  padding: 10px 12px;
}

.reason-card,
.agent-script-card {
  display: grid;
  gap: 6px;
  margin: 14px 0;
  border-radius: 8px;
  background: rgba(231, 247, 238, 0.72);
  color: #405046;
  padding: 12px;
}

.reason-card span,
.agent-script-card span {
  color: #0e764c;
  font-size: 12px;
  font-weight: 820;
}

.reason-card strong,
.agent-script-card strong {
  line-height: 1.38;
}

.agent-script-card {
  background: rgba(9, 11, 10, 0.92);
  color: #f7fbf8;
}

.agent-script-card span {
  color: #68e9aa;
}

.leaderboard-panel {
  margin-top: 14px;
}

.leaderboard-panel .panel-heading > span {
  max-width: 280px;
  color: #657069;
  font-size: 13px;
  line-height: 1.4;
  text-align: right;
}

.leaderboard-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.leaderboard-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) minmax(120px, 0.55fr) 86px;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  border: 1px solid rgba(24, 32, 28, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 10px;
}

.leaderboard-row span {
  color: #0e764c;
  font-weight: 840;
}

.leaderboard-row strong {
  color: #18201c;
}

.leaderboard-row em {
  color: #657069;
  font-size: 13px;
  font-style: normal;
}

.leaderboard-row b {
  color: #0e764c;
  text-align: right;
}

.checklist-panel {
  margin-top: 14px;
}

.checklist-panel ol {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 22px;
  color: #59645d;
  line-height: 1.5;
}

.vault-card,
.connection-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  min-height: 170px;
  padding: 16px;
  text-align: left;
}

.vault-card {
  flex-direction: column;
  cursor: pointer;
}

.vault-card h3,
.connection-card h3 {
  margin: 12px 0 6px;
  font-size: 18px;
}

.vault-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.insight-value {
  display: block;
  margin-bottom: 10px;
  color: #0e764c;
  font-size: 32px;
}

.chart-panel {
  margin-top: 12px;
}

.bar-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 58px;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}

.bar-row i {
  display: block;
  height: 9px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, #14a667 var(--value), transparent var(--value)),
    #edf0eb;
}

.bar-row span,
.bar-row strong {
  color: #46524b;
  font-size: 14px;
}

.privacy-panel ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 20px;
  color: #59645d;
}

.detail-panel {
  position: sticky;
  top: 16px;
  height: calc(100vh - 32px);
  overflow: auto;
  padding: 18px;
}

.detail-amount {
  margin: 14px 0;
  color: #0e764c;
  font-size: 38px;
  font-weight: 790;
  letter-spacing: 0;
}

.detail-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.detail-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(24, 32, 28, 0.08);
  padding-bottom: 9px;
}

.detail-list dt {
  color: #6d7771;
}

.detail-list dd {
  margin: 0;
  color: #17201b;
  font-weight: 700;
  text-align: right;
}

.timeline {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.timeline div {
  display: grid;
  gap: 3px;
  border-left: 2px solid #dce5dc;
  padding-left: 12px;
}

.timeline span {
  color: #7a837d;
  font-size: 12px;
}

.timeline strong {
  color: #29332d;
  font-size: 14px;
}

.related-card,
.inline-note,
.empty-state {
  border-radius: 8px;
  background: #f2f6f1;
  padding: 12px;
}

.related-card {
  display: grid;
  gap: 4px;
}

.related-card span,
.inline-note {
  color: #5a685f;
  font-size: 13px;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.action-row button {
  min-height: 40px;
  padding: 0 14px;
  color: #ffffff;
  background: #111812;
}

.secondary-button {
  color: #0c613e !important;
  background: #e7f7ee !important;
}

.ghost-button {
  border: 1px solid rgba(24, 32, 28, 0.1);
  color: #405046 !important;
  background: rgba(255, 255, 255, 0.74) !important;
  padding: 0 12px;
  white-space: nowrap;
}

.empty-state {
  display: grid;
  gap: 4px;
  color: #657069;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  min-width: 220px;
  max-width: calc(100vw - 48px);
  border: 1px solid rgba(24, 32, 28, 0.1);
  border-radius: 8px;
  background: #111812;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
  padding: 13px 16px;
  box-shadow: 0 20px 60px rgba(24, 32, 28, 0.18);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Premium visual refresh: restrained depth, clearer hierarchy, quieter surfaces. */
:root {
  --ink: #101612;
  --ink-soft: #24302a;
  --muted: #68736c;
  --muted-2: #8a948d;
  --canvas: #eef2ef;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --surface-tint: rgba(239, 248, 243, 0.78);
  --line: rgba(18, 25, 21, 0.08);
  --line-strong: rgba(18, 25, 21, 0.13);
  --accent: #0d7650;
  --accent-2: #42d99a;
  --accent-soft: #e7f7ef;
  --amber: #a36a13;
  --deep: #070b09;
  --deep-2: #101a14;
  --shadow-soft:
    0 1px 2px rgba(13, 18, 15, 0.04),
    0 18px 52px rgba(13, 18, 15, 0.08);
  --shadow-raised:
    0 1px 1px rgba(13, 18, 15, 0.05),
    0 26px 72px rgba(13, 18, 15, 0.12);
}

body {
  color: var(--ink);
  background:
    repeating-linear-gradient(90deg, rgba(18, 25, 21, 0.018) 0 1px, transparent 1px 92px),
    repeating-linear-gradient(0deg, rgba(18, 25, 21, 0.014) 0 1px, transparent 1px 92px),
    linear-gradient(180deg, #fbfcfb 0%, #f0f3f1 44%, #e6ebe8 100%);
  -webkit-font-smoothing: antialiased;
}

.app-shell {
  width: min(100%, 1680px);
  margin: 0 auto;
  grid-template-columns: 260px minmax(0, 1fr) 372px;
  gap: 20px;
  padding: 80px 18px 18px;
}

.money-island {
  top: 18px;
  min-height: 50px;
  border-color: rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03) 48%, rgba(0, 0, 0, 0.18)),
    #050806;
  box-shadow:
    0 28px 76px rgba(7, 12, 9, 0.3),
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 -1px 0 rgba(0, 0, 0, 0.42) inset;
}

.island-pulse {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.sidebar,
.detail-panel,
.panel,
.bank-panel,
.experience-panel,
.hero-panel,
.list-panel,
.connection-card,
.todo-card,
.vault-card,
.leak-card,
.pricing-card,
.search-box {
  border-color: var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.sidebar {
  top: 80px;
  height: calc(100vh - 98px);
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.7)),
    var(--surface);
}

.detail-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(250, 252, 250, 0.86)),
    var(--surface);
}

.brand-icon {
  color: var(--ink);
  background:
    linear-gradient(145deg, #ffffff, #edf2ee),
    var(--accent-soft);
  box-shadow:
    0 1px 1px rgba(13, 18, 15, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.language-switch {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.64);
}

.language-switch button.is-active,
.nav-item.is-active,
.filter-pill.is-active {
  color: var(--accent);
  background:
    linear-gradient(145deg, rgba(231, 247, 239, 0.98), rgba(255, 255, 255, 0.78));
  box-shadow:
    inset 0 0 0 1px rgba(13, 118, 80, 0.13),
    0 8px 24px rgba(13, 118, 80, 0.06);
}

.nav-item:hover,
.filter-pill:hover,
.ghost-button:hover,
.secondary-button:hover,
.action-row button:hover,
.todo-actions button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(13, 18, 15, 0.07);
}

.hero-panel {
  min-height: 266px;
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 245, 0.84)),
    var(--surface-strong);
  box-shadow: var(--shadow-raised);
}

.hero-copy h1,
.view-header h1 {
  color: var(--ink);
  font-weight: 820;
  text-wrap: balance;
}

.subtitle,
.panel p,
.detail-panel p,
.connection-card p,
.vault-card p,
.step-grid p,
.report-grid p,
.timing-list p,
.todo-main p {
  color: var(--muted);
}

.eyebrow,
.search-box span,
.waitlist-form span {
  color: var(--muted-2);
  letter-spacing: 0.09em;
}

.hero-actions button,
.waitlist-form button,
.pricing-card button,
.action-row button,
.todo-actions button {
  background:
    linear-gradient(180deg, #17211b, #090d0b);
  box-shadow:
    0 12px 28px rgba(8, 13, 10, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.ghost-button,
.todo-actions .ghost-button {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
  color: var(--ink-soft);
  box-shadow: none;
}

.secondary-button,
.todo-actions .secondary-button {
  color: var(--accent) !important;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px rgba(13, 118, 80, 0.06);
}

.savings-card {
  min-height: 202px;
  border-color: rgba(13, 118, 80, 0.16);
  background:
    linear-gradient(145deg, #ffffff 0%, #eef8f3 72%, #e4f3eb 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 44px rgba(13, 118, 80, 0.08);
}

.savings-card strong {
  color: #0c2b1d;
  font-weight: 820;
}

.step-grid article,
.report-grid article,
.timing-list div,
.comparison-table div,
.leaderboard-row {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.bank-panel {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(232, 247, 240, 0.72)),
    var(--surface-tint);
}

.bank-panel strong,
.report-grid strong,
.amount-block strong,
.pricing-card strong,
.leaderboard-row b,
.comparison-table b {
  color: var(--accent);
}

.bank-meter {
  background: rgba(18, 25, 21, 0.09);
  box-shadow: inset 0 1px 2px rgba(13, 18, 15, 0.08);
}

.bank-meter span {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.bank-meta span,
.trust-panel li,
.waitlist-success,
.reason-card {
  background: rgba(231, 247, 239, 0.7);
}

.agent-panel,
.proof-panel,
.todo-quote {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), transparent 26%),
    linear-gradient(135deg, var(--deep), var(--deep-2));
  box-shadow:
    0 28px 72px rgba(5, 8, 7, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.agent-stats span,
.agent-grid article,
.week-plan div,
.proof-card {
  border-color: rgba(255, 255, 255, 0.11);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.038));
}

.agent-stats b,
.proof-card strong {
  color: var(--accent-2);
}

.proof-heading button {
  color: #07100b;
  background:
    linear-gradient(180deg, #e9fff3, #bef3d8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.todo-card,
.leak-card,
.vault-card,
.pricing-card,
.connection-card {
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease,
    background-color 160ms ease;
}

.todo-card:hover,
.leak-card:hover,
.vault-card:hover,
.pricing-card:hover {
  border-color: rgba(13, 118, 80, 0.18);
  box-shadow: var(--shadow-raised);
  transform: translateY(-1px);
}

.leak-card.is-selected,
.vault-card.is-selected,
.pricing-card.is-selected {
  border-color: rgba(13, 118, 80, 0.38);
  box-shadow:
    0 18px 48px rgba(13, 118, 80, 0.12),
    inset 0 0 0 1px rgba(13, 118, 80, 0.08);
}

.category-chip {
  color: #4d5a52;
  background: rgba(240, 243, 239, 0.92);
}

.tone-good {
  color: #0b6c45;
  background: #e7f7ef;
}

.tone-warn {
  color: var(--amber);
  background: #fff5de;
}

.filter-pill,
.search-box input,
.waitlist-form input,
.waitlist-form select {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.search-box input:focus,
.waitlist-form input:focus,
.waitlist-form select:focus {
  border-color: rgba(13, 118, 80, 0.44);
  box-shadow: 0 0 0 4px rgba(13, 118, 80, 0.08);
}

.agent-script-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 36%),
    #080c0a;
  box-shadow:
    0 16px 42px rgba(8, 12, 10, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.toast {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-raised);
}

:focus-visible {
  outline: 3px solid rgba(20, 166, 103, 0.28);
  outline-offset: 2px;
}

.hero-panel.premium-hero {
  grid-template-columns: 1fr;
  gap: 28px;
  min-height: 460px;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 88% 8%, rgba(66, 217, 154, 0.26), transparent 30%),
    radial-gradient(circle at 10% 92%, rgba(255, 255, 255, 0.1), transparent 34%),
    linear-gradient(135deg, #06100b 0%, #101a14 52%, #07100b 100%);
  box-shadow:
    0 32px 92px rgba(7, 13, 10, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.premium-hero .hero-copy {
  display: grid;
  align-content: center;
  min-width: 0;
}

.premium-hero .eyebrow {
  color: rgba(216, 251, 232, 0.72);
}

.premium-hero .hero-copy h1 {
  max-width: 620px;
  color: #ffffff;
  font-size: 56px;
  font-weight: 860;
  line-height: 0.96;
}

.premium-hero .hero-copy h1 span {
  display: block;
}

.hero-promise {
  max-width: 620px;
  margin: 18px 0 0;
  color: #d8fbe8;
  font-size: 19px;
  font-weight: 820;
  line-height: 1.35;
}

.premium-hero .subtitle {
  max-width: 610px;
  color: rgba(246, 250, 247, 0.68);
  font-size: 16px;
}

.premium-hero .hero-actions {
  gap: 12px;
  margin-top: 26px;
}

.premium-hero .hero-actions button:not(.ghost-button) {
  min-height: 48px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, #f7fff9, #c9f4dd);
  color: #07100b;
  box-shadow:
    0 16px 38px rgba(66, 217, 154, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.premium-hero .hero-actions .ghost-button {
  min-height: 48px;
  border-color: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.88) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 650px;
  margin-top: 30px;
}

.hero-trust-strip span {
  display: grid;
  gap: 5px;
  min-height: 76px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  color: rgba(246, 250, 247, 0.64);
  font-size: 12px;
  font-weight: 740;
  padding: 14px;
}

.hero-trust-strip b {
  color: #68e9aa;
  font-size: 23px;
  line-height: 1;
}

.hero-product-stack {
  display: grid;
  align-self: stretch;
  align-content: center;
  gap: 14px;
  min-width: 0;
}

.hero-app-preview {
  display: grid;
  gap: 18px;
  border: 12px solid rgba(255, 255, 255, 0.86);
  border-radius: 32px;
  background:
    linear-gradient(180deg, #fbfdfb 0%, #edf4ef 100%);
  color: var(--ink);
  padding: 20px;
  box-shadow:
    0 34px 88px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hero-app-status {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  border-radius: 999px;
  background: #07100b;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 760;
  padding: 0 14px;
}

.hero-app-status strong {
  overflow: hidden;
  color: #68e9aa;
  font-size: 18px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-app-heading span,
.hero-app-row span {
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-app-heading h2 {
  max-width: 390px;
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.02;
}

.hero-app-list {
  display: grid;
  gap: 10px;
}

.hero-app-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(18, 25, 21, 0.08);
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
}

.hero-app-row div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.hero-app-row strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-app-row small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}

.hero-app-row b {
  color: var(--accent);
  font-size: 24px;
}

.hero-product-stack .savings-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 18px;
  min-height: 116px;
  padding: 18px 20px;
  border-color: rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.08);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 20px 60px rgba(0, 0, 0, 0.16);
}

.hero-product-stack .savings-card strong {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: #68e9aa;
  font-size: 42px;
}

.hero-product-stack .metric-label,
.hero-product-stack .metric-note {
  color: rgba(246, 250, 247, 0.68);
}

.proof-panel {
  padding: 24px;
}

.proof-heading h2 {
  font-size: 30px;
}

.proof-card {
  min-height: 164px;
  padding: 18px;
}

.testimonial-panel {
  padding: 22px;
}

.testimonial-grid {
  gap: 12px;
}

.testimonial-card {
  min-height: 188px;
  padding: 18px;
}

.launch-header {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 86% 12%, rgba(66, 217, 154, 0.16), transparent 26%),
    rgba(255, 255, 255, 0.76);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.pricing-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(246, 250, 247, 0.7));
  margin-top: 16px;
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.pricing-card {
  min-height: 260px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.68));
}

.pricing-card.is-selected {
  background:
    radial-gradient(circle at 88% 8%, rgba(66, 217, 154, 0.16), transparent 28%),
    #ffffff;
}

@container (min-width: 940px) {
  .hero-panel.premium-hero {
    grid-template-columns: minmax(0, 0.96fr) minmax(380px, 0.84fr);
  }

  .premium-hero .hero-copy h1 {
    font-size: 68px;
  }
}

@media (max-width: 1100px) {
  .app-shell {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .hero-panel.premium-hero {
    grid-template-columns: 1fr;
  }

  .money-island {
    min-width: min(520px, calc(100vw - 28px));
  }

  .sidebar {
    align-items: center;
    padding: 12px;
  }

  .brand-mark span:last-child,
  .sidebar-note {
    display: none;
  }

  .nav-item span {
    display: none;
  }

  .language-switch {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .side-nav {
    width: 100%;
  }

  .nav-item {
    justify-content: center;
    padding: 0;
  }

  .detail-panel {
    grid-column: 2;
    position: static;
    height: auto;
  }
}

@media (min-width: 1500px) {
  .dashboard-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  }
}

@media (max-width: 1240px) {
  .hero-panel.premium-hero {
    grid-template-columns: 1fr;
  }

  .hero-product-stack {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-app-preview {
    max-width: none;
  }
}

@media (max-width: 820px) {
  .app-shell {
    display: block;
    padding: 78px 12px 86px;
  }

  .money-island {
    top: 12px;
    grid-template-columns: 12px minmax(0, 1fr) auto;
    gap: 9px;
    min-width: 0;
    width: calc(100vw - 24px);
    min-height: 46px;
    padding: 7px 10px;
  }

  .island-divider,
  .island-detail {
    display: none;
  }

  .island-copy strong {
    font-size: 15px;
  }

  .island-pulse {
    padding: 0 9px;
  }

  .sidebar {
    display: none;
  }

  .mobile-nav {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 4px;
    border: 1px solid rgba(24, 32, 28, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 20px 60px rgba(24, 32, 28, 0.16);
    padding: 6px;
    backdrop-filter: blur(20px);
  }

  .mobile-nav .nav-item {
    display: grid;
    justify-items: center;
    gap: 2px;
    min-height: 52px;
    padding: 3px;
    font-size: 10px;
  }

  .mobile-nav .nav-item span {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero-panel,
  .dashboard-grid,
  .bank-panel,
  .bank-meta,
  .hero-trust-strip,
  .step-grid,
  .report-grid,
  .agent-stats,
  .agent-grid,
  .quest-stats,
  .testimonial-grid,
  .week-plan,
  .proof-heading,
  .proof-grid,
  .vault-grid,
  .settings-grid,
  .insight-grid,
  .launch-grid,
  .pricing-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    padding: 18px;
  }

  .premium-hero .hero-copy h1 {
    font-size: 40px;
  }

  .hero-promise {
    font-size: 16px;
  }

  .hero-app-preview {
    border-width: 8px;
    border-radius: 24px;
    padding: 14px;
  }

  .hero-app-status {
    grid-template-columns: 1fr;
    justify-items: center;
    border-radius: 18px;
    padding: 10px;
  }

  .hero-app-heading h2 {
    font-size: 24px;
  }

  .hero-app-row {
    grid-template-columns: 1fr;
  }

  .hero-app-row strong {
    white-space: normal;
  }

  .hero-product-stack .savings-card {
    grid-template-columns: 1fr;
  }

  .hero-product-stack .savings-card strong {
    grid-column: auto;
    grid-row: auto;
  }

  .quest-panel {
    padding: 16px;
  }

  .quest-head {
    align-items: center;
  }

  .testimonial-head {
    display: grid;
  }

  .review-form,
  .review-fields {
    grid-template-columns: 1fr;
  }

  .review-form textarea {
    grid-column: auto;
  }

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

  .quest-progress span {
    grid-column: 1 / -1;
  }

  .leaderboard-row {
    grid-template-columns: 38px minmax(0, 1fr) 74px;
  }

  .comparison-table div {
    grid-template-columns: 1fr;
  }

  .leaderboard-row em {
    display: none;
  }

  .leaderboard-panel .panel-heading > span {
    max-width: none;
    text-align: left;
  }

  .hero-copy h1,
  .view-header h1 {
    font-size: 32px;
    line-height: 1.06;
  }

  .savings-card {
    min-height: 150px;
  }

  .savings-card strong {
    font-size: 42px;
  }

  .leak-card {
    grid-template-columns: 1fr;
  }

  .todo-card,
  .todo-actions {
    grid-template-columns: 1fr;
  }

  .todo-value {
    justify-items: start;
  }

  .leak-card .category-chip,
  .leak-card .leak-main,
  .leak-card .amount-block {
    grid-column: auto;
    grid-row: auto;
  }

  .amount-block {
    justify-items: start;
  }

  .detail-panel {
    margin-top: 12px;
    height: auto;
  }

  .bar-row {
    grid-template-columns: 88px minmax(0, 1fr) 50px;
  }
}

@media (max-width: 430px) {
  .app-shell {
    padding: 74px 10px 84px;
  }

  .money-island {
    width: calc(100vw - 20px);
  }

  .panel,
  .list-panel,
  .detail-panel {
    padding: 14px;
  }

  .hero-copy h1,
  .view-header h1 {
    font-size: 29px;
  }

  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .filter-pill {
    white-space: nowrap;
  }
}

/* Apple Wallet-inspired command center redesign */
.app-shell.is-dashboard {
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 24px;
  padding-right: 24px;
}

.app-shell.is-dashboard .content {
  max-width: 1180px;
  width: 100%;
}

.command-center {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 312px;
  gap: 22px;
  min-height: 780px;
}

.command-main {
  display: grid;
  align-content: start;
  gap: 22px;
  min-width: 0;
}

.command-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 4px 0 0;
}

.command-header h1 {
  margin: 0;
  color: #101713;
  font-size: 34px;
  font-weight: 820;
  letter-spacing: 0;
  line-height: 1;
}

.command-header p:not(.eyebrow) {
  max-width: 520px;
  margin: 8px 0 0;
  color: #66716a;
  font-size: 15px;
  line-height: 1.45;
}

.command-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 112px;
  border: 1px solid rgba(16, 23, 19, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 14px 40px rgba(24, 32, 28, 0.08);
  padding: 7px 11px 7px 7px;
}

.command-user-chip > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #dff5e9;
  color: #0d6d47;
  font-weight: 840;
}

.command-user-chip strong,
.command-user-chip small {
  display: block;
  line-height: 1.1;
}

.command-user-chip small {
  margin-top: 3px;
  color: #66716a;
  font-size: 12px;
  font-weight: 720;
}

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

.command-metric {
  display: grid;
  align-content: space-between;
  min-height: 158px;
  border: 1px solid rgba(16, 23, 19, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 252, 250, 0.76)),
    #fff;
  box-shadow:
    0 18px 54px rgba(16, 23, 19, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
  padding: 18px;
}

.command-metric-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.command-metric-head span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #159462;
  background: #edf9f2;
}

.command-metric-head small {
  color: #68746d;
  font-size: 13px;
  font-weight: 780;
}

.command-metric strong {
  margin-top: 22px;
  color: #101713;
  font-size: 34px;
  font-weight: 820;
  line-height: 1;
  letter-spacing: 0;
}

.command-metric.command-tone-green strong {
  color: #13a86c;
}

.command-metric p,
.command-metric em {
  margin: 0;
  color: #6a746e;
  font-size: 13px;
  font-style: normal;
  line-height: 1.35;
}

.command-metric em {
  color: #159462;
  font-weight: 760;
}

.activity-timeline,
.month-progress-card,
.rail-mini-chart,
.quick-entry-card {
  border: 1px solid rgba(16, 23, 19, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(249, 251, 249, 0.76)),
    #fff;
  box-shadow:
    0 18px 54px rgba(16, 23, 19, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.activity-timeline {
  overflow: hidden;
}

.command-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.activity-timeline .command-section-head {
  padding: 20px 20px 12px;
}

.command-section-head h2 {
  margin: 0;
  color: #121a15;
  font-size: 22px;
  line-height: 1.1;
}

.command-section-head > span {
  color: #879088;
  font-size: 12px;
  font-weight: 700;
}

.timeline-list {
  display: grid;
  padding: 0 20px 18px;
}

.timeline-row {
  position: relative;
  display: grid;
  grid-template-columns: 24px 50px minmax(0, 1fr) auto 78px;
  align-items: center;
  gap: 12px;
  min-height: 86px;
  border-top: 1px solid rgba(16, 23, 19, 0.08);
}

.timeline-row:first-child {
  border-top: 0;
}

.timeline-row:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 54px;
  bottom: -32px;
  width: 2px;
  background: #e6ece8;
}

.timeline-node {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  border: 5px solid #e6ece8;
  border-radius: 999px;
  background: #fff;
}

.timeline-node.is-complete {
  border-color: #17b477;
  background: #17b477;
}

.timeline-node.is-active {
  border-color: #3f83e6;
  background: #fff;
}

.timeline-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(16, 23, 19, 0.08);
  border-radius: 8px;
  color: #111812;
  background: #f8faf8;
}

.timeline-row strong {
  display: block;
  overflow: hidden;
  color: #101713;
  font-size: 17px;
  font-weight: 820;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.timeline-row small {
  display: inline-flex;
  margin-top: 6px;
  border-radius: 999px;
  background: #e9f8ef;
  color: #129760;
  font-size: 12px;
  font-weight: 780;
  padding: 4px 8px;
}

.timeline-row b {
  color: #139c65;
  font-size: 20px;
  font-weight: 830;
  white-space: nowrap;
}

.timeline-row em {
  color: #79847d;
  font-size: 13px;
  font-style: normal;
  font-weight: 680;
  text-align: right;
}

.command-rail {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
}

.command-pro-card {
  display: grid;
  gap: 14px;
  min-height: 260px;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 32%, rgba(104, 233, 170, 0.28), transparent 26%),
    linear-gradient(145deg, #07100b, #101b14 62%, #07100b);
  color: #f8fff9;
  box-shadow:
    0 24px 76px rgba(8, 12, 10, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  padding: 18px;
}

.command-pro-card > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.command-pro-card .eyebrow {
  color: rgba(216, 251, 232, 0.76);
}

.command-pro-card > div:first-child span {
  border-radius: 999px;
  background: #1fc47f;
  color: #052213;
  font-size: 12px;
  font-weight: 840;
  padding: 6px 9px;
}

.command-pro-card h2 {
  max-width: 230px;
  margin: 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.22;
}

.command-pro-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.command-pro-card li {
  position: relative;
  color: rgba(246, 255, 249, 0.84);
  font-size: 13px;
  font-weight: 680;
  padding-left: 18px;
}

.command-pro-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: #62e7a9;
}

.command-pro-card button {
  min-height: 42px;
  border-radius: 8px;
  background: linear-gradient(180deg, #36de91, #16b874);
  color: #052213;
  cursor: pointer;
  font-weight: 850;
}

.month-progress-card,
.rail-mini-chart,
.quick-entry-card {
  padding: 16px;
}

.month-progress-card {
  display: grid;
  gap: 14px;
}

.month-progress-card .command-section-head h2 {
  color: #13a86c;
  font-size: 34px;
}

.progress-visual {
  display: grid;
  place-items: center;
  justify-self: center;
  width: 126px;
  height: 126px;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, #fff 0 54%, transparent 55%),
    conic-gradient(#21b878 0 72%, #e7ece8 72% 100%);
}

.progress-visual strong {
  color: #101713;
  font-size: 28px;
  line-height: 1;
}

.progress-visual small {
  color: #78827b;
  font-size: 12px;
  font-weight: 760;
}

.month-progress-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.month-progress-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.month-progress-card dt {
  color: #6d7771;
  font-size: 13px;
}

.month-progress-card dd {
  margin: 0;
  color: #101713;
  font-size: 13px;
  font-weight: 820;
}

.rail-mini-chart {
  display: grid;
  gap: 12px;
  background: linear-gradient(135deg, rgba(237, 249, 242, 0.88), rgba(255, 255, 255, 0.82));
}

.rail-mini-chart span {
  color: #6d7771;
  font-size: 12px;
  font-weight: 760;
}

.rail-mini-chart strong {
  display: block;
  margin-top: 4px;
  color: #139c65;
  font-size: 30px;
}

.chart-bars {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  align-items: end;
  gap: 5px;
  height: 72px;
}

.chart-bars i {
  display: block;
  height: var(--h);
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #21b878, #8be8b9);
}

.quick-entry-card {
  display: grid;
  gap: 14px;
}

.quick-entry-card > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.quick-entry-card button {
  display: grid;
  justify-items: center;
  gap: 7px;
  min-height: 76px;
  border: 1px solid rgba(16, 23, 19, 0.08);
  border-radius: 8px;
  background: rgba(247, 249, 247, 0.86);
  color: #39443d;
  cursor: pointer;
  font-size: 12px;
  font-weight: 780;
  padding: 10px 6px;
}

.quick-entry-card .icon {
  width: 20px;
  height: 20px;
}

.app-shell.is-dashboard .dashboard-grid,
.app-shell.is-dashboard .bank-panel,
.app-shell.is-dashboard .experience-panel,
.app-shell.is-dashboard .testimonial-panel,
.app-shell.is-dashboard .quest-panel {
  margin-top: 22px;
}

@media (max-width: 1180px) {
  .app-shell.is-dashboard {
    grid-template-columns: 226px minmax(0, 1fr);
    gap: 16px;
    padding-right: 16px;
  }

  .command-center {
    grid-template-columns: 1fr;
  }

  .command-rail {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  }

  .quick-entry-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .command-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline-row {
    grid-template-columns: 20px 42px minmax(0, 1fr) auto;
  }

  .timeline-row em {
    grid-column: 3 / 5;
    justify-self: start;
    margin-top: -14px;
  }
}

@media (max-width: 820px) {
  .app-shell.is-dashboard {
    display: block;
    padding-right: 12px;
  }

  .command-center {
    min-height: 0;
  }

  .command-header,
  .command-section-head,
  .command-rail {
    display: grid;
  }

  .command-metrics,
  .quick-entry-card > div {
    grid-template-columns: 1fr;
  }

  .command-metric {
    min-height: 132px;
  }

  .timeline-list,
  .activity-timeline .command-section-head {
    padding-right: 14px;
    padding-left: 14px;
  }

  .timeline-row {
    grid-template-columns: 18px minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 82px;
  }

  .timeline-icon {
    display: none;
  }

  .timeline-row em {
    grid-column: 2 / 4;
  }
}
