/*
 * GLORi Marketing design layer — ported from Steve Ewald's marketing.glori.com pages
 * (glori-com-site Fly v48: marketing/_assets/gheader.css?v=2 + marketing/_assets/glori.css?v=11).
 * Inventory of every ported/kept difference: docs/glori/steve-marketing-diff.md.
 *
 * Every selector is prefixed gh- / gm-, or scoped to `body:has(.gh)` (a page that renders the
 * GLORi header), so loading this sheet can never restyle the admin / dashboard / portal apps.
 * Assets live under /glori/ — never /_assets/ or /fonts/, which the marketing.glori.com
 * Cloudflare Worker diverts to glori-com-site.
 */

/* ---------- header: thank-you bar + nav (gheader.css v2) ---------- */
.gh{--gh-navy:#20323B;--gh-gold:#E0BF6C;--gh-gold-hi:#E8CF91;--gh-cream:#F6F1E7;--gh-line:rgba(224,191,108,.22);--gh-ease:cubic-bezier(.22,.61,.36,1);font-family:var(--font-inter),'Inter','SF Pro Text','Helvetica Neue',Arial,system-ui,sans-serif;line-height:1.6;-webkit-font-smoothing:antialiased}
.gh *{box-sizing:border-box}
.gh a{text-decoration:none;color:inherit}
.gh-thanks{position:relative;z-index:101;background:var(--gh-gold);color:var(--gh-navy);display:flex;align-items:center;justify-content:center;padding:9px 48px;min-height:40px;font-size:.88rem;font-weight:500;text-align:center}
.gh-thanks p{margin:0}
.gh-thanks,.gh-thanks p,.gh-thanks b{color:var(--gh-navy)!important}
.gh-thanks b{font-weight:700}
.gh-thanks-x{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:30px;height:30px;border:0;border-radius:50%;background:none;color:var(--gh-navy);font-size:1.4rem;line-height:1;cursor:pointer;opacity:.7;transition:opacity .2s,background .2s}
.gh-thanks-x:hover{opacity:1;background:rgba(32,50,59,.12)}
.gh-thanks[hidden]{display:none}
/* fixed below the bar until it scrolls away or is dismissed (same as glori.com) */
.gh-nav{position:fixed;top:var(--nav-top,0px);left:0;right:0;z-index:100;height:74px;display:flex;align-items:center;background:transparent;border-bottom:1px solid transparent;transition:background .4s var(--gh-ease),backdrop-filter .4s var(--gh-ease),border-color .4s var(--gh-ease),height .4s var(--gh-ease)}
.gh-nav.scrolled{height:64px;background:rgba(22,37,44,.82);backdrop-filter:blur(18px) saturate(140%);-webkit-backdrop-filter:blur(18px) saturate(140%);border-bottom-color:var(--gh-line)}
.gh-wrap{display:flex;align-items:center;justify-content:space-between;width:min(92vw,1340px);margin:0 auto}
/* Lift the lockup so the GLOR letters + "Marketing" (not the sun above the i) share a center line with the menu text and the CTA. */
.gh-brand{display:flex;align-items:center;gap:12px;transform:translateY(-5.5px)}
.gh-brand img{height:34px;width:auto;display:block;max-width:none}
/* The page CSS gives every nav link a tap-target min-height, which knocks the lockup off-center. */
.gh-brand a{min-height:0;min-width:0;padding:0}
.gh-brand>a:first-child{display:block;line-height:0}
/* Mailer lockup: the gold rule spans just the GLOR letters (lower ~62% of the wordmark; the sun sits above the i), and "Marketing" is nudged down to center on those letters. */
.gh-brand .sep{width:2px;height:27px;margin-left:4px;background:#e0bf6c;align-self:center;transform:translateY(5.5px)}
.gh-brand .mk{color:#a5b4fc;font-weight:600;font-size:1.15rem;letter-spacing:-.01em;line-height:1;transform:translateY(.3em)}
.gh-links{display:flex;gap:30px;align-items:center}
.gh-links a,.gh-links button{min-height:0;min-width:0;display:inline-flex;align-items:center;line-height:1.2;font-size:.86rem;font-weight:500;letter-spacing:.02em;color:rgba(246,241,231,.82);position:relative;padding:4px 0;white-space:nowrap}
.gh-links button{background:none;border:0;cursor:pointer;font-family:inherit}
.gh-links a::after{content:'';position:absolute;left:0;right:100%;bottom:0;height:1px;background:var(--gh-gold);transition:right .35s var(--gh-ease)}
.gh-links a:hover,.gh-links button:hover{color:var(--gh-cream)}
.gh-links a:hover::after,.gh-links a[aria-current="page"]::after{right:0}
.gh-links a[aria-current="page"]{color:var(--gh-gold)}
.gh-links a.gh-cta{padding:9px 20px;line-height:1.2;border-radius:100px;background:var(--gh-gold);color:var(--gh-navy);font-size:.84rem;font-weight:600;box-shadow:0 10px 30px -10px rgba(224,191,108,.5);transition:background .3s var(--gh-ease),transform .3s var(--gh-ease)}
.gh-links a.gh-cta:hover{background:var(--gh-gold-hi);color:var(--gh-navy);transform:translateY(-2px)}
.gh-links a.gh-cta::after{display:none}
.gh-burger{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:6px}
.gh-burger span{width:24px;height:2px;background:var(--gh-cream);transition:.3s var(--gh-ease)}
.gh-back{color:rgba(246,241,231,.55)!important;font-size:.78rem!important}
@media(max-width:1100px){.gh-links{gap:20px}}
@media(max-width:980px){
  .gh-links{display:none}
  .gh-burger{display:flex}
  .gh-nav.open .gh-links{display:flex;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;gap:0;background:rgba(22,37,44,.97);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);padding:14px 6vw 26px;border-bottom:1px solid var(--gh-line)}
  .gh-nav.open .gh-links a,.gh-nav.open .gh-links button{padding:13px 0;border-bottom:1px solid rgba(246,241,231,.06);width:100%}
  .gh-nav.open .gh-links a.gh-cta{margin-top:14px;text-align:center;border-bottom:none;padding:12px 20px}
}
@media(max-width:560px){.gh-thanks{font-size:.8rem;padding:8px 40px}.gh-brand{transform:translateY(-4.5px)}.gh-brand img{height:28px}.gh-brand .sep{height:23px;transform:translateY(4.5px)}.gh-brand .mk{font-size:1rem}}
@media(min-width:981px){.gh-back{display:none!important}}

/* ---------- page overlay: navy / lavender, reviews, See More (glori.css v11) ---------- */
body:has(.gh){background:#0b1626}
.gm-note{font-size:.75rem;color:rgba(255,255,255,.5);margin-top:.5rem;text-align:center}
body:has(.gh) button[disabled]{cursor:not-allowed;opacity:.5}
.gm-back{color:rgba(255,255,255,.4);text-decoration:none}.gm-back:hover{color:#fff}

/* testimonials: stars + balanced 3-col on desktop */
.gm-stars{color:#e0bf6c;letter-spacing:.1em;margin-left:.25rem;white-space:nowrap}
@media (min-width:1024px){.gm-testi-wrap{max-width:64rem}.gm-testi{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* reviews marquee */
.gm-marquee{overflow:hidden;width:100%;-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.gm-track{display:flex;gap:16px;width:max-content;padding:4px 8px;animation:gm-scroll 45s linear infinite}
.gm-marquee:hover .gm-track,.gm-marquee:focus-within .gm-track{animation-play-state:paused}
.gm-rcard{flex:0 0 auto;width:auto;background:#151f32;border:1px solid #2d4060;border-radius:.75rem;padding:.8rem 1.4rem;text-align:left;white-space:normal}
.gm-rcard p:first-child{font-size:.875rem;line-height:1.5;font-style:italic;color:rgba(255,255,255,.6);margin:0 0 .35rem}
.gm-rcard p:last-child{font-size:.75rem;color:rgba(255,255,255,.4);margin:0}
.gm-rcard p:last-child span:first-child{color:rgba(255,255,255,.7);font-weight:500}
@keyframes gm-scroll{to{transform:translateX(calc(-50% - 8px))}}
@media(max-width:1100px){.gm-rcard{width:620px}}
@media(max-width:640px){.gm-rcard{width:300px}}
@media(prefers-reduced-motion:reduce){.gm-marquee{overflow-x:auto;-webkit-mask-image:none;mask-image:none}.gm-track{animation:none}.gm-rcard[aria-hidden="true"]{display:none}}
/* Home: wide one-line review cards, with the hero's spacing trimmed so whole cards show on the first screen. */
.hero-video-wrap .hero-video-content{padding-top:80px;padding-bottom:10px}
.gm-reviews{position:relative;z-index:2}
/* Desktop: every review on one line (cards size to their text) so the strip stays short. */
@media(min-width:1101px){.gm-rcard p:first-child{white-space:nowrap}.gm-track{align-items:flex-start}}
/* "See More" cue under the icon row: the headline's "Is Already Here." gradient, sweeping left to right,
   applied to the text and each bobbing arrow. */
.gm-seemore{display:inline-flex;align-items:center;gap:.6rem;margin-top:1rem;font-weight:700;font-size:1rem;letter-spacing:.02em;text-decoration:none;opacity:1;color:#a5b4fc}
.gm-seemore,.gm-seemore .gm-arr{-webkit-text-fill-color:transparent;background:linear-gradient(90deg,#a5b4fc 0%,#818cf8 25%,#c084fc 50%,#a5b4fc 75%,#818cf8 100%) 0 0/300% 100%;-webkit-background-clip:text;background-clip:text}
.gm-seemore .gm-arr{display:inline-block;font-family:system-ui,-apple-system,sans-serif}
.gm-seemore{animation:gradient-shift 6s infinite}
.gm-seemore .gm-arr{animation:gm-bob 1.4s ease-in-out infinite,gradient-shift 6s infinite}
.gm-seemore .gm-arr:last-child{animation-delay:.2s,0s}
.gm-seemore:hover{animation-play-state:paused;filter:brightness(1.2)}
@keyframes gm-bob{0%,100%{transform:translateY(-2px)}50%{transform:translateY(4px)}}
@media(prefers-reduced-motion:reduce){.gm-seemore,.gm-seemore .gm-arr{animation:none}}
#gm-next{scroll-margin-top:120px}

/* ---------- sign-in card (marketing/sign-in/index.html inline <style>) ---------- */
.si-main{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:150px 20px 60px}
.si-card{width:100%;max-width:24rem;background:#151f32;border:1px solid rgba(165,180,252,.3);border-radius:1rem;padding:1.5rem;box-shadow:0 20px 60px -28px rgba(99,102,241,.45)}
.si-card h1{font-size:1.125rem;font-weight:600;color:#f1f5f9;margin:0 0 .25rem}
.si-sub{font-size:.875rem;color:#94a3b8;margin:0 0 1.25rem}
.si-field{margin-bottom:1rem}
.si-field label{display:block;font-size:.75rem;font-weight:500;color:#94a3b8;margin-bottom:.4rem}
.si-field input{width:100%;padding:.65rem .85rem;background:#0c1220;border:1px solid #2d4060;border-radius:.75rem;font:inherit;font-size:.875rem;color:#f1f5f9}
.si-field input::placeholder{color:#8190a8;opacity:1}
.si-field input:focus{outline:none;border-color:#a5b4fc}
.si-error{font-size:.875rem;color:#f87171;margin:0 0 1rem}
.si-btn{width:100%;padding:.65rem;background:#e0bf6c;color:#0c1220;font:inherit;font-weight:600;font-size:.875rem;border:0;border-radius:.75rem;cursor:pointer;transition:background .2s}
.si-btn:hover{background:#e8cf91}
.si-links{display:flex;justify-content:space-between;gap:.75rem;flex-wrap:wrap;margin-top:1.25rem;font-size:.75rem;color:#94a3b8}
.si-links a{color:#a5b4fc;text-decoration:none;cursor:pointer}
.si-links a:hover{color:#c7d2fe;text-decoration:underline}
.si-links a:focus-visible,.si-card :focus-visible{outline:2px solid #a5b4fc;outline-offset:2px}

