/* Papergold — minimal + liquid glass
   Warm dark base, cream type, gold accent. Self-hosted Inter, no build step.
   Glass used sparingly (Apple guidance): nav, media frames, CTAs. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("inter.woff2") format("woff2");
}

:root {
  --bg:        #17140f;
  --bg-2:      #14110d;
  --ink:       #f0e7d4;
  --ink-soft:  #cdc0a3;
  --muted:     #a99e86;
  --muted-2:   #7c7360;
  --gold-1:    #f0d488;
  --gold-2:    #d4af37;
  --gold-3:    #e3c463;
  --gold-deep: #1a160c;
  --line:      #2a2519;
  --glass:     rgba(42,36,26,.45);
  --glass-brd: rgba(240,220,150,.14);
  --maxw:      1080px;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* warm gold aurora — gives the glass something to refract */
body::before {
  content: "";
  position: fixed; inset: -20% -10% auto -10%; height: 90vh; z-index: 0; pointer-events: none;
  background:
    radial-gradient(58% 48% at 80% 6%, rgba(212,175,55,.20), transparent 70%),
    radial-gradient(48% 40% at 12% 0%, rgba(227,196,99,.09), transparent 70%);
}

a { color: var(--gold-3); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.gold-text {
  background: linear-gradient(92deg, #fff6df, var(--gold-3) 55%, #b8862f);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- glass primitive ---------- */
.glass {
  /* diagonal specular sheen over a frosted, saturated blur */
  background:
    linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,0) 40%),
    var(--glass);
  -webkit-backdrop-filter: blur(30px) saturate(185%);
  backdrop-filter: blur(30px) saturate(185%);
  border: 1px solid rgba(240,220,150,.24);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.30),
    inset 0 0 0 1px rgba(255,255,255,.04),
    inset 0 -1px 2px rgba(0,0,0,.45),
    0 30px 70px rgba(0,0,0,.5);
}

/* ---------- nav ---------- */
.nav { position: fixed; top: 16px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; padding: 0 16px; }
.navbar {
  display: flex; align-items: center; gap: 20px;
  padding: 9px 12px 9px 16px; border-radius: 999px; max-width: calc(100% - 8px);
}
.navbar .brand { display: flex; align-items: center; gap: 9px; font-weight: 700; letter-spacing: .2px; color: var(--ink); }
.navbar .brand img { width: 26px; height: 26px; border-radius: 7px; display: block; }
.nav-links { display: flex; gap: 18px; }
.nav-links a { color: var(--muted); font-size: 14px; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.pill {
  padding: 8px 15px; border-radius: 999px; font-size: 13px; font-weight: 600;
  border: 1px solid var(--glass-brd); color: var(--ink); cursor: pointer; transition: border-color .15s, color .15s;
}
.pill:hover { border-color: var(--gold-2); color: var(--gold-1); text-decoration: none; }
.pill.gold { background: linear-gradient(90deg, var(--gold-1), var(--gold-2)); color: var(--gold-deep); border: 0; }
.pill.gold:hover { color: var(--gold-deep); filter: brightness(1.05); }
@media (max-width: 620px) { .nav-links { display: none; } }

/* ---------- hero ---------- */
.hero { padding: 168px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.eyebrow { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-3); font-weight: 700; margin-bottom: 18px; }
/* prominent brand lockup (replaces the tiny hero caption) */
.brand-lockup { display: flex; align-items: center; gap: 11px; margin-bottom: 22px; }
.brand-lockup img { width: 36px; height: 36px; border-radius: 9px; display: block; }
.brand-lockup span { font-size: 26px; font-weight: 800; letter-spacing: -.01em; }
.hero h1 { font-size: clamp(40px, 6.2vw, 66px); line-height: 1.02; letter-spacing: -.03em; font-weight: 700; }
.hero .lead { color: var(--muted); font-size: clamp(17px, 2vw, 20px); line-height: 1.55; margin: 22px 0 30px; max-width: 32ch; }
.hero-note { margin-top: 16px; color: var(--muted-2); font-size: 13px; }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; } .hero-visual { display: none; } }

/* store badges */
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.store-badges a { display: inline-flex; transition: transform .15s ease, opacity .15s ease; }
.store-badges a:hover { transform: translateY(-2px); opacity: .92; text-decoration: none; }
.store-badge { height: 48px; width: auto; display: block; }
.store-badge-play { height: 56px; }

/* hero device */
.hero-visual { position: relative; }
.device { position: relative; aspect-ratio: 9/16; max-width: 288px; margin-left: auto; border-radius: 40px; padding: 12px; overflow: hidden; }
.device .screen { width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: #0d0b07; position: relative; }
.device img, .device video { width: 100%; height: 100%; object-fit: cover; opacity: .94; display: block; }
.scanbeam { position: absolute; left: 0; right: 0; height: 2px; top: 6%;
  background: linear-gradient(90deg, transparent, var(--gold-1), transparent);
  box-shadow: 0 0 16px 2px rgba(233,200,105,.6); animation: scan 3.6s ease-in-out infinite; }
@keyframes scan { 0% { top: 6%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: 94%; opacity: 0; } }
.value-chip { position: absolute; left: -18px; bottom: 40px; padding: 12px 16px; border-radius: 16px; }
.value-chip .lab { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.value-chip .val { font-size: 22px; font-weight: 700; }

/* ---------- feature rows ---------- */
.feat { padding: 66px 0; border-top: 1px solid var(--line); }
.feat .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.feat.flip .copy { order: 2; }
.feat .num { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-3); font-weight: 700; }
.feat h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.06; letter-spacing: -.02em; margin: 14px 0 14px; font-weight: 700; }
.feat p { color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 36ch; }
@media (max-width: 820px) { .feat .wrap { grid-template-columns: 1fr; } .feat.flip .copy { order: 0; } }

/* media frame (holds a per-feature video; placeholder until supplied) */
.media { aspect-ratio: 16/11; border-radius: 22px; overflow: hidden; position: relative; display: grid; place-items: center; }
.media video, .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media .poster { position: absolute; inset: 0; background: radial-gradient(120% 90% at 30% 20%, #2a2416, #14110d); opacity: .55; }
.media .play { position: relative; width: 62px; height: 62px; border-radius: 999px; display: grid; place-items: center; font-size: 20px; color: var(--gold-deep); background: linear-gradient(90deg, var(--gold-1), var(--gold-2)); box-shadow: 0 10px 30px rgba(212,175,55,.32); }
.media .vlabel { position: absolute; left: 16px; bottom: 13px; font-size: 12px; color: var(--muted-2); z-index: 1; }

/* ---------- compact "and more" strip ---------- */
.more { padding: 72px 0; border-top: 1px solid var(--line); }
.more .eyebrow { text-align: center; }
.more h2 { text-align: center; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.02em; margin: 12px 0 34px; font-weight: 700; }
.more-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 820px) { .more-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .more-grid { grid-template-columns: 1fr; } }
/* gold "card" tiles (like the logo's gold cards) — kept glassy */
.chip {
  border-radius: 16px; padding: 18px 16px;
  background:
    linear-gradient(158deg, rgba(240,212,136,.18), rgba(184,134,47,.05) 60%),
    var(--glass);
  border: 1px solid rgba(240,212,136,.30);
  box-shadow:
    inset 0 1px 0 rgba(255,246,223,.38),
    inset 0 0 22px rgba(212,175,55,.06),
    0 18px 44px rgba(0,0,0,.42);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.chip:hover { transform: translateY(-3px); border-color: rgba(240,212,136,.5); box-shadow: inset 0 1px 0 rgba(255,246,223,.45), 0 22px 52px rgba(0,0,0,.5); }
.chip .ico { display: inline-flex; color: var(--gold-3); }
.chip .ico svg { width: 22px; height: 22px; display: block; }
.chip h3 { font-size: 15px; margin: 11px 0 4px; color: var(--gold-1); font-weight: 600; }
.chip p { color: var(--ink-soft); font-size: 13.5px; line-height: 1.45; }

/* ---------- closing CTA ---------- */
.cta { padding: 90px 0 40px; text-align: center; }
.cta .panel { border-radius: 26px; padding: 48px 28px; max-width: 640px; margin: 0 auto; }
.cta h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.02em; font-weight: 700; }
.cta p { color: var(--muted); margin: 14px auto 26px; max-width: 40ch; }
.cta .store-badges { justify-content: center; }
.cta .fineprint { margin-top: 18px; color: var(--muted-2); font-size: 13px; }

/* ---------- footer ---------- */
.footer { padding: 46px 0 56px; color: var(--muted-2); font-size: 14px; border-top: 1px solid var(--line); margin-top: 40px; }
.footer .wrap { display: flex; justify-content: space-between; gap: 22px; flex-wrap: wrap; align-items: flex-start; }
.footer .brand { color: #cdbf99; font-weight: 700; margin-bottom: 6px; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--gold-1); }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.attribution { margin-top: 20px; color: #5f5947; font-size: 12.5px; max-width: 60ch; }

/* ---------- legal pages ---------- */
.legal { padding: 130px 0 80px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 6px; letter-spacing: -.02em; }
.legal h2 { font-size: 21px; margin: 34px 0 10px; color: var(--gold-3); letter-spacing: -.01em; }
.legal h3 { font-size: 17px; margin: 22px 0 8px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 16px; }
.legal a { word-break: break-word; }
.legal .updated { color: var(--muted-2); font-size: 14px; }
.legal .placeholder-note { border: 1px dashed #6b5a24; background: #221d11; border-radius: 10px; padding: 12px 14px; color: var(--gold-3); font-size: 14px; }
/* English-only site, but legal pages still show both languages stacked. */
.legal .wrap > [data-lang] { display: block !important; }
.legal .wrap > [data-lang="en"] { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 8px; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: none; }

/* ---------- accessibility fallbacks ---------- */
@media (prefers-reduced-transparency: reduce) {
  .glass { background: #221d15; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scanbeam { display: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .store-badges a:hover { transform: none; }
}
