:root {
  --bg: #0b0a10;
  --panel: #1d1828;
  --panel-2: #2a2238;
  --purple: #a466e8;
  --purple-soft: #c9a4f5;
  --text: #f4f1f8;
  --muted: #aaa3b8;
  --line: rgba(255, 255, 255, 0.09);
  --radius: 22px;
  --font: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--purple-soft); }
img { max-width: 100%; display: block; }

/* ---------- top bar ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 56px);
  background: linear-gradient(rgba(11, 10, 16, 0.85), rgba(11, 10, 16, 0));
}
.bar .brand { font-weight: 800; font-size: 22px; color: var(--text); text-decoration: none; letter-spacing: 0.02em; }
.bar nav { display: flex; gap: 6px; }
.bar nav a {
  color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px;
  padding: 7px 16px; border-radius: 999px; transition: background .2s, color .2s;
}
.bar nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.bar nav a[aria-current="page"] { color: var(--text); background: #4a2d78; }

/* ---------- hero with the 360° room ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: grid; place-items: center; text-align: center;
  cursor: grab; user-select: none; touch-action: pan-y;
}
.hero.dragging { cursor: grabbing; }
.pano {
  position: absolute; inset: -4%;
  background: url("img/pano.webp") 0 50% / auto 108% repeat-x;
  filter: saturate(1.05) brightness(0.62);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(11, 10, 16, 0.15), rgba(11, 10, 16, 0.75) 70%),
    linear-gradient(rgba(11, 10, 16, 0) 60%, var(--bg));
}
.hero-inner { position: relative; z-index: 2; padding: 120px 24px 80px; }

.wordmark {
  display: flex; justify-content: center; align-items: flex-end; gap: 0.06em;
  font-size: clamp(84px, 17vw, 220px); font-weight: 800; line-height: 0.8;
  letter-spacing: 0.01em; margin: 0;
  text-shadow: 0.05em 0.05em 0 rgba(0, 0, 0, 0.85);
}
.wordmark .o {
  position: relative; width: 0.62em; height: 0.62em; margin: 0 0.02em 0 0.01em;
  border: 0.17em solid var(--text); border-radius: 50%;
  box-shadow: 0.05em 0.05em 0 rgba(0, 0, 0, 0.85);
}
.wordmark .eye {
  position: absolute; top: -0.42em; width: 0.17em; height: 0.17em;
  background: var(--text); border-radius: 50%;
  box-shadow: 0.05em 0.05em 0 rgba(0, 0, 0, 0.85);
  transition: transform .12s ease-out;
}
.wordmark .eye.l { left: -0.08em; }
.wordmark .eye.r { right: -0.08em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.tagline {
  font-size: clamp(19px, 2.4vw, 27px); font-weight: 400; max-width: 680px;
  margin: 34px auto 10px; color: var(--text);
}
.sub { color: var(--muted); max-width: 560px; margin: 0 auto; font-size: 16px; }
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 16px;
  text-decoration: none; transition: transform .15s, background .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--purple); color: #140b22; box-shadow: 0 10px 30px rgba(164, 102, 232, 0.35); }
.btn.primary:hover { box-shadow: 0 14px 38px rgba(164, 102, 232, 0.5); }
.btn.ghost { color: var(--text); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); backdrop-filter: blur(8px); }
.btn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }
.hint { position: absolute; z-index: 2; bottom: 26px; left: 0; right: 0; text-align: center; font-size: 13px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.badge {
  display: inline-block; margin-bottom: 30px; padding: 6px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--purple-soft); background: rgba(74, 45, 120, 0.55); border: 1px solid rgba(201, 164, 245, 0.25);
}

/* ---------- sections ---------- */
.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }
section { padding: clamp(60px, 9vw, 120px) 0; }
h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; line-height: 1.15; margin: 0 0 18px; }
h3 { font-size: 20px; font-weight: 600; margin: 0 0 8px; }
.lead { color: var(--muted); font-size: 18px; max-width: 640px; }

.showcase { perspective: 1400px; margin-top: 50px; }
.showcase img {
  border-radius: var(--radius); border: 1px solid var(--line);
  transform: rotateX(8deg); transform-origin: 50% 100%;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(164, 102, 232, 0.15);
}
.caption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 18px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 44px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p { color: var(--muted); margin: 0; }
.icon {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--purple); color: #140b22; margin-bottom: 18px;
}
.icon svg { width: 26px; height: 26px; }

/* ---------- inner pages ---------- */
.page-head { padding: 150px 0 30px; }
.page-head h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 800; line-height: 1.05; margin: 0 0 16px; }
.prose { max-width: 760px; }
.prose p, .prose li { color: #d6d0df; font-size: 17px; }
.prose h2 { margin-top: 64px; font-size: clamp(26px, 3vw, 34px); }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; }
.note {
  border-left: 3px solid var(--purple); background: var(--panel); border-radius: 0 14px 14px 0;
  padding: 18px 22px; margin: 26px 0;
}
.note p { margin: 0; }
.status { list-style: none; padding: 0 !important; }
.status li { display: flex; gap: 12px; align-items: baseline; }
.dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #5c5470; transform: translateY(-1px); }
.dot.done { background: #6ee7a8; }
.dot.now { background: var(--purple); box-shadow: 0 0 0 4px rgba(164, 102, 232, 0.25); }

.dl { display: grid; gap: 16px; margin-top: 30px; }
.dl-item {
  display: flex; gap: 22px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px;
}
.dl-item p { margin: 4px 0 0; color: var(--muted); }
.dl-item .meta { font-size: 13px; color: var(--muted); letter-spacing: 0.04em; }

footer { border-top: 1px solid var(--line); padding: 34px 0 50px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--muted); }

@media (max-width: 480px) {
  .bar { padding: 14px 16px; }
  .bar nav { gap: 2px; }
  .bar nav a { padding: 6px 11px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
