/* Upgrade 1 Oct 2026: the Terminal as it is now (Report, notifications, install guide, stars and plain labels).
 * Every screen shown is an approved capture of 1 Oct; frames are drawn in CSS so the screens stay sharp and legible. */

/* ---------- device frames ---------- */
.dv-desk { margin: 0; position: relative; border-radius: 14px; overflow: hidden; background: #0a1322;
  border: 1px solid rgba(160,185,220,.2);
  box-shadow: 0 50px 100px -30px rgba(0,0,0,.85), 0 0 90px -24px rgba(70,130,220,.28); }
.dv-desk img { display: block; width: 100%; height: auto; }
.dv-phone { --w: 260px; position: relative; flex: none; width: var(--w); padding: calc(var(--w) * .034); border-radius: calc(var(--w) * .16);
  background: linear-gradient(145deg, #3a4454, #141a24 38%, #0c1119 62%, #2a3342);
  box-shadow: 0 50px 100px -28px rgba(0,0,0,.8), 0 0 0 1px rgba(0,0,0,.6), inset 0 0 0 1.5px rgba(255,255,255,.14); }
.dv-phone-screen { position: relative; aspect-ratio: 780 / 1688; border-radius: calc(var(--w) * .128); overflow: hidden; background: #0a1322; }
.dv-phone-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.dv-fold { margin: 0; border-radius: 22px; overflow: hidden; border: 1px solid rgba(160,185,220,.2); background: #0a1322;
  box-shadow: 0 50px 100px -30px rgba(0,0,0,.85), 0 0 80px -24px rgba(70,130,220,.25); }
.dv-fold img { display: block; width: 100%; height: auto; }
.dv-cap { margin: 12px 2px 0; font-size: 13px; color: var(--dim); text-align: center; }

/* ---------- hero: copy on the left, the real screens on the right ---------- */
.rv-hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.rv-hero { align-items: center; padding-block: clamp(110px, 14vh, 150px) clamp(72px, 11vh, 110px); }
.rv-hero h1 { font-size: clamp(2.4rem, 0.9rem + 3vw, 3.9rem); max-width: none; }
.rv-hero .rv-lead { max-width: 46ch; }
.rv-hero-stage { position: relative; padding-bottom: 9%; }
.rv-hero-stage .dv-desk { transform: perspective(2000px) rotateY(-6deg) rotateX(1.5deg); transform-origin: 80% 50%; }
.rv-hero-stage .dv-phone { --w: clamp(110px, 13vw, 190px); position: absolute; right: -3%; bottom: -2%; transform: perspective(1800px) rotateY(-8deg);
  animation: dvFloat 7s ease-in-out infinite; }
@keyframes dvFloat { 50% { transform: perspective(1800px) rotateY(-8deg) translateY(-10px); } }
.rv-hero-note { grid-column: 1 / -1; margin: 0; }
.rv-bg-warp.is-ready { opacity: .5; }

/* the "new" pill under the hero text */
.rv-new { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 8px 14px 8px 8px; border-radius: 99px;
  border: 1px solid rgba(217,164,65,.38); background: rgba(217,164,65,.08); color: var(--fg); font-size: 14px; font-weight: 600;
  transition: border-color .4s var(--ease), background .4s var(--ease); }
.rv-new:hover { border-color: rgba(217,164,65,.7); background: rgba(217,164,65,.14); }
.rv-new b { padding: 3px 9px; border-radius: 99px; background: var(--gold); color: var(--gold-ink); font-size: 11px; letter-spacing: .12em; }
.rv-new span { color: var(--dim); font-weight: 500; }

@media (max-width: 900px) {
  .rv-hero-grid { grid-template-columns: 1fr; }
  .rv-hero { padding-block: 104px 56px; }
  .rv-hero h1 { max-width: none; }
  .rv-hero-stage { padding-bottom: 12%; margin-top: 8px; }
  .rv-hero-stage .dv-phone { --w: clamp(92px, 26vw, 140px); right: 2%; }
  .rv-hero-stage .dv-desk { transform: none; }
}

/* ---------- the film (Higgsfield): the real screens, in motion ---------- */
.rv-film-sec { text-align: center; }
.rv-film-sec .section-head { margin-inline: auto; }
.rv-film { position: relative; margin: 36px auto 0; max-width: 1120px; border-radius: 22px; overflow: hidden; background: #050c18;
  border: 1px solid rgba(160,185,220,.16); box-shadow: 0 60px 120px -40px rgba(0,0,0,.9), 0 0 120px -30px rgba(70,130,220,.3); }
.rv-film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; opacity: 1 !important; transform: scale(1.16); }

/* ---------- Report ---------- */
.rp-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.rp-head h2, .nt-head h2, .ps-head h2, .kt-head h2 { font-size: clamp(2rem, 1.3rem + 2.7vw, 3.5rem); margin-top: 12px; }
.rp-head > p:not(.eyebrow), .nt-head > p:not(.eyebrow), .ps-head > p:not(.eyebrow), .kt-head > p:not(.eyebrow) { margin-top: 16px; color: var(--dim); font-size: var(--step-1); line-height: 1.5; max-width: 46ch; }
.rp-docs { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.rp-docs li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 18px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.rp-docs svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(217,164,65,.1); stroke: var(--gold); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.rp-docs h3 { font-size: 1.1rem; }
.rp-docs p { margin-top: 4px; color: var(--dim); font-size: 14.5px; line-height: 1.5; }
.rp-head > p.rp-when, .rp-when { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; color: var(--dim); font-size: 14px; }
.rp-stage { position: relative; padding-bottom: 12%; }
.rp-stage .dv-phone { --w: clamp(110px, 13vw, 180px); position: absolute; right: -2%; bottom: -2%; }
@media (max-width: 900px) {
  .rp-grid { grid-template-columns: 1fr; }
  .rp-stage { padding-bottom: 16%; }
  .rp-stage .dv-phone { --w: clamp(92px, 26vw, 140px); right: 2%; }
}

/* ---------- notifications ---------- */
.nt-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.nt-stage { display: flex; justify-content: center; align-items: flex-start; gap: clamp(14px, 3vw, 36px); }
.nt-stage .dv-phone { --w: clamp(150px, 22vw, 250px); }
.nt-stage .nt-b { margin-top: 56px; }
.nt-quote { margin-top: 26px; padding: 18px 20px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.nt-quote small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--dim2); }
.nt-quote b { display: block; margin-top: 10px; font-size: 1.05rem; color: #fff; }
.nt-quote span { display: block; margin-top: 4px; color: var(--dim); font-size: 14.5px; }
.nt-steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; counter-reset: nt; }
.nt-steps li { counter-increment: nt; position: relative; padding-left: 38px; color: var(--fg); font-size: 15.5px; line-height: 1.5; }
.nt-steps li::before { content: counter(nt); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold);
  display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.nt-head > p.nt-note, .ps-head > p.nt-note, .nt-note { margin-top: 18px; color: var(--dim2); font-size: 13.5px; line-height: 1.55; max-width: 52ch; }
@media (max-width: 900px) { .nt-grid { grid-template-columns: 1fr; } .nt-stage { order: -1; } .nt-stage .nt-b { margin-top: 36px; } }

/* ---------- install guide ---------- */
.ps-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.ps-pair { display: flex; justify-content: center; gap: clamp(14px, 3vw, 36px); }
.ps-pair figure { margin: 0; }
.ps-pair .dv-phone { --w: clamp(150px, 21vw, 250px); }
@media (max-width: 900px) { .ps-grid { grid-template-columns: 1fr; } }

/* ---------- the Breakout card, annotated ---------- */
.kt-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.kt-phone { position: relative; }
.kt-phone .dv-phone { --w: clamp(220px, 28vw, 310px); }
.kt-dot { position: absolute; z-index: 2; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: var(--gold); color: var(--gold-ink);
  display: grid; place-items: center; font-size: 11px; font-weight: 800; box-shadow: 0 0 0 4px rgba(217,164,65,.28), 0 6px 16px rgba(0,0,0,.5); animation: ktPulse 3s ease-in-out infinite; }
@keyframes ktPulse { 50% { box-shadow: 0 0 0 8px rgba(217,164,65,.1), 0 6px 16px rgba(0,0,0,.5); } }
.kt-legend { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.kt-legend li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; align-items: start; }
.kt-legend i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); display: grid; place-items: center; font-size: 12.5px; font-weight: 800; }
.kt-legend b { display: block; color: #fff; font-size: 1rem; }
.kt-legend span { display: block; margin-top: 2px; color: var(--dim); font-size: 14.5px; line-height: 1.5; }
.kt-close { margin-top: 22px; color: var(--fg); font-size: 15.5px; }
@media (max-width: 900px) { .kt-grid { grid-template-columns: 1fr; justify-items: center; } .kt-legend { justify-self: stretch; } }

/* ---------- screens strip (detail, foldable, chart) ---------- */
.ly-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(16px, 2.5vw, 32px); align-items: start; margin-top: 36px; }
.ly-col { display: grid; gap: clamp(16px, 2.5vw, 32px); }

/* ---------- the report page ---------- */
.rpt-docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.rpt-docs .panel { padding: 26px 24px; }
.rpt-docs h3 { font-size: 1.25rem; margin-top: 14px; }
.rpt-docs p { margin-top: 8px; color: var(--dim); font-size: 15px; line-height: 1.55; }
.rpt-docs .rpt-k { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.rpt-gal { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(16px, 2.5vw, 32px); margin-top: 36px; align-items: start; }
.rpt-phones { display: flex; gap: clamp(12px, 2vw, 24px); justify-content: center; }
.rpt-phones .dv-phone { --w: clamp(130px, 19vw, 210px); }
@media (max-width: 900px) { .rpt-docs { grid-template-columns: 1fr; } .rpt-gal { grid-template-columns: 1fr; } }

/* reduced motion */
@media (prefers-reduced-motion: reduce) { .rv-hero-stage .dv-phone, .kt-dot { animation: none; } }

.devices-mini img { border-radius: 8px; border: 1px solid rgba(160,185,220,.16); }

/* the closing: the chart wall and the data warp behind the ask, centred */
.rv-final { min-height: min(86svh, 820px); align-items: center; padding-block: clamp(96px, 14vh, 160px); }
@media (min-width: 901px) { .rv-final { min-height: min(86svh, 820px); padding-block: clamp(96px, 14vh, 160px); } }
@media (max-width: 900px) { .rv-final { min-height: 0; align-items: center; padding-block: 96px; } }
.rv-final .rv-shade-final { background: linear-gradient(180deg, #08111f 0%, rgba(8,17,31,.55) 30%, rgba(8,17,31,.55) 70%, #08111f 100%); }

/* anchors land below the sticky navigation */
section[id] { scroll-margin-top: 72px; }
/* the tour phone shows the app's own header, so no camera cut-out over it; the pinned scenes end above the price bar */
.rv-tour .rv-island { display: none; }
.rv-tour-pin, .rv-map-pin { padding-bottom: 64px; }
.rp-head > p.caveat { font-size: 13px; max-width: 52ch; }
@media (max-width: 900px) { .ly-grid { grid-template-columns: 1fr; } .ly-col .dv-fold { max-width: 340px; margin-inline: auto; } }

/* calm backgrounds (2 Oct): a dim chart wall, a fine dot grid, and one soft light behind the screens. No streaks. */
.rv-hero .rv-field, .rv-final .rv-field { opacity: .15; }
.rv-hero-stage::before { content: ""; position: absolute; inset: -14% -10% -8%; z-index: -1; pointer-events: none; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(66,120,205,.30), rgba(66,120,205,.10) 55%, transparent 76%); }
.rv-final::before { content: ""; position: absolute; left: 50%; top: 46%; width: min(900px, 120vw); height: min(520px, 70vw); transform: translate(-50%, -50%); z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(217,164,65,.13), rgba(66,120,205,.08) 55%, transparent 76%); }
@media (max-width: 640px) { .rv-hero .rv-field, .rv-final .rv-field { opacity: .10; } }
