/* aceline.ai: one dark page with slow light at the edges, plus readable legal pages. No build step. */
:root {
  --bg: #050505;
  --ink: #f4f1ea;
  --muted: #8f8a80;
  --faint: #5b5750;
  --glow: 214 170 110; /* warm amber, as r g b */
  --line: rgba(244, 241, 234, 0.12);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

/* ── Home ───────────────────────────────────────────── */
.home { position: relative; min-height: 100svh; overflow: hidden; display: grid; grid-template-rows: 1fr auto; }

/* Light: soft vertical beams at both edges that drift and breathe. */
.light { position: absolute; inset: 0; pointer-events: none; }
.light::before, .light::after {
  content: ""; position: absolute; top: -10%; bottom: -10%; width: 34vw; min-width: 220px;
  filter: blur(22px); opacity: 0.6;
  animation: breathe 9s ease-in-out infinite alternate;
}
.light::before {
  left: -8vw;
  background:
    linear-gradient(90deg, transparent 0 18%, rgb(var(--glow) / 0.42) 30%, transparent 44%),
    linear-gradient(90deg, transparent 0 52%, rgb(var(--glow) / 0.22) 62%, transparent 72%);
}
.light::after {
  right: -8vw;
  background:
    linear-gradient(270deg, transparent 0 18%, rgb(var(--glow) / 0.42) 30%, transparent 44%),
    linear-gradient(270deg, transparent 0 52%, rgb(var(--glow) / 0.22) 62%, transparent 72%);
  animation-delay: -4.5s;
}
/* A faint wash so the centre isn't flat black. */
.home::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 55%, rgb(var(--glow) / 0.05), transparent 70%);
}
@keyframes breathe {
  from { opacity: 0.35; transform: translateX(-1.5vw) scaleY(1); }
  to   { opacity: 0.65; transform: translateX(1.5vw) scaleY(1.04); }
}

.center {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 96px 16px 48px; text-align: center;
}
.wordmark {
  margin: 0; font-family: "Unbounded", "Inter", sans-serif; font-weight: 700;
  font-size: clamp(44px, 9vw, 88px); letter-spacing: 0.02em; line-height: 1;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #e9e2d4 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: rise 1.4s cubic-bezier(.2,.7,.2,1) both;
}
.byline {
  margin: 14px 0 0; font-size: 11px; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted);
  animation: rise 1.4s .15s cubic-bezier(.2,.7,.2,1) both;
}
.promise {
  margin: clamp(56px, 12vh, 120px) 0 0; max-width: 34ch;
  font-size: clamp(16px, 2.2vw, 19px); line-height: 1.55; color: #d9d4c9;
  animation: rise 1.4s .35s cubic-bezier(.2,.7,.2,1) both;
}
.contact {
  display: inline-block; margin-top: 22px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; text-decoration: none; color: var(--ink);
  transition: border-color .2s, background-color .2s;
  animation: rise 1.4s .5s cubic-bezier(.2,.7,.2,1) both;
}
.contact:hover { border-color: rgb(var(--glow) / 0.6); background: rgb(var(--glow) / 0.08); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.foot {
  position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px;
  padding: 20px 16px 28px; font-size: 12px; color: var(--faint);
}
.foot a { text-decoration: none; color: var(--muted); }
.foot a:hover { color: var(--ink); }

/* ── Legal pages ────────────────────────────────────── */
.doc { max-width: 720px; margin: 0 auto; padding: 48px 16px 80px; line-height: 1.65; color: #d9d4c9; font-size: 15px; }
.doc .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 48px; }
.doc .mark { font-family: "Unbounded", "Inter", sans-serif; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; color: var(--ink); font-size: 18px; }
.doc .top a:not(.mark) { font-size: 13px; color: var(--muted); text-decoration: none; }
.doc h1 { font-size: 32px; line-height: 1.2; color: var(--ink); margin: 0 0 6px; font-weight: 600; }
.doc .updated { color: var(--muted); font-size: 13px; margin: 0 0 32px; }
.doc h2 { font-size: 18px; color: var(--ink); margin: 36px 0 8px; font-weight: 600; }
.doc a { color: var(--ink); text-underline-offset: 3px; }
.doc ul { padding-left: 20px; }
.doc li { margin: 4px 0; }
.doc .box { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin: 16px 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
