/* zeusi.ai landing: static, no JS, no third-party requests. */
:root {
  --bg: #10141d;
  --bg-raised: #171c28;
  --line: #2a3142;
  --cream: #fef7ed;
  --text: #eef0f4;
  --muted: #c3c8d2;
  --orange: #d98b45;
  --orange-hover: #e59c58;
  --green: #4f5d42;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --pad: clamp(1.25rem, 5.5vw, 5.5rem);
}

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

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

body {
  margin: 0;
  background-color: var(--bg);
  /* Faint faceted planes, as in the dark mockup. */
  background-image:
    linear-gradient(118deg, transparent 0 46%, rgb(255 255 255 / 0.012) 46% 63%, transparent 63%),
    linear-gradient(64deg, transparent 0 58%, rgb(255 255 255 / 0.009) 58% 74%, transparent 74%),
    linear-gradient(160deg, transparent 0 70%, rgb(0 0 0 / 0.12) 70%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

/* Logo: same SVG shapes everywhere, colour from currentColor. */
.logo { display: block; width: auto; height: 100%; }
.brand { display: inline-block; height: clamp(2.25rem, 3.4vw, 2.9rem); color: var(--cream); }
.logo-green, .on-light .brand { color: var(--green); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(1.5rem, 4vh, 3rem) var(--pad);
}

.hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.hero-copy .brand { margin-bottom: clamp(2.5rem, 12vh, 7.5rem); }

h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.6rem, 4.7vw, 4.75rem);
  font-weight: 650;
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.sub {
  margin: clamp(1.25rem, 3.5vh, 2rem) 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  line-height: 1.6;
}
h1 span, .sub span { display: block; }

.actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: clamp(1.75rem, 5vh, 2.75rem); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.8rem 1.9rem;
  border-radius: 6px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.btn-primary { background: var(--orange); color: var(--bg); }
.btn-primary:hover { background: var(--orange-hover); }

.hero-art {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-art img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(calc(100svh - 3rem), 720px);
  /* Fade the illustration's own navy edges into the page. */
  -webkit-mask-image: radial-gradient(ellipse 70% 74% at 52% 50%, #000 52%, transparent 88%);
  mask-image: radial-gradient(ellipse 70% 74% at 52% 50%, #000 52%, transparent 88%);
}

/* Connect */
.connect {
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(3rem, 10vh, 6rem) var(--pad) clamp(4rem, 12vh, 7rem);
  border-top: 1px solid var(--line);
}
.connect h2 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 650;
  letter-spacing: -0.015em;
}
.connect h3 { margin: 2.25rem 0 0.75rem; color: var(--cream); font-size: 1.05rem; font-weight: 600; }
.connect p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.connect .note { margin-top: 2rem; font-size: 0.98rem; }

pre {
  margin: 0;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 8px;
}
code { font-family: var(--mono); font-size: 0.92em; }
pre code { color: var(--cream); font-size: 0.9rem; line-height: 1.6; }
p code { color: var(--text); }

/* Phone and narrow tablets: copy first, then the art. */
@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 1.75rem;
    gap: 2rem;
  }
  .hero-copy .brand { margin-bottom: 2.5rem; }
  h1 { font-size: clamp(2.35rem, 11vw, 3.5rem); }
  .hero-art img { width: min(100%, 26rem); max-height: none; }
  .btn { width: 100%; }
  pre { padding: 0.9rem 1rem; }
  pre code { font-size: 0.74rem; }
  pre.wrap code { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 0.85rem; }
  .actions { width: 100%; }
}
