/* Helmet — LIGHT home (Groundcraft_Light comp), enqueued ONLY on the front page.
 * Verbatim from the comp <style> block, adapted so animation/reveal/typography live
 * in classes (safecss strips them from inline styles for logged-out visitors) and
 * colours flow through semantic tokens (so the page also renders coherently in the
 * dark theme). Reveal gating uses `html.gc-anim` (set by site.js) to stay decoupled
 * from the /platform/ dark block's `data-anim`. */

body { margin: 0; background: var(--canvas); }
.gc-home-light a { color: var(--brand-strong); text-decoration: none; }
.gc-home-light a:hover { color: var(--brand-hover); }
::selection { background: var(--brand); color: var(--brand-ink); }

/* ---- comp keyframes (gc-pulse lives in tokens.css) ---- */
@keyframes gcUp   { from { transform: translateY(104%); } to { transform: translateY(0); } }
@keyframes gcTick { from { transform: translateX(0); }    to { transform: translateX(-50%); } }
@keyframes gcBlink{ 0%,49% { opacity: 1; } 50%,100% { opacity: 0; } }

/* ---- Plus Jakarta Sans replaces mono eyebrows/labels (comp [data-mono]) ---- */
.gc-mono { font-family: 'Plus Jakarta Sans', var(--font-body) !important; font-weight: 700 !important; letter-spacing: .04em !important; }

/* ---- reveal-on-scroll ([data-rv] -> .gc-rv, site.js adds .gc-in) ---- */
html.gc-anim .gc-rv { opacity: 0; transform: translateY(18px); }
html.gc-anim .gc-rv.gc-in { opacity: 1; transform: none; transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }

/* ---- hero staggered line reveal (gcUp) ---- */
.gc-hl, .gc-hl2 { animation: gcUp .9s cubic-bezier(.16,1,.3,1) both; }
.gc-hl2 { animation-delay: .1s; }

/* ---- image hover-zoom ([data-shot] -> .gc-shot) ---- */
.gc-shot { overflow: hidden; }
.gc-shot img { transition: transform 1.1s cubic-bezier(.16,1,.3,1); }
.gc-shot:hover img { transform: scale(1.04); }

/* ---- table row hover ([data-row] -> .gc-row) ---- */
.gc-row { transition: background .12s; }
.gc-row:hover { background: var(--surface-2) !important; }

/* ---- status pulse dot ---- */
.gc-pulse { animation: gc-pulse 1.3s ease-in-out infinite; }

/* ================= #spec comparison table (slot) ================= */
.gc-spec-wrap { overflow-x: auto; }
.gc-spec-table { width: 100%; min-width: 900px; border-collapse: collapse; font-size: 13.5px; }

/* ================= #ai terminal (slot) ================= */
.gc-term { border: 1px solid var(--border); border-radius: 22px; background: var(--canvas); padding: 20px; }
.gc-term__live { display: flex; align-items: center; gap: 9px; font-size: 10.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.gc-term__dot { width: 8px; height: 8px; border-radius: 999px; background: var(--brand); flex: 0 0 auto; display: inline-block; }
.gc-term__cmd { font-size: 13.5px; line-height: 1.5; color: var(--brand-strong); min-height: 2.6em; word-break: break-word; }
.gc-term__cursor { display: inline-block; width: 8px; height: 1.05em; vertical-align: -3px; background: var(--brand); margin-left: 2px; animation: gcBlink 1s steps(1) infinite; }
.gc-term__rule { height: 1px; background: var(--border); margin: 14px 0; }
.gc-term__rows { display: flex; flex-direction: column; gap: 9px; min-height: 120px; }
.gc-term__row { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--ink-2); }
.gc-term__row.gc-t-off { display: none; }
.gc-term__ok { color: var(--brand-strong); }
.gc-term__verdict { color: var(--brand-strong); }
.gc-term__note { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted); text-wrap: pretty; }

/* ================= #services (dark band — theme-stable) ================= */
.gc-svc { background: var(--grey-950); }
.gc-svc__inner { max-width: 1320px; margin: 0 auto; padding: 76px 28px 82px; }
.gc-svc__eyebrow { display: flex; align-items: baseline; gap: 18px; margin-bottom: 28px; }
.gc-svc__num { font-size: 11px; text-transform: uppercase; color: var(--brand); }
.gc-svc__lead { font-size: 11px; text-transform: uppercase; color: #8b9086; }
.gc-svc__hr { flex: 1 1 0%; height: 1px; background: var(--nav-border); }
.gc-svc__all { font-size: 11px; text-transform: uppercase; color: var(--brand); }
.gc-svc__head { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; align-items: end; margin-bottom: 36px; }
.gc-svc__h2 { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -.026em; line-height: .96; color: #fff; font-size: clamp(28px, 4.2vw, 52px); text-wrap: balance; }
.gc-svc__p { margin: 0; font-size: 14.5px; line-height: 1.65; color: #a8ada2; max-width: 480px; justify-self: end; text-wrap: pretty; }
.gc-svc__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.gc-svc__card { display: block; background: rgba(255,255,255,.04); border: 1px solid var(--nav-border); border-radius: 14px; padding: 20px; color: inherit; }
.gc-svc__title { display: block; font-family: var(--font-display); font-size: 15px; color: #fff; }
.gc-svc__desc { margin: 8px 0 12px; font-size: 13px; line-height: 1.5; color: #a8ada2; }
.gc-svc__price { font-size: 12px; color: var(--brand); }

/* ================= dispatch teaser (light — flips) ================= */
.gc-disp__inner { max-width: 1320px; margin: 0 auto; padding: 70px 28px 76px; }
.gc-disp__eyebrow { display: flex; flex-wrap: wrap; align-items: baseline; gap: 18px; margin-bottom: 28px; }
.gc-disp__num { font-size: 11px; text-transform: uppercase; color: var(--brand-strong); }
.gc-disp__lead { font-size: 11px; text-transform: uppercase; color: var(--muted); }
.gc-disp__hr { flex: 1 1 0%; height: 1px; background: var(--border); }
.gc-disp__all { font-size: 11px; text-transform: uppercase; color: var(--brand-strong); }
.gc-disp__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.gc-disp__card { display: block; color: inherit; }
.gc-disp__thumb { border-radius: 16px; background: var(--surface-3); aspect-ratio: 3 / 2; }
.gc-disp__img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 16px; }
.gc-disp__desk { font-size: 10.5px; text-transform: uppercase; color: var(--brand-strong); margin-top: 14px; }
.gc-disp__h3 { margin: 8px 0; font-family: var(--font-display); font-size: 20px; font-weight: 600; line-height: 1.18; letter-spacing: -.01em; color: var(--ink); text-wrap: pretty; }
.gc-disp__p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); }

/* ---- reduced motion: static final states, no motion ---- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  html.gc-anim .gc-rv { opacity: 1 !important; transform: none !important; }
  .gc-hl, .gc-hl2 { transform: none !important; }
}
