/* ─── Cloud Terminal landing page (placeholder) ──────────
 * Mobile-first, dark-only, zero JavaScript.
 * Slim footprint — this is a stand-in until real content
 * lands in a follow-up PR. See landing/README.md.
 * ──────────────────────────────────────────────────────── */

:root {
  --bg: #0a0a1a;
  --surface: #14142a;
  --surface-2: #1a1a2e;
  --border: #26263e;
  --text: #e5e7eb;
  --text-muted: #94a3b8;
  --text-dimmer: #818ba0;  /* ≥4.5:1 on --bg, for fine print */
  --accent: #7dd3fc;
  --accent-strong: #38bdf8;
  --radius: 10px;
  --maxw: 720px;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Fira Code", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(15px, 1vw + 0.6rem, 17px);
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, #1d1d3d 0%, transparent 60%),
    var(--bg);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}
@media (hover: hover) and (pointer: fine) {
  /* Fixed background looks nicer on desktop where it's free; on mobile
   * it triggers full-viewport repaints on touch scroll. */
  body { background-attachment: fixed; }
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover, a:focus-visible { color: var(--accent-strong); text-decoration: underline; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

h1 {
  font-size: clamp(2.25rem, 6vw + 0.5rem, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 0.5em;
  color: #f1f5f9;
}

/* ─── Skip link ────────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--bg);
  padding: 0.5rem 1rem;
  border-radius: 0 0 var(--radius) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; z-index: 10; }

/* ─── Header ───────────────────────────────────────────── */
.site-header {
  display: flex;
  align-items: center;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 1.5rem) clamp(1rem, 4vw, 2rem);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
}
.brand:hover, .brand:focus-visible { color: var(--text); text-decoration: none; }
.brand-mark {
  font-family: var(--mono);
  color: var(--accent);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.2rem 0.5rem;
  font-weight: 700;
}

/* ─── Hero ─────────────────────────────────────────────── */
main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero {
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: clamp(2rem, 8vw, 5rem) clamp(1rem, 4vw, 2rem);
}
.eyebrow {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}
.lede {
  color: #cbd5e1;
  font-size: clamp(1.05rem, 1.5vw + 0.4rem, 1.25rem);
  max-width: 56ch;
  margin: 0 0 1.5rem;
}
.placeholder-note {
  color: var(--text-muted);
  max-width: 56ch;
  font-size: 0.95rem;
  margin: 0;
}

/* ─── Footer ───────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: clamp(1.25rem, 4vw, 2rem) clamp(1rem, 4vw, 2rem) calc(env(safe-area-inset-bottom) + 1.25rem);
  text-align: center;
  color: var(--text-dimmer);
  font-size: 0.85rem;
}
.site-footer p { margin: 0; }
.footer-fine { color: var(--text-dimmer); }
