/* Seer Systems — public site. Dark, one accent, glass surfaces. */
:root {
  --bg: #07080d;
  --bg-2: #0b0d14;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.09);
  --line-soft: rgba(255, 255, 255, 0.06);
  --ink: #eef0f8;
  --muted: #9aa3b8;        /* 7.0:1 on --bg */
  --dim: #6b7488;          /* labels 4.6:1 */
  --accent: #8a94f8;       /* 6.6:1 on --bg */
  --accent-solid: #7289d9;      /* the logo's blurple */
  --radius-card: 22px;
  --radius-control: 14px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
.wrap { max-width: 1060px; margin: 0 auto; padding-inline: 24px; }
a { color: var(--accent); text-decoration-thickness: from-font; text-underline-offset: 3px; }

/* ---- glow field behind the hero ---- */
.sky {
  position: absolute; inset: 0 0 auto 0; height: 780px;
  background:
    radial-gradient(560px 420px at 18% -6%, rgba(88, 101, 242, 0.22), transparent 68%),
    radial-gradient(640px 480px at 86% 12%, rgba(88, 101, 242, 0.13), transparent 70%),
    radial-gradient(420px 320px at 55% 38%, rgba(130, 140, 255, 0.07), transparent 72%);
  pointer-events: none;
}

/* ---- nav ---- */
header.site { position: relative; z-index: 2; padding-top: 22px; }
.navbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px 10px 18px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(10, 12, 20, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 8px; flex: none; display: block;
  box-shadow: 0 0 18px rgba(114, 137, 217, 0.45);
}
nav.links { display: flex; align-items: center; gap: 4px; }
nav.links a {
  color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600;
  padding: 8px 14px; border-radius: 999px;
}
nav.links a:hover, nav.links a:focus-visible { color: var(--ink); background: var(--glass-2); }
nav.links a.cta { color: var(--ink); background: var(--glass-2); border: 1px solid var(--line); }
nav.links a.cta:hover { background: rgba(255, 255, 255, 0.11); }

/* ---- hero ---- */
main { position: relative; z-index: 1; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; padding: 96px 0 40px; }
.hero-logo {
  display: block; width: 64px; height: 64px; border-radius: 18px; margin-bottom: 28px;
  box-shadow: 0 12px 34px rgba(114, 137, 217, 0.38), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.02em; color: var(--accent);
  border: 1px solid rgba(138, 148, 248, 0.35); border-radius: 999px;
  padding: 6px 14px; margin-bottom: 22px;
  background: rgba(88, 101, 242, 0.09);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
h1 {
  font-size: clamp(40px, 6.4vw, 64px);
  font-weight: 800; line-height: 1.04; letter-spacing: -0.03em;
  text-wrap: balance; margin-bottom: 22px;
}
h1 .tint { background: linear-gradient(100deg, #b6c1f2, #7289d9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 19px; color: var(--muted); max-width: 30em; text-wrap: pretty; }
.hero-meta { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.pill-solid {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-solid); color: #fff; font-weight: 700; font-size: 15px;
  padding: 12px 22px; border-radius: 999px; text-decoration: none;
  box-shadow: 0 8px 28px rgba(114, 137, 217, 0.38);
}
.pill-solid:hover { background: #8197e0; }
.hero-note { font-size: 13px; color: var(--dim); }

/* ---- hero stage: a Discord message pinned over the phone that receives it ---- */
.stage { position: relative; width: 300px; flex: none; padding-top: 64px; }

.discord-msg {
  position: absolute; z-index: 3; top: 0; left: -88px; width: 284px;
  padding: 13px 15px 14px;
  background: #313338; color: #dbdee1;
  border-radius: 12px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.07);
  rotate: -3deg; transform-origin: 100% 100%;
  font-size: 13px; line-height: 1.4;
}
.dm-chan { display: flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; color: #949ba4; margin-bottom: 10px; }
.dm-chan .hash { color: #80848e; font-size: 15px; font-weight: 400; line-height: 1; }
.dm-server { margin-inline-start: auto; font-weight: 600; color: #6d6f78; }
.dm-row { display: flex; gap: 10px; }
.dm-avatar { width: 32px; height: 32px; border-radius: 50%; background: #5865f2; color: #fff; font-weight: 800; font-size: 13px; display: grid; place-items: center; flex: none; }
.dm-main { min-width: 0; }
.dm-meta { display: flex; align-items: baseline; gap: 8px; margin-bottom: 2px; }
.dm-name { color: #f2f3f5; font-weight: 600; }
.dm-time { font-size: 11px; color: #949ba4; }
.dm-text { color: #dbdee1; }
.dm-text mark { background: rgba(88, 101, 242, 0.3); color: #e1e3ff; border-radius: 3px; padding: 0 3px; font-weight: 600; }

/* ---- phone mockup ---- */
.phone {
  width: 300px; height: 600px; position: relative;
  border-radius: 48px;
  background: linear-gradient(180deg, #10131d, #0a0c13);
  border: 1px solid var(--line);
  box-shadow:
    inset 0 0 0 6px #05060a,
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 90px rgba(114, 137, 217, 0.14);
  padding: 18px; overflow: hidden;
}
.phone::before {
  content: ""; position: absolute; top: 14px; left: 50%; translate: -50% 0;
  width: 92px; height: 26px; border-radius: 999px; background: #05060a;
}
.phone-time { text-align: center; margin-top: 88px; font-size: 56px; font-weight: 300; letter-spacing: -0.02em; color: var(--ink); line-height: 1; }
.phone-date { text-align: center; margin-top: 6px; font-size: 14px; color: var(--muted); }

/* iOS lock-screen notification: icon, then title and body; time top-right */
.noti {
  display: flex; gap: 11px; align-items: flex-start;
  margin-top: 26px; padding: 12px 13px 13px;
  border-radius: 20px; border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.noti + .noti { margin-top: 10px; }
.noti-icon { width: 38px; height: 38px; border-radius: 10px; flex: none; display: block; }
.noti-text { min-width: 0; flex: 1; }
.noti-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 3px; }
.noti-title { font-size: 13.5px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.noti-when { margin-inline-start: auto; font-size: 11px; color: var(--dim); flex: none; }
.noti-body { font-size: 12.5px; line-height: 1.42; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.noti-body b { color: var(--ink); font-weight: 700; }
.noti.lead {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(138, 148, 248, 0.35);
  box-shadow: 0 12px 30px rgba(88, 101, 242, 0.22);
}
.noti.faded { opacity: 0.55; }

/* ---- sections ---- */
section { padding: 72px 0 0; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
h2 { font-size: clamp(26px, 3.6vw, 34px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; text-wrap: balance; margin-bottom: 14px; }
.sub { color: var(--muted); max-width: 40em; text-wrap: pretty; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.card {
  padding: 26px 24px;
  background: var(--glass); border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
}
.card .ico {
  width: 40px; height: 40px; border-radius: 13px; margin-bottom: 16px;
  background: rgba(88, 101, 242, 0.14); border: 1px solid rgba(138, 148, 248, 0.25);
  display: grid; place-items: center; color: var(--accent);
}
.card h3 { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 6px; }
.card p { font-size: 14.5px; color: var(--muted); }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.step { position: relative; padding: 26px 24px 24px; border: 1px solid var(--line-soft); border-radius: var(--radius-card); background: linear-gradient(180deg, rgba(88, 101, 242, 0.06), transparent 60%); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-size: 13px; font-weight: 800; letter-spacing: 0.06em; color: var(--accent);
  margin-bottom: 14px; font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* ---- contact ---- */
.contact {
  margin-top: 72px; padding: 44px 40px;
  border-radius: 26px; border: 1px solid var(--line-soft);
  background:
    radial-gradient(480px 260px at 50% -30%, rgba(88, 101, 242, 0.18), transparent 70%),
    var(--glass);
  text-align: center;
}
.contact h2 { margin-bottom: 8px; }
.contact p { color: var(--muted); }

/* ---- footer ---- */
footer.site { border-top: 1px solid var(--line-soft); margin-top: 88px; padding: 30px 0 46px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; justify-content: space-between; }
footer.site p, footer.site a { color: var(--dim); font-size: 13.5px; }
footer.site a { text-decoration: none; }
footer.site a:hover, footer.site a:focus-visible { color: var(--ink); text-decoration: underline; }

/* ---- prose pages (privacy) ---- */
.prose { max-width: 660px; padding-top: 80px; }
.prose h1 { font-size: clamp(34px, 5vw, 46px); }
.prose h2 { font-size: 20px; margin: 44px 0 10px; }
.prose p { color: var(--muted); }
.prose p + p { margin-top: 12px; }
.prose ul { list-style: none; margin-top: 6px; }
.prose li { color: var(--muted); padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.prose li:last-child { border-bottom: none; }
.prose b { color: var(--ink); font-weight: 700; }

/* ---- motion (opt-in) ---- */
@media (prefers-reduced-motion: no-preference) {
  nav.links a, .pill-solid, footer.site a { transition: color 120ms ease-out, background-color 120ms ease-out; }
  .reveal { opacity: 0; translate: 0 14px; animation: rise 0.7s ease-out forwards; }
  .reveal.d1 { animation-delay: 0.08s; }
  .reveal.d2 { animation-delay: 0.16s; }
  .reveal.d3 { animation-delay: 0.24s; }
  @keyframes rise { to { opacity: 1; translate: 0 0; } }
}

/* ---- responsive ---- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 56px; padding-top: 72px; }
  .stage { margin: 0 auto; }
  .discord-msg { left: -6px; rotate: -2deg; }
  .grid3, .steps { grid-template-columns: 1fr; }
  .contact { padding: 36px 24px; }
}
@media (max-width: 520px) {
  nav.links a:not(.cta) { display: none; }
}
