/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@500&family=Inter:wght@400;500&display=swap');

:root {
  --bg: #1a1c1e;
  --surface: #23262acc;
  --accent: #4f9dff;
  --warm: #ff9d4f;
  --text: #e1e5eb;
  --muted: #8a8f98;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* subtle tech grid */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(circle at 1px 1px, #ffffff08 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
}

/* sticky nav */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: var(--surface);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent);
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity .4s ease;
  z-index: 10;
}

body.scrolled nav {
  opacity: 1;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.hero {
  text-align: center;
  margin-bottom: 2.5rem;
}

.hero h1 {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 0.2em;
}

.subtitle {
  font-size: 1.2rem;
  color: var(--muted);
  font-style: italic;
}

.message {
  background: var(--surface);
  border-radius: 1rem;
  box-shadow: 0 4px 24px #0008;
  max-width: 600px;
  width: 100%;
  padding: 2rem 2.5rem;
  margin: 0 auto;
  transition: box-shadow .3s ease;
}

.message:hover {
  box-shadow: 0 8px 36px #000a;
}

blockquote {
  font-size: 1.15rem;
  font-style: italic;
  border-left: 3px solid var(--accent);
  margin: 0 0 1.5em 0;
  padding-left: 1em;
  color: var(--text);
}

.note {
  color: var(--warm);
  margin-bottom: 1em;
}

.contact {
  margin-top: 1.5em;
  font-weight: 500;
  color: var(--accent);
}

.contact a {
  color: inherit;
  text-decoration: none;
  transition: text-shadow .2s;
}

.contact a:hover {
  text-shadow: 0 0 6px var(--accent);
}

.accent {
  color: var(--accent);
  font-weight: 500;
}

details.footnote {
  font-size: 0.9em;
  color: var(--muted);
  margin-top: 1em;
  cursor: pointer;
}

details.footnote summary {
  outline: none;
  font-style: italic;
}

details.footnote[open] summary {
  margin-bottom: .5em;
}

footer {
  text-align: center;
  padding: 1em 0;
  color: var(--muted);
  font-size: 0.9em;
  position: relative;
  z-index: 1;
}

@media (max-width: 700px) {
  .message {
    padding: 1.2rem 1rem;
    max-width: 98vw;
  }
}