/* Owlocker marketing site
   Base: cool mist. Pastels tint whole sections. Navy carries headlines and the closing band.
   Orange is reserved for primary actions and the live alert. */
:root {
  --mist: #F6F7FB;
  --white: #FFFFFF;
  --peach: #FFE9DA;
  --lilac: #ECE8FF;
  --mint: #DFF4EB;
  --sky: #E1EDFF;
  --navy: #16245A;
  --navy-2: #22337A;
  --orange: #F2862B;
  --orange-ink: #B9560A;
  --ink: #2B3355;
  --muted: #646D8C;
  --line: #E3E6F0;

  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --body: 'Figtree', 'Segoe UI', system-ui, sans-serif;

  --r-lg: 28px;   /* big containers: scene, tiles */
  --r-md: 16px;   /* plans, panels */
  --r-sm: 10px;   /* buttons, chips */
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--mist); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); color: var(--navy); margin: 0; }
h1 { font-size: clamp(42px, 6.4vw, 84px); line-height: .98; letter-spacing: -0.035em; font-weight: 800; }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 700; }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 700; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: var(--r-sm); z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 15px/1 var(--body); text-decoration: none; border-radius: var(--r-sm);
  padding: 12px 18px; border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-lg { font-size: 17px; padding: 16px 26px; }
.btn-block { width: 100%; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: #E07418; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-ghost { background: var(--white); color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: #C9CEE0; }
.link-quiet { text-decoration: none; font-weight: 600; color: var(--navy); font-size: 15px; }
.link-quiet:hover { text-decoration: underline; }
.fine { font-size: 14px; color: var(--muted); }
.center { text-align: center; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(246, 247, 251, .86); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; }
.top-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--navy); letter-spacing: -0.02em; }
.brand img { border-radius: 9px; }
.brand b { color: var(--orange); font-weight: 800; }
.top-nav { display: flex; gap: 28px; }
.top-nav a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink); }
.top-nav a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.top-actions { display: flex; align-items: center; gap: 18px; }

/* Hero */
.hero { padding: 56px 0 96px; }
.hero-copy { text-align: center; max-width: 880px; }
.hero h1 { margin: 0 auto; max-width: 14ch; text-wrap: balance; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--ink); max-width: 36em; margin: 26px auto 0; line-height: 1.55; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.hero .fine { margin-top: 16px; }

/* Product scene */
.scene {
  position: relative; margin-top: 52px; padding: 44px;
  background: var(--lilac); border-radius: var(--r-lg);
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; align-items: start;
}
.scene-deck { background: var(--white); border-radius: var(--r-md); overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(22, 36, 90, .35); }
.deck-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #FBFBFE; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #DDE1EC; }
.deck-url { margin-left: 10px; font-size: 13px; color: var(--muted); }
.deck-page { position: relative; padding: 30px 30px 22px; min-height: 300px; display: flex; flex-direction: column; }
.deck-wm {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='150'%3E%3Ctext x='150' y='85' text-anchor='middle' transform='rotate(-24 150 75)' fill='rgba(22,36,90,0.09)' font-family='Segoe UI,Arial,sans-serif' font-size='14' font-weight='600'%3Ej.rivera@juniperfund.com%3C/text%3E%3C/svg%3E");
}
.deck-kicker { font-size: 14px; color: var(--muted); font-weight: 600; }
.deck-title { font-family: var(--display); font-weight: 800; color: var(--navy); font-size: 30px; letter-spacing: -0.02em; margin-top: 4px; }
.deck-chart { display: flex; align-items: flex-end; gap: 12px; height: 150px; margin-top: auto; padding-top: 24px; }
.deck-chart i { flex: 1; background: var(--sky); border-radius: 6px 6px 0 0; }
.deck-chart i:last-child { background: var(--navy); }
.deck-foot { margin-top: 14px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; }

.scene-stats { background: var(--white); border-radius: var(--r-md); padding: 22px 22px 16px; box-shadow: 0 1px 0 var(--line); }
.stats-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.stats-name { font-weight: 700; color: var(--navy); font-size: 16px; }
.stats-sub { font-size: 13px; color: var(--muted); }
.live { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: #1E7A52; background: var(--mint); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #2BA36D; }
.pages { margin-top: 18px; display: grid; gap: 9px; }
.pg { display: grid; grid-template-columns: 82px 1fr 42px; align-items: center; gap: 10px; font-size: 13px; }
.pg span { color: var(--ink); }
.pg b { height: 10px; border-radius: 99px; background: #E9ECF6; position: relative; overflow: hidden; }
.pg b::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); background: #B9C3E6; border-radius: 99px; }
.pg em { font-style: normal; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.pg.hot span { font-weight: 700; color: var(--navy); }
.pg.hot b::after { background: var(--orange); }
.pg.hot em { color: var(--orange-ink); font-weight: 700; }
.viewers { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 8px; }
.vw { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; font-size: 13px; }
.av { width: 30px; height: 30px; border-radius: 50%; background: var(--c); display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--navy); }
.vw em { font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; }

.alert {
  position: absolute; right: 36px; bottom: -26px; display: flex; gap: 12px; align-items: center;
  background: var(--white); border-radius: 14px; padding: 12px 16px 12px 12px; max-width: 380px;
  box-shadow: 0 0 0 1.5px var(--orange), 0 22px 44px -18px rgba(22, 36, 90, .45);
}
.alert img { border-radius: 9px; flex-shrink: 0; }
.alert-title { font-weight: 700; color: var(--navy); font-size: 14px; line-height: 1.35; }
.alert-sub { font-size: 12.5px; color: var(--muted); }

/* The one orchestrated moment: bars fill, then the alert arrives */
@media (prefers-reduced-motion: no-preference) {
  .pg b::after { animation: fill 1.1s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 90ms + 200ms); }
  .pg:nth-child(2) { --i: 1; } .pg:nth-child(3) { --i: 2; } .pg:nth-child(4) { --i: 3; } .pg:nth-child(5) { --i: 4; } .pg:nth-child(6) { --i: 5; }
  .alert { animation: arrive .7s cubic-bezier(.2, .8, .2, 1) 1.5s both; }
  @keyframes fill { from { width: 0; } }
  @keyframes arrive { from { opacity: 0; transform: translateY(18px) scale(.97); } }
}

/* Sections */
section h2 { max-width: 22ch; text-wrap: balance; }
.section-lede { font-size: 19px; color: var(--ink); max-width: 40em; margin-top: 16px; }

.how { padding: 72px 0 40px; }
.features { padding: 72px 0; }
.tiles { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; gap: 10px; min-height: 220px; }
.tile p { color: var(--ink); max-width: 46ch; }
.t-wide { grid-column: span 2; }
.t-peach { background: var(--peach); }
.t-lilac { background: var(--lilac); }
.t-mint { background: var(--mint); }
.t-sky { background: var(--sky); }
.t-plain { background: var(--white); border: 1px solid var(--line); }
.t-navy { background: var(--navy); }
.t-navy h3 { color: #fff; }
.t-navy p { color: #D6DCF2; }
.mini-bars { margin-top: auto; display: grid; gap: 8px; max-width: 420px; padding-top: 12px; }
.mini-bars i { display: block; height: 10px; border-radius: 99px; background: rgba(22, 36, 90, .12); position: relative; }
.mini-bars i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 99px; background: rgba(22, 36, 90, .45); }
.mini-bars i:nth-child(3)::after { background: var(--orange); }

/* Pricing */
.pricing { padding: 80px 0; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.toggle { display: inline-flex; gap: 4px; padding: 4px; background: var(--mist); border: 1px solid var(--line); border-radius: 999px; margin-top: 30px; }
.toggle button { border: 0; background: transparent; font: 600 15px/1 var(--body); color: var(--muted); padding: 11px 18px; border-radius: 999px; cursor: pointer; }
.toggle button[aria-checked="true"] { background: var(--white); color: var(--navy); box-shadow: 0 1px 3px rgba(22, 36, 90, .14); }
.plans { margin-top: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; background: var(--mist); border-radius: var(--r-md); padding: 28px; display: flex; flex-direction: column; border: 1px solid var(--line); }
.plan-team { background: var(--peach); border-color: #F6CDAE; }
.plan-flag { position: absolute; top: -13px; left: 24px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.plan-for { color: var(--muted); font-size: 15px; margin-top: 2px; }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: 18px; min-height: 58px; }
.amt { font-family: var(--display); font-weight: 800; font-size: 50px; letter-spacing: -0.03em; color: var(--navy); line-height: 1; }
.per { color: var(--muted); font-size: 15px; }
.was { color: var(--muted); font-size: 19px; }
.price-note { font-size: 13.5px; color: var(--muted); min-height: 40px; margin: 6px 0 18px; }
.price-note.founding { color: var(--orange-ink); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-size: 15.5px; }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: ''; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2.5px solid var(--navy); border-bottom: 2.5px solid var(--navy); transform: rotate(-45deg); }
.pricing .fine { margin-top: 26px; }

/* FAQ */
.faq { padding: 84px 0; }
.faq-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.qs { display: grid; gap: 10px; }
details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 22px; }
summary { list-style: none; cursor: pointer; padding: 18px 28px 18px 0; font-weight: 600; color: var(--navy); position: relative; font-size: 17px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; position: absolute; right: 4px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details p { padding: 0 0 20px; color: var(--ink); max-width: 60ch; }

/* Closing band */
.close { background: var(--navy); color: #fff; padding: 84px 0; }
.close-inner { text-align: center; }
.close h2 { color: #fff; margin: 0 auto; max-width: 18ch; }
.close p { color: #D6DCF2; margin: 16px auto 30px; max-width: 34em; font-size: 18px; }

/* Footer */
.foot { padding: 34px 0; }
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 800; color: var(--navy); font-size: 18px; }
.foot-brand img { border-radius: 7px; }
.foot-brand b { color: var(--orange); }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-links a { text-decoration: none; color: var(--ink); font-size: 15px; }
.foot-links a:hover { text-decoration: underline; }
.foot-copy { color: var(--muted); font-size: 14px; }

/* Responsive */
@media (max-width: 980px) {
  .top-nav { display: none; }
  .scene { grid-template-columns: 1fr; padding: 22px; }
  .alert { position: relative; right: auto; bottom: auto; margin-top: 4px; max-width: none; }
  .tiles { grid-template-columns: 1fr; }
  .t-wide { grid-column: auto; }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .faq-inner { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .hero { padding: 44px 0 64px; }
  .top-actions .link-quiet { display: none; }
  .deck-page { padding: 22px; min-height: 240px; }
  .pg { grid-template-columns: 70px 1fr 38px; }
}

/* Workflow visual */
.flow { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.flow::before { content: ''; position: absolute; top: 96px; left: 6%; right: 6%; border-top: 2px dashed #C3CAE3; z-index: 0; }
.fl { position: relative; z-index: 1; }
.fl-visual { height: 192px; border-radius: var(--r-lg); display: grid; place-items: center; padding: 18px; margin-bottom: 18px; }
.v-peach { background: var(--peach); } .v-lilac { background: var(--lilac); } .v-sky { background: var(--sky); } .v-mint { background: var(--mint); }
.fl-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.fl h3 { margin-bottom: 6px; }
.fl p { font-size: 15.5px; color: var(--ink); }
.file-card { background: #fff; border-radius: 12px; padding: 14px 16px; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; box-shadow: 0 10px 24px -16px rgba(22,36,90,.45); width: 100%; max-width: 230px; }
.file-ico { grid-row: span 2; width: 38px; height: 46px; border-radius: 6px; background: var(--navy); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.file-name { font-weight: 700; color: var(--navy); font-size: 13.5px; line-height: 1.3; }
.file-size { font-size: 12px; color: var(--muted); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 230px; }
.opt { background: #fff; border-radius: 999px; padding: 7px 12px 7px 30px; font-size: 13px; font-weight: 600; color: var(--muted); position: relative; box-shadow: 0 6px 14px -12px rgba(22,36,90,.5); }
.opt::before { content: ''; position: absolute; left: 10px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; border: 2px solid #C3CAE3; }
.opt.on { color: var(--navy); }
.opt.on::before { background: var(--navy); border-color: var(--navy); }
.send { background: #fff; border-radius: 12px; padding: 14px 16px; display: grid; gap: 10px; width: 100%; max-width: 240px; box-shadow: 0 10px 24px -16px rgba(22,36,90,.45); }
.send-to { font-size: 12.5px; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.send-link { font-size: 13px; font-weight: 600; color: var(--navy); background: var(--sky); border-radius: 8px; padding: 8px 10px; text-align: center; }
.ping { background: #fff; border-radius: 12px; padding: 14px 16px; display: grid; gap: 9px; width: 100%; max-width: 230px; box-shadow: 0 0 0 1.5px var(--orange), 0 10px 24px -16px rgba(22,36,90,.45); }
.ping-title { font-size: 13px; font-weight: 700; color: var(--navy); }
.ping-bar { display: block; height: 9px; border-radius: 99px; background: #E9ECF6; position: relative; }
.ping-bar i { position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 99px; background: #B9C3E6; }
.ping-bar i.hot { background: var(--orange); }

/* Value comparison */
.value { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); }
.value-side { padding: 22px 26px; }
.value-them { background: var(--mist); }
.value-us { background: var(--navy); }
.value-who { font-weight: 600; font-size: 15px; color: var(--muted); }
.value-amt { font-family: var(--display); font-weight: 800; font-size: 38px; letter-spacing: -0.03em; color: var(--muted); margin-top: 4px; line-height: 1.1; }
.value-amt span { font-family: var(--body); font-size: 15px; font-weight: 500; letter-spacing: 0; margin-left: 4px; }
.value-what { font-size: 15px; margin-top: 6px; color: var(--ink); max-width: 44ch; }
.value-us .value-who { color: #AEB8DE; }
.value-us .value-amt { color: #fff; }
.value-us .value-amt span { color: #AEB8DE; }
.value-us .value-what { color: #D6DCF2; }

@media (max-width: 980px) {
  .flow { grid-template-columns: 1fr 1fr; }
  .flow::before { display: none; }
  .value { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } }
