/* wings — inflated balloon UI over an open sky */

:root {
  --lime: #cded1e;
  --lime-lit: #e2f95a;
  --lime-deep: #a5c603;
  --ink: #10240f;
  --soft: rgba(16, 36, 15, .58);
  --faint: rgba(16, 36, 15, .38);
  --line: rgba(16, 36, 15, .15);
  --glass: rgba(255, 255, 255, .5);
  --glass-lit: rgba(255, 255, 255, .72);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  /* the sky is fixed, so it has to still read as sky at every scroll position */
  background: linear-gradient(180deg, #2f8ed6 0%, #5aaee7 26%, #83c6ef 54%, #a6d8f5 78%, #bce3f8 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: Montserrat, "Segoe UI", system-ui, sans-serif;
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── drifting weather ─────────────────────────────────── */

.sky, .rising { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
.sky { z-index: 0; }
.rising { z-index: 1; }

.sky span {
  position: absolute;
  animation: sail linear infinite;
  background-repeat: no-repeat;
  background-image:
    radial-gradient(closest-side, #fff 62%, rgba(255,255,255,0) 100%),
    radial-gradient(closest-side, #fff 60%, rgba(255,255,255,0) 100%),
    radial-gradient(closest-side, #fff 58%, rgba(255,255,255,0) 100%),
    radial-gradient(closest-side, rgba(255,255,255,.9) 55%, rgba(255,255,255,0) 100%);
  background-size: 44% 76%, 34% 56%, 28% 44%, 100% 40%;
  background-position: 28% 34%, 60% 20%, 12% 54%, 50% 78%;
  filter: blur(10px);
}
.sky span:nth-child(1) { left: -20%; top: 10%; width: 46vw; height: 19vw; animation-duration: 160s; }
.sky span:nth-child(2) { left: 32%;  top: 3%;  width: 30vw; height: 12vw; animation-duration: 214s; animation-delay: -80s; opacity: .8; }
.sky span:nth-child(3) { left: 64%;  top: 24%; width: 52vw; height: 21vw; animation-duration: 186s; animation-delay: -130s; opacity: .68; }
.sky span:nth-child(4) { left: 2%;   top: 55%; width: 66vw; height: 27vw; animation-duration: 250s; animation-delay: -45s; opacity: .5; filter: blur(14px); }
.sky span:nth-child(5) { left: 54%;  top: 74%; width: 58vw; height: 24vw; animation-duration: 204s; animation-delay: -160s; opacity: .42; filter: blur(13px); }

.rising span {
  position: absolute;
  bottom: -22vh;
  background: url("./brand/wings-orb.png") center / contain no-repeat;
  animation: climb linear infinite;
  will-change: transform;
}
.rising span:nth-child(1) { left: 6%;  width: 86px;  height: 86px;  rotate: -12deg; opacity: .52; filter: blur(1.5px); animation-duration: 36s; }
.rising span:nth-child(2) { left: 79%; width: 132px; height: 132px; rotate: 14deg;  opacity: .68;                      animation-duration: 29s; animation-delay: -12s; }
.rising span:nth-child(3) { left: 25%; width: 54px;  height: 54px;  rotate: 28deg;  opacity: .38; filter: blur(2.5px); animation-duration: 48s; animation-delay: -32s; }
.rising span:nth-child(4) { left: 60%; width: 72px;  height: 72px;  rotate: -22deg; opacity: .46; filter: blur(2px);   animation-duration: 41s; animation-delay: -6s; }
.rising span:nth-child(5) { left: 91%; width: 44px;  height: 44px;  rotate: 8deg;   opacity: .32; filter: blur(3px);   animation-duration: 55s; animation-delay: -24s; }
.rising span:nth-child(6) { left: 42%; width: 40px;  height: 40px;  rotate: -34deg; opacity: .3;  filter: blur(3px);   animation-duration: 62s; animation-delay: -46s; }
.rising span:nth-child(7) { left: 14%; width: 62px;  height: 62px;  rotate: 20deg;  opacity: .4;  filter: blur(2px);   animation-duration: 44s; animation-delay: -18s; }

/* ── chrome ───────────────────────────────────────────── */

.bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px clamp(18px, 4vw, 44px);
}

/* the scrim lives on a pseudo-element — a mask on .bar would clip the pills too */
.bar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(150, 199, 236, .94) 0%, rgba(150, 199, 236, .74) 58%, rgba(150, 199, 236, 0) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  mask-image: linear-gradient(180deg, #000 0%, #000 64%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 64%, transparent 100%);
}

.host {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--ink);
  text-decoration: none;
}

.links { display: flex; gap: 22px; margin-left: auto; }
.links a {
  font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--soft); text-decoration: none; transition: color 140ms ease;
}
.links a:hover { color: var(--ink); }

.bar-cta { display: flex; gap: 10px; margin-left: auto; }
.links + .bar-cta { margin-left: 0; }

/* ── pills ────────────────────────────────────────────── */

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  height: 44px; padding: 0 21px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  white-space: nowrap; text-decoration: none;
  transition: transform 140ms ease, filter 140ms ease, box-shadow 140ms ease, background 140ms ease;
}
.pill:active { transform: scale(1.03, .93); }

.solid {
  border: 1px solid var(--lime-deep);
  background: linear-gradient(180deg, var(--lime-lit), var(--lime));
  color: #12160a;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65), inset 0 -2px 0 rgba(0,0,0,.12), 0 8px 20px rgba(24,66,96,.2);
}
.solid:hover { filter: brightness(1.05); transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.65), inset 0 -2px 0 rgba(0,0,0,.12), 0 13px 28px rgba(24,66,96,.26); }

.glass, .ghost {
  border: 1px solid rgba(255,255,255,.72);
  background: var(--glass);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 6px 18px rgba(24,66,96,.14);
}
.glass:hover, .ghost:hover { background: var(--glass-lit); transform: translateY(-2px); }
.ghost { padding-left: 17px; }

.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); animation: ping 2.6s ease-out infinite; }

/* ── hero ─────────────────────────────────────────────── */

main { position: relative; z-index: 2; }

.hero {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: clamp(20px, 3.4vh, 36px);
  padding: clamp(10px, 3vh, 40px) 24px clamp(70px, 12vh, 130px);
}

.stage { --tx: 0; --ty: 0; position: relative; width: min(82vw, 1020px); perspective: 1100px; }
.float { animation: buoy 11s ease-in-out infinite; }

.poke {
  display: block; width: 100%; padding: 0; border: 0; background: none;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.poke.squeezed { animation: squeeze 620ms cubic-bezier(.22, 1.4, .36, 1); }

.mark {
  display: block; width: 100%; height: auto;
  transform: rotateY(calc(var(--tx) * 7deg)) rotateX(calc(var(--ty) * -5deg));
  filter: drop-shadow(0 24px 30px rgba(24, 66, 96, .3));
  will-change: transform;
}
body.ready .mark { animation: inflate 900ms cubic-bezier(.18, 1.5, .4, 1) both; }

.cast {
  position: absolute; left: 50%; bottom: 1%;
  width: 50%; height: 22px;
  transform: translateX(-50%) translateX(calc(var(--tx) * 14px));
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(24,66,96,.24), transparent 72%);
  filter: blur(10px);
  animation: settle 11s ease-in-out infinite;
}

.lede {
  margin: 0; max-width: 15ch;
  font-size: clamp(38px, 7.2vw, 88px); font-weight: 800; line-height: .98; letter-spacing: -.035em;
  text-wrap: balance;
}
.lede em { position: relative; font-style: normal; color: #43590a; white-space: nowrap; }
/* an underline that reads as a balloon strip, not a highlighter box */
.lede em::after {
  content: ""; position: absolute; left: -.04em; right: -.04em; bottom: .04em;
  height: .1em; border-radius: 999px;
  background: linear-gradient(90deg, var(--lime-lit), var(--lime));
  box-shadow: 0 2px 6px rgba(24,66,96,.18);
}

.sub {
  margin: 0; max-width: 58ch;
  font-size: clamp(14px, 1.55vw, 17px); font-weight: 600; line-height: 1.6; color: var(--soft);
}

.actions { display: flex; flex-wrap: wrap; gap: 11px; justify-content: center; }
.actions.left { justify-content: flex-start; }

/* ── bands ────────────────────────────────────────────── */

.band { max-width: 1120px; margin: 0 auto; padding: clamp(52px, 9vh, 104px) clamp(20px, 5vw, 44px); }

.kicker {
  display: flex; align-items: center; gap: 9px; margin: 0 0 20px;
  font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--faint);
}
.kicker b { color: var(--ink); font-weight: 800; }
.kicker i { font-style: normal; opacity: .5; }

.big {
  margin: 0 0 20px;
  font-size: clamp(30px, 4.6vw, 56px); font-weight: 800; line-height: 1.02; letter-spacing: -.03em;
  text-wrap: balance;
}
.body { margin: 0 0 34px; max-width: 62ch; font-size: clamp(14px, 1.5vw, 17px); line-height: 1.65; color: var(--soft); }

code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .88em; padding: .12em .38em; border-radius: 6px;
  background: rgba(255,255,255,.62); color: #43590a;
}

/* ── section art ──────────────────────────────────────── */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(20px, 5vw, 60px);
  align-items: center;
}
.split.flip .art { justify-self: center; }

.art { margin: 0; display: flex; justify-content: center; }
.art img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  filter: drop-shadow(0 24px 34px rgba(24, 66, 96, .28));
  animation: hover-drift 9s ease-in-out infinite;
}
.split.flip .art img { max-width: 480px; animation-duration: 10.5s; animation-delay: -3s; }

@keyframes hover-drift {
  0%, 100% { translate: 0 0; rotate: -1.5deg; }
  50%      { translate: 0 -14px; rotate: 1.5deg; }
}

@media (max-width: 820px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .art { order: -1; }
  .art img, .split.flip .art img { max-width: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  .art img { animation: none; }
}

/* ── send demo ────────────────────────────────────────── */

.demo {
  max-width: 460px; padding: 20px;
  border: 1px solid rgba(255,255,255,.8); border-radius: 26px;
  background: rgba(255,255,255,.58);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 18px 40px rgba(24,66,96,.2);
}
.demo-top {
  display: flex; justify-content: space-between; margin-bottom: 16px;
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--faint);
}
.demo-top .live { color: #6f8c02; }
.demo-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.demo-row label { width: 66px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.field {
  flex: 1; height: 48px; display: flex; align-items: center; padding: 0 16px;
  border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.82);
  font-size: 16px; font-weight: 700;
}
.field.amt { justify-content: space-between; }
.field.amt b { font-size: 11px; letter-spacing: .16em; color: var(--faint); }
.demo-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.tag { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: #6f8c02; }
.go {
  height: 40px; display: inline-flex; align-items: center; padding: 0 20px; border-radius: 999px;
  background: linear-gradient(180deg, var(--lime-lit), var(--lime));
  border: 1px solid var(--lime-deep);
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

/* ── cards ────────────────────────────────────────────── */

.grid { display: grid; gap: 14px; }
.grid.five { grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); }
.grid.four { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-bottom: 14px; }
.grid.two  { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card, .panel {
  padding: 22px;
  border: 1px solid rgba(255,255,255,.8); border-radius: 26px;
  background: rgba(255,255,255,.52);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 12px 30px rgba(24,66,96,.16);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.card:hover {
  transform: translateY(-4px); background: rgba(255,255,255,.66);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 20px 40px rgba(24,66,96,.22);
}
.card.accent {
  background: linear-gradient(170deg, rgba(226,249,90,.9), rgba(205,237,30,.62));
  border-color: rgba(255,255,255,.9);
}

.num { display: inline-block; margin-bottom: 12px; font-size: 10px; font-weight: 800; letter-spacing: .2em; color: var(--faint); }
.card h3, .panel h3 { margin: 0 0 8px; font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.card p, .panel p { margin: 0; font-size: 13.5px; line-height: 1.58; color: var(--soft); }
.card .meta {
  margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--line);
  font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--faint);
}
.card.tight { padding: 20px; }
.panel { padding: 26px; }

/* ── steps ────────────────────────────────────────────── */

.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  counter-reset: hop;
}
.steps li {
  position: relative; padding: 26px 22px 22px;
  border: 1px solid rgba(255,255,255,.8); border-radius: 26px;
  background: rgba(255,255,255,.52);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 12px 30px rgba(24,66,96,.16);
  counter-increment: hop;
}
.hop {
  display: block; width: 38px; height: 38px; margin-bottom: 16px; border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #ffffff 0%, rgba(255,255,255,0) 34%),
    linear-gradient(160deg, var(--lime-lit), var(--lime) 52%, var(--lime-deep));
  box-shadow: inset -3px -5px 8px rgba(80,100,0,.28), 0 6px 14px rgba(24,66,96,.24);
  animation: bounce 2.6s ease-in-out infinite;
}
.steps li:nth-child(2) .hop { animation-delay: .22s; }
.steps li:nth-child(3) .hop { animation-delay: .44s; }
.hop::after {
  content: counter(hop);
  display: grid; place-items: center; width: 100%; height: 100%;
  font-size: 14px; font-weight: 800; color: #12160a;
}
.steps h3 { margin: 0 0 8px; font-size: 17px; font-weight: 800; }
.steps p { margin: 0; font-size: 13.5px; line-height: 1.58; color: var(--soft); }

/* ── settlement ───────────────────────────────────────── */

.checks { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; font-size: 14px; line-height: 1.55; color: var(--soft); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 18px; height: 18px; border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, #fff 0%, rgba(255,255,255,0) 40%),
    linear-gradient(160deg, var(--lime-lit), var(--lime-deep));
  box-shadow: inset -2px -3px 5px rgba(80,100,0,.3);
}

.specs { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-bottom: 14px; }
.spec {
  padding: 22px 20px; border-radius: 24px;
  border: 1px solid rgba(255,255,255,.85); background: rgba(255,255,255,.56);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 12px 26px rgba(24,66,96,.14);
}
.spec b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 5px; }
.spec span { font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--faint); }

.net {
  padding: 26px; border-radius: 26px;
  border: 1px solid rgba(255,255,255,.8); background: rgba(255,255,255,.5);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 12px 30px rgba(24,66,96,.16);
}
.net h3 { margin: 0 0 16px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.net dl { margin: 0; display: grid; }
.net dl > div {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13.5px;
}
.net dl > div:last-child { border-bottom: 0; }
.net dt { color: var(--faint); font-weight: 700; }
.net dd { margin: 0; font-weight: 700; text-align: right; word-break: break-all; }

/* ── foot ─────────────────────────────────────────────── */

.foot {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px; justify-content: space-between;
  max-width: 1120px; margin: 0 auto;
  padding: 34px clamp(20px, 5vw, 44px) 54px;
  border-top: 1px solid rgba(255,255,255,.6);
}
.fmark { font-size: 19px; font-weight: 800; letter-spacing: -.025em; }
.fmeta { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.flink {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--soft); text-decoration: none;
}
.flink:hover { color: var(--ink); }

/* ── motion ───────────────────────────────────────────── */

@keyframes climb  { from { transform: translateY(0) translateX(0) rotate(0deg); } to { transform: translateY(-140vh) translateX(3vw) rotate(16deg); } }
@keyframes sail   { from { transform: translateX(-32vw); } to { transform: translateX(132vw); } }
@keyframes buoy   { 0%,100% { translate: 0 0; rotate: 0deg; } 35% { translate: -.7% -1.8%; rotate: -.5deg; } 70% { translate: .6% -.7%; rotate: .4deg; } }
@keyframes inflate{ 0% { opacity: 0; scale: .72 .58; } 60% { opacity: 1; } 100% { opacity: 1; scale: 1 1; } }
@keyframes squeeze{ 0% { scale: 1 1; } 28% { scale: 1.075 .9; } 60% { scale: .97 1.045; } 100% { scale: 1 1; } }
@keyframes settle { 0%,100% { opacity: .85; scale: 1; } 35% { opacity: .62; scale: .9; } 70% { opacity: .78; scale: .97; } }
@keyframes ping   { 0% { box-shadow: 0 0 0 0 rgba(205,237,30,.7); } 70%,100% { box-shadow: 0 0 0 9px transparent; } }
@keyframes bounce { 0%,100% { translate: 0 0; scale: 1 1; } 30% { translate: 0 -7px; scale: .97 1.04; } 60% { translate: 0 0; scale: 1.05 .94; } 75% { translate: 0 0; scale: 1 1; } }

.reveal { opacity: 0; translate: 0 14px; }
.reveal.seen { opacity: 1; translate: 0 0; transition: opacity 620ms ease, translate 620ms cubic-bezier(.22,1,.36,1); }

:where(a, button):focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ── small screens ────────────────────────────────────── */

@media (max-width: 860px) {
  .links { display: none; }
  .bar-cta { margin-left: auto; }
  .stage { width: 92%; }
  .lede { max-width: 100%; }
}
@media (max-width: 560px) {
  .xlink span { display: none; }
  .ghost { padding: 0 15px; }
  .pill { height: 40px; padding: 0 17px; font-size: 11px; letter-spacing: .13em; }
  .net dl > div { flex-direction: column; gap: 3px; }
  .net dd { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sky span, .rising span, .float, .mark, .cast, .dot, .hop { animation: none; }
  .rising { display: none; }
  .reveal { opacity: 1; translate: 0 0; }
}
