/* ── The home page's own stylesheet ────────────────────────────────────────
 * Everything here used to live in an inline <style> in index.html, and only
 * index.html links it. It is loaded LAST, after the five shared sheets, because
 * it deliberately overrides them — `.b-dark` beating `.card` on background is
 * the cascade this page depends on.
 *
 * Keep it last, and keep it a <link>. It was inline until the dev server made
 * that untenable: Farm injects linked CSS at runtime for HMR, which appends it
 * to <head> after any static <style> and inverted the whole cascade — the dark
 * split card rendered on a cream background because `.card` from utils.css
 * started winning. As a linked sheet it takes its place in document order like
 * everything else. */

/* ── Sparekey tokens (lifted from the app's design source of truth) ───────── */
:root {
  --pine: #17402f;
  --pine-lit: #1e5540;
  --pine-deep: #0e2c20;
  --marigold: #f0a21b;
  --marigold-deep: #d98a06;
  --marigold-ink: #7a4e06;
  --butter: #fbe9be;
  --butter-deep: #f6df9a;
  --page: #f3ede2;
  --card: #fffdf8;
  --line: #e6ddcc;
  --ink: #221b10;
  --ink-soft: #6b6151;
  --muted: #766a54;
  --mint: #dceddd;
  --moss: #1e6a4c;
  --blush: #f7dccb;
  --rust: #c2483d;

  --grad-pine: linear-gradient(135deg, #1e5540 0%, #17402f 45%, #0e2c20 100%);
  --grad-butter: linear-gradient(135deg, #fbe9be 0%, #f6df9a 100%);
  --shadow-card: 0 1px 2px #402c0c0d, 0 6px 20px -6px #402c0c1a;
  --shadow-note: 0 1px 1px #402c0c14, 0 10px 18px -8px #402c0c38;
  --shadow-pop: 0 12px 40px -8px #1e140459;

  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, sans-serif;
  --mono: "Spline Sans Mono", ui-monospace, monospace;

  /* one easing for the whole page, so every hover feels like the same hand */
  --ease: cubic-bezier(.2, .8, .2, 1);
  --nav-h: 72px;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

section,
header {
  scroll-margin-top: calc(var(--nav-h) + 16px)
}

:focus-visible {
  outline: 2px solid var(--marigold-deep);
  outline-offset: 3px;
  border-radius: 6px
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden
}

h1,
h2,
h3 {
  font-family: var(--display);
  letter-spacing: -.015em;
  line-height: 1.06;
  margin: 0
}

p {
  margin: 0
}

a {
  color: inherit;
  text-decoration: none
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4.5vw, 24px)
}

.tabular {
  font-variant-numeric: tabular-nums;
  font-family: var(--mono)
}

.js .reveal {
  opacity: 0
}

.no-anime .reveal {
  opacity: 1 !important
}

/* paper grain, same trick the app uses */
.grain {
  position: relative
}

.grain::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: .5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E")
}

.label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted)
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-card)
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 24px;
  white-space: nowrap;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  /* holds the shine, and clips it to the pill */
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: translate .18s var(--ease), box-shadow .18s, background .18s, border-color .18s
}

/* A light travels across the face once, on the way in. Two things keep it
 * cheap: it is a pseudo-element, so it composites on its own and never
 * touches the button's own paint, and it animates `translate` only — the
 * same property the lift uses, on a different element, so they compose. */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(105deg,
      transparent 38%,
      rgba(255, 253, 248, .55) 50%,
      transparent 62%);
  translate: -130% 0;
}

.btn .arw {
  display: inline-block;
  transition: transform .22s var(--ease)
}

.btn-primary {
  background: var(--marigold);
  color: var(--ink);
  box-shadow: var(--shadow-note)
}

.btn-ghost {
  background: var(--card);
  border-color: var(--line);
  color: var(--pine)
}

.btn-cream {
  background: var(--butter);
  color: var(--marigold-ink)
}

@media(hover:hover) {
  .btn-primary:hover {
    background: var(--marigold-deep);
    translate: 0 -2px
  }

  .btn-ghost:hover {
    border-color: var(--marigold);
    translate: 0 -2px
  }

  .btn-cream:hover {
    background: #fff3d6;
    translate: 0 -2px
  }

  .btn:hover .arw {
    transform: translateX(4px)
  }

  /* The transition lives here rather than on the base rule on purpose: on
   * the way out there is nothing to animate, so the light resets to its
   * start instantly instead of sliding back across the button. */
  .btn:hover::after {
    translate: 130% 0;
    transition: translate .62s var(--ease)
  }
}

.btn:active {
  scale: .97
}

/* ── nav ─────────────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--page) 80%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s
}

nav.stuck {
  border-color: var(--line)
}

nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h)
}

/* how far down the page you are, drawn along the nav's own hairline */
.progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  background: var(--marigold);
  transform: scaleX(0);
  transform-origin: left;
  opacity: .9;
  z-index: 3
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px
}

.mark {
  width: 32px;
  height: 32px;
  border-radius: 11px;
  background: var(--grad-pine);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-note);
  transition: transform .3s var(--ease)
}

.mark svg {
  width: 17px;
  height: 17px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 1.9
}

@media(hover:hover) {
  .logo:hover .mark {
    transform: rotate(-8deg) scale(1.06)
  }
}

.navlinks {
  display: flex;
  gap: 30px;
  font-size: 15px;
  color: var(--ink-soft)
}

.navlinks a {
  position: relative;
  padding: 4px 0;
  transition: color .2s
}

.navlinks a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1.5px;
  width: 100%;
  background: var(--marigold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease)
}

.navlinks a:hover {
  color: var(--ink)
}

.navlinks a:hover::after {
  transform: scaleX(1);
  transform-origin: left
}

/* ── mobile nav ──────────────────────────────────────────────────────── */
/* bars are 1.8px tall with a 4.6px gap, so their centres sit 6.4px apart —
   that's exactly how far each one travels to meet in the middle as an X */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4.6px;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--card);
  border: 1px solid var(--line);
  cursor: pointer;
  padding: 0;
  box-shadow: var(--shadow-card);
  transition: border-color .2s, transform .18s var(--ease)
}

.burger:active {
  scale: .94
}

.burger span {
  display: block;
  width: 17px;
  height: 1.8px;
  background: var(--pine);
  border-radius: 2px;
  transition: transform .32s var(--ease), opacity .18s
}

nav.open .burger {
  border-color: var(--marigold)
}

nav.open .burger span:nth-child(1) {
  transform: translateY(6.4px) rotate(45deg)
}

nav.open .burger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(.3)
}

nav.open .burger span:nth-child(3) {
  transform: translateY(-6.4px) rotate(-45deg)
}

/* Absolute, so opening floats it over the hero instead of shoving the page down.
 * The open/close is a 0fr→1fr grid row rather than a measured height: it needs
 * no JS to animate, so the menu still works if the anime CDN never loads. */
.drawer {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--page);
  grid-template-rows: 0fr;
  border-top: 1px solid transparent;
  box-shadow: 0 20px 34px -24px transparent;
  transition: grid-template-rows .4s var(--ease), border-color .3s, box-shadow .4s
}

nav.open .drawer {
  grid-template-rows: 1fr;
  border-color: var(--line);
  box-shadow: 0 20px 34px -24px rgba(64, 44, 12, .55)
}

/* Vertical spacing lives on the children, not this wrap: a stretched grid item
 * can't shrink below its own padding, which would leave a strip of panel
 * showing under the nav even when closed. */
.drawer > .wrap {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
  min-height: 0;
  padding-top: 0;
  padding-bottom: 0
}

.drawer a.dl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 2px;
  font-size: 17px;
  font-family: var(--display);
  font-weight: 600;
  border-bottom: 1px solid var(--line)
}

.drawer a.dl:first-of-type {
  margin-top: 14px
}

.drawer a.dl::after {
  content: "→";
  color: var(--marigold-deep);
  font-family: var(--mono);
  transition: transform .22s var(--ease)
}

@media(hover:hover) {
  .drawer a.dl:hover::after {
    transform: translateX(4px)
  }
}

.drawer .btn {
  margin: 20px 0 22px;
  width: 100%;
  justify-content: center
}

/* links deal in one after another once the panel is on its way open */
.drawer .dl {
  opacity: 0;
  transform: translateY(-9px);
  transition: opacity .34s var(--ease), transform .34s var(--ease)
}

.drawer .btn {
  opacity: 0;
  transition: opacity .34s var(--ease), transform .18s var(--ease), background .18s
}

nav.open .drawer .dl {
  opacity: 1;
  transform: none
}

nav.open .drawer .btn {
  opacity: 1;
  transition-delay: .28s
}

nav.open .drawer .dl:nth-of-type(1) {
  transition-delay: .07s
}

nav.open .drawer .dl:nth-of-type(2) {
  transition-delay: .12s
}

nav.open .drawer .dl:nth-of-type(3) {
  transition-delay: .17s
}

nav.open .drawer .dl:nth-of-type(4) {
  transition-delay: .22s
}

@media(max-width:840px) {
  :root {
    --nav-h: 64px
  }

  .navlinks {
    display: none
  }

  .burger {
    display: flex
  }

  .drawer {
    display: grid
  }

  /* The drawer carries its own "Get early access", so a second one in the bar
   * is the same call twice in the same 64px. The burger arrives at this width;
   * the bar's copy leaves at the same moment.
   *
   * Scoped to the direct child of `nav > .wrap` deliberately — the drawer's
   * copy sits at `nav > .drawer > .wrap`, so it is not matched and stays. */
  nav > .wrap > .btn-primary {
    display: none
  }

  /* Reaches only the drawer's button now that the bar's is hidden. */
  nav .btn-primary {
    padding: 11px 18px;
    font-size: 14px
  }
}

/* without scripting the panel can't open, so don't offer a button that does nothing */
html:not(.js) .burger {
  display: none
}

/* ── hero ────────────────────────────────────────────────────────────── */
header {
  position: relative;
  padding: clamp(44px, 7vw, 88px) 0 40px;
  overflow: hidden
}

.glows {
  position: absolute;
  inset: 0;
  pointer-events: none;
  will-change: transform
}

.glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  /* No blur filter here on purpose. Each of these is already a
   * radial-gradient running to `transparent`, so its edge is soft by
   * construction — a 10px blur on top was invisible against a 620px soft
   * blob, but it billed a filter pass over that whole region every frame
   * these are scaled and drifted, which is continuously. */
  will-change: transform
}

.g1 {
  width: 620px;
  height: 620px;
  background: radial-gradient(closest-side, rgba(240, 162, 27, .35), transparent);
  top: -240px;
  right: -120px
}

.g2 {
  width: 520px;
  height: 520px;
  background: radial-gradient(closest-side, #dceddd, transparent);
  bottom: -220px;
  left: -160px;
  opacity: .8
}

.g3 {
  width: 420px;
  height: 420px;
  background: radial-gradient(closest-side, #fbe9be, transparent);
  top: 280px;
  left: 38%
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 48px;
  align-items: center
}

@media(max-width:980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: clamp(38px, 7vw, 56px)
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 15px 7px 8px;
  box-shadow: var(--shadow-card);
  margin-bottom: 26px;
  max-width: 100%
}

.eyebrow .label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.eyebrow i {
  width: 20px;
  height: 20px;
  border-radius: 7px;
  background: var(--grad-butter);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 11px;
  flex: none
}

h1 {
  font-size: clamp(34px, 7.2vw, 68px);
  font-weight: 700
}

h1 em {
  font-style: normal;
  color: var(--pine)
}

.lead {
  font-size: clamp(16.5px, 1.5vw, 19px);
  color: var(--ink-soft);
  margin: 24px 0 34px;
  max-width: 48ch
}

.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center
}

@media(max-width:420px) {
  .cta .btn {
    flex: 1 1 100%;
    justify-content: center
  }
}

.stack {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px
}

.avs {
  display: flex
}

.av {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--page);
  margin-left: -9px;
  display: grid;
  place-items: center;
  color: #fffdf8;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--display);
  transition: transform .3s var(--ease), margin-left .3s var(--ease)
}

.av:first-child {
  margin-left: 0
}

/* the house opens up a little when you look at it */
@media(hover:hover) {
  .stack:hover .av {
    margin-left: -3px;
    transform: translateY(-2px)
  }

  .stack:hover .av:first-child {
    margin-left: 0
  }
}

.stack span {
  font-size: 14px;
  /* color: var(--muted) */
}

/* ── device ──────────────────────────────────────────────────────────── */
.device-col {
  display: flex;
  justify-content: center;
  max-width: 100%
}

.dev-wrap {
  position: relative;
  max-width: 100%
}

.device {
  position: relative;
  z-index: 1;
  width: min(320px, 86vw);
  border-radius: 46px;
  padding: 9px;
  background: linear-gradient(160deg, #2c251a, #100d08);
  box-shadow: var(--shadow-pop), 0 40px 80px -30px rgba(14, 44, 32, .5);
  will-change: transform
}

.notch {
  position: absolute;
  top: 19px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 22px;
  background: #0a0805;
  border-radius: 999px;
  z-index: 3
}

.screen {
  background: var(--page);
  border-radius: 38px;
  overflow: hidden;
  height: 600px;
  position: relative
}

@media(max-width:400px) {
  .screen {
    height: 560px
  }

  .appbody {
    gap: 9px
  }
}

.statusbar {
  display: flex;
  justify-content: space-between;
  padding: 13px 22px 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink)
}

.apptop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 18px 10px
}

.apptop b {
  font-size: 15px
}

.appbody {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 11px
}

.greet {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  margin-top: 2px
}

.balance {
  position: relative;
  border-radius: 20px;
  padding: 16px;
  background: var(--grad-pine);
  color: #fffdf8;
  overflow: hidden;
  box-shadow: var(--shadow-note)
}

.balance::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -70px;
  top: -90px;
  background: radial-gradient(closest-side, rgba(240, 162, 27, .35), transparent);
  animation: aurora 16s ease-in-out infinite
}

.balance .label {
  color: rgba(251, 233, 190, .75)
}

.big {
  font-family: var(--mono);
  font-size: 30px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em
}

.chips {
  display: flex;
  gap: 6px;
  margin: 9px 0 12px;
  position: relative;
  z-index: 2
}

.chip {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 253, 248, .12);
  border-radius: 999px;
  padding: 3px 9px 3px 3px;
  font-size: 11px;
  font-family: var(--mono)
}

.chip i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  font-style: normal;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 700;
  font-family: var(--display)
}

.settle {
  position: relative;
  z-index: 2;
  background: var(--butter);
  color: var(--marigold-ink);
  text-align: center;
  border-radius: 13px;
  padding: 10px;
  font-weight: 700;
  font-size: 13px;
  overflow: hidden
}

.settle::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .8), transparent);
  animation: sheen 4.2s ease-in-out infinite
}

@keyframes sheen {
  0% {
    left: -60%
  }

  45% {
    left: 130%
  }

  100% {
    left: 130%
  }
}

.bills {
  display: flex;
  align-items: center;
  gap: 11px;
  border-radius: 18px;
  padding: 13px;
  background: var(--grad-butter);
  box-shadow: var(--shadow-card)
}

.bills .ic {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: rgba(255, 253, 248, .65);
  display: grid;
  place-items: center;
  font-size: 15px
}

.bills .big {
  font-size: 20px;
  color: var(--marigold-ink)
}

.mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 13px
}

.mini h4 {
  margin: 0;
  font-size: 13.5px;
  font-weight: 700
}

.mini small {
  color: var(--muted);
  font-size: 11.5px
}

.done {
  background: var(--pine);
  color: #ffffff;
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 11.5px;
  font-weight: 700
}

.groc {
  padding: 12px 13px
}

.groc li {
  list-style: none;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 0;
  color: var(--ink-soft);
  position: relative
}

.groc li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--marigold);
  flex: none
}

.strike {
  position: absolute;
  left: 13px;
  top: 52%;
  height: 1.4px;
  width: 34px;
  background: var(--marigold-deep);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left
}

.groc ul {
  margin: 6px 0 0;
  padding: 0
}

.tabbar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  padding: 9px 0 16px;
  /* Opaque on purpose. This sat behind `backdrop-filter: blur(8px)`, which
   * has to re-sample and re-blur its backdrop every time an ancestor moves —
   * and this one's ancestor is #device, which is handed a new transform on
   * every pointer move and every scroll frame, plus all ~1100ms of the intro.
   * That was the hero's opening stutter. What it was blurring is the phone's
   * own static card surface at 92%, so the effect cost a blur per frame and
   * showed essentially nothing. */
  background: var(--card);
  border-top: 1px solid var(--line);
  font-size: 9.5px;
  color: var(--muted)
}

.tabbar div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px
}

.tabbar div.on {
  color: var(--pine);
  font-weight: 700
}

.fab {
  position: absolute;
  right: 18px;
  bottom: 74px;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: var(--marigold);
  display: grid;
  place-items: center;
  font-size: 22px;
  color: var(--ink);
  box-shadow: var(--shadow-pop);
  z-index: 4
}

.fab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--marigold);
  animation: ripple 2.8s cubic-bezier(.2, .6, .3, 1) infinite
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: .6
  }

  70% {
    transform: scale(1.75);
    opacity: 0
  }

  100% {
    opacity: 0
  }
}

/* a notification arriving mid-loop, so the phone feels live rather than posed */
.toast {
  position: absolute;
  top: 44px;
  left: 14px;
  right: 14px;
  z-index: 6;
  opacity: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 9px 12px;
  box-shadow: var(--shadow-pop);
  font-size: 11.5px;
  display: flex;
  align-items: center;
  gap: 8px
}

.toast b {
  font-weight: 700
}

.float {
  position: absolute;
  z-index: 5;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 13px;
  box-shadow: var(--shadow-note);
  font-size: 12.5px;
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap
}

.float b {
  font-weight: 700
}

.f1 {
  top: 96px;
  right: 100%;
  margin-right: -34px
}

.f2 {
  bottom: 132px;
  left: 100%;
  margin-left: -34px
}

/* the awkward band: hero is still two columns but there's no room beside the phone */
@media(min-width:981px) and (max-width:1180px) {

  .f1,
  .f2 {
    display: none
  }
}

/* once the hero stacks, the phone is centred again — tuck the chips onto its edges */
@media(max-width:760px) {
  .f1 {
    top: -14px;
    right: auto;
    left: -18px;
    margin: 0
  }

  .f2 {
    bottom: -12px;
    left: auto;
    right: -18px;
    margin: 0
  }

  .float {
    font-size: 11.5px;
    padding: 8px 11px;
    gap: 7px;
    border-radius: 14px
  }
}

@media(max-width:430px) {
  .f1 {
    left: -10px
  }

  .f2 {
    right: -10px
  }

  .float {
    font-size: 10.5px;
    padding: 7px 9px
  }
}

/* ── ticker ──────────────────────────────────────────────────────────── */
.ticker {
  margin: clamp(40px, 6vw, 64px) 0 clamp(60px, 9vw, 96px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent)
}

.tshift {
  will-change: transform
}

.track {
  display: flex;
  gap: 44px;
  width: max-content;
  animation: slide 34s linear infinite
}

.track span {
  display: flex;
  align-items: center;
  gap: 44px;
  font-family: var(--display);
  font-size: clamp(14.5px, 2.6vw, 17px);
  font-weight: 600;
  color: var(--muted)
}

.track span::after {
  content: "◆";
  color: var(--marigold);
  font-size: 9px
}

@keyframes slide {
  to {
    transform: translateX(-50%)
  }
}

@media(hover:hover) {
  .ticker:hover .track {
    animation-play-state: paused
  }
}

@media(max-width:600px) {
  .track {
    gap: 30px;
    animation-duration: 26s
  }

  .track span {
    gap: 30px
  }
}

section {
  padding: 0 0 clamp(66px, 10vw, 110px)
}

.head {
  max-width: 60ch;
  margin-bottom: clamp(32px, 5vw, 48px)
}

.head .label {
  margin-bottom: 14px;
  display: block
}

.head h2 {
  font-size: clamp(27px, 4.6vw, 46px)
}

.head p {
  color: var(--ink-soft);
  font-size: clamp(16px, 1.6vw, 17.5px);
  margin-top: 16px
}

/* ── bento ───────────────────────────────────────────────────────────── */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(14px, 2vw, 20px)
}

.b {
  padding: clamp(22px, 2.6vw, 28px);
  position: relative;
  overflow: hidden
}

.b-lg {
  grid-column: span 3
}

.b-sm {
  grid-column: span 2
}

@media(max-width:900px) {
  .bento {
    grid-template-columns: repeat(2, 1fr)
  }

  .b-lg,
  .b-sm {
    grid-column: span 1
  }
}

@media(max-width:560px) {
  .bento {
    grid-template-columns: 1fr
  }
}

.b .ic {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--grad-butter);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  box-shadow: var(--shadow-card);
  transition: transform .32s var(--ease)
}

.ic svg {
  width: 22px;
  height: 22px;
  stroke: var(--marigold-ink);
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .32s var(--ease)
}

.b-dark .ic svg {
  stroke: #ffffff
}

.bills .ic svg {
  width: 18px;
  height: 18px;
  stroke: var(--marigold-ink);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round
}

.ic-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex: none
}

.ic-badge-moss {
  background: var(--mint);
  color: var(--moss)
}

.ic-badge-amber {
  background: var(--butter);
  color: var(--marigold-ink)
}

.tabbar div span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 16px;
  width: 16px
}

.tabbar div span svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round
}

.status-icons {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ink-soft);
  opacity: .85
}

.status-icons svg {
  display: block
}

.b h3 {
  font-size: clamp(18px, 1.9vw, 20px);
  margin-bottom: 9px
}

.b p {
  color: var(--ink-soft);
  font-size: 15px
}

.b::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 24px 44px -28px rgba(64, 44, 12, .55);
  opacity: 0;
  transition: opacity .28s
}

/* a soft light that follows the cursor across the card — --mx/--my are set in JS */
.b::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(240, 162, 27, .14), transparent 70%)
}

.b-dark::before {
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(251, 233, 190, .13), transparent 70%)
}

.b {
  transition: translate .28s var(--ease);
  transform-origin: center
}

@media(hover:hover) {
  .b:hover {
    translate: 0 -5px
  }

  .b:hover::after,
  .b:hover::before {
    opacity: 1
  }

  .b:hover .ic {
    transform: translateY(-2px) rotate(-6deg) scale(1.07)
  }
}

/* background only — a transform transition here would smear the entrance animation */
.led {
  transition: background .25s
}

@media(hover:hover) {
  .b:hover .led {
    background: rgba(255, 253, 248, .14)
  }

  .b:hover .led.lite {
    background: #fffdf8
  }
}

.b-dark {
  background: var(--grad-pine);
  border-color: transparent;
  color: #fffdf8
}

.b-dark p {
  color: #cfe0d6
}

.b-dark .ic {
  background: rgba(251, 233, 190, .14)
}

.b-dark .label {
  color: rgba(251, 233, 190, .7)
}

.ledger {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px
}

.led {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 253, 248, .08);
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 13px
}

.led .tabular {
  font-size: 13.5px
}

.led.lite {
  background: var(--page);
  border: 1px solid var(--line);
  color: var(--ink-soft)
}

.led.lite b {
  font-size: 11px;
  font-family: var(--body)
}

.pos {
  color: #9fd8b4
}

.neg {
  color: #f2b4a6
}

/* ── steps with drawn line ───────────────────────────────────────────── */
.flow {
  position: relative
}

/* the dotted route sits behind the cards, so it only shows in the gaps between them */
.flowline {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible
}

.flowline path {
  fill: none;
  stroke: var(--marigold);
  stroke-width: 2;
  stroke-dasharray: 1 6;
  stroke-linecap: round;
  opacity: .75
}

.flowdot {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible
}

#dot {
  fill: var(--marigold);
  opacity: 0;
  filter: drop-shadow(0 0 7px rgba(240, 162, 27, .7))
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1
}

@media(max-width:840px) {
  .steps {
    grid-template-columns: 1fr
  }

  .flowline,
  .flowdot {
    display: none
  }
}

.step {
  padding: clamp(24px, 2.8vw, 30px);
  transition: transform .28s var(--ease), border-color .28s
}

.step .n {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: var(--pine);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
  transition: transform .32s var(--ease), background .28s
}

.step h3 {
  font-size: clamp(18px, 1.9vw, 20px);
  margin-bottom: 9px
}

.step p {
  color: var(--ink-soft);
  font-size: 15px
}

@media(hover:hover) {
  .step:hover {
    translate: 0 -4px;
    border-color: var(--marigold)
  }

  .step:hover .n {
    transform: scale(1.08) rotate(-5deg);
    background: var(--pine-lit)
  }
}

/* ── stat band ───────────────────────────────────────────────────────── */
.band {
  background: var(--grad-pine);
  border-radius: clamp(20px, 3vw, 28px);
  padding: clamp(36px, 5vw, 56px) clamp(24px, 4vw, 40px);
  color: #fffdf8;
  position: relative;
  overflow: hidden
}

.band::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -160px;
  top: -260px;
  background: radial-gradient(closest-side, rgba(240, 162, 27, .35), transparent);
  animation: aurora 22s ease-in-out infinite
}

@keyframes aurora {
  0% {
    transform: translate(0, 0) scale(1)
  }

  50% {
    transform: translate(-46px, 34px) scale(1.16)
  }

  100% {
    transform: translate(0, 0) scale(1)
  }
}

.band .inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 32px)
}

@media(max-width:800px) {
  .band .inner {
    grid-template-columns: repeat(2, 1fr)
  }
}

.st b {
  display: block;
  font-family: var(--mono);
  font-size: clamp(30px, 4.4vw, 38px);
  font-weight: 600;
  color: var(--butter);
  letter-spacing: -.02em
}

.st span {
  font-size: 13.5px;
  color: #cfe0d6
}

/* ── faq ─────────────────────────────────────────────────────────────── */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 100%
}

.q {
  padding: 0;
  overflow: hidden;
  transition: border-color .25s
}

.q[open],
.q:hover {
  border-color: #dccfb4
}

.q summary {
  list-style: none;
  cursor: pointer;
  padding: clamp(18px, 2.2vw, 22px) clamp(18px, 2.6vw, 26px);
  font-family: var(--display);
  font-size: clamp(16px, 1.7vw, 17.5px);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px
}

.q summary::-webkit-details-marker {
  display: none
}

.q summary::after {
  content: "+";
  font-family: var(--mono);
  color: var(--marigold-deep);
  font-size: 20px;
  flex: none;
  transition: transform .32s var(--ease)
}

.q[open] summary::after {
  transform: rotate(135deg)
}

.q p {
  padding: 0 clamp(18px, 2.6vw, 26px) 24px;
  color: var(--ink-soft);
  font-size: 15.5px;
  max-width: 100%;
  overflow: hidden
}

/* ── closer + footer ─────────────────────────────────────────────────── */
.closer {
  background: var(--grad-pine);
  border-radius: clamp(20px, 3vw, 28px);
  padding: clamp(48px, 7vw, 72px) clamp(24px, 4vw, 40px);
  text-align: center;
  position: relative;
  overflow: hidden
}

.closer::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  left: -180px;
  bottom: -330px;
  background: radial-gradient(closest-side, rgba(240, 162, 27, .3), transparent);
  animation: aurora 26s ease-in-out infinite reverse
}

.closer>* {
  position: relative;
  z-index: 2
}

.closer h2 {
  font-size: clamp(27px, 4.8vw, 46px);
  color: #fffdf8
}

.closer p {
  color: #cfe0d6;
  max-width: 46ch;
  margin: 18px auto 32px;
  font-size: clamp(15.5px, 1.6vw, 17px)
}

/* .band and .closer already spend ::before on the paper grain, so their
   cursor light is a real element rather than another pseudo */
.band .lightlayer,
.closer .lightlayer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity .45s;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(251, 233, 190, .13), transparent 70%)
}

.band.lit .lightlayer,
.closer.lit .lightlayer {
  opacity: 1
}

footer {
  border-top: 1px solid var(--line);
  margin-top: clamp(66px, 10vw, 110px);
  padding: clamp(48px, 6vw, 64px) 0 36px;
  color: var(--ink-soft);
  font-size: 14.5px
}

.foot-grid {
  display: grid;
  grid-template-columns: 2.2fr repeat(3, 1fr);
  gap: clamp(28px, 4vw, 48px);
  margin-bottom: clamp(40px, 5vw, 56px)
}

.foot-brand p {
  color: var(--ink-soft);
  font-size: 14.5px;
  margin: 14px 0 20px;
  max-width: 34ch;
  line-height: 1.6
}

.foot-email-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--marigold-ink);
  box-shadow: var(--shadow-card);
  transition: border-color .2s, translate .2s var(--ease)
}

@media(hover:hover) {
  .foot-email-chip:hover {
    border-color: var(--marigold);
    translate: 0 -2px
  }
}

.foot-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--moss);
  margin-top: 14px;
  box-shadow: var(--shadow-card);
  width: fit-content
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--moss);
  box-shadow: 0 0 0 3px rgba(30, 106, 76, 0.2);
  animation: pulse-dot 2s infinite
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(30, 106, 76, 0.5); }
  70% { box-shadow: 0 0 0 6px rgba(30, 106, 76, 0); }
  100% { box-shadow: 0 0 0 0 rgba(30, 106, 76, 0); }
}

.foot-socials {
  display: flex;
  gap: 10px;
  margin-top: 18px
}

.foot-socials a {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  transition: all .2s var(--ease);
  box-shadow: var(--shadow-card)
}

@media(hover:hover) {
  .foot-socials a:hover {
    background: var(--pine);
    color: #ffffff;
    border-color: var(--pine);
    translate: 0 -2px
  }
}

.app-store-badges {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap
}

.badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pine);
  color: #ffffff;
  padding: 9px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-card);
  transition: all .2s var(--ease)
}

@media(hover:hover) {
  .badge-btn:hover {
    background: var(--pine-lit);
    translate: 0 -2px
  }
}

.waitlist-form {
  display: flex;
  gap: 8px;
  max-width: 420px;
  margin: 22px auto 0;
  flex-wrap: wrap
}

.waitlist-form input {
  flex: 1;
  min-width: 220px;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  font-family: var(--body);
  font-size: 14px;
  outline: none;
  color: var(--ink)
}

.waitlist-form input:focus {
  border-color: var(--marigold)
}

.foot-col h4 {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 16px
}

.foot-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px
}

.foot-col a {
  color: var(--ink-soft);
  transition: color .2s var(--ease), padding-left .2s var(--ease);
  display: inline-block
}

@media(hover:hover) {
  .foot-col a:hover {
    color: var(--pine);
    padding-left: 3px
  }
}

.foot-btm {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--muted)
}

.foot-legal-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap
}

.foot-legal-links a {
  color: var(--muted);
  transition: color .2s
}

.foot-legal-links a:hover {
  color: var(--ink)
}

@media(max-width:900px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px
  }

  .foot-brand {
    grid-column: span 2
  }
}

@media(max-width:560px) {
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 32px
  }

  .foot-brand {
    grid-column: span 1
  }

  .foot-btm {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px
  }
}

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

  .reveal {
    opacity: 1 !important
  }

  .track {
    animation: none
  }

  .glow {
    transform: none !important
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important
  }
}
