/* Kyva website. Brand colours match apps/mobile/src/theme/colors.ts. */

:root {
  --cobalt: #0012ff;
  --cobalt-deep: #000ba8;
  --cobalt-bright: #3b4bff;
  --cobalt-soft: #e6e8ff;
  --yellow: #fff9a8;
  --yellow-deep: #f4ec7e;
  --ink: #0a0b1e;
  --ink-2: #14163a;
  --text: #111114;
  --muted: #5a5a60;
  --bg: #fbfbf8;
  --surface: #ffffff;
  --tint: #f2f3fb;
  --line: rgba(17, 17, 20, 0.08);
  --green: #009f6b;

  --display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --brand: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif; /* the kyva wordmark only */
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius: 28px;
  --radius-sm: 16px;
  --shadow: 0 1px 2px rgba(10, 11, 30, 0.04), 0 12px 32px -12px rgba(10, 11, 30, 0.14);
  --shadow-lg: 0 40px 80px -24px rgba(0, 8, 120, 0.45), 0 12px 24px -12px rgba(0, 0, 0, 0.25);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --gutter: max(clamp(16px, 4vw, 40px), env(safe-area-inset-left), env(safe-area-inset-right));
  --nav-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

svg {
  width: 1em;
  height: 1em;
  flex: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

main {
  overflow-x: clip;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 8px;
}

.container {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Wordmark & buttons ---------- */

.wordmark {
  font-family: var(--brand);
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.07em;
  line-height: 1;
  text-decoration: none;
  color: var(--cobalt);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 0;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.25s var(--ease),
    background-color 0.25s,
    color 0.25s,
    box-shadow 0.25s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn--small {
  padding: 10px 18px;
  font-size: 15px;
}
.btn--light {
  background: #fff;
  color: var(--cobalt);
}
.btn--yellow {
  background: var(--yellow);
  color: var(--ink);
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: #fff;
  transition:
    background-color 0.35s,
    color 0.35s,
    box-shadow 0.35s,
    backdrop-filter 0.35s;
}
.nav__inner {
  width: min(1200px, 100%);
  height: var(--nav-h);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav .wordmark {
  color: #fff;
  transition: color 0.35s;
}
.nav__links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav__links a {
  position: relative;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__links a:hover {
  opacity: 1;
}
.nav__links a:hover::after {
  transform: scaleX(1);
}

.nav[data-scrolled='true'],
.nav[data-open='true'] {
  background: rgba(251, 251, 248, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  color: var(--text);
  box-shadow: 0 1px 0 var(--line);
}
.nav[data-open='true'] {
  background: var(--bg);
}
.nav[data-scrolled='true'] .wordmark,
.nav[data-open='true'] .wordmark {
  color: var(--cobalt);
}
.nav[data-scrolled='true'] .btn--light {
  background: var(--cobalt);
  color: #fff;
}

.nav__toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}
.nav__toggle span:first-child {
  top: 17px;
}
.nav__toggle span:last-child {
  top: 25px;
}
.nav__toggle[aria-expanded='true'] span:first-child {
  transform: translateY(4px) rotate(45deg);
}
.nav__toggle[aria-expanded='true'] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.menu {
  display: grid;
  align-content: start;
  gap: 4px;
  height: calc(100vh - var(--nav-h));
  height: calc(100dvh - var(--nav-h));
  overflow-y: auto;
  padding: 8px var(--gutter) 24px;
}
.menu[hidden] {
  display: none;
}
.menu a:not(.btn) {
  padding: 14px 0;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.menu .btn {
  margin-top: 16px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--cobalt);
  color: #fff;
  padding: calc(var(--nav-h) + clamp(40px, 7vw, 96px)) 0 clamp(120px, 14vw, 180px);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.9;
  animation: drift 18s ease-in-out infinite alternate;
}
.blob--1 {
  width: 620px;
  height: 620px;
  left: -180px;
  top: -200px;
  background: radial-gradient(circle, #4d5cff 0%, transparent 70%);
}
.blob--2 {
  width: 700px;
  height: 700px;
  right: -220px;
  bottom: -320px;
  background: radial-gradient(circle, #0006a0 0%, transparent 70%);
  animation-duration: 22s;
  animation-delay: -6s;
}
.blob--3 {
  width: 420px;
  height: 420px;
  right: 18%;
  top: 8%;
  background: radial-gradient(circle, rgba(255, 249, 168, 0.35) 0%, transparent 70%);
  animation-duration: 26s;
  animation-delay: -12s;
}
@keyframes drift {
  to {
    transform: translate(60px, 40px) scale(1.12);
  }
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}

.hero__inner {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 14px;
  font-weight: 600;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 0 rgba(255, 249, 168, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(255, 249, 168, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 249, 168, 0);
  }
}

.hero__title {
  margin-top: 24px;
  font-size: clamp(38px, 4.4vw, 60px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}
.scribble {
  position: relative;
  color: var(--yellow);
  white-space: nowrap;
}
.nowrap {
  white-space: nowrap;
}
.scribble::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.16em;
  height: 0.2em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8c18-6 36-6 54-1s38 5 62-3' fill='none' stroke='%23fff9a8' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E")
    center / 100% 100% no-repeat;
  clip-path: inset(0 100% 0 0);
  animation: underline 1.1s 0.8s var(--ease) forwards;
}
@keyframes underline {
  to {
    clip-path: inset(0 0 0 0);
  }
}
.hero__lead {
  margin-top: 24px;
  max-width: 34em;
  font-size: clamp(16px, 1.3vw, 18px);
  color: rgba(255, 255, 255, 0.82);
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.stores--center {
  justify-content: center;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px 12px 18px;
  min-width: 200px;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s;
}
.store:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.4);
}
.store__icon {
  width: 28px;
  height: 28px;
}
.store span {
  display: grid;
  line-height: 1.15;
}
.store small {
  font-size: 12px;
  color: var(--muted);
}
.store strong {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: -0.02em;
}
.store--dark {
  background: var(--ink);
  color: #fff;
}
.store--dark small {
  color: rgba(255, 255, 255, 0.65);
}
.store[data-soon='true'] {
  cursor: default;
}

.hero__ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
}
.hero__ticks li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__ticks svg {
  color: var(--yellow);
}

/* Phone mock-up */
.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  perspective: 1200px;
}
.phone {
  position: relative;
  width: min(310px, 74vw);
  aspect-ratio: 9 / 19;
  border-radius: 48px;
  padding: 10px;
  background: linear-gradient(145deg, #2a2c4a, #07081a 55%);
  box-shadow:
    var(--shadow-lg),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.12);
  text-align: left;
  transform: rotateY(var(--ry, -10deg)) rotateX(var(--rx, 4deg));
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease);
  animation: phone-in 1.2s 0.2s var(--ease) both;
}
@keyframes phone-in {
  from {
    opacity: 0;
    transform: translateY(60px) rotateY(-20deg) rotateX(10deg);
  }
}
.phone__notch {
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 2;
  width: 90px;
  height: 26px;
  margin-left: -45px;
  border-radius: 20px;
  background: #07081a;
}
.screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 38px;
  background: #fff;
  color: #111114;
  display: flex;
  flex-direction: column;
  font-size: 9.5px;
  line-height: 1.3;
}

/* The app's Home tab (apps/mobile/app/(tabs)/index.tsx), at about 0.6 scale */
.app {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 44px 13px 0;
  display: grid;
  align-content: start;
  gap: 8px;
}
.app p {
  margin: 0;
}
.app__logo {
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.08em;
  line-height: 1;
  color: var(--cobalt);
}
.app__intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 4px;
}
.app__hi {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.app__kicker {
  margin-top: 2px;
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--cobalt);
}
.app__utils {
  display: flex;
  gap: 10px;
  padding-top: 2px;
  color: var(--cobalt);
}
.app__utils svg {
  width: 14px;
  height: 14px;
}
.app__status {
  display: grid;
  gap: 3px;
  padding: 10px;
  border-radius: 14px;
  background: var(--yellow);
}
.app__label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.6;
}
.app__label i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}
.app__status-title {
  margin-top: 2px;
  font-weight: 700;
  font-size: 12.5px;
}
.app__status-body {
  opacity: 0.75;
  font-weight: 500;
}
.app__spend {
  display: grid;
  gap: 5px;
  padding: 10px;
  border-radius: 14px;
  background: var(--cobalt);
  color: #fff;
  box-shadow: 0 8px 18px -10px rgba(0, 18, 255, 0.6);
}
.app__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}
.app__spend-label {
  font-weight: 600;
  opacity: 0.75;
}
.app__pace {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 7.5px;
  font-weight: 700;
}
.app__pace i {
  width: 4.5px;
  height: 4.5px;
  border-radius: 50%;
  background: #3ddc97;
}
.app__amount {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.app__amount small {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0;
  opacity: 0.7;
}
.app__track {
  position: relative;
  height: 5px;
  margin-top: 2px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.22);
}
.app__track i {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: 3px;
  background: #fff;
  transform-origin: left;
  animation: grow 1.4s 0.9s var(--ease) both;
}
.app__track b {
  position: absolute;
  top: -2px;
  width: 1.5px;
  height: 9px;
  margin-left: -0.75px;
  border-radius: 1px;
  background: var(--yellow);
}
.app__foot span {
  font-weight: 600;
  opacity: 0.85;
}
.app__foot strong {
  font-weight: 800;
}
.app__card {
  display: grid;
  gap: 6px;
  padding: 10px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(0, 18, 255, 0.1);
  box-shadow: 0 4px 12px -8px rgba(10, 11, 30, 0.25);
}
.app__card--soft {
  background: var(--cobalt-soft);
  border-color: transparent;
  box-shadow: none;
}
.app__head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.app__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #fff;
  color: var(--cobalt);
}
.app__icon svg {
  width: 11px;
  height: 11px;
}
.app__icon--yellow {
  background: var(--yellow);
  color: #111114;
}
.app__copy {
  display: grid;
  flex: 1;
  min-width: 0;
}
.app__copy strong {
  font-size: 10.5px;
  font-weight: 700;
}
.app__copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 7.5px;
  color: var(--muted);
}
.app__count {
  display: grid;
  flex: none;
  min-width: 29px;
  padding: 2px 0;
  border-radius: 8px;
  background: var(--cobalt);
  color: #fff;
  text-align: center;
  font-weight: 800;
  font-size: 13px;
  line-height: 1.1;
}
.app__count small {
  font-size: 7px;
  font-weight: 700;
  opacity: 0.85;
}
.app__toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 6px;
  border-top: 1px solid rgba(0, 18, 255, 0.18);
  color: var(--cobalt);
  font-weight: 700;
}
.app__toggle svg,
.app__chev {
  width: 11px;
  height: 11px;
}
.app__chev {
  color: #8e8e93;
}
.app__goal {
  display: grid;
  gap: 4px;
  padding-top: 7px;
  border-top: 1px solid rgba(60, 60, 67, 0.12);
}
.app__goal strong {
  font-size: 10px;
}
.app__goal em {
  padding: 1px 5px;
  border-radius: 99px;
  background: var(--yellow);
  font-style: normal;
  font-size: 7.5px;
  font-weight: 800;
}
.app__goal small {
  font-size: 7.5px;
  color: var(--muted);
}
.app__bar {
  height: 5px;
  border-radius: 3px;
  background: var(--cobalt-soft);
  overflow: hidden;
}
.app__bar i {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: 3px;
  background: var(--cobalt);
  transform-origin: left;
  animation: grow 1.4s 1.1s var(--ease) both;
}
.app__tabs {
  display: flex;
  justify-content: space-around;
  padding: 7px 8px 16px;
  border-top: 1px solid rgba(60, 60, 67, 0.12);
  background: #fff;
  font-size: 7px;
  font-weight: 600;
  color: #8e8e93;
}
.app__tabs span {
  display: grid;
  justify-items: center;
  gap: 2px;
}
.app__tabs svg {
  width: 14px;
  height: 14px;
}
.app__tabs .is-active {
  color: var(--cobalt);
}
@keyframes grow {
  from {
    transform: scaleX(0);
  }
}

/* Floating cards */
.float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  box-shadow: 0 20px 40px -16px rgba(0, 4, 80, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 13px;
  white-space: nowrap;
  animation:
    float-in 0.9s var(--ease) both,
    bob 6s ease-in-out infinite;
}
.float span:last-child {
  display: grid;
  line-height: 1.25;
}
.float small {
  color: var(--muted);
}
.float--a {
  top: 7%;
  left: -12%;
  animation-delay: 1s, 1.9s;
}
.float--b {
  top: 48%;
  right: -8%;
  animation-delay: 1.25s, 2.15s;
}
.float--c {
  bottom: 3%;
  left: -14%;
  animation-delay: 1.5s, 2.4s;
}
@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.92);
  }
}
@keyframes bob {
  50% {
    transform: translateY(-8px);
  }
}
.float__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  font-size: 18px;
}
.float__icon--green {
  background: #e2f6ee;
  color: var(--green);
}
.float__icon--yellow {
  background: var(--yellow);
  color: var(--cobalt);
}
.avatars {
  display: flex;
}
.avatars b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--cobalt);
  color: #fff;
  font-size: 12px;
}
.avatars .avatars__b {
  margin-left: -10px;
  background: var(--yellow-deep);
  color: var(--ink);
}
.avatars--lg b {
  width: 40px;
  height: 40px;
  font-size: 15px;
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(64px, 8vw, 104px) 0;
}
.section--tint {
  background: var(--tint);
}
.section--ink {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.section--ink::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 900px;
  height: 900px;
  left: 50%;
  top: -500px;
  margin-left: -450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 18, 255, 0.55), transparent 65%);
  filter: blur(40px);
}
.section__head {
  max-width: 780px;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.eyebrow {
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cobalt);
}
.eyebrow--yellow {
  color: var(--yellow);
}
.section__title {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  text-wrap: balance;
}
.muted {
  color: var(--muted);
}
.section--ink .muted {
  color: rgba(255, 255, 255, 0.5);
}
.lead {
  margin-top: 20px;
  font-size: 17px;
  color: var(--muted);
}

/* ---------- Bento ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  min-height: 320px;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(0, 18, 255, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card:hover::before {
  opacity: 1;
}
.card--wide {
  grid-column: span 4;
}
.card--half {
  grid-column: span 3;
}
.card h3 {
  font-size: 22px;
  font-weight: 700;
}
.card p {
  margin-top: 10px;
  color: var(--muted);
  max-width: 30em;
}
.card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--cobalt-soft);
  color: var(--cobalt);
  font-size: 24px;
}
.card--cobalt {
  background: var(--cobalt);
  color: #fff;
  border-color: transparent;
}
.card--cobalt p {
  color: rgba(255, 255, 255, 0.78);
}
.card--cobalt::before,
.card--ink::before {
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.14), transparent 60%);
}
.card--yellow {
  background: var(--yellow);
  border-color: transparent;
}
.card--yellow p {
  color: rgba(17, 17, 20, 0.7);
}
.card--ink {
  background: var(--ink);
  color: #fff;
  border-color: transparent;
}
.card--ink p {
  color: rgba(255, 255, 255, 0.7);
}

/* Bills */
.bills {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bills li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--tint);
  font-weight: 600;
  font-size: 15px;
}
.bills em {
  margin-left: auto;
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
}
.bills__logo {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
}
.bills__logo--b {
  background: var(--cobalt);
}
.bills__logo--c {
  background: var(--yellow-deep);
  color: var(--ink);
}

/* Split */
.split {
  display: flex;
  align-items: center;
  gap: 10px;
}
.split__avatar {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--cobalt);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
}
.split__avatar--b {
  background: var(--ink);
}
.split__line {
  position: relative;
  flex: 1;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 12px);
  opacity: 0.6;
}
.split__line i {
  position: absolute;
  top: -5px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cobalt);
  animation: shuttle 2.6s ease-in-out infinite alternate;
}
@keyframes shuttle {
  to {
    left: calc(100% - 12px);
  }
}

/* Ring */
.ring {
  position: relative;
  width: 150px;
  height: 150px;
  align-self: center;
}
.ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.ring circle {
  fill: none;
  stroke: var(--tint);
  stroke-width: 12;
}
.ring .ring__fill {
  stroke: var(--cobalt);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: calc(100 - var(--p));
  transition: stroke-dashoffset 1.6s var(--ease);
}
.ring span {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  line-height: 1.1;
}
.ring strong {
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: -0.03em;
}
.ring small {
  color: var(--muted);
  font-size: 13px;
}
.ring .ring__saved {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 700;
  color: var(--cobalt);
}
/* Driven by scroll position (main.js): follow it closely, and give a little pop when it fills */
.ring.is-scrubbed .ring__fill,
.card.is-in .ring.is-scrubbed .ring__fill {
  stroke-dashoffset: calc(100 - var(--p));
  transition: stroke-dashoffset 0.15s linear;
}
.ring svg {
  transition:
    transform 0.5s var(--ease),
    filter 0.5s var(--ease);
}
.ring.is-full svg {
  transform: rotate(-90deg) scale(1.06);
  filter: drop-shadow(0 6px 14px rgba(0, 18, 255, 0.28));
}

/* Period toggle */
.period {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.period button {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition:
    background-color 0.25s,
    color 0.25s,
    border-color 0.25s;
}
.period button[aria-pressed='true'] {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
}
.period__out {
  width: 100%;
  margin-top: 14px !important;
  color: rgba(255, 255, 255, 0.75) !important;
}
.period__out strong {
  display: inline-block;
  font-family: var(--display);
  font-size: 30px;
  letter-spacing: -0.03em;
  color: #fff;
  margin-right: 6px;
}

/* ---------- Together ---------- */

.together {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}
.checks {
  display: grid;
  gap: 14px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  font-weight: 600;
}
.checks li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.checks svg {
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 50%;
  background: var(--cobalt);
  color: #fff;
}
.together__visual {
  position: relative;
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 48px);
  border-radius: 36px;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.25), transparent 50%),
    linear-gradient(150deg, var(--cobalt-bright), var(--cobalt) 45%, var(--cobalt-deep));
  overflow: hidden;
}
.tcard {
  padding: 22px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 20px 40px -20px rgba(0, 4, 80, 0.5);
}
.tcard--goal {
  margin-left: clamp(0px, 6vw, 64px);
  margin-right: clamp(-40px, -2vw, 0px);
}
.tcard__top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tcard__top > span:last-child {
  display: grid;
  line-height: 1.25;
}
.tcard__top small {
  color: var(--muted);
}
.tcard__emoji {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--yellow);
  font-size: 20px;
}
.tcard__lines {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.tcard__lines li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-weight: 600;
}
.tcard__lines em {
  font-style: normal;
}
.tcard__lines small {
  color: var(--muted);
  font-weight: 500;
}
.stack {
  display: flex;
  height: 14px;
  margin-top: 18px;
  border-radius: 8px;
  background: var(--tint);
  overflow: hidden;
}
.stack i {
  width: var(--w);
  background: var(--cobalt);
}
.stack .stack__b,
.stack__legend .stack__b {
  background: var(--yellow-deep);
}
.stack__legend {
  display: flex;
  gap: 20px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.stack__legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.stack__legend b {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--cobalt);
}

/* ---------- Security ---------- */

.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.trust__item {
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition:
    background-color 0.3s,
    border-color 0.3s;
}
.trust__item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 249, 168, 0.4);
}
.trust__item > svg {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 14px;
  background: var(--yellow);
  color: var(--ink);
}
.trust__item h3 {
  margin-top: 28px;
  font-size: 19px;
  font-weight: 700;
}
.trust__item p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.faq__list {
  display: grid;
  gap: 10px;
}
details {
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition:
    box-shadow 0.3s,
    border-color 0.3s;
}
details[open] {
  border-color: transparent;
  box-shadow: var(--shadow);
}
summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  list-style: none;
  cursor: pointer;
}
summary::-webkit-details-marker {
  display: none;
}
summary svg {
  width: 32px;
  height: 32px;
  padding: 7px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--cobalt);
  transition:
    transform 0.35s var(--ease),
    background-color 0.3s,
    color 0.3s;
}
details[open] summary svg {
  transform: rotate(45deg);
  background: var(--cobalt);
  color: #fff;
}
details p {
  padding: 0 24px 24px;
  color: var(--muted);
}

/* ---------- CTA ---------- */

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-weight: 700;
  color: var(--cobalt);
  text-decoration: none;
}
.textlink svg {
  transition: transform 0.25s var(--ease);
}
.textlink:hover svg {
  transform: translateX(4px);
}
.textlink[hidden] {
  display: none;
}
.socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}
.socials a {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  font-size: 22px;
  transition:
    transform 0.25s var(--ease),
    background-color 0.25s;
}
.socials a:hover {
  transform: translateY(-3px) rotate(-4deg);
  background: var(--cobalt);
}

[data-soon='true'] {
  position: relative;
}
.soon-tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 10;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  transform: translate(-50%, 4px);
  opacity: 0;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.soon-tip.is-shown {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Footer ---------- */

.footer {
  padding: clamp(56px, 8vw, 96px) 0 calc(32px + env(safe-area-inset-bottom));
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.footer__brand p {
  margin-top: 12px;
  max-width: 22em;
  color: var(--muted);
}
.footer__cols {
  display: flex;
  gap: clamp(40px, 7vw, 96px);
  flex-wrap: wrap;
}
.footer__cols div {
  display: grid;
  gap: 10px;
  align-content: start;
}
.footer__cols h4 {
  margin-bottom: 4px;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer__cols a {
  text-decoration: none;
  font-weight: 500;
  justify-self: start;
}
.footer__cols a:hover {
  color: var(--cobalt);
}
.footer__base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Scroll reveal (only when scripts run) ---------- */

@media (scripting: enabled) {
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
      opacity 0.9s var(--ease),
      transform 0.9s var(--ease);
    transition-delay: var(--d, 0ms);
  }
  .reveal.is-in {
    opacity: 1;
    transform: none;
  }
  .card .buckets__bar i {
    transform: scaleX(0);
    transition: transform 1.2s var(--ease) 0.3s;
  }
  .card.is-in .buckets__bar i {
    transform: none;
  }
  .ring .ring__fill {
    stroke-dashoffset: 100;
  }
  .card.is-in .ring .ring__fill {
    stroke-dashoffset: calc(100 - var(--p));
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .float--a {
    left: -2%;
  }
  .float--b {
    right: -2%;
  }
  .trust {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .nav__links,
  .nav__cta {
    display: none;
  }
  .nav__toggle {
    display: block;
  }
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__copy {
    display: grid;
    justify-items: center;
  }
  .hero__lead {
    margin-inline: auto;
  }
  .stores,
  .hero__ticks {
    justify-content: center;
  }
  .hero__visual {
    margin-top: 24px;
  }
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .card,
  .card--half {
    grid-column: span 1;
  }
  .card--wide {
    grid-column: span 2;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .step {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 24px;
  }
  .step__num {
    grid-row: span 2;
    margin: 0;
  }
  .demo,
  .together,
  .faq {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  :root {
    --radius: 24px;
    --nav-h: 64px;
  }
  .hero__title {
    font-size: clamp(34px, 9.5vw, 44px);
    line-height: 1.12;
  }
  .scribble::after {
    bottom: -0.1em;
    height: 0.17em;
  }
  .stores {
    width: 100%;
  }
  .store {
    flex: 1 1 100%;
  }
  .phone {
    width: min(270px, 70vw);
  }
  .float {
    font-size: 12px;
    padding: 8px 12px 8px 8px;
  }
  .float__icon {
    width: 28px;
    height: 28px;
    font-size: 15px;
  }
  .float--a {
    left: 0;
    top: 2%;
  }
  .float--b {
    top: auto;
    bottom: 4%;
    right: 0;
  }
  .float--c {
    display: none;
  }
  .bento,
  .trust {
    grid-template-columns: 1fr;
  }
  .card,
  .card--wide,
  .card--half {
    grid-column: span 1;
    min-height: 0;
    padding: 26px;
  }
  .card h3 {
    font-size: 20px;
  }
  .step {
    display: block;
    padding: 26px;
  }
  .step__num {
    margin-bottom: 20px;
    font-size: 52px;
  }
  .plan {
    padding: 22px;
  }
  .tabs {
    display: flex;
  }
  .tabs button {
    flex: 1;
    padding: 12px 10px;
  }
  .tcard--goal {
    margin: 0;
  }
  summary {
    font-size: 18px;
    padding: 18px 20px;
  }
  details p {
    padding: 0 20px 20px;
  }
  .cta__inner {
    border-radius: 28px;
  }
  .footer__base {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}

/* ---------- 404 ---------- */

.notfound {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 48px var(--gutter);
  text-align: center;
}
.notfound__inner {
  display: grid;
  justify-items: center;
}
.notfound__logo {
  color: #fff;
  font-size: 36px;
}
.notfound__code {
  margin-top: 24px;
  font-family: var(--display);
  font-size: clamp(120px, 30vw, 240px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.9;
  color: var(--yellow);
}
.notfound h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
}
.notfound .hero__lead {
  margin-bottom: 32px;
}

/* ---------- Waitlist ---------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
/* Honeypot: hidden from people, filled in by bots. */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.waitlist {
  width: min(520px, 100%);
  margin-top: 36px;
}
.waitlist[hidden],
[data-prelaunch][hidden],
[data-launched][hidden] {
  display: none;
}
.waitlist__field {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.4);
  transition: box-shadow 0.25s;
}
.waitlist__field:focus-within {
  box-shadow:
    0 0 0 4px rgba(255, 249, 168, 0.85),
    0 18px 40px -16px rgba(0, 0, 0, 0.4);
}
.waitlist input[type='email'] {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 8px 0 18px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  outline: none;
}
.waitlist input[type='email']::placeholder {
  color: #9a9aa3;
}
.waitlist .btn {
  flex: none;
  height: 48px;
  background: var(--cobalt);
  color: #fff;
  white-space: nowrap;
}
.waitlist .btn:hover {
  background: var(--cobalt-deep);
}
.waitlist .btn[disabled] {
  opacity: 0.7;
  transform: none;
  cursor: progress;
}
.waitlist__note {
  margin-top: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}
.waitlist[data-state='error'] .waitlist__note {
  color: var(--yellow);
  font-weight: 600;
}
.waitlist[data-state='error'] .waitlist__field {
  box-shadow:
    0 0 0 3px var(--yellow),
    0 18px 40px -16px rgba(0, 0, 0, 0.4);
}
.waitlist__done {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px 14px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-align: left;
  animation: done-in 0.6s var(--ease) both;
}
.waitlist__done[hidden] {
  display: none;
}
.waitlist__done svg {
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--cobalt);
}
@keyframes done-in {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
}
.waitlist[data-state='done'] .waitlist__field,
.waitlist[data-state='done'] .waitlist__note {
  display: none;
}

/* On yellow, in the Get the app section */
.waitlist--light {
  margin: 32px auto 0;
}
.waitlist--light .waitlist__field {
  box-shadow: 0 0 0 1.5px rgba(10, 11, 30, 0.12);
}
.waitlist--light .waitlist__field:focus-within {
  box-shadow: 0 0 0 3px var(--cobalt);
}
.waitlist--light .btn {
  background: var(--ink);
}
.waitlist--light .btn:hover {
  background: var(--cobalt);
}
.waitlist--light .waitlist__note {
  color: rgba(17, 17, 20, 0.6);
}
.waitlist--light[data-state='error'] .waitlist__note {
  color: #c4161c;
}
.waitlist--light[data-state='error'] .waitlist__field {
  box-shadow: 0 0 0 2px #c4161c;
}
.waitlist--light .waitlist__done {
  background: #fff;
  border-color: transparent;
  box-shadow: var(--shadow);
}
.waitlist--light .waitlist__done svg {
  background: var(--cobalt);
  color: #fff;
}

.notfound__code--tick {
  font-size: clamp(96px, 22vw, 180px);
}

@media (max-width: 960px) {
  .waitlist {
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .waitlist__field {
    flex-direction: column;
    align-items: stretch;
    border-radius: 22px;
  }
  .waitlist input[type='email'] {
    padding: 0 14px;
    text-align: center;
  }
  .waitlist .btn {
    width: 100%;
    border-radius: 16px;
  }
  .waitlist__done {
    border-radius: 22px;
  }
}

/* ---------- Light hero (homepage) ----------
   Off-white with soft cobalt and yellow glows, so the cobalt is an accent rather than the whole screen. */

.nav--light {
  color: var(--text);
}
.nav--light .wordmark {
  color: var(--cobalt);
}
.nav--light .btn--light {
  background: var(--cobalt);
  color: #fff;
}

.hero--light {
  background: var(--bg);
  color: var(--ink);
}
.hero--light .blob {
  filter: blur(70px);
  opacity: 1;
}
.hero--light .blob--1 {
  background: radial-gradient(circle, rgba(0, 18, 255, 0.16) 0%, transparent 70%);
}
.hero--light .blob--2 {
  right: -120px;
  bottom: -260px;
  background: radial-gradient(circle, rgba(0, 18, 255, 0.22) 0%, transparent 70%);
}
.hero--light .blob--3 {
  background: radial-gradient(circle, rgba(255, 236, 80, 0.55) 0%, transparent 70%);
}
.hero--light .hero__grid {
  background-image:
    linear-gradient(rgba(0, 18, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 18, 255, 0.06) 1px, transparent 1px);
}
.hero--light .pill {
  background: var(--cobalt-soft);
  border-color: rgba(0, 18, 255, 0.12);
  color: var(--cobalt);
}
.hero--light .pill__dot {
  background: var(--cobalt);
  box-shadow: 0 0 0 0 rgba(0, 18, 255, 0.4);
  animation-name: pulse-cobalt;
}
@keyframes pulse-cobalt {
  70% {
    box-shadow: 0 0 0 10px rgba(0, 18, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 18, 255, 0);
  }
}
/* Cobalt words on a yellow highlighter stroke */
.hero--light .scribble {
  color: var(--cobalt);
  z-index: 0;
}
.hero--light .scribble::after {
  z-index: -1;
  bottom: 0.02em;
  height: 0.38em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M3 7c18-4 36-4 54-1s38 4 60-2' fill='none' stroke='%23fff176' stroke-width='9' stroke-linecap='round'/%3E%3C/svg%3E")
    center / 100% 100% no-repeat;
}
.hero--light .hero__lead {
  color: var(--muted);
}
.hero--light .hero__ticks {
  color: var(--muted);
}
.hero--light .hero__ticks svg {
  color: var(--cobalt);
}
.hero--light .waitlist__field {
  border: 1.5px solid rgba(0, 18, 255, 0.14);
  box-shadow: 0 18px 40px -20px rgba(0, 12, 160, 0.35);
}
.hero--light .waitlist__field:focus-within {
  border-color: var(--cobalt);
  box-shadow:
    0 0 0 4px rgba(0, 18, 255, 0.12),
    0 18px 40px -20px rgba(0, 12, 160, 0.35);
}
.hero--light .waitlist__note {
  color: var(--muted);
}
.hero--light .waitlist[data-state='error'] .waitlist__note {
  color: #d1373c;
}
.hero--light .waitlist[data-state='error'] .waitlist__field {
  border-color: #e5484d;
  box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.18);
}
.hero--light .waitlist__done {
  background: var(--cobalt-soft);
  border-color: rgba(0, 18, 255, 0.14);
}
.hero--light .waitlist__done svg {
  background: var(--cobalt);
  color: #fff;
}
.hero--light .phone {
  box-shadow:
    0 40px 80px -28px rgba(0, 12, 160, 0.4),
    0 12px 24px -12px rgba(0, 0, 0, 0.2),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.12);
}
.hero--light .float {
  background: #fff;
  box-shadow: 0 20px 40px -18px rgba(0, 12, 120, 0.35), 0 0 0 1px rgba(0, 18, 255, 0.06);
}
/* Keep the floating cards to the phone's edges so they don't cover the screen */
@media (min-width: 641px) {
  .hero--light .float--a {
    top: 17%;
    left: auto;
    right: calc(50% + 132px);
  }
  .hero--light .float--b {
    top: -2%;
    bottom: auto;
    right: auto;
    left: calc(50% + 30px);
  }
  .hero--light .float--c {
    bottom: 9%;
    left: auto;
    right: calc(50% + 128px);
  }
}

/* No ticker under the hero any more, so less room below it */
.hero--light {
  padding-bottom: clamp(72px, 9vw, 120px);
}

@media (max-width: 640px) {
  .hero--light .pill {
    font-size: 13px;
    white-space: nowrap;
  }
}

/* ---------- Kyva in 10 seconds ---------- */

.quick {
  padding-top: clamp(56px, 7vw, 96px);
}
.quick__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.qcard {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px;
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease);
}
.qcard:hover {
  transform: translateY(-4px) rotate(-0.4deg);
}
.qcard h3 {
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 800;
}
.qcard p {
  max-width: 28em;
}
.qcard__num {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0.6;
}
.qcard__visual {
  margin-top: auto;
  padding-top: 16px;
}
.qcard--cobalt {
  background: var(--cobalt);
  color: #fff;
}
.qcard--cobalt p {
  color: rgba(255, 255, 255, 0.8);
}
.qcard--yellow {
  background: var(--yellow);
  color: var(--ink);
}
.qcard--yellow p {
  color: rgba(17, 17, 20, 0.72);
}
.qcard--ink {
  background: var(--ink);
  color: #fff;
}
.qcard--ink p {
  color: rgba(255, 255, 255, 0.72);
}

/* 01: the budget split */
.qsplit__bar {
  display: flex;
  gap: 5px;
  height: 44px;
}
.qsplit__bar i {
  width: var(--w);
  border-radius: 12px;
  background: #fff;
  transform-origin: left;
}
.qsplit__bar i:nth-child(2) {
  background: var(--yellow);
}
.qsplit__bar i:nth-child(3) {
  background: rgba(255, 255, 255, 0.35);
}
.qsplit__legend {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}
.qsplit__legend span {
  display: block;
}
.qsplit__legend strong {
  display: block;
  margin-top: 2px;
}
.qsplit__legend b {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 2px;
  background: #fff;
}
.qsplit__legend span:nth-child(2) b {
  background: var(--yellow);
}
.qsplit__legend span:nth-child(3) b {
  background: rgba(255, 255, 255, 0.35);
}
.qsplit__legend strong {
  font-family: var(--display);
  font-size: 18px;
  color: #fff;
}

/* 02: transactions sorting themselves */
.qtx {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 0;
  list-style: none;
}
.qtx li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 10px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px -14px rgba(10, 11, 30, 0.4);
  font-size: 14px;
}
.qtx li > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--cobalt-soft);
}
.qtx b {
  display: grid;
  flex: 1;
  line-height: 1.25;
}
.qtx em {
  justify-self: start;
  margin-top: 3px;
  padding: 1px 8px;
  border-radius: 99px;
  background: var(--cobalt);
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}
.qtx li:nth-child(2) em {
  background: var(--green);
}
.qtx li:nth-child(3) em {
  background: var(--ink);
}

/* 03: insight bubbles */
.qchat {
  display: grid;
  gap: 8px;
}
.qcard .qchat p {
  justify-self: start;
  max-width: 92%;
  padding: 12px 16px;
  border-radius: 18px 18px 18px 4px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}
.qcard .qchat p:last-child {
  background: var(--yellow);
  color: var(--ink);
}

.quick__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 36px;
}
.quick__cta .btn {
  background: var(--cobalt);
  color: #fff;
}
.quick__cta span {
  font-size: 15px;
  color: var(--muted);
}

@media (max-width: 960px) {
  .quick__grid {
    grid-template-columns: 1fr;
  }
  .qcard__visual {
    max-width: 420px;
  }
}

.faq__more {
  margin-top: 20px;
  color: var(--muted);
}
.faq__more a {
  color: var(--cobalt);
  font-weight: 700;
}

/* ---------- Subpages (FAQ, Policies) ---------- */

.page {
  padding-top: calc(var(--nav-h) + clamp(40px, 6vw, 72px));
}
.page .section__title {
  font-size: clamp(32px, 4vw, 48px);
}
.faq__list a,
.legal a {
  color: var(--cobalt);
  font-weight: 600;
}
.legal {
  max-width: 860px;
}
.legal__toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.legal .legal__toc a {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--cobalt-soft);
  text-decoration: none;
  font-size: 15px;
}
.legal__doc {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--nav-h) + 16px);
}
.legal__doc h2 {
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 800;
}
.legal__doc h3 {
  margin-top: 28px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.legal__doc p,
.legal__doc ul {
  margin-top: 12px;
  color: var(--muted);
}
.legal__doc li + li {
  margin-top: 6px;
}
.legal__updated {
  font-size: 14px;
}

/* ---------- Closing section: join + contact ---------- */

.finale {
  border-top: 1px solid var(--line);
}
.finale__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.finale__lead {
  margin-top: 14px;
  max-width: 30em;
  color: var(--muted);
}
.finale .waitlist--light {
  margin: 28px 0 0;
}
.finale .stores {
  margin-top: 24px;
}
.finale__contact {
  padding-left: clamp(0px, 4vw, 48px);
  border-left: 1px solid var(--line);
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.finale__contact h3 {
  font-size: 24px;
  font-weight: 800;
}
.finale__contact > p:not(.eyebrow) {
  margin-top: 10px;
  color: var(--muted);
}
.finale__email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 18px;
  font-weight: 700;
  color: var(--cobalt);
  text-decoration: none;
}
.finale__email svg {
  transition: transform 0.25s var(--ease);
}
.finale__email:hover svg {
  transform: translateX(4px);
}
.finale .socials {
  justify-content: flex-start;
  margin-top: 24px;
}
.finale .socials a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 18px;
}
.finale .socials a[hidden] {
  display: none;
}

@media (max-width: 860px) {
  .finale__inner {
    grid-template-columns: 1fr;
  }
  .finale__contact {
    padding: 32px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

/* ---------- Contact page ---------- */

.contact__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.contact .lead {
  max-width: 28em;
}
.contact__card {
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.contact__label {
  margin-top: 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact__label:first-child {
  margin-top: 0;
}
.contact__email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 800;
  color: var(--cobalt);
  text-decoration: none;
}
.contact__email svg {
  transition: transform 0.25s var(--ease);
}
.contact__email:hover svg {
  transform: translateX(4px);
}
.contact .socials {
  justify-content: flex-start;
  margin-top: 10px;
}
.contact .socials a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 18px;
}
.contact .socials a[hidden] {
  display: none;
}
.contact__company {
  margin-top: 8px;
  color: var(--text);
}

@media (max-width: 860px) {
  .contact__inner {
    grid-template-columns: 1fr;
  }
}

/* Links waiting on a URL in links.js stay out of sight */
[data-hide-empty][hidden] {
  display: none !important;
}
