/*
 * NexaNano product page — plain CSS, no build step required.
 * Colors are the same design tokens the app uses, so the page looks identical.
 */

:root {
  --radius: 0.5rem;
  --background: oklch(0.16 0.01 160);
  --foreground: oklch(0.95 0.01 150);
  --card: oklch(0.2 0.012 160);
  --primary: oklch(0.82 0.2 145);
  --primary-foreground: oklch(0.16 0.02 160);
  --muted-foreground: oklch(0.7 0.02 150);
  --accent: oklch(0.28 0.04 150);
  --destructive: oklch(0.65 0.22 25);
  --border: oklch(0.3 0.015 160);
  --terminal: oklch(0.12 0.01 160);

  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  background-color: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

svg {
  display: block;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
}

.accent {
  color: var(--primary);
}

.container {
  max-width: 1152px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- header ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1152px;
  margin-inline: auto;
  padding: 24px;
}

.brand {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 800;
}

.site-nav {
  display: none;
  gap: 32px;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--muted-foreground);
}

.site-nav a:hover {
  color: var(--foreground);
}

/* ---------- hero ---------- */

.hero {
  display: grid;
  align-items: center;
  gap: 48px;
  max-width: 1152px;
  margin-inline: auto;
  padding: 40px 24px 80px;
}

.hero-command {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.hero-title {
  margin: 16px 0 0;
  font-family: var(--font-mono);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.hero-lede {
  margin: 24px 0 0;
  max-width: 512px;
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: var(--muted-foreground);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.btn {
  display: inline-block;
  border-radius: 0.375rem;
  padding: 12px 24px;
  font-family: var(--font-mono);
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 600;
  transition: opacity 0.15s ease, background-color 0.15s ease;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-ghost {
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background-color: var(--accent);
}

.hero-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

/* ---------- bands ---------- */

.band {
  background-color: var(--card);
  padding-block: 80px;
}

.band-specs {
  border-block: 1px solid var(--border);
}

.band-colleges {
  border-top: 1px solid var(--border);
}

.section-title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 2.25rem;
}

.section-lede {
  margin: 12px 0 0;
  line-height: 1.5rem;
  color: var(--muted-foreground);
}

/* ---------- specs ---------- */

.spec-grid {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}

.spec-card {
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background-color: var(--background);
  padding: 24px;
}

.spec-icon,
.feature-icon {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.software-icon {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.spec-label {
  margin: 16px 0 0;
  font-size: 0.75rem;
  line-height: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
}

.spec-value {
  margin: 4px 0 0;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
}

.spec-note {
  margin: 8px 0 0;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--muted-foreground);
}

/* ---------- software / terminal ---------- */

.software {
  display: grid;
  gap: 48px;
  max-width: 1152px;
  margin-inline: auto;
  padding: 80px 24px;
}

.software-text {
  margin: 16px 0 0;
  line-height: 1.5rem;
  color: var(--muted-foreground);
}

.terminal {
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background-color: var(--terminal);
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.terminal-dots {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 9999px;
}

.dot-red {
  background-color: var(--destructive);
}

.dot-grey {
  background-color: var(--muted-foreground);
}

.dot-green {
  background-color: var(--primary);
}

.terminal-line {
  margin: 0;
  color: var(--muted-foreground);
}

.terminal-prompt {
  margin-top: 16px;
}

.terminal-cmd {
  color: var(--foreground);
}

.tool-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 8px;
  margin-top: 12px;
}

.tool-list span {
  color: var(--primary);
}

.cursor {
  color: var(--foreground);
  animation: blink 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* ---------- colleges ---------- */

.feature-grid {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}

.feature-card {
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background-color: var(--background);
  padding: 24px;
}

.feature-card h3 {
  margin: 16px 0 0;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
}

.feature-card p {
  margin: 8px 0 0;
  line-height: 1.5rem;
  color: var(--muted-foreground);
}

/* ---------- footer ---------- */

.site-footer {
  max-width: 1152px;
  margin-inline: auto;
  padding: 40px 24px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--muted-foreground);
}

/* ---------- breakpoints (640px / 768px / 1024px) ---------- */

@media (min-width: 640px) {
  .site-nav {
    display: flex;
  }

  .hero-title {
    font-size: 3.75rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
  }

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

  .tool-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .hero,
  .software {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spec-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .cursor {
    animation: none;
  }
}
