:root {
  color-scheme: dark;
  --ink: #0b0b10;
  --ink-raised: #121218;
  --panel: #19191f;
  --line: rgba(235, 231, 248, .11);
  --white: #f7f5fb;
  --muted: #9c99a8;
  --lavender: #a78bfa;
  --lavender-soft: #c4b5fd;
  --mint: #72dfb1;
  --scribble: 'Caveat', 'Comic Sans MS', cursive;
  --mono: 'DM Mono', 'SFMono-Regular', Consolas, monospace;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }

.site-shell {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background: radial-gradient(ellipse 42% 42% at 91% 8%, rgba(112, 78, 186, .17), transparent 72%), #08080b;
}
.topbar, .hero { position: relative; z-index: 1; }
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1400px, calc(100% - 80px));
  height: 70px;
  margin: 0 auto;
}
.brand { display: inline-flex; align-items: center; }
.brand-mark { width: 27px; height: 27px; object-fit: contain; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(440px, 1fr);
  align-items: center;
  gap: 34px;
  width: min(1400px, calc(100% - 80px));
  min-height: calc(100svh - 70px);
  margin: 0 auto;
  padding: 26px 0 40px;
}
.hero-copy { position: relative; z-index: 2; padding: 0 0 8px 7%; }
.coming-label { margin: 0 0 15px 3px; color: var(--lavender-soft); font-family: var(--mono); font-size: 11px; letter-spacing: .22em; }
h1 { margin: 0; line-height: 0; }
h1 img { display: block; width: min(355px, 100%); height: auto; }
.brand-tagline { display: block; width: min(265px, 75%); height: auto; margin: 22px 0 0 3px; }
.scribble-note { display: flex; align-items: center; gap: 9px; width: max-content; max-width: 100%; margin: 47px 0 0 4px; color: #e5dcff; font-family: var(--scribble); font-size: 29px; font-weight: 600; transform: rotate(-4deg); }
.scribble-arrow { width: 76px; height: 44px; overflow: visible; }
.scribble-arrow path { fill: none; stroke: var(--lavender-soft); stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.2; }

.device-stage {
  position: relative;
  display: flex;
  min-height: 640px;
  align-items: center;
  justify-content: center;
  padding: 16px 20px 42px;
  isolation: isolate;
}
.phone-wrap { position: relative; z-index: 1; width: 302px; height: 602px; perspective: 1300px; }
.phone-shadow {
  position: absolute;
  right: -14%;
  bottom: -7%;
  left: -14%;
  height: 23%;
  border-radius: 50%;
  background: rgba(0,0,0,.68);
  filter: blur(28px);
  transform: rotate(-7deg);
}
.phone {
  position: absolute;
  inset: 0;
  overflow: hidden;
  padding: 8px;
  border: 1px solid #67636f;
  border-radius: 47px;
  background: linear-gradient(115deg, #85808e 0%, #29272f 4%, #121116 14%, #08080b 80%, #6f6a78 100%);
  box-shadow: 0 34px 80px rgba(0,0,0,.56), inset 0 0 0 1px rgba(255,255,255,.2), 8px 0 20px rgba(0,0,0,.32);
  transform: rotateY(-7deg) rotateZ(-2deg);
  animation: phone-arrive .85s cubic-bezier(.2,.8,.2,1) both;
}
.phone-frame-glint { position: absolute; z-index: 4; top: 30px; right: 4px; bottom: 30px; width: 1px; background: linear-gradient(transparent, rgba(255,255,255,.38) 20%, rgba(255,255,255,.08) 58%, transparent); pointer-events: none; }
.phone-screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 39px; background: #101015; }
.status-bar {
  position: absolute;
  z-index: 5;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  height: 31px;
  align-items: center;
  justify-content: space-between;
  padding: 0 21px;
  color: #f5f2fb;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
}
.status-icons { display: flex; align-items: center; gap: 4px; }
.signal { width: 12px; height: 8px; background: linear-gradient(90deg,#f6f4f9 20%,transparent 20% 27%,#f6f4f9 27% 48%,transparent 48% 55%,#f6f4f9 55% 75%,transparent 75% 82%,#f6f4f9 82%); clip-path: polygon(0 100%,0 75%,25% 55%,25% 100%,38% 100%,38% 38%,62% 15%,62% 100%,75% 100%,75% 0,100% 0,100% 100%); }
.wifi { width: 10px; height: 8px; border-top: 1.5px solid white; border-radius: 50%; transform: translateY(2px); }
.battery { position: relative; width: 14px; height: 7px; border: 1px solid rgba(255,255,255,.8); border-radius: 2px; }
.battery::before { position: absolute; inset: 1px 3px 1px 1px; border-radius: 1px; background: #fff; content: ''; }
.battery::after { position: absolute; top: 1.5px; right: -3px; width: 2px; height: 3px; border-radius: 0 2px 2px 0; background: #fff; content: ''; }
.dynamic-island { position: absolute; z-index: 6; top: 8px; left: 50%; width: 83px; height: 23px; border-radius: 20px; background: #030304; transform: translateX(-50%); }
.screen-view {
  position: absolute;
  inset: 0;
  padding: 44px 15px 34px;
  opacity: 0;
  transform: translateX(13px) scale(.99);
  transition: opacity .32s ease, transform .38s cubic-bezier(.2,.75,.25,1);
  pointer-events: none;
}
.screen-view.is-active { z-index: 1; opacity: 1; transform: translateX(0) scale(1); pointer-events: auto; }
.app-topline { display: flex; height: 26px; align-items: center; justify-content: space-between; }
.mini-brand { display: inline-flex; align-items: center; gap: 5px; color: #edeaf4; font-size: 11px; font-weight: 700; }
.mini-brand img { width: 17px; height: 17px; object-fit: contain; }
.avatar { display: grid; width: 23px; height: 23px; place-items: center; border: 1px solid rgba(196,181,253,.25); border-radius: 50%; background: #26202e; color: #d9caff; font-size: 9px; font-weight: 700; }
.screen-greeting { margin-top: 16px; color: #f5f2fb; font-size: 17px; font-weight: 700; letter-spacing: -.045em; }
.screen-greeting span { color: #c4b5fd; font-size: 12px; }
.screen-subtitle { margin-top: 3px; color: #85818f; font-size: 8px; }
.wealth-panel { margin-top: 18px; padding: 13px 12px 10px; border: 1px solid rgba(255,255,255,.08); border-radius: 15px; background: linear-gradient(145deg, #201e28, #17161c 74%); }
.panel-kicker { display: flex; align-items: center; justify-content: space-between; color: #a5a0ae; font-family: var(--mono); font-size: 7px; letter-spacing: .08em; }
.panel-kicker span { color: #bba8ff; font-size: 11px; }
.wealth-number { margin-top: 7px; color: #f7f5fb; font-size: 25px; font-weight: 700; letter-spacing: -.06em; }
.wealth-change { display: flex; gap: 5px; margin-top: 2px; color: #8d8995; font-size: 7px; }
.wealth-change b { color: #72dfb1; font-weight: 600; }
.chart-wrap { position: relative; height: 99px; margin-top: 9px; }
.chart-grid { position: absolute; inset: 7px 0 0; display: flex; flex-direction: column; justify-content: space-between; }
.chart-grid i { display: block; height: 1px; border-top: 1px dashed rgba(255,255,255,.07); }
.chart-wrap svg { position: absolute; inset: 8px 0 0; width: 100%; height: 75px; overflow: visible; }
.chart-area { fill: url(#chartFill); }
.chart-line { fill: none; stroke: #b9a2ff; stroke-width: 2; vector-effect: non-scaling-stroke; }
.chart-wrap circle { fill: #d5c9ff; stroke: #201d29; stroke-width: 2; }
.chart-labels { display: flex; justify-content: space-between; padding-top: 84px; color: #6f6b77; font-family: var(--mono); font-size: 6px; }
.screen-section-head { display: flex; align-items: center; justify-content: space-between; margin: 14px 1px 9px; color: #e5e1ec; font-size: 9px; font-weight: 700; }
.screen-section-head span + span { color: #95909e; font-size: 7px; font-weight: 500; }
.screen-section-head b { color: #bca9ff; font-size: 9px; }
.mini-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mini-metric { position: relative; min-height: 99px; padding: 11px 9px; border: 1px solid rgba(255,255,255,.075); border-radius: 12px; background: #19181f; }
.metric-icon { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 7px; font-size: 12px; }
.metric-icon.mint { background: rgba(114,223,177,.12); color: #72dfb1; }
.metric-icon.lilac { background: rgba(167,139,250,.15); color: #c4b5fd; }
.mini-metric > small { position: absolute; top: 16px; left: 37px; color: #aaa5b3; font-size: 7px; }
.mini-metric strong { display: block; margin-top: 9px; color: #f3f0f8; font-size: 15px; letter-spacing: -.04em; }
.mini-metric strong small { color: #c0bbc8; font-size: 8px; }
.mini-metric em { display: block; margin-top: 3px; color: #85818e; font-size: 6px; font-style: normal; }
.phone-tabs { position: absolute; right: 7px; bottom: 7px; left: 7px; display: flex; height: 40px; align-items: center; justify-content: space-around; border: 1px solid rgba(255,255,255,.08); border-radius: 13px; background: rgba(25,24,31,.96); }
.phone-tabs span, .phone-tabs b { display: flex; flex-direction: column; align-items: center; gap: 1px; color: #77727f; font-size: 6px; font-weight: 500; }
.phone-tabs i { font-size: 12px; font-style: normal; line-height: 1; }
.phone-tabs b { color: #c4b5fd; font-weight: 600; }
.screen-heading { margin-top: 21px; color: #f5f2fb; font-size: 19px; font-weight: 700; letter-spacing: -.05em; }
.period-chip { float: right; padding: 5px 8px; border: 1px solid rgba(255,255,255,.08); border-radius: 7px; color: #d2ceda; font-size: 7px; }
.period-chip b { margin-left: 7px; color: #aaa4b2; }
.budget-total { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; padding: 14px 12px; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: linear-gradient(140deg,#211f29,#17161d); }
.budget-total small, .goal-meta small { display: block; color: #9d98a6; font-family: var(--mono); font-size: 6px; letter-spacing: .08em; }
.budget-total strong { display: block; margin-top: 6px; font-size: 21px; letter-spacing: -.05em; }
.budget-donut { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 50%; background: conic-gradient(#a78bfa 0 60%, rgba(255,255,255,.09) 60% 100%); }
.budget-donut::before { position: absolute; width: 43px; height: 43px; border-radius: 50%; background: #1c1a23; content: ''; }
.budget-donut span { position: relative; color: #e9e3f6; font-family: var(--mono); font-size: 8px; }
.budget-progress { height: 4px; margin-top: 13px; overflow: hidden; border-radius: 4px; background: rgba(255,255,255,.09); }
.budget-progress i { display: block; width: 48%; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#8b5cf6,#c4b5fd); }
.budget-caption { display: flex; justify-content: space-between; margin-top: 6px; color: #8a8592; font-size: 6px; }
.budget-list-head { margin-top: 20px; }
.budget-row { display: flex; min-height: 55px; align-items: center; gap: 8px; border-bottom: 1px solid rgba(255,255,255,.06); }
.category-icon, .goal-icon { display: grid; width: 29px; height: 29px; flex: 0 0 auto; place-items: center; border-radius: 9px; font-size: 14px; }
.category-icon.housing { background: rgba(167,139,250,.15); color: #c4b5fd; }
.category-icon.food { background: rgba(114,223,177,.13); color: #72dfb1; }
.category-icon.health { background: rgba(255,130,152,.13); color: #ff8298; }
.category-icon.transit { background: rgba(112,199,255,.12); color: #70c7ff; }
.budget-name, .budget-value { color: #e8e4ed; font-size: 8px; }
.budget-name { flex: 1; }
.budget-name small, .budget-value small { display: block; margin-top: 3px; color: #85808d; font-size: 6px; }
.budget-value { text-align: right; font-family: var(--mono); font-size: 7px; }
.goal-feature { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 17px 13px; border: 1px solid rgba(255,255,255,.08); border-radius: 15px; background: linear-gradient(140deg,#211e29,#17161d); }
.goal-orbit { position: relative; display: grid; width: 73px; height: 73px; flex: 0 0 auto; place-items: center; border: 5px solid rgba(255,255,255,.08); border-top-color: #b59cff; border-right-color: #8b5cf6; border-radius: 50%; color: #f1ecfb; font-family: var(--mono); font-size: 11px; transform: rotate(-28deg); }
.goal-orbit span { transform: rotate(28deg); }
.goal-orbit i { position: absolute; top: -5px; left: 10px; width: 6px; height: 6px; border-radius: 50%; background: #e0d3ff; box-shadow: 0 0 9px #b69aff; }
.goal-meta strong { display: block; margin-top: 6px; font-size: 16px; letter-spacing: -.04em; }
.goal-meta > span { display: block; margin-top: 3px; color: #9e99a7; font-size: 7px; }
.goal-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 9px; }
.goal-stats div { padding: 9px 10px; border: 1px solid rgba(255,255,255,.065); border-radius: 10px; background: #17161c; }
.goal-stats small { display: block; color: #8e8996; font-size: 6px; }
.goal-stats strong { display: block; margin-top: 4px; color: #e9e5ef; font-family: var(--mono); font-size: 9px; }
.goals-head { margin-top: 20px; }
.goals-head span + span { color: #c4b5fd; }
.goal-row { display: flex; align-items: center; gap: 8px; min-height: 55px; border-bottom: 1px solid rgba(255,255,255,.06); }
.goal-home { background: rgba(167,139,250,.13); color: #c4b5fd; }
.goal-trip { background: rgba(114,223,177,.12); color: #72dfb1; }
.goal-copy { min-width: 0; flex: 1; }
.goal-copy strong { display: block; color: #e8e4ed; font-size: 8px; }
.goal-copy small { display: block; margin-top: 3px; color: #898490; font-size: 6px; }
.goal-copy i { display: block; height: 3px; margin-top: 5px; overflow: hidden; border-radius: 3px; background: rgba(255,255,255,.1); }
.goal-copy em { display: block; height: 100%; border-radius: inherit; background: #a78bfa; }
.goal-percent { color: #c1bbc9; font-family: var(--mono); font-size: 7px; }
.goal-insight { display: flex; align-items: center; gap: 8px; margin-top: 11px; padding: 9px; border: 1px solid rgba(167,139,250,.15); border-radius: 10px; background: rgba(167,139,250,.07); }
.goal-insight > span { color: #c4b5fd; font-size: 15px; }
.goal-insight p { flex: 1; margin: 0; color: #aaa4b3; font-size: 6px; line-height: 1.55; }
.goal-insight strong { color: #e7e0f6; font-size: 7px; }
.goal-insight b { color: #c4b5fd; font-size: 11px; }

.screen-controls { position: absolute; z-index: 3; right: 0; bottom: 20px; left: 0; display: flex; justify-content: center; gap: 8px; }
.screen-dot { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 10px; background: rgba(255,255,255,.3); cursor: pointer; transition: width .22s ease, background .22s ease; }
.screen-dot.is-current { width: 22px; background: var(--lavender-soft); }
.screen-dot:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

@keyframes phone-arrive { from { opacity: 0; transform: translateY(18px) rotateY(-7deg) rotateZ(-2deg); } to { opacity: 1; transform: translateY(0) rotateY(-7deg) rotateZ(-2deg); } }

@media (max-width: 980px) {
  .topbar, .hero { width: min(100% - 56px, 760px); }
  .hero { grid-template-columns: minmax(0, .8fr) minmax(340px, 1fr); gap: 8px; min-height: 660px; }
  .hero-copy { padding-left: 0; }
  h1 img { width: min(300px, 100%); }
  .brand-tagline { width: min(235px, 82%); }
  .scribble-note { font-size: 25px; }
  .phone-wrap { transform: scale(.88); }
}
@media (max-width: 700px) {
  .topbar { width: calc(100% - 36px); height: 67px; }
  .brand-mark { width: 24px; height: 24px; }
  .hero { display: flex; width: 100%; min-height: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 36px 18px 24px; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; padding: 0; text-align: center; }
  .coming-label { margin: 0 0 13px; font-size: 10px; }
  h1 { width: 100%; }
  h1 img { width: min(290px, 78vw); margin: 0 auto; }
  .brand-tagline { width: min(235px, 65vw); margin: 18px auto 0; }
  .scribble-note { justify-content: center; gap: 5px; margin: 28px auto 0; font-size: 25px; }
  .scribble-arrow { width: 58px; height: 39px; transform: rotate(65deg); }
  .device-stage { min-height: 565px; margin-top: 4px; padding: 7px 0 34px; }
  .phone-wrap { width: 302px; height: 602px; flex: 0 0 auto; transform: scale(.83); transform-origin: center; }
  .screen-controls { bottom: 0; }
}
@media (max-width: 360px) {
  .hero { padding-right: 14px; padding-left: 14px; }
  h1 img { width: min(260px, 80vw); }
  .scribble-note { gap: 2px; font-size: 23px; }
  .scribble-arrow { width: 48px; }
  .phone-wrap { transform: scale(.76); }
  .device-stage { min-height: 524px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}