/* Shared base for the six website directions (design/site/0*.html). Each direction adds its own look. */
:root {
  --paper: #F2EDE3; --card: #FBF8F1; --rule: #E2DACB; --pink: #FF48B0; --pink30: #FFC9E6; --pink10: #FFE9F4;
  --blue: #3255A4; --blue30: #C9D4EC; --over: #3A1F74; --lav: #E4DDF1; --ink: #262241; --ink2: #5E5873; --night: #1C1830;
  --yolk: #FFD43B; --good: #1E8A5A;
  --font: "Avenir Next", Avenir, "Nunito Sans", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }

/* Section labels so sections can be picked across directions ("01·A Hero"). Hidden with ?clean. */
.tag { position: absolute; z-index: 50; top: 12px; left: 12px; font: 700 11px/1 var(--font); letter-spacing: .06em;
  text-transform: uppercase; background: #111; color: #fff; padding: 6px 9px; border-radius: 6px; opacity: .82; pointer-events: none; }
.clean .tag { display: none; }
section, header, footer { position: relative; }

/* An iPhone frame around a screenshot or a screen recording. */
.phone { position: relative; width: var(--w, 280px); aspect-ratio: 1206 / 2622; border-radius: calc(var(--w, 280px) * .155);
  background: #0E0D12; padding: calc(var(--w, 280px) * .032); box-shadow: 0 30px 60px -25px rgba(28, 24, 48, .45), inset 0 0 0 1.5px #3b3946; flex: none; }
.phone > img, .phone > video { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--w, 280px) * .125); background: #000; }
.phone::after { content: ""; position: absolute; top: calc(var(--w, 280px) * .055); left: 50%; translate: -50% 0;
  width: 31%; height: calc(var(--w, 280px) * .085); border-radius: 99px; background: #000; }
.phone.flat { box-shadow: none; }

/* Animated mascots: one-row sprite sheets played with steps() (see site.js). */
.mascot { display: inline-block; width: var(--s, 160px); height: var(--s, 160px); background-repeat: no-repeat; flex: none; }
.still { display: block; height: auto; }

/* App Store badge stand-in (use Apple's official badge artwork when the app is live). */
.store { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 20px 0 16px; border-radius: 14px;
  background: #000; color: #fff; text-decoration: none; border: 1px solid #000; }
.store svg { width: 26px; height: 26px; fill: #fff; }
.store small { display: block; font-size: 11px; font-weight: 500; line-height: 1.1; }
.store b { display: block; font-size: 21px; font-weight: 600; line-height: 1.05; letter-spacing: -.01em; }
.store.light { background: #fff; color: #000; border-color: #000; }
.store.light svg { fill: #000; }
.socials { display: inline-flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; text-decoration: none; }
.socials svg { width: 20px; height: 20px; fill: currentColor; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.note { font-size: 12px; color: var(--ink2); }
