/* Mami Mantra website. Always Noche. Values come from design-system/tokens.json. */

/* Fonts are served from this site, so no page asks another company for anything. */
@font-face { font-family: 'Lora'; font-style: italic; font-weight: 500; font-display: swap; src: url('/fonts/lora-latin-500-italic.woff2') format('woff2'); }
@font-face { font-family: 'Lora'; font-style: italic; font-weight: 700; font-display: swap; src: url('/fonts/lora-latin-700-italic.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap; src: url('/fonts/poppins-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/poppins-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/poppins-latin-500-normal.woff2') format('woff2'); }

:root {
  --surface-page: #1b1640;
  --surface-raised: #2a2456;
  --border: #463f78;
  --ink: #f4eeff;
  --ink-soft: #cdbbf0;
  --accent: #f58fb0;
  --primary: #f4eeff;
  --on-primary: #2d2462;
  --focus: #f4eeff;
  --danger: #ff9f85;
  --danger-surface: #4c385e;
  --page-glow: rgba(180, 98, 159, .36);
  --font-display: 'Lora', Georgia, 'Times New Roman', serif;
  --font-body: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: radial-gradient(120% 60% at 50% 0%, var(--page-glow), rgba(27, 22, 64, 0) 62%), var(--surface-page);
  background-color: var(--surface-page);
}
a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

/* ---------- Footer, the same on every page ---------- */
.foot { width: 100%; max-width: 680px; margin: 0 auto; padding: 16px 20px 40px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 16px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 13px; line-height: 1.4; color: var(--ink-soft); }
.foot p { margin: 12px 0 0; font-size: 13px; line-height: 1.4; color: var(--ink-soft); }

/* ---------- Home ---------- */
.home { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 56px 20px 32px; }
/* Logo style 6 (Cristal): used on the website and in marketing. */
.icon { width: clamp(148px, 38vw, 208px); aspect-ratio: 1; margin-bottom: 14px; border-radius: 22.5%; overflow: hidden; box-shadow: 0 24px 52px -18px rgba(0, 0, 0, .65), inset 0 0 0 1px rgba(255, 255, 255, .14); }
.icon svg { display: block; width: 100%; height: 100%; }
.word { margin: 0; padding: 0 .12em; font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: clamp(46px, 13vw, 104px); line-height: 1.08; letter-spacing: -.01em; }
.tag { margin: 0; font-weight: 300; font-size: clamp(17px, 4.4vw, 26px); line-height: 1.35; color: var(--ink-soft); }
.soon { margin: 18px 0 0; padding: 10px 22px; border-radius: 999px; font-weight: 500; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-primary); background: var(--primary); }
.lead { max-width: 560px; margin: 26px 0 0; font-size: 20px; line-height: 1.35; font-weight: 300; color: var(--ink-soft); }
.card { margin: 22px 0 0; max-width: 460px; padding: 26px 28px 22px; border-radius: 24px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18); }
.card blockquote { margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(20px, 5vw, 24px); line-height: 1.4; }
.card figcaption { margin-top: 12px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.what { width: 100%; max-width: 680px; margin: 40px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; text-align: left; }
.what li { padding: 20px 24px; border-radius: 16px; background: var(--surface-raised); border: 1px solid var(--border); }
.what h2 { margin: 0; font-size: 17px; line-height: 1.5; font-weight: 500; }
.what p { margin: 4px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.promise { max-width: 560px; margin: 32px 0 0; font-size: 17px; }
.stores { margin: 4px 0 0; font-size: 15px; color: var(--ink-soft); }

/* ---------- Text pages: the Page layout in the design system ---------- */
.top { width: 100%; max-width: 680px; margin: 0 auto; padding: 32px 20px 0; }
.top img { display: block; height: 56px; width: auto; margin-left: -8px; }
.page { flex: 1; width: 100%; max-width: 680px; margin: 0 auto; padding: 32px 20px; }
.page h1 { margin: 0; font-size: 28px; line-height: 1.25; font-weight: 500; }
.page .lede { margin: 12px 0 0; font-size: 20px; line-height: 1.35; font-weight: 300; color: var(--ink-soft); }
.page h2 { margin: 32px 0 0; font-size: 22px; line-height: 1.3; font-weight: 500; }
.page p, .page ul { margin: 16px 0 0; }
.page ul { padding-left: 22px; }
.page li + li { margin-top: 8px; }
.page strong { font-weight: 500; }
.page .small { font-size: 13px; line-height: 1.4; color: var(--ink-soft); }
/* A line that must not be missed: emergencies. */
.alert { margin: 24px 0 0; padding: 16px; border-radius: 16px; background: var(--danger-surface); }
.alert strong { display: block; }
.alert p { margin: 4px 0 0; }
/* Help lines */
.page .lines { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.page .lines li { margin: 0; padding: 16px; border-radius: 16px; background: var(--surface-raised); border: 1px solid var(--border); }
.lines .where { display: block; font-size: 13px; line-height: 1.2; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.lines .name { display: block; margin-top: 4px; font-weight: 500; }
.lines .how { display: block; margin-top: 2px; }

/* ---------- Motion: Destellos (the stars twinkle; nothing else moves) ---------- */
@keyframes tw { 0%, 100% { opacity: .3; transform: scale(.6) rotate(0deg); } 50% { opacity: 1; transform: scale(1.2) rotate(18deg); } }
.tw { transform-box: fill-box; transform-origin: center; animation: tw 2.6s ease-in-out infinite; }
.tw2 { animation-duration: 3.4s; animation-delay: -1.1s; }
.tw3 { animation-duration: 2.9s; animation-delay: -.6s; }
.tw4 { animation-duration: 3.8s; animation-delay: -2s; }
@media (prefers-reduced-motion: reduce) { .tw { animation: none; } }
