/* Pockford landing — blue design, sphere logo, motion that respects
   prefers-reduced-motion. No build step: plain CSS. */
:root {
  --navy: #070f24;
  --navy-2: #0b1a3d;
  --ink: #101f46;
  --muted: #5d6d92;
  --line: #e4ebfa;
  --bg: #f7f9ff;
  --card: #ffffff;
  --blue: #2054ff;
  --blue-2: #4d7bff;
  --cyan: #57d5ff;
  --teal: #24b5a8;
  --violet: #7b61ff;
  --gold: #ffb547;
  --radius: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family:
    Onest,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
svg use[href="#orb"],
.brand-orb,
.chip-orb {
  stroke: none;
}
.symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.wrap {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 100;
}
.skip:focus {
  left: 12px;
}
:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 10px;
}

/* Scroll progress */
.progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 60;
  pointer-events: none;
}
.progress i {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--violet));
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition:
    background 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    color 0.4s;
  color: #fff;
}
.header.scrolled {
  background: rgba(247, 249, 255, 0.78);
  backdrop-filter: saturate(1.6) blur(18px);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: 0 1px 0 rgba(16, 31, 70, 0.08);
  color: var(--ink);
}
.header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.brand-orb {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 4px 12px rgba(47, 107, 255, 0.45));
  transition: transform 0.6s var(--spring);
}
.brand:hover .brand-orb {
  transform: rotate(-12deg) scale(1.08);
}
.header nav {
  display: flex;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
}
.header nav a {
  position: relative;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.header nav a:hover {
  opacity: 1;
}
.header nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
#language {
  appearance: none;
  background: transparent;
  border: 1px solid currentColor;
  color: inherit;
  border-radius: 12px;
  padding: 7px 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  opacity: 0.8;
}
#language option {
  color: var(--ink);
}
.login {
  font-weight: 600;
  font-size: 15px;
}

/* Buttons */
.btn {
  --mx: 0px;
  --my: 0px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  isolation: isolate;
  overflow: hidden;
  transform: translate(var(--mx), var(--my));
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    background 0.3s;
  box-shadow: 0 12px 30px -12px rgba(32, 84, 255, 0.8);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 70%
  );
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease);
}
.btn:hover::before {
  transform: translateX(120%);
}
.btn:hover {
  box-shadow: 0 18px 40px -12px rgba(32, 84, 255, 0.95);
}
.btn svg {
  transition: transform 0.35s var(--ease);
}
.btn:hover svg {
  transform: translateX(4px);
}
.btn.small {
  padding: 10px 18px;
  font-size: 14px;
}
.btn.wide {
  width: 100%;
}
.btn.light {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 16px 40px -14px rgba(0, 0, 0, 0.5);
}
.btn.glow::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -2;
  border-radius: inherit;
  background: conic-gradient(
    from var(--a, 0deg),
    var(--cyan),
    var(--blue),
    var(--violet),
    var(--cyan)
  );
  animation: spin 4s linear infinite;
  filter: blur(8px);
  opacity: 0.7;
}
@property --a {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@keyframes spin {
  to {
    --a: 360deg;
  }
}
.text-link {
  font-weight: 600;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.text-link:hover {
  opacity: 1;
}

/* Typography */
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--blue);
  margin-bottom: 18px;
}
.eyebrow.light {
  color: var(--cyan);
}
.eyebrow.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #cfe0ff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ee6a8;
  box-shadow: 0 0 0 0 rgba(62, 230, 168, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(62, 230, 168, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(62, 230, 168, 0);
  }
}
h2 {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
  white-space: pre-line;
}
h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 18px 0 10px;
}
.lead {
  font-size: 19px;
  line-height: 1.55;
  color: #b9c8ea;
  max-width: 560px;
}
.lead.dark {
  color: var(--muted);
  margin-top: 20px;
}
.fineprint {
  display: block;
  font-size: 13px;
  color: #8a98b8;
  margin-top: 18px;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 130px 0 90px;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.aurora i {
  position: absolute;
  width: 60vmax;
  height: 60vmax;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  mix-blend-mode: screen;
  animation: drift 18s var(--ease) infinite alternate;
}
.aurora i:nth-child(1) {
  background: radial-gradient(circle, #2054ff 0%, transparent 65%);
  left: -15vmax;
  top: -20vmax;
}
.aurora i:nth-child(2) {
  background: radial-gradient(circle, #19b8ff 0%, transparent 65%);
  right: -20vmax;
  top: -10vmax;
  animation-duration: 22s;
  animation-delay: -6s;
}
.aurora i:nth-child(3) {
  background: radial-gradient(circle, #7b61ff 0%, transparent 65%);
  left: 25vmax;
  bottom: -35vmax;
  animation-duration: 26s;
  animation-delay: -12s;
}
@keyframes drift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(6vmax, 4vmax) scale(1.12);
  }
  100% {
    transform: translate(-4vmax, 7vmax) scale(0.95);
  }
}
.aurora .spot {
  position: absolute;
  width: 520px;
  height: 520px;
  left: calc(var(--sx, 70%) - 260px);
  top: calc(var(--sy, 40%) - 260px);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(87, 213, 255, 0.22),
    transparent 60%
  );
  transition:
    left 0.25s linear,
    top 0.25s linear;
}
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(
    ellipse at 50% 30%,
    #000 20%,
    transparent 70%
  );
  pointer-events: none;
}
.hero-in {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 40px;
}
.headline {
  font-size: clamp(46px, 7.2vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 800;
  margin: 6px 0 26px;
}
.headline .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}
.headline .line > * {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.1s var(--ease);
}
.ready .headline .line > * {
  transform: none;
}
.ready .headline .line:nth-child(2) > * {
  transition-delay: 0.12s;
}
.ready .headline .line:nth-child(3) > * {
  transition-delay: 0.24s;
}
.shine {
  font-style: normal;
  background: linear-gradient(
    100deg,
    #7fdbff 0%,
    #4d7bff 35%,
    #b3a5ff 55%,
    #7fdbff 80%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 6s linear infinite;
}
@keyframes sheen {
  to {
    background-position: -220% 0;
  }
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 34px 0 18px;
}
.small-note {
  font-size: 14px;
  color: #8ea2cc;
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.35);
}
.scroll-cue i {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: #fff;
  animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* Scene: device + floating chips */
.scene {
  position: relative;
  height: 560px;
  perspective: 1400px;
}
.ripple {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 420px;
  height: 420px;
  margin: -210px 0 0 -210px;
  pointer-events: none;
}
.ripple i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(87, 213, 255, 0.5);
  opacity: 0;
  animation: wave 4.5s var(--ease) infinite;
}
.ripple i:nth-child(2) {
  animation-delay: 1.5s;
}
.ripple i:nth-child(3) {
  animation-delay: 3s;
}
@keyframes wave {
  0% {
    transform: scale(0.45);
    opacity: 0;
  }
  15% {
    opacity: 0.7;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}
.device {
  --rx: 0deg;
  --ry: 0deg;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 380px;
  margin-left: -190px;
  transform: translateY(-50%) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease);
  padding: 18px;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow:
    0 50px 100px -30px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.4) inset;
  opacity: 0;
  animation: rise 1.2s var(--ease) 0.35s forwards;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(-38%) rotateX(18deg) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) rotateX(var(--rx)) rotateY(var(--ry));
  }
}
.device-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.mini-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}
.mini-brand svg {
  width: 26px;
  height: 26px;
  stroke: none;
}
.demo-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  background: #eef3ff;
  padding: 4px 9px;
  border-radius: 999px;
}
.demo-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #eef3ff;
  border-radius: 14px;
  padding: 4px;
  margin-bottom: 14px;
}
.demo-tabs button {
  position: relative;
  z-index: 1;
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 4px;
  border-radius: 10px;
  cursor: pointer;
  transition: color 0.3s;
}
.demo-tabs button[aria-selected="true"] {
  color: var(--ink);
}
.tab-ink {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 8px) / 3);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(16, 31, 70, 0.1);
  transform: translateX(calc(var(--tab, 0) * 100%));
  transition: transform 0.45s var(--spring);
}
.balance-card {
  position: relative;
  border-radius: 22px;
  padding: 18px;
  color: #fff;
  background: linear-gradient(135deg, #10234c, #173da0 70%, #2a5bff);
  overflow: hidden;
}
.balance-card > span {
  font-size: 13px;
  color: #bfd0ff;
}
.balance-card strong {
  display: block;
  font-size: 36px;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  margin: 2px 0;
}
.balance-card .cur {
  margin-right: 2px;
}
.balance-card small {
  font-size: 12px;
  color: #9fb6ee;
}
.bars {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 64px;
}
.bars i {
  width: 8px;
  height: var(--h);
  border-radius: 4px;
  background: linear-gradient(180deg, #7fdbff, #4d7bff);
  transform-origin: bottom;
  animation: grow 1.4s var(--ease) both;
}
.bars i:nth-child(2) {
  animation-delay: 0.08s;
}
.bars i:nth-child(3) {
  animation-delay: 0.16s;
}
.bars i:nth-child(4) {
  animation-delay: 0.24s;
}
.bars i:nth-child(5) {
  animation-delay: 0.32s;
}
.bars i:nth-child(6) {
  animation-delay: 0.4s;
}
@keyframes grow {
  from {
    transform: scaleY(0);
  }
}
.demo-detail {
  margin-top: 14px;
  min-height: 150px;
}
.demo-detail > * {
  animation: fadeUp 0.5s var(--ease) both;
}
.demo-detail > *:nth-child(2) {
  animation-delay: 0.06s;
}
.demo-detail > *:nth-child(3) {
  animation-delay: 0.12s;
}
.demo-detail > *:nth-child(4) {
  animation-delay: 0.18s;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
.detail-head {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 10px;
}
.detail-head span {
  color: var(--muted);
}
.mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.mini-stats div {
  background: #f4f7ff;
  border-radius: 14px;
  padding: 10px 12px;
}
.mini-stats small {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.mini-stats b {
  font-size: 18px;
}
.mini-stats .up {
  color: #05a884;
}
.rhythm {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 46px;
}
.rhythm i {
  flex: 1;
  height: var(--h);
  border-radius: 3px;
  background: #d8e3ff;
  transform-origin: bottom;
  animation: grow 0.9s var(--ease) both;
}
.rhythm i.hi {
  background: var(--blue);
}
.demo-category {
  display: grid;
  grid-template-columns: 1fr 90px auto;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  padding: 7px 0;
}
.demo-category i,
.demo-goal div {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: #e8eeff;
  overflow: hidden;
}
.demo-category i::after,
.demo-goal div i {
  content: "";
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  animation: fill 1s var(--ease) both;
}
@keyframes fill {
  from {
    width: 0;
  }
}
.demo-goal {
  font-size: 13px;
  padding: 6px 0 10px;
}
.demo-goal b {
  float: right;
}
.demo-goal div {
  clear: both;
  margin-top: 8px;
}
.float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(16, 35, 76, 0.92);
  border: 1px solid rgba(127, 219, 255, 0.28);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #fff;
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.75);
  z-index: 2;
  font-size: 13px;
  opacity: 0;
  animation:
    pop 0.8s var(--spring) forwards,
    bob 6s ease-in-out infinite;
}
.float b {
  display: block;
  font-size: 14px;
}
.float small {
  display: block;
  color: #bcd0ff;
  font-size: 12px;
}
.chip-salary {
  right: -34px;
  top: 6px;
  animation-delay: 0.9s, 1.7s;
}
.chip-ai {
  left: -56px;
  bottom: 34px;
  max-width: 240px;
  animation-delay: 1.15s, 1.95s;
}
.chip-plus {
  right: -40px;
  bottom: 150px;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  animation-delay: 1.4s, 2.2s;
}
.chip-plus span {
  font-weight: 800;
  font-size: 20px;
  color: #6ff5c4;
}
.chip-ic {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(87, 213, 255, 0.2);
  color: var(--cyan);
}
.chip-orb {
  width: 30px;
  height: 30px;
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.85);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes bob {
  50% {
    translate: 0 -10px;
  }
}

/* MARQUEE */
.marquee {
  background: var(--navy);
  color: #cfe0ff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-group {
  display: flex;
  gap: 54px;
  padding-right: 54px;
}
.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-size: 17px;
}
.marquee svg {
  color: var(--cyan);
}
.marquee b {
  font-weight: 600;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* SECTIONS */
.section {
  padding: 130px 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 56px;
}
.section-intro {
  max-width: 380px;
  color: var(--muted);
  font-size: 17px;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* Bento */
.bento {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-rows: auto auto;
  gap: 22px;
}
.card {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid var(--line);
  overflow: hidden;
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px rgba(24, 54, 122, 0.35);
}
.card p {
  color: var(--muted);
}
.card-analysis {
  grid-row: span 2;
}
.glow-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(
    400px circle at var(--gx, 50%) var(--gy, 50%),
    rgba(32, 84, 255, 0.55),
    transparent 45%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.glow-card:hover::before {
  opacity: 1;
}
.icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: #eaf0ff;
  color: var(--blue);
}
.icon-badge.teal {
  background: #e3f7f5;
  color: var(--teal);
}
.icon-badge.violet {
  background: #efebff;
  color: var(--violet);
}
.icon-badge svg {
  width: 24px;
  height: 24px;
}
.donut-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 28px;
  margin-top: 30px;
}
.donut {
  width: 220px;
  height: 220px;
  transform: rotate(-90deg);
}
.donut circle {
  fill: none;
  stroke-width: 16;
}
.donut .track {
  stroke: #eef2fb;
}
.donut .seg {
  stroke: var(--c);
  stroke-dasharray: 0 289;
  stroke-dashoffset: calc(var(--off) * -2.89);
  transition: stroke-dasharray 1.4s var(--ease);
  stroke-linecap: butt;
}
.in .donut .seg {
  stroke-dasharray: calc(var(--len) * 2.89 - 3) 289;
}
.in .donut .seg:nth-of-type(3) {
  transition-delay: 0.15s;
}
.in .donut .seg:nth-of-type(4) {
  transition-delay: 0.3s;
}
.in .donut .seg:nth-of-type(5) {
  transition-delay: 0.45s;
}
.donut-center {
  position: absolute;
  left: 110px;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.donut-center small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}
.donut-center b {
  font-size: 26px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.legend {
  list-style: none;
  display: grid;
  gap: 12px;
}
.legend li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}
.legend li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--c);
}
.legend span {
  flex: 1;
}
.legend b {
  color: var(--muted);
  font-weight: 600;
}
.timeline {
  position: relative;
  height: 54px;
  margin: 30px 16px 0;
}
.tl-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.4s var(--ease);
}
.in .tl-line {
  transform: scaleX(1);
}
.tl-dot {
  position: absolute;
  left: var(--x);
  top: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  background: #fff;
  border: 3px solid var(--teal);
  transform: scale(0);
  transition: transform 0.6s var(--spring);
}
.tl-dot.future {
  border-style: dashed;
  border-color: #b8c6e6;
  color: var(--muted);
}
.in .tl-dot {
  transform: scale(1);
}
.in .tl-dot:nth-of-type(2) {
  transition-delay: 0.3s;
}
.in .tl-dot:nth-of-type(3) {
  transition-delay: 0.7s;
}
.in .tl-dot:nth-of-type(4) {
  transition-delay: 1.1s;
}
.goal-bar {
  margin-top: 28px;
}
.goal-row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  margin-bottom: 10px;
}
.meter {
  height: 12px;
  border-radius: 6px;
  background: #efebff;
  overflow: hidden;
}
.meter i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--violet), var(--blue));
  transition: width 1.6s var(--ease) 0.2s;
}
.in .meter i {
  width: var(--w);
}

/* CAPTURE */
.capture {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: 130px 0;
  overflow: hidden;
}
.capture::before {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  right: -200px;
  top: -200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 84, 255, 0.45), transparent 65%);
  filter: blur(40px);
}
.capture-in {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.capture .lead {
  margin-top: 22px;
}
.modes {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.mode {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #cfe0ff;
  transition:
    background 0.4s,
    color 0.4s,
    border-color 0.4s;
}
.mode.active {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.voice-card {
  border-radius: 32px;
  padding: 28px;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.03)
  );
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px);
}
.vc-top {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #9fb3dc;
}
.rec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ff7a98;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.rec i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4f7b;
  animation: blink 1.2s steps(2) infinite;
}
@keyframes blink {
  50% {
    opacity: 0.2;
  }
}
.vc-mic {
  width: 74px;
  height: 74px;
  margin: 26px auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 0 0 0 rgba(87, 213, 255, 0.6);
  animation: micPulse 2s infinite;
}
.vc-mic svg {
  width: 30px;
  height: 30px;
  color: #fff;
}
@keyframes micPulse {
  70% {
    box-shadow: 0 0 0 22px rgba(87, 213, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(87, 213, 255, 0);
  }
}
.wave {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  height: 50px;
}
.wave i {
  width: 5px;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  transform: scaleY(0.2);
  animation: eq 1.1s ease-in-out infinite;
}
.wave i:nth-child(3n) {
  animation-duration: 0.8s;
}
.wave i:nth-child(4n) {
  animation-duration: 1.4s;
}
.wave i:nth-child(5n + 1) {
  animation-delay: -0.4s;
}
.wave i:nth-child(2n) {
  animation-delay: -0.7s;
}
@keyframes eq {
  50% {
    transform: scaleY(1);
  }
}
.voice-card.idle .wave i {
  animation-play-state: paused;
}
.quote {
  min-height: 64px;
  margin: 22px 0 18px;
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.caret {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-left: 3px;
  vertical-align: -0.15em;
  background: var(--cyan);
  animation: blink 1s steps(2) infinite;
}
.entry {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  transition:
    opacity 0.5s var(--ease),
    transform 0.6s var(--spring);
}
.entry.show {
  opacity: 1;
  transform: none;
}
.entry-ic {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: #fff3df;
  color: #d98324;
}
.entry b {
  display: block;
  font-size: 15px;
}
.entry small {
  font-size: 12px;
  color: var(--muted);
}
.entry strong {
  margin-left: auto;
  font-size: 15px;
  white-space: nowrap;
}
.vc-note {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  color: #8ea2cc;
  text-align: center;
}

/* AI */
.ai {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.ai-visual {
  position: relative;
  border-radius: 36px;
  padding: 40px 32px;
  min-height: 460px;
  background:
    radial-gradient(circle at 50% 22%, #dfe9ff, transparent 55%),
    linear-gradient(180deg, #f0f5ff, #fff);
  border: 1px solid var(--line);
  overflow: hidden;
}
.ai-orb {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0 auto 30px;
}
.ai-orb svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 18px 30px rgba(47, 107, 255, 0.45));
  animation: breathe 3.6s ease-in-out infinite;
}
.ai-orb i {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1.5px solid rgba(32, 84, 255, 0.35);
  animation: wave 3.6s var(--ease) infinite;
}
.ai-orb i:nth-of-type(2) {
  animation-delay: 1.8s;
}
@keyframes breathe {
  50% {
    transform: scale(1.06);
  }
}
.chat {
  display: grid;
  gap: 12px;
}
.msg {
  max-width: 85%;
  padding: 14px 16px;
  border-radius: 20px;
  font-size: 15px;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.45s var(--ease),
    transform 0.55s var(--spring);
}
.msg.show {
  opacity: 1;
  transform: none;
}
.msg.me {
  justify-self: end;
  background: var(--blue);
  color: #fff;
  border-bottom-right-radius: 6px;
}
.msg.bot {
  background: #fff;
  border: 1px solid var(--line);
  border-bottom-left-radius: 6px;
  box-shadow: 0 10px 30px -18px rgba(24, 54, 122, 0.4);
}
.msg.bot b {
  display: block;
  font-size: 12px;
  color: var(--blue);
  margin-bottom: 4px;
}
.msg.typing {
  display: inline-flex;
  gap: 5px;
  width: max-content;
}
.msg.typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9fb2df;
  animation: dots 1.2s infinite;
}
.msg.typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.msg.typing i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes dots {
  30% {
    transform: translateY(-5px);
    background: var(--blue);
  }
}
.msg.hide {
  display: none;
}
.checks {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 30px;
}
.checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}
.checks svg {
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 50%;
  background: #e3f7f0;
  color: #05a884;
  stroke-width: 2.6;
}

/* PLAN */
.plan {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 80px;
  align-items: center;
}
.calc {
  position: relative;
  background: #fff;
  border-radius: 32px;
  padding: 30px;
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(24, 54, 122, 0.35);
}
.calc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
}
.ring-wrap {
  position: relative;
  width: 210px;
  height: 210px;
  margin: 16px auto 22px;
}
.ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.ring circle {
  fill: none;
  stroke-width: 12;
}
.ring .track {
  stroke: #eef2fb;
}
.ring .fill {
  stroke: url(#orb-fill);
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-dasharray: 327;
  stroke-dashoffset: var(--ro, 327);
  transition: stroke-dashoffset 0.6s var(--ease);
}
.ring-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}
.ring-center b {
  font-size: 58px;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.ring-center b.bump {
  animation: bump 0.35s var(--spring);
}
@keyframes bump {
  50% {
    transform: scale(1.12);
  }
}
.ring-center small {
  display: block;
  max-width: 130px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}
.slider-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 15px;
  color: var(--muted);
}
.slider-label b {
  font-size: 22px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
#saving {
  --fill: 21%;
  width: 100%;
  margin: 16px 0 6px;
  appearance: none;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(
    90deg,
    var(--blue) var(--fill),
    #e6ecfa var(--fill)
  );
  cursor: pointer;
}
#saving::-webkit-slider-thumb {
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 6px solid var(--blue);
  box-shadow: 0 6px 16px rgba(32, 84, 255, 0.4);
  transition: transform 0.2s var(--spring);
}
#saving:active::-webkit-slider-thumb {
  transform: scale(1.2);
}
#saving::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 6px solid var(--blue);
}
.range-scale {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #9aa7c4;
}
.daily {
  margin: 14px 0 20px;
  text-align: center;
  font-weight: 600;
  color: var(--blue);
}

/* STEPS */
.steps {
  position: relative;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.steps::before {
  content: "";
  position: absolute;
  left: 30px;
  right: 30px;
  top: 58px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--violet));
  transform-origin: left;
  transform: scaleX(var(--line, 0));
  transition: transform 1.6s var(--ease);
}
.steps.drawn::before {
  --line: 1;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.step .num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 20px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 14px 28px -14px rgba(7, 15, 36, 0.8);
}
.step p {
  color: var(--muted);
}

/* FAQ */
.faq {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
.faq-list {
  display: grid;
  gap: 12px;
}
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  transition:
    box-shadow 0.3s,
    border-color 0.3s;
}
.faq details[open] {
  border-color: #c9d7ff;
  box-shadow: 0 20px 40px -28px rgba(24, 54, 122, 0.45);
}
.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary i {
  position: relative;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: #eef3ff;
  transition:
    transform 0.4s var(--spring),
    background 0.3s;
}
.faq summary i::before,
.faq summary i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 1px;
  background: var(--blue);
}
.faq summary i::after {
  transform: rotate(90deg);
}
.faq details[open] summary i {
  transform: rotate(135deg);
  background: var(--blue);
}
.faq details[open] summary i::before,
.faq details[open] summary i::after {
  background: #fff;
}
.answer {
  overflow: hidden;
}
.answer p {
  padding: 0 24px 22px;
  color: var(--muted);
}

/* FINAL */
.final {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 30px;
  padding: 80px 70px;
  margin-bottom: 70px;
  border-radius: 40px;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.aurora.small i {
  width: 40vmax;
  height: 40vmax;
  opacity: 0.6;
}
.final-copy {
  position: relative;
}
.final-copy p:not(.eyebrow) {
  color: #b9c8ea;
  font-size: 18px;
  margin: 22px 0 32px;
}
.final-orb {
  position: relative;
  height: 320px;
}
.final-orb > svg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 180px;
  height: 180px;
  margin: -90px 0 0 -90px;
  filter: drop-shadow(0 30px 50px rgba(47, 107, 255, 0.6));
  animation:
    breathe 4s ease-in-out infinite,
    floaty 7s ease-in-out infinite;
}
.final-orb .ripple {
  width: 320px;
  height: 320px;
  margin: -160px 0 0 -160px;
}
@keyframes floaty {
  50% {
    translate: 0 -12px;
  }
}

/* FOOTER */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  padding: 0 0 50px;
  color: var(--muted);
}
.footer .brand {
  color: var(--ink);
}
.footer p {
  margin-top: 10px;
}
.footer-links {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  font-size: 15px;
}
.footer-links a:hover {
  color: var(--blue);
}

/* RESPONSIVE */
@media (max-width: 1020px) {
  .hero-in,
  .capture-in,
  .ai,
  .plan,
  .faq,
  .final {
    grid-template-columns: 1fr;
  }
  .scene {
    height: 540px;
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .card-analysis {
    grid-row: auto;
  }
  .ai {
    gap: 50px;
  }
  .ai-visual {
    order: 2;
  }
  .plan {
    gap: 40px;
  }
  .faq {
    gap: 40px;
  }
  .final-orb {
    height: 240px;
  }
  .header nav {
    display: none;
  }
}
@media (max-width: 720px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .section,
  .capture {
    padding: 90px 0;
  }
  .hero {
    padding-top: 110px;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .lead {
    font-size: 17px;
  }
  .scene {
    height: 500px;
  }
  .device {
    width: min(340px, 92vw);
    margin-left: calc(min(340px, 92vw) / -2);
  }
  .chip-salary {
    right: -6px;
    top: 0;
  }
  .chip-ai {
    left: -4px;
    bottom: 0;
    max-width: 200px;
  }
  .chip-plus {
    display: none;
  }
  .ripple {
    width: 320px;
    height: 320px;
    margin: -160px 0 0 -160px;
  }
  .donut-wrap {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .donut-center {
    left: 50%;
    top: 110px;
  }
  .legend {
    width: 100%;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .steps::before {
    display: none;
  }
  .final {
    padding: 50px 26px;
  }
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .header-actions .login {
    display: none;
  }
  .scroll-cue {
    display: none;
  }
}

/* Motion off: everything visible, nothing moves. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal,
  .headline .line > *,
  .device,
  .float {
    opacity: 1 !important;
    transform: none !important;
  }
  .device {
    transform: translateY(-50%) !important;
  }
  .marquee-track {
    animation: none;
  }
}
