:root {
  --ink: #0b1020;
  --navy: #141b2e;
  --deep: #1f2a44;
  --paper: #f7f5f0;
  --card: #ffffff;
  --muted: #5f6b7d;
  --soft: #aab4c5;
  --line: #e7e2d8;
  --accent: #ea580c;
  --accent-dark: #c2410c;
  --glow: #fdba74;
  --mint: #34d399;
  --good: #15803d;
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", "Hiragino Sans", "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-dark);
}

/* An image keeps its shape whatever width it is given. */
img {
  max-width: 100%;
  height: auto;
}

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- navigation ---- */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 16, 32, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav .wrap {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 66px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.logo img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.nav a.item {
  color: #c3ccdb;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s;
}

.nav a.item:hover,
.nav a.item[aria-current="page"] {
  color: #fff;
}

.cta,
.ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.cta {
  background: linear-gradient(135deg, #f97316, #ea580c 55%, #c2410c);
  color: #fff;
  box-shadow: 0 10px 30px rgba(234, 88, 12, 0.38);
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(234, 88, 12, 0.5);
}

.ghost {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.ghost.dark {
  border-color: #d6d0c2;
  color: var(--ink);
  background: #fff;
}

.nav .cta {
  padding: 9px 18px;
  font-size: 15px;
  box-shadow: none;
}

/* ---- hero ---- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: drift 16s ease-in-out infinite alternate;
}

.hero::before {
  width: 620px;
  height: 620px;
  right: -160px;
  top: -220px;
  background: radial-gradient(circle, #f97316, transparent 65%);
}

.hero::after {
  width: 520px;
  height: 520px;
  left: -200px;
  bottom: -260px;
  background: radial-gradient(circle, #4f46e5, transparent 65%);
  animation-delay: -6s;
}

@keyframes drift {
  to {
    transform: translate(60px, 40px) scale(1.12);
  }
}

.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-top: 84px;
  padding-bottom: 96px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 7px 14px;
  border: 1px solid rgba(253, 186, 116, 0.35);
  border-radius: 999px;
  background: rgba(253, 186, 116, 0.1);
  color: var(--glow);
  font-size: 13.5px;
  font-weight: 600;
}

.pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(52, 211, 153, 0);
  }
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dark .eyebrow,
.hero .eyebrow {
  color: var(--glow);
}

h1 {
  margin: 0 0 22px;
  font-size: clamp(42px, 6.6vw, 76px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

h1 em,
h2 em {
  font-style: normal;
  background: linear-gradient(100deg, #fdba74, #fb923c 40%, #f472b6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin: 0 0 32px;
  max-width: 32em;
  color: #c3ccdb;
  font-size: 20px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.fine {
  margin: 22px 0 0;
  color: var(--soft);
  font-size: 14px;
}

/* ---- the phone, drawn in CSS so it stays sharp and can move ---- */

.stage {
  position: relative;
  justify-self: center;
  width: min(330px, 100%);
}

.device {
  position: relative;
  padding: 12px;
  border-radius: 46px;
  background: linear-gradient(160deg, #2a3350, #0b1020);
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.12);
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  50% {
    transform: translateY(-14px) rotate(-1deg);
  }
}

.screen-ui {
  overflow: hidden;
  border-radius: 36px;
  background: #f5f3ee;
  color: var(--ink);
  font-size: 14px;
}

.ui-bar {
  display: flex;
  justify-content: space-between;
  padding: 18px 20px 12px;
  background: var(--deep);
  color: #fff;
  font-weight: 700;
}

.ui-bar span {
  color: #aab4c5;
  font-weight: 500;
  font-size: 12.5px;
}

.ui-card {
  margin: 12px;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
}

.ui-label {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ui-amount {
  margin: 2px 0 0;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.ui-shop {
  margin: 4px 0 0;
  font-size: 17px;
  font-weight: 700;
}

.ui-pay {
  display: block;
  margin-top: 14px;
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f97316, #c2410c);
  color: #fff;
  font-weight: 700;
  text-align: center;
}

.ui-row {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-weight: 600;
}

.ui-row:first-of-type {
  border-top: 0;
}

.ui-row small {
  display: block;
  color: var(--muted);
  font-weight: 400;
}

.ui-row b.in {
  color: var(--good);
}

.toast {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(20, 27, 46, 0.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  animation: rise 6s ease-in-out infinite;
}

.toast small {
  display: block;
  color: var(--soft);
  font-weight: 400;
}

.toast .dot {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--mint);
  color: #06281c;
  font-weight: 800;
}

.toast.one {
  top: 16%;
  left: -34%;
}

.toast.two {
  bottom: 14%;
  right: -30%;
  animation-delay: -3s;
}

.toast.two .dot {
  background: var(--glow);
  color: #4a1d05;
}

@keyframes rise {
  50% {
    transform: translateY(-12px);
  }
}

/* ---- sections ---- */

section {
  padding: 96px 0;
}

section.tight {
  padding: 64px 0;
}

section.alt {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

section.dark {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4.4vw, 48px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.sub {
  max-width: 38em;
  margin: 0 0 44px;
  color: var(--muted);
  font-size: 19px;
}

.dark .sub {
  color: #c3ccdb;
}

.center {
  text-align: center;
}

.center .sub {
  margin-left: auto;
  margin-right: auto;
}

/* ---- headline numbers ---- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.stat {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.stat b {
  display: block;
  margin-bottom: 4px;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, var(--ink), #4b5878);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span {
  color: var(--muted);
  font-size: 15px;
}

.ribbon {
  margin-top: -52px;
  position: relative;
  z-index: 2;
}

.ribbon .stat {
  box-shadow: 0 24px 60px rgba(11, 16, 32, 0.12);
}

/* ---- feature cards ---- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}

.feature {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.feature:hover {
  transform: translateY(-4px);
  border-color: #f3c9a8;
  box-shadow: 0 24px 50px rgba(11, 16, 32, 0.1);
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.feature .proof {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  color: var(--ink);
  font-size: 14.5px;
}

.proof b {
  color: var(--good);
}

.icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff1e6, #ffe0c7);
  font-size: 26px;
}

.dark .feature {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.dark .feature:hover {
  border-color: rgba(253, 186, 116, 0.5);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.dark .feature p {
  color: #b5bfd0;
}

.dark .icon {
  background: rgba(253, 186, 116, 0.14);
}

/* ---- the feature board: tiles of different sizes, each with a small drawing ---- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  grid-column: span 2;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--card);
  transition: transform 0.25s, box-shadow 0.25s;
}

.tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(11, 16, 32, 0.12);
}

.tile.wide {
  grid-column: span 3;
}

.tile.full {
  grid-column: span 4;
}

.tile.night {
  border-color: transparent;
  background: linear-gradient(150deg, #1f2a44, #0b1020);
  color: #fff;
}

.tile.sun {
  border-color: transparent;
  background: linear-gradient(150deg, #fff3e6, #ffd9b8);
}

.tile.mint {
  border-color: transparent;
  background: linear-gradient(150deg, #e9fbf3, #c9f2e0);
}

.tile p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.tile.night p {
  color: #b5bfd0;
}

.tile h3 {
  font-size: 24px;
}

.art {
  display: grid;
  place-items: center;
  flex: 1;
  min-height: 190px;
  margin-top: 26px;
}

/* a QR code being scanned */
.scan {
  position: relative;
  padding: 14px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.scan canvas {
  display: block;
  width: 150px;
  height: 150px;
}

.scan::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 14px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
  box-shadow: 0 0 18px 4px rgba(249, 115, 22, 0.7);
  animation: sweep 2.6s ease-in-out infinite;
}

@keyframes sweep {
  50% {
    transform: translateY(148px);
  }
}

/* messages between friends */
.chat {
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: 300px;
}

.bubble {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(11, 16, 32, 0.08);
  font-size: 15px;
  font-weight: 600;
}

.bubble.me {
  justify-self: end;
  background: var(--ink);
  color: #fff;
}

.bubble b {
  margin-left: auto;
  color: var(--good);
}

.bubble.me b {
  color: var(--glow);
}

.face {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f97316, #f472b6);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.face.two {
  background: linear-gradient(135deg, #34d399, #0ea5e9);
}

/* a balance going up */
.meter {
  width: 100%;
  max-width: 300px;
  padding: 18px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(11, 16, 32, 0.1);
}

.meter small {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.meter strong {
  display: block;
  font-size: 34px;
  letter-spacing: -0.02em;
}

.meter span {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #dcfce7;
  color: #14532d;
  font-size: 13px;
  font-weight: 700;
}

.bar {
  height: 8px;
  margin-top: 14px;
  border-radius: 8px;
  background: #eee7da;
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: 8px;
  background: linear-gradient(90deg, #f97316, #f472b6);
  animation: fill 3.4s ease-in-out infinite alternate;
}

@keyframes fill {
  to {
    width: 92%;
  }
}

/* a home screen */
.home {
  display: grid;
  grid-template-columns: repeat(4, 46px);
  gap: 14px;
}

.home i {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(11, 16, 32, 0.1);
}

.home img {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  box-shadow: 0 10px 22px rgba(11, 16, 32, 0.35);
  animation: pop 3s ease-in-out infinite;
}

@keyframes pop {
  50% {
    transform: scale(1.14);
  }
}

/* one tap, one payment */
.once {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
}

.once span {
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.once span.dim {
  opacity: 0.45;
  text-decoration: line-through;
}

.once b {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--mint);
  color: #06281c;
  font-size: 26px;
}

/* ---- the till, drawn ---- */

.till {
  justify-self: center;
  width: min(360px, 100%);
  padding: 22px;
  border-radius: 28px;
  background: linear-gradient(160deg, #1f2a44, #0b1020);
  color: #fff;
  box-shadow: 0 40px 80px rgba(11, 16, 32, 0.3);
}

.till .ui-label {
  color: #aab4c5;
}

.till .ui-amount {
  font-size: 44px;
}

.till .paid {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(52, 211, 153, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.4);
  font-weight: 700;
}

.till .paid i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--mint);
  color: #06281c;
  font-style: normal;
}

.till .ui-row {
  border-color: rgba(255, 255, 255, 0.1);
  font-weight: 500;
}

.till .ui-row small {
  color: #aab4c5;
}

/* ---- get the app ---- */

.get {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  padding: 56px;
  border-radius: 34px;
  background: linear-gradient(135deg, #1f2a44, #0b1020 65%);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.get::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.5), transparent 65%);
  filter: blur(60px);
}

.get > * {
  position: relative;
}

.get .sub {
  color: #c3ccdb;
  margin-bottom: 28px;
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.platforms li {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #e5e9f2;
  font-size: 14.5px;
  font-weight: 600;
}

.qr-card {
  justify-self: center;
  padding: 20px 20px 14px;
  border-radius: 26px;
  background: #fff;
  color: var(--ink);
  text-align: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.qr-card canvas {
  display: block;
  width: 200px;
  height: 200px;
}

.qr-card p {
  margin: 10px 0 0;
  font-size: 14px;
  font-weight: 700;
}

/* ---- big alternating blocks ---- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split + .split {
  margin-top: 96px;
}

.split.flip > :first-child {
  order: 2;
}

.split ul {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.split li {
  position: relative;
  margin: 12px 0;
  padding-left: 34px;
  color: var(--muted);
}

.split li b {
  color: var(--ink);
}

.split li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #dcfce7;
  color: var(--good);
  font-size: 13px;
  font-weight: 800;
}

.shot {
  justify-self: center;
  width: min(300px, 100%);
  padding: 10px;
  border-radius: 40px;
  background: linear-gradient(160deg, #2a3350, #0b1020);
  box-shadow: 0 40px 80px rgba(11, 16, 32, 0.3);
}

.shot img {
  display: block;
  width: 100%;
  border-radius: 31px;
}

.phone {
  justify-self: center;
  width: min(280px, 100%);
  padding: 10px;
  border-radius: 38px;
  background: linear-gradient(160deg, #2a3350, #0b1020);
  box-shadow: 0 30px 70px rgba(11, 16, 32, 0.28);
}

.phone img {
  display: block;
  width: 100%;
  border-radius: 29px;
}

.screens {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  align-items: start;
}

.screen {
  text-align: center;
}

.screen .phone {
  margin: 0 auto 18px;
  width: min(250px, 100%);
}

.screen p {
  margin: 0 auto;
  max-width: 22em;
  color: var(--muted);
  font-size: 16px;
}

.wide-shot {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(11, 16, 32, 0.2);
}

/* ---- three steps ---- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 30px 26px 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f97316, #c2410c);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}

.step p {
  margin: 0;
  color: #b5bfd0;
  font-size: 16px;
}

.flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  counter-reset: step;
}

.flow div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  color: #c3ccdb;
  font-size: 15px;
}

.flow div::before {
  counter-increment: step;
  content: counter(step);
  display: block;
  margin-bottom: 6px;
  color: var(--glow);
  font-weight: 800;
}

.flow b {
  display: block;
  color: #fff;
}

/* ---- questions ---- */

.faq {
  max-width: 800px;
  margin: 0 auto;
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-size: 19px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  color: var(--accent);
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details p {
  margin: 0 0 22px;
  color: var(--muted);
}

/* ---- the closing call ---- */

.finale {
  position: relative;
  overflow: hidden;
  padding: 72px 40px;
  border-radius: 34px;
  background: linear-gradient(135deg, #1f2a44, #0b1020 60%);
  color: #fff;
  text-align: center;
}

.finale::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.55), transparent 65%);
  filter: blur(60px);
}

.finale > * {
  position: relative;
}

.finale .sub {
  margin: 0 auto 32px;
  color: #c3ccdb;
}

.finale .actions {
  justify-content: center;
}

.actions.band {
  justify-content: center;
  margin: 36px 0 0;
}

.band {
  text-align: center;
}

.band .sub {
  margin-left: auto;
  margin-right: auto;
}

.band .actions {
  justify-content: center;
  margin: 24px 0 0;
}

/* ---- tables, charts and notes, for the pages about how it is built ---- */

.scroll {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  font-size: 15.5px;
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

tr:last-child td {
  border-bottom: 0;
}

td.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.pass {
  display: inline-block;
  padding: 1px 9px;
  border-radius: 999px;
  background: #dcfce7;
  color: #14532d;
  font-size: 13px;
  font-weight: 700;
}

.chart {
  width: 100%;
  height: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.note {
  padding: 20px 22px;
  border-left: 4px solid var(--accent);
  border-radius: 0 14px 14px 0;
  background: #fff7ed;
  font-size: 16px;
}

.prose {
  max-width: 760px;
}

.prose h2 {
  margin-top: 40px;
  font-size: 26px;
}

.prose p,
.prose li {
  color: #3a4558;
}

/* ---- footer ---- */

footer {
  padding: 56px 0 40px;
  background: var(--ink);
  color: #94a3b8;
  font-size: 15px;
}

.foot {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.foot h4 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.foot a {
  display: block;
  margin: 8px 0;
  color: #c3ccdb;
  text-decoration: none;
}

.foot a:hover {
  color: #fff;
}

.foot p {
  margin: 12px 0 0;
  max-width: 26em;
}

.legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin: 24px 0 0;
  font-size: 13.5px;
}

.legal strong {
  color: #e5e9f2;
}

code {
  font: 0.9em ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--glow);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---- the notice in the corner while the app wakes up ---- */

.wake {
  position: fixed;
  top: 82px;
  right: 16px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 32px);
  padding: 10px 16px 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(11, 16, 32, 0.94);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 16px 40px rgba(11, 16, 32, 0.35);
}

.wake i {
  flex: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: var(--glow);
  border-radius: 50%;
  animation: spin 0.8s linear infinite !important;
}

.wake.ready i {
  border: 0;
  background: var(--mint);
  animation: none !important;
}

.wake a {
  color: var(--glow);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---- things appear as they are scrolled to ---- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.seen {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .hero .wrap,
  .split {
    grid-template-columns: 1fr;
  }

  .hero .wrap {
    padding-top: 56px;
    padding-bottom: 104px;
  }

  .split.flip > :first-child {
    order: 0;
  }

  .toast.one {
    left: -6%;
  }

  .toast.two {
    right: -6%;
  }

  .nav a.item.optional {
    display: none;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .tile,
  .tile.wide,
  .tile.full {
    grid-column: auto;
  }

  .get {
    grid-template-columns: 1fr;
    padding: 36px 24px;
  }

  section {
    padding: 64px 0;
  }

  .foot {
    grid-template-columns: 1fr 1fr;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat {
    padding: 18px;
  }

  .stat b {
    font-size: 30px;
  }

  .finale {
    padding: 52px 22px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
