/* Shared by snowycorp.com and messenger.snowycorp.com (copied into each docroot by deploy.sh). */
:root {
  --night:#07131d; --deep:#0e2c42; --glacier:#3e7cb1; --ice:#8cc4ee; --frost:#e8f3fb;
  --fg:#eef5fb; --muted:#9fb4c5; --line:rgba(255,255,255,.10); --glass:rgba(255,255,255,.06);
  --glass-hi:rgba(255,255,255,.10); --radius:20px;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  margin:0; color:var(--fg); background:var(--night);
  font:16px/1.65 ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",sans-serif;
  -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
a { color:var(--ice); }
img { display:block; }
.wrap { max-width:1080px; margin:0 auto; padding:0 16px; position:relative; }

/* Sky: glacier gradient, soft glows and two layers of falling snow (pure CSS). */
.sky { position:fixed; inset:0; z-index:-1; pointer-events:none;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(74,140,194,.45), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(62,124,177,.30), transparent 60%),
    radial-gradient(800px 600px at 50% 120%, rgba(140,196,238,.12), transparent 60%),
    linear-gradient(180deg, #0b2133 0%, var(--night) 70%); }
.sky::before, .sky::after { content:""; position:absolute; inset:-200px 0 0 0;
  background-image:
    radial-gradient(2px 2px at 20px 30px, #fff, transparent 60%),
    radial-gradient(2px 2px at 140px 80px, rgba(255,255,255,.8), transparent 60%),
    radial-gradient(1.5px 1.5px at 90px 150px, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(2.5px 2.5px at 200px 190px, rgba(255,255,255,.9), transparent 60%),
    radial-gradient(1.5px 1.5px at 260px 40px, rgba(255,255,255,.6), transparent 60%);
  background-size:300px 220px; animation:snow 18s linear infinite; opacity:.55; }
.sky::after { background-size:420px 300px; animation-duration:30s; opacity:.35; filter:blur(.6px); }
@keyframes snow { from { transform:translateY(0); } to { transform:translateY(220px); } }
@media (prefers-reduced-motion: reduce) { .sky::before, .sky::after { animation:none; } html { scroll-behavior:auto; } }

/* Nav */
.nav { position:sticky; top:0; z-index:10; backdrop-filter:saturate(160%) blur(14px); -webkit-backdrop-filter:saturate(160%) blur(14px);
  background:rgba(7,19,29,.55); border-bottom:1px solid var(--line); }
.nav .wrap { display:flex; align-items:center; justify-content:space-between; gap:12px; height:64px; }
.brand { display:flex; align-items:center; gap:10px; color:var(--fg); text-decoration:none; font-weight:700; font-size:18px; letter-spacing:.2px; }
.brand img { width:32px; height:32px; border-radius:9px; box-shadow:0 4px 18px rgba(74,140,194,.45); }
.brand b span { color:var(--ice); font-weight:600; }
.links { display:flex; gap:22px; }
.links a { color:var(--muted); text-decoration:none; font-size:15px; }
.links a:hover { color:var(--fg); }
@media (max-width:620px) { .links a.opt { display:none; } .links { gap:16px; } }

/* Hero */
.hero { display:grid; grid-template-columns:1.15fr .85fr; align-items:center; gap:40px; padding:88px 0 72px; }
.hero.solo { grid-template-columns:1fr; text-align:center; max-width:760px; margin:0 auto; }
.hero.solo .cta { justify-content:center; }
@media (max-width:860px) { .hero { grid-template-columns:1fr; padding:56px 0 40px; } }
.pill { display:inline-flex; align-items:center; gap:8px; font-size:13px; color:var(--frost); padding:6px 12px; border-radius:999px;
  background:var(--glass); border:1px solid var(--line); }
.pill i { width:7px; height:7px; border-radius:50%; background:#5fd39a; box-shadow:0 0 10px #5fd39a; }
h1 { font-size:clamp(36px,6.4vw,64px); line-height:1.05; letter-spacing:-.02em; margin:18px 0 18px; }
.grad { background:linear-gradient(100deg,#fff 10%,var(--ice) 55%,#5aa2db); -webkit-background-clip:text; background-clip:text; color:transparent; }
.lead { font-size:clamp(17px,2.2vw,20px); color:var(--muted); margin:0 0 30px; max-width:560px; }
.hero.solo .lead { margin-left:auto; margin-right:auto; }
.cta { display:flex; flex-wrap:wrap; gap:12px; }
.btn { display:inline-flex; align-items:center; gap:10px; padding:13px 22px; border-radius:14px; font-weight:600; text-decoration:none;
  color:var(--fg); border:1px solid var(--line); background:var(--glass); transition:transform .15s, background .15s, box-shadow .15s; }
.btn:hover { transform:translateY(-1px); background:var(--glass-hi); }
.btn.primary { background:linear-gradient(135deg,#5aa2db,#3e7cb1); border-color:transparent; color:#fff; box-shadow:0 10px 30px rgba(62,124,177,.45); }
.btn.primary:hover { box-shadow:0 14px 38px rgba(62,124,177,.6); }
.btn.soon { color:var(--muted); cursor:default; }
.btn.soon:hover { transform:none; background:var(--glass); }
.btn svg { width:20px; height:20px; fill:currentColor; }
.btn small { display:block; font-size:11px; font-weight:500; opacity:.75; line-height:1.1; }
.btn b { display:block; line-height:1.2; }

/* Phone mock */
.phone { justify-self:center; width:290px; max-width:100%; aspect-ratio:9/18.5; border-radius:42px; padding:12px;
  background:linear-gradient(160deg,#1d3a52,#0b1c2a); border:1px solid rgba(255,255,255,.14);
  box-shadow:0 40px 90px rgba(0,0,0,.55), inset 0 0 0 2px rgba(255,255,255,.04); transform:rotate(-3deg); }
.screen { height:100%; border-radius:32px; overflow:hidden; display:flex; flex-direction:column;
  background:radial-gradient(400px 300px at 80% 0%, rgba(90,162,219,.35), transparent 60%), linear-gradient(180deg,#123049,#0a1824); }
.chathead { display:flex; align-items:center; gap:10px; padding:22px 16px 12px; border-bottom:1px solid var(--line); }
.avatar { width:34px; height:34px; border-radius:50%; background:linear-gradient(135deg,#f3a683,#e77f67); display:grid; place-items:center; font-weight:700; font-size:14px; }
.chathead b { display:block; font-size:14px; }
.chathead small { color:#7fd6a6; font-size:11px; }
.msgs { flex:1; display:flex; flex-direction:column; gap:8px; padding:14px 12px; justify-content:flex-end; }
.bubble { max-width:78%; padding:8px 12px; border-radius:16px; font-size:13px; line-height:1.35; }
.bubble.in { background:rgba(255,255,255,.10); border-bottom-left-radius:5px; }
.bubble.out { align-self:flex-end; background:linear-gradient(135deg,#5aa2db,#3e7cb1); border-bottom-right-radius:5px; }
.e2e { align-self:center; font-size:11px; color:var(--muted); padding:4px 10px; border-radius:999px; background:rgba(255,255,255,.06); margin-bottom:4px; }
.compose { margin:0 12px 14px; height:38px; border-radius:19px; background:rgba(255,255,255,.08); border:1px solid var(--line); }

/* Sections */
section { padding:72px 0; }
.kicker { color:var(--ice); font-size:13px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; margin:0 0 10px; }
h2 { font-size:clamp(28px,4vw,40px); line-height:1.15; letter-spacing:-.01em; margin:0 0 14px; }
.sub { color:var(--muted); max-width:620px; margin:0 0 36px; }
.grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:16px; }
.card { position:relative; padding:24px; border-radius:var(--radius); background:var(--glass); border:1px solid var(--line);
  transition:transform .2s, background .2s, border-color .2s; }
.card:hover { transform:translateY(-3px); background:var(--glass-hi); border-color:rgba(140,196,238,.3); }
.card h3 { margin:14px 0 6px; font-size:18px; }
.card p { margin:0; color:var(--muted); font-size:15px; }
.icon { width:44px; height:44px; border-radius:12px; display:grid; place-items:center;
  background:linear-gradient(135deg,rgba(90,162,219,.35),rgba(62,124,177,.15)); border:1px solid rgba(140,196,238,.25); }
.icon svg { width:22px; height:22px; fill:none; stroke:var(--frost); stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.steps { counter-reset:s; }
.steps .card::before { counter-increment:s; content:counter(s); position:absolute; top:20px; right:22px; font-size:42px; font-weight:800; color:rgba(255,255,255,.07); }
.panel { padding:44px; border-radius:28px; text-align:center; background:linear-gradient(135deg,rgba(90,162,219,.22),rgba(14,44,66,.4)); border:1px solid rgba(140,196,238,.22); }
.panel .cta { justify-content:center; }
.panel .sub { margin:0 auto 28px; }
@media (max-width:620px) { section { padding:52px 0; } .panel { padding:30px 18px; } }

/* Product card (snowycorp.com) */
.product { display:grid; grid-template-columns:auto 1fr auto; gap:24px; align-items:center; text-decoration:none; color:var(--fg); }
.product img { width:84px; height:84px; border-radius:22px; box-shadow:0 12px 34px rgba(74,140,194,.45); }
.product h3 { margin:0 0 4px; font-size:22px; }
.product .arrow { font-size:26px; color:var(--ice); transition:transform .2s; }
.product:hover .arrow { transform:translateX(4px); }
@media (max-width:620px) { .product { grid-template-columns:1fr; } }
.tag { display:inline-block; font-size:12px; color:var(--ice); border:1px solid rgba(140,196,238,.4); border-radius:999px; padding:1px 10px; margin-left:8px; vertical-align:middle; }

footer { border-top:1px solid var(--line); padding:28px 0 40px; color:var(--muted); font-size:14px; }
footer .wrap { display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; }
footer a { color:var(--muted); text-decoration:none; margin-left:18px; }
footer a:first-child { margin-left:0; }
footer a:hover { color:var(--fg); }

/* Invite fallback page */
.center { min-height:100vh; display:grid; place-items:center; padding:24px 16px; }
.sheet { width:100%; max-width:420px; padding:36px 26px; border-radius:28px; text-align:center;
  background:rgba(14,44,66,.55); border:1px solid rgba(140,196,238,.22); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px);
  box-shadow:0 30px 80px rgba(0,0,0,.45); }
.sheet img { width:76px; height:76px; margin:0 auto 18px; border-radius:20px; box-shadow:0 12px 34px rgba(74,140,194,.5); }
.sheet h1 { font-size:26px; line-height:1.2; margin:0 0 10px; letter-spacing:-.01em; }
.sheet p { color:var(--muted); margin:0 0 22px; }
.sheet .btn { width:100%; justify-content:center; }
.sheet .stack { display:grid; gap:10px; }
.sheet .hint { font-size:14px; margin:22px 0 10px; }
.sheet .fine { font-size:13px; margin:18px 0 0; }

/* Long-form pages (privacy policy, account deletion) */
.doc { max-width:760px; padding:56px 0 72px; }
.doc h1 { font-size:clamp(30px,4.5vw,44px); margin:0 0 8px; }
.doc h2 { font-size:22px; margin:36px 0 10px; }
.doc p, .doc li { color:var(--muted); font-size:16px; line-height:1.65; }
.doc ul, .doc ol { padding-left:22px; margin:8px 0 14px; }
.doc li { margin:4px 0; }
.doc strong { color:var(--fg); }
.doc a { color:var(--ice); }
.doc .updated { font-size:14px; margin:0 0 28px; }
