/* ==========================================================================
   Ålloscale — Minimalistic Landing Page Styles
   Built directly on official Cherenkov Ice tokens (./assets/tokens.css)
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--allo-bg);
  color: var(--allo-fg);
  font-family: var(--allo-font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  background-color: var(--allo-bg);
  color: var(--allo-fg);
  overflow-x: hidden;
  position: relative;
}

/* Signature 48px hairline grid & subtle Cherenkov zenith glow */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(ellipse 68% 42% at 50% -6%, rgba(29, 78, 216, 0.17), rgba(14, 165, 233, 0.04) 48%, transparent 72%),
    linear-gradient(to right, rgba(17, 24, 39, 0.52) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17, 24, 39, 0.52) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
}

::selection {
  background: rgba(56, 189, 248, 0.25);
  color: var(--allo-fg);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* ==========================================================================
   Centered Single-Viewport Architectural Frame
   ========================================================================== */

.page-shell {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--allo-border-subtle);
  border-right: 1px solid var(--allo-border-subtle);
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(2px);
}

/* ==========================================================================
   Header & Prominent Official Wordmark
   ========================================================================== */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px clamp(24px, 4.5vw, 52px);
  border-bottom: 1px solid var(--allo-border);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.brand-wordmark-svg {
  height: clamp(36px, 4vw, 46px);
  width: auto;
  display: block;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-link {
  font-size: 13.5px;
  color: var(--allo-fg-muted);
  transition: color 160ms ease;
}

.header-link:hover {
  color: var(--allo-fg);
}

.header-link-mono {
  font-family: var(--allo-font-mono);
  font-size: 12px;
  color: var(--allo-fg-muted);
  padding: 6px 11px;
  border: 1px solid var(--allo-border);
  border-radius: 6px;
  background: rgba(11, 17, 32, 0.55);
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.header-link-mono:hover {
  border-color: rgba(56, 189, 248, 0.42);
  color: var(--allo-fg);
  background: var(--allo-surface);
}

/* ==========================================================================
   Main Stage & Short Hero
   ========================================================================== */

.main-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero {
  padding: clamp(56px, 9vh, 108px) clamp(24px, 4.5vw, 52px) clamp(44px, 6vh, 72px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--allo-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--allo-fg-subtle);
  margin-bottom: 24px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--allo-cherenkov);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.65);
}

.hero-title {
  font-size: clamp(36px, 5.4vw, 60px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.038em;
  color: var(--allo-fg);
  max-width: 720px;
}

.hero-title .cherenkov-accent {
  background: var(--allo-beam);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  margin-top: 22px;
  font-size: clamp(16px, 1.45vw, 18px);
  line-height: 1.65;
  color: var(--allo-fg-muted);
  max-width: 610px;
  font-weight: 400;
}

.hero-desc strong {
  color: var(--allo-fg);
  font-weight: 500;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 39px;
  padding: 0 17px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease, color 160ms ease;
}

.btn-cta {
  background: var(--allo-cta);
  color: #FFFFFF;
  border: 1px solid rgba(186, 230, 253, 0.22);
}

.btn-cta:hover {
  background: var(--allo-cta-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(11, 17, 32, 0.65);
  color: var(--allo-fg);
  border: 1px solid var(--allo-border);
}

.btn-ghost:hover {
  background: var(--allo-surface-elevated);
  border-color: rgba(148, 163, 184, 0.32);
  transform: translateY(-1px);
}

.btn-copy {
  font-family: var(--allo-font-mono);
  font-size: 12px;
  color: var(--allo-fg-muted);
  background: transparent;
  border: 1px solid var(--allo-border-subtle);
}

.btn-copy:hover {
  color: var(--allo-fg);
  border-color: var(--allo-border);
}

.btn-copy .ok {
  color: var(--allo-verified);
}

/* Whisper-quiet Cherenkov Potential Wave Band */
.wave-strip {
  position: relative;
  height: clamp(160px, 22vh, 220px);
  border-top: 1px solid var(--allo-border);
  border-bottom: 1px solid var(--allo-border);
  background: linear-gradient(180deg, rgba(11, 17, 32, 0.35), rgba(0, 0, 0, 0.85));
  overflow: hidden;
}

#cherenkov-wave {
  display: block;
  width: 100%;
  height: 100%;
}

.wave-caption {
  position: absolute;
  bottom: 14px;
  left: clamp(24px, 4.5vw, 52px);
  right: clamp(24px, 4.5vw, 52px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--allo-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--allo-fg-subtle);
  pointer-events: none;
}

.wave-caption span:last-child {
  color: var(--allo-cherenkov);
}

/* ==========================================================================
   Minimal Footer
   ========================================================================== */

.site-footer {
  padding: 22px clamp(24px, 4.5vw, 52px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--allo-fg-subtle);
}

.footer-left {
  font-family: var(--allo-font-mono);
  font-size: 11.5px;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

.footer-links a {
  color: var(--allo-fg-muted);
  transition: color 150ms ease;
}

.footer-links a:hover {
  color: var(--allo-fg);
}

@media (max-width: 640px) {
  .header-link-mono {
    display: none;
  }
}
