:root {
  color-scheme: dark;
  --bg: #050807;
  --panel: #0d1512;
  --panel-strong: #121f1a;
  --text: #f3fff8;
  --muted: #b8c9bf;
  --line: rgba(130, 255, 166, 0.22);
  --green: #6dff62;
  --cyan: #55f7ff;
  --pink: #ff5ad7;
  --amber: #ffd166;
  --shadow: 0 0 28px rgba(109, 255, 98, 0.34);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(85, 247, 255, 0.12), transparent 28rem),
    radial-gradient(circle at 80% 5%, rgba(255, 90, 215, 0.10), transparent 24rem),
    linear-gradient(180deg, #020403 0%, var(--bg) 42%, #07100c 100%);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 8, 7, 0.88);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.8rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(109, 255, 98, 0.55));
}

.brand span {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  padding: 0.55rem 0.7rem;
  font: inherit;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a {
  border-radius: 8px;
  padding: 0.55rem 0.8rem;
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(109, 255, 98, 0.10);
  color: var(--text);
}

main {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero,
.page-hero {
  min-height: 62vh;
  display: grid;
  align-content: center;
  gap: 1.5rem;
  padding: 5rem 0 3rem;
}

.hero {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 1.2rem;
}

.hero-logo {
  justify-self: center;
  width: min(100%, 360px);
  filter: drop-shadow(0 0 28px rgba(109, 255, 98, 0.42));
}

.neon-title {
  margin: 0;
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #f7fff8;
  text-shadow:
    0 0 8px rgba(109, 255, 98, 0.95),
    0 0 20px rgba(109, 255, 98, 0.58),
    0 0 48px rgba(85, 247, 255, 0.34);
}

.arch-title {
  transform: perspective(520px) rotateX(10deg);
  transform-origin: center bottom;
}

.neon-three {
  color: var(--green);
  text-shadow:
    0 0 8px rgba(109, 255, 98, 1),
    0 0 26px rgba(109, 255, 98, 0.85),
    0 0 60px rgba(109, 255, 98, 0.58);
}

.home-hero .neon-three {
  animation: flicker3 5.8s infinite;
}

@keyframes flicker3 {
  0%, 8%, 12%, 22%, 25%, 53%, 57%, 100% {
    opacity: 1;
    filter: brightness(1.15);
  }
  9%, 23%, 55% {
    opacity: 0.62;
    filter: brightness(0.75);
  }
  10%, 24%, 56% {
    opacity: 0.86;
    filter: brightness(1);
  }
}

.tagline {
  margin: 0;
  max-width: 780px;
  color: var(--text);
  font-size: clamp(1.3rem, 3vw, 2.1rem);
  font-weight: 800;
}

.lede {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 1.1rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid rgba(109, 255, 98, 0.42);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  background: rgba(109, 255, 98, 0.13);
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 0 18px rgba(109, 255, 98, 0.16);
}

.button:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
}

.button.secondary {
  border-color: rgba(85, 247, 255, 0.32);
  background: rgba(85, 247, 255, 0.10);
}

.note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  padding: 3rem 0;
  border-top: 1px solid var(--line);
}

.section h2,
.section h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
}

.section p,
.section li {
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.callout,
.form-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(18, 31, 26, 0.92), rgba(9, 16, 13, 0.92));
  padding: 1.25rem;
}

.callout h3 {
  margin-top: 0;
}

.placeholder-copy {
  display: inline-block;
  border: 1px dashed rgba(255, 209, 102, 0.55);
  border-radius: 8px;
  padding: 1rem;
  color: var(--amber);
  background: rgba(255, 209, 102, 0.08);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: 1.5rem;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

label {
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #07100c;
  color: var(--text);
  padding: 0.8rem 0.9rem;
  font: inherit;
}

textarea {
  min-height: 170px;
  resize: vertical;
}

.help {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-status {
  min-height: 1.5rem;
  color: var(--amber);
  font-weight: 800;
}

.form-status.success {
  color: var(--green);
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  background: #020403;
}

.footer-wrap {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0;
  display: grid;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 900;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
}

.footer-links a {
  color: var(--muted);
}

.disclaimer {
  max-width: 900px;
  color: #91a59a;
  font-size: 0.86rem;
}

@media (max-width: 760px) {
  .nav-wrap {
    align-items: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    padding: 0.5rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero,
  .contact-layout,
  .grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .page-hero {
    min-height: auto;
    padding-top: 3rem;
  }

  .arch-title {
    transform: none;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }

  .home-hero .neon-three {
    animation: none;
  }
}
