/* ZOI Studio
 * Palette sampled from the logo: electric blue and violet from the controller,
 * orange from the headset strap, gold from the Z medallion. The artwork sits on
 * near-black, so the site does too -- the mark then reads as part of the page
 * rather than a sticker on top of it.
 */
:root {
  --bg:        #06080c;
  --bg-2:      #0a0e15;
  --surface:   #0d121b;
  --border:    rgba(255, 255, 255, 0.07);
  --border-lit:rgba(255, 255, 255, 0.14);

  --fg:        #f4f7fb;
  --body:      #aab6c9;
  --muted:     #6d7a8d;

  --blue:      #18a4ff;
  --violet:    #7c5cff;
  --orange:    #ff7a3d;
  --gold:      #e0b44a;

  --grad:      linear-gradient(135deg, var(--blue), var(--violet));
  --grad-warm: linear-gradient(135deg, var(--orange), var(--gold));

  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font: 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.wrap { width: min(72rem, 100% - 3rem); margin-inline: auto; }
a { color: inherit; }

/* ---------------------------------------------------------------- eyebrow */
/* Monospace labels are the "coder" half of the identity -- they read as
   source comments against the display type of the headings. */
.eyebrow {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}
.eyebrow::before { content: "// "; color: var(--blue); }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: saturate(180%) blur(14px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; gap: .85rem; padding: .85rem 0; }
.logo { width: 42px; height: 42px; border-radius: 11px; flex: 0 0 auto; }
.brand b { display: block; color: var(--fg); font-size: 1rem; letter-spacing: -.01em; line-height: 1.2; }
.brand span { font-family: var(--mono); font-size: .7rem; color: var(--muted); letter-spacing: .04em; }
.site-header nav { margin-left: auto; display: flex; gap: 1.5rem; align-items: center; }
.site-header nav a { color: var(--muted); text-decoration: none; font-size: .9rem; transition: color .18s; }
.site-header nav a:hover { color: var(--fg); }
.site-header .cta {
  padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--border-lit);
  color: var(--fg); font-size: .88rem;
}
.site-header .cta:hover { border-color: var(--blue); }
@media (max-width: 34rem) { .site-header nav a:not(.cta) { display: none; } }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: 7rem 0 5rem; overflow: hidden; }
/* Two soft light sources in the brand hues give the flat background depth
   without an image request. */
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px);
  pointer-events: none; z-index: 0;
}
.hero::before {
  width: 34rem; height: 34rem; top: -12rem; left: -8rem;
  background: radial-gradient(circle, rgba(24,164,255,.20), transparent 70%);
}
.hero::after {
  width: 28rem; height: 28rem; top: -6rem; right: -6rem;
  background: radial-gradient(circle, rgba(124,92,255,.18), transparent 70%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.4rem, 6.2vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -.035em;
  color: var(--fg);
  font-weight: 750;
  max-width: 20ch;
}
.hero h1 .grad {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lede { margin: 0 0 2rem; font-size: clamp(1rem, 2vw, 1.15rem); max-width: 46ch; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.35rem; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: .95rem;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 26px rgba(24,164,255,.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 34px rgba(24,164,255,.4); }
.btn-ghost { border: 1px solid var(--border-lit); color: var(--fg); }
.btn-ghost:hover { border-color: var(--blue); transform: translateY(-2px); }

/* ---------------------------------------------------------------- sections */
section { padding: 4.5rem 0; }
section h2 {
  margin: 0 0 2.25rem; font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  letter-spacing: -.025em; color: var(--fg); font-weight: 700; max-width: 24ch;
}

.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.card {
  position: relative; padding: 1.6rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  transition: border-color .2s, transform .2s, background .2s;
}
.card:hover { border-color: var(--border-lit); transform: translateY(-3px); background: var(--bg-2); }
.card .ico {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  margin-bottom: 1rem; background: rgba(24,164,255,.1); border: 1px solid rgba(24,164,255,.22);
}
.card:nth-child(2) .ico { background: rgba(124,92,255,.1); border-color: rgba(124,92,255,.22); }
.card:nth-child(3) .ico { background: rgba(255,122,61,.1); border-color: rgba(255,122,61,.22); }
.card:nth-child(4) .ico { background: rgba(224,180,74,.1); border-color: rgba(224,180,74,.22); }
.card .ico svg { width: 20px; height: 20px; stroke: var(--blue); fill: none; stroke-width: 1.6; }
.card:nth-child(2) .ico svg { stroke: var(--violet); }
.card:nth-child(3) .ico svg { stroke: var(--orange); }
.card:nth-child(4) .ico svg { stroke: var(--gold); }
.card h3 { margin: 0 0 .45rem; font-size: 1.05rem; color: var(--fg); letter-spacing: -.01em; }
.card p { margin: 0; font-size: .93rem; line-height: 1.65; }

/* stack strip */
.stack { border-block: 1px solid var(--border); background: var(--bg-2); }
.stack .wrap { display: flex; flex-wrap: wrap; gap: .55rem; padding: 2.5rem 0; }
.chip {
  font-family: var(--mono); font-size: .78rem; color: var(--body);
  padding: .35rem .8rem; border: 1px solid var(--border); border-radius: 999px;
}

/* contact */
.contact-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  padding: clamp(1.75rem, 4vw, 3rem); text-align: center;
}
.contact-card h2 { margin-inline: auto; }
.contact-card p { margin: 0 auto 1.75rem; max-width: 44ch; }

/* footer */
.site-footer { border-top: 1px solid var(--border); padding: 2rem 0 3.5rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.site-footer p { margin: 0; font-size: .85rem; color: var(--muted); }
.site-footer nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 1.35rem; }
.site-footer a { color: var(--muted); text-decoration: none; font-size: .85rem; }
.site-footer a:hover { color: var(--fg); }
