/* Popotater landing page (signed-out visitors). Same tokens as the app. */
@font-face { font-family: Cera; src: url(/fonts/Cera-LIGHT.ttf) format('truetype'); font-weight: 300; font-display: swap; }
@font-face { font-family: Cera; src: url(/fonts/Cera-REGULAR.ttf) format('truetype'); font-weight: 400 500; font-display: swap; }
@font-face { font-family: Cera; src: url(/fonts/Cera-BOLD.ttf) format('truetype'); font-weight: 600 800; font-display: swap; }
:root {
  --bg: #07080e; --panel: #12141f; --panel-2: #1a1d2c; --line: rgba(160, 170, 255, .12);
  --ink: #f5f6fc; --ink-2: #c9cde0; --muted: #9095ae;
  --brand: linear-gradient(110deg, #1267a1 0%, #3d55bb 38%, #783cb3 70%, #9c286e 100%);
  --glow: linear-gradient(90deg, #28f0ff, #00a6ff 30%, #b82cff 65%, #ff3cac);
  --gutter: 20px; color-scheme: dark;
}
@media (min-width: 760px) { :root { --gutter: 40px; } }
* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 Cera, system-ui, sans-serif;
  font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -.015em; line-height: 1.1; }
p { margin: 0; }
.grad { background: var(--glow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.glow { position: fixed; z-index: -1; border-radius: 50%; filter: blur(120px); opacity: .45; pointer-events: none; }
.g1 { width: 520px; height: 520px; left: -160px; top: -180px; background: #0a74c8; }
.g2 { width: 560px; height: 560px; right: -200px; top: 380px; background: #a3209a; }

.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gutter) 14px;
  background: linear-gradient(rgba(7, 8, 14, .85), rgba(7, 8, 14, 0)); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; }
.logo img { width: 36px; height: 36px; border-radius: 9px; }
.nav-link { font-weight: 500; color: var(--ink-2); padding: 8px 14px; border-radius: 12px; border: 1px solid var(--line); }
.nav-link:hover { color: #fff; border-color: rgba(255, 255, 255, .25); }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 24px; border-radius: 16px; font-weight: 700; font-size: 16px; transition: transform .15s, background .2s; }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--brand); color: #fff; box-shadow: 0 10px 30px rgba(122, 60, 200, .35), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn.ghost { background: rgba(255, 255, 255, .06); border: 1px solid var(--line); }

.hero { max-width: 1200px; margin: 0 auto; padding: 40px var(--gutter) 30px; display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.05fr 1fr; padding-top: 70px; min-height: 78vh; } }
.kicker { display: inline-block; padding: 6px 12px; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); margin-bottom: 20px; }
.hero h1 { font-size: clamp(40px, 7vw, 68px); font-weight: 800; }
.lede { margin-top: 20px; font-size: 18px; color: var(--ink-2); max-width: 520px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.fine { margin-top: 14px; color: var(--muted); font-size: 14px; }

.hero-art { position: relative; height: 520px; overflow: hidden; contain: paint; border-radius: 32px; }
@media (max-width: 899px) { .hero-art { height: 470px; } }
.wall { position: absolute; inset: -40px -60px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
  transform: rotate(-12deg) scale(1.15); opacity: .55;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 72%); mask-image: radial-gradient(ellipse at center, #000 30%, transparent 72%); }
.wall img { width: 100%; aspect-ratio: 2/3; object-fit: cover; border-radius: 10px; }
.wall .col { display: flex; flex-direction: column; gap: 12px; animation: drift 38s linear infinite; }
.wall .col:nth-child(even) { animation-direction: reverse; }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-40%); } }
@media (prefers-reduced-motion: reduce) { .wall .col { animation: none; } }

.phone { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 290px; padding: 18px 16px 20px; border-radius: 36px;
  background: rgba(14, 16, 28, .92); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 60px rgba(120, 70, 255, .25);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.phone-top { display: flex; justify-content: center; margin-bottom: 10px; }
.phone-top img { width: 30px; height: 30px; border-radius: 8px; }
.phone-h { font-weight: 800; font-size: 22px; margin-bottom: 10px; }
.phone-row { display: grid; grid-template-columns: 48px 1fr 34px; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.pp { width: 48px; aspect-ratio: 2/3; border-radius: 8px; background: var(--panel-2) center/cover; }
.phone-row b, .phone-note b { display: block; font-size: 14px; }
.phone-row small, .phone-note small { display: block; color: var(--muted); font-size: 12px; }
.bar { display: block; height: 6px; border-radius: 3px; background: #262a40; margin-top: 6px; overflow: hidden; }
.bar em { display: block; height: 100%; background: var(--glow); }
.tick { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; border: 2px solid #b82cff; }
.phone-note { display: flex; gap: 10px; align-items: center; margin-top: 14px; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .07); }
.phone-score { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; }
.pct { font-weight: 800; font-size: 26px; color: #ffcc4d; text-shadow: 0 0 12px rgba(255, 204, 77, .4); }
.phone-score small { color: var(--muted); }

section h2 { font-size: clamp(28px, 4.5vw, 40px); font-weight: 800; text-align: center; margin-bottom: 30px; }
.features, .how { max-width: 1200px; margin: 0 auto; padding: 60px var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.grid article { padding: 22px; border-radius: 22px; background: rgba(18, 20, 31, .8); border: 1px solid var(--line); }
.grid i { font-style: normal; font-size: 28px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(40, 240, 255, .15), rgba(184, 44, 255, .2)); border: 1px solid rgba(255, 255, 255, .08); }
.grid h3 { font-size: 19px; margin-bottom: 6px; }
.grid p, .how p { color: var(--muted); font-size: 15px; }
.how ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.how li { text-align: center; padding: 10px; }
.how li span { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--brand); font-weight: 800; font-size: 20px; margin-bottom: 14px; }
.how h3 { font-size: 19px; margin-bottom: 4px; }
.band { margin: 30px auto 0; max-width: 1100px; padding: 60px var(--gutter); text-align: center; border-radius: 32px;
  background: radial-gradient(ellipse at 30% 0%, rgba(10, 116, 200, .35), transparent 60%), radial-gradient(ellipse at 80% 100%, rgba(163, 32, 154, .35), transparent 60%), var(--panel); border: 1px solid var(--line); }
.band h2 { margin-bottom: 22px; }
@media (max-width: 760px) { .band { margin: 30px var(--gutter) 0; } }
footer { max-width: 1200px; margin: 0 auto; padding: 40px var(--gutter) calc(40px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 6px; color: #5f6482; font-size: 12.5px; text-align: center; }
