/* Development Hub — aligned with dimarcoindustries.com (zinc dark) */
:root {
  --background: #09090b;
  --foreground: #fafafa;
  --muted: #a1a1aa;
  --surface: #111113;
  --border: rgba(255, 255, 255, 0.1);
  --accent: #e4e4e7;
  --accent-fg: #09090b;
  --ring: #d4d4d8;
  --danger: #f87171;
  --font: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--foreground);
  background: var(--background);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: #27272a;
  color: #fafafa;
}

a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--foreground);
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 255, 255, 0.06), transparent 55%),
    var(--background);
}

.grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 10%, transparent 70%);
}

.bloom {
  display: none;
}

.top,
.hero,
.band,
.foot {
  position: relative;
  z-index: 1;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  max-width: 80rem;
  margin: 0 auto;
}

.top-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--foreground);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.top-brand img {
  opacity: 0.95;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.875rem;
}

.top-nav a {
  color: var(--muted);
}

.top-nav a:hover {
  color: var(--foreground);
}

.top-signin {
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  color: var(--foreground) !important;
  background: transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.top-signin:hover {
  background: rgba(255, 255, 255, 0.05);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  min-height: calc(100vh - 4.5rem);
  max-width: 80rem;
  margin: 0 auto;
  padding: clamp(1.5rem, 5vh, 3rem) clamp(1.25rem, 4vw, 3rem) 3rem;
}

.hero-copy {
  animation: copy-rise 0.7s ease both;
}

@keyframes copy-rise {
  from { opacity: 0; transform: translateY(0.75rem); }
  to { opacity: 1; transform: none; }
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand {
  margin: 0;
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--foreground);
}

.lede {
  margin: 1.15rem 0 0;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2vw, 1.125rem);
  color: var(--muted);
  line-height: 1.65;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  padding: 0 1rem;
  border-radius: 0.375rem;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: opacity 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  color: var(--accent-fg);
  background: var(--accent);
  border: none;
}

.btn-primary:hover {
  color: var(--accent-fg);
  opacity: 0.9;
}

.btn-ghost {
  color: var(--foreground);
  background: transparent;
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin: 1.5rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.meta a {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
}

.meta a:hover {
  color: var(--foreground);
}

.dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.hero-visual {
  animation: panel-in 0.7s 0.1s ease both;
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(0.75rem); }
  to { opacity: 1; transform: none; }
}

.panel-frame {
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--surface);
  overflow: hidden;
}

.panel-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.panel-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.panel-bar span:nth-child(1) { background: #f87171; }
.panel-bar span:nth-child(2) { background: #fbbf24; }
.panel-bar span:nth-child(3) { background: #4ade80; }

.panel-bar code {
  margin-left: 0.75rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
}

.panel-code {
  margin: 0;
  padding: 1.35rem 1.25rem 1.5rem;
  font-family: var(--mono);
  font-size: clamp(0.78rem, 1.5vw, 0.9rem);
  line-height: 1.65;
  color: var(--foreground);
  white-space: pre-wrap;
}

.panel-code .k { color: var(--accent); }
.panel-code .s { color: var(--muted); }
.panel-code .c { color: rgba(161, 161, 170, 0.7); }

.band {
  max-width: 80rem;
  margin: 0 auto;
  padding: 3rem clamp(1.25rem, 4vw, 3rem);
  border-top: 1px solid var(--border);
}

.band h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--foreground);
}

.band p {
  margin: 0 0 1rem;
  max-width: 40rem;
  color: var(--muted);
}

.doc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.doc-list li {
  color: var(--muted);
  font-size: 0.95rem;
}

.doc-list a {
  font-weight: 600;
  margin-right: 0.35rem;
  color: var(--foreground);
}

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  max-width: 80rem;
  margin: 0 auto;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem) 2.5rem;
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.foot a {
  color: var(--muted);
}

.foot a:hover {
  color: var(--foreground);
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 1.25rem;
  }

  .hero-visual {
    order: -1;
  }

  .top-nav a:not(.top-signin) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
