/* Shared styles for the G360 beta site's inner pages. The home page (index.html) carries its own copy inline. */
:root{
  --ink:#1d1d1f; --grey:#86868b; --mute:#6e6e73; --tile:#f5f5f7; --line:#d2d2d7; --line-2:#e8e8ed;
  --acc:#6b4cf0; --acc-soft:#f0edfe; --dark:#0b0b0f;
  --ok:#1a9d5c; --warn:#b26a00; --stop:#d23b3b;
  /* surfaces and small fills, named so the dark look can change them in one place */
  --panel:#fff; --chip:#e8e8ed; --band:#dcdce1; --bar:#c4c4cb; --dash:#b9b9c0; --on-ink:#fff; --glass:rgba(255,255,255,.9);
  --warn-soft:#fff7e8; --warn-soft-2:#fff3df; --warn-line:#e0a030; --stop-soft:#fdecec; --acc-hover:#e5dffd;
  --ease:cubic-bezier(.16,1,.3,1);
  --w:1240px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;overflow-x:clip}
body{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:#fff;font-size:19px;line-height:1.5;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:hidden;overflow-x:clip}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
.wrap{width:min(var(--w),100% - 48px);margin-inline:auto}
section{padding:clamp(80px,12vh,140px) 0;position:relative}
.eyebrow{font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--acc);margin-bottom:20px}
h1,h2,h3{font-weight:600;letter-spacing:-.035em;line-height:1.05}
h1{font-size:clamp(40px,6.3vw,88px);margin-inline:auto}
h2{font-size:clamp(32px,4.2vw,56px);max-width:18ch}
h3{font-size:21px;letter-spacing:-.02em;line-height:1.2}
h1 .q,h2 .q{color:var(--grey)}
.lede{font-size:clamp(19px,1.6vw,22px);color:var(--mute);max-width:34em;margin-top:24px;line-height:1.45}
.center{text-align:center}
.center h2,.center .lede{margin-inline:auto}
.head{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:clamp(32px,6vw,96px);align-items:end}
.head .lede{margin-top:0}
@media(max-width:900px){.head{grid-template-columns:1fr;gap:0}.head .lede{margin-top:24px}}
.btn{display:inline-flex;align-items:center;gap:8px;height:52px;padding:0 26px;border-radius:99px;background:var(--ink);color:#fff;font-size:17px;font-weight:500;transition:transform .3s var(--ease),background .3s}
.btn:hover{transform:scale(1.03);background:#000}
.btn.light{background:#fff;color:var(--ink)}
.link{font-size:17px;font-weight:500;color:var(--acc);display:inline-flex;align-items:center;gap:6px}
.link::after{content:"›";font-size:22px;line-height:1;transform:translateY(-1px);transition:transform .3s var(--ease)}
.link:hover::after{transform:translate(4px,-1px)}
.cta{display:flex;gap:28px;align-items:center;flex-wrap:wrap}
.center .cta{justify-content:center}
.tint{background:var(--tile)}

/* reveal */
.js [data-r]{opacity:0;transform:translateY(28px);transition:opacity .9s var(--ease),transform 1s var(--ease);transition-delay:var(--d,0s)}
.js [data-r].in{opacity:1;transform:none}

/* nav */
.nav{position:fixed;inset:0 0 auto 0;z-index:50;height:56px;background:rgba(255,255,255,.86);backdrop-filter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px);border-bottom:1px solid transparent;transition:border-color .4s}
.nav.scrolled{border-color:var(--line-2)}
.nav .wrap{height:100%;display:flex;align-items:center;justify-content:space-between}
.brand{display:flex;align-items:center;gap:10px;font-weight:600;font-size:19px;letter-spacing:-.02em}
.brand svg{width:36px;height:28px}
.nav ul{display:flex;gap:30px;list-style:none;font-size:14px;color:var(--mute)}
.nav ul a:hover,.nav ul a[aria-current]{color:var(--ink)}
.nav .btn{height:34px;padding:0 16px;font-size:14px}
@media(max-width:900px){.nav ul{display:none}}

/* page hero: a centred headline with one quiet line under it */
.phero{padding:clamp(120px,17vh,180px) 0 0;text-align:center}
.phero .sub{margin:26px auto 0;max-width:33em;font-size:clamp(18px,1.7vw,23px);font-weight:500;letter-spacing:-.012em;line-height:1.42;color:var(--mute);text-wrap:balance}
.phero .sub b{color:var(--ink);font-weight:600}

/* tiles */
.cards{display:grid;gap:16px;margin-top:56px}
.cards.c3{grid-template-columns:repeat(3,1fr)}
.cards.c4{grid-template-columns:repeat(4,1fr)}
.card{background:var(--tile);border-radius:24px;padding:28px}
.tint .card{background:var(--panel)}
.card p{font-size:16px;color:var(--mute);margin-top:8px}
@media(max-width:1000px){.cards.c4{grid-template-columns:1fr 1fr}.cards.c3{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.cards.c4,.cards.c3{grid-template-columns:1fr}.cards{margin-top:36px}}

/* close and footer */
.close{background:var(--dark);color:#f5f5f7;text-align:center;padding:clamp(110px,18vh,200px) 0}
.close h2{max-width:19ch;margin-inline:auto;font-size:clamp(34px,5vw,68px)}
.close h2 .q{color:#86868b}
.close .cta{justify-content:center;margin-top:48px}
.close .link{color:#a594ff}
footer{background:var(--dark);color:#6e6e73;font-size:13px;padding:0 0 48px}
footer .wrap{border-top:1px solid #2a2a30;padding-top:28px;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}
footer .note{flex-basis:100%;margin-top:8px;max-width:70em;line-height:1.6}
footer a:hover{color:#f5f5f7}

@media(max-width:700px){
  .wrap{width:calc(100% - 40px)}
  body{font-size:18px}
  section{padding:72px 0}
  .phero{padding-top:104px}
  .phero h1{font-size:9.4vw}
  .cta{gap:18px}
  .close{padding:100px 0}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition-duration:.01s!important;transition-delay:0s!important}
}

/* headings and short lines break evenly, so no single word is left on a line of its own */
h1,h2,.lede{text-wrap:balance}

/* a product screen in a quiet window frame */
.window{background:var(--panel);border:1px solid var(--line-2);border-radius:22px;overflow:hidden;box-shadow:0 60px 120px -50px rgba(29,29,31,.35),0 2px 8px rgba(29,29,31,.05)}
.window .bar{height:38px;display:flex;align-items:center;gap:7px;padding:0 16px;border-bottom:1px solid var(--line-2);background:#fbfbfd}
.window .bar i{width:10px;height:10px;border-radius:50%;background:var(--line)}
.window .bar span{margin-left:10px;font-size:12px;color:var(--grey);font-weight:500}
.window img{display:block;width:100%;height:auto}
@media(max-width:700px){.window{border-radius:16px}.window .bar{height:30px}}

/* ---- cookie banner (start) ----
   The banner and settings window come from /js/cookie-consent.js, which was drawn for the old dark site and brings its own styles.
   These rules redraw it in this site's look without touching that script (the "body" prefix makes them win over the script's own).
   publish.cjs also copies this block into the home page, which keeps its styles inline. */
body #gc-banner{background:rgba(255,255,255,.96);border:1px solid #e8e8ed;border-radius:20px;padding:20px 24px;max-width:1000px;box-shadow:0 30px 70px -30px rgba(29,29,31,.4),0 2px 8px rgba(29,29,31,.06);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
body #gc-banner .gc-text h3{font-size:16px;font-weight:600;letter-spacing:-.01em;color:#1d1d1f}
body #gc-banner .gc-text p{font-size:14px;line-height:1.5;color:#6e6e73}
body #gc-banner .gc-text a,body #gc-banner .gc-text a:hover{color:#6b4cf0}
body .gc-btn{font-size:14px;font-weight:500;border-radius:99px;padding:10px 18px;line-height:1.2}
body .gc-btn-primary{color:#fff;background:#1d1d1f;box-shadow:none}
body .gc-btn-primary:hover{background:#000;transform:none}
body .gc-btn-ghost{color:#1d1d1f;background:#fff;border-color:#d2d2d7}
body .gc-btn-ghost:hover{color:#1d1d1f;background:#fff;border-color:#1d1d1f}
body .gc-btn-link{color:#6e6e73}
body .gc-btn-link:hover{color:#1d1d1f}
body #gc-modal{background:rgba(29,29,31,.32);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
body .gc-modal-card{background:#fff;border:0;border-radius:24px;box-shadow:0 40px 90px -30px rgba(29,29,31,.45)}
body .gc-modal-body h3{font-weight:600;letter-spacing:-.02em;color:#1d1d1f}
body .gc-modal-body .gc-lead{color:#6e6e73}
body .gc-cat{border-top-color:#e8e8ed}
body .gc-cat label{color:#1d1d1f}
body .gc-cat p{color:#6e6e73}
body .gc-cat input{accent-color:#6b4cf0}
body .gc-modal-foot{border-top-color:#e8e8ed;background:#f5f5f7;border-radius:0 0 24px 24px}
@media(max-width:560px){body #gc-banner{padding:18px}body .gc-btn{padding:10px 8px}}
/* ---- cookie banner (end) ---- */

/* ===== light and dark =====
   theme.js sets data-theme on <html> before the page draws. Light is the default; dark is the visitor's choice, kept in this browser.
   The dark look, the same on every page: a black page, surfaces a little lighter each time they come forward, nothing white;
   what was dark on the light page (the main button, a chosen tab) becomes the light thing; the dark closing band keeps a trace
   of the brand violet; and product screens are re-toned to a dark screen. The home page carries its own copy inline. */
.nav-end{display:flex;align-items:center;gap:10px}
.mode{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;color:var(--mute);transition:color .3s,background .3s}
.mode:hover{color:var(--ink);background:var(--tile)}
.mode:focus-visible{outline:2px solid var(--acc);outline-offset:2px}
.mode svg{grid-area:1/1;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;transition:opacity .35s,transform .6s var(--ease)}
.mode .sun{opacity:0;transform:rotate(-60deg) scale(.6)}
html[data-theme=dark] .mode .sun{opacity:1;transform:none}
html[data-theme=dark] .mode .moon{opacity:0;transform:rotate(60deg) scale(.6)}
html:not(.js) .mode{display:none}
@media(max-width:900px){.mode{display:none}}
::view-transition-old(root),::view-transition-new(root){animation-duration:.38s}

html[data-theme=dark]{
  color-scheme:dark;background:#000;
  --ink:#f5f5f7; --grey:#8e8e93; --mute:#a1a1a6; --tile:#131315; --line:#3a3a40; --line-2:#28282d;
  --acc:#a594ff; --acc-soft:rgba(165,148,255,.14); --dark:#0e0c19;
  --ok:#30c27c; --warn:#f0a93a; --stop:#ff6b63;
  --panel:#1c1c1f; --chip:#2e2e33; --band:#2a2a30; --bar:#4a4a52; --dash:#5a5a62; --on-ink:#1d1d1f; --glass:rgba(0,0,0,.72);
  --warn-soft:rgba(240,169,58,.12); --warn-soft-2:rgba(240,169,58,.14); --warn-line:#a8782a; --stop-soft:rgba(255,107,99,.15); --acc-hover:rgba(165,148,255,.22);
  --retone:invert(.93) hue-rotate(180deg) saturate(1.08);
}
html[data-theme=dark] body{background:#000}
html[data-theme=dark] .nav{background:rgba(0,0,0,.72)}
html[data-theme=dark] .btn,html[data-theme=dark] .btn.light{background:#f5f5f7;color:#1d1d1f}
html[data-theme=dark] .btn:hover{background:#fff}
html[data-theme=dark] .window{box-shadow:0 60px 120px -50px #000,0 0 0 1px rgba(255,255,255,.02)}
html[data-theme=dark] .window .bar{background:#222226}
/* product screens (the site's own pictures); photos and logos are left alone */
html[data-theme=dark] img[src*="/g/img/"],html[data-theme=dark] img[src^="../img/"]{filter:var(--retone)}
/* company: the customer logos are drawn black; here they are drawn light */
html[data-theme=dark] .logos img{filter:brightness(0) invert(1)}
/* product: the base layer was the one dark card; here it takes the violet trace */
html[data-theme=dark] .layer.base{background:#231e46;box-shadow:inset 0 0 0 1px rgba(165,148,255,.32)}
html[data-theme=dark] .layer.base p{color:#a49fc6}
/* contact: the form's error text was darkened red for white; on dark it is the plain red */
html[data-theme=dark] .err,html[data-theme=dark] .oops{color:var(--stop)}
/* the cookie notice, drawn by /js/cookie-consent.js */
html[data-theme=dark] body #gc-banner{background:rgba(28,28,31,.96);border-color:#28282d;box-shadow:0 30px 70px -30px #000}
html[data-theme=dark] body #gc-banner .gc-text h3,html[data-theme=dark] body .gc-modal-body h3,html[data-theme=dark] body .gc-cat label{color:#f5f5f7}
html[data-theme=dark] body #gc-banner .gc-text p,html[data-theme=dark] body .gc-modal-body .gc-lead,html[data-theme=dark] body .gc-cat p,html[data-theme=dark] body .gc-btn-link{color:#a1a1a6}
html[data-theme=dark] body #gc-banner .gc-text a,html[data-theme=dark] body #gc-banner .gc-text a:hover{color:#a594ff}
html[data-theme=dark] body .gc-btn-primary,html[data-theme=dark] body .gc-btn-primary:hover{color:#1d1d1f;background:#f5f5f7}
html[data-theme=dark] body .gc-btn-ghost,html[data-theme=dark] body .gc-btn-ghost:hover{color:#f5f5f7;background:none;border-color:#3a3a40}
html[data-theme=dark] body .gc-btn-link:hover{color:#f5f5f7}
html[data-theme=dark] body #gc-modal{background:rgba(0,0,0,.6)}
html[data-theme=dark] body .gc-modal-card{background:#1c1c1f;box-shadow:0 40px 90px -30px #000}
html[data-theme=dark] body .gc-cat,html[data-theme=dark] body .gc-modal-foot{border-top-color:#28282d}
html[data-theme=dark] body .gc-modal-foot{background:#131315}
html[data-theme=dark] body .gc-cat input{accent-color:#a594ff}
/* the phone menu sheet, and white text on the brand violet: the violet stays deep where text sits on it */
html[data-theme=dark]{--sheet:#111113;--lift:#2c2c31}
html[data-theme=dark] .bubble,html[data-theme=dark] .pip,html[data-theme=dark] .what[open] summary i{background:#6b4cf0}
html[data-theme=dark] .what[open] summary i{border-color:#6b4cf0}
/* trust: the lock on the on-prem boundary */
html[data-theme=dark] .way .lock circle{fill:#f5f5f7}
html[data-theme=dark] .way .lock path,html[data-theme=dark] .way .lock rect{stroke:#1d1d1f}
/* company: the frame behind each photo */
html[data-theme=dark] .ph{background:#2c2c31}
