/* ColdAisle marketing site — product palette from sabap/ColdAisle assets/css/app.css */
:root {
  --bg: #0b1220;
  --surface: #111827;
  --surface-2: #1a2332;
  --surface-3: #243044;
  --border: #2a3648;
  --text: #e5eef7;
  --muted: #8b9bb0;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --accent-dim: #1e3a5f;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --fiber: #eab308;
  --radius: 10px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Cascadia Code", "Consolas", monospace;
  --header-h: 64px;
  --shadow: 0 12px 40px rgba(0, 0, 0, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #93c5fd; }
a:focus-visible, button:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
}
code, .ver-chip {
  font-family: var(--mono);
  font-size: .88em;
}
code {
  background: var(--surface-2);
  padding: .12em .4em;
  border-radius: 4px;
  border: 1px solid var(--border);
}
.muted { color: var(--muted); font-size: .92rem; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }

.skip-link {
  position: absolute; left: .75rem; top: -3rem;
  background: var(--accent); color: #fff; padding: .4rem .7rem;
  border-radius: 6px; z-index: 100;
}
.skip-link:focus { top: .75rem; color: #fff; }

.site-header {
  background: rgba(17, 24, 39, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 40;
}
.header-inner {
  display: flex; align-items: center; gap: 1rem;
  min-height: var(--header-h);
}
.brand {
  display: flex; align-items: center; gap: .7rem;
  color: var(--text); font-weight: 600;
}
.brand:hover { color: var(--text); }
.brand-logo {
  width: 36px; height: 36px; border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, .25);
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text small { font-weight: 500; color: var(--muted); font-size: .7rem; }
.site-nav {
  margin-left: auto;
  display: flex; align-items: center; gap: .15rem 1rem;
  font-size: .92rem;
}
.nav-link { color: var(--muted); padding: .35rem 0; }
.nav-link:hover, .nav-link.is-active { color: #93c5fd; }
.nav-link.is-active { font-weight: 600; }
.nav-toggle {
  display: none; margin-left: auto;
  width: 42px; height: 42px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 8px; padding: 10px 9px;
  flex-direction: column; justify-content: space-between;
  cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--text); border-radius: 1px;
}

.btn {
  display: inline-block; padding: .55rem 1.05rem; border-radius: 8px;
  font-weight: 600; font-size: .92rem; border: 1px solid transparent;
  line-height: 1.3;
}
.btn-sm { padding: .4rem .8rem; font-size: .85rem; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-secondary {
  background: var(--surface-3); color: var(--text); border-color: var(--border);
}
.btn-secondary:hover { color: #fff; border-color: #3d4d66; }
.btn-ghost { color: #93c5fd; border-color: var(--border); background: transparent; }
.btn-ghost:hover { border-color: #93c5fd; }
.cta { display: flex; flex-wrap: wrap; gap: .65rem; margin: 1.35rem 0 0; }

.hero {
  padding: 3.25rem 0 2.5rem;
  background:
    radial-gradient(900px 380px at 80% -10%, rgba(59, 130, 246, .18), transparent 60%),
    radial-gradient(700px 280px at 10% 110%, rgba(139, 92, 246, .12), transparent 55%);
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 2rem; align-items: center;
}
.hero h1, .page-hero h1 {
  font-size: clamp(1.7rem, 4vw, 2.45rem);
  line-height: 1.18; letter-spacing: -.02em;
  margin: .65rem 0 1rem;
}
.lede { color: var(--muted); font-size: 1.08rem; max-width: 42rem; }
.version-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--mono); font-size: .78rem;
  color: #93c5fd; background: var(--accent-dim);
  border: 1px solid #2a4a78; border-radius: 999px;
  padding: .25rem .7rem;
}
.version-badge::before {
  content: ""; width: .45rem; height: .45rem; border-radius: 50%;
  background: var(--success); box-shadow: 0 0 0 3px rgba(34, 197, 94, .18);
}
.hero-shot {
  display: block; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow);
  background: var(--surface);
}
.hero-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.page-hero {
  padding: 2.5rem 0 1.75rem;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(800px 260px at 0% 0%, rgba(59, 130, 246, .12), transparent 55%);
}
.eyebrow {
  text-transform: uppercase; letter-spacing: .12em;
  font-size: .72rem; font-weight: 700; color: #7dd3fc; margin: 0;
}

.section { padding: 2.75rem 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--border); }
.section-head { margin-bottom: 1.35rem; }
.section-head h2, .prose h2, .cta-band h2 { margin: 0 0 .4rem; font-size: 1.45rem; }
.section-more { margin: 1.25rem 0 0; }

.shot-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.shot-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; color: var(--text);
}
.shot-card:hover { border-color: #3d4d66; color: var(--text); }
.shot-card img { aspect-ratio: 16 / 10; object-fit: cover; background: var(--surface-2); }
.shot-meta { padding: .7rem .85rem 0.85rem; display: flex; flex-direction: column; gap: .15rem; }

.stat-row, .feature-grid, .split-2 {
  display: grid; gap: 1rem;
}
.stat-row { grid-template-columns: repeat(3, 1fr); }
.feature-grid { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.migrate-band {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 2rem; align-items: center;
}
.migrate-band h2 { margin: .35rem 0 .6rem; }
.split-2 { grid-template-columns: 1fr 1fr; }
.card, .stat-card {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.1rem 1.15rem;
}
.stat-card { background: var(--bg); }
.stat-k {
  display: block; font-size: .72rem; letter-spacing: .08em;
  text-transform: uppercase; color: #7dd3fc; margin-bottom: .35rem;
}
.card h3, .stat-card strong { margin: 0 0 .35rem; display: block; }
.card p:last-child { margin-bottom: 0; }

.feature-list { display: grid; gap: 1rem; }
.feature-block {
  display: grid; grid-template-columns: minmax(16rem, 1fr) 1.15fr; gap: 1.25rem;
  align-items: center;
  padding: 1.2rem 1.25rem; border: 1px solid var(--border);
  border-radius: var(--radius); background: var(--surface);
}
.feature-block h2 { margin: 0 0 .35rem; font-size: 1.2rem; }
.feature-block ul { margin: .75rem 0 0; padding-left: 1.15rem; color: var(--muted); }
.feature-block li + li { margin-top: .35rem; }
.feature-shot {
  display: block; border-radius: 8px; overflow: hidden;
  border: 1px solid var(--border); background: var(--surface-2);
}
.feature-shot img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: top left; }
.shot-card img { aspect-ratio: 16 / 11; object-fit: cover; object-position: top left; }
.hero-shot img { aspect-ratio: 16 / 11; object-fit: cover; object-position: top left; }
.shot-grid-tour { margin-top: .25rem; }

.gallery { display: grid; gap: 2rem; }
.gallery-item { margin: 0; }
.gallery-item img {
  width: 100%; border-radius: 12px; border: 1px solid var(--border);
  background: var(--surface); box-shadow: var(--shadow);
  aspect-ratio: 16 / 10; object-fit: cover;
}
.gallery-item figcaption { padding: .75rem .15rem 0; display: flex; flex-direction: column; gap: .2rem; }

.release-teaser, .cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  flex-wrap: wrap;
}
.release-teaser h2 { margin: .2rem 0 .35rem; }
.release-list { display: grid; gap: 1rem; }
.release-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.15rem 1.25rem 1.3rem;
}
.release-head h2 { margin: 0; font-size: 1.25rem; font-family: var(--mono); }
.release-head p { margin: .3rem 0 0; }
.cat-heading {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .08em;
  margin: 1rem 0 .4rem;
}
.cat-new { color: #86efac; }
.cat-enh { color: #93c5fd; }
.cat-fix { color: #fcd34d; }
.release-notes { margin: 0; padding-left: 1.15rem; color: var(--muted); }
.release-notes li + li { margin-top: .3rem; }
.pill {
  display: inline-block; font-size: .7rem; font-weight: 700;
  padding: .1rem .45rem; border-radius: 999px; vertical-align: middle;
  margin-left: .4rem;
}
.pill-warn { background: rgba(245, 158, 11, .15); color: var(--warning); border: 1px solid rgba(245, 158, 11, .35); }
.ver-chip {
  display: inline-block; font-size: .72rem; color: #93c5fd;
  background: var(--accent-dim); border-radius: 999px; padding: 0 .4rem;
}

.prose h2 { margin-top: 2rem; }
.prose :first-child { margin-top: 0; }
.table-wrap { overflow-x: auto; margin: 1rem 0; }
table {
  width: 100%; border-collapse: collapse; font-size: .92rem;
}
th, td {
  text-align: left; padding: .55rem .7rem;
  border-bottom: 1px solid var(--border);
}
th { color: var(--muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.code-block {
  background: #070c16; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem 1.1rem;
  overflow-x: auto; font-family: var(--mono); font-size: .82rem;
  line-height: 1.5; color: #dbeafe;
}
.callout {
  margin: 1.5rem 0 0;
  padding: .9rem 1rem;
  border-left: 3px solid var(--fiber);
  background: var(--surface-2);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.callout-warn { border-left-color: var(--warning); }

.site-footer {
  padding: 2.25rem 0 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted); font-size: .88rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr .8fr .9fr; gap: 1.75rem;
  margin-bottom: 1.75rem;
}
.footer-brand { margin-bottom: .6rem; }
.footer-heading {
  font-size: .75rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--text); margin: 0 0 .6rem;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li + li { margin-top: .35rem; }
.footer-meta {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-top: 1rem; border-top: 1px solid var(--border); font-size: .8rem;
}

.grok-credit {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem;
  align-items: start;
}
.grok-mark {
  display: grid; place-items: center;
  width: 64px; height: 64px;
  border-radius: 12px;
  background: #0a0a0a;
  color: #e8e8e8;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.grok-mark img { width: 36px; height: 36px; }
.grok-mark:hover { color: #fff; border-color: #525252; }
.grok-credit h2 { margin-top: 0; }

.contact-layout {
  display: grid; grid-template-columns: 1.4fr .7fr; gap: 1.5rem; align-items: start;
}
.contact-form { display: grid; gap: .85rem; max-width: 36rem; }
.contact-form label { display: grid; gap: .3rem; font-weight: 600; font-size: .92rem; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  font: inherit; font-weight: 400;
  color: var(--text); background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 8px;
  padding: .55rem .7rem; width: 100%;
}
.contact-form textarea { resize: vertical; min-height: 10rem; }
.contact-form button:disabled,
.contact-form input:disabled,
.contact-form textarea:disabled { opacity: .55; cursor: not-allowed; }
.contact-form .hp {
  position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden;
}
.g-recaptcha { margin-top: .25rem; }
.stats-h { margin: 2rem 0 .6rem; font-size: 1.15rem; }
.stats-cols { margin-top: 1rem; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(5, 8, 14, .88);
  display: none; align-items: center; justify-content: center;
  padding: 1.5rem;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(1200px, 96vw);
  max-height: 86vh;
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.lightbox-cap {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  color: var(--muted); font-size: .85rem; max-width: 80vw; text-align: center;
}
.lightbox-close {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--surface-3); color: var(--text);
  border: 1px solid var(--border); border-radius: 8px;
  width: 40px; height: 40px; font-size: 1.3rem; cursor: pointer;
}

@media (max-width: 900px) {
  .hero-grid, .feature-block, .stat-row, .feature-grid, .split-2, .footer-grid, .contact-layout, .migrate-band, .grok-credit {
    grid-template-columns: 1fr;
  }
  .shot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .grok-credit { grid-template-columns: 1fr; }
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: .75rem 1.25rem 1rem; gap: .35rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav .btn { text-align: center; margin-top: .35rem; }
  .shot-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 2rem; }
}
