/* ============================================================
   SnipSmart · snip-smart.com landing (coming soon)
   Self-contained. Shares the app's dark brand system.
   Dark slate canvas · Lamp Teal lead · Couch Coral warmth.
   ============================================================ */

/* ---- Self-hosted fonts (latin, variable) -------------------
   Both files are Google's variable woff2s, so one face per
   family covers every weight. No third-party font request. */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/fraunces-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/plus-jakarta-latin.woff2") format("woff2");
}

:root {
  /* surfaces — cool slate / navy */
  --bg-deep:   oklch(0.112 0.012 245);
  --surface:   oklch(0.205 0.017 243);
  --surface-2: oklch(0.248 0.019 243);

  /* text — cool near-white */
  --ink:     oklch(0.958 0.008 240);
  --ink-2:   oklch(0.882 0.010 240);
  --muted:   oklch(0.745 0.013 242);
  --muted-2: oklch(0.625 0.014 242);

  /* lines */
  --line:   oklch(1 0 0 / 0.08);
  --line-2: oklch(1 0 0 / 0.14);

  /* brand: teal lead */
  --primary:      oklch(0.762 0.135 197);
  --primary-ink:  oklch(0.195 0.040 220);
  --primary-soft: oklch(0.762 0.135 197 / 0.15);
  --primary-line: oklch(0.762 0.135 197 / 0.32);

  /* secondary: coral warmth (used only in the ambient glow) */
  --accent: oklch(0.715 0.150 34);

  --font-ui:   "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-disp: "Fraunces", Georgia, "Times New Roman", serif;

  --r-md: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --maxw: 600px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ---- Ambient, lamp-lit brand glow ------------------------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(72% 56% at 50% -12%, oklch(0.762 0.135 197 / 0.17), transparent 70%),
    radial-gradient(46% 42% at 88% 114%, oklch(0.715 0.150 34 / 0.11), transparent 72%),
    radial-gradient(38% 30% at 50% 40%, oklch(0.762 0.135 197 / 0.06), transparent 70%),
    var(--bg-deep);
}

.sprite { position: absolute; }

/* ---- Layout ----------------------------------------------- */
.stage {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: grid;
  place-items: center;
  padding: clamp(40px, 8vh, 96px) clamp(20px, 5vw, 40px) clamp(28px, 5vh, 56px);
}

.hero {
  width: 100%;
  max-width: var(--maxw);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---- Wordmark --------------------------------------------- */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex: none;
  display: grid;
  place-items: center;
  font-family: var(--font-disp);
  font-weight: 600;
  font-size: 23px;
  line-height: 1;
  color: var(--primary-ink);
  background: linear-gradient(155deg, oklch(0.820 0.105 192), var(--primary));
  box-shadow: 0 6px 22px oklch(0.762 0.135 197 / 0.34);
}
.wordmark-text {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* ---- Status pill ------------------------------------------ */
.status {
  margin: clamp(28px, 5vh, 44px) 0 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  border: 1px solid var(--primary-line);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.status-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.status-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
}

/* ---- Headline --------------------------------------------- */
.headline {
  margin: 20px 0 0;
  max-width: 15ch;
  font-family: var(--font-disp);
  font-weight: 500;
  font-size: clamp(2.1rem, 6.6vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.headline .accent { color: var(--primary); }

/* ---- Lede ------------------------------------------------- */
.lede {
  margin: 20px 0 0;
  max-width: 52ch;
  color: var(--ink-2);
  font-size: clamp(1rem, 2.3vw, 1.08rem);
  line-height: 1.62;
  font-weight: 450;
  text-wrap: pretty;
}
/* the warm, human beat (coral, per the One Lead Rule) */
.lede .warm { color: var(--accent); }

/* ---- Store badges (informational, non-interactive) -------- */
.stores {
  margin: clamp(30px, 5.5vh, 46px) 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 58px;
  padding: 11px 19px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line-2);
}
.store-glyph {
  width: 26px;
  height: 26px;
  fill: var(--ink-2);
  flex: none;
}
.store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
  text-align: left;
}
.store-text small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.store-text strong {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* ---- Social ----------------------------------------------- */
.social { margin: clamp(34px, 6vh, 54px) 0 0; }
.social-label {
  margin: 0 0 15px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
}
.social-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
}
.social-link {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  color: var(--muted);
  text-decoration: none;
  transition: color .22s var(--ease), background-color .22s var(--ease),
              border-color .22s var(--ease), transform .22s var(--ease);
}
.brand-ic {
  width: 19px;
  height: 19px;
  fill: currentColor;
  display: block;
}
.social-link:hover,
.social-link:focus-visible {
  color: var(--primary);
  background: var(--primary-soft);
  border-color: var(--primary-line);
  transform: translateY(-2px);
}
.social-link:active { transform: translateY(0); }

/* ---- Footer ----------------------------------------------- */
.foot {
  position: relative;
  z-index: 1;
  padding: 0 clamp(20px, 5vw, 40px) clamp(24px, 5vh, 40px);
  text-align: center;
}
.foot-privacy {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.foot-copy {
  margin: 0;
  color: var(--muted-2);
  font-size: 12.5px;
  font-weight: 500;
}

/* ---- Focus ------------------------------------------------ */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 12px;
}

/* ---- Small screens ---------------------------------------- */
@media (max-width: 390px) {
  .stores { gap: 10px; width: 100%; }
  .store { flex: 1 1 100%; justify-content: center; }
}

/* ---- Motion: a calm, staggered entrance ------------------- */
/* Content is fully visible by default; motion is added only
   when the visitor welcomes it. */
@media (prefers-reduced-motion: no-preference) {
  .hero > *,
  .foot {
    animation: rise .72s var(--ease) both;
  }
  .wordmark { animation-delay: .05s; }
  .status   { animation-delay: .14s; }
  .headline { animation-delay: .22s; }
  .lede     { animation-delay: .32s; }
  .stores   { animation-delay: .42s; }
  .social   { animation-delay: .52s; }
  .foot     { animation-delay: .62s; }

  .status-dot::after { animation: ping 2.6s var(--ease) infinite; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

@keyframes ping {
  0%   { opacity: .55; transform: scale(.55); }
  70%  { opacity: 0;   transform: scale(1.7); }
  100% { opacity: 0;   transform: scale(1.7); }
}
