/* Smoosh's brand on the web: paper and navy surfaces, big flat colour, Archivo Black, outline pills and googly
   blobs cropped by the edges. Tokens match Smoosh/UI/Brand/Brand.swift. */

@font-face {
  font-family: "Archivo Black";
  src: url(fonts/archivo-black.woff2) format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  font-weight: 800;
  src: url(fonts/archivo-800.woff2) format("woff2");
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #F2F1EE;
  --surface: #FFFFFF;
  --navy: #2B2163;
  --cream: #F6E6B8;
  --ink: #121214;
  --ink-soft: #5D5B66;
  --ink-faint: rgba(18, 18, 20, 0.1);
  --sunflower: #FFB21E;
  --grape: #7452F2;
  --coral: #E8413F;
  --bubblegum: #F27BD3;
  --cobalt: #2D47FF;
  --tangerine: #FF6B3D;
  --leaf: #35B95E;
  --lilac: #CFC4F8;
  --gutter: 20px;
  --display: "Archivo Black", "Arial Black", system-ui, sans-serif;
  --heading: "Archivo", "Arial", system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.5 var(--body);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.95;
  text-transform: uppercase;
  margin: 0;
}
.heading { font-family: var(--heading); font-weight: 800; letter-spacing: -0.01em; line-height: 1.15; margin: 0; }
.kicker {
  font: 800 12px/1 var(--body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.soft { color: var(--ink-soft); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); position: relative; }

/* Controls */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1.5px solid currentColor;
  font: 800 18px/1 var(--heading);
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.16s ease;
}
.pill.solid { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill:active { transform: scale(0.96); }
.pill svg { width: 22px; height: 22px; flex: none; }

/* Blobs */
.blob { position: absolute; aspect-ratio: 1; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.blob svg { width: 100%; height: 100%; display: block; overflow: visible; transform-origin: 50% 100%; }
.blob .lid { transform-box: fill-box; transform-origin: center; }
.blob { animation: breathe 4s ease-in-out infinite alternate; }
.blob:nth-of-type(2n) { animation-duration: 3.4s; animation-delay: -1.2s; }
@keyframes breathe { to { scale: 1.02 0.985; } }
.sparkle { position: absolute; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .blob { animation: none; }
  .pill { transition: none; }
}

/* Phone frame round a 1320x2868 screenshot */
.phone {
  background: var(--ink);
  padding: 9px;
  border-radius: 46px;
  width: min(300px, 78vw);
  aspect-ratio: 1320 / 2868;
  box-shadow: 0 30px 60px -30px rgba(18, 18, 20, 0.45);
  flex: none;
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 38px; background: var(--paper); }

/* Simple pages (support, privacy) */
.page main { max-width: 680px; margin: 0 auto; padding: 32px var(--gutter) 80px; }
.page header { display: flex; align-items: center; gap: 12px; margin-bottom: 40px; }
.page header a { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.page header img { width: 44px; height: 44px; border-radius: 11px; }
.page header span { font: 400 24px/1 var(--display); text-transform: uppercase; letter-spacing: -0.02em; }
.page h1 { font-size: clamp(40px, 9vw, 64px); margin-bottom: 12px; }
.page h2 { font-size: 22px; margin: 36px 0 8px; }
.page p, .page li { color: var(--ink-soft); }
.page a { color: var(--grape); }
.card { border-radius: 28px; padding: 22px 26px; margin: 24px 0; }
.card p { color: var(--ink); margin: 0; }
.page footer { margin-top: 56px; font-size: 14px; color: var(--ink-soft); }
