/* Shared styles for every glimoo.com page. */
:root {
  --page: #ffffff;
  --card: #f4f4f6;
  --ink: #0b0b0d;
  --ink2: #3f3f46;
  --muted: #8b8b94;
  --violet: #6e5bf2;
  --violet2: #a398ff;
  --lav: #eeecff;
  --line: #e7e7eb;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #0b0b0d;
    --card: #17171b;
    --ink: #f4f4f6;
    --ink2: #c9c9d2;
    --muted: #8b8b94;
    --lav: #1d1a33;
    --line: #26262c;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100svh;
  background: var(--page);
  color: var(--ink);
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--violet); }
main { flex: 1; width: 100%; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.mini-logo { color: var(--ink); font-weight: 800; font-size: 22px; letter-spacing: -0.6px; text-decoration: none; display: inline-flex; align-items: center; line-height: 1; }
.mini-logo .dot { width: 15px; height: 15px; border-radius: 50%; background: var(--violet); margin-left: 2px; display: inline-block; position: relative; }
.mini-logo .dot::after { content: ""; position: absolute; width: 3px; height: 6px; border-radius: 2px; background: #fff; left: 6px; top: 4.5px; }
.site-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a { color: var(--ink2); font-weight: 600; font-size: 14px; text-decoration: none; padding: 8px 12px; border-radius: 999px; }
.site-nav a:hover { color: var(--ink); background: var(--card); }
.site-nav a[aria-current="page"] { color: var(--ink); background: var(--card); }

/* Home hero */
.hero { text-align: center; padding: 48px 0 72px; position: relative; }
.glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 60% at 50% 40%, rgba(110, 91, 242, 0.18), rgba(110, 91, 242, 0) 70%);
  pointer-events: none;
  z-index: -1;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  font-size: clamp(72px, 17vw, 168px);
  letter-spacing: -0.05em;
  line-height: 1;
  user-select: none;
}
.eyes { display: inline-flex; gap: 0.04em; margin-left: 0.03em; transform: translateY(0.07em); }
.eye {
  width: 0.56em;
  height: 0.56em;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #9c8fff 0%, var(--violet) 55%, #5440e0 100%);
  position: relative;
  box-shadow: 0 0.06em 0.16em rgba(84, 64, 224, 0.35);
}
.pupil {
  position: absolute;
  width: 0.11em;
  height: 0.2em;
  border-radius: 0.05em;
  background: #fff;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: transform 120ms ease-out;
}
.pupil.blink { animation: blink 160ms ease-in-out; }
@keyframes blink { 50% { height: 0.025em; } }

.hero h1 {
  margin: 30px auto 0;
  font-weight: 800;
  font-size: clamp(30px, 4.6vw, 48px);
  letter-spacing: -0.03em;
  line-height: 1.12;
  max-width: 16ch;
}
.hero h1 span { color: var(--violet); }
.lede {
  margin: 16px auto 0;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.55;
  color: var(--ink2);
  max-width: 44ch;
}
.actions { margin-top: 28px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; }
.btn-primary { background: var(--violet); color: #fff; }
.btn-primary:hover { background: #5d4ae6; }
.btn-ghost { background: var(--card); color: var(--ink); }

/* Sections */
section { padding: 56px 0; border-top: 1px solid var(--line); }
.eyebrow { color: var(--violet); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 8px; }
h2 { font-weight: 800; font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.03em; line-height: 1.15; margin: 0 0 12px; }
h3 { font-size: 18px; margin: 0 0 6px; letter-spacing: -0.01em; }
p, li { color: var(--ink2); }
.section-lede { max-width: 60ch; margin: 0 0 28px; font-size: 17px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--card); border-radius: 20px; padding: 24px; }
.card p { margin: 0; }
.icon { width: 40px; height: 40px; border-radius: 12px; background: var(--lav); color: var(--violet); display: grid; place-items: center; margin-bottom: 14px; }
.icon svg { width: 22px; height: 22px; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.facts div { padding: 18px 22px; border-bottom: 1px solid var(--line); margin-bottom: -1px; }
.facts dt { color: var(--muted); font-size: 13px; font-weight: 600; margin: 0 0 4px; }
.facts dd { margin: 0; font-weight: 600; color: var(--ink); }

/* Text pages (about, privacy, terms…) */
.page { max-width: 720px; margin: 0 auto; padding: 24px 20px 72px; }
.page h1 { font-weight: 800; font-size: clamp(32px, 5vw, 44px); letter-spacing: -0.03em; line-height: 1.1; margin: 16px 0 8px; }
.page h2 { font-size: 21px; margin: 36px 0 8px; letter-spacing: -0.01em; }
.page .date { color: var(--muted); font-size: 14px; margin: 0 0 8px; }
.page ul { padding-left: 20px; }
.page li { margin: 4px 0; }
address { font-style: normal; color: var(--ink); font-weight: 600; line-height: 1.7; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 28px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer p { margin: 0; color: var(--muted); }

@media (max-width: 560px) {
  .site-header .wrap { flex-direction: column; align-items: flex-start; gap: 10px; }
  .site-nav { justify-content: flex-start; margin-left: -12px; }
  section { padding: 44px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pupil, .pupil.blink { transition: none; animation: none; }
}
