:root {
  --bg: #030a16;
  --bg-soft: #071426;
  --text: #f6f4ee;
  --muted: #aeb9c9;
  --cyan: #20e5df;
  --cyan-soft: #64fff7;
  --gold: #ffc72c;
  --gold-soft: #ffe47c;
  --line: rgba(255, 255, 255, 0.13);
  --panel: rgba(8, 22, 39, 0.48);
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 28%, rgba(17, 52, 82, 0.52), transparent 38%),
    linear-gradient(145deg, #020712 0%, var(--bg) 48%, #06101d 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

#constellation {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.58;
}

.aurora {
  position: fixed;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.12;
  pointer-events: none;
  animation: drift 18s ease-in-out infinite alternate;
}

.aurora--cyan {
  left: -14rem;
  top: 10%;
  background: var(--cyan);
}

.aurora--gold {
  right: -15rem;
  bottom: 5%;
  background: var(--gold);
  animation-delay: -8s;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2.5rem));
  min-height: calc(100vh - 82px);
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 3rem 0 2rem;
}

.hero {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(340px, 1.05fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.logo-wrap {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
}

.logo-halo {
  position: absolute;
  z-index: -1;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from 215deg, rgba(32,229,223,.55), rgba(255,199,44,.48), rgba(32,229,223,.28));
  filter: blur(65px);
  opacity: .25;
  animation: pulse 8s ease-in-out infinite;
}

.logo {
  width: min(100%, 610px);
  height: auto;
  display: block;
  filter: drop-shadow(0 0 28px rgba(32, 229, 223, 0.10)) drop-shadow(0 0 36px rgba(255, 199, 44, 0.08));
  animation: breathe 10s ease-in-out infinite;
}

.content {
  max-width: 650px;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(10, 29, 50, 0.64), rgba(5, 14, 27, 0.34));
  box-shadow: 0 24px 90px rgba(0, 0, 0, .36), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(18px);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--cyan-soft);
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .2em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 6vw, 5.3rem);
  line-height: .98;
  font-weight: 500;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.lead {
  margin: 1.7rem 0 0;
  max-width: 54ch;
  color: #eef4fa;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.65;
}

.description {
  margin: 1rem 0 0;
  max-width: 60ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2rem;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 760;
  font-size: .94rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button:focus-visible, .email-link:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 4px; }

.button--primary {
  color: #041018;
  background: linear-gradient(105deg, var(--cyan-soft), var(--gold-soft));
  box-shadow: 0 10px 34px rgba(32, 229, 223, .16), 0 10px 34px rgba(255, 199, 44, .12);
}

.button--primary:hover { box-shadow: 0 14px 42px rgba(32, 229, 223, .22), 0 14px 42px rgba(255, 199, 44, .16); }

.button--secondary {
  color: var(--text);
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.035);
}

.button--secondary:hover { border-color: rgba(100,255,247,.58); background: rgba(100,255,247,.06); }

.email-link {
  display: inline-block;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: .9rem;
  text-decoration-color: rgba(174,185,201,.45);
  text-underline-offset: .25em;
}

.email-link:hover { color: var(--text); }

footer {
  position: relative;
  z-index: 1;
  min-height: 82px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .7rem;
  padding: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #8492a5;
  font-size: .72rem;
  letter-spacing: .12em;
  text-align: center;
}

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.018); }
}

@keyframes pulse {
  0%, 100% { opacity: .18; transform: scale(.92) rotate(-7deg); }
  50% { opacity: .32; transform: scale(1.07) rotate(7deg); }
}

@keyframes drift {
  from { transform: translate3d(0, -2rem, 0) scale(.95); }
  to { transform: translate3d(4rem, 3rem, 0) scale(1.1); }
}

@media (max-width: 900px) {
  .page-shell { padding-top: 1.4rem; }
  .hero { grid-template-columns: 1fr; gap: 0; }
  .logo { width: min(84vw, 500px); }
  .logo-wrap { margin-bottom: -2.5rem; }
  .content { margin: 0 auto; text-align: center; }
  h1, .lead, .description { margin-left: auto; margin-right: auto; }
  .actions { justify-content: center; }
}

@media (max-width: 560px) {
  .page-shell { width: min(100% - 1.25rem, 1180px); }
  .logo-wrap { margin-bottom: -1.4rem; }
  .content { border-radius: 22px; padding: 1.5rem 1.15rem; }
  h1 { font-size: clamp(2.35rem, 15vw, 3.5rem); }
  .actions { flex-direction: column; }
  .button { width: 100%; }
  footer { flex-direction: column; gap: .35rem; letter-spacing: .08em; }
  .footer-dot { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  #constellation { display: none; }
}
