.hero-assembled .bot-screen { background: #e8ede4; color: #20291d; }
.bot-screen-head { display: flex; gap: 8px; align-items: center; padding: 14px 10px; background: #f9fbf5; }
.bot-screen-head > span:first-child { font-size: 28px; color: #476435; }
.bot-screen-head > span:last-child { margin-left: auto; font-size: 22px; }
.bot-screen-head img { width: 36px; height: 36px; padding: 5px; border-radius: 50%; background: #343e2c; }
.bot-screen-head strong { display: block; font-size: 11px; letter-spacing: -.2px; }
.bot-screen-head small { display: block; font-size: 10px; color: #687062; margin-top: 3px; }
.bot-screen-messages { padding: 14px 12px 18px; display: flex; flex-direction: column; gap: 14px; min-height: 468px; }
.bot-screen-day { align-self: center; font-size: 10px; background: #d2dbcc; border-radius: 10px; padding: 3px 12px; color: #53604c; }
.bot-message { border-radius: 12px; padding: 11px 12px; max-width: 93%; font-size: 12px; line-height: 1.5; }
.bot-message small { font-size: 9px; display: block; text-align: right; color: #536447; margin-top: 4px; }
.bot-message-out { align-self: flex-end; background: #d7edaf; }
.bot-message-in { align-self: flex-start; background: #fff; }
.bot-screen-operation { display: flex; justify-content: space-between; gap: 20px; margin-top: 10px; font-size: 10px; }
.bot-screen-operation strong { font-weight: 600; white-space: nowrap; }
.bot-screen-report { width: 100%; }
.bot-report-label { font-size: 10px; color: #59684f; }
.bot-report-total { display: block; font-size: 32px; line-height: 1.25; margin-top: 6px; letter-spacing: -1.5px; }
.bot-report-total > span { color: #69755d; font-weight: 400; }
.bot-report-bar { height: 6px; display: flex; gap: 3px; margin: 12px 0; }
.bot-report-bar i:nth-child(1) { flex: 1240; background: #a1c574; }
.bot-report-bar i:nth-child(2) { flex: 400; background: #647c54; }
.bot-report-bar i:nth-child(3) { flex: 250; background: #cfdbbb; }
.bot-report-row { display: flex; justify-content: space-between; font-size: 10px; margin: 8px 0; }
.bot-report-row span { display: flex; align-items: center; gap: 6px; }
.bot-report-row i { width: 6px; height: 6px; border-radius: 50%; background: #a1c574; }
.bot-report-row:nth-of-type(3) i { background: #647c54; }
.bot-report-row:nth-of-type(4) i { background: #cfdbbb; }
.bot-report-row b { font-weight: 500; }
.bot-report-note { font-size: 9px; margin-top: 12px; border-top: 1px solid #e4e9df; padding-top: 10px; color: #59664f; }
.bot-screen-input { display: flex; justify-content: space-between; align-items: center; margin: 0 10px 10px; background: white; border-radius: 20px; padding: 10px 15px; font-size: 11px; color: #67735c; }
.bot-screen-input > span:last-child { color: #3c641c; }

/* Horizontal hero: copy and financial cards at left, glass screen at right. */
.hero.hero-assembled { overflow: clip; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(320px, .9fr); gap: clamp(32px, 5vw, 84px); align-items: center; padding: 32px 0 38px; max-width: 1420px; margin: auto; }
.hero-copy { min-width: 0; }
.hero-assembled .hero-heading { margin: 0; max-width: none; text-align: left; }
.hero-assembled h1 { font-size: clamp(52px, 6vw, 92px); line-height: 1; font-weight: 600; letter-spacing: -.07em; }
.hero-assembled h1 > span { color: var(--accent-ink); }
.hero-assembled .hero-intro { display: block; margin: 22px 0 0; }
.hero-assembled .hero-intro p { max-width: 480px; width: auto; font-size: 15px; line-height: 1.7; color: var(--muted); text-align: left; }
.hero-assembled .hero-cta-group { display: block; width: auto; max-width: none; margin: 22px 0 0; }
.hero-assembled .hero-intro .button { width: auto; min-height: 54px; font-size: 14px; padding: 14px 24px; gap: 26px; }
.hero-cards { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: repeat(3, 66px); gap: 10px 18px; max-width: 550px; margin-top: 30px; isolation: isolate; }
.hero-cards .transaction, .hero-cards .balance-card {
  position: relative; top: auto; left: auto; right: auto; width: auto; margin: 0;
  border: 1px solid rgba(163,181,206,.5); border-radius: 18px;
  -webkit-backdrop-filter: blur(14px) saturate(135%); backdrop-filter: blur(14px) saturate(135%);
  box-shadow: 0 12px 28px -22px #263b6570, inset 0 1px 0 #ffffffc0;
}
.hero-cards .transaction { grid-column: 1; padding: 10px 14px; gap: 10px; background: linear-gradient(125deg, #ffffffbd, #e8edf570); transform: none; }
.hero-cards .salary { grid-row: 1; }
.hero-cards .grocery { grid-row: 2; }
.hero-cards .coffee { grid-row: 3; }
.hero-cards .transaction div { gap: 3px; }
.hero-cards .transaction div > span { font-size: 10px; }
.hero-cards .transaction strong { font-size: 21px; white-space: nowrap; }
.hero-cards .transaction small { font-size: 15px; }
.hero-cards .transaction .event-icon { display: grid; width: 32px; height: 32px; flex-shrink: 0; border-radius: 11px; font-size: 16px; }
.hero-cards .event-check { margin-left: auto; font-size: 12px; }
.hero-cards .balance-card { grid-column: 2; grid-row: 1 / 4; transform: rotate(2deg); padding: 18px; background: linear-gradient(145deg, #e7ffb4dc, #d5f77bbe); border-color: #b1ca74a0; align-self: stretch; }
.hero-cards .balance-top { gap: 8px; }
.hero-cards .balance-top > span:first-child { font-size: 11px; }
.hero-cards .small-pill { font-size: 8px; padding: 4px 6px; white-space: nowrap; }
.hero-cards .balance-card > strong { font-size: clamp(30px, 3.3vw, 46px); white-space: nowrap; margin-top: 14px; }
.hero-cards .balance-card > strong small { font-size: 24px; }
.hero-cards .mini-chart { height: 60px; margin-top: 16px; gap: 6px; }
.hero-cards .balance-caption { font-size: 9px; margin-top: 11px; }
[data-theme="dark"] .hero-cards .transaction { background: linear-gradient(125deg, #2a3548b5, #1b223078); border-color: #7e94b44a; box-shadow: 0 12px 28px -22px #0009, inset 0 1px 0 #ffffff19; }
[data-theme="dark"] .hero-cards .balance-card { background: linear-gradient(145deg, #e4ffa6ef, #bce963d9); }
.hero-assembled .hero-stage {
  position: relative; width: 100%; height: auto; min-height: 610px; max-width: 460px; margin: 0 0 0 auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 28px 28px 20px;
  border-radius: 38px; border: 1px solid #a3b6d385;
  background: radial-gradient(ellipse at 18% 24%, #ffffffd9, transparent 60%), linear-gradient(135deg, #c6d5ef8c, #e7edf795 48%, #bed2ef8c);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 #fffffff0, inset 0 0 0 5px #ffffff30, 0 24px 56px -32px #536d9b73;
}
[data-theme="dark"] .hero-assembled .hero-stage {
  border-color: #8da9d44a;
  background: radial-gradient(ellipse at 15% 20%, #718cc036, transparent 65%), linear-gradient(135deg, #2939518a, #1b24354d 50%, #3d527756);
  box-shadow: inset 0 1px 0 #ffffff30, inset 0 0 0 5px #ffffff04, 0 24px 56px -32px #000b;
}
.hero-assembled .hero-chat { position: relative; left: auto; top: auto; width: 300px; max-width: 100%; flex-shrink: 0; border-radius: 26px; border: 4px solid #ffffffdc; transform: rotate(-2deg); box-shadow: 0 24px 40px -16px #243f7059, 0 0 0 1px #92a8c980; transition: transform .5s var(--ease); }
.hero-assembled .hero-chat > img { display: block; width: 100%; height: auto; }
.hero-assembled .stage-caption { position: static; transform: none; font-size: 9px; text-align: center; white-space: normal; color: var(--small-ink); }
.hero-assembled .hero-bottom { margin-top: 0; padding-block: 20px; }
.habit-ribbon { overflow: hidden; background: var(--accent-ink); color: var(--paper); padding: 18px 0; }
.habit-ribbon-track { display: flex; gap: 34px; align-items: center; white-space: nowrap; width: max-content; font-size: clamp(24px, 3vw, 42px); font-weight: 500; letter-spacing: -.045em; transform: translateX(-24px); }
.habit-ribbon-track i { font-style: normal; font-size: .85em; }
@media (hover:hover) and (pointer:fine) { .hero-assembled .hero-chat:hover { transform: rotate(0); } }
@media (max-width: 1100px) and (min-width: 761px) {
  .hero-layout { grid-template-columns: minmax(0, 1.2fr) minmax(290px, .9fr); gap: 26px; }
  .hero-assembled h1 { font-size: clamp(47px, 6vw, 65px); }
  .hero-assembled .hero-intro p { font-size: 13px; }
  .hero-assembled .hero-intro p br { display: none; }
  .hero-cards { gap: 8px; grid-template-columns: 1fr 1fr; }
  .hero-cards .transaction { padding: 9px; gap: 7px; }
  .hero-cards .transaction strong { font-size: 17px; }
  .hero-cards .transaction .event-icon { width: 26px; height: 28px; }
  .hero-cards .event-check { display: none; }
  .hero-cards .balance-card { padding: 13px; }
  .hero-cards .balance-top { flex-wrap: wrap; }
  .hero-cards .balance-card > strong { font-size: 30px; }
  .hero-cards .balance-card > strong small { font-size: 20px; }
  .hero-cards .mini-chart { gap: 4px; height: 54px; }
  .hero-cards .balance-caption { font-size: 8px; }
  .hero-assembled .hero-stage { padding: 24px 18px 18px; min-height: 590px; }
}
@media (max-width: 760px) {
  .hero-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 30px; }
  .hero-assembled h1 { font-size: clamp(43px, 9.5vw, 70px); }
  .hero-assembled .hero-intro { margin-top: 20px; }
  .hero-assembled .hero-intro p { font-size: 14px; }
  .hero-assembled .hero-intro p br { display: none; }
  .hero-assembled .hero-cta-group { margin-top: 19px; }
  .hero-cards { margin-top: 26px; max-width: 550px; }
  .hero-assembled .hero-stage { margin: 0 auto; min-height: 0; padding: 24px 22px 18px; border-radius: 30px; }
  .hero-assembled .hero-chat { width: 300px; }
}
@media (max-width: 400px) {
  .hero-cards { grid-template-rows: repeat(3, 64px); gap: 8px; }
  .hero-cards .transaction { padding: 9px; gap: 5px; }
  .hero-cards .transaction .event-icon { display: none; }
  .hero-cards .transaction strong { font-size: 18px; }
  .hero-cards .transaction small { font-size: 13px; }
  .hero-cards .event-check { display: none; }
  .hero-cards .balance-card { padding: 12px; transform: none; }
  .hero-cards .balance-top { flex-wrap: wrap; }
  .hero-cards .balance-card > strong { font-size: 27px; }
  .hero-cards .balance-card > strong small { font-size: 17px; }
  .hero-cards .mini-chart { height: 46px; gap: 3px; }
  .hero-cards .balance-caption { font-size: 8px; gap: 5px; }
  .hero-assembled .hero-stage { padding: 22px 16px 16px; }
  .hero-assembled .hero-chat { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-assembled .hero-chat { transition: none; }
  .habit-ribbon-track { transform: none !important; }
}
.motion-off .habit-ribbon-track { transform: none !important; }

.bot-screen-messages { min-height: 0; gap: 10px; padding: 12px 12px 14px; }
.bot-message { padding: 9px 11px; }
.bot-report-row { margin: 6px 0; }
.bot-screen-head { padding-block: 12px; }

@media (max-width: 360px) {
 .hero-cards .balance-card { padding: 10px; }
 .hero-cards .balance-card > strong { font-size: 23px; }
 .hero-cards .balance-card > strong small { font-size: 15px; }
 .hero-cards .balance-caption { flex-direction: column; align-items: flex-start; gap: 2px; }
 .hero-assembled .hero-stage { padding-inline: 12px; }
 .bot-screen-head { gap: 5px; padding-inline: 7px; }
 .bot-screen-head strong { font-size: 10px; }
 .bot-screen-head img { width: 29px; height: 29px; }
}

/* The phone stands alone; the cards form a loose composition under the copy. */
.hero-assembled .hero-intro { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 28px; }
.hero-assembled .hero-intro p { flex: 1 1 270px; max-width: 390px; }
.hero-assembled .hero-cta-group { flex: 0 0 auto; margin: 0; }
.hero-assembled .hero-intro .button { white-space: nowrap; }
.hero-assembled .hero-stage,
[data-theme="dark"] .hero-assembled .hero-stage {
  padding: 20px 14px; min-height: 0; gap: 0;
  background: none; border: 0; border-radius: 0;
  -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none;
}
.hero-assembled .hero-chat {
  box-shadow: 0 30px 50px -18px #35476755, 0 9px 18px -10px #253e6d33;
}
[data-theme="dark"] .hero-assembled .hero-chat {
  box-shadow: 0 34px 65px -20px #000b, 0 12px 25px -14px #000a;
}
.hero-cards { display: block; position: relative; height: 300px; max-width: 620px; margin-top: 30px; }
.hero-cards .transaction { position: absolute; min-height: 72px; padding: 12px 16px; z-index: 3; }
.hero-cards .salary { top: 10px; left: 6px; width: 242px; transform: rotate(-5deg); }
.hero-cards .grocery { top: 115px; left: 36px; width: 205px; transform: rotate(4deg); }
.hero-cards .coffee { top: 213px; left: 75px; width: 182px; transform: rotate(-4deg); }
.hero-cards .balance-card { position: absolute; top: 52px; right: 14px; left: auto; width: 242px; height: 222px; padding: 18px; transform: rotate(5deg); z-index: 2; }
.hero-cards .balance-card > strong { font-size: 43px; }
.hero-cards .balance-top { flex-wrap: nowrap; }
.hero-cards .balance-caption { flex-direction: row; }
@media (min-width: 761px) and (max-width: 1100px) {
  .hero-assembled .hero-intro { gap: 18px; }
  .hero-assembled .hero-intro p { flex-basis: 240px; }
  .hero-cards { height: 290px; }
  .hero-cards .salary { width: 205px; left: 5px; top: 8px; }
  .hero-cards .grocery { width: 175px; left: 14px; top: 110px; }
  .hero-cards .coffee { width: 165px; left: 32px; top: 205px; }
  .hero-cards .transaction { padding: 10px 12px; gap: 8px; }
  .hero-cards .balance-card { width: 190px; right: 8px; top: 48px; height: 215px; padding: 14px; }
  .hero-cards .balance-card > strong { font-size: 34px; }
  .hero-cards .balance-top { flex-wrap: wrap; }
}
@media (max-width: 760px) {
  .hero-assembled .hero-intro p { flex-basis: 290px; }
  .hero-assembled .hero-stage { padding: 16px 14px; }
  .hero-cards { max-width: 560px; }
}
@media (max-width: 540px) {
  .hero-cards { height: 330px; margin-top: 30px; }
  .hero-cards .salary { top: 8px; left: 5px; width: 66%; max-width: 230px; }
  .hero-cards .grocery { top: 132px; left: 3px; width: 42%; max-width: 165px; }
  .hero-cards .coffee { top: 228px; left: 6px; width: 42%; max-width: 165px; }
  .hero-cards .transaction { min-height: 70px; padding: 11px; gap: 7px; border-radius: 16px; }
  .hero-cards .transaction strong { font-size: 18px; }
  .hero-cards .transaction small { font-size: 13px; }
  .hero-cards .grocery .event-icon, .hero-cards .coffee .event-icon { display: none; }
  .hero-cards .balance-card { top: 98px; right: 4px; width: 49%; height: 207px; padding: 12px; border-radius: 19px; transform: rotate(4deg); }
  .hero-cards .balance-card > strong { font-size: clamp(23px, 7vw, 34px); margin-top: 12px; }
  .hero-cards .balance-card > strong small { font-size: 17px; }
  .hero-cards .balance-top { flex-wrap: wrap; }
  .hero-cards .mini-chart { height: 48px; gap: 4px; margin-top: 14px; }
  .hero-cards .balance-caption { flex-direction: column; align-items: flex-start; gap: 2px; font-size: 8px; }
}
@media (max-width: 360px) {
  .hero-cards .transaction { padding: 9px; }
  .hero-cards .transaction strong { font-size: 17px; }
  .hero-cards .balance-card { padding: 10px; }
  .hero-cards .balance-card > strong { font-size: 23px; }
  .hero-cards .balance-card > strong small { font-size: 15px; }
}

@media (min-width:761px) and (max-width:900px) {
 .hero-cards .salary { width:175px; }
 .hero-cards .grocery { width:150px; }
 .hero-cards .coffee { width:145px; left:22px; }
 .hero-cards .balance-card { width:165px; right:7px; padding:12px; }
 .hero-cards .balance-card > strong { font-size:30px; }
}

/* Decorative pointer response; the original freeform card angles are preserved. */
.hero-cards .salary { --rest-angle: -5deg; }
.hero-cards .grocery { --rest-angle: 4deg; }
.hero-cards .coffee { --rest-angle: -4deg; }
.hero-cards .balance-card { --rest-angle: 5deg; }
@media (max-width: 540px) { .hero-cards .balance-card { --rest-angle: 4deg; } }
@media (hover: hover) and (pointer: fine) {
  .hero-cards > .transaction, .hero-cards > .balance-card {
    transition: transform 420ms cubic-bezier(.22,1,.36,1),
      translate 420ms cubic-bezier(.22,1,.36,1), box-shadow 300ms ease, border-color 250ms ease;
  }
  .hero-cards > .transaction::after, .hero-cards > .balance-card::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background: radial-gradient(ellipse at var(--glare-x, 50%) var(--glare-y, 50%), #ffffff70 0%, #ffffff18 34%, transparent 70%);
    opacity: 0; transition: opacity 300ms ease;
  }
  .hero-cards > .is-hovered {
    transform: perspective(750px) rotate(var(--rest-angle)) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) scale(1.035);
    translate: var(--drift-x, 0px) -7px;
    transition-duration: 160ms, 200ms, 300ms, 250ms;
    border-color: #a8bce0;
    box-shadow: 0 26px 44px -22px #354b7970, 0 8px 18px -12px #253e6d55, inset 0 1px 0 #fffffff0;
    z-index: 6;
  }
  .hero-cards > .is-hovered::after { opacity: .8; }
  [data-theme="dark"] .hero-cards > .is-hovered {
    border-color: #9aadcf80;
    box-shadow: 0 26px 48px -22px #000c, 0 3px 18px -9px #7795cc60, inset 0 1px 0 #ffffff45;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-cards > .transaction, .hero-cards > .balance-card { transition: none; }
  .hero-cards > .transaction::after, .hero-cards > .balance-card::after { display: none; }
}
.motion-off .hero-cards > .transaction::after, .motion-off .hero-cards > .balance-card::after { display: none; }

/* The remaining hero navigation stays centered after removing the side labels. */
.hero-assembled .hero-bottom { justify-content: center; }
