/* Dezio website — shared by index, terms and privacy. */
:root {
  --bg: #0e1016;
  --surface: #171a23;
  --surface-2: #1f2330;
  --line: #2a2f3e;
  --text: #e8eaf0;
  --muted: #9aa1b2;
  --accent: #5865f2;
  --accent-2: #8b5cf6;
  --good: #23a55a;
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: #8ea1ff; }
img { max-width: 100%; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }

/* top bar */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; }
.brand img { width: 32px; height: 32px; border-radius: 50%; }
.top nav { margin-left: auto; display: flex; gap: 18px; align-items: center; }
.top nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.top nav a:hover { color: var(--text); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: transform .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #4752c4; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-small { padding: 7px 14px; font-size: 14px; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 88px 0 72px; text-align: center; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto; height: 520px; z-index: -1;
  background: radial-gradient(closest-side, rgba(88, 101, 242, .35), transparent),
              radial-gradient(closest-side at 70% 40%, rgba(139, 92, 246, .28), transparent);
}
.hero .avatar { width: 112px; height: 112px; border-radius: 50%; box-shadow: 0 10px 40px rgba(88, 101, 242, .45); }
.hero h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.1; margin: 22px 0 12px; letter-spacing: -0.02em; }
.hero h1 span {
  background: linear-gradient(90deg, #8ea1ff, #c4a3ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { color: var(--muted); font-size: 19px; max-width: 620px; margin: 0 auto 30px; }
.hero .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.stats { display: flex; gap: 28px; justify-content: center; margin-top: 36px; color: var(--muted); font-size: 14px; flex-wrap: wrap; }
.stats b { color: var(--text); font-size: 20px; display: block; }

/* features */
section h2 { font-size: 30px; text-align: center; margin: 0 0 8px; letter-spacing: -0.01em; }
section .lead { text-align: center; color: var(--muted); margin: 0 auto 36px; max-width: 560px; }
.features { padding: 40px 0 72px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; transition: border-color .15s ease, transform .15s ease;
}
.card:hover { border-color: #3b4260; transform: translateY(-2px); }
.card .icon { font-size: 28px; line-height: 1; }
.card h3 { margin: 12px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card code { background: var(--surface-2); padding: 1px 6px; border-radius: 6px; font-size: 13px; color: #cfd5ff; }

.callout {
  margin: 0 0 80px; padding: 34px; border-radius: var(--radius); text-align: center;
  background: linear-gradient(135deg, rgba(88, 101, 242, .25), rgba(139, 92, 246, .2));
  border: 1px solid #3b4260;
}
.callout h2 { margin-bottom: 6px; }
.callout p { color: var(--muted); margin: 0 0 20px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 26px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; }
footer nav { display: flex; gap: 16px; }
footer a { color: var(--muted); }

/* legal pages */
.doc { padding: 48px 0 72px; max-width: 760px; }
.doc h1 { font-size: 34px; margin: 0 0 6px; }
.doc .updated { color: var(--muted); margin: 0 0 28px; }
.doc h2 { font-size: 20px; text-align: left; margin: 30px 0 8px; color: #b9c2ff; }
.doc li { margin: 4px 0; }

.hidden { display: none !important; }

@media (max-width: 640px) {
  .top nav a.optional { display: none; }
  .hero { padding-top: 56px; }
}
