/* Leadly website — shared styles */
:root {
  --bg: #040404;
  --p1: #0c0c0d;
  --p2: #131314;
  --tx: #f4f4f6;
  --tx2: rgba(244, 244, 246, 0.72);
  --tx3: rgba(244, 244, 246, 0.46);
  --ln: rgba(255, 255, 255, 0.08);
  --ln2: rgba(255, 255, 255, 0.14);
  --fs: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fd: 'Archivo', 'Arial Black', sans-serif;
  --r: 22px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--tx); font-family: var(--fs); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.7); outline-offset: 3px; }

/* ---------- galaxy sky ---------- */
.sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background: #030304; }
.sky::before {
  content: ''; position: absolute; inset: -20%;
  background:
    radial-gradient(40% 30% at 70% 18%, rgba(150, 160, 200, 0.16), transparent 70%),
    radial-gradient(35% 25% at 18% 60%, rgba(120, 125, 160, 0.10), transparent 70%),
    linear-gradient(118deg, transparent 38%, rgba(255, 255, 255, 0.045) 47%, rgba(255, 255, 255, 0.02) 52%, transparent 60%);
}
.stars, .stars2 { position: absolute; inset: 0; background-repeat: repeat; }
.stars {
  background-image:
    radial-gradient(1px 1px at 20px 30px, rgba(255, 255, 255, 0.8), transparent 60%),
    radial-gradient(1px 1px at 120px 80px, rgba(255, 255, 255, 0.55), transparent 60%),
    radial-gradient(1.2px 1.2px at 200px 160px, rgba(255, 255, 255, 0.7), transparent 60%),
    radial-gradient(1px 1px at 60px 220px, rgba(255, 255, 255, 0.45), transparent 60%),
    radial-gradient(1px 1px at 260px 40px, rgba(255, 255, 255, 0.5), transparent 60%),
    radial-gradient(1.4px 1.4px at 160px 260px, rgba(255, 255, 255, 0.75), transparent 60%);
  background-size: 300px 300px;
}
.stars2 {
  background-image:
    radial-gradient(1px 1px at 40px 90px, rgba(255, 255, 255, 0.35), transparent 60%),
    radial-gradient(1px 1px at 190px 20px, rgba(255, 255, 255, 0.4), transparent 60%),
    radial-gradient(1px 1px at 330px 150px, rgba(255, 255, 255, 0.3), transparent 60%),
    radial-gradient(1px 1px at 90px 330px, rgba(255, 255, 255, 0.35), transparent 60%);
  background-size: 420px 420px; animation: drift 120s linear infinite;
}
@keyframes drift { to { transform: translateY(-420px); } }
.twk { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.7); animation: twk 3.6s ease-in-out infinite; }
.twk::before, .twk::after { content: ''; position: absolute; left: 50%; top: 50%; background: rgba(255, 255, 255, 0.8); transform: translate(-50%, -50%); }
.twk::before { width: 14px; height: 1px; } .twk::after { width: 1px; height: 14px; }
@keyframes twk { 0%, 100% { opacity: 0.15; transform: scale(0.5); } 50% { opacity: 1; transform: scale(1); } }
.shoot { position: absolute; width: 140px; height: 1.5px; border-radius: 2px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0)); opacity: 0; transform-origin: 0 50%; animation: shoot 9s cubic-bezier(.35, .1, .55, 1) infinite; }
@keyframes shoot { 0% { transform: translate(0, 0) rotate(-32deg); opacity: 0; } 2% { opacity: 1; } 12% { transform: translate(-340px, 215px) rotate(-32deg); opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .stars2, .twk, .shoot { animation: none; } .shoot { display: none; } html { scroll-behavior: auto; } }

.wrap { position: relative; z-index: 1; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- type ---------- */
.display { font-family: var(--fd); font-weight: 800; font-stretch: 125%; letter-spacing: -0.02em; line-height: 1.04; margin: 0; }
.num { font-family: var(--fd); font-weight: 800; font-stretch: 125%; letter-spacing: -0.03em; }
.script { font-family: 'Yellowtail', cursive; font-weight: 400; letter-spacing: 0; }
.muted { color: var(--tx2); }
.faint { color: var(--tx3); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tx3); }

/* ---------- glass ---------- */
.glass {
  background-color: rgba(18, 18, 22, 0.42);
  background-image: linear-gradient(160deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.012) 45%, rgba(255, 255, 255, 0.03));
  -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--r);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 40px -24px rgba(0, 0, 0, 0.95);
}

/* liquid-glass primary button */
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 56px; padding: 0 28px; border-radius: 999px; border: none; cursor: pointer; text-decoration: none; white-space: nowrap;
  background-color: rgba(255, 255, 255, 0.07); -webkit-backdrop-filter: blur(16px) saturate(200%) brightness(1.15); backdrop-filter: blur(16px) saturate(200%) brightness(1.15);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), inset 0 1.5px 1px -0.5px rgba(255, 255, 255, 0.8), inset 0 -1.5px 1px -0.5px rgba(255, 255, 255, 0.35), inset 0 0 26px rgba(255, 255, 255, 0.07), 0 12px 32px -10px rgba(0, 0, 0, 0.7);
  color: #f7f7f9; font-weight: 600; font-size: 16px; letter-spacing: -0.01em; transition: transform .18s cubic-bezier(.2, .8, .2, 1), opacity .2s;
}
.btn::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(55% 130% at 28% -10%, rgba(255, 255, 255, 0.30), transparent 60%), radial-gradient(45% 110% at 74% 115%, rgba(255, 255, 255, 0.16), transparent 60%); }
.btn:active { transform: scale(0.975); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.btn.sm { height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn.block { width: 100%; }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.04); color: var(--tx); font-weight: 600; font-size: 14.5px; text-decoration: none; cursor: pointer; }
.btn-link { background: none; border: none; padding: 8px 10px; color: var(--tx2); font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: none; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand img { width: 30px; height: auto; }
.brand .script { font-size: 29px; line-height: 1; padding: 2px 4px 4px 0; }
.nav-r { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--tx3); }
.lang button { background: none; border: none; padding: 6px 4px; cursor: pointer; color: inherit; font-weight: 600; }
.lang button[aria-pressed="true"] { color: var(--tx); }
.nav.scrolled { background: rgba(4, 4, 4, 0.6); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom: 1px solid var(--ln); }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

.footer { border-top: 1px solid var(--ln); padding: 28px 0 40px; color: var(--tx3); font-size: 13px; }
.footer-in { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.footer a { color: var(--tx2); text-decoration: none; margin-left: 18px; }
.footer a:first-child { margin-left: 0; }
