/* ============================================
   MEMOPRYL™ BASE — Typography & Reset
   Palette: White · Navy · Gray · Green CTAs
   ============================================ */

@font-face {
  font-family: "mnn";
  font-style: normal;
  font-weight: 750;
  font-display: swap;
  src: url('../fonts/mnn750.woff2') format('woff2'),
       url('../fonts/mnn750.woff') format('woff');
}

:root {
  /* Core palette — inspired by FOCUSfactor */
  --navy:        #23388d;
  --navy-dark:   #1a2a6c;
  --navy-mid:    #1e3178;
  --navy-light:  #2a4aad;
  --blue-pale:   #e8edf8;
  --white:       #ffffff;
  --off-white:   #f8f9fc;
  --light:       #e8eaef;
  --gray:        #6b7280;
  --gray-dark:   #374151;
  --body:        #1a1a2e;

  /* CTA — green (FOCUSfactor style) */
  --green:       #5cad1e;
  --green-dark:  #4a9218;
  --green-light: #6dc426;
  --green-pale:  #edf7e4;

  /* Accents */
  --success:     #2d7a3a;
  --error:       #c0392b;

  --font-head: 'mnn', 'Syne', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --r-sm: .4rem;
  --r-md: .8rem;
  --r-lg: 1.2rem;
  --r-xl: 2rem;
  --r-full: 10rem;

  --s0: .25rem;
  --s1: .5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2rem;
  --s5: 2.5rem;
  --s6: 3rem;
  --s7: 4rem;

  --shadow-sm: 0 1px 4px rgba(0,0,0,.07);
  --shadow-md: 0 4px 18px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 36px rgba(0,0,0,.14);
  --shadow-xl: 0 16px 56px rgba(0,0,0,.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: #f8f9fc;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--body);
  background: var(--off-white);
  overflow-x: hidden;
  padding-top: 56px;
}

@media (max-width: 767px) { body { padding-bottom: 72px; } }

img, svg { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; font: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* Visible by default — GSAP animates only when loaded */
.reveal { opacity: 1; transform: none; }
html.gsap-ready .reveal { opacity: 0; transform: translateY(24px); will-change: transform, opacity; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } }

.wrap {
  max-width: 480px;
  margin-inline: auto;
  padding-inline: var(--s3);
}
@media (min-width: 768px) { .wrap { max-width: 1100px; padding-inline: var(--s4); } }

.section { padding-block: var(--s6); }
@media (min-width: 768px) { .section { padding-block: var(--s7); } }

.stars { color: #f5a623; letter-spacing: .05em; }
