/* ==========================================================================
   Skyscape preview cluster — shared stylesheet
   /preview/assets/preview.css

   Serves /preview/ (home) and /preview/about/.

   PREVIEW system, deliberately separate from /brand/skyscape.css so
   experiments here cannot destabilize the live RHTP cluster. Once the
   direction settles, fold the durable parts into the brand stylesheet and
   retire this file.

   2026-10-08: display face switched Roboto Slab 300 -> Rajdhani 600 per
   brand decision (matches the Buzz app typeface). /brand/skyscape.css v4
   still carries Roboto Slab — fold in once the preview direction settles.

   2026-10-13: backdrop-filter REMOVED sitewide. With every animation frozen
   the page still flickered and hairline borders dropped out after first
   paint — both are compositor artifacts of stacking seven blurred surfaces
   (nav, three hero panels, two doors). "Glass" is now a solid translucent
   fill: same look at arm's length, zero per-frame cost. Do not reintroduce
   backdrop-filter on this cluster.

   2026-10-13 (2): card outlines strengthened. --mist at #E4EDF3 sat at
   ~1.07:1 against white — effectively invisible on many displays. Token
   darkened a step, and the three card families (then/now, phases, quotes)
   carry an explicit ink-alpha border that survives zoom and subpixel
   rounding.

   2026-10-14: MOBILE NAV DISCLOSURE added (bottom of this file). The pages
   on this stylesheet previously had NO menu at all below 900px — navmid
   was display:none with nothing replacing it. Now a checkbox burger, the
   same no-JS pattern the knowledge page uses (preview-system.css §8a).
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Nunito:wght@400;600;700&display=swap');

:root{
  --sky:#009ad1; --sky-dk:#0b6d92; --red:#d91e43; --ink:#2A3D50;
  --slate:#4A5A6B; --mist:#D8E3EB; --light:#F6F9FB; --cream:#FDF6E9; --gold:#FFD166;
  --line:rgba(42,61,80,.16);
  --display:'Rajdhani','Segoe UI',Arial,sans-serif;
  --body:'Nunito',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;
  --r-card:16px; --r-pill:999px;
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
body{font-family:var(--body);color:var(--ink);line-height:1.6;background:#fff;-webkit-font-smoothing:antialiased}
.wrap{max-width:1180px;margin:0 auto;padding:0 32px}
h1,h2,h3{font-family:var(--display);font-weight:600;line-height:1.14}
a{color:inherit;text-decoration:none}
em{font-style:normal;color:var(--sky)}

/* ---------- announcement ---------- */
.ann{background:var(--ink);color:#B8CDD9;font-size:13px;padding:10px 0;text-align:center}
.ann b{color:#fff}
.ann a{color:var(--sky);font-weight:700;margin-left:8px;white-space:nowrap}

/* ---------- nav ---------- */
.nav{border-bottom:1px solid var(--mist);background:#fff;position:sticky;top:0;z-index:50}
.nav.over{border:none;background:transparent;position:absolute;left:0;right:0}
.nav .wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-block:16px}
.logo img{height:32px;width:auto;display:block}
.logo-fb{font-family:var(--display);font-size:25px;color:var(--red);letter-spacing:-.5px}
.navmid{display:flex;gap:26px;font-size:14px;font-weight:600;color:var(--slate)}
.navmid a:hover,.navmid a.on{color:var(--sky)}
.navr{display:flex;align-items:center;gap:12px}
.login{font-size:13px;font-weight:700;border:1.5px solid var(--mist);border-radius:var(--r-pill);
  padding:9px 20px;background:rgba(255,255,255,.88)}
.login:hover{border-color:var(--sky);color:var(--sky)}

/* ---------- buttons ---------- */
.btn{display:inline-block;background:var(--red);color:#fff;border:none;border-radius:var(--r-pill);
  padding:15px 30px;font-family:var(--body);font-weight:700;font-size:14px;cursor:pointer;
  box-shadow:0 6px 22px rgba(42,61,80,.18)}
.btn.ghost{background:rgba(255,255,255,.92);color:var(--ink);border:1px solid rgba(42,61,80,.10)}
.btn.dark{background:var(--ink);color:#fff}
.btn.sm{font-size:13px;padding:11px 22px;box-shadow:none}

/* ---------- sections ---------- */
.sec{padding:70px 0}
.sec+.sec{border-top:1px solid var(--mist)}
.sec.alt{background:var(--light)}
.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--sky);margin-bottom:10px}
.sec h2{font-size:clamp(24px,3.2vw,34px);margin-bottom:12px}
.sec h2 span{color:var(--sky)}
.lede{font-size:17px;color:var(--slate);max-width:62ch;margin-bottom:30px}
.body p{font-size:16px;color:var(--slate);max-width:66ch;margin-bottom:16px}
.body p strong{color:var(--ink);font-weight:700}

/* ---------- warm wash, used by the About hero ---------- */
.wash{background:
  radial-gradient(110% 90% at 82% 10%,rgba(255,209,102,.26) 0%,rgba(255,209,102,0) 55%),
  radial-gradient(95% 80% at 10% 18%,rgba(0,154,209,.20) 0%,rgba(0,154,209,0) 60%),
  linear-gradient(168deg,#EAF4F9 0%,#F4F9FC 40%,var(--cream) 100%)}

/* ---------- photographic hero shell ----------
   The photograph backs the whole shell to the bottom edge, so the cards
   below the fold sit over the same image rather than white on white. */
.shell{position:relative;overflow:hidden;isolation:isolate}
.bg{position:absolute;inset:0;background-size:cover;background-repeat:no-repeat;
  opacity:0;transition:opacity 1.8s ease-in-out;z-index:0}
.bg.on{opacity:1}
.scrim{position:absolute;inset:0;pointer-events:none;z-index:1;
  background:
   linear-gradient(100deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.93) 20%,
     rgba(255,255,255,.62) 38%,rgba(255,255,255,.18) 54%,rgba(255,255,255,.04) 68%),
   linear-gradient(180deg,rgba(255,255,255,.42) 0%,rgba(255,255,255,0) 16%,
     rgba(255,255,255,0) 56%,rgba(255,255,255,.26) 78%,rgba(255,255,255,.38) 100%)}
.hero{position:relative;z-index:5;min-height:640px}
.copy{position:relative;z-index:10;max-width:1180px;margin:0 auto;padding:64px 32px 0}
.copy h1{font-size:clamp(27px,3.5vw,42px);line-height:1.14;letter-spacing:0;max-width:21ch;margin-bottom:18px}
.copy .sub{font-size:17px;color:var(--slate);max-width:44ch;margin-bottom:30px}
.btns{display:flex;gap:12px;flex-wrap:wrap}
.hnote{font-size:13.5px;color:var(--slate);margin-top:16px}
.reg{color:var(--red);font-weight:700;border-bottom:1.5px solid rgba(217,30,67,.28);padding-bottom:1px}
.reg:hover{border-bottom-color:var(--red)}

/* travelling knowledge packet */
.arc{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:4}
.glow{fill:var(--gold);filter:drop-shadow(0 0 11px rgba(255,209,102,1))}
.glow2{fill:var(--sky);filter:drop-shadow(0 0 11px rgba(0,154,209,.95))}

/* ---------- "glass" (solid translucent — no backdrop-filter) ----------
   High-alpha fill with a cool gradient, bright inner edge and deep shadow.
   Reads as frosted panel without asking the compositor to re-blur the
   backdrop. See 2026-10-13 note in the header: backdrop-filter caused
   continuous flicker and dropped hairline borders; do not bring it back. */
.glass{background:linear-gradient(135deg,rgba(255,255,255,.93),rgba(236,247,252,.88));
  border:1px solid rgba(255,255,255,.85);
  box-shadow:0 20px 54px rgba(42,61,80,.22), inset 0 1px 0 rgba(255,255,255,.95)}

/* floating panels — static placement; per-image offsets come from the page */
.lane{position:absolute;z-index:9}
.gp{border-radius:18px;padding:15px 17px}
.plab{font-size:10px;font-weight:700;letter-spacing:1.6px;text-transform:uppercase;color:var(--sky-dk);margin-bottom:7px}
.ptxt{font-size:13px;color:var(--ink);line-height:1.5;font-weight:600}
.pmeta{font-size:11px;color:var(--slate);margin-top:8px;padding-top:8px;border-top:1px solid rgba(42,61,80,.12)}
.srcs{display:flex;flex-wrap:wrap;gap:5px;margin-top:9px}
.src{font-size:10px;font-weight:700;background:rgba(255,255,255,.80);color:var(--sky-dk);
  border-radius:5px;padding:4px 8px;border:1px solid rgba(42,61,80,.10)}
.who{display:flex;align-items:center;gap:8px;margin-bottom:7px}
.wav{width:24px;height:24px;border-radius:50%;background:var(--sky);color:#fff;font-size:9.5px;
  font-weight:700;display:flex;align-items:center;justify-content:center}
.who b{font-size:11.5px} .who span{font-size:10.5px;color:var(--slate)}
.ack{font-size:10.5px;font-weight:700;color:#3d7a2b;margin-top:7px}
.l1{left:52%;top:96px;width:266px}
.l2{right:44px;top:250px;width:286px}
.l3{right:112px;bottom:58px;width:270px}

/* ---------- two doors, inside the shell ---------- */
.doors{position:relative;z-index:12;display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:22px;max-width:1180px;margin:0 auto;padding:8px 32px 30px}
.door{border-radius:22px;padding:28px 30px;min-height:240px;display:flex;flex-direction:column}
.brandrow{display:flex;align-items:center;gap:12px;margin-bottom:16px;min-height:34px;
  --logo-h:22px; --logo-pad:2.35}
.mk-sky{height:calc(var(--logo-h) * var(--logo-pad));width:auto;display:block;margin-left:-6px}
/* The supplied Buzz mark is a teal-to-blue gradient; on light glass it has
   almost no contrast. Rendered as ink monochrome until a single-color
   asset exists — then drop the filter. */
.mk-buzz{height:calc(var(--logo-h) * 1.15);width:auto;display:block;
  filter:grayscale(1) contrast(1.15) brightness(.42);opacity:.92}
.mk-fb{font-family:var(--display);font-size:21px;color:var(--ink)}
.door h2{font-family:var(--display);font-weight:600;font-size:26px;line-height:1.2;margin:0}
.door h2 span{color:var(--slate);font-weight:500;display:block}
.pill{align-self:flex-start;margin-top:14px;background:rgba(255,255,255,.80);
  border:1px solid rgba(42,61,80,.10);border-radius:var(--r-pill);padding:7px 15px;
  font-size:12.5px;color:var(--slate)}
.pill b{color:var(--ink)}
.door .go{margin-top:auto;padding-top:20px;display:flex;justify-content:flex-end}

/* ---------- three phases ---------- */
.ph{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}
.phc{background:#fff;border:1px solid var(--line);border-radius:var(--r-card);padding:28px 26px;position:relative}
.phc::before{content:'';position:absolute;top:0;left:26px;right:26px;height:2px;background:var(--sky);opacity:.5}
.phn{font-size:11px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--sky);margin-bottom:10px}
.phc h3{font-size:21px;margin-bottom:10px}
.phc p{font-size:14px;color:var(--slate);margin-bottom:16px}
.phl{list-style:none;font-size:13px}
.phl li{padding:7px 0 7px 18px;position:relative;border-top:1px solid var(--mist);color:var(--slate)}
.phl li::before{content:'';position:absolute;left:0;top:16px;width:7px;height:1px;background:var(--sky)}

/* ---------- settings ---------- */
.set{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px}
.setc{background:var(--light);border:1px solid var(--line);border-radius:var(--r-card);padding:28px 26px}
.setc h3{font-size:20px;margin-bottom:8px}
.setc p{font-size:14px;color:var(--slate)}

/* ---------- then / now ---------- */
.tn{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:18px}
.tnc{border:1px solid var(--line);border-radius:var(--r-card);overflow:hidden;background:#fff}
.tnr{padding:18px 22px}
.tnr.a{background:var(--light);border-bottom:1px solid var(--mist)}
.tnl{font-size:10px;font-weight:700;letter-spacing:2px;text-transform:uppercase;margin-bottom:6px}
.tnr.a .tnl{color:var(--slate)} .tnr.b .tnl{color:var(--sky)}
.tnv{font-family:var(--display);font-weight:500;font-size:19px;line-height:1.28}
.tnr.a .tnv{color:var(--slate)}

/* ---------- people ---------- */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px 26px}
.p{display:flex;gap:16px;padding:18px 0;border-top:1px solid var(--mist)}
.av{width:52px;height:52px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;
  justify-content:center;font-weight:700;font-size:15px;color:#fff;
  background:linear-gradient(150deg,var(--sky),var(--sky-dk))}
.av.md{background:linear-gradient(150deg,#7a8a99,#4A5A6B)}
.pi{flex:1;min-width:0}
.pn{font-family:var(--display);font-weight:600;font-size:18px;line-height:1.25}
.pn small{font-family:var(--body);font-weight:600;font-size:12px;color:var(--slate);margin-left:6px}
.pr{font-size:12px;font-weight:700;letter-spacing:1.4px;text-transform:uppercase;color:var(--sky);margin:3px 0 5px}
.pd{font-size:14px;color:var(--slate);line-height:1.5}
.pl{display:inline-block;margin-top:6px;font-size:12px;font-weight:700;color:var(--red)}

/* ---------- timeline ---------- */
.tl{position:relative;padding-left:26px}
.tl::before{content:'';position:absolute;left:5px;top:6px;bottom:6px;width:2px;background:var(--mist)}
.tli{position:relative;padding:0 0 26px}
.tli::before{content:'';position:absolute;left:-26px;top:7px;width:12px;height:12px;border-radius:50%;
  background:#fff;border:2px solid var(--sky)}
.tli:last-child{padding-bottom:0}
.tly{font-family:var(--display);font-weight:600;font-size:20px;color:var(--sky);line-height:1}
.tlt{font-size:15px;color:var(--slate);margin-top:5px;max-width:58ch}

/* ---------- testimonials ---------- */
.quotes{display:grid;grid-template-columns:repeat(auto-fit,minmax(310px,1fr));gap:20px}
.q{background:#fff;border:1px solid var(--line);border-radius:var(--r-card);padding:26px 26px 22px;
  box-shadow:0 2px 14px rgba(18,32,46,.05);display:flex;flex-direction:column}
.q blockquote{font-family:var(--display);font-weight:500;font-size:19px;line-height:1.4;margin-bottom:16px}
.q blockquote::before{content:'\201C';color:var(--sky);margin-right:2px}
.q blockquote::after{content:'\201D';color:var(--sky)}
.qa{margin-top:auto;padding-top:14px;border-top:1px solid var(--mist);font-size:13px}
.qa b{display:block;font-size:14px}
.qa span{color:var(--slate)}

/* ---------- proof ---------- */
.proof{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:22px}
.pf{border-left:3px solid var(--sky);padding:4px 0 4px 18px}
.pfn{font-family:var(--display);font-weight:600;font-size:32px;line-height:1.1}
.pfl{font-size:13px;color:var(--slate);margin-top:3px}
.pfs{font-size:11px;color:#8a9aa8;margin-top:4px}

/* ---------- stance + footer ---------- */
.stance{background:var(--ink);color:#fff;text-align:center;padding:66px 0}
.stance p{font-family:var(--display);font-weight:600;font-size:clamp(21px,2.9vw,29px);max-width:26ch;margin:0 auto 12px}
.stance small{display:block;color:#8FB4C9;font-size:14px;margin-bottom:26px}
.foot{background:var(--ink);color:#8A919E;border-top:1px solid rgba(255,255,255,.12);padding:40px 0 28px;font-size:13px}
.fgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:26px;margin-bottom:26px}
.fgrid h4{font-size:11px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:#fff;
  margin-bottom:12px;font-family:var(--body)}
.fgrid a{display:block;padding:4px 0}
.fgrid a:hover{color:var(--sky)}
.foot .r{display:flex;flex-wrap:wrap;gap:14px;justify-content:space-between;
  border-top:1px solid rgba(255,255,255,.12);padding-top:20px}
.foot strong{color:var(--sky)}
.foot a:hover{color:var(--sky)}

/* rotation dots (legacy — home no longer rotates; kept for any page that
   still renders a .dots strip) */
.dots{position:relative;z-index:14;display:flex;gap:7px;justify-content:center;padding:0 0 22px}
.dot{width:7px;height:7px;border-radius:50%;border:none;padding:0;cursor:pointer;
  background:rgba(42,61,80,.22);transition:.3s}
.dot.on{background:var(--sky);width:20px;border-radius:4px}

/* ---------- preview-only annotation ---------- */
.note{background:#FFF8E1;border-left:4px solid var(--gold);padding:12px 18px;font-size:13px;
  color:#5a3a0a;border-radius:0 8px 8px 0;margin:22px 0 0;max-width:70ch}

@media(max-width:900px){
  .wrap{padding:0 20px}
  .navmid{display:none}
  .sec{padding:48px 0}
  .scrim{background:linear-gradient(180deg,rgba(255,255,255,.90) 0%,rgba(255,255,255,.62) 24%,
    rgba(255,255,255,.28) 50%,rgba(255,255,255,.32) 76%,rgba(255,255,255,.40) 100%)}
  .hero{min-height:auto;padding-bottom:6px}
  .copy{padding:52px 20px 0}
  .copy h1,.copy .sub{max-width:none}
  .lane{position:static;width:auto!important;margin:14px 20px 0}
  .arc{display:none}
  .doors{padding:18px 20px 26px}
}

/* ==========================================================================
   MONO NAV — trial, /preview/ and /preview/knowledge/
   Space Mono ships 400/700 only; a 200 request silently renders 400. If a
   genuinely lighter weight is wanted, IBM Plex Mono or Roboto Mono go to 200.
   (2026-10-13: nav blur removed with the rest of the backdrop-filters —
   solid near-white fill instead.)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&display=swap');

.nav{background:rgba(255,255,255,.92);
  border-bottom:1px solid rgba(42,61,80,.08);
  box-shadow:0 1px 0 rgba(42,61,80,.06), 0 6px 24px rgba(18,32,46,.05)}

.navmid a,.login{font-family:'Space Mono',ui-monospace,monospace;
  text-transform:uppercase;letter-spacing:.1em;font-weight:400;font-size:12px}
.login{padding:9px 18px}

/* The wash starts behind the nav so the near-transparent bar picks up its
   tint. The nav is sticky, so pulling the section up under it and restoring
   the padding keeps the layout unchanged. */
.wash{margin-top:-69px;padding-top:calc(76px + 69px)}
@media(max-width:760px){ .wash{margin-top:-61px;padding-top:calc(52px + 61px)} }

/* ==========================================================================
   MOBILE NAV DISCLOSURE — 2026-10-14. Checkbox burger, no JS; the same
   pattern the knowledge page uses (preview-system.css §8a), added here for
   the pages still on this stylesheet (home, about, thanks). Before this,
   navmid simply vanished below 900px with nothing replacing it.

   Markup contract per page:
     - <input class="navtoggle" type="checkbox" id="navtoggle"> placed as a
       sibling BEFORE .navmid (required by the ~ selector);
     - <label class="navburger" for="navtoggle"><span></span></label> inside
       .navr, after "Log in";
     - an optional .m-only item inside .navmid (e.g. Book a demo), hidden on
       desktop where the red nav button already carries it.
   The checkbox stays visually hidden rather than display:none so the menu
   keeps keyboard and tab access.
   ========================================================================== */
.navtoggle{position:absolute;width:1px;height:1px;overflow:hidden;
  clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.navburger{display:none}
.navmid .m-only{display:none}

@media(max-width:900px){
  .navburger{display:flex;flex-direction:column;justify-content:center;gap:4px;
    width:42px;height:38px;padding:0 10px;cursor:pointer;
    background:rgba(255,255,255,.88);border:1.5px solid var(--mist);border-radius:10px}
  .navburger span,.navburger::before,.navburger::after{content:'';display:block;
    height:2px;background:var(--ink);border-radius:2px}
  .navburger:hover{border-color:var(--sky)}
  .navtoggle:focus-visible + * .navburger,
  .navtoggle:focus-visible ~ .navr .navburger{outline:2px solid var(--sky);outline-offset:2px}

  /* The panel. Positioned off .nav (sticky and .over are both positioned),
     solid white — NOT backdrop-filter. Overrides the plain display:none in
     the base mobile block above. */
  .navmid{position:absolute;top:100%;left:14px;right:14px;z-index:60;
    display:none;flex-direction:column;gap:2px;
    background:#fff;border:1px solid var(--line);border-radius:14px;
    box-shadow:0 18px 44px rgba(18,32,46,.20);padding:10px;margin-top:2px}
  .navtoggle:checked ~ .navmid{display:flex}
  .navmid a{padding:12px 14px;border-radius:9px;font-size:12.5px}
  .navmid a:hover,.navmid a.on{background:var(--light);color:var(--sky)}
  .navmid .m-only{display:block;background:var(--red);color:#fff;text-align:center;
    font-family:var(--body);font-weight:700;letter-spacing:.02em;text-transform:none;
    font-size:13.5px;margin-top:6px}
  .navmid .m-only:hover{background:var(--red);color:#fff}
}
