/*
 * givvi.io: the landing page, terms and privacy.
 * The app's midnight-and-violet palette and type (app/src/global.css), with more
 * atmosphere: an aurora glow behind the hero and closer, real product photos,
 * and tiles that each carry their own colour.
 */
:root {
  --night: #0b0e1c;
  --night-2: #0f1326;
  --card: #181c33;
  --card-2: #20253f;
  --line: rgb(255 255 255 / 0.08);
  --line-2: rgb(255 255 255 / 0.14);
  --ink: #f2f1fb;
  --muted: #a2a7c3;
  --faint: #646a8c;
  --violet: #8b7bff;
  --violet-deep: #5b47e0;
  --violet-soft: #232050;
  --lilac: #c9c1ff;
  --pink: #ff7ac6;
  --yes: #34c98a;
  --maybe: #f7b844;
  --no: #9ca2bc;

  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: 28px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2.5px solid var(--violet);
  outline-offset: 3px;
  border-radius: 8px;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 50;
  padding: 10px 16px;
  background: var(--violet);
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
}
.skip:focus {
  top: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #9d8fff, var(--violet) 60%, #7a69f5);
  color: #fff;
  font: 650 16px/1 var(--body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.3), 0 1px 0 var(--violet-deep), 0 12px 32px -10px rgb(139 123 255 / 0.7);
  transition: transform 0.15s var(--ease), filter 0.15s;
}
.btn:hover {
  filter: brightness(1.08);
}
.btn:active {
  transform: translateY(1px);
}
.btn-ghost {
  background: rgb(255 255 255 / 0.06);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.btn-small {
  height: 40px;
  padding: 0 18px;
  font-size: 15px;
}
.btn-big {
  height: 60px;
  padding: 0 36px;
  font-size: 18px;
}

/* Top bar */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  /* Its own layer, so Safari never paints blurred hero elements on top of it. */
  transform: translateZ(0);
  border-bottom: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s;
}
.nav.scrolled,
body:not(.home) .nav {
  background: rgb(11 14 28 / 0.78);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 750 21px/1 var(--display);
  letter-spacing: -0.02em;
}
.brand img {
  border-radius: 8px;
}
.nav-links {
  display: flex;
  gap: 32px;
  margin: 0 auto;
}
body:not(.home) .nav-links {
  margin: 0 32px 0 auto;
}
.nav-links a,
.nav-signin {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover,
.nav-signin:hover {
  color: var(--ink);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

/* Hero */
.hero {
  position: relative;
  z-index: 0;
  margin-top: -72px;
  padding-top: 116px;
  overflow: hidden;
  isolation: isolate;
}
.aurora {
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: -8%;
  width: 1700px;
  height: 900px;
  margin-left: -850px;
  pointer-events: none;
  background:
    radial-gradient(38% 42% at 50% 62%, rgb(139 123 255 / 0.55), transparent 70%),
    radial-gradient(30% 34% at 30% 68%, rgb(255 122 198 / 0.32), transparent 70%),
    radial-gradient(30% 34% at 72% 66%, rgb(82 120 255 / 0.4), transparent 70%),
    radial-gradient(50% 40% at 50% 100%, rgb(91 71 224 / 0.6), transparent 75%);
  filter: blur(30px);
}
.sparkles {
  position: absolute;
  inset: 0 0 30% 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 22%, rgb(255 255 255 / 0.7), transparent),
    radial-gradient(1px 1px at 22% 48%, rgb(255 255 255 / 0.5), transparent),
    radial-gradient(1.6px 1.6px at 31% 12%, rgb(201 193 255 / 0.8), transparent),
    radial-gradient(1px 1px at 44% 30%, rgb(255 255 255 / 0.4), transparent),
    radial-gradient(1.2px 1.2px at 63% 16%, rgb(255 255 255 / 0.6), transparent),
    radial-gradient(1.6px 1.6px at 74% 38%, rgb(255 190 230 / 0.7), transparent),
    radial-gradient(1px 1px at 86% 20%, rgb(255 255 255 / 0.5), transparent),
    radial-gradient(1.4px 1.4px at 92% 52%, rgb(201 193 255 / 0.6), transparent),
    radial-gradient(1px 1px at 6% 60%, rgb(255 255 255 / 0.4), transparent),
    radial-gradient(1.2px 1.2px at 54% 6%, rgb(255 255 255 / 0.5), transparent);
}
.hero-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.beta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.05);
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--lilac);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.beta:hover {
  background: rgb(255 255 255 / 0.09);
}
.beta-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yes);
  box-shadow: 0 0 0 4px rgb(52 201 138 / 0.18);
}
.hero h1 {
  margin-top: 24px;
  font-size: clamp(46px, 6.6vw, 92px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 750;
  font-variation-settings: "opsz" 96;
  background: linear-gradient(180deg, #ffffff 30%, #cfc8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.06em;
}
.nw {
  white-space: nowrap;
}
.lede {
  margin-top: 22px;
  max-width: 34em;
  font-size: 19px;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

/* The stage: a fan of cards with the live deck in the middle */
.stage {
  position: relative;
  margin-top: 56px;
  padding-bottom: 96px;
  display: flex;
  justify-content: center;
  scroll-margin-top: 80px;
}
.fan {
  position: absolute;
  left: 50%;
  top: 74px;
  width: 0;
  height: 0;
}
.fan-card {
  --x: calc(var(--i) * 290px);
  --r: calc(var(--i) * 7deg);
  --y: calc(var(--i) * var(--i) * 28px + 16px);
  position: absolute;
  left: -150px;
  top: 0;
  width: 300px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 30px 60px -24px rgb(0 0 0 / 0.8), inset 0 0 0 1px var(--line);
  transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(0.9);
  opacity: 0.5;
  animation: deal 1.1s var(--ease) 0.35s both;
}
.fan-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.fan-card span {
  display: block;
  padding: 14px 18px 18px;
  font-weight: 600;
  font-size: 15px;
}
@keyframes deal {
  from {
    transform: translate(0, 40px) rotate(0) scale(0.85);
    opacity: 0;
  }
}

.demo {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 340px;
}
.for-tag {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 60px;
  margin: 0 0 14px;
  padding-left: 42px;
  line-height: 1.25;
  background: rgb(35 32 80 / 0.9);
  backdrop-filter: blur(10px);
  border-radius: 8px 14px 14px 8px;
  clip-path: polygon(20px 0, 100% 0, 100% 100%, 20px 100%, 0 66%, 0 34%);
}
.for-tag-hole {
  position: absolute;
  left: 15px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: var(--night);
  box-shadow: inset 0 0 0 1.5px rgb(139 123 255 / 0.6);
}
.for-tag strong {
  font: 700 16px/1.2 var(--display);
}
.for-tag > span:last-child {
  font-size: 13px;
  color: var(--lilac);
}

.deck {
  position: relative;
  aspect-ratio: 34 / 43;
  touch-action: none;
  border-radius: 26px;
}
.deck:focus-visible {
  outline-offset: 8px;
}

.card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  border-radius: 26px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line), 0 40px 70px -24px rgb(0 0 0 / 0.95), 0 0 80px -20px rgb(139 123 255 / 0.35);
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
  will-change: transform;
  transition: transform 0.38s var(--ease), opacity 0.3s;
}
.card.dragging {
  cursor: grabbing;
  transition: none;
}
.card-photo {
  position: relative;
  flex: 1;
  min-height: 0;
  background: var(--card-2);
}
.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.card-store {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgb(11 14 28 / 0.6);
  backdrop-filter: blur(8px);
  font-size: 12.5px;
  font-weight: 600;
}
.card-info {
  padding: 16px 20px 18px;
}
.card-info h3 {
  font: 650 17px/1.25 var(--body);
  letter-spacing: -0.01em;
}
.card-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}
.card-price {
  font: 700 22px/1 var(--display);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.card-why {
  font-size: 13px;
  color: var(--muted);
  text-align: right;
}

.card-wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
}
.card:not(.dragging) .stamp,
.card:not(.dragging) .card-wash {
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.stamp {
  position: absolute;
  top: 26px;
  width: 150px;
  pointer-events: none;
  opacity: 0;
  filter: drop-shadow(0 2px 10px rgb(0 0 0 / 0.4));
}
.stamp-yes {
  left: 20px;
  --c: var(--yes);
  transform: rotate(-14deg);
}
.stamp-no {
  right: 20px;
  --c: #e6e8f2;
  transform: rotate(12deg);
}
.stamp-maybe {
  left: 50%;
  top: 34%;
  width: 176px;
  margin-left: -88px;
  --c: var(--maybe);
  transform: rotate(-5deg);
}
.stamp rect,
.stamp-svg rect {
  fill: none;
  stroke: var(--c);
  stroke-width: 5;
}
.stamp rect.thin,
.stamp-svg rect.thin {
  stroke-width: 1.6;
}
.stamp text,
.stamp-svg text {
  fill: var(--c);
  font: 800 36px var(--display);
  letter-spacing: 1.4px;
  text-anchor: middle;
}

.deck-end {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  border-radius: 26px;
  background: rgb(24 28 51 / 0.85);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1.5px rgb(139 123 255 / 0.35);
  text-align: center;
}
.deck-end[hidden] {
  display: none;
}
.deck-end-title {
  font: 700 24px/1.2 var(--display);
}
.deck-end-body {
  margin-top: 10px;
  font-size: 15px;
  color: var(--muted);
}
.deck-end-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}
.deck-end-actions .btn {
  height: 46px;
  font-size: 15px;
}

.controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}
.ctl {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: rgb(24 28 51 / 0.85);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 12px 28px -12px rgb(0 0 0 / 0.9);
  cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.15s;
}
.ctl:hover {
  background: var(--card-2);
}
.ctl:active {
  transform: scale(0.9);
}
.ctl svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ctl-no svg {
  stroke: var(--no);
}
.ctl-maybe {
  width: 50px;
  height: 50px;
}
.ctl-maybe svg {
  width: 20px;
  height: 20px;
  stroke: var(--maybe);
}
.ctl-yes {
  width: 66px;
  height: 66px;
}
.ctl-yes svg {
  width: 28px;
  height: 28px;
  stroke: var(--yes);
}
.ctl:disabled {
  opacity: 0.35;
  cursor: default;
}
.deck-help {
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
  color: var(--faint);
}

.picks {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  margin-top: 18px;
  padding: 0 10px 0 18px;
  border-radius: 999px;
  background: rgb(11 14 28 / 0.65);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 13.5px;
}
.picks-label {
  flex: none;
  font-weight: 650;
}
.picks-count {
  flex: none;
  margin-left: auto;
  padding-right: 8px;
  color: var(--faint);
}
.picks-list {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 2px;
  list-style: none;
  overflow: hidden;
}
.pick {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  animation: drop 0.45s var(--ease);
}
.pick img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--dot);
}
@keyframes drop {
  from {
    transform: translateY(-16px) scale(0.5);
    opacity: 0;
  }
}

/* Interests marquee */
.interests {
  padding: 44px 0 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--night-2);
}
.interests-title {
  padding: 0 var(--gutter);
  margin-bottom: 28px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}
.marquee {
  display: grid;
  gap: 12px;
  overflow: hidden;
  padding-bottom: 16px;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-row {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: slide 80s linear infinite;
}
.marquee-row.reverse {
  animation-direction: reverse;
  animation-duration: 95s;
}
.marquee:hover .marquee-row {
  animation-play-state: paused;
}
@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}
.interest {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 14px;
  border-radius: 999px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}
.interest i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 12px var(--c);
}

/* Sections */
.section {
  padding: 128px 0;
}
.section-head {
  max-width: 44rem;
  margin: 0 auto 64px;
  text-align: center;
}
.section h2,
.closer h2 {
  font-size: clamp(34px, 4.8vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 72;
}
.section-head p {
  margin-top: 18px;
  font-size: 18px;
  color: var(--muted);
}

/* Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}
.tile {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 34px;
  border-radius: 30px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgb(255 255 255 / 0.06);
  isolation: isolate;
}
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--glow);
}
.tile h3 {
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.tile-copy p {
  margin-top: 10px;
  max-width: 26em;
  font-size: 16px;
  color: var(--muted);
}
.tile-ideas {
  grid-column: span 7;
  --glow: radial-gradient(80% 70% at 85% 100%, rgb(139 123 255 / 0.4), transparent 70%), radial-gradient(50% 50% at 30% 120%, rgb(255 122 198 / 0.22), transparent 70%);
}
.tile-wish {
  grid-column: span 5;
  --glow: radial-gradient(90% 60% at 50% 110%, rgb(247 184 68 / 0.22), transparent 70%);
}
.tile-remind {
  grid-column: span 4;
  --glow: radial-gradient(90% 70% at 50% 110%, rgb(52 201 138 / 0.24), transparent 70%);
}
.tile-budget {
  grid-column: span 4;
  --glow: radial-gradient(90% 70% at 50% 110%, rgb(82 120 255 / 0.3), transparent 70%);
}
.tile-friends {
  grid-column: span 4;
  --glow: radial-gradient(90% 70% at 50% 110%, rgb(255 122 198 / 0.22), transparent 70%);
}

.ideas-art {
  position: relative;
  flex: 1;
  min-height: 270px;
  margin-top: 24px;
}
.idea {
  position: absolute;
  width: 190px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--card-2);
  box-shadow: 0 24px 50px -18px rgb(0 0 0 / 0.9), inset 0 0 0 1px var(--line);
}
.idea img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.idea-1 {
  left: 4%;
  bottom: 4%;
  transform: rotate(-9deg);
  opacity: 0.6;
}
.idea-2 {
  left: 30%;
  bottom: 12%;
  transform: rotate(-2deg);
  opacity: 0.85;
}
.idea-3 {
  left: 56%;
  bottom: 2%;
  width: 220px;
  transform: rotate(6deg);
}
.idea-3 .stamp-svg {
  position: absolute;
  left: 18px;
  top: 22px;
  width: 128px;
  --c: var(--yes);
  transform: rotate(-14deg);
  filter: drop-shadow(0 2px 8px rgb(0 0 0 / 0.6));
}
.why {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgb(11 14 28 / 0.75);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--lilac);
}
.why-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
}

.wish {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 28px;
}
.wish-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px 10px 10px;
  border-radius: 18px;
  background: rgb(11 14 28 / 0.55);
  box-shadow: inset 0 0 0 1px var(--line);
}
.wish-item img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}
.wish-item strong {
  display: block;
  font-size: 15px;
}
.wish-item span {
  font-size: 13.5px;
  color: var(--muted);
}
.pill {
  margin-left: auto;
  flex: none;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
  font-style: normal;
  color: var(--lilac);
  box-shadow: inset 0 0 0 1px rgb(139 123 255 / 0.5);
}
.pill-claimed {
  color: var(--maybe);
  background: rgb(247 184 68 / 0.14);
  box-shadow: none;
}

.notifs {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 32px;
}
.notif {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 20px;
  background: rgb(52 60 96 / 0.8);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -18px rgb(0 0 0 / 0.9), inset 0 0 0 1px var(--line);
  font-size: 14px;
  line-height: 1.4;
}
.notif img {
  flex: none;
  border-radius: 7px;
}
.notif strong {
  display: block;
  font-size: 13.5px;
}
.notif-back {
  opacity: 0.5;
  transform: scale(0.95);
  transform-origin: 50% 100%;
}

.budget {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: auto;
  padding-top: 28px;
}
.ring-wrap {
  position: relative;
  flex: none;
  width: 136px;
  height: 136px;
}
.ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(var(--violet) calc(var(--p) * 1%), rgb(255 255 255 / 0.08) 0);
  -webkit-mask: radial-gradient(circle, transparent 54px, #000 55px);
  mask: radial-gradient(circle, transparent 54px, #000 55px);
}
.budget-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}
.budget-label strong {
  font: 700 26px/1 var(--display);
  letter-spacing: -0.03em;
}
.budget-label span {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--muted);
}
.budget ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 600;
  font-size: 15px;
}
.budget li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tick {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.8px var(--faint);
}
.tick.done {
  background: var(--yes) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.4' fill='none' stroke='%230b0e1c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  box-shadow: none;
}

.friends {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  margin-top: auto;
  padding-top: 28px;
}
.face {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  font: 700 28px/1 var(--display);
  box-shadow: 0 0 0 4px var(--card), 0 14px 30px -10px rgb(0 0 0 / 0.8);
}
.f1 {
  background: linear-gradient(135deg, #ff9ad5, #c454a0);
}
.f2 {
  background: linear-gradient(135deg, #9d8fff, #5b47e0);
}
.twine {
  width: 100%;
  height: 40px;
}
.twine path {
  fill: none;
  stroke: var(--lilac);
  stroke-width: 2;
  stroke-dasharray: 2 7;
  stroke-linecap: round;
}
.friends-note {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 20px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgb(11 14 28 / 0.6);
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 13.5px;
  color: var(--muted);
}
.friends-note strong {
  color: var(--ink);
}

/* How it works */
.how {
  background: var(--night-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
}
.how-steps {
  display: grid;
  gap: 8px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.how-steps button {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
  padding: 20px 22px;
  border: 0;
  border-radius: 22px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s;
}
.how-steps button:hover {
  background: rgb(255 255 255 / 0.03);
}
.how-steps button[aria-selected="true"] {
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
}
.how-steps .n {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.06);
  color: var(--muted);
  font-weight: 700;
  font-size: 15px;
  transition: background 0.2s, color 0.2s;
}
.how-steps button[aria-selected="true"] .n {
  background: var(--violet);
  color: #fff;
}
.how-steps strong {
  display: block;
  font: 700 20px/1.3 var(--display);
  letter-spacing: -0.015em;
}
.how-steps em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 15.5px;
  color: var(--muted);
}
.how-steps button[aria-selected="false"] strong {
  color: var(--muted);
}

.phone {
  justify-self: center;
  width: 320px;
  padding: 12px;
  border-radius: 54px;
  background: linear-gradient(160deg, #3a3f5e, #161a2e 40%, #2b3050);
  box-shadow: 0 60px 100px -40px rgb(0 0 0 / 0.95), 0 0 120px -30px rgb(139 123 255 / 0.5), inset 0 0 0 1.5px rgb(255 255 255 / 0.12);
}
.phone-screen {
  position: relative;
  height: 620px;
  padding: 58px 18px 20px;
  border-radius: 43px;
  background: #0e1120;
  overflow: hidden;
}
.phone-island {
  position: absolute;
  left: 50%;
  top: 12px;
  width: 96px;
  height: 28px;
  margin-left: -48px;
  border-radius: 20px;
  background: #000;
}
.screen {
  display: flex;
  flex-direction: column;
  height: 100%;
  animation: screen-in 0.4s var(--ease);
}
.screen[hidden] {
  display: none;
}
@keyframes screen-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
.scr-title {
  font: 700 26px/1.1 var(--display);
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.scr-group {
  border-radius: 16px;
  background: var(--card);
  overflow: hidden;
}
.scr-field {
  display: flex;
  justify-content: space-between;
  padding: 13px 16px;
  font-size: 15px;
  font-weight: 600;
  border-top: 1px solid var(--line);
}
.scr-field:first-child {
  border-top: 0;
}
.scr-field span {
  color: var(--muted);
  font-weight: 500;
}
.scr-label {
  margin: 20px 4px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.scr-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.scr-chips span {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.scr-chips span.on {
  background: var(--violet-soft);
  color: #ddd8ff;
  box-shadow: inset 0 0 0 1px rgb(139 123 255 / 0.55);
}
.scr-btn {
  margin-top: auto;
  padding: 15px;
  border-radius: 16px;
  background: var(--violet);
  text-align: center;
  font-weight: 650;
  font-size: 15.5px;
  box-shadow: inset 0 -3px 0 var(--violet-deep);
}
.scr-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 20px 40px -18px rgb(0 0 0 / 0.9);
}
.scr-card img {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
}
.scr-card > div {
  padding: 14px 16px 16px;
}
.scr-card strong {
  display: block;
  font-size: 15.5px;
}
.scr-card span {
  font: 700 20px/1.4 var(--display);
}
.scr-card .stamp-svg {
  position: absolute;
  left: 16px;
  top: 22px;
  width: 124px;
  --c: var(--yes);
  transform: rotate(-14deg);
}
.scr-ctls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}
.scr-ctls span {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7l10 10M17 7L7 17' fill='none' stroke='%239ca2bc' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/22px no-repeat;
  box-shadow: inset 0 0 0 1px var(--line);
}
.scr-ctls span.m {
  width: 42px;
  height: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3.5h10a1 1 0 0 1 1 1V21l-6-4-6 4V4.5a1 1 0 0 1 1-1z' fill='none' stroke='%23f7b844' stroke-width='2.4' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 18px;
}
.scr-ctls span.y {
  width: 58px;
  height: 58px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20.5s-8-4.7-8-10.6A4.4 4.4 0 0 1 12 7.3a4.4 4.4 0 0 1 8 2.6c0 5.9-8 10.6-8 10.6z' fill='none' stroke='%2334c98a' stroke-width='2.4' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 26px;
}
.scr-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 16px;
  background: var(--card);
}
.scr-row img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
}
.scr-row strong {
  display: block;
  font-size: 14.5px;
}
.scr-row span:not(.tick) {
  font-size: 13px;
  color: var(--muted);
}
.scr-row .tick {
  margin-left: auto;
  margin-right: 4px;
}

/* FAQ */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  gap: 64px;
}
.faq-more {
  margin-top: 16px;
  color: var(--muted);
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list details:first-child {
  border-top: 1px solid var(--line);
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  font: 650 19px/1.35 var(--body);
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--muted), var(--muted)) center/14px 2px no-repeat,
    linear-gradient(var(--muted), var(--muted)) center/2px 14px no-repeat;
  transition: transform 0.25s var(--ease);
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
}
.faq-list details p {
  padding: 0 0 26px;
  max-width: 38em;
  color: var(--muted);
}
.faq a,
.legal a {
  color: var(--lilac);
}

/* Closing call */
.closer {
  position: relative;
  padding: 150px 0 170px;
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid var(--line);
}
.aurora-closer {
  bottom: -55%;
}
.closer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.closer h2 {
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.98;
}
.closer p {
  margin: 20px 0 38px;
  font-size: 19px;
  color: var(--muted);
}

/* Footer */
.foot {
  padding: 72px 0 36px;
  background: #070914;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.foot-grid .foot-brand p {
  margin-top: 14px;
  max-width: 22em;
  font-size: 15px;
  color: var(--faint);
}
.foot-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.foot-col p {
  font-size: 14px;
  font-weight: 650;
  margin-bottom: 4px;
}
.foot-col a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}
.foot-col a:hover,
.foot-links a:hover {
  color: var(--ink);
}
.wordmark {
  margin: 64px 0 0;
  font: 800 clamp(120px, 27vw, 380px) / 0.78 var(--display);
  letter-spacing: -0.06em;
  text-align: center;
  background: linear-gradient(180deg, rgb(139 123 255 / 0.55), rgb(139 123 255 / 0.03) 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  padding-bottom: 0.08em;
}
.foot-note {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--faint);
}

/* The legal pages use a simpler footer. */
.foot-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px 32px;
  align-items: center;
}
.foot-inner .foot-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.foot-inner .foot-brand p {
  font-size: 14px;
  color: var(--faint);
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.foot-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}
.foot-inner .foot-note {
  grid-column: 1 / -1;
  margin-top: 8px;
}

/* Terms and privacy */
.legal {
  padding: 72px 0 112px;
}
.legal-inner {
  max-width: 44rem;
}
.legal h1 {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-variation-settings: "opsz" 96;
}
.legal .updated {
  margin-top: 14px;
  color: var(--faint);
  font-size: 15px;
}
.legal .summary {
  margin-top: 36px;
  padding: 22px 24px;
  border-radius: 18px;
  background: var(--violet-soft);
  box-shadow: inset 0 0 0 1px rgb(139 123 255 / 0.3);
}
.legal .summary p + p {
  margin-top: 10px;
}
.legal h2 {
  margin-top: 52px;
  font-size: 25px;
  letter-spacing: -0.02em;
}
.legal h3 {
  margin-top: 28px;
  font: 650 18px/1.35 var(--body);
}
.legal p,
.legal li {
  color: #c9cce0;
}
.legal h2 + p,
.legal h3 + p,
.legal p + p,
.legal ul + p,
.legal p + ul {
  margin-top: 14px;
}
.legal ul {
  padding-left: 22px;
  margin-bottom: 0;
}
.legal li + li {
  margin-top: 8px;
}
.legal strong {
  color: var(--ink);
}

/* Medium screens */
@media (max-width: 1020px) {
  .tile-ideas,
  .tile-wish,
  .tile-friends {
    grid-column: span 12;
  }
  .tile-remind,
  .tile-budget {
    grid-column: span 6;
  }
  .how-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
  }
  .faq {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .foot-grid .foot-brand {
    grid-column: 1 / -1;
  }
}

/* Small screens */
@media (max-width: 720px) {
  :root {
    --gutter: 16px;
  }
  .nav-links,
  .nav-signin {
    display: none;
  }
  .nav-inner {
    justify-content: space-between;
  }
  .hero {
    padding-top: 108px;
  }
  .beta-more {
    display: none;
  }
  .hero h1 {
    font-size: clamp(42px, 12.5vw, 64px);
  }
  .lede {
    font-size: 17px;
  }
  .stage {
    margin-top: 52px;
    padding-bottom: 72px;
  }
  .fan-card {
    --x: calc(var(--i) * 200px);
    width: 230px;
    left: -115px;
  }
  .demo {
    max-width: 320px;
  }
  .section {
    padding: 88px 0;
  }
  .section-head {
    margin-bottom: 44px;
  }
  .tile,
  .tile-remind,
  .tile-budget {
    grid-column: span 12;
    min-height: 0;
    padding: 26px 22px;
  }
  .ideas-art {
    min-height: 230px;
  }
  .idea {
    width: 130px;
  }
  .idea-3 {
    width: 150px;
    left: 50%;
  }
  .idea-3 .stamp-svg {
    width: 96px;
  }
  .phone {
    width: 290px;
  }
  .phone-screen {
    height: 560px;
  }
  .closer {
    padding: 104px 0 120px;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .foot-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .card,
  .pick,
  .fan-card,
  .screen,
  .faq-list summary::after {
    transition: none;
    animation: none;
  }
  .marquee-row {
    animation: none;
  }
}
