:root {
  color-scheme: light;
  font-family: "Segoe UI", Arial, sans-serif;
  --ink: #19203d;
  --muted: #515a74;
  --brand: #493bc1;
  --paper: #f7f8fd;
  --line: #e3e6f1;
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #a267ff; outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
.shell { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 2; top: 10px; left: 10px; translate: 0 -160%; padding: 12px; background: white; }
.skip-link:focus { translate: 0; }

.site-header, .site-footer, .site-header nav { display: flex; align-items: center; }
.site-header, .site-footer { justify-content: space-between; }
.site-header { min-height: 88px; }
.site-header nav { gap: 30px; }
.brand, .site-header a, .site-footer a { text-decoration: none; }
.brand { display: inline-flex; align-items: center; font-size: 1.36rem; font-weight: 650; letter-spacing: -.055em; }
.brand span { font-weight: 850; }
.brand img { display: block; border-radius: 10px; margin-right: 10px; }
.nav-features, .site-footer > a:last-child { color: var(--muted); font-size: .94rem; font-weight: 650; }
.nav-features:hover, .site-footer > a:last-child:hover { color: var(--brand); text-decoration: underline; text-underline-offset: .25em; }
.header-cta { padding: 11px 19px; border: 1px solid #dcd8ff; border-radius: 12px; color: var(--brand); font-size: .94rem; font-weight: 700; }
.header-cta:hover { background: #eeebff; }

.hero {
  min-height: 570px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  border-radius: 32px;
  background: radial-gradient(ellipse at 88% 37%, #4439a5 0, #302779 31%, transparent 68%), #21194e;
  color: #fff;
}
.hero-copy { padding: 65px 0 65px clamp(35px, 5.6vw, 82px); position: relative; z-index: 1; }
.eyebrow { font-size: .875rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; color: var(--brand); }
.hero .eyebrow { color: #c6bcff; }
h1, h2, h3 { text-wrap: balance; }
h1 { margin-top: 20px; font-size: clamp(3rem, 5.4vw, 5.7rem); font-weight: 760; line-height: .98; letter-spacing: -.075em; }
h1 em { font-style: normal; color: #c5baff; }
.hero-description { max-width: 405px; margin: 25px 0 31px; font-size: clamp(1.0625rem, 1.45vw, 1.25rem); line-height: 1.55; color: #e4dfff; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 20px; border-radius: 13px; background: #d7d0ff; color: #221750; text-decoration: none; font-weight: 750; }
.primary-button:hover { background: #ece8ff; }

.hero-preview { position: relative; min-height: 570px; display: grid; place-items: center; padding: 32px 34px 48px 0; }
.orbit { position: absolute; left: 52%; top: 48%; translate: -50% -50%; border: 1px solid #c0b4ff33; border-radius: 50%; pointer-events: none; }
.orbit-outer { width: 490px; height: 490px; }
.orbit-inner { width: 378px; height: 378px; background: #8d7df91a; }
.phone {
  width: 264px;
  min-height: 451px;
  position: relative;
  transform: rotate(-7deg);
  border: 7px solid #201b36;
  border-radius: 34px;
  background: #f8f8fd;
  color: #202540;
  box-shadow: 0 0 0 1px #8f84b5, 0 26px 45px #100b3280;
}
.phone-top { display: flex; align-items: center; justify-content: space-between; height: 38px; padding: 0 17px; font-size: .71rem; font-weight: 750; }
.phone-camera { position: absolute; left: 50%; translate: -50%; width: 63px; height: 14px; border-radius: 14px; background: #1e1931; }
.battery { width: 17px; height: 8px; border: 1px solid #615973; border-radius: 2px; background: linear-gradient(90deg, #493e5c 78%, transparent 78%) content-box; padding: 1px; }
.phone-content { padding: 10px 14px 23px; }
.phone-heading { display: flex; align-items: center; justify-content: space-between; }
.phone-heading strong { font-size: 1.45rem; letter-spacing: -.055em; }
.phone-heading > span { border-radius: 20px; background: #ebe6ff; color: #4a35a3; padding: 5px 8px; font-size: .66rem; font-weight: 750; }
.phone-period { color: #626983; margin: 7px 0 13px; font-size: .77rem; }
.phone-balance { min-height: 131px; padding: 14px 13px; border-radius: 15px; background: linear-gradient(135deg, #3d328b, #6555ce); color: white; }
.phone-balance > span, .phone-flows span { display: block; color: #ece8ff; font-size: .69rem; }
.phone-balance > strong { display: block; margin: 2px 0 11px; font-size: 1.78rem; letter-spacing: -.05em; }
.phone-balance > strong span { font-size: 1.15rem; }
.phone-flows { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.phone-flows > div { padding: 6px 8px; border-radius: 7px; background: #ffffff24; }
.phone-flows b { display: block; margin-top: 2px; font-size: .72rem; }
.phone-movements { margin-top: 15px; }
.phone-movements > strong { font-size: .82rem; }
.motion { display: flex; align-items: center; gap: 7px; padding: 7px 0; border-bottom: 1px solid #eceaf4; font-size: .72rem; font-weight: 700; }
.motion small { display: block; margin-top: 2px; font-size: .65rem; font-weight: 500; color: #686b80; }
.motion > b { margin-left: auto; }
.motion-mark { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 9px; font-style: normal; }
.food { background: #ffeadc; color: #903a1b; }
.pay { background: #e0f4e7; color: #206144; }
.phone-home { position: absolute; bottom: 7px; width: 80px; height: 4px; border-radius: 4px; background: #29233c; left: 50%; translate: -50%; }
.goal-card {
  position: absolute;
  right: max(4%, calc((100% - 500px) / 2));
  top: 66%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 9px;
  width: 234px;
  max-width: 56%;
  border: 1px solid #ede9ff;
  border-radius: 15px;
  padding: 14px;
  background: white;
  color: var(--ink);
  box-shadow: 0 12px 25px #21174947;
}
.goal-icon { width: 31px; height: 31px; background: #dfefe8; color: #21654a; border-radius: 10px; display: grid; place-items: center; }
.goal-icon > span { width: 15px; height: 15px; border: 2px solid currentColor; border-radius: 50%; box-shadow: inset 0 0 0 3px #dfefe8, inset 0 0 0 7px currentColor; }
.goal-card strong, .goal-card b { font-size: .74rem; }
.goal-card > div > span { display: block; margin-top: 2px; color: #626983; font-size: .69rem; }
.goal-card > b { color: #21654a; }
.goal-track { grid-column: 1 / -1; height: 5px; border-radius: 10px; background: #e9f1eb; overflow: hidden; }
.goal-card .goal-track > span { margin: 0; width: 75%; height: 100%; background: #33936a; }
.hero-preview figcaption { position: absolute; bottom: 20px; inset-inline: 0; text-align: center; font-size: .79rem; color: #e2d9ff; }

.features { padding: 75px clamp(0px, 2.6vw, 34px) 73px; }
h2 { margin-top: 10px; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.04; letter-spacing: -.061em; font-weight: 760; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 27px; }
.feature-grid article { border: 1px solid var(--line); border-radius: 20px; padding: 23px; background: white; }
.feature-grid h3 { margin-top: 17px; font-size: 1.2rem; line-height: 1.18; letter-spacing: -.025em; }
.feature-grid p { margin-top: 8px; color: var(--muted); font-size: 1rem; line-height: 1.52; }
.feature-symbol { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #ede8ff; color: #4c39b2; }
.feature-green { background: #e0f5eb; color: #206747; }
.feature-peach { background: #ffebde; color: #9b471d; }
.symbol-list { width: 16px; height: 20px; border: 2px solid currentColor; border-radius: 3px; position: relative; }
.symbol-list::before { content: ""; position: absolute; top: 4px; left: 3px; width: 6px; height: 2px; background: currentColor; box-shadow: 0 4px currentColor, 0 8px currentColor; }
.symbol-bars { width: 20px; height: 19px; background: linear-gradient(currentColor 0 0) left bottom / 4px 8px no-repeat, linear-gradient(currentColor 0 0) center bottom / 4px 13px no-repeat, linear-gradient(currentColor 0 0) right bottom / 4px 19px no-repeat; }
.symbol-target { width: 20px; height: 20px; border: 2px solid currentColor; border-radius: 50%; box-shadow: inset 0 0 0 4px #ffebde, inset 0 0 0 8px currentColor; }

.download { display: grid; grid-template-columns: 1fr minmax(235px, 360px); align-items: center; gap: 30px; border-radius: 27px; padding: clamp(29px, 5vw, 65px); background: #ece9ff; }
.download h2 { font-size: clamp(2.2rem, 4.3vw, 3.85rem); }
.store-notice { margin-top: 15px; max-width: 430px; color: var(--muted); line-height: 1.55; }
.store-list { display: grid; gap: 10px; }
.store { min-height: 71px; display: flex; align-items: center; gap: 15px; border: 1px solid #ded8fb; padding: 10px 15px; border-radius: 14px; background: white; color: var(--ink); text-decoration: none; }
.store:hover { border-color: #9d8de8; background: #fbfaff; }
.store strong { display: block; font-size: 1.1rem; }
.store small { display: block; margin-top: 2px; color: var(--muted); font-size: .875rem; }
.store-icon { display: grid; place-items: center; flex: 0 0 40px; height: 40px; border-radius: 10px; background: #241c53; color: white; }
.phone-icon::before { content: ""; width: 12px; height: 20px; border: 2px solid currentColor; border-radius: 3px; background: linear-gradient(currentColor 0 0) center bottom 2px / 4px 1px no-repeat; }
.play-icon::before { content: ""; width: 0; height: 0; border-block: 8px solid transparent; border-left: 13px solid currentColor; }
.site-footer { min-height: 105px; padding-inline: clamp(0px, 2.6vw, 34px); }

@media (max-width: 900px) {
  .shell { width: calc(100% - 44px); }
  .hero { min-height: 530px; }
  .hero-preview { min-height: 530px; padding-right: 15px; }
  .goal-card { right: 10px; }
  .feature-grid article { padding: 17px; }
}

@media (max-width: 680px) {
  .shell { width: calc(100% - 32px); }
  .site-header { min-height: 72px; }
  .site-header nav { gap: 13px; }
  .nav-features { display: none; }
  .hero { grid-template-columns: 1fr; border-radius: 24px; }
  .hero-copy { padding: 41px 25px 10px; }
  h1 { font-size: clamp(2.9rem, 10.9vw, 4.8rem); margin-top: 14px; }
  .hero-description { margin: 17px 0 22px; }
  .hero-preview { min-height: 411px; padding: 5px 14px 35px 0; }
  .phone { transform: rotate(-7deg) scale(.77); min-height: 440px; margin-block: -39px; }
  .orbit-outer { width: 350px; height: 350px; }
  .orbit-inner { width: 285px; height: 285px; }
  .goal-card { top: 63%; right: max(11px, calc((100% - 360px) / 2)); padding: 9px; gap: 6px; max-width: 54%; }
  .hero-preview figcaption { bottom: 13px; }
  .features { padding-block: 47px; }
  .feature-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 20px; }
  .feature-grid h3 { margin-top: 12px; }
  .download { grid-template-columns: 1fr; gap: 22px; padding: 27px 22px; border-radius: 21px; }
  .wide-break { display: none; }
  .site-footer { min-height: 83px; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
}
