/* scene.css -- the pieces every feature film of the landing is built from
   (sprint landing-next-1, 2026-10-17): the scene's type (eyebrow, headline,
   payoff number), the two device frames, and the dashboard chrome rebuilt in
   HTML on the LANDING tokens. Design reference: the macro film's
   template.html. No dashboard file is loaded.

   A device is a film, not a UI: pointer-events none on the frame and
   everything in it. */

/* ---------- scene type ---------- */
.scene-eyebrow {
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-dark);
}
.scene-headline {
  font-family: var(--sans);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  letter-spacing: -0.025em;
  color: var(--charcoal);
  text-wrap: balance;
}
.scene-payoff {
  font-family: var(--mono);
  font-weight: var(--fw-medium);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--charcoal);
}
.scene-payoff small {
  font-size: 0.4em;
  letter-spacing: 0;
  margin-left: 0.3em;
  color: var(--muted);
}

/* ---------- device frames ---------- */
.device-laptop,
.device-phone { pointer-events: none; user-select: none; }
.device-laptop *,
.device-phone * { pointer-events: none; }

.device-laptop { position: relative; width: 100%; }
/* A screen is a closed box (sprint landing-next-2): what a film changes
   inside it never re-lays out or repaints the page around it. Off screen its
   content is not rendered at all (content-visibility): measured at 390 x4,
   two mounted laptops cost the hero +0.31 ms a frame without it, +0.22 with it.
   Layout-neutral: a screen's size is its aspect-ratio, its canvas absolute. */
.device-screen { contain: layout paint; content-visibility: auto; }
.device-laptop .device-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--off-white);
  border: 8px solid var(--charcoal);   /* thin bezel, no marks */
  border-radius: 12px 12px 3px 3px;
}
.device-laptop::after {               /* the base, one slab */
  content: "";
  display: block;
  height: 10px;
  margin: 0 -5%;
  background: var(--border);
  border: var(--hairline);
  border-radius: 0 0 10px 10px;
}

.device-phone {
  position: relative;
  width: 100%;
  padding: 7px;
  background: var(--charcoal);
  border-radius: 38px;
}
.device-phone .device-screen {
  position: relative;
  aspect-ratio: 9 / 19.5;              /* notch-free */
  overflow: hidden;
  background: var(--off-white);
  border-radius: 31px;
}

/* The screen's content is laid out at a fixed CSS size (data-fit = width in
   px) and scaled to the frame by scene.js on every resize. */
.device-canvas { position: absolute; left: 0; top: 0; transform-origin: 0 0; }

/* ---------- dashboard chrome, from the dashboard's app.html + css/app.css ---------- */
.dc {
  width: 1280px;
  height: 800px;
  display: grid;
  grid-template-rows: 56px 1fr;
  grid-template-columns: 220px minmax(0, 1fr);
  background: var(--off-white);
  font-family: var(--sans);
  color: var(--charcoal);
}
.dc-top {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: var(--panel);
  border-bottom: var(--hairline);
}
.dc-brand { display: flex; align-items: center; gap: 12px; }
.dc-brand-name {
  font-weight: var(--fw-semibold);
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.dc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-light); }
.dc-brand-tag,
.dc-side-label,
.dc-meta,
.dc-card-eyebrow,
.dc-tier {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.dc-brand-tag,
.dc-side-label,
.dc-card-eyebrow { color: var(--muted); }
.dc-clock {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}
.dc-tier { padding: 4px 10px; letter-spacing: 0.14em; background: var(--green-dark); color: var(--white); }

.dc-side {
  background: var(--panel);
  border-right: var(--hairline);
  padding: 28px 0;
}
.dc-side-label { padding: 0 24px; margin-bottom: 12px; }
.dc-nav-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 24px;
  color: var(--slate);
  border-left: 2px solid transparent;
}
.dc-nav-item.on {
  color: var(--green-dark);
  border-left-color: var(--green-dark);
  background: color-mix(in srgb, var(--green-pale) 25%, transparent);
}
.dc-nav-num {
  font-family: var(--mono);
  font-weight: var(--fw-semibold);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  min-width: 34px;
}
.dc-nav-item.on .dc-nav-num { color: var(--green-dark); }
.dc-nav-label { font-size: 14px; font-weight: var(--fw-medium); letter-spacing: 0.01em; }

.dc-main { padding: 32px 40px; overflow: hidden; }
.dc-head { border-bottom: var(--hairline); padding-bottom: 20px; margin-bottom: 32px; }
.dc-meta { color: var(--green-dark); margin-bottom: 8px; }
.dc-h1 { font-weight: var(--fw-semibold); font-size: 28px; margin-bottom: 6px; }
.dc-sub { font-size: 15px; color: var(--slate); }
.dc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dc-card { background: var(--panel); border: var(--hairline); padding: 16px 20px; }
.dc-card-eyebrow { margin-bottom: 10px; }
.dc-card-value { font-family: var(--mono); font-size: 22px; font-variant-numeric: tabular-nums; }
