/* =========================================================================
   Lamprophony Enterprises
   Editorial dark aesthetic. Type-driven. Eclipse-themed accents.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600;9..144,700&family=IBM+Plex+Sans:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  /* Color tokens - eclipse palette */
  --color-bg: #0a0908;
  --color-bg-elevated: #141210;
  --color-bg-card: #1a1815;
  --color-text: #f4ede4;
  --color-text-muted: #a39990;
  --color-text-subtle: #6b635b;
  --color-accent: #f5a623;
  --color-accent-bright: #ffc857;
  --color-accent-deep: #c8821a;
  --color-accent-glow: rgba(245, 166, 35, 0.18);
  --color-border: #2a2622;
  --color-border-bright: #3d3530;

  /* Type tokens */
  --font-display: "Fraunces", "Iowan Old Style", "Apple Garamond", Georgia, serif;
  --font-body: "IBM Plex Sans", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", Menlo, monospace;

  /* Scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2.25rem;
  --text-4xl: 3rem;
  --text-5xl: 4rem;
  --text-6xl: 5.5rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --max-width: 72rem;
  --max-width-text: 44rem;
  --content-padding: clamp(1.25rem, 4vw, 2.5rem);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--color-bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(245, 166, 35, 0.04), transparent 70%),
    radial-gradient(ellipse 50% 30% at 100% 100%, rgba(245, 166, 35, 0.02), transparent 60%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* =========================================================================
   Typography
   ========================================================================= */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-6);
  color: var(--color-text);
}

h1 {
  font-size: clamp(2.5rem, 6vw, var(--text-6xl));
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

h2 {
  font-size: clamp(2rem, 4.5vw, var(--text-4xl));
  font-weight: 400;
  letter-spacing: -0.025em;
}

h3 {
  font-size: var(--text-2xl);
  font-weight: 500;
}

h4 {
  font-size: var(--text-xl);
  font-weight: 500;
}

p {
  margin: 0 0 var(--space-4);
  color: var(--color-text);
}

p.lead {
  font-size: var(--text-xl);
  line-height: 1.55;
  color: var(--color-text);
  font-weight: 300;
  max-width: 38rem;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-accent-bright);
}

a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

strong {
  color: var(--color-text);
  font-weight: 600;
}

em {
  font-family: var(--font-display);
  font-style: italic;
}

/* Inline link in prose - underlined */
.prose a, article a {
  border-bottom: 1px solid var(--color-accent-deep);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.prose a:hover, article a:hover {
  border-bottom-color: var(--color-accent-bright);
}

code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  background: var(--color-bg-elevated);
  padding: 0.15em 0.4em;
  border-radius: 3px;
  color: var(--color-accent-bright);
}

blockquote {
  margin: var(--space-8) 0;
  padding: var(--space-6) var(--space-8);
  border-left: 2px solid var(--color-accent);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  color: var(--color-text);
  background: linear-gradient(90deg, var(--color-accent-glow), transparent 60%);
}

blockquote cite {
  display: block;
  margin-top: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-style: normal;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

hr {
  border: none;
  height: 1px;
  background: var(--color-border);
  margin: var(--space-16) 0;
}

ul, ol {
  margin: 0 0 var(--space-6);
  padding-left: var(--space-6);
}

li {
  margin-bottom: var(--space-2);
  line-height: 1.6;
}

/* =========================================================================
   Layout
   ========================================================================= */

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

.container-narrow {
  max-width: var(--max-width-text);
  margin: 0 auto;
  padding: 0 var(--content-padding);
}

main {
  flex: 1;
}

section {
  padding: var(--space-24) 0;
}

section.section-tight {
  padding: var(--space-16) 0;
}

@media (max-width: 640px) {
  section { padding: var(--space-16) 0; }
  section.section-tight { padding: var(--space-12) 0; }
}

/* =========================================================================
   Header / Navigation
   ========================================================================= */

.site-header {
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--color-border);
  background: rgba(10, 9, 8, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
}

.brand img {
  height: 36px;
  width: 36px;
  display: block;
}

.brand-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.brand:hover .brand-text {
  color: var(--color-accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.site-nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
  border-bottom: none;
}

.site-nav a:hover {
  color: var(--color-text);
}

.site-nav a.cta {
  color: var(--color-accent);
  border: 1px solid var(--color-accent-deep);
  padding: var(--space-2) var(--space-4);
  border-radius: 3px;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a.cta:hover {
  background: var(--color-accent);
  color: var(--color-bg);
}

@media (max-width: 720px) {
  .site-nav { gap: var(--space-4); }
  .site-nav a:not(.cta) { display: none; }
}

/* =========================================================================
   Buttons
   ========================================================================= */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: var(--space-3) var(--space-6);
  border-radius: 3px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease;
  border-bottom: none;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-bg);
}

.btn-primary:hover {
  background: var(--color-accent-bright);
  color: var(--color-bg);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent-deep);
}

.btn-secondary:hover {
  background: var(--color-accent-glow);
  color: var(--color-accent-bright);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
  padding: var(--space-2) 0;
}

.btn-ghost:hover {
  color: var(--color-accent);
}

.btn-ghost::after {
  content: " →";
  transition: margin 0.2s ease;
  display: inline-block;
}

.btn-ghost:hover::after {
  margin-left: 0.3em;
}

/* =========================================================================
   Hero
   ========================================================================= */

.hero {
  padding: var(--space-24) 0 var(--space-16);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Deep-space color wash: large, soft nebula gradients */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 85% 20%, rgba(245, 166, 35, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 50% at 15% 90%, rgba(180, 90, 30, 0.06), transparent 65%),
    radial-gradient(ellipse 40% 30% at 75% 100%, rgba(255, 200, 87, 0.04), transparent 70%);
  pointer-events: none;
  z-index: -2;
}

/* Eclipse halo on the right - the "lampro" light bleeding in */
.hero::after {
  content: "";
  position: absolute;
  top: -160px;
  right: -200px;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 50%, var(--color-accent-glow) 0%, rgba(245, 166, 35, 0.08) 30%, transparent 65%);
  pointer-events: none;
  z-index: -1;
  filter: blur(2px);
}

/* Starfield: hand-tuned points scattered through the hero. Larger amber stars
   echo the eclipse palette, smaller white stars give cosmic depth. */
.hero .starfield {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.hero .starfield::before,
.hero .starfield::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 1px;
  border-radius: 50%;
  background: transparent;
}

/* Small white stars: many tiny points across the field */
.hero .starfield::before {
  top: 0;
  left: 0;
  box-shadow:
    47px 82px rgba(244, 237, 228, 0.55),
    138px 31px rgba(244, 237, 228, 0.4),
    214px 167px rgba(244, 237, 228, 0.35),
    301px 52px rgba(244, 237, 228, 0.55),
    385px 218px rgba(244, 237, 228, 0.3),
    472px 95px rgba(244, 237, 228, 0.5),
    558px 173px rgba(244, 237, 228, 0.4),
    641px 28px rgba(244, 237, 228, 0.45),
    724px 145px rgba(244, 237, 228, 0.35),
    810px 76px rgba(244, 237, 228, 0.5),
    893px 198px rgba(244, 237, 228, 0.3),
    967px 55px rgba(244, 237, 228, 0.4),
    1041px 162px rgba(244, 237, 228, 0.45),
    1125px 109px rgba(244, 237, 228, 0.35),
    1198px 38px rgba(244, 237, 228, 0.55),
    74px 263px rgba(244, 237, 228, 0.4),
    167px 318px rgba(244, 237, 228, 0.5),
    253px 281px rgba(244, 237, 228, 0.35),
    339px 364px rgba(244, 237, 228, 0.4),
    421px 295px rgba(244, 237, 228, 0.55),
    509px 379px rgba(244, 237, 228, 0.3),
    591px 318px rgba(244, 237, 228, 0.45),
    673px 386px rgba(244, 237, 228, 0.4),
    762px 305px rgba(244, 237, 228, 0.5),
    849px 392px rgba(244, 237, 228, 0.35),
    932px 261px rgba(244, 237, 228, 0.45),
    1018px 358px rgba(244, 237, 228, 0.4),
    1098px 287px rgba(244, 237, 228, 0.55),
    1181px 372px rgba(244, 237, 228, 0.35),
    102px 467px rgba(244, 237, 228, 0.45),
    189px 521px rgba(244, 237, 228, 0.3),
    276px 489px rgba(244, 237, 228, 0.5),
    361px 569px rgba(244, 237, 228, 0.35),
    448px 503px rgba(244, 237, 228, 0.4),
    532px 581px rgba(244, 237, 228, 0.45),
    618px 528px rgba(244, 237, 228, 0.3),
    705px 595px rgba(244, 237, 228, 0.5),
    789px 481px rgba(244, 237, 228, 0.4),
    873px 563px rgba(244, 237, 228, 0.35),
    958px 519px rgba(244, 237, 228, 0.45),
    1043px 598px rgba(244, 237, 228, 0.3);
}

/* Larger amber stars: fewer, brighter, with subtle glow */
.hero .starfield::after {
  top: 0;
  left: 0;
  width: 2px;
  height: 2px;
  box-shadow:
    220px 120px 0 0 rgba(255, 200, 87, 0.7), 220px 120px 4px 0 rgba(255, 200, 87, 0.3),
    480px 60px 0 0 rgba(255, 200, 87, 0.6), 480px 60px 4px 0 rgba(255, 200, 87, 0.25),
    750px 240px 0 0 rgba(255, 200, 87, 0.65), 750px 240px 4px 0 rgba(255, 200, 87, 0.3),
    1010px 110px 0 0 rgba(255, 200, 87, 0.55), 1010px 110px 4px 0 rgba(255, 200, 87, 0.25),
    150px 380px 0 0 rgba(255, 200, 87, 0.6), 150px 380px 4px 0 rgba(255, 200, 87, 0.25),
    420px 460px 0 0 rgba(255, 200, 87, 0.7), 420px 460px 4px 0 rgba(255, 200, 87, 0.3),
    690px 410px 0 0 rgba(255, 200, 87, 0.6), 690px 410px 4px 0 rgba(255, 200, 87, 0.25),
    960px 510px 0 0 rgba(255, 200, 87, 0.65), 960px 510px 4px 0 rgba(255, 200, 87, 0.3),
    1190px 320px 0 0 rgba(255, 200, 87, 0.55), 1190px 320px 4px 0 rgba(255, 200, 87, 0.25);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 22ch;
  margin-bottom: var(--space-8);
}

.hero h1 .accent {
  color: var(--color-accent);
  font-style: italic;
  font-weight: 400;
}

.hero p.lead {
  margin-bottom: var(--space-12);
  font-size: clamp(var(--text-lg), 2.5vw, var(--text-2xl));
  max-width: 40rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-6);
}

/* =========================================================================
   Section utilities
   ========================================================================= */

.section-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
  display: block;
}

.section-heading {
  margin-bottom: var(--space-12);
  max-width: 36ch;
}

.section-intro {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 40rem;
  margin-bottom: var(--space-12);
  line-height: 1.6;
}

/* =========================================================================
   Three-column / grid
   ========================================================================= */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-12) var(--space-8);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-12) var(--space-8);
}

@media (max-width: 880px) {
  .grid-3 { grid-template-columns: 1fr; gap: var(--space-8); }
  .grid-2 { grid-template-columns: 1fr; gap: var(--space-8); }
}

.feature {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-6);
}

.feature-num {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-accent);
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: var(--space-3);
}

.feature h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}

.feature p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  margin: 0;
  line-height: 1.6;
}

/* =========================================================================
   Service tiers
   ========================================================================= */

.tier {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: var(--space-8);
  transition: border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.tier:hover {
  border-color: var(--color-border-bright);
}

.tier.tier-featured {
  border-color: var(--color-accent-deep);
  background: linear-gradient(180deg, rgba(245, 166, 35, 0.03), var(--color-bg-card) 30%);
}

.tier.tier-coming {
  border-style: dashed;
  background: transparent;
  opacity: 0.85;
}

.tier-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.tier-name {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  margin-bottom: var(--space-2);
  letter-spacing: -0.02em;
}

.tier-price {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 300;
  color: var(--color-accent);
  margin-bottom: var(--space-1);
  letter-spacing: -0.025em;
}

.tier-price-detail {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.tier-summary {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  margin-bottom: var(--space-6);
  line-height: 1.6;
}

.tier-includes {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-8);
  flex-grow: 1;
}

.tier-includes li {
  position: relative;
  padding-left: var(--space-6);
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.5;
}

.tier-includes li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-weight: 500;
}

.tier-action {
  margin-top: auto;
}

/* =========================================================================
   How it works - process steps
   ========================================================================= */

.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-6);
  position: relative;
}

@media (max-width: 1024px) {
  .process { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .process { grid-template-columns: 1fr; }
}

.process-step {
  position: relative;
}

.process-step::before {
  content: "";
  position: absolute;
  top: 0.7rem;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-border);
}

.process-num {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 0.15em;
  background: var(--color-bg);
  padding-right: var(--space-3);
  position: relative;
  display: inline-block;
  margin-bottom: var(--space-4);
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: var(--space-3);
  margin-top: var(--space-3);
  letter-spacing: -0.01em;
}

.process-step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.55;
}

/* =========================================================================
   Testimonials
   ========================================================================= */

.testimonial {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--color-border);
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  letter-spacing: -0.015em;
}

.testimonial-attribution {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.testimonial-name {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
}

.testimonial-role {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* =========================================================================
   About / prose pages
   ========================================================================= */

.prose {
  max-width: var(--max-width-text);
  margin: 0 auto;
}

.prose p {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: var(--space-6);
}

.prose h2 {
  font-size: var(--text-3xl);
  margin-top: var(--space-16);
  margin-bottom: var(--space-6);
}

.prose h3 {
  font-size: var(--text-2xl);
  margin-top: var(--space-12);
  margin-bottom: var(--space-4);
}

.prose ul, .prose ol {
  margin-bottom: var(--space-6);
}

.prose li {
  font-size: var(--text-lg);
  line-height: 1.7;
}

.page-header {
  padding: var(--space-24) 0 var(--space-12);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 65%);
  pointer-events: none;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: clamp(2.5rem, 5vw, var(--text-5xl));
  margin-bottom: var(--space-4);
}

.page-header .lead {
  margin: 0;
  max-width: 50rem;
}

.page-content {
  padding: var(--space-16) 0 var(--space-24);
}

/* =========================================================================
   Blog
   ========================================================================= */

.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-list li {
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-8) 0;
}

.post-list li:first-child {
  border-top: 1px solid var(--color-border);
}

.post-list h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
  font-weight: 500;
}

.post-list h2 a {
  color: var(--color-text);
  border-bottom: none;
  transition: color 0.2s ease;
}

.post-list h2 a:hover {
  color: var(--color-accent);
}

.post-meta {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
  display: block;
}

.post-summary {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  margin: 0;
  max-width: 50rem;
}

article.post .post-meta {
  margin-bottom: var(--space-4);
}

article.post p:first-of-type {
  font-size: var(--text-xl);
  line-height: 1.55;
  font-weight: 300;
  color: var(--color-text);
}

/* =========================================================================
   CTA section
   ========================================================================= */

.cta-block {
  text-align: center;
  padding: var(--space-24) 0;
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 50%);
  pointer-events: none;
}

.cta-block .container {
  position: relative;
  z-index: 1;
}

.cta-block h2 {
  font-size: clamp(2rem, 4vw, var(--text-4xl));
  margin-bottom: var(--space-6);
  max-width: 28ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-block p.lead {
  margin: 0 auto var(--space-8);
  text-align: center;
}

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

.site-footer {
  padding: var(--space-16) 0 var(--space-8);
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-elevated);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
}

.footer-brand p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  max-width: 30rem;
  margin: var(--space-4) 0 0;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  margin-bottom: var(--space-4);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: var(--space-3);
}

.footer-col a {
  color: var(--color-text);
  font-size: var(--text-sm);
  border-bottom: none;
}

.footer-col a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
}

/* =========================================================================
   Eclipse mark - decorative element used on About / page headers
   ========================================================================= */

.eclipse-mark {
  display: inline-block;
  width: 1em;
  height: 1em;
  background: radial-gradient(circle at 70% 40%, var(--color-accent-bright) 0%, var(--color-accent) 8%, transparent 22%);
  border-radius: 50%;
  border: 2px solid var(--color-accent-deep);
  vertical-align: middle;
  margin: 0 0.1em;
}

/* =========================================================================
   Skip link for accessibility
   ========================================================================= */

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-accent);
  color: var(--color-bg);
  padding: 8px 16px;
  z-index: 100;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

/* =========================================================================
   Forms
   ========================================================================= */

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-row label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.form-optional {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--color-text-subtle);
  margin-left: var(--space-2);
}

.form-row input,
.form-row textarea {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 3px;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  transition: border-color 0.2s ease, background 0.2s ease;
  width: 100%;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: var(--color-text-subtle);
}

.form-row input:hover,
.form-row textarea:hover {
  border-color: var(--color-border-bright);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: var(--color-bg-elevated);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

.form-row textarea {
  resize: vertical;
  min-height: 6rem;
  font-family: var(--font-body);
  line-height: 1.5;
}

.form-actions {
  margin-top: var(--space-4);
}

/* =========================================================================
   Selection
   ========================================================================= */

::selection {
  background: var(--color-accent);
  color: var(--color-bg);
}
