/* ===================================================================
   Onlyview — landing page (home only)
   Loaded only by layouts/index.html, on top of ov.css. Keep generic
   names out of here unless they're unique to the landing page:
   nav + footer are owned by ov.css; cards are renamed .lp-card.
   =================================================================== */

:root {
  /* surfaces */
  --ink:        #0b0b0f;
  --ink-2:      #101015;
  --ink-card:   #16161c;
  --paper:      #ffffff;
  --paper-2:    #f4f4f7;
  /* text */
  --text:       #16161c;
  --text-dim:   #5c5c68;
  --text-inv:   #f3f3f6;
  --text-inv-dim: rgba(243,243,246,.68);
  /* brand */
  --orange:  #FF7A00;
  --red:     #FF1E50;
  --magenta: #E6007E;
  --purple:  #8A2BE2;
  --grad:      linear-gradient(100deg, #FF7A00, #FF1E50, #E6007E, #8A2BE2);
  --grad-soft: linear-gradient(100deg, rgba(255,122,0,.16), rgba(230,0,126,.16), rgba(138,43,226,.18));
  /* layout */
  --maxw: 1180px;
  --r: 14px;
  --font-display: 'Now', 'Montserrat', system-ui, sans-serif;
  --font-body:    'Now', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

html { scroll-behavior: smooth; }

/* The landing page opts into the brand body type + ink palette. Other
   pages keep ov.css's defaults. */
body.is-home {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.is-home h1, .is-home h2, .is-home h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
}
.is-home h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
.is-home h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); }
.is-home h3 { font-size: 1.25rem; letter-spacing: -0.01em; }

/* ---------- layout helpers ---------- */
.is-home .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.lp-section { padding: 96px 0; }
.dark { background: var(--ink); color: var(--text-inv); }
.ink2 { background: var(--ink-2); color: var(--text-inv); }
.is-home .center { text-align: center; }
.is-home .lead { font-size: 1.25rem; color: var(--text-dim); max-width: 60ch; }
.dark .lead, .ink2 .lead { color: var(--text-inv-dim); }
.is-home .muted { color: var(--text-dim); }
.dark .muted, .ink2 .muted { color: var(--text-inv-dim); }

/* ---------- type accents ---------- */
.overline {
  font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: .2em; font-size: 13px;
  display: inline-block; margin-bottom: 18px;
}
.gradient-text {
  background: var(--grad); -webkit-background-clip: text;
  background-clip: text; color: transparent;
}
.rule { height: 4px; width: 64px; border: 0; border-radius: 4px; background: var(--grad); margin: 0 0 26px; }

/* ---------- buttons ---------- */
.is-home .btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  padding: 14px 28px; border-radius: 100px; text-decoration: none;
  border: 0; cursor: pointer; letter-spacing: .01em;
  transition: transform .15s ease, box-shadow .25s ease, opacity .2s ease;
}
.is-home .btn:hover { transform: translateY(-2px); }
.is-home .btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 28px rgba(230,0,126,.35); }
.is-home .btn-ghost { background: transparent; color: inherit; border: 1.5px solid currentColor; opacity: .85; }
.is-home .btn-ghost:hover { opacity: 1; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ===================================================================
   Hero (overrides the site header on the home page)
   =================================================================== */
.site-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  color: #fff;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.site-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(11,11,15,.35) 0%, rgba(11,11,15,.55) 55%, rgba(11,11,15,.92) 100%);
}
/* extra fade behind the nav so the menu stays legible over a bright hero */
.site-hero::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 180px; z-index: 0;
  background: linear-gradient(180deg, rgba(11,11,15,.70) 0%, rgba(11,11,15,0) 100%);
}
.site-hero > * { position: relative; z-index: 1; }
/* align the reused site nav to the hero content width */
.is-home .nav-inner { max-width: var(--maxw); }

.hero-content {
  max-width: 820px;
  margin: auto auto 0;          /* push block to the bottom, keep centered */
  padding: 9vh 24px 11vh;
  text-align: center;
}
.hero-content h1 { color: #fff; margin-bottom: 20px; }
.hero-sub {
  font-family: var(--font-body); font-weight: 400;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.5; color: rgba(255,255,255,.85);
  max-width: 58ch; margin: 0 auto 30px;
}
.hero-content .btn-row { justify-content: center; }
.site-hero .btn-ghost { color: #fff; }

/* ---------- global reach / world map ---------- */
.reach-sec { padding: 96px 0; }
.reach-head { max-width: 780px; }
.reach-head h2 { margin-bottom: 18px; }
.reach-stats { display: flex; gap: 48px; flex-wrap: wrap; margin: 34px 0 8px; }
.reach-stats .s .n { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem;
                     line-height: 1; background: var(--grad); -webkit-background-clip: text;
                     background-clip: text; color: transparent; }
.reach-stats .s .l { display: block; margin-top: 8px; font-size: 13px; letter-spacing: .16em;
                     text-transform: uppercase; color: var(--text-inv-dim); }

.reach-map { position: relative; max-width: 1140px; margin: 38px auto 0; }
.reach-map svg { width: 100%; height: auto; display: block; }

.reach-callout { position: absolute; z-index: 8; width: 230px; max-width: 72vw;
                 background: rgba(22,22,28,.97); border: 1px solid rgba(255,255,255,.12);
                 border-radius: 12px; padding: 14px 15px; pointer-events: none;
                 box-shadow: 0 24px 50px -16px rgba(0,0,0,.8);
                 opacity: 0; visibility: hidden; transform: translate(-50%,-100%);
                 transition: opacity .16s ease, visibility .16s ease; }
.reach-callout.show { opacity: 1; visibility: visible; }
.reach-callout::before { content: ""; position: absolute; left: 16px; right: 16px; top: 0;
                         height: 3px; border-radius: 3px; background: var(--grad); }
.reach-callout .cc-tag { font-family: var(--font-display); font-weight: 700; font-size: 10px;
                         letter-spacing: .16em; text-transform: uppercase; color: var(--magenta); }
.reach-callout h4 { font-family: var(--font-display); font-weight: 700; color: var(--text-inv);
                    font-size: 1.02rem; margin: 5px 0 7px; }
.reach-callout p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--text-inv-dim); }

.reach-hint { text-align: center; margin: 22px auto 0; font-size: 13px; color: var(--text-inv-dim); }

/* ---------- before / after slider (signature) ---------- */
/* v2 photos are near-square (1027x1024 / 1200x1197), hence the 1/1 ratio and the
   tighter max-width — a full-width square would be far too tall on desktop. */
.ba { position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: var(--r);
      overflow: hidden; user-select: none; cursor: ew-resize; touch-action: pan-y; background:#000;
      box-shadow: 0 30px 70px rgba(0,0,0,.35); max-width: 720px; margin: 0 auto; }
.ba img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
          pointer-events:none; -webkit-user-drag:none; }
.ba .top { z-index:2; clip-path: inset(0 50% 0 0); will-change: clip-path; }
.ba .lbl { position:absolute; bottom:16px; z-index:4; font-family: var(--font-display);
           font-weight:700; font-size:13px; letter-spacing:.12em; text-transform:uppercase; color:#fff;
           background: rgba(11,11,15,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
           padding:7px 14px; border-radius:100px; }
.ba .lbl-before { left:16px; }
.ba .lbl-after  { right:16px; }
.ba .divider { position:absolute; top:0; bottom:0; left:50%; z-index:3; width:2px; background:#fff;
               transform: translateX(-1px); box-shadow: 0 0 18px rgba(0,0,0,.5); }
.ba .knob { position:absolute; top:50%; left:50%; z-index:5; width:52px; height:52px; border-radius:50%;
            transform: translate(-50%,-50%); background: var(--grad); display:flex; align-items:center;
            justify-content:center; box-shadow: 0 6px 22px rgba(230,0,126,.5), 0 0 0 4px rgba(255,255,255,.85); }
.ba .knob::before, .ba .knob::after { content:""; width:0; height:0; border-style:solid; }
.ba .knob::before { border-width:6px 8px 6px 0; border-color: transparent #fff transparent transparent; margin-right:5px; }
.ba .knob::after  { border-width:6px 0 6px 8px; border-color: transparent transparent transparent #fff; margin-left:5px; }
.ba:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; }
.ba-credit { text-align:center; margin: 20px auto 0; font-size: 13px; color: var(--text-dim); }
.ba-credit strong { color: var(--text); font-weight: 700; }

/* ---------- capability bands ---------- */
.lp-section--paper { background: var(--paper-2); }
.band { display:grid; grid-template-columns: 1fr 1fr; gap:54px; align-items:center; }
.band + .band { margin-top: 84px; }
.band .media { border-radius: var(--r); overflow:hidden; aspect-ratio: 4/3; box-shadow: 0 24px 60px rgba(0,0,0,.14); }
.band .media img { width:100%; height:100%; object-fit:cover; }
.band h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom:14px; }
.band p { font-size: 1.1rem; color: var(--text-dim); max-width: 46ch; margin:0; }
.band.flip .text { order:2; } .band.flip .media { order:1; }
@media (max-width: 860px){
  .band, .band.flip { grid-template-columns: 1fr; gap:24px; }
  .band.flip .text, .band.flip .media { order:initial; }
  .band + .band { margin-top: 56px; }
}

/* ---------- interactive screenshot (signature) ---------- */
.shot-section { padding-top: 72px; }
.shot-head { max-width: 760px; }
.shot-head h2 { margin-bottom: 18px; }
.showcase { margin-top: 48px; }
.stage { position: relative; max-width: 1080px; margin: 0 auto; border-radius: 10px; overflow: hidden;
         background: #000; line-height: 0; border: 1px solid rgba(255,255,255,.14);
         box-shadow: 0 40px 90px -30px rgba(0,0,0,.85); }
.stage img.ui { width: 100%; height: auto; display: block; transition: filter .35s ease; }
.stage.is-spotlit img.ui { filter: brightness(.42) saturate(.85); }
.spotlight { position: absolute; width: 26%; padding-bottom: 26%; transform: translate(-50%, -50%); border-radius: 50%;
             pointer-events: none; opacity: 0; transition: opacity .35s ease, left .35s ease, top .35s ease;
             background: radial-gradient(circle, rgba(255,255,255,.16) 0%, rgba(255,255,255,.05) 45%, transparent 70%); z-index: 2; }
.stage.is-spotlit .spotlight { opacity: 1; }
.hotspot { position: absolute; transform: translate(-50%, -50%); width: 30px; height: 30px; padding: 0; margin: 0;
           border: 0; background: transparent; cursor: pointer; z-index: 5; border-radius: 50%; }
.hotspot:focus { outline: none; }
.hotspot .dot { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: 16px; height: 16px;
                border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 3px rgba(11,11,15,.55), 0 2px 8px rgba(0,0,0,.5); }
.hotspot .ring { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: 16px; height: 16px;
                 border-radius: 50%; border: 2px solid var(--magenta); animation: pulse 2.2s ease-out infinite; pointer-events: none; }
@keyframes pulse { 0% { width:16px; height:16px; opacity:.9; } 100% { width:48px; height:48px; opacity:0; } }
.hotspot:hover .dot, .hotspot:focus-visible .dot, .hotspot.is-active .dot { box-shadow: 0 0 0 4px rgba(230,0,126,.45), 0 0 18px rgba(230,0,126,.7); }
.hotspot:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 50%; }
.hotspot.is-active { z-index: 7; }
.callout { position: absolute; z-index: 8; width: 250px; max-width: 70vw; transform: translate(-50%, 12px);
           background: rgba(22,22,28,.96); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 16px;
           box-shadow: 0 24px 50px -16px rgba(0,0,0,.8); opacity: 0; visibility: hidden;
           transition: opacity .2s ease, visibility .2s ease, transform .2s ease; pointer-events: none; text-align: left; }
.callout::before { content: ""; position: absolute; top: 0; left: 18px; right: 18px; height: 3px; border-radius: 3px; background: var(--grad); }
.callout.flip-up { transform: translate(-50%, calc(-100% - 30px)); }
.callout.align-left  { transform: translate(-86%, 12px); }
.callout.align-right { transform: translate(-14%, 12px); }
.callout.align-left.flip-up  { transform: translate(-86%, calc(-100% - 30px)); }
.callout.align-right.flip-up { transform: translate(-14%, calc(-100% - 30px)); }
.hotspot:hover + .callout, .hotspot:focus-visible + .callout, .hotspot.is-active + .callout { opacity: 1; visibility: visible; pointer-events: auto; }
.callout h3 { font-size: 1rem; color: var(--text-inv); margin-bottom: 6px; }
.callout p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--text-inv-dim); }
.tour { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 30px auto 0; }
.tour .counter { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .04em;
                 color: var(--text-inv-dim); min-width: 56px; text-align: center; }
.tour .step-btn { appearance: none; cursor: pointer; width: 44px; height: 44px; border-radius: 50%;
                  border: 1.5px solid rgba(255,255,255,.28); background: transparent; color: #fff; font-size: 18px; line-height: 1;
                  display: inline-flex; align-items: center; justify-content: center;
                  transition: border-color .2s ease, background .2s ease, opacity .2s ease, transform .15s ease; }
.tour .step-btn:hover { border-color: #fff; transform: translateY(-1px); }
.tour .step-btn:disabled { opacity: .35; cursor: not-allowed; transform: none; }
.tour .step-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.shot-hint { text-align: center; margin: 14px auto 0; font-size: 13px; color: var(--text-inv-dim); max-width: 52ch; }
@media (max-width: 640px){ .callout { width: 200px; } .hotspot .dot, .hotspot .ring { width: 13px; height: 13px; } }

/* ---------- why / 3-up ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 860px){ .grid-3 { grid-template-columns: 1fr; } }
.lp-card { border-radius: var(--r); padding: 30px; background: var(--paper-2); }
.lp-card-title { font-family: var(--font-display); font-weight: 700; margin-bottom: 12px; }
.lp-card p { margin: 0; }

/* ---------- cta ---------- */
.cta { text-align: center; }
.cta .rule { margin: 0 auto 26px; }
.cta h2 { max-width: 18ch; margin: 0 auto 30px; }

/* ---------- motion safety ---------- */
@media (prefers-reduced-motion: reduce){
  html { scroll-behavior: auto; }
  .hotspot .ring { animation: none; opacity: .6; }
  .spotlight, .stage img.ui, .callout { transition: none; }
  .is-home * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
