/* ==========================================================================
   Baja AI Builders — coming-soon teaser (light theme)
   Plain CSS, no build step. Palette + type per brand spec.
   ========================================================================== */

:root {
  --navy: #071A26;
  --navy-deep: #04121b;
  --navy-dim: rgba(7, 26, 38, 0.75);
  --navy-faint: rgba(7, 26, 38, 0.5);
  --cream: #F5F0E6;
  --orange: #FF6B35;
  --orange-dark: #B84A18; /* accent that passes AA as text on cream */
  --line: rgba(7, 26, 38, 0.16);
  --line-on-dark: rgba(245, 240, 230, 0.14);

  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--navy);
  background-color: var(--cream);
  background-image: radial-gradient(rgba(7, 26, 38, 0.09) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-font-smoothing: antialiased;
}

p, h1 { margin: 0; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--orange-dark);
  outline-offset: 3px;
  border-radius: 2px;
}

.accent { color: var(--orange-dark); }

/* Top bar ------------------------------------------------------------------ */

.top {
  display: flex;
  justify-content: center;
  padding: 1.75rem 1.5rem 0;
}

.brand {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

/* Hero ----------------------------------------------------------------------- */

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(2.5rem, 6vh, 5rem) 1.5rem;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy-dim);
  margin-bottom: 1.75rem;
}

.title {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(2.7rem, 8vw, 4.75rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.desc {
  max-width: 33rem;
  margin-top: 1.5rem;
  font-size: 1.1rem;
  color: var(--navy-dim);
}

/* Terminal card (stays dark) --------------------------------------------------- */

.terminal {
  width: min(100%, 23.5rem);
  margin-top: 2.75rem;
  text-align: left;
  color: var(--cream);
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 28px 56px -28px rgba(7, 26, 38, 0.55);
}

.terminal .accent { color: var(--orange); }

.terminal__bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  background: var(--navy-deep);
  border-bottom: 1px solid var(--line-on-dark);
}

.terminal__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(245, 240, 230, 0.22);
}

.terminal__path {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(245, 240, 230, 0.45);
}

.terminal__body {
  padding: 1.15rem 1.25rem 1.35rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 2.1;
}

.terminal__soon {
  color: var(--orange);
  font-weight: 500;
}

.terminal__cursor {
  display: inline-block;
  width: 0.55em;
  height: 1.05em;
  vertical-align: text-bottom;
  background: var(--orange);
}
@media (prefers-reduced-motion: no-preference) {
  .terminal__cursor { animation: blink 1.1s steps(1) infinite; }
}
@keyframes blink { 50% { opacity: 0; } }

/* CTA --------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  margin-top: 2.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--navy);
  background: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 4px;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}
.btn:hover {
  color: var(--cream);
  background: var(--navy);
  border-color: var(--navy);
}

.hint {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--navy-faint);
}

/* Footer -------------------------------------------------------------------------- */

.footer {
  padding: 1.75rem 1.5rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--navy-faint);
  text-align: center;
}

.footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 1rem;
}

.footer__links li + li::before {
  content: "·";
  color: var(--orange-dark);
  margin-right: 1rem;
}

.footer a {
  color: var(--navy-dim);
  text-decoration-color: var(--navy-faint);
  text-underline-offset: 3px;
  transition: color 140ms ease;
}
.footer a:hover { color: var(--orange-dark); }

/* Reduced motion: kill transitions too */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
