/* ============================================================
   ENCLAVER — Live any life. Break every rule.
   Sun-drenched mobile-game scrapbook
   Cream paper · candy-bright accents · big black headlines
   ============================================================ */

:root {
  /* Palette — bright life-sim */
  --paper:      #FFF6E4;        /* warm cream paper bg */
  --paper-deep: #FFEACB;        /* slightly deeper cream for layered sections */
  --paper-warm: #FBE3B4;
  --ink:        #15110A;        /* warm near-black for headlines */
  --ink-2:      #2E2417;        /* warm dark for body text */
  --ink-mute:   #6E5E45;        /* warm gray text */
  --ink-dim:    #A89B81;
  --border:     #E8DCC0;        /* warm hairline */
  --border-2:   #D7C8A6;

  --coral:      #FF5B57;        /* primary hot coral */
  --coral-deep: #E2403C;
  --sky:        #4FB4F9;
  --sky-deep:   #2E92D8;
  --mint:       #3DCFB0;
  --mint-deep:  #28A88C;
  --sunny:      #FFC93D;
  --sunny-deep: #E8AE1F;
  --pink:       #FF5BA2;
  --pink-deep:  #E33D8A;
  --lavender:   #B47FFF;
  --lavender-deep: #8C56DA;
  --gold:       #D4A24A;
  --olive:      #8F9A4A;
  --plum:       #6B2D5C;

  /* Type */
  --display:    "Antonio", "Helvetica Neue Condensed", "Impact", sans-serif;
  --editorial:  "Fraunces", "Times New Roman", serif;
  --body:       "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  /* Rhythm */
  --pad:    clamp(20px, 4vw, 56px);
  --gap-lg: clamp(56px, 9vw, 120px);
  --gap-md: clamp(32px, 5vw, 64px);
  --gap-sm: clamp(16px, 2vw, 24px);

  --maxw:   1240px;
  --readw:  720px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
em { font-style: italic; }

/* ---------- base ---------- */
body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink-2);
  line-height: 1.5;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- paper grain overlay (very subtle, light) ---------- */
.grain {
  position: fixed; inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.5  0 0 0 0 0.4  0 0 0 0 0.2  0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
/* remove vignette */
.vignette { display: none; }

/* ---------- eyebrow / chapter labels ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 11px/1 var(--body);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--coral);
  padding-bottom: 4px;
  border-bottom: 2px solid var(--coral);
}
.eyebrow::before {
  content: "";
  width: 24px; height: 2px;
  background: var(--coral);
}

.dim { color: var(--ink-mute); }

/* ============================================================
   TOP NAV — cream + ink
   ============================================================ */
.topnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad);
  background: linear-gradient(to bottom, rgba(255,246,228,0.75) 0%, rgba(255,246,228,0.0) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: padding 0.3s ease, background 0.3s ease, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.topnav.scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(255,246,228,0.96);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.brand-icon {
  width: 28px; height: 28px;
  border-radius: 7px;
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}
.brand-word {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.12em;
  color: var(--ink);
}

.topnav-links {
  display: flex;
  gap: clamp(18px, 2.5vw, 32px);
  font: 600 13px/1 var(--body);
  letter-spacing: 0.04em;
  color: var(--ink-2);
}
.topnav-links a { transition: color 0.2s; }
.topnav-links a:hover { color: var(--coral); }
@media (max-width: 820px) {
  .topnav-links { display: none; }
}

.topnav-cta {
  font: 700 13px/1 var(--body);
  letter-spacing: 0.04em;
  padding: 11px 18px;
  background: var(--coral);
  color: #fff;
  border-radius: 999px;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 0 var(--coral-deep);
}
.topnav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--coral-deep);
}

/* ============================================================
   LIFE RAIL — left progress indicator
   ============================================================ */
.life-rail {
  position: fixed;
  top: 50%;
  left: 24px;
  transform: translateY(-50%);
  z-index: 80;
  pointer-events: none;
}
.life-rail ol {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.life-rail li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-dim);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  transition: color 0.3s, transform 0.3s;
}
.life-rail .age {
  display: inline-block;
  width: 26px;
  text-align: right;
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0;
  color: var(--ink-dim);
  position: relative;
}
.life-rail .age::after {
  content: "";
  display: inline-block;
  width: 18px; height: 2px;
  background: currentColor;
  margin-left: 8px;
  vertical-align: middle;
  opacity: 0.4;
}
.life-rail .label { opacity: 0.7; }

.life-rail li.is-active {
  color: var(--coral);
}
.life-rail li.is-active .age { color: var(--coral); }
.life-rail li.is-active .age::after { opacity: 1; }
.life-rail li.is-active .label { opacity: 1; }

@media (max-width: 1200px) { .life-rail { display: none; } }

/* ============================================================
   HERO — sunburst + fanned real screenshots
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--paper);
}
/* Sunburst rays behind the phones — echoes the store creatives */
.hero-burst {
  position: absolute;
  z-index: 1;
  top: 50%; right: -12%;
  width: min(75vw, 1050px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  background:
    repeating-conic-gradient(from 0deg,
      rgba(255,201,61,0.35) 0deg 9deg,
      rgba(255,201,61,0.0) 9deg 18deg);
  border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 68%);
  mask-image: radial-gradient(circle, #000 0%, transparent 68%);
  animation: burst-spin 90s linear infinite;
}
@keyframes burst-spin {
  to { transform: translateY(-50%) rotate(360deg); }
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 140px var(--pad) 120px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 120px; padding-bottom: 90px; }
}

/* Fanned phone screenshots */
.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}
@media (max-width: 980px) {
  .hero-art { min-height: 340px; margin-top: 8px; }
}
.hero-phone {
  border-radius: 26px;
  border: 3px solid var(--ink);
  overflow: hidden;
  background: #000;
  box-shadow: 8px 10px 0 var(--ink);
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1);
}
.hero-phone img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-phone.hp-main {
  position: relative;
  z-index: 3;
  width: clamp(180px, 22vw, 260px);
  aspect-ratio: 1080 / 2347;
  transform: rotate(2deg);
}
.hero-phone.hp-left,
.hero-phone.hp-right {
  position: absolute;
  z-index: 2;
  width: clamp(140px, 17vw, 205px);
  aspect-ratio: 1080 / 2347;
  opacity: 0.96;
}
.hero-phone.hp-left  { transform: translateX(-78%) rotate(-8deg) scale(0.92); }
.hero-phone.hp-right { transform: translateX(78%) rotate(8deg) scale(0.92); }
.hero-phone.hp-main:hover { transform: rotate(0deg) translateY(-6px); }
@media (max-width: 480px) {
  .hero-phone.hp-left  { transform: translateX(-62%) rotate(-8deg) scale(0.9); }
  .hero-phone.hp-right { transform: translateX(62%) rotate(8deg) scale(0.9); }
}

.hero-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(80px, 16vw, 240px);
  line-height: 0.86;
  letter-spacing: -0.025em;
  margin: 18px 0 36px;
  text-transform: uppercase;
  color: var(--ink);
}
.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: rise 1s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-title .line:nth-child(1) { animation-delay: 0.15s; }
.hero-title .line:nth-child(2) { animation-delay: 0.30s; }
.hero-title .line:nth-child(3) { animation-delay: 0.45s; }

.hero-title .line-italic {
  font-family: var(--editorial);
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-size: 0.96em;
  letter-spacing: -0.015em;
  color: var(--coral);
  text-transform: none;
  display: block;
  margin-left: clamp(60px, 12vw, 180px);
  line-height: 0.9;
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  font-family: var(--editorial);
  font-weight: 400;
  font-variation-settings: "opsz" 30;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 540px;
  margin: 0 0 36px;
  opacity: 0;
  animation: rise 1s 0.7s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-sub em {
  color: var(--coral);
  font-style: italic;
  font-weight: 500;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
  opacity: 0;
  animation: rise 1s 0.9s cubic-bezier(.2,.7,.2,1) forwards;
}

.store-btn {
  display: inline-grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 12px;
  row-gap: 0;
  padding: 14px 24px 14px 20px;
  background: var(--ink);
  color: #fff;
  border-radius: 16px;
  font-family: var(--body);
  letter-spacing: 0;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 0 #000;
}
.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #000;
}
.store-btn svg {
  grid-row: 1 / span 2;
  width: 28px; height: 28px;
}
.store-line1 {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  align-self: end;
  opacity: 0.85;
}
.store-line2 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  align-self: start;
  margin-top: -2px;
}

.store-apple { background: var(--ink); color: #fff; box-shadow: 0 6px 0 #000; }
.store-apple:hover { box-shadow: 0 8px 0 #000; }
.store-google { background: var(--coral); color: #fff; box-shadow: 0 6px 0 var(--coral-deep); }
.store-google:hover { box-shadow: 0 8px 0 var(--coral-deep); }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0;
  animation: rise 1s 1.1s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-trust strong {
  color: var(--ink);
  font-weight: 800;
}
.hero-trust .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 14px var(--coral);
  animation: pulse 2.6s ease-in-out infinite;
}
.hero-trust .sep { color: var(--ink-dim); }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.85); }
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--ink-2);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.hero-scroll:hover { opacity: 1; color: var(--coral); }
.hero-scroll svg { width: 18px; height: 24px; }

/* ============================================================
   SECTIONS — shared
   ============================================================ */
section {
  padding: var(--gap-lg) 0;
  position: relative;
}

/* ============================================================
   INTRO — sky blue accents on cream
   ============================================================ */
.intro {
  background: var(--paper);
  border-top: 1px solid var(--border);
}
.intro-inner { max-width: 960px; }

.intro-head {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(36px, 5.5vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 28px 0 24px;
  color: var(--ink);
  text-transform: uppercase;
}
.intro-head em {
  font-family: var(--editorial);
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 80;
  text-transform: none;
  color: var(--coral);
  letter-spacing: -0.005em;
}

.intro-lede {
  font-family: var(--editorial);
  font-weight: 400;
  font-variation-settings: "opsz" 30;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 640px;
  margin: 0 0 64px;
}

/* stats */
.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  padding: 36px 36px 32px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 4px;
  position: relative;
  box-shadow: 8px 8px 0 var(--ink);
}
.stats::before {
  content: "STATUS · AGE 24";
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--sunny);
  padding: 4px 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.24em;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
}
@media (max-width: 720px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 18px; padding: 32px 22px 24px; box-shadow: 4px 4px 0 var(--ink); }
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 700;
}
.stat-bar {
  position: relative;
  height: 8px;
  background: var(--paper-warm);
  border: 1px solid var(--ink);
  overflow: hidden;
  border-radius: 999px;
}
.stat-fill {
  position: absolute;
  inset: 0 100% 0 0;
  background: linear-gradient(to right, var(--coral), var(--sunny));
  transition: inset 1.4s cubic-bezier(.2,.7,.2,1);
}
.stat:nth-child(2) .stat-fill { background: linear-gradient(to right, var(--pink), var(--coral)); }
.stat:nth-child(3) .stat-fill { background: linear-gradient(to right, var(--sky), var(--mint)); }
.stat:nth-child(4) .stat-fill { background: linear-gradient(to right, var(--lavender), var(--pink)); }
.stat:nth-child(5) .stat-fill { background: linear-gradient(to right, var(--mint), var(--sunny)); }
.stat.in-view .stat-fill { inset: 0 calc(100% - var(--target)) 0 0; }
.stat-val {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.stats-caption {
  margin-top: 22px;
  font-family: var(--editorial);
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  color: var(--ink-mute);
  text-align: right;
}

/* ============================================================
   TWO WORLDS — slightly deeper cream
   ============================================================ */
.worlds {
  background: var(--paper-deep);
  border-top: 1px solid var(--border);
}

.worlds-head {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(48px, 8vw, 112px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin: 28px 0 18px;
  text-transform: uppercase;
  color: var(--ink);
}
.worlds-head em {
  font-family: var(--editorial);
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  text-transform: none;
  color: var(--sky-deep);
}

.worlds-lede {
  font-family: var(--editorial);
  font-weight: 400;
  font-variation-settings: "opsz" 30;
  font-size: clamp(17px, 1.7vw, 21px);
  color: var(--ink-2);
  max-width: 640px;
  margin: 0 0 var(--gap-md);
  line-height: 1.55;
}

.worlds-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-md);
  align-items: start;
}
@media (max-width: 920px) {
  .worlds-grid { grid-template-columns: 1fr; }
}

.world-head { margin-bottom: 28px; }
.world-num {
  display: inline-block;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  background: var(--sky);
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.world-city .world-num { background: var(--coral); }
.world-head h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 44px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  line-height: 1;
  color: var(--ink);
}
.world-head p {
  font-family: var(--editorial);
  font-weight: 400;
  font-variation-settings: "opsz" 24;
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 460px;
}

/* phone frame — stays dark (game UI) */
.phone {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  aspect-ratio: 9 / 19.5;
  background: #050403;
  border-radius: 38px;
  padding: 12px;
  box-shadow:
    0 30px 0 -10px var(--sky),
    0 30px 80px rgba(20,15,5,0.25),
    inset 0 0 0 1.5px #2a2520,
    inset 0 0 0 4px #0a0908;
  transform: rotate(-3deg);
  transition: transform 0.4s ease;
}
.phone:hover { transform: rotate(0deg) translateY(-4px); }

.world-city .phone {
  box-shadow:
    0 30px 0 -10px var(--coral),
    0 30px 80px rgba(20,15,5,0.25),
    inset 0 0 0 1.5px #2a2520,
    inset 0 0 0 4px #0a0908;
}

.phone-landscape {
  max-width: 480px;
  aspect-ratio: 19.5 / 9;
  transform: rotate(3deg);
}

.phone-screen {
  position: relative;
  width: 100%; height: 100%;
  background: #0e0c0a;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* city phone — real store screenshot */
.world-city .phone-screen {
  border-radius: 28px;
  background: #000;
}
.phone-screen-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.world-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.world-pills li {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 7px 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  box-shadow: 2px 2px 0 var(--ink);
  transition: transform 0.15s, box-shadow 0.15s;
}
.world-pills li:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--ink);
}

/* ============================================================
   TEN LIVES — each card a vivid solid color
   ============================================================ */
.lives {
  background: var(--paper);
  border-top: 1px solid var(--border);
}

.lives-head {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(48px, 8vw, 112px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 28px 0 18px;
  color: var(--ink);
}
.lives-head em {
  font-family: var(--editorial);
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  text-transform: none;
  color: var(--mint-deep);
}

.lives-lede {
  font-family: var(--editorial);
  font-weight: 400;
  font-variation-settings: "opsz" 30;
  font-size: clamp(17px, 1.7vw, 21px);
  color: var(--ink-2);
  max-width: 640px;
  margin: 0 0 var(--gap-md);
  line-height: 1.55;
}

.lives-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 1080px) { .lives-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .lives-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .lives-grid { grid-template-columns: 1fr; } }

/* Per-card vivid colors */
.life-card {
  --bg:     var(--coral);
  --text:   #fff;
  position: relative;
  padding: 24px 22px 22px;
  background: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 240px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 0.2s, box-shadow 0.2s;
}
.life-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}

/* Colors are set per-card inline (--bg/--text) to match each profession */

.life-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.life-ico {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.35);
}
.life-ico img {
  width: 36px; height: 36px;
  object-fit: contain;
}

.life-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  opacity: 0.85;
}
.life-card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0;
  text-transform: uppercase;
}
.life-hook {
  font-family: var(--editorial);
  font-weight: 400;
  font-variation-settings: "opsz" 18;
  font-size: 13.5px;
  line-height: 1.5;
  opacity: 0.95;
  margin: 0;
  flex: 1;
}
.life-tag {
  align-self: flex-start;
  font-size: 9px;
  letter-spacing: 0.2em;
  font-weight: 800;
  padding: 4px 8px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  margin-top: 8px;
  opacity: 0.9;
}
.tag-red { color: #fff; background: var(--ink); border-color: var(--ink); }
.tag-gold { color: var(--ink); background: var(--sunny); border-color: var(--sunny); }

.lives-foot {
  margin-top: 36px;
  text-align: center;
  font-family: var(--editorial);
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  color: var(--ink-2);
  font-variation-settings: "opsz" 24;
}
.lives-foot strong {
  font-style: normal;
  color: var(--ink);
  font-weight: 800;
  font-family: var(--body);
  letter-spacing: 0.02em;
  background: var(--sunny);
  padding: 1px 6px;
  border-radius: 3px;
}

/* ============================================================
   STORY BEATS — each beat its own bright accent column
   ============================================================ */
.story {
  background: var(--paper-deep);
  border-top: 1px solid var(--border);
}
.story-head {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 28px 0 var(--gap-md);
  color: var(--ink);
}
.story-head em {
  font-family: var(--editorial);
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  text-transform: none;
  color: var(--pink-deep);
}

.beats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 920px) {
  .beats { grid-template-columns: 1fr; }
}

.beat {
  --accent: var(--coral);
  padding: 36px 28px 32px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: 6px 6px 0 var(--ink);
  position: relative;
  overflow: hidden;
}
.beat::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 12px;
  background: var(--accent);
  border-bottom: 2px solid var(--ink);
}

.beat-crime  { --accent: var(--coral); }
.beat-fame   { --accent: var(--pink); }
.beat-royal  { --accent: var(--lavender); }

.beat header {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 16px 0 22px;
}
.beat-num {
  font-family: var(--editorial);
  font-style: italic;
  font-weight: 600;
  font-size: 36px;
  color: var(--accent);
  font-variation-settings: "opsz" 72;
}
.beat h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0;
  color: var(--ink);
}

.beat blockquote {
  margin: 0 0 22px;
  font-family: var(--editorial);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "opsz" 36, "SOFT" 70;
  font-size: 18px;
  line-height: 1.45;
  color: var(--ink);
  position: relative;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
}

.beat ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
}
.beat li {
  position: relative;
  padding-left: 18px;
  letter-spacing: 0.01em;
}
.beat li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ============================================================
   COUNTRIES — bold sunny block
   ============================================================ */
.countries {
  background: var(--sunny);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
}

.countries-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: end;
  margin: 28px 0 var(--gap-md);
}
@media (max-width: 720px) {
  .countries-head { grid-template-columns: 1fr; align-items: start; }
}
.countries-head .eyebrow {
  color: var(--ink);
  border-color: var(--ink);
}
.countries-head .eyebrow::before { background: var(--ink); }
.countries-head h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0;
  color: var(--ink);
}
.countries-head em {
  font-family: var(--editorial);
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  text-transform: none;
  color: var(--coral-deep);
}
.countries-head p {
  font-family: var(--editorial);
  font-weight: 400;
  font-variation-settings: "opsz" 24;
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
}

.country-marquee {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: 22px 0;
  background: #fff;
  overflow: hidden;
}
.country-marquee::before,
.country-marquee::after {
  content: ""; position: absolute;
  top: 0; bottom: 0;
  width: 120px; z-index: 2;
  pointer-events: none;
}
.country-marquee::before { left: 0; background: linear-gradient(to right, #fff, transparent); }
.country-marquee::after  { right: 0; background: linear-gradient(to left,  #fff, transparent); }

.country-track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 56px);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
  animation: scroll-x 60s linear infinite;
  padding-left: 28px;
}
.country-track span:nth-child(even) {
  color: var(--coral);
  font-size: 0.6em;
}
.country-track span:nth-child(2n+1) {
  font-family: var(--editorial);
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "opsz" 72;
  color: var(--ink);
}
.country-track span:nth-child(4n+1) {
  font-family: var(--display);
  font-style: normal;
  font-weight: 700;
  color: var(--sky-deep);
}
.country-track span:nth-child(6n+1) {
  color: var(--coral-deep);
}

@keyframes scroll-x {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   GALLERY — horizontal snap-scroll of real screenshots
   ============================================================ */
.gallery {
  background: var(--paper);
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.gallery-head {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 28px 0 12px;
  color: var(--ink);
}
.gallery-head em {
  font-family: var(--editorial);
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  text-transform: none;
  color: var(--coral);
}
.gallery-lede {
  font-family: var(--editorial);
  font-weight: 400;
  font-variation-settings: "opsz" 24;
  font-size: 17px;
  color: var(--ink-2);
  margin: 0 0 36px;
}

.gallery-scroll {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 12px var(--pad) 28px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--ink) transparent;
}
.gallery-scroll figure {
  margin: 0;
  flex: 0 0 auto;
  width: clamp(200px, 24vw, 270px);
  aspect-ratio: 1080 / 2347;
  scroll-snap-align: center;
  border: 3px solid var(--ink);
  border-radius: 24px;
  overflow: hidden;
  background: #000;
  box-shadow: 6px 8px 0 var(--ink);
  transition: transform 0.25s;
}
.gallery-scroll figure:hover { transform: translateY(-6px); }
.gallery-scroll img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-scroll figure:nth-child(odd)  { transform: rotate(-1deg); }
.gallery-scroll figure:nth-child(even) { transform: rotate(1deg); }
.gallery-scroll figure:nth-child(odd):hover,
.gallery-scroll figure:nth-child(even):hover { transform: rotate(0deg) translateY(-6px); }

/* ============================================================
   OUR APPS — studio portfolio cards
   ============================================================ */
.apps {
  background: var(--paper-deep);
  border-top: 1px solid var(--border);
}
.apps-head {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 28px 0 12px;
  color: var(--ink);
}
.apps-head em {
  font-family: var(--editorial);
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  text-transform: none;
  color: var(--lavender-deep);
}
.apps-lede {
  font-family: var(--editorial);
  font-weight: 400;
  font-variation-settings: "opsz" 24;
  font-size: 17px;
  color: var(--ink-2);
  max-width: 620px;
  line-height: 1.55;
  margin: 0 0 var(--gap-md);
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 980px) { .apps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .apps-grid { grid-template-columns: 1fr; } }

.app-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.2s, box-shadow 0.2s;
}
.app-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}
.app-card img {
  width: 64px; height: 64px;
  border-radius: 14px;
  border: 2px solid var(--ink);
  flex-shrink: 0;
}
.app-info h3 {
  font-family: var(--body);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.01em;
  margin: 2px 0 6px;
  color: var(--ink);
  line-height: 1.25;
}
.app-info p {
  font-family: var(--editorial);
  font-weight: 400;
  font-variation-settings: "opsz" 18;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-mute);
  margin: 0 0 8px;
}
.app-meta {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sunny-deep);
}
.app-card-flagship {
  background: var(--sunny);
}
.app-card-flagship .app-meta { color: var(--ink-2); }
.app-card-flagship p { color: var(--ink-2); }

/* ============================================================
   REVIEWS — sky-blue accent on cream
   ============================================================ */
.reviews {
  background: var(--paper);
  border-top: 1px solid var(--border);
}

.reviews-head {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 28px 0 var(--gap-md);
  color: var(--ink);
}
.reviews-head em {
  font-family: var(--editorial);
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  text-transform: none;
  color: var(--sky-deep);
}
.reviews-head .dim {
  display: block;
  font-size: 0.5em;
  font-family: var(--editorial);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "opsz" 72;
  text-transform: none;
  color: var(--ink-mute);
  letter-spacing: 0;
  margin-top: 8px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: var(--gap-md);
}
@media (max-width: 820px) { .review-grid { grid-template-columns: 1fr; } }

.review {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: 32px 28px;
  margin: 0;
  position: relative;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 0.2s, box-shadow 0.2s;
}
.review:nth-child(2) { transform: rotate(0.5deg); }
.review:nth-child(3) { transform: rotate(-0.5deg); }
.review:hover {
  transform: translate(-2px, -2px) rotate(0deg);
  box-shadow: 7px 7px 0 var(--ink);
}
.review::before {
  content: "“";
  position: absolute;
  top: -34px;
  left: 16px;
  font-family: var(--editorial);
  font-style: italic;
  font-weight: 600;
  font-size: 84px;
  line-height: 0.55;
  color: var(--coral);
  font-variation-settings: "opsz" 144;
  background: var(--paper);
  padding: 0 12px;
  pointer-events: none;
}

.reviews-note {
  font-family: var(--editorial);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-mute);
  margin: -28px 0 32px;
}

.stars {
  color: var(--sunny-deep);
  letter-spacing: 4px;
  font-size: 16px;
  margin-bottom: 10px;
}

.review-title {
  font-family: var(--body);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 10px;
}

.review blockquote {
  margin: 0 0 16px;
  font-family: var(--editorial);
  font-weight: 400;
  font-variation-settings: "opsz" 24;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
}
.review blockquote em {
  color: var(--coral);
  font-style: italic;
  font-weight: 500;
}

.review figcaption {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  text-transform: uppercase;
  font-weight: 700;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 720px) { .metrics { grid-template-columns: 1fr 1fr; } }

.metrics > div {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 4px 4px 0 var(--ink);
}
.metrics > div:nth-child(1) { background: var(--coral); color: #fff; }
.metrics > div:nth-child(2) { background: var(--sky); color: #fff; }
.metrics > div:nth-child(3) { background: var(--mint); color: #08231C; }
.metrics > div:nth-child(4) { background: var(--sunny); color: var(--ink); }

.metrics strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.01em;
}
.metrics span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  background: var(--paper-deep);
  border-top: 1px solid var(--border);
}
.faq-inner { max-width: 880px; }

.faq-head {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin: 28px 0 var(--gap-md);
  color: var(--ink);
}
.faq-head em {
  font-family: var(--editorial);
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "opsz" 96, "SOFT" 100;
  text-transform: none;
  color: var(--coral);
}

.faq details {
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: #fff;
  margin-bottom: 14px;
  padding: 22px 24px;
  transition: padding 0.3s, background 0.3s;
  box-shadow: 3px 3px 0 var(--ink);
}
.faq details[open] {
  background: var(--paper);
  padding-bottom: 26px;
  box-shadow: 4px 4px 0 var(--ink);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(20px, 2.5vw, 28px);
  letter-spacing: -0.005em;
  color: var(--ink);
  position: relative;
  padding-right: 40px;
  text-transform: uppercase;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: 32px;
  color: var(--coral);
  transition: transform 0.3s, color 0.3s;
  line-height: 1;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
  color: var(--coral-deep);
}
.faq summary:hover { color: var(--coral); }

.faq details p {
  margin: 16px 0 0;
  font-family: var(--editorial);
  font-weight: 400;
  font-variation-settings: "opsz" 24;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 640px;
}

/* ============================================================
   FINAL CTA — bright coral gradient block
   ============================================================ */
.end {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(79,180,249,0.35) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(255,201,61,0.35) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(255,91,87,0.18) 0%, transparent 70%),
    var(--paper);
  border-top: 2px solid var(--ink);
  text-align: center;
  position: relative;
}
.end::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, var(--coral) 4px, transparent 5px),
    radial-gradient(circle at 80% 15%, var(--sky) 6px, transparent 7px),
    radial-gradient(circle at 92% 70%, var(--mint) 5px, transparent 6px),
    radial-gradient(circle at 15% 80%, var(--pink) 5px, transparent 6px),
    radial-gradient(circle at 50% 92%, var(--lavender) 4px, transparent 5px);
  opacity: 0.35;
  pointer-events: none;
}

.end .container { position: relative; z-index: 2; }

.end-head {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(72px, 14vw, 200px);
  line-height: 0.88;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin: 28px 0 32px;
  color: var(--ink);
}
.end-head .line { display: block; }
.end-head .line-italic {
  font-family: var(--editorial);
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  text-transform: none;
  color: var(--coral);
  letter-spacing: -0.015em;
}

.end-sub {
  font-family: var(--editorial);
  font-weight: 400;
  font-variation-settings: "opsz" 30;
  font-size: clamp(17px, 1.8vw, 22px);
  color: var(--ink-2);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.5;
}

.end-ctas { justify-content: center; }

.generate-life {
  display: inline-block;
  margin-top: 48px;
  padding: 14px 26px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 999px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 3px 3px 0 var(--ink);
}
.generate-life:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
  background: var(--sunny);
}

.generate-out {
  min-height: 1.5em;
  margin: 24px auto 0;
  max-width: 720px;
  font-family: var(--editorial);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "opsz" 36;
  font-size: clamp(16px, 1.8vw, 22px);
  line-height: 1.5;
  color: var(--ink);
}
.generate-out::after {
  content: "▌";
  display: inline-block;
  margin-left: 2px;
  color: var(--coral);
  opacity: 0;
}
.generate-out.typing::after {
  opacity: 1;
  animation: blink 1s steps(2) infinite;
}

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* ============================================================
   FOOTER — deep ink for contrast
   ============================================================ */
.foot {
  background: var(--ink);
  color: var(--paper);
  border-top: 2px solid var(--ink);
  padding: var(--gap-md) 0 28px;
}

.foot-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: var(--gap-md);
  align-items: start;
  padding-bottom: var(--gap-md);
  border-bottom: 1px solid rgba(255,246,228,0.15);
}
@media (max-width: 720px) { .foot-inner { grid-template-columns: 1fr; } }

.foot-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-row img {
  border-radius: 8px;
  border: 2px solid rgba(255,246,228,0.25);
}
.foot-brand .brand-word {
  font-size: 28px;
  letter-spacing: 0.16em;
  color: var(--paper);
}
.foot-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.foot-social a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border: 1.5px solid rgba(255,246,228,0.3);
  border-radius: 999px;
  color: rgba(255,246,228,0.85);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.foot-social a:hover {
  border-color: var(--sunny);
  color: var(--sunny);
}
.foot-brand p {
  font-family: var(--editorial);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "opsz" 24;
  font-size: 15px;
  color: rgba(255,246,228,0.7);
  margin: 0;
}

.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.foot-cols > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.foot-label {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 8px;
  font-weight: 800;
}
.foot-cols a {
  font-size: 14px;
  color: rgba(255,246,228,0.7);
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.foot-cols a:hover { color: var(--sunny); }

.foot-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255,246,228,0.5);
  letter-spacing: 0.02em;
}
.foot-tag {
  font-family: var(--editorial);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "opsz" 24;
  font-size: 13px;
  color: rgba(255,246,228,0.7);
}

/* ============================================================
   ANDROID SMART BANNER — injected by script.js on Android only
   ============================================================ */
.play-banner {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: 4px 4px 0 var(--ink);
  animation: banner-up 0.4s cubic-bezier(.2,.7,.2,1);
}
@keyframes banner-up {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.play-banner img {
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 2px solid var(--ink);
  flex-shrink: 0;
}
.play-banner-info {
  flex: 1;
  min-width: 0;
  line-height: 1.25;
}
.play-banner-info strong {
  display: block;
  font-family: var(--body);
  font-weight: 800;
  font-size: 14px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.play-banner-info span {
  font-size: 11px;
  color: var(--ink-mute);
  font-weight: 600;
}
.play-banner-get {
  flex-shrink: 0;
  font: 800 13px/1 var(--body);
  letter-spacing: 0.04em;
  padding: 10px 18px;
  background: var(--coral);
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 3px 0 var(--coral-deep);
}
.play-banner-close {
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-mute);
  border-radius: 50%;
}
.play-banner-close:hover { color: var(--ink); background: var(--paper-warm); }

/* ============================================================
   APP DETAIL PAGES — marscraft.html / willpower.html
   ============================================================ */
.appdetail-hero {
  padding: 150px 0 60px;
  text-align: center;
}
.appdetail-icon {
  width: 96px; height: 96px;
  border-radius: 22px;
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  margin: 0 auto 24px;
}
.appdetail-hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(44px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 14px;
}
.appdetail-hero h1 em {
  font-family: var(--editorial);
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  text-transform: none;
  color: var(--coral);
}
.appdetail-tagline {
  font-family: var(--editorial);
  font-weight: 400;
  font-variation-settings: "opsz" 30;
  font-size: clamp(17px, 2vw, 22px);
  color: var(--ink-2);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.5;
}
.appdetail-hero .hero-ctas { justify-content: center; }
.appdetail-meta {
  margin-top: 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.appdetail-features {
  padding: var(--gap-md) 0 var(--gap-lg);
}
.appdetail-features .beats { border: 0; }

.appdetail-shots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0 var(--pad) var(--gap-lg);
}
.appdetail-shots figure {
  margin: 0;
  width: clamp(150px, 20vw, 220px);
  aspect-ratio: 392 / 696;
  border: 3px solid var(--ink);
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  box-shadow: 5px 6px 0 var(--ink);
}
.appdetail-shots figure:nth-child(odd)  { transform: rotate(-1.5deg); }
.appdetail-shots figure:nth-child(even) { transform: rotate(1.5deg); }
.appdetail-shots img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.app-more {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--sky-deep);
}

/* ============================================================
   LEGAL PAGES — privacy / terms / cookies
   ============================================================ */
.legal-body {
  background: var(--paper);
}
.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: 140px var(--pad) 80px;
}
.legal-eyebrow {
  display: inline-block;
  font: 700 11px/1 var(--body);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--coral);
  border-bottom: 2px solid var(--coral);
  padding-bottom: 4px;
  margin-bottom: 20px;
}
.legal h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 10px;
}
.legal .legal-dates {
  font-family: var(--editorial);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-mute);
  margin: 0 0 40px;
}
.legal h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 44px 0 12px;
  padding-top: 22px;
  border-top: 2px solid var(--border-2);
}
.legal p, .legal li {
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
}
.legal p { margin: 0 0 14px; }
.legal ul {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}
.legal li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}
.legal li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--coral);
  font-weight: 700;
}
.legal a { color: var(--sky-deep); font-weight: 600; }
.legal a:hover { text-decoration: underline; }
.legal .legal-callout {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: 4px 4px 0 var(--ink);
  padding: 18px 22px;
  margin: 22px 0;
}
.legal-foot {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 2px solid var(--border-2);
  font-size: 13px;
  color: var(--ink-mute);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.legal-foot a { color: var(--ink-2); font-weight: 700; }

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .country-track { animation: none; }
  .hero-burst { animation: none; }
}
