/* amenu — Fall Release (cash.app/new-style alternate) */
:root {
  --cream: #FBF5EE;
  --paper: #FFFCF8;
  --sand: #F3EADF;
  --ink: #2B211C;
  --ink-soft: #7C6E66;
  --ink-faint: #BDB0A6;
  --hair: rgba(43, 33, 28, .12);
  --terra: #C4531C;
  --terra-deep: #9E3E12;
  --gold: #F2C468;
  --bezel: #1B1511;
  --shadow: rgba(43, 33, 28, .28);
  --sun: none;
  --moon: block;
  --display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --text: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 1.4vw, 24px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --swoop: cubic-bezier(.76, 0, .18, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --cream: #14100D; --paper: #1D1814; --sand: #231C17;
    --ink: #F4EADF; --ink-soft: #A8998D; --ink-faint: #54483F;
    --hair: rgba(244, 234, 223, .14); --terra: #E06A32; --terra-deep: #B24A1B;
    --bezel: #050403; --shadow: rgba(0, 0, 0, .6); --sun: block; --moon: none;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --cream: #14100D; --paper: #1D1814; --sand: #231C17;
  --ink: #F4EADF; --ink-soft: #A8998D; --ink-faint: #54483F;
  --hair: rgba(244, 234, 223, .14); --terra: #E06A32; --terra-deep: #B24A1B;
  --bezel: #050403; --shadow: rgba(0, 0, 0, .6); --sun: block; --moon: none;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { background: var(--cream); color: var(--ink); font-family: var(--text); font-size: 16px; line-height: 1.4; -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background .5s, color .5s; }
html.intro body { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, video, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: var(--terra); color: #fff; }

.wordmark { font-family: var(--display); font-weight: 700; letter-spacing: -.06em; }
.wordmark b { color: var(--terra); font-weight: 700; }

/* ============ INTRO ============ */
.intro-stage { position: fixed; inset: 0; z-index: 60; pointer-events: none; display: grid; place-items: center; }
.i-line { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: 100%; font-size: clamp(26px, 3.4vw, 52px); font-weight: 500; letter-spacing: -.035em; }
.i-l { text-align: right; }
.i-gap { display: block; width: 0; height: 1em; margin: 0 .13em; transition: width .9s var(--swoop), margin .9s var(--swoop); }
.intro-stage.s2 .i-gap { width: clamp(64px, 6.8vw, 104px); margin: 0 .22em; }
.intro-stage .ch { display: inline-block; opacity: 0; filter: blur(8px); transform: translateY(.18em); transition: opacity .55s var(--ease), filter .55s var(--ease), transform .55s var(--ease); }
.intro-stage.s1 .ch { opacity: 1; filter: blur(0); transform: none; }
.intro-stage.s3 .ch { opacity: 0; filter: blur(6px); transition-duration: .35s; transition-delay: 0s !important; }
.i-big { position: absolute; top: 50%; font-size: clamp(40px, 6.6vw, 104px); font-weight: 500; letter-spacing: -.045em; line-height: 1; opacity: 0; transition: opacity .6s var(--ease), transform 1s var(--swoop); }
.i-big .wordmark { font-size: 1.04em; }
.i-left { left: var(--gutter); transform: translate(18vw, -50%); }
.i-right { right: var(--gutter); transform: translate(-18vw, -50%); }
.intro-stage.s3 .i-big { opacity: 1; transform: translate(0, -50%); }
.intro-stage.s4 .i-big { opacity: 0; transition-duration: .5s, 1s; }
.intro-stage.s4 .i-left { transform: translate(-8vw, -50%); }
.intro-stage.s4 .i-right { transform: translate(8vw, -50%); }

.pill { position: fixed; z-index: 61; left: 50%; top: 50%; width: 0; height: 0; border-radius: 99px; background: var(--terra); overflow: hidden; pointer-events: none; opacity: 0;
  transition: left .95s var(--swoop), top .95s var(--swoop), width .95s var(--swoop), height .95s var(--swoop), border-radius .95s var(--swoop), opacity .4s, background .5s; }
.pill.on { opacity: 1; }
.pill-flip { position: absolute; inset: 0; transition: opacity .4s; }
.pill-flip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.pill-flip img.show { opacity: 1; }
.pill.solid .pill-flip { opacity: 0; }
.pill.gone { opacity: 0; transition: opacity .5s .1s; }

/* page chrome & content wait for the intro */
.top, .feat-head, .card, .float-cta { transition: opacity .8s var(--ease), transform .9s var(--ease); }
html.intro .top { opacity: 0; transform: translateY(-10px); }
html.intro .float-cta { opacity: 0; transform: translateY(20px) scale(.9); }
html.intro .feats .feat-head, html.intro .feats .card { opacity: 0; transform: translateY(26px); }
html.intro .feats #c1 { transform: none; }
html.intro #c1 .media, html.landing #c1 .media { visibility: hidden; }
html.intro #c1 .label, html.intro #c1 .blurb, html.landing #c1 .label, html.landing #c1 .blurb { opacity: 0; }
html.landing body { overflow: hidden; }
#c1 .label, #c1 .blurb { transition: opacity .6s var(--ease) .35s; }
#c1 .phone { transition: transform 1.1s var(--ease), opacity .8s; }
#c1 .phone.settled { transition: none; }
html.intro #c1 .phone, html.landing #c1 .phone { opacity: 0; transform: translateY(40px) scale(.94); }

/* ============ CHROME ============ */
.top { position: fixed; z-index: 40; inset: 0 0 auto; height: 64px; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; background: linear-gradient(var(--cream) 55%, transparent); transition: opacity .8s var(--ease), transform .9s var(--ease), background .5s; }
.brand { display: inline-flex; align-items: center; gap: 8px; }
.top .mark { width: 26px; height: 33px; transition: transform .5s var(--ease); }
.top .brand:hover .mark { transform: rotate(-6deg) scale(1.06); }
.top-title { font-size: 13px; font-weight: 500; letter-spacing: -.01em; }
.top-right { justify-self: end; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; }
.top-link { padding: 6px 2px; }
.top-link:hover { color: var(--terra); }
.theme-btn { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; transition: background .25s; }
.theme-btn:hover { background: var(--hair); }
.theme-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.theme-btn .i-sun { display: var(--sun); }
.theme-btn .i-moon { display: var(--moon); }

.float-cta { position: fixed; z-index: 45; right: var(--gutter); bottom: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 40px; min-width: 200px; height: 52px; padding: 0 12px 0 22px; border-radius: 99px; background: var(--terra); color: #fff; font-size: 15px; font-weight: 500; box-shadow: 0 10px 30px -10px rgba(196, 83, 28, .7); }
.float-cta svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.float-cta:hover svg { transform: translateX(4px); }
.float-cta:active { transform: scale(.97); }

/* ============ GRID ============ */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: var(--gutter); padding: 0 var(--gutter); }
.feats { padding-top: 112px; row-gap: 132px; padding-bottom: 170px; }
.feat-head { grid-column: 1; font-size: clamp(30px, 3vw, 46px); font-weight: 500; letter-spacing: -.035em; line-height: 1.04; max-width: 11.5em; }
.feats .card:nth-child(2), .feats .card:nth-child(3) { margin-top: 90px; }

.card { width: min(100%, 270px); }
.feats .card:nth-child(3n+2) { justify-self: center; }
.feats .card:nth-child(3n) { justify-self: end; }
.media { position: relative; height: 420px; display: grid; place-items: center; perspective: 1100px; }
.label { margin-top: 18px; font-size: 12.5px; font-weight: 500; color: var(--ink-soft); }
.blurb { margin-top: 8px; font-size: 21px; font-weight: 500; letter-spacing: -.02em; line-height: 1.18; max-width: 11em; }

[data-spin] { will-change: transform; }
.phone { position: relative; height: 100%; aspect-ratio: 603 / 1311; border-radius: 30px; overflow: hidden; background: var(--bezel); box-shadow: 0 0 0 5px var(--bezel), 0 30px 50px -22px var(--shadow); }
img.phone { width: auto; object-fit: cover; }
.media .phone { height: calc(100% - 10px); }
.phone video { width: 100%; height: 100%; object-fit: cover; }

.media-terra { background: radial-gradient(120% 70% at 50% 110%, var(--gold) -20%, transparent 55%), var(--terra); border-radius: 28px; overflow: hidden; }
.media-terra .phone { height: 78%; box-shadow: 0 0 0 5px var(--bezel), 0 34px 40px -18px rgba(60, 18, 0, .55); }

/* theme fan */
.fan { position: relative; width: 68%; aspect-ratio: 587 / 1070; }
.fan img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 18px; box-shadow: 0 22px 40px -20px var(--shadow); opacity: 0; transform: translateY(24px) scale(.86); transition: transform .9s var(--swoop), opacity .6s var(--ease); }
.fan img.f0 { opacity: 1; transform: none; z-index: 3; }
.fan img.f1 { opacity: 1; transform: translateX(16%) rotate(7deg) scale(.92); z-index: 2; }
.fan img.f2 { opacity: 1; transform: translateX(-16%) rotate(-7deg) scale(.92); z-index: 1; }
.fan img.fout { opacity: 0; transform: translateY(-30%) rotate(-12deg) scale(.9); z-index: 4; }

/* tv */
.tv { width: 100%; display: grid; justify-items: center; }
.tv-screen { position: relative; width: 100%; aspect-ratio: 968 / 536; border-radius: 10px; overflow: hidden; background: #000; box-shadow: 0 0 0 6px var(--bezel), 0 30px 44px -22px var(--shadow); }
.tv-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s; }
.tv-screen img.show { opacity: 1; }
.tv-stand { width: 34%; height: 22px; margin-top: 6px; background: linear-gradient(var(--bezel), var(--bezel)) center top / 12% 70% no-repeat, linear-gradient(var(--bezel), var(--bezel)) center bottom / 100% 5px no-repeat; }

/* print */
.papers { position: relative; width: 74%; aspect-ratio: 671 / 884; }
.paper { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 4px; box-shadow: 0 24px 40px -22px var(--shadow), 0 0 0 1px var(--hair); transition: transform .8s var(--ease); }
.p1 { transform: rotate(-4deg) translate(-6%, 4%); }
.p2 { transform: rotate(7deg) translate(12%, -6%); }
.card:hover .p1 { transform: rotate(-8deg) translate(-14%, 6%); }
.card:hover .p2 { transform: rotate(11deg) translate(18%, -8%); }

/* QR table tent */
.tent { width: 72%; aspect-ratio: 3 / 4.2; transform-style: preserve-3d; }
.tent-face { height: 100%; border-radius: 14px; background: #FFFCF8; color: #2B211C; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 18px 16px 14px; box-shadow: 0 0 0 1px rgba(43, 33, 28, .08), 0 30px 44px -22px var(--shadow); border-top: 8px solid #C4531C; }
.tent-kicker { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #7C6E66; }
.qr { width: 74%; aspect-ratio: 1; }
.qr svg { width: 100%; height: 100%; }
.tent-cta { font-size: 17px; font-weight: 500; letter-spacing: -.02em; }
.tent-foot { display: flex; align-items: center; gap: 5px; font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: -.04em; color: #7C6E66; }
.tent-foot svg { width: 10px; height: 13px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============ UPDATES ============ */
.updates { grid-template-columns: repeat(4, 1fr); padding-bottom: 150px; row-gap: 64px; align-items: start; }
.up-head { grid-column: 1; grid-row: 1 / span 2; font-size: clamp(30px, 3vw, 46px); font-weight: 500; letter-spacing: -.035em; line-height: 1.04; max-width: 7em; }
.up-list { grid-column: 2 / -1; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: var(--gutter); row-gap: 64px; }
.up-list li { font-size: 19px; font-weight: 500; letter-spacing: -.015em; line-height: 1.22; max-width: 13em; opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.up-list li.in { opacity: 1; transform: none; }
.up-list li span { display: block; margin-bottom: 12px; font-family: var(--mono); font-size: 11.5px; color: var(--ink-soft); }
.up-list li.more { display: none; }
.up-list.all li.more { display: block; }
.pill-btn { height: 44px; padding: 0 22px; border-radius: 99px; box-shadow: inset 0 0 0 1.5px var(--ink); font-size: 14.5px; font-weight: 500; transition: background .25s, color .25s; white-space: nowrap; }
.pill-btn:hover { background: var(--ink); color: var(--cream); }
.updates .pill-btn { grid-column: 2; justify-self: start; }

/* ============ IDEA ============ */
.idea { grid-template-columns: repeat(4, 1fr); padding-top: 40px; padding-bottom: 170px; }
.idea-head { grid-column: 1; font-size: clamp(30px, 3vw, 46px); font-weight: 500; letter-spacing: -.035em; line-height: 1.04; max-width: 6em; }
.idea-body { grid-column: 2 / -1; }
.idea-copy { font-size: 19px; font-weight: 500; letter-spacing: -.015em; max-width: 24em; margin-bottom: 88px; }
.idea-form { display: flex; align-items: center; gap: 16px; border-bottom: 1.5px solid var(--ink); padding-bottom: 14px; }
.idea-form input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--ink); font: 500 clamp(26px, 3vw, 44px) / 1.1 var(--text); letter-spacing: -.035em; }
.idea-form input::placeholder { color: var(--ink-faint); }
.idea-count { margin-top: 12px; font-family: var(--mono); font-size: 11.5px; color: var(--ink-soft); }
.idea.sent .idea-form { border-color: var(--terra); }

/* ============ FINALE ============ */
.finale { padding: 0 var(--gutter); }
.finale-in { position: relative; height: max(640px, 88vh); border-radius: 28px; overflow: hidden; color: #FFF6EC;
  background: radial-gradient(60% 55% at 50% 108%, rgba(242, 196, 104, .85), transparent 70%), radial-gradient(70% 60% at 0% 0%, #D8682F, transparent 60%), linear-gradient(160deg, #C4531C, #8F3710); display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto; justify-items: center; }
.fin-phones { position: relative; width: 100%; display: flex; justify-content: center; align-items: flex-end; gap: clamp(14px, 2vw, 34px); padding-top: 60px; }
.fin-phones .phone { height: min(52vh, 460px); box-shadow: 0 0 0 5px #1B1511, 0 40px 60px -26px rgba(40, 10, 0, .6); transform: translateY(var(--fy, 0)) rotate(var(--r, 0deg)); }
.fp1 { --r: -6deg; } .fp3 { --r: 6deg; }
.fin-phones .fp1, .fin-phones .fp3 { height: min(44vh, 390px); }
.fin-copy { padding: 34px 20px 44px; text-align: center; display: grid; justify-items: center; gap: 10px; }
.fin-head { font-size: clamp(40px, 6vw, 92px); font-weight: 500; letter-spacing: -.045em; line-height: .98; }
.fin-sub { font-size: 17px; opacity: .85; margin-bottom: 14px; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px 0 14px; border-radius: 14px; background: #fff; color: #111; text-align: left; box-shadow: 0 8px 24px -8px rgba(60, 20, 0, .35); transition: transform .45s var(--ease); }
.store:hover { transform: translateY(-3px); }
.store-ico { width: 22px; height: 24px; flex: none; }
.store span { display: flex; flex-direction: column; gap: 1px; white-space: nowrap; }
.store small { font-size: 10.5px; font-weight: 500; color: #3a3a3a; line-height: 1.1; }
.store small.caps { font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: #6b6b6b; }
.store b { font-weight: 600; font-size: 18px; line-height: 1.05; letter-spacing: -.025em; }
.fin-pause { position: absolute; left: 18px; bottom: 18px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 246, 236, .18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; }
.fin-pause svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.fin-pause .i-play { display: none; fill: currentColor; }
.fin-pause.paused .i-play { display: block; }
.fin-pause.paused .i-pause { display: none; }

.foot { display: flex; justify-content: space-between; align-items: center; padding: 28px var(--gutter) 96px; font-size: 13px; color: var(--ink-soft); }
.foot .mark { width: 20px; height: 26px; }
.foot .wordmark { font-size: 19px; color: var(--ink); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .grid, .updates, .idea { grid-template-columns: repeat(2, 1fr); }
  .feats { padding-top: 96px; row-gap: 56px; padding-bottom: 110px; }
  .feat-head, .up-head, .idea-head { grid-column: 1 / -1; grid-row: auto; max-width: 12em; }
  .feats .card:nth-child(2), .feats .card:nth-child(3) { margin-top: 0; }
  .feats .card, .feats .card:nth-child(3n), .feats .card:nth-child(3n+2) { justify-self: stretch; width: 100%; }
  .media { height: auto; aspect-ratio: 5 / 7.6; }
  .media .phone { height: calc(100% - 10px); }
  .blurb { font-size: 17px; }
  .label { margin-top: 12px; font-size: 12px; }
  .up-list { grid-column: 1 / -1; grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .up-list li { font-size: 17px; }
  .updates { row-gap: 40px; padding-bottom: 110px; }
  .updates .pill-btn { grid-column: 1; }
  .idea-body { grid-column: 1 / -1; }
  .idea-copy { font-size: 17px; margin-bottom: 48px; }
  .idea { row-gap: 22px; padding-bottom: 110px; }
  .top-title { display: none; }
  .top { grid-template-columns: auto 1fr; }
}
@media (max-width: 700px) {
  .i-left, .i-right { left: 50%; right: auto; }
  .i-left { top: calc(50% - 150px); transform: translate(-50%, 24px); }
  .i-right { top: calc(50% + 150px); transform: translate(-50%, -24px); }
  .intro-stage.s3 .i-left, .intro-stage.s3 .i-right { transform: translate(-50%, -50%); }
  .intro-stage.s4 .i-left { transform: translate(-50%, -120%); }
  .intro-stage.s4 .i-right { transform: translate(-50%, 20%); }
  .i-line { font-size: 26px; }
}
@media (max-width: 560px) {
  .phone { border-radius: 20px; box-shadow: 0 0 0 3.5px var(--bezel), 0 20px 34px -18px var(--shadow); }
  .media-terra { border-radius: 20px; }
  .media-terra .phone { box-shadow: 0 0 0 3.5px var(--bezel), 0 20px 30px -14px rgba(60, 18, 0, .5); }
  .fan img { border-radius: 10px; }
  .tent-face { padding: 12px 10px 10px; border-top-width: 6px; border-radius: 10px; }
  .tent-kicker { font-size: 8px; }
  .tent-cta { font-size: 12.5px; }
  .tent-foot { font-size: 10px; }
  .blurb { font-size: 15.5px; }
  .up-list li { font-size: 15.5px; }
  .float-cta { min-width: 0; gap: 18px; height: 48px; }
  .finale-in { height: auto; min-height: 600px; border-radius: 22px; }
  .fin-phones { padding-top: 40px; gap: 10px; }
  .fin-phones .phone { height: 300px; box-shadow: 0 0 0 3.5px #1B1511, 0 30px 40px -20px rgba(40, 10, 0, .6); border-radius: 20px; }
  .fin-phones .fp1, .fin-phones .fp3 { height: 250px; }
  .foot { flex-direction: column; gap: 10px; }
}

::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-old(root) { z-index: 1; }
::view-transition-new(root) { z-index: 2; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
