/* ===========================================================
   Gantry — landing styles (dark, premium)
   =========================================================== */

:root {
  /* Surface / ink */
  --bg:        #060a10;
  --bg-2:      #08111c;
  --ink:       #0b2942;
  --panel:     rgba(255, 255, 255, 0.035);
  --panel-2:   rgba(255, 255, 255, 0.06);
  --panel-3:   rgba(255, 255, 255, 0.09);
  --border:    rgba(255, 255, 255, 0.09);
  --border-hi: rgba(255, 255, 255, 0.16);

  /* Text */
  --text:     #eaf2fa;
  --text-dim: #93a8bb;
  --text-mut: #5d7286;

  /* Brand */
  --crane:      #f6863a;
  --crane-2:    #ff9d52;
  --crane-deep: #d96a22;
  --steel:      #4f9cec;
  --steel-deep: #2b6cb0;
  --water:      #5aa0e6;
  --navy:       #0b2942;

  /* State */
  --green: #30d158;
  --red:   #ff5f57;
  --amber: #febc2e;
  --violet:#a78bfa;

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  --mono: "SF Mono", ui-monospace, "JetBrains Mono", Menlo, Monaco, "Cascadia Code", monospace;

  --maxw: 1180px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 11px;

  --shadow-window: 0 40px 120px -30px rgba(0,0,0,0.85), 0 0 0 1px rgba(255,255,255,0.06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Ambient backdrop: deep navy radial wash + faint grid + grain */
.bg-field {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(1200px 700px at 50% -8%, rgba(43,108,176,0.20), transparent 60%),
    radial-gradient(900px 600px at 85% 8%, rgba(246,134,58,0.10), transparent 55%),
    radial-gradient(1100px 800px at 12% 22%, rgba(20,46,72,0.55), transparent 60%),
    linear-gradient(180deg, #070d15, #05080d 60%);
}
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(900px 700px at 50% 0%, #000 0%, transparent 72%);
          mask-image: radial-gradient(900px 700px at 50% 0%, #000 0%, transparent 72%);
  opacity: 0.6;
}
.bg-grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ============================ Nav ============================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s;
}
.nav.scrolled {
  background: rgba(8, 14, 22, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 15px 28px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 650; font-size: 1.06rem; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; filter: drop-shadow(0 3px 7px rgba(0,0,0,0.45)); }
.nav-links { margin-left: 12px; display: flex; gap: 4px; }
.nav-links a {
  color: var(--text-dim);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 9px;
  transition: color .18s, background .18s;
}
.nav-links a:hover { color: var(--text); background: var(--panel-2); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.gh-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
  color: var(--text-dim);
  font-size: 0.86rem; font-weight: 600;
  transition: border-color .2s, color .2s, transform .2s;
}
.gh-pill:hover { color: var(--text); border-color: var(--border-hi); transform: translateY(-1px); }
.gh-pill svg { width: 16px; height: 16px; }
.gh-pill .star { color: var(--amber); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 10px 18px;
  border-radius: 11px;
  font-weight: 600; font-size: 0.94rem;
  cursor: pointer; border: 1px solid transparent;
  white-space: nowrap;
  transition: transform .16s ease, box-shadow .22s ease, background .2s, border-color .2s;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary {
  color: #1a0e05;
  background: linear-gradient(180deg, var(--crane-2), var(--crane));
  box-shadow: 0 6px 22px -6px rgba(246,134,58,0.6), inset 0 1px 0 rgba(255,255,255,0.45);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -8px rgba(246,134,58,0.7), inset 0 1px 0 rgba(255,255,255,0.45); }
.btn-ghost {
  color: var(--text);
  background: var(--panel-2);
  border-color: var(--border);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--border-hi); background: var(--panel-3); }
.btn-lg { padding: 13px 24px; font-size: 1rem; border-radius: 13px; }

/* ============================ Hero ============================ */
.hero { position: relative; padding: 64px 0 40px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel);
  font-size: 0.82rem; font-weight: 600; color: var(--text-dim);
  letter-spacing: 0.01em;
  margin-bottom: 26px;
}
.eyebrow .tag {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 3px 8px; border-radius: 999px;
  background: linear-gradient(180deg, var(--crane-2), var(--crane));
  color: #1a0e05; text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2.7rem, 6.4vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 680;
  margin: 0 auto 22px;
  max-width: 16ch;
}
.hero h1 .grad {
  background: linear-gradient(110deg, #fff 10%, var(--steel) 52%, var(--crane) 92%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero .tagline {
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
  color: var(--text-dim);
  max-width: 60ch;
  margin: 0 auto 34px;
  line-height: 1.55;
}
.hero .tagline a { color: var(--crane-2); border-bottom: 1px solid rgba(246,134,58,0.35); }
.hero .tagline a:hover { border-color: var(--crane-2); }

.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; align-items: center; }
.brew {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 9px 9px 9px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(4,9,15,0.6);
  font-family: var(--mono); font-size: 0.84rem; color: var(--text-dim);
}
.brew .dollar { color: var(--crane); }
.brew .copy {
  border: 1px solid var(--border);
  background: var(--panel-2);
  color: var(--text-dim);
  font-family: var(--sans); font-size: 0.78rem; font-weight: 600;
  padding: 6px 12px; border-radius: 8px; cursor: pointer;
  transition: color .18s, border-color .18s, background .18s;
}
.brew .copy:hover { color: var(--text); border-color: var(--border-hi); background: var(--panel-3); }
.brew .copy.done { color: var(--green); border-color: rgba(48,209,88,0.4); }

.hero-note { margin: 22px 0 0; color: var(--text-mut); font-size: 0.86rem; }
.hero-note b { color: var(--text-dim); font-weight: 600; }

/* ---------- Crane → dashboard stage ---------- */
.stage-wrap { position: relative; margin: 56px auto 0; max-width: 1080px; padding: 0 8px; }
.stage {
  position: relative;
  aspect-ratio: 16 / 10.2;
  width: 100%;
}
.crane-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 1; }
.crane-svg .beam, .crane-svg .leg, .crane-svg .foot, .crane-svg .wave {
  fill: none; stroke: #e9f1f8; stroke-linecap: round; stroke-linejoin: round;
}
.crane-svg .beam { stroke-width: 9; }
.crane-svg .leg  { stroke-width: 8; }
.crane-svg .foot { stroke-width: 8; }
.crane-svg .wave { stroke: var(--water); stroke-width: 4; opacity: 0.65; }
.crane-svg .draw {
  stroke-dasharray: var(--len);
  stroke-dashoffset: var(--len);
}
.playing .crane-svg .draw { animation: draw 0.9s cubic-bezier(.6,.02,.2,1) forwards; }
.playing .crane-svg .leg.draw  { animation-delay: 0.05s; }
.playing .crane-svg .beam.draw { animation-delay: 0.45s; }
.playing .crane-svg .foot.draw { animation-delay: 0.1s; }
.playing .crane-svg .wave.draw { animation: draw 1.1s ease forwards; animation-delay: 0.2s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* The long cable from beam down to the payload */
.cable {
  position: absolute;
  left: 50%; top: 9%;
  width: 2px;
  height: 6%;
  background: linear-gradient(#cfe0ef, #9fb6cb);
  transform: translateX(-50%);
  transform-origin: top center;
  z-index: 2;
  opacity: 0;
}
.playing .cable { animation: cable-show .3s ease 0.95s forwards; }
@keyframes cable-show { to { opacity: 0.9; } }

/* Payload = product window that rises + scales up from the water */
.payload {
  position: absolute;
  left: 50%; top: 15%;
  width: 68%;
  transform: translateX(-50%) translateY(220px) scale(0.34);
  transform-origin: top center;
  opacity: 0;
  z-index: 3;
}
.playing .payload { animation: hoist 1.5s cubic-bezier(.34,.02,.16,1) 1.05s forwards; }
@keyframes hoist {
  0%   { transform: translateX(-50%) translateY(220px) scale(0.34); opacity: 0; }
  12%  { opacity: 1; }
  100% { transform: translateX(-50%) translateY(0) scale(1); opacity: 1; }
}

/* Spreader bar above the window */
.spreader {
  width: 120px; height: 7px; border-radius: 4px;
  background: #e9f1f8;
  margin: 0 auto 0;
  position: relative;
}
.spreader::before, .spreader::after {
  content: ""; position: absolute; top: 7px; width: 2px; height: 16px;
  background: #cfe0ef;
}
.spreader::before { left: 22px; }
.spreader::after  { right: 22px; }
.spreader .hook { position: absolute; left: 50%; top: -16px; width: 2px; height: 16px; background: #cfe0ef; transform: translateX(-50%); }

/* The window itself */
.window {
  position: relative;
  margin-top: 16px;
  border-radius: 14px;
  overflow: hidden;
  background: #f4f5f7;
  box-shadow: var(--shadow-window);
}
.window.dark-chrome { background: #11202e; }
.titlebar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 14px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.window:not(.dark-chrome) .titlebar { background: #e9eaec; border-bottom-color: rgba(0,0,0,0.08); }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.tb-title { margin-left: 8px; font-size: 0.78rem; color: #8b96a1; font-weight: 600; }
.window-body { position: relative; }
.window-body img { display: block; width: 100%; height: auto; }

/* Orange container skin that fades away to reveal the screenshot */
.container-skin {
  position: absolute; inset: 0; z-index: 4;
  background: linear-gradient(135deg, var(--crane-2), var(--crane) 55%, var(--crane-deep));
  border-radius: 14px;
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.35), inset 0 -20px 40px rgba(0,0,0,0.18);
}
.container-skin::before {
  content: "";
  position: absolute; inset: 12% 6%;
  background-image: repeating-linear-gradient(90deg, rgba(0,0,0,0.12) 0 2px, transparent 2px 34px);
  border-radius: 6px;
}
.playing .container-skin { animation: skin-off 0.7s ease 2.25s forwards; }
@keyframes skin-off { to { opacity: 0; transform: scale(1.02); } }

.replay {
  position: absolute; right: 14px; bottom: 12px; z-index: 6;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 10px;
  border: 1px solid var(--border); background: rgba(8,14,22,0.7);
  color: var(--text-dim); font-size: 0.8rem; font-weight: 600; cursor: pointer;
  backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .3s, color .2s, border-color .2s;
}
.stage-wrap:hover .replay { opacity: 1; }
.replay:hover { color: var(--text); border-color: var(--border-hi); }
.replay svg { width: 14px; height: 14px; }

.glow-floor {
  position: absolute; left: 50%; bottom: -40px; transform: translateX(-50%);
  width: 70%; height: 120px; z-index: 0;
  background: radial-gradient(closest-side, rgba(246,134,58,0.30), transparent 75%);
  filter: blur(28px); pointer-events: none;
}

/* ============================ Logos / trust strip ============================ */
.trust { padding: 56px 0 12px; text-align: center; }
.trust p { color: var(--text-mut); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 22px; font-weight: 600; }
.trust-row { display: flex; gap: 34px; flex-wrap: wrap; justify-content: center; align-items: center; color: var(--text-dim); }
.trust-row .item { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 0.96rem; opacity: 0.8; }
.trust-row .item svg { width: 22px; height: 22px; }

/* ============================ Section scaffold ============================ */
.section { padding: 96px 0; position: relative; }
.section-head { max-width: 720px; margin: 0 0 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-block;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--crane); margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  letter-spacing: -0.03em; line-height: 1.08; margin: 0 0 16px; font-weight: 660;
}
.section-head p { color: var(--text-dim); font-size: 1.12rem; margin: 0; line-height: 1.55; text-wrap: pretty; }
.section-head p a { color: var(--crane-2); border-bottom: 1px solid rgba(246,134,58,0.35); }

/* ============================ Bento ============================ */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.cell {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  overflow: hidden;
  transition: border-color .25s, transform .25s, background .25s;
}
.cell::after {
  /* hover spotlight */
  content: ""; position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,0%), rgba(246,134,58,0.10), transparent 60%);
  transition: opacity .3s;
}
.cell:hover { border-color: var(--border-hi); transform: translateY(-3px); }
.cell:hover::after { opacity: 1; }
.cell h3 { font-size: 1.16rem; margin: 0 0 8px; letter-spacing: -0.01em; font-weight: 640; }
.cell p { margin: 0; color: var(--text-dim); font-size: 0.97rem; line-height: 1.5; }
.cell .ico {
  width: 42px; height: 42px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  background: linear-gradient(150deg, rgba(79,156,236,0.22), rgba(246,134,58,0.18));
  border: 1px solid var(--border);
  color: var(--crane-2);
}
.cell .ico svg { width: 22px; height: 22px; }

.col-2 { grid-column: span 2; }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.tall { min-height: 320px; }

.cell-feat { display: flex; flex-direction: column; }
.cell-feat .body { margin-top: auto; }

/* Live mini-UI inside cells */
.mini {
  margin: -6px -10px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(4,9,15,0.55);
  overflow: hidden;
}
.mini-head { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-bottom: 1px solid var(--border); }
.mini-head .lbl { font-size: 0.76rem; color: var(--text-mut); font-weight: 600; }
.mini-head .pill { margin-left: auto; font-size: 0.68rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.pill-run { color: var(--green); background: rgba(48,209,88,0.12); }
.pill-unh { color: var(--red);   background: rgba(255,95,87,0.12); }

/* Log stream */
.logstream { font-family: var(--mono); font-size: 0.74rem; padding: 12px; height: 132px; overflow: hidden; color: #9fb6cb; }
.logstream .ln { white-space: nowrap; opacity: 0; transform: translateY(6px); }
.logstream .ln.show { opacity: 1; transform: none; transition: opacity .25s, transform .25s; }
.logstream .t { color: var(--text-mut); }
.logstream .ok { color: var(--green); } .logstream .warn { color: var(--amber); } .logstream .err { color: var(--red); } .logstream .info { color: var(--steel); }

/* Sparkline */
.spark-row { display: flex; gap: 14px; padding: 14px; }
.spark-card { flex: 1; }
.spark-card .v { font-size: 1.35rem; font-weight: 680; letter-spacing: -0.02em; }
.spark-card .k { font-size: 0.72rem; color: var(--text-mut); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.spark { width: 100%; height: 38px; margin-top: 6px; }
.spark path.line { fill: none; stroke-width: 2; }
.spark path.area { stroke: none; }

/* Terminal */
.term { font-family: var(--mono); font-size: 0.78rem; padding: 14px 16px; color: #cfe0ef; line-height: 1.7; }
.term .prompt { color: var(--green); } .term .cmd { color: #eaf2fa; } .term .dim { color: var(--text-mut); } .term .out { color: var(--text-dim); } .term .acc { color: var(--crane-2); }
.cursor { display: inline-block; width: 8px; height: 15px; background: var(--crane); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ============================ apple/container panel ============================ */
.ac-panel {
  position: relative;
  border-radius: 32px;
  padding: 64px 56px;
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    radial-gradient(700px 400px at 85% -10%, rgba(246,134,58,0.14), transparent 60%),
    radial-gradient(700px 500px at 0% 110%, rgba(43,108,176,0.18), transparent 60%),
    linear-gradient(160deg, #0c1d2e, #0a1622);
}
.ac-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 32px; margin-top: 40px; }
.ac-item { padding: 18px 0; border-top: 1px solid var(--border); }
.ac-item h4 { margin: 0 0 6px; font-size: 1.02rem; font-weight: 620; display: flex; align-items: center; gap: 9px; }
.ac-item h4::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--crane); flex: none; }
.ac-item p { margin: 0; color: var(--text-dim); font-size: 0.92rem; line-height: 1.5; }
.ac-item code, .cell code, .agent code { font-family: var(--mono); font-size: 0.84em; background: rgba(255,255,255,0.08); padding: 1px 6px; border-radius: 5px; color: #eaf2fa; }

/* ============================ Agent section ============================ */
.agent-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 26px; align-items: stretch; }
.code-card {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: rgba(4,9,15,0.7);
  overflow: hidden;
}
.code-head { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.code-head .name { font-size: 0.8rem; color: var(--text-mut); font-weight: 600; margin-left: 6px; }
.code-head .copy { margin-left: auto; }
.code-body { padding: 18px 18px; overflow-x: auto; }
.code-body pre { margin: 0; font-family: var(--mono); font-size: 0.85rem; line-height: 1.7; color: #cfe0ef; }
.prompt-card {
  border: 1px solid var(--border); border-radius: var(--r-lg);
  background: var(--panel); padding: 26px;
  display: flex; flex-direction: column; gap: 14px;
}
.prompt-card h3 { margin: 0; font-size: 1.2rem; letter-spacing: -0.01em; }
.prompt-card p { margin: 0; color: var(--text-dim); font-size: 0.97rem; line-height: 1.55; }
.kbd { font-family: var(--mono); font-size: 0.78rem; padding: 2px 7px; border-radius: 6px; border: 1px solid var(--border-hi); background: var(--panel-2); color: var(--text); }
.symptom-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.symptom {
  flex: 1; min-width: 150px;
  border: 1px solid var(--border); border-radius: 12px; padding: 14px;
  background: rgba(4,9,15,0.4);
}
.symptom .state { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 6px; }
.symptom .state.unh { color: var(--red); } .symptom .state.crash { color: var(--amber); } .symptom .state.ok { color: var(--green); }
.symptom p { font-size: 0.84rem; color: var(--text-dim); margin: 0; line-height: 1.45; }

/* ============================ Screenshots ============================ */
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.shot figure { margin: 0; }
.shot .window { border: 1px solid var(--border); }
.shot figcaption { margin-top: 14px; color: var(--text-dim); font-size: 0.92rem; font-weight: 500; display: flex; gap: 9px; align-items: baseline; }
.shot figcaption b { color: var(--text); font-weight: 640; }
.shot.wide { grid-column: span 2; }

/* ============================ Built different ============================ */
.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.spec { border: 1px solid var(--border); border-radius: var(--r-md); padding: 24px; background: var(--panel); }
.spec .n { font-size: 1.05rem; font-weight: 640; margin: 0 0 6px; }
.spec p { margin: 0; color: var(--text-dim); font-size: 0.92rem; line-height: 1.5; }
.spec code { font-family: var(--mono); font-size: 0.82em; background: rgba(255,255,255,0.08); padding: 1px 6px; border-radius: 5px; }

/* ============================ Install / CTA ============================ */
.install-card {
  position: relative;
  border-radius: 32px;
  padding: 64px 48px;
  text-align: center;
  border: 1px solid var(--border);
  overflow: hidden;
  background:
    radial-gradient(700px 360px at 50% -10%, rgba(246,134,58,0.18), transparent 62%),
    linear-gradient(180deg, #0c1d2e, #0a1420);
}
.install-card h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.03em; margin: 0 0 14px; font-weight: 660; }
.install-card p.sub { color: var(--text-dim); font-size: 1.12rem; margin: 0 auto 30px; max-width: 50ch; }
.install-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; max-width: 820px; margin: 36px auto 0; text-align: left; }
.istep { border: 1px solid var(--border); border-radius: var(--r-md); padding: 20px; background: rgba(4,9,15,0.4); }
.istep .num { width: 28px; height: 28px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; color: #1a0e05; background: linear-gradient(180deg, var(--crane-2), var(--crane)); margin-bottom: 12px; }
.istep b { display: block; margin-bottom: 5px; font-weight: 620; }
.istep p { margin: 0; color: var(--text-dim); font-size: 0.88rem; line-height: 1.45; }
.istep code { font-family: var(--mono); font-size: 0.82em; background: rgba(255,255,255,0.08); padding: 1px 6px; border-radius: 5px; }
.install-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 6px; }

/* ============================ FAQ ============================ */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--panel);
  padding: 0 22px;
  transition: border-color .2s, background .2s;
}
.faq-item:hover { border-color: var(--border-hi); }
.faq-item[open] { background: var(--panel-2); }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 19px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 1.05rem; font-weight: 620; letter-spacing: -0.01em; color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none;
  width: 11px; height: 11px;
  border-right: 2px solid var(--text-mut);
  border-bottom: 2px solid var(--text-mut);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq-item summary:hover::after { border-color: var(--crane-2); }
.faq-item p {
  margin: 0; padding: 0 0 20px;
  color: var(--text-dim); font-size: 0.99rem; line-height: 1.6; max-width: 68ch;
}
.faq-item p a { color: var(--crane-2); border-bottom: 1px solid rgba(246,134,58,0.35); }
.faq-item p a:hover { border-color: var(--crane-2); }
.faq-item code { font-family: var(--mono); font-size: 0.84em; background: rgba(255,255,255,0.08); padding: 1px 6px; border-radius: 5px; color: #eaf2fa; }

/* ============================ Footer ============================ */
.footer { border-top: 1px solid var(--border); padding: 44px 0 60px; margin-top: 40px; }
.footer-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 650; }
.footer-brand img { width: 26px; height: 26px; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.45)); }
.footer-meta { margin: 0; color: var(--text-mut); font-size: 0.9rem; }
.footer-links { margin-left: auto; display: flex; gap: 22px; }
.footer-links a { color: var(--text-dim); font-size: 0.92rem; font-weight: 500; transition: color .18s; }
.footer-links a:hover { color: var(--text); }

/* ============================ Reveal ============================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .06s; } .reveal.d2 { transition-delay: .12s; } .reveal.d3 { transition-delay: .18s; } .reveal.d4 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .playing .crane-svg .draw { animation: none; stroke-dashoffset: 0; }
  .playing .cable { animation: none; opacity: 0.9; }
  .playing .payload { animation: none; transform: translateX(-50%); opacity: 1; }
  .playing .container-skin { animation: none; opacity: 0; }
  html { scroll-behavior: auto; }
  .cursor { animation: none; }
}

/* ============================ Responsive ============================ */
@media (max-width: 940px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .col-2, .col-3, .col-4, .col-6 { grid-column: span 2; }
  .agent-grid { grid-template-columns: 1fr; }
  .ac-grid { grid-template-columns: 1fr 1fr; }
  .specs { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 20px; }
  .nav-inner { padding: 13px 20px; }
  .gh-pill { display: none; }
  .shots { grid-template-columns: 1fr; }
  .shot.wide { grid-column: span 1; }
  .ac-grid, .specs, .install-steps { grid-template-columns: 1fr; }
  .ac-panel, .install-card { padding: 40px 24px; }
  .section { padding: 72px 0; }
}
