/* ============================================================
   HoloQ Player — Shared Design System
   ============================================================ */

:root {
  /* Color */
  --ink: #12151b;
  --ink-soft: #4b5265;
  --ink-faint: #7b8296;
  --paper: #fafbfc;
  --paper-alt: #f1f3f8;
  --paper-deep: #eceffa;
  --line: #e2e6ef;
  --line-strong: #d2d7e4;
  --white: #ffffff;

  --blue: #0094fe;
  --blue-deep: #0072c4;
  --blue-tint: #e7f4ff;
  --pink: #ea0180;
  --pink-deep: #b80164;
  --pink-tint: #fde6f2;
  --green: #7fae2a;
  --green-deep: #63860f;
  --green-tint: #eef6dd;

  --ink-900: #0b0d12;

  --surface: #ffffff;

  /* Type */
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "Consolas", monospace;

  /* Shape */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(18, 21, 27, 0.06);
  --shadow-md: 0 8px 24px rgba(18, 21, 27, 0.08);
  --shadow-lg: 0 20px 48px rgba(18, 21, 27, 0.12);

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: var(--blue-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-deep);
  background: var(--blue-tint);
  border: 1px solid #cfe9ff;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 3px var(--pink-tint);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 24px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--ink-900);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-secondary:hover { border-color: var(--blue); color: var(--blue-deep); transform: translateY(-1px); }
.btn-block { width: 100%; }
.btn-sm { padding: 12px 18px; font-size: 0.88rem; border-radius: 8px; min-height: 44px; }

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 251, 252, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 30px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.94rem;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle svg { width: 20px; height: 20px; color: var(--ink); }
.nav-toggle .icon-close { display: none; }
.nav-toggle.open .icon-menu { display: none; }
.nav-toggle.open .icon-close { display: block; }

.mobile-nav-panel {
  display: none;
  position: fixed;
  top: 76px;
  left: 0; right: 0;
  bottom: 0;
  background: var(--paper);
  z-index: 49;
  padding: 20px 28px 40px;
  overflow-y: auto;
}
.mobile-nav-panel.open { display: block; }
.mobile-nav-panel ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
}
.mobile-nav-panel li { border-bottom: 1px solid var(--line); }
.mobile-nav-panel a {
  display: block;
  padding: 18px 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
}
.mobile-nav-panel a:hover, .mobile-nav-panel a.active { color: var(--blue-deep); text-decoration: none; }
.mobile-nav-panel .mobile-nav-cta { margin-top: 26px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}
@media (min-width: 901px) {
  .mobile-nav-panel { display: none !important; }
}

/* Footer */
.site-footer {
  background: var(--ink-900);
  color: #b7bccb;
  padding: 64px 0 28px;
  margin-top: 100px;
}
.site-footer a { color: #d8dbe6; }
.site-footer a:hover { color: var(--white); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid h4 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 0.92rem; }
.footer-brand img { height: 26px; margin-bottom: 14px; }
.footer-brand p { color: #8790a3; max-width: 320px; font-size: 0.92rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.85rem;
  color: #6d7488;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal-links a { font-size: 0.85rem; }
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Sections */
section { padding: 96px 0; }
.section-alt { background: var(--paper-alt); }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Icon tile */
.icon-tile {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.icon-tile svg { width: 24px; height: 24px; }
.icon-tile.blue { background: var(--blue-tint); color: var(--blue-deep); }
.icon-tile.pink { background: var(--pink-tint); color: var(--pink-deep); }
.icon-tile.green { background: var(--green-tint); color: var(--green-deep); }

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px;
}

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--paper-deep);
  color: var(--ink-soft);
}

/* Shared CTA band component (used across pages) */
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band {
  background: linear-gradient(120deg, var(--blue) 0%, var(--blue-deep) 100%);
  border-radius: var(--radius-lg);
  padding: 60px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 0; }
.cta-band .btn-secondary { background: var(--surface); border-color: transparent; }
.cta-band .btn-ghost { background: rgba(255,255,255,0.15); color: #fff; border-color: rgba(255,255,255,0.4); }
@media (max-width: 700px) {
  .cta-band { flex-direction: column; align-items: flex-start; }
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink-900); color: var(--white);
  padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
