:root {
  --bg: #070b10;
  --bg-soft: #0d1420;
  --panel: #101827;
  --panel-2: #0b111c;
  --text: #e7f6ff;
  --muted: #9cb3c4;
  --cyan: #55e7ff;
  --lime: #9cff57;
  --amber: #ffcf5a;
  --magenta: #ff5ee8;
  --border: #2a4058;
  --shadow: rgba(85, 231, 255, 0.14);
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(85, 231, 255, 0.12), transparent 32rem),
    radial-gradient(circle at 80% 10%, rgba(255, 94, 232, 0.10), transparent 28rem),
    linear-gradient(180deg, #05070b 0%, var(--bg) 55%, #04060a 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.03) 0,
    rgba(255, 255, 255, 0.03) 1px,
    transparent 1px,
    transparent 4px
  );
  opacity: 0.18;
  z-index: 10;
}

.screen-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px),
                    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.35;
}

::selection {
  color: #001016;
  background: var(--cyan);
}

.site-header {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo,
.nav a,
.button,
.contact-links a {
  color: var(--text);
  text-decoration: none;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.logo-mark {
  color: var(--cyan);
  text-shadow: 0 0 12px var(--cyan);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav a {
  padding: 6px 10px;
  border: 1px solid transparent;
  color: var(--muted);
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92rem;
}

.nav a:hover {
  color: var(--cyan);
  border-color: var(--border);
  background: rgba(85, 231, 255, 0.05);
}

.page-shell {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 64px;
}

.window {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(16, 24, 39, 0.96), rgba(8, 13, 22, 0.96));
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.02), 0 24px 80px rgba(0, 0, 0, 0.35), 0 0 42px var(--shadow);
}

.window-bar {
  min-height: 34px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(85, 231, 255, 0.10), rgba(255, 94, 232, 0.06));
}

.window-title {
  margin-left: 4px;
  color: var(--muted);
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem;
}

.dot {
  width: 10px;
  height: 10px;
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.cyan { background: var(--cyan); }
.lime { background: var(--lime); }
.amber { background: var(--amber); }
.magenta { background: var(--magenta); }

.hero {
  margin-top: 12px;
}

.hero-grid {
  padding: clamp(28px, 5vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 32px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
}

h1 {
  max-width: 760px;
  font-size: clamp(3rem, 10vw, 7rem);
  letter-spacing: -0.08em;
  text-shadow: 4px 4px 0 rgba(85, 231, 255, 0.12);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--cyan);
}

h3 {
  font-size: 1.12rem;
  color: var(--text);
}

.role {
  margin: 14px 0 0;
  color: var(--lime);
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.subtitle,
.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.035);
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
}

.button:hover,
.contact-links a:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 rgba(85, 231, 255, 0.18);
}

.button.primary {
  color: #041016;
  background: var(--cyan);
  border-color: var(--cyan);
  font-weight: 700;
}

.terminal-card {
  padding: 20px;
  border: 1px solid rgba(156, 255, 87, 0.35);
  background: rgba(0, 0, 0, 0.24);
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--muted);
}

.terminal-card p {
  margin: 0 0 10px;
}

.terminal-card p:last-child {
  margin-bottom: 0;
}

.prompt {
  color: var(--lime);
}

.section {
  margin-top: 28px;
}

.section-content,
.card-content {
  padding: clamp(22px, 4vw, 34px);
}

.section-content p {
  max-width: 860px;
  color: var(--muted);
}

.section-heading {
  margin: 48px 0 16px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.case-card {
  min-height: 100%;
}

.case-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.pixel-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.pixel-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

.pixel-list li::before {
  content: "■";
  position: absolute;
  left: 0;
  color: var(--lime);
  font-size: 0.72rem;
}

.contact-links {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.contact-links a {
  width: fit-content;
  padding: 8px 10px;
  border: 1px solid var(--border);
  color: var(--cyan);
  background: rgba(85, 231, 255, 0.04);
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
}

.site-footer {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 32px;
  color: var(--muted);
  font-family: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88rem;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero-grid,
  .card-grid,
  .pixel-list {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.8rem, 17vw, 5rem);
  }
}

@media (max-width: 520px) {
  .site-header,
  .page-shell,
  .site-footer {
    width: min(100% - 20px, var(--max-width));
  }

  .nav a {
    padding: 5px 7px;
    font-size: 0.85rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
