/* piggypocket.id — layout and motion after the-plug (app/web-style: Meshy-style dark canvas, bright gradient
   hero, colour "stage", Barlow), in Piggy Pocket's colours: honey gold from the pig, apricot and terracotta from
   the app icon, sage from the app's olive income and moss category colours, warm near-black from the app's dark mode. /assets/site.css stays for the /auth/ pages. */
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("/assets/fonts/barlow-sc-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("/assets/fonts/barlow-sc-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #110d0b;
  --bg-sub: #1b1512;
  --text: #ece4dc;
  --text-2: rgba(255, 244, 235, .58);
  --border: rgba(255, 255, 255, .08);
  --border-strong: rgba(255, 255, 255, .16);
  --hover: rgba(255, 255, 255, .08);
  --accent: #ffc54d;
  --ink: #1a120d;
  --grad-cta: linear-gradient(155deg, #ffe6b0 0%, #ffcb5c 55%, #f7a823 100%);
  --font: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-cond: "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-o: cubic-bezier(0, 0, .2, 1);
  --ease-out: cubic-bezier(.25, 1, .5, 1);
  --ease-pop: cubic-bezier(.16, 1, .3, 1);
  --ease-sweep: cubic-bezier(.65, 0, .35, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
}
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { color: #fff; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: rgba(255, 197, 77, .35); color: #fff; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; padding: 8px 14px; border-radius: 10px; background: #fff; color: var(--ink); }
.skip:focus { left: 16px; }
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes spin-angle { to { --angle: 360deg; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Buttons ---------- */
.btn {
  --h: 40px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 18px; border: 0; border-radius: 10px;
  font: 700 15px/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .25s, filter .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
@keyframes arrow-loop {
  0% { transform: translateX(0); opacity: 1; animation-timing-function: cubic-bezier(.33, 1, .68, 1); }
  30% { transform: translateX(14px); opacity: 0; }
  31% { transform: translateX(-14px); opacity: 0; animation-timing-function: cubic-bezier(.33, 1, .68, 1); }
  62%, 100% { transform: translateX(0); opacity: 1; }
}
.btn:hover .ic-go, .pill:hover .ic-go, .more:hover .ic-go { animation: arrow-loop 1.5s infinite; }
.btn-sm { --h: 34px; padding: 0 14px; font-size: 14px; }
.btn-lg { --h: 48px; padding: 0 22px; font-size: 16px; border-radius: 12px; }
.btn-xl { --h: 56px; padding: 0 28px; font-size: 18px; border-radius: 14px; }
.btn-cta { background: var(--grad-cta); color: var(--ink); }
.btn-cta:hover { filter: brightness(1.04) saturate(1.1); box-shadow: 0 10px 32px -10px rgba(255, 197, 77, .6); }
.btn-dark { background: #120c09; color: var(--accent); }
.btn-dark:hover { background: #000; box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .55); }
.btn-hero { --h: 56px; padding: 0 28px; border-radius: 14px; font-size: 17px; }
.btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; box-shadow: inset 0 0 0 1px var(--border-strong); }
.btn-ghost:hover { background: rgba(255, 255, 255, .11); }

/* ---------- Header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: 60px; color: #fff; border-bottom: 1px solid transparent; transition: background .25s var(--ease), border-color .25s, color .25s; }
.hdr-in { height: 100%; max-width: 1440px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font: 700 23px/1 var(--font-cond); letter-spacing: -.01em; color: inherit; text-decoration: none; white-space: nowrap; }
.logo img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { height: 34px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 10px; font: 500 15px/1 var(--font); text-decoration: none; opacity: .9; transition: background .2s var(--ease-o), opacity .2s; }
.nav a:hover { background: var(--hover); opacity: 1; }
.nav-new { margin-left: 6px; padding: 3px 6px; border-radius: 999px; background: #ffe1d1; color: #b4431f; font: 700 9px/1 var(--font); letter-spacing: .04em; text-transform: uppercase; }
.hdr-end { justify-self: end; display: flex; align-items: center; gap: 8px; }
.lang { height: 34px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 10px; font: 600 14px/1 var(--font); text-decoration: none; box-shadow: inset 0 0 0 1px currentColor; opacity: .8; transition: opacity .2s, background .2s; }
.lang:hover { opacity: 1; background: var(--hover); }
.hdr.scrolled { background: rgba(17, 13, 11, .74); -webkit-backdrop-filter: blur(24px) saturate(1.4); backdrop-filter: blur(24px) saturate(1.4); border-bottom-color: var(--border); }
.on-light .hdr:not(.scrolled) { color: var(--ink); --hover: rgba(0, 0, 0, .06); }
.on-light .hdr:not(.scrolled) .btn-cta { background: #120c09; color: var(--accent); }
.on-light .hdr:not(.scrolled) :focus-visible { outline-color: var(--ink); }

/* ---------- Hero: auto-rotating slides ---------- */
.hero { position: relative; isolation: isolate; overflow: clip; padding: 112px 0 0; color: var(--ink); text-align: center; background: #ffc483; }
.hero :focus-visible { outline-color: var(--ink); }
.hero-bgs { position: absolute; inset: 0; z-index: -1; }
.hbg { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity .9s var(--ease); }
.hbg.on { opacity: 1; }
.hbg-0 { background: radial-gradient(55% 62% at 50% 44%, #fff1df 0%, rgba(255, 241, 223, .85) 36%, rgba(255, 241, 223, 0) 74%), linear-gradient(180deg, #ffd29a 0%, #ffc483 45%, #ffb978 100%); }
.hbg-1 { background: radial-gradient(58% 64% at 50% 46%, #fffbea 0%, rgba(255, 251, 234, .8) 38%, rgba(255, 251, 234, 0) 76%), linear-gradient(180deg, #ffe7a3 0%, #ffdc8a 50%, #f9cd7c 100%); }
.hbg-2 { background: radial-gradient(55% 62% at 50% 44%, #fff4ec 0%, rgba(255, 244, 236, .8) 38%, rgba(255, 244, 236, 0) 74%), linear-gradient(180deg, #ffdcca 0%, #ffd2bd 50%, #ffcfb8 100%); }
.wash {
  position: absolute; left: 50%; top: 46%; width: 80vmax; height: 80vmax; margin: -40vmax 0 0 -40vmax; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 72%);
  animation: wash-in 2s cubic-bezier(.22, 1, .36, 1) .4s both, wash-breathe 3.5s ease-in-out 2.4s infinite alternate;
}
@keyframes wash-in { from { opacity: 0; transform: scale(.62); } }
@keyframes wash-breathe { from { opacity: .82; transform: scale(.96); } to { opacity: 1; transform: scale(1.06); } }
.hero-top { position: relative; z-index: 2; display: flex; justify-content: center; padding: 0 16px; }
.pill {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 4px 12px 4px 5px; border-radius: 999px;
  background: rgba(255, 255, 255, .72); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05), 0 1px 2px rgba(0, 0, 0, .04);
  font: 500 14px/1.2 var(--font); color: var(--ink); text-decoration: none; text-align: left;
}
.pill::after { content: ""; position: absolute; inset: 0; pointer-events: none; transform: translateX(-100%); background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .9) 50%, transparent 65%); animation: sweep 4.5s linear infinite; }
@keyframes sweep { 22%, 100% { transform: translateX(100%); } }
.pill .ic { width: 16px; height: 16px; }
.pill-new { flex: none; padding: 6px 9px; border-radius: 999px; background: #ffe1d1; color: #b4431f; font: 700 11px/1 var(--font); letter-spacing: .03em; text-transform: uppercase; }

.hero-slides { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 22px; }
.hslide { grid-area: 1 / 1; min-width: 0; display: flex; flex-direction: column; align-items: center; padding: 0 16px; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s linear .45s; }
.hslide.on { opacity: 1; visibility: visible; transition: opacity .45s var(--ease) .1s; }
.hero-h { margin: 0 0 18px; max-width: 13em; font: 500 clamp(42px, 6.4vw, 80px)/1 var(--font); letter-spacing: -.045em; color: var(--ink); }
.hero-h em { font-style: normal; color: #b4431f; }
.w { display: inline-block; }
.hslide.on .w { animation: rise .65s cubic-bezier(.2, .7, .2, 1) calc(var(--i) * 70ms + .1s) both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.hero-sub { max-width: 32em; margin: 0 0 28px; text-wrap: balance; font: 500 18px/1.5 var(--font); color: rgba(26, 18, 13, .74); }
.hs-visual { position: relative; display: flex; align-items: flex-start; justify-content: center; width: 100%; min-height: 330px; margin-top: 18px; }

/* Slide 0: the voice sheet, with a spinning border */
.vbox { position: relative; width: min(600px, 100%); padding: 16px; border-radius: 22px; text-align: left; background: rgba(255, 255, 255, .8); box-shadow: 0 24px 60px -28px rgba(120, 50, 10, .5); }
.ring, .glow-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.ring { padding: 1.5px; animation: spin-angle 10s linear infinite; background: conic-gradient(from var(--angle), rgba(224, 112, 63, 0) 0deg, rgba(224, 112, 63, .9) 30deg, rgba(247, 168, 35, .9) 150deg, rgba(247, 168, 35, 0) 270deg, rgba(224, 112, 63, 0) 360deg); }
.vb-said { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 16px 10px 10px; border-radius: 14px; background: rgba(255, 255, 255, .8); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05); font: 500 18px/1.3 var(--font); color: var(--ink); }
.mic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #a04e2b; color: #fff; box-shadow: 0 0 0 6px rgba(160, 78, 43, .14); animation: mic-pulse 2.2s ease-in-out infinite; }
.mic .ic { width: 18px; height: 18px; }
@keyframes mic-pulse { 50% { box-shadow: 0 0 0 11px rgba(160, 78, 43, .06); } }
.caret { display: inline-block; width: 2px; height: 20px; margin-left: 2px; vertical-align: -3px; background: var(--ink); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.vb-rows { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.vb-rows li { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border-radius: 14px; background: rgba(255, 255, 255, .62); }
.hslide.on .vb-rows li { animation: rise .5s var(--ease-out) calc(var(--i) * 120ms + .5s) both; }
.cat { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--c); background: color-mix(in srgb, var(--c) 16%, #fff); }
.cat .ic { width: 17px; height: 17px; }
.vb-rows li > span:not(.cat):not(.amt) { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.vb-rows b { font: 600 15px/1.2 var(--font); }
.vb-rows small { font: 500 12.5px/1.2 var(--font); color: rgba(26, 18, 13, .6); }
.amt { font: 700 15px/1 var(--font); white-space: nowrap; }
.amt.in { color: #41652a; }
.vb-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; font: 500 13.5px/1.3 var(--font); color: rgba(26, 18, 13, .6); }
.vb-save { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; background: #a04e2b; color: #fff; font: 700 14px/1 var(--font); white-space: nowrap; }

/* Slide 1: fanned screenshots + a panel; slide 2: two devices in sync */
.spot { position: relative; width: min(640px, 100%); height: 330px; }
.spot .ph { position: absolute; left: 50%; top: 50%; width: 150px; }
.spot .sc-main { z-index: 2; width: 172px; transform: translate(-50%, -46%); }
.spot .sc-l { transform: translate(-138%, -40%) rotate(-9deg) scale(.88); }
.spot .sc-r { transform: translate(38%, -40%) rotate(9deg) scale(.88); }
.hslide.on .spot .sc-main { animation: pop-in .6s var(--ease-pop) .15s both; }
.hslide.on .spot .sc-l, .hslide.on .spot .sc-r { animation: fan-in .7s var(--ease-out) .3s both; }
.hslide.on .spot-panel { animation: rise .6s var(--ease-out) .5s both; }
@keyframes pop-in { from { opacity: 0; transform: translate(-50%, -38%) scale(.9); } }
@keyframes fan-in { from { opacity: 0; transform: translate(-50%, -40%) scale(.8); } }
.spot-panel { position: absolute; right: 0; bottom: 18px; z-index: 3; width: 240px; text-align: left; }
.sync-chip { position: absolute; left: 50%; top: 44%; z-index: 3; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 8px; border-radius: 999px; transform: translate(-50%, -50%); background: rgba(18, 12, 9, .9); color: var(--accent); font: 700 14px/1 var(--font); white-space: nowrap; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5); }
.sync-chip .ok { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--grad-cta); color: var(--ink); }
.sync-chip .ic { width: 15px; height: 15px; stroke-width: 2.6; }
.hslide.on .sync-chip { animation: pop-chip .6s var(--ease-pop) .7s both; }
@keyframes pop-chip { from { opacity: 0; transform: translate(-50%, -50%) scale(.7); } }

.hero-tabs { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 18px 16px 92px; }
.hero-tabs button {
  position: relative; overflow: hidden; height: 52px; min-width: 170px; padding: 0 24px; border: 0; border-radius: 12px;
  background: rgba(90, 40, 15, .7); color: #fff; font: 600 15px/1 var(--font); cursor: pointer; transition: background .3s var(--ease), color .3s;
}
.hero-tabs button:hover { background: rgba(90, 40, 15, .8); }
.hero-tabs [aria-selected="true"], .hero-tabs [aria-selected="true"]:hover { background: rgba(255, 255, 255, .84); color: var(--ink); }
.bar { position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: #e0703f; transform: scaleX(0); transform-origin: 0 50%; }
.js .hero-tabs [aria-selected="true"] .bar { animation: slide-progress 7s linear forwards; }
.hero:hover .bar, .hero:has(:focus-visible) .bar { animation-play-state: paused; }
@keyframes slide-progress { to { transform: scaleX(1); } }
.no-js .hero-tabs { visibility: hidden; }

/* Order and colours as classes: the page's CSP has no 'unsafe-inline', so no style="" attributes. */
.w:nth-child(1) { --i: 0; } .w:nth-child(2) { --i: 1; } .w:nth-child(3) { --i: 2; } .w:nth-child(4) { --i: 3; }
.w:nth-child(5) { --i: 4; } .w:nth-child(6) { --i: 5; } .w:nth-child(7) { --i: 6; } .w:nth-child(8) { --i: 7; }
.vb-rows li:nth-child(1) { --i: 0; } .vb-rows li:nth-child(2) { --i: 1; } .vb-rows li:nth-child(3) { --i: 2; }
.c-eat { --c: #be6236; } .c-bus { --c: #4a6898; } .c-sal { --c: #4c7a45; }
.spot.sync .sc-l { transform: translate(-112%, -46%) rotate(-6deg); width: 168px; }
.spot.sync .sc-r { transform: translate(12%, -46%) rotate(6deg); width: 168px; }
.hslide.on .spot.sync .sc-l, .hslide.on .spot.sync .sc-r { animation: fan-in .7s var(--ease-out) .2s both; }
.lucky h3 { margin: 0; }

/* ---------- Phones ---------- */
/* Thin bezel in px: a % padding is taken from the parent's width, which made the frame 20px+ on wide sections.
   The outer radius is the screen's radius plus the bezel, so the corners stay concentric. */
.ph {
  --bz: 5px;
  display: block; padding: var(--bz); background: #0d0a08;
  border-radius: calc(11.8% + var(--bz)) / calc(5.45% + var(--bz));
  box-shadow: 0 0 0 1px #6f5a4b, 0 0 0 1.5px rgba(0, 0, 0, .35), 0 26px 50px -22px rgba(40, 15, 0, .6);
}
.ph img { display: block; width: 100%; height: auto; border-radius: 11.8% / 5.45%; }
.spot .ph, .float-img { --bz: 4px; }

/* ---------- Word band ---------- */
.band { position: relative; z-index: 2; margin-top: -40px; padding: 42px 0 34px; border-radius: 40px 40px 0 0; background: var(--bg); text-align: center; }
.logo-marquee { overflow: clip; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.lm-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.logo-marquee:hover .lm-track { animation-play-state: paused; }
.lm-set { display: flex; align-items: center; gap: 64px; padding-right: 64px; }
.lm-set span { font: 700 26px/1 var(--font-cond); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; color: rgba(255, 255, 255, .5); }
.lm-set sup { margin-left: 4px; font: 600 11px/1 var(--font); letter-spacing: 0; color: var(--accent); }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 26px 16px 0; padding: 0; list-style: none; font: 500 14px/1 var(--font); color: rgba(255, 255, 255, .62); }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts .ic { width: 16px; height: 16px; color: var(--accent); }

/* ---------- Section basics ---------- */
.sec { padding-top: 120px; }
.h-xl { margin: 0; font: 500 clamp(40px, 5.4vw, 64px)/1.04 var(--font); letter-spacing: -.04em; }
.h-lg { margin: 0; font: 500 clamp(32px, 3.6vw, 44px)/1.08 var(--font); letter-spacing: -.035em; }
.muted-lead { max-width: 36ch; margin: 18px 0 0; font: 400 18px/1.6 var(--font); color: var(--text-2); }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; font: 500 16px/1 var(--font); color: var(--text-2); text-decoration: none; transition: color .2s; }
.more:hover { color: #fff; }
.center { text-align: center; }
.center .muted-lead { margin-inline: auto; }

/* ---------- Split showcase card ---------- */
.glow-card { position: relative; }
.glow-card::after {
  z-index: 4; padding: 1px; opacity: .5; animation: spin-angle 16s linear infinite;
  background: conic-gradient(from var(--angle), rgba(255, 255, 255, 0) 0deg, #fff 45deg, rgba(255, 255, 255, 0) 110deg, rgba(255, 255, 255, 0) 180deg, #fff 225deg, rgba(255, 255, 255, 0) 290deg, rgba(255, 255, 255, 0) 360deg);
}
.split {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: 600px; overflow: clip;
  border-radius: 32px; border: 1px solid var(--border);
  background: radial-gradient(70% 55% at 15% 100%, rgba(255, 197, 77, .18), transparent 70%), radial-gradient(40% 40% at 90% 0%, rgba(224, 112, 63, .12), transparent 70%), #0d0a08;
}
.split-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 48px; }
.split-copy .btn { align-self: flex-start; width: 100%; max-width: 320px; }
.ticks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font: 400 16px/1.45 var(--font); color: var(--text-2); }
.ticks b { color: #fff; font-weight: 600; }
.ticks .ic { width: 18px; height: 18px; margin-top: 2px; color: var(--accent); }
.split-art { position: relative; min-height: 460px; }
.split-art .ph-main { position: absolute; left: 30%; top: 48px; width: 290px; transform: rotate(2deg); }
.float-img { position: absolute; left: 4%; top: 30%; width: 170px; transform: rotate(-6deg); animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: rotate(-4deg) translateY(-8px); } }
.panel {
  padding: 14px 16px; border-radius: 14px; color: #fff;
  background: rgba(40, 26, 18, .86); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8);
}
.split-art .panel { position: absolute; right: 24px; bottom: 32px; z-index: 3; width: 260px; }
.p-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; font: 600 15px/1.2 var(--font); color: #fff; }
.p-head .ic { color: var(--accent); }
.p-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid rgba(255, 255, 255, .07); font: 500 12.5px/1.2 var(--font); color: rgba(255, 255, 255, .58); }
.p-row b { font-weight: 600; color: var(--accent); text-align: right; }

/* ---------- Stage: sticky toggle, edge to edge, apricot → sage by scroll ---------- */
.stage { position: relative; isolation: isolate; margin-top: 120px; padding-bottom: 28px; color: var(--ink); }
.stage :focus-visible { outline-color: var(--ink); }
.stage h2, .stage h3 { color: var(--ink); }
.stage-bg { position: absolute; top: 0; bottom: 0; left: 50%; z-index: -1; width: min(1112px, 100% - 32px); overflow: clip; border-radius: 40px; transform: translateX(-50%); transition: width .7s var(--ease-sweep), border-radius .7s var(--ease-sweep); }
.stage.full .stage-bg { width: 100%; border-radius: 0; }
.stage-bg i { position: absolute; inset: 0; transition: opacity .6s var(--ease); }
.sbg-a { background: radial-gradient(rgba(0, 0, 0, .085) 1px, transparent 1.4px) 0 0 / 18px 18px, linear-gradient(180deg, #ffcf9e 0%, #ffc28c 45%, #ffdcbc 100%); }
.sbg-b { opacity: 0; background: radial-gradient(rgba(0, 0, 0, .07) 1px, transparent 1.4px) 0 0 / 18px 18px, linear-gradient(180deg, #c6dbab 0%, #bad49c 50%, #d2e3bb 100%); }
.stage[data-mode="b"] .sbg-b { opacity: 1; }
.stage-rail { position: sticky; top: 68px; z-index: 5; display: flex; align-items: flex-end; justify-content: center; height: 72px; margin-bottom: -72px; pointer-events: none; }
.toggle { position: relative; display: inline-flex; gap: 6px; padding: 3px; border-radius: 15px; background: rgba(0, 0, 0, .1); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); pointer-events: auto; }
.toggle a { position: relative; z-index: 1; display: grid; place-items: center; width: 150px; height: 40px; border-radius: 12px; font: 500 18px/1 var(--font); color: rgba(0, 0, 0, .6); text-decoration: none; transition: color .3s; }
.toggle a[aria-current] { color: var(--ink); }
.toggle-ind { position: absolute; top: 3px; left: 3px; width: 150px; height: 40px; border-radius: 12px; background: #fff; box-shadow: 0 2px 10px -2px rgba(0, 0, 0, .18); transition: transform .5s var(--ease-pop); }
.stage[data-mode="b"] .toggle-ind { transform: translateX(156px); }
.stage-part { width: min(1112px, 100% - 32px); margin: 0 auto; padding: 128px 28px 36px; }
#pantau, #track { padding-top: 150px; }
.stage-head { margin-bottom: 36px; text-align: center; }
.stage-head p { max-width: 34em; margin: 14px auto 0; font: 500 20px/1.4 var(--font); color: rgba(0, 0, 0, .72); }
.fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.fcard { display: flex; flex-direction: column; overflow: clip; border-radius: 24px; background: rgba(255, 244, 230, .7); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); }
.fv { position: relative; height: 300px; overflow: clip; background: linear-gradient(140deg, #ff9d6c 0%, #ffbf86 50%, #ffe0a8 100%); }
.stage-part.b .fcard { background: rgba(244, 249, 236, .86); }
.stage-part.b .fv { background: linear-gradient(140deg, #6c975a 0%, #92b77a 55%, #bdd7a1 100%); }
.fv .ph { position: absolute; left: 50%; top: 30px; width: 62%; max-width: 230px; transform: translateX(-50%); transition: transform .5s var(--ease-out); }
.fcard:hover .fv .ph { transform: translateX(-50%) translateY(-8px); }
.fv-tag { position: absolute; left: 14px; top: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(18, 12, 9, .82); color: var(--accent); font: 700 12.5px/1 var(--font); }
.fcard-copy { padding: 22px 26px 26px; }
.fcard h3 { margin: 0 0 10px; font: 600 24px/1.15 var(--font); letter-spacing: -.01em; }
.fcard p { margin: 0; font: 400 16px/1.5 var(--font); color: rgba(0, 0, 0, .75); }
.wide { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 24px; align-items: center; margin-top: 14px; padding: 26px; border-radius: 24px; background: rgba(255, 244, 230, .62); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); }
.wide h3 { margin: 0 0 10px; font: 600 24px/1.15 var(--font); }
.wide p { margin: 0; font: 400 16px/1.5 var(--font); color: rgba(0, 0, 0, .75); }
.words { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.words li { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .72); font: 600 14.5px/1 var(--font); transition: transform .25s var(--ease-out), background .2s; }
.words li:hover { background: #fff; transform: translateY(-2px); }
.words li i { margin-left: 6px; font-style: normal; font-weight: 500; color: rgba(0, 0, 0, .5); }
.lucky { margin-top: 14px; padding: 56px 24px; border-radius: 24px; text-align: center; background: linear-gradient(180deg, rgba(255, 246, 232, .75), rgba(255, 236, 210, .92)); box-shadow: inset 0 0 0 1.5px rgba(224, 112, 63, .5); }
.lucky p { max-width: 34em; margin: 10px auto 0; font: 500 19px/1.45 var(--font); color: rgba(0, 0, 0, .75); }
.ways { margin-top: 36px; }
.ways h3 { margin: 0 0 16px; font: 500 24px/1 var(--font); letter-spacing: -.01em; }
.ways-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.ways-row li { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 76px; padding: 10px 14px; border-radius: 18px; background: rgba(246, 250, 239, .92); font: 500 16px/1.2 var(--font); text-align: center; transition: transform .25s var(--ease-out), background .2s, box-shadow .25s; }
.ways-row li:hover { transform: translateY(-3px); background: #fff; box-shadow: 0 14px 30px -16px rgba(40, 70, 20, .45); }
.ways-row .ic { width: 20px; height: 20px; }

/* ---------- Numbers + spoken examples ---------- */
.trust > .h-lg { margin-inline: auto; }
.trust { position: relative; isolation: isolate; overflow: clip; padding: 140px 0 110px; text-align: center; }
.trust-glow span { position: absolute; z-index: -1; aspect-ratio: 1; border-radius: 50%; }
.tg-a { left: 12%; top: 30%; width: 76%; background: radial-gradient(closest-side, rgba(224, 112, 63, .2), transparent 70%); animation: drift-a 28s ease-in-out infinite alternate; }
.tg-b { left: -15%; top: -40%; width: 60%; background: radial-gradient(closest-side, rgba(255, 197, 77, .14), transparent 70%); animation: drift-b 26s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(8%, -6%) scale(1.08); } }
@keyframes drift-b { to { transform: translate(12%, 10%) scale(.94); } }
.stats3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 900px; margin: 52px auto 0; padding: 0 16px 44px; border-bottom: 1px solid var(--border); }
.stats3 div { display: flex; flex-direction: column; gap: 10px; }
.flow { font: 500 clamp(40px, 5.4vw, 60px)/1 var(--font); letter-spacing: -.03em; background: linear-gradient(90deg, #ff7a52, #ffd951, #ff7a52) 0 0 / 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: text-flow 2.86s linear infinite; }
@keyframes text-flow { to { background-position: -200% 0; } }
.stats3 span { font: 600 15px/1.35 var(--font); color: #ffc98f; }
.fine { max-width: 900px; margin: 14px auto 0; padding: 0 16px; font: 400 13px/1.5 var(--font); color: rgba(255, 255, 255, .58); }
.quotes { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); max-width: 880px; margin: 56px auto 0; padding: 0 16px; }
.quote { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; margin: 0; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .5s var(--ease), transform .6s var(--ease-out), visibility 0s .5s; }
.quote.on { opacity: 1; visibility: visible; transform: none; transition: opacity .5s var(--ease) .1s, transform .6s var(--ease-out) .1s; }
.no-js .quote:first-child { opacity: 1; visibility: visible; transform: none; }
.q-mic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 197, 77, .14); color: var(--accent); box-shadow: 0 0 0 2px rgba(255, 255, 255, .1); }
.quote blockquote { max-width: 26em; margin: 18px 0 0; font: 500 clamp(24px, 3vw, 36px)/1.3 var(--font); letter-spacing: -.015em; color: #fff; }
.quote figcaption { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.quote figcaption span { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 10px; background: rgba(255, 255, 255, .08); font: 600 13.5px/1 var(--font); color: #fff; }
.quote figcaption b { color: var(--accent); font-weight: 700; }
.q-nav { display: flex; justify-content: center; gap: 12px; margin-top: 36px; }
.no-js .q-nav { display: none; }
.q-nav button { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; transition: background .2s; }
.q-nav button:hover { background: rgba(255, 255, 255, .17); }
.q-prev .ic { transform: rotate(180deg); }

/* ---------- Account / privacy ---------- */
.acct { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.acard { position: relative; overflow: clip; padding: 30px; border-radius: 28px; border: 1px solid var(--border); background: var(--bg-sub); }
.acard.gold { background: radial-gradient(80% 70% at 100% 0%, rgba(255, 197, 77, .16), transparent 70%), var(--bg-sub); }
.acard h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font: 600 24px/1.15 var(--font); }
.acard h3 .badge { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 197, 77, .14); color: var(--accent); }
.acard p { margin: 0; color: var(--text-2); font-size: 16.5px; line-height: 1.55; }
.acard ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.acard li { display: flex; gap: 10px; align-items: flex-start; font: 500 15px/1.45 var(--font); color: rgba(255, 255, 255, .82); }
.acard li .ic { width: 17px; height: 17px; margin-top: 2px; color: var(--accent); }
.promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 14px 0 0; padding: 0; list-style: none; }
.promises li { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 20px; border: 1px solid var(--border); background: rgba(255, 255, 255, .03); font: 400 15px/1.45 var(--font); color: var(--text-2); }
.promises b { display: block; font: 600 16.5px/1.25 var(--font); color: #fff; }
.promises .ic { width: 22px; height: 22px; color: var(--accent); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq > h2 { margin-bottom: 26px; }
.faq details { margin-bottom: 10px; border-radius: 18px; border: 1px solid var(--border); background: var(--bg-sub); transition: border-color .2s; }
.faq details[open] { border-color: var(--border-strong); }
.faq summary { position: relative; padding: 20px 56px 20px 24px; font: 600 18px/1.3 var(--font); color: #fff; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--text-2); font-size: 16.5px; line-height: 1.6; }
.faq details p i { color: rgba(255, 255, 255, .8); }
.faq details p a { color: #fff; text-underline-offset: 4px; }

/* ---------- Closing CTA ---------- */
.final { position: relative; isolation: isolate; overflow: clip; padding: 160px 16px 170px; text-align: center; }
.aurora {
  position: absolute; inset: -40%; z-index: -1; filter: blur(80px);
  background: radial-gradient(38% 45% at 50% 68%, rgba(255, 197, 77, .24), transparent 70%), radial-gradient(30% 42% at 36% 78%, rgba(224, 112, 63, .2), transparent 70%), radial-gradient(42% 50% at 64% 80%, rgba(255, 197, 77, .12), transparent 70%);
  animation: aurora 18s ease-in-out infinite alternate;
}
@keyframes aurora { to { transform: translate3d(4%, -3%, 0) scale(1.08) rotate(3deg); } }
.final img { width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .7); }
.final-h { margin: 26px 0 0; font: 400 clamp(44px, 7vw, 96px)/1 var(--font); letter-spacing: -.045em; color: #fff; }
.final p { max-width: 30em; margin: 20px auto 34px; font: 400 20px/1.5 var(--font); color: rgba(255, 255, 255, .55); }
/* Apple's official badge (assets/badges, from Apple's marketing tools): never redrawn or recoloured. */
.final .store { display: inline-block; border-radius: 10px; transition: transform .2s; }
.final .store:hover { transform: translateY(-2px); }
.final .store:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.final .store img { display: block; width: auto; height: 56px; border-radius: 0; box-shadow: none; }
.final .mail { display: block; margin-top: 22px; font: 500 16px/1 var(--font); color: var(--text-2); }
.final .mail a { color: #fff; text-underline-offset: 4px; }

/* ---------- Footer (honey) ---------- */
.ftr { padding: 72px 0 28px; border-radius: 32px 32px 0 0; color: var(--ink); background: radial-gradient(60% 80% at 50% 100%, #fff1d6 0%, rgba(255, 241, 214, 0) 70%), linear-gradient(180deg, #ffcf6e 0%, #ffd37f 50%, #ffdca0 100%); }
.ftr :focus-visible { outline-color: var(--ink); }
.ftr-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; }
.ftr .logo { color: var(--ink); }
.ftr-brand p { max-width: 34ch; margin: 14px 0 0; font: 400 15px/1.6 var(--font); color: rgba(0, 0, 0, .66); }
.ftr-col { display: flex; flex-direction: column; gap: 10px; }
.ftr-col h3 { margin: 0 0 6px; font: 600 12px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: rgba(0, 0, 0, .5); }
.ftr-col a { font: 500 14.5px/1.3 var(--font); color: rgba(0, 0, 0, .82); text-decoration: none; overflow-wrap: anywhere; }
.ftr-col a:hover { color: #000; text-decoration: underline; text-underline-offset: 3px; }
.ftr-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 20px; border-top: 1px solid rgba(0, 0, 0, .12); font: 500 12.5px/1 var(--font); letter-spacing: .03em; color: rgba(0, 0, 0, .55); }
.ftr-base a { color: inherit; text-decoration: none; }
.ftr-base a:hover { color: #000; }

/* ---------- Documents (privacy, terms) ---------- */
.page-doc { padding-top: 60px; background: radial-gradient(60% 40% at 50% 0%, rgba(255, 197, 77, .1), transparent 70%), var(--bg); }
.doc { max-width: 780px; margin: 48px auto 0; padding: clamp(24px, 5vw, 52px); border-radius: 28px; border: 1px solid var(--border); background: var(--bg-sub); }
.doc h1 { margin: 0 0 6px; font: 500 clamp(36px, 5vw, 52px)/1.05 var(--font); letter-spacing: -.035em; }
.doc .date { margin: 0 0 26px; color: var(--text-2); font-size: 15px; }
.doc h2 { margin: 34px 0 10px; font: 600 22px/1.2 var(--font); letter-spacing: -.01em; }
.doc p, .doc li { max-width: 68ch; color: rgba(255, 255, 255, .78); font-size: 16.5px; line-height: 1.65; }
.doc b { color: #fff; }
.doc a { color: var(--accent); text-underline-offset: 3px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .summary { margin: 0 0 8px; padding: 16px 20px; border-radius: 16px; background: rgba(255, 197, 77, .1); box-shadow: inset 0 0 0 1px rgba(255, 197, 77, .25); }
.doc .summary p { margin: 0; }
.doc .tbl { overflow-x: auto; margin: 12px 0; border-radius: 14px; border: 1px solid var(--border); }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; }
.doc th, .doc td { padding: 10px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; color: rgba(255, 255, 255, .78); }
.doc th { background: rgba(255, 255, 255, .04); font: 600 13px/1.2 var(--font); color: #fff; }
.doc tr:last-child td { border-bottom: 0; }
.page-doc .ftr { margin-top: 96px; }

/* Support page */
.help-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 4px 0 8px; padding: 22px 24px; border-radius: 18px;
  background: radial-gradient(80% 140% at 100% 0%, rgba(255, 197, 77, .18), transparent 70%), rgba(255, 255, 255, .03);
  box-shadow: inset 0 0 0 1px rgba(255, 197, 77, .28);
}
.help-card p { margin: 0; }
.help-card b { display: block; margin-bottom: 4px; font: 600 19px/1.3 var(--font); color: #fff; }
.doc .btn-cta { color: var(--ink); text-decoration: none; }
.doc .faq { max-width: none; }
.doc .faq details { background: rgba(255, 255, 255, .025); }
.doc .faq summary { font-size: 17px; }
.doc .faq details p, .doc .faq details li { font-size: 16px; }
.doc .faq details ul, .doc .faq details ol { margin: 0; padding: 0 24px 20px 44px; color: var(--text-2); }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .logo-marquee { overflow-x: auto; }
  .hero-tabs [aria-selected="true"] .bar { transform: scaleX(1); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .ftr-in { grid-template-columns: 1fr 1fr; }
  .ftr-brand { grid-column: 1 / -1; }
  .ways-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .split-copy { padding: 36px 24px 28px; }
  .split-art { min-height: 0; height: 480px; }
  .split-art .ph-main { left: auto; right: 6%; width: 250px; }
  .float-img { left: 4%; top: 18%; width: 130px; }
  .split-art .panel { left: 14px; right: auto; bottom: 18px; width: 230px; }
  .fgrid, .wide, .acct { grid-template-columns: minmax(0, 1fr); }
  .stage-part { padding: 116px 14px 24px; }
  #pantau, #track { padding-top: 130px; }
}
@media (max-width: 820px) {
  .hdr-in { grid-template-columns: 1fr auto; padding: 0 12px 0 16px; }
  .nav { display: none; }
}
@media (max-width: 700px) {
  .hdr.scrolled { background: rgba(17, 13, 11, .95); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .toggle { background: rgba(255, 255, 255, .42); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .toggle a, .toggle-ind { width: 128px; }
  .stage[data-mode="b"] .toggle-ind { transform: translateX(134px); }
  .stats3 { gap: 8px; }
  .stats3 span { font-size: 13px; }
  .ways-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promises { grid-template-columns: minmax(0, 1fr); }
  /* The download button stays in the fixed header on phones; the language switch gets compact to make room. */
  .hdr-end { gap: 6px; }
  .hdr-end .lang { height: 32px; padding: 0 9px; font-size: 13px; }
  .hdr-end .btn-cta { --h: 34px; padding: 0 14px; }
}
@media (max-width: 360px) {
  .logo { font-size: 20px; gap: 7px; }
  .logo img { width: 26px; height: 26px; }
}
@media (max-width: 560px) {
  .hero { padding-top: 100px; }
  .hero-sub { font-size: 16px; }
  .hs-visual { min-height: 300px; }
  .hero-tabs { padding-bottom: 80px; }
  .hero-tabs button { min-width: 0; flex: 1 1 30%; padding: 0 10px; font-size: 14px; }
  .vb-said { font-size: 16px; }
  .vb-foot > span:first-child { display: none; }
  .vb-foot { justify-content: center; }
  .spot { height: 300px; }
  .spot .ph { width: 118px; }
  .spot .sc-main { width: 140px; }
  .spot-panel { display: none; }
  .lm-set span { font-size: 21px; }
  .split-art { height: 420px; }
  .split-art .ph-main { width: 210px; right: 2%; }
  .float-img { width: 104px; }
  .split-art .panel { width: 200px; }
  .fv { height: 260px; }
  .final { padding: 120px 16px 130px; }
  .ftr-in { grid-template-columns: minmax(0, 1fr); }
}
