/* Aether Tools preview — brand overrides on Grokforge motion-landing */
:root {
  --bg: #050507;
  --bg-elevated: #0a0b0f;
  --fg: #ece8de;
  --fg-muted: rgba(185, 189, 199, 0.78);
  --accent: #c4b49a;
  --accent-soft: rgba(196, 180, 154, 0.14);
  --line: rgba(58, 65, 82, 0.55);
  --glass: rgba(8, 10, 16, 0.72);
  --glass-border: rgba(58, 72, 96, 0.38);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
  --font-display: "Instrument Serif", "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  /* station accents */
  --station-parallax: #5aa7ff;
  --station-reptoidar: #39ff14;
  --station-aperture: #ffb347;
  --station-goetia: #ff3b47;
  --station-psiframe: #b26bff;
  --station-manifold: #33e6d6;
  --station-centerlane: #d9d2c2; /* declassified paper — deliberately the only non-neon in the family */
}

[data-theme="hero"] {
  --tint: radial-gradient(ellipse 70% 55% at 50% 45%, rgba(58, 65, 82, 0.35), transparent 70%);
  --tint-glow: rgba(90, 167, 255, 0.06);
}

[data-theme="problem"] {
  --tint: radial-gradient(ellipse 60% 50% at 15% 30%, rgba(57, 255, 20, 0.04), transparent 65%);
}

[data-theme="cinema"] {
  --tint: transparent;
}

[data-theme="craft"],
[data-theme="solution"] {
  --tint: radial-gradient(ellipse 50% 40% at 80% 60%, rgba(178, 107, 255, 0.08), transparent 70%);
}

[data-theme="cta"] {
  --tint: radial-gradient(ellipse 80% 55% at 50% 50%, rgba(90, 167, 255, 0.1), transparent 70%);
}

.btn--primary {
  background: linear-gradient(135deg, #1a1d28 0%, #0e1018 100%);
  color: var(--fg);
  border: 1px solid rgba(196, 180, 154, 0.45);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  border-color: var(--station-parallax);
  color: #fff;
  box-shadow: 0 0 24px rgba(90, 167, 255, 0.15);
}

.btn--ghost {
  border-color: rgba(58, 72, 96, 0.65);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--station-manifold);
  color: var(--station-manifold);
}

.preview-banner {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1rem;
  padding: 0.45rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(236, 232, 222, 0.78);
  background: rgba(5, 5, 7, 0.94);
  border-bottom: 1px solid rgba(58, 65, 82, 0.55);
  backdrop-filter: blur(10px);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

.preview-banner strong {
  color: var(--station-reptoidar);
  font-weight: 600;
}

.preview-banner a {
  color: var(--station-parallax);
  text-underline-offset: 0.15em;
  letter-spacing: 0.06em;
}

.site-header .logo {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.hero__title em {
  font-style: italic;
  color: #d7d4cc;
}

.greentext-block {
  margin: 1.5rem 0 0;
  padding: 1rem 1.15rem;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #6fd45a;
  background: rgba(5, 12, 8, 0.78);
  border: 1px solid rgba(35, 64, 32, 0.65);
  border-radius: 8px;
  max-width: 36rem;
}

.greentext-block p {
  margin: 0.15rem 0;
}

.station-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.station-card {
  position: relative;
  padding-top: 0.35rem;
}

.station-card::before {
  content: "";
  display: block;
  width: 2rem;
  height: 2px;
  margin-bottom: 0.85rem;
  background: var(--station, var(--accent));
  box-shadow: 0 0 12px var(--station, var(--accent));
  opacity: 0.85;
}

.station-card[data-station="parallax"] { --station: var(--station-parallax); }
.station-card[data-station="reptoidar"] { --station: var(--station-reptoidar); }
.station-card[data-station="aperture"] { --station: var(--station-aperture); }
.station-card[data-station="goetia"] { --station: var(--station-goetia); }
.station-card[data-station="psiframe"] { --station: var(--station-psiframe); }
.station-card[data-station="manifold"] { --station: var(--station-manifold); }
.station-card[data-station="centerlane"] { --station: var(--station-centerlane); }

.station-card h3 {
  letter-spacing: 0.1em;
  font-size: 0.95rem;
  font-weight: 500;
}

a.station-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

a.station-card:hover,
a.station-card:focus-visible {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--station, var(--accent)) 55%, transparent);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.muted {
  color: var(--fg-muted);
}

.site-footer {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}
