:root {
  --bg-deep: #07090e;
  --bg-surface: rgba(16, 21, 32, 0.72);
  --bg-card: rgba(20, 27, 41, 0.55);
  --border-subtle: rgba(148, 163, 184, 0.14);
  --border-highlight: rgba(94, 234, 212, 0.38);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-teal: #5eead4;
  --accent-blue: #38bdf8;
  --accent-indigo: #818cf8;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.glow-1 {
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25), transparent 70%);
  top: -180px;
  left: -120px;
}

.glow-2 {
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.18), transparent 70%);
  bottom: -220px;
  right: -140px;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 25%, black 35%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.brand-bridge {
  background: rgba(56, 189, 248, 0.1);
  border-bottom: 1px solid rgba(56, 189, 248, 0.28);
  color: var(--text-primary);
  font-size: 0.85rem;
  padding: 0.6rem 1rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  position: relative;
  z-index: 2;
}

.brand-bridge.hidden {
  display: none;
}

.bridge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-blue);
  box-shadow: 0 0 10px var(--accent-blue);
}

.site-header {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-symbol {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-blue));
  position: relative;
  box-shadow: 0 0 20px rgba(94, 234, 212, 0.35);
}

.brand-symbol::after {
  content: '';
  position: absolute;
  inset: 4px;
  background: var(--bg-deep);
  border-radius: 2px;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.18em;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--border-subtle);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-teal);
  box-shadow: 0 0 12px var(--accent-teal);
  animation: pulse 2.4s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.88); }
}

.hero {
  padding: 6.5rem 0 5rem;
  max-width: 820px;
}

.eyebrow {
  color: var(--accent-teal);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1.6rem;
}

.gradient-text {
  background: linear-gradient(95deg, var(--accent-teal) 0%, var(--accent-blue) 55%, var(--accent-indigo) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.88rem 1.65rem;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-blue));
  color: #041019;
  font-weight: 600;
  box-shadow: 0 8px 28px rgba(56, 189, 248, 0.22);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(94, 234, 212, 0.34);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.6);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.btn-ghost:hover {
  border-color: var(--border-highlight);
  background: rgba(30, 41, 59, 0.65);
}

.btn-full {
  width: 100%;
}

.pillars-section {
  padding: 4rem 0;
  border-top: 1px solid var(--border-subtle);
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 500;
  margin-top: 0.5rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.pillar-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-2px);
}

.pillar-index {
  color: var(--accent-blue);
  margin-bottom: 0.9rem;
}

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.pillar-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.dialogue-section {
  padding: 4rem 0 6rem;
}

.dialogue-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: clamp(1.75rem, 4vw, 3.25rem);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: start;
  backdrop-filter: blur(14px);
}

.dialogue-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 500;
  margin: 0.6rem 0 1rem;
}

.dialogue-copy p {
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}

.domain-meta {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.dialogue-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field-group input,
.field-group textarea {
  background: rgba(7, 9, 14, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}

.field-group input:focus,
.field-group textarea:focus {
  outline: none;
  border-color: var(--accent-teal);
}

.form-feedback {
  font-size: 0.88rem;
  min-height: 1.25rem;
}

.form-feedback.success {
  color: var(--accent-teal);
}

.form-feedback.error {
  color: #f87171;
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  padding: 1.75rem 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand-name-sm {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-secondary);
}

.footer-sep {
  margin: 0 0.5rem;
  opacity: 0.5;
}

@media (max-width: 820px) {
  .dialogue-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero {
    padding: 4rem 0 3rem;
  }
}
