/* ============================================================
   HOME — STEP-UP HOOK  (2026-06-04)
   New hero ("memory remembers facts / doesn't track the work"),
   "what a notes file can't do" cards, and the side-by-side proof.
   Built entirely on the existing Marvis paper palette + tokens.
   ============================================================ */

/* ---------- HERO ---------- */
.su-hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-top: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(28px, 4vw, 52px);
}
@media (max-width: 860px) { .su-hero { grid-template-columns: 1fr; gap: 32px; } }

.su-hero__left { display: flex; flex-direction: column; gap: 26px; }

.su-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
}
.su-eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); }

.su-hero__h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.15rem, 4.5vw, 3.45rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 17ch;
  text-wrap: balance;
}
.su-hero__h1 .su-mute {
  display: block;
  margin-top: 4px;
  color: var(--marvis-deep);
  font-weight: 700;
}
.su-hero__h1 .hi-accent { color: var(--accent); }
.su-hero__h1 .hi-green { color: var(--green); }
.su-hero__h1 .hi-ital { font-family: var(--font-serif); font-style: italic; font-weight: 600; letter-spacing: -0.01em; }

.su-hero__sub { display: flex; flex-direction: column; gap: 14px; max-width: 52ch; }
.su-hero__sub p { color: var(--marvis-mute); font-size: clamp(1rem, 1.35vw, 1.1875rem); line-height: 1.6; }
.su-hero__sub strong { color: var(--marvis-deep); font-weight: 600; }
.su-hero__sub em { font-family: var(--font-serif); font-style: italic; color: var(--marvis-deep); }
.su-hero__sub .su-brain { color: var(--green); font-weight: 700; font-style: normal; font-family: inherit; }
.su-hero__sub code {
  font-family: var(--font-mono); font-size: 0.84em;
  background: var(--cream-warm); border: 1px solid var(--marvis-line);
  border-radius: 4px; padding: 1px 5px; color: var(--marvis-mid);
}

/* ---------- CTA row ---------- */
.su-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 2px; }
.su-cta__install {
  display: inline-flex; align-items: center; gap: 11px;
  background: var(--accent); color: #fff;
  border: 0; border-radius: 9px; cursor: pointer;
  padding: 11px 15px;
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  box-shadow: 0 10px 22px -12px var(--accent);
  transition: background .15s ease;
}
.su-cta__install:hover { background: var(--accent-hover); }
.su-cta__install .cmd {
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 500;
  color: hsl(0 0% 100% / 0.88);
  padding: 4px 9px; border-radius: 5px;
  background: hsl(0 0% 0% / 0.18);
  letter-spacing: -0.01em;
}
.su-cta__install svg { opacity: .85; flex: none; }
.su-cta__install.is-copied .cmd { color: #fff; }

.su-cta__alt {
  font-family: var(--font-mono); font-size: 13px;
  color: var(--marvis-mid);
  border-bottom: 1px dotted var(--marvis-line); padding-bottom: 2px;
}
.su-cta__alt:hover { color: var(--accent); border-color: var(--accent); text-decoration: none; }

/* ---------- credibility chips strip ---------- */
.su-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px;
  margin-top: 6px;
}
.su-strip__chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--marvis-mid);
  background: var(--paper);
  border: 1px solid var(--marvis-line);
  border-radius: 999px; padding: 6px 13px;
}
.su-strip__chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; }
.su-strip__chip:nth-child(2) .dot { background: var(--accent); }
.su-strip__chip:nth-child(3) .dot { background: var(--marvis-deep); }
.su-strip__chip b { color: var(--marvis-deep); font-weight: 600; }

/* ---------- centered hero variant ---------- */
.su-hero--center {
  position: relative;
  z-index: 0;
  display: block;
  text-align: center;
  max-width: 780px;
  margin-inline: auto;
  padding-top: clamp(20px, 3vw, 44px);
  padding-bottom: clamp(36px, 5vw, 64px);
}
/* warm bloom + scrim + knowledge-graph constellation behind the hero copy */
.su-hero--center::after {
  content: ""; position: absolute; top: 46%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw; height: 130%; pointer-events: none; z-index: -1;
  background: radial-gradient(ellipse 42% 38% at 50% 40%, hsl(18 95% 52% / 0.03), transparent 72%);
}
.su-kg {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 100vw; height: 100%; z-index: -2; pointer-events: none;
  opacity: 0.45;
  -webkit-mask-image: radial-gradient(ellipse 72% 92% at 50% 50%, transparent 42%, #000 86%);
          mask-image: radial-gradient(ellipse 72% 92% at 50% 50%, transparent 42%, #000 86%);
}
.su-kg svg { width: 100%; height: 100%; display: block; }
/* solid cream scrim so the headline + sub + CTA stay fully crisp over the graph */
.su-hero__scrim {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(860px, 96vw); height: 150%; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 54% 54% at 50% 50%, var(--cream) 62%, hsl(var(--pir-base) / 0) 88%);
}
.su-kg__n { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .su-kg__n { animation: su-kg-float 8s ease-in-out infinite; }
  .su-kg__d { animation: su-kg-drift 12s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
}
@keyframes su-kg-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes su-kg-drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(5px, -6px); } }
.su-hero--center .su-eyebrow { justify-content: center; }
.su-hero--center .su-eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--accent); }
.su-hero--center .su-hero__h1 {
  max-width: 20ch; margin-inline: auto;
  margin-top: 18px; margin-bottom: 34px;
  font-size: clamp(2rem, 4.3vw, 3.15rem);
}
.su-hero--center .su-hero__h1 .su-mute { margin-top: 6px; }
.su-hero--center .su-hero__sub { max-width: 60ch; margin-inline: auto; align-items: center; gap: 16px; }
.su-hero--center .su-cta { justify-content: center; margin-top: 28px; }

.su-strip-line {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 9px;
  margin-top: 24px;
  font-family: var(--font-mono); font-size: 12.5px;
  color: var(--marvis-mute);
}
.su-strip-line b { color: var(--marvis-deep); font-weight: 600; }
.su-strip-line .sep { color: var(--marvis-soft); }
.su-strip-line .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; }

/* ---------- "what a notes file can't do" — 4 cards ---------- */
.su-notes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 920px) { .su-notes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .su-notes { grid-template-columns: 1fr; } }
.su-note {
  background: var(--paper);
  border: 1px solid var(--marvis-line);
  border-radius: var(--r-card);
  padding: 20px;
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color .15s ease;
}
.su-note:hover { border-color: var(--accent-mute); }
.su-note__n {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  color: var(--accent); letter-spacing: 0.04em;
}
.su-note__h { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.su-note__b { color: var(--marvis-mute); font-size: 0.9375rem; line-height: 1.55; }
.su-note__b code { font-family: var(--font-mono); font-size: 0.85em; color: var(--marvis-mid); }

/* ---------- SIDE-BY-SIDE PROOF (the emotional center) ----------
   Both panes are the site's warm terminal surface — this is what
   the agent sees. Left = the raw dump it reloads (muted, conflicting,
   endless). Right = the brain's one structured answer (bright). */
.su-proof { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; }
@media (max-width: 880px) { .su-proof { grid-template-columns: 1fr; } }

.su-pane {
  background: var(--marvis-deep);
  border: 1px solid hsl(30 12% 18%);
  border-radius: 12px;
  overflow: hidden;
  display: flex; flex-direction: column;
  font-family: var(--font-mono);
  box-shadow: 0 18px 40px -24px rgba(28, 22, 16, 0.45);
}
.su-pane__hd {
  display: flex; align-items: center; gap: 9px;
  padding: 12px 18px;
  background: hsl(30 12% 12%);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  border-bottom: 1px solid hsl(30 12% 18%);
}
.su-pane__hd .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.su-pane__body { padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.su-pane__tail {
  margin-top: auto; padding-top: 16px;
  font-family: var(--font-serif); font-style: italic; font-size: 13.5px;
  line-height: 1.45;
}

/* LEFT — the decaying dump */
.su-pane--decay .su-pane__hd { color: hsl(30 8% 60%); }
.su-pane--decay .su-pane__hd .dot { background: hsl(30 8% 40%); }
.su-line { font-size: 13px; line-height: 1.7; color: hsl(30 8% 56%); }
.su-line .key { color: hsl(30 8% 40%); }
.su-line.is-struck { position: relative; color: hsl(8 78% 65%); }
.su-line.is-struck::after {
  content: ""; position: absolute; left: -1px; right: 10%; top: 54%; height: 1px;
  background: currentColor; transform: rotate(-0.8deg); opacity: .9;
}
.su-line--faded { color: hsl(30 8% 36%); padding-top: 2px; }
.su-pane--decay .su-pane__tail { color: hsl(34 18% 58%); }

/* RIGHT — the brain's one answer */
.su-pane--brain { border-color: hsl(156 38% 24%); }
.su-pane--brain .su-pane__hd { color: hsl(156 55% 58%); background: hsl(156 30% 11%); border-bottom-color: hsl(156 30% 18%); }
.su-pane--brain .su-pane__hd .dot { background: hsl(156 55% 52%); }
.su-ask {
  font-size: 13px; line-height: 1.6; color: hsl(30 12% 80%);
  padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px dashed hsl(30 12% 22%);
}
.su-ask .who { color: hsl(30 8% 50%); }
.su-ask .q { color: hsl(34 32% 86%); }
.su-ans { display: flex; gap: 10px; font-size: 13px; line-height: 1.6; }
.su-ans .arrow { color: hsl(18 95% 60%); flex: none; }
.su-ans__t { min-width: 0; color: hsl(30 10% 68%); }
.su-ans .k { color: hsl(30 8% 52%); }
.su-ans b { color: hsl(34 32% 88%); font-weight: 700; }
.su-ans code { color: hsl(156 55% 60%); }
.su-ans .super { color: hsl(30 8% 50%); }
.su-ans .super s { text-decoration: line-through; }
.su-pane--brain .su-pane__tail { color: hsl(156 50% 60%); }

/* ---------- "and it compounds across projects" beat ---------- */
.su-compound {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px); align-items: center;
}
@media (max-width: 900px) { .su-compound { grid-template-columns: 1fr; } }
.su-compound__copy { display: flex; flex-direction: column; gap: 14px; }
.su-compound__viz { position: relative; aspect-ratio: 6 / 5; }
.su-compound__viz .v3-kg { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 900px) { .su-compound__viz { order: -1; max-width: 460px; } }

/* ============================================================
   COMING — Marvis Cloud + Desktop App, one waitlist form
   ============================================================ */
.su-coming { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(20px, 3vw, 36px); align-items: start; }
@media (max-width: 940px) { .su-coming { grid-template-columns: 1fr; } }

.su-coming__cards { display: grid; gap: 16px; }

.su-cc {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--marvis-line);
  border-radius: var(--r-card);
  padding: clamp(20px, 2.4vw, 28px);
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color .15s ease;
}
.su-cc:hover { border-color: var(--accent-mute); }
.su-cc--cloud { border-left: 3px solid var(--accent); }
.su-cc--desktop { border-left: 3px solid var(--green); }

.su-cc__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.su-cc__top > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.su-cc__id {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--marvis-mute);
  line-height: 1.2;
}
.su-cc__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -0.01em; line-height: 1.1; margin: 0; }
.su-cc__badge {
  flex: none;
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--accent-mute); color: var(--accent);
  background: hsl(18 95% 52% / 0.06);
  white-space: nowrap;
}
.su-cc--desktop .su-cc__badge { border-color: hsl(156 40% 55% / 0.5); color: var(--green); background: hsl(156 45% 40% / 0.07); }
.su-cc__badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.su-cc__badge .dot { animation: su-cc-pulse 2.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .su-cc__badge .dot { animation: none; } }
@keyframes su-cc-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.su-cc__body { color: var(--marvis-mute); font-size: 0.95rem; line-height: 1.6; }
.su-cc__body strong { color: var(--marvis-deep); font-weight: 600; }

/* free-vs-cloud contrast row */
.su-cc__contrast { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--marvis-line); border: 1px solid var(--marvis-line); border-radius: 8px; overflow: hidden; }
.su-cc__col { background: var(--cream-warm); padding: 12px 14px; display: flex; flex-direction: column; gap: 5px; }
.su-cc__col--on { background: hsl(18 95% 52% / 0.05); }
.su-cc__col .lbl { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--marvis-soft); }
.su-cc__col--on .lbl { color: var(--accent); }
.su-cc__col .val { font-size: 13px; line-height: 1.45; color: var(--marvis-mid); }

.su-cc__foot { font-family: var(--font-mono); font-size: 11.5px; color: var(--marvis-soft); letter-spacing: 0.01em; display: flex; flex-wrap: wrap; gap: 6px 10px; }
.su-cc__foot span { display: inline-flex; align-items: center; gap: 6px; }
.su-cc__foot span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--green); }

/* waitlist form panel */
.su-wl {
  position: sticky; top: 88px;
  background: var(--cream-warm);
  border: 1px solid var(--marvis-line);
  border-radius: var(--r-card);
  padding: clamp(22px, 2.6vw, 30px);
  display: flex; flex-direction: column; gap: 18px;
}
@media (max-width: 940px) { .su-wl { position: static; } }
.su-wl__h { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.01em; }
.su-wl__lede { color: var(--marvis-mute); font-size: 0.92rem; line-height: 1.55; margin-top: -8px; }

.su-wl__form { display: flex; flex-direction: column; gap: 16px; }
.su-wl__field { display: flex; flex-direction: column; gap: 7px; }
.su-wl__field > label { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--marvis-mid); }
.su-wl__field .req { color: var(--accent); }
.su-wl__form input[type="email"] {
  font-family: var(--font-body); font-size: 15px;
  padding: 11px 13px; border-radius: 8px;
  border: 1px solid var(--marvis-line); background: var(--paper); color: var(--marvis-deep);
  transition: border-color .15s ease;
}
.su-wl__form input[type="email"]:focus { outline: none; border-color: var(--accent); }

.su-wl__checks { display: grid; gap: 9px; }
.su-check {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 12px 13px; border-radius: 9px;
  border: 1px solid var(--marvis-line); background: var(--paper);
  cursor: pointer; transition: border-color .15s ease, background .15s ease;
}
.su-check:hover { border-color: var(--marvis-line-strong); }
.su-check:has(input:checked) { border-color: var(--accent); background: hsl(18 95% 52% / 0.05); }
.su-check input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--accent); flex: none; cursor: pointer; }
.su-check__t { display: flex; flex-direction: column; gap: 2px; }
.su-check__t b { font-size: 14px; font-weight: 600; color: var(--marvis-deep); }
.su-check__t span { font-family: var(--font-mono); font-size: 11px; color: var(--marvis-soft); }
.su-wl__err { font-size: 12.5px; color: var(--accent); min-height: 0; }
.su-wl__status { font-family: var(--font-mono); font-size: 13px; color: var(--green); }
.su-wl__note { font-family: var(--font-mono); font-size: 11px; color: var(--marvis-soft); line-height: 1.5; }


/* ---------- impeccable pass: contrast, sizing, shadow refinements (re-applied on v11) ---------- */
.su-hero__sub p,
.su-note__b,
.su-strip-line { color: var(--marvis-mid); }
.su-eyebrow { color: var(--accent-hover); }
.su-strip-line,
.su-strip__chip { font-size: 13px; }
.su-pane__hd { font-size: 12px; }
.su-line,
.su-ask,
.su-ans { font-size: 13.5px; }
.su-pane { box-shadow: 0 4px 16px -10px rgba(28, 22, 16, 0.42); }
