@font-face { font-family: Figtree; font-weight: 300 900; font-display: swap; src: url(fonts/figtree-latin-wght-normal.woff2) format('woff2'); }
:root { --night: #0a0918; --ink: #f6f1ff; --muted: rgba(246,241,255,.62); --peach: #ffb38a; --coral: #ff6f91; --violet: #9b7bff; }
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { background: var(--night); color: var(--ink); font: 16px/1.5 Figtree, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; overflow-x: hidden; -webkit-font-smoothing: antialiased; }

/* ---------- background: swirling colour clouds + a particle field ---------- */
.bg { position: fixed; inset: 0; overflow: hidden; background: radial-gradient(1400px 900px at 50% -10%, #1b1640 0%, var(--night) 60%); }
.cloud { position: absolute; border-radius: 50%; filter: blur(110px); mix-blend-mode: screen; will-change: transform; }
.c1 { width: 640px; height: 640px; left: -140px; top: -180px; background: #6d3cff; opacity: .45; animation: orbit1 30s ease-in-out infinite alternate; }
.c2 { width: 560px; height: 560px; right: -120px; top: 10%; background: #ff4f8b; opacity: .30; animation: orbit2 36s ease-in-out infinite alternate; }
.c3 { width: 520px; height: 520px; left: 30%; bottom: -220px; background: #ff9a5c; opacity: .28; animation: orbit3 42s ease-in-out infinite alternate; }
.c4 { width: 360px; height: 360px; left: 55%; top: 35%; background: #3fa7ff; opacity: .16; animation: orbit1 48s ease-in-out infinite alternate-reverse; }
#field { position: absolute; inset: 0; width: 100%; height: 100%; }
.vignette { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(5,4,14,.75) 100%); }
.grain { position: absolute; inset: 0; opacity: .06; background-image: radial-gradient(rgba(255,255,255,.8) 1px, transparent 1px); background-size: 3px 3px; }
@keyframes orbit1 { to { transform: translate(160px, 120px) rotate(40deg) scale(1.15); } }
@keyframes orbit2 { to { transform: translate(-180px, 90px) rotate(-30deg) scale(1.1); } }
@keyframes orbit3 { to { transform: translate(-120px, -140px) rotate(25deg) scale(1.2); } }

/* ---------- home ---------- */
main { position: relative; z-index: 1; height: 100vh; height: 100dvh; display: grid; place-items: center; text-align: center; padding: 24px; }
.tag { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); margin-bottom: 26px; backdrop-filter: blur(6px); }
.tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--peach); animation: pulse 2.4s ease-out infinite; }
h1 { margin: 0; padding: 0 .08em .06em; font-size: clamp(50px, 11.5vw, 140px); line-height: .95; font-weight: 850; letter-spacing: -0.045em;
  background: linear-gradient(100deg, #fff 0%, #ffd9c4 35%, var(--coral) 70%, var(--violet) 100%); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 12s ease-in-out infinite alternate; }
.sub { margin: 26px auto 0; font-size: clamp(16px, 2.2vw, 20px); color: var(--muted); max-width: 32ch; }
.rule { width: 64px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--peach), var(--coral), var(--violet)); margin: 30px auto 0; }
footer { position: fixed; z-index: 1; left: 0; right: 0; bottom: 18px; text-align: center; font-size: 12.5px; color: rgba(246,241,255,.4); letter-spacing: .02em; }
footer a { color: rgba(246,241,255,.6); text-decoration: none; margin: 0 8px; }
footer a:hover { color: var(--ink); }
footer .sep { opacity: .5; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,179,138,.6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(255,179,138,0); } }
@keyframes sheen { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@media (prefers-reduced-motion: no-preference) { .rise { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; } .rise.d2 { animation-delay: .12s; } .rise.d3 { animation-delay: .24s; }
  h1.rise { animation: rise .9s cubic-bezier(.2,.7,.2,1) .12s both, sheen 12s ease-in-out 1s infinite alternate; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cloud, .tag i, h1 { animation: none !important; } }

/* ---------- text pages (privacy, contact) ---------- */
body.page footer { position: relative; bottom: auto; padding: 0 0 28px; }
.doc { position: relative; z-index: 1; padding: 72px 22px 36px; display: flex; justify-content: center; }
.doc article { width: min(680px, 100%); background: rgba(14,12,34,.66); border: 1px solid rgba(255,255,255,.09); border-radius: 22px; padding: 40px 40px 34px;
  box-shadow: 0 30px 80px rgba(0,0,0,.45); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.doc .home { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; margin-bottom: 26px; }
.doc .home:hover { color: var(--ink); }
.doc h1 { font-size: clamp(34px, 6vw, 50px); line-height: 1.05; animation: none; background-size: 100% 100%; }
.doc .updated { color: var(--muted); font-size: 14px; margin: 10px 0 0; }
.doc h2 { font-size: 18px; margin: 30px 0 8px; color: #fff; letter-spacing: -0.01em; }
.doc p, .doc li { color: rgba(246,241,255,.8); font-size: 16px; line-height: 1.65; }
.doc p { margin: 0 0 12px; }
.doc ul { margin: 0 0 12px; padding-left: 20px; }
.doc li::marker { color: var(--coral); }
.doc a { color: var(--peach); }
.doc .card { margin-top: 26px; padding: 20px 22px; border-radius: 16px; background: linear-gradient(135deg, rgba(155,123,255,.14), rgba(255,111,145,.10)); border: 1px solid rgba(255,255,255,.12); }
.doc .card b { display: block; color: #fff; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; opacity: .75; }
.doc .card a.big { font-size: clamp(18px, 3.6vw, 24px); font-weight: 750; text-decoration: none; word-break: break-all;
  background: linear-gradient(90deg, var(--peach), var(--coral)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 560px) { .doc { padding-top: 40px; } .doc article { padding: 28px 22px 24px; border-radius: 18px; } }
