/* Open Equity marketing site - shared stylesheet.
   Layout and type live inline on each element (lifted 1:1 from the design references);
   this file carries the base, the keyframes, the responsive rules and the hover states. */

body{margin:0;background:#FAFAF7;color:#0C0C0B;font-family:'DM Sans',sans-serif;-webkit-font-smoothing:antialiased}
a{color:#0C0C0B;text-decoration:none;transition:color 0.2s,background 0.2s,border-color 0.2s,transform 0.2s cubic-bezier(0.16,1,0.3,1)}
a:hover{color:#FF6300}
p,h1,h2,h3,fieldset{margin:0}
button,input,textarea,select{font-family:inherit}
input:focus,textarea:focus,select:focus{outline:none;border-color:#FF6300 !important}
img{max-width:100%}
/* clip, not hidden: hidden makes the root a scroll box and the sticky nav stops sticking */
.oe-root{container-type:inline-size;overflow:clip !important}

/* photos fill their (positioned) frame */
.oe-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}

@keyframes oeBand{from{width:0}to{width:38%}}
@keyframes oeUp{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes oePulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:0.45;transform:scale(0.8)}}
@keyframes oeMarquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* card rows become a snap-scrolling strip on phones */
@container (max-width:600px){
  [data-scroll-row]{display:flex !important;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px !important;padding-bottom:8px;scrollbar-width:none}
  [data-scroll-row]>*{flex:0 0 80%;scroll-snap-align:start;min-width:0}
  [data-page="about"] [data-scroll-row]>*{flex-basis:70%}
  [data-page="founders"] [data-scroll-row]>*{flex-basis:78%}
  /* segment tiles: padding counts inside the width, and a quarter of the next tile shows */
  [data-scroll-row="tiles"]{margin-right:calc(-1 * clamp(20px,4cqw,48px));padding-right:clamp(20px,4cqw,48px);scroll-padding-left:0}
  [data-scroll-row="tiles"]>*{box-sizing:border-box;flex-basis:74%}
}

/* the 4.2x footnote, at the foot of the page */
.oe-footnote{max-width:1200px;margin:0 auto;padding:0 clamp(20px,4cqw,48px) 28px;box-sizing:border-box;font-family:'JetBrains Mono',monospace;font-size:11px;line-height:1.6;color:#6B6B66}
.oe-footnote sup{color:#FF6300;margin-right:4px}

/* nav: full link row on desktop, single CTA on phones */
.oe-nav-narrow{display:none !important}
@media (max-width:820px){
  .oe-nav-wide{display:none !important}
  .oe-nav-narrow{display:contents !important}
}

/* phone menu: burger in the bar, full-screen sheet, the CTA pinned to the bottom */
.oe-burger,.oe-menu-close{appearance:none;background:none;border:0;padding:0;width:44px;height:44px;margin-right:-10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;cursor:pointer;color:#0C0C0B}
.oe-burger span{display:block;width:22px;height:2px;border-radius:2px;background:currentColor}
.oe-menu-close{position:relative}
.oe-menu-close span{position:absolute;width:22px;height:2px;border-radius:2px;background:currentColor;transform:rotate(45deg)}
.oe-menu-close span+span{transform:rotate(-45deg)}
.oe-menu{position:fixed;inset:0;z-index:100;background:#FAFAF7;display:flex;flex-direction:column;height:100vh;height:100dvh;font-family:'DM Sans',sans-serif;opacity:0;transition:opacity 0.25s cubic-bezier(0.16,1,0.3,1)}
.oe-menu[hidden]{display:none}
.oe-menu.is-open{opacity:1}
.oe-menu-bar{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:0.5px solid rgba(12,12,11,0.08)}
.oe-menu-links{flex:1;display:flex;flex-direction:column;padding:12px 20px;overflow-y:auto}
.oe-menu-links a{font-size:34px;font-weight:600;letter-spacing:-0.03em;line-height:1.1;padding:18px 0;border-bottom:0.5px solid rgba(12,12,11,0.1);color:#0C0C0B;transform:translateY(8px);opacity:0;transition:transform 0.4s cubic-bezier(0.16,1,0.3,1),opacity 0.4s}
.oe-menu-links a[aria-current="page"]{color:#FF6300}
.oe-menu.is-open .oe-menu-links a{transform:none;opacity:1}
.oe-menu.is-open .oe-menu-links a:nth-child(2){transition-delay:0.04s}
.oe-menu.is-open .oe-menu-links a:nth-child(3){transition-delay:0.08s}
.oe-menu.is-open .oe-menu-links a:nth-child(4){transition-delay:0.12s}
.oe-menu-foot{display:flex;flex-direction:column;align-items:center;gap:14px;padding:16px 20px calc(24px + env(safe-area-inset-bottom))}
.oe-menu-cta{display:block;width:100%;box-sizing:border-box;text-align:center;background:#FF6300;color:#fff !important;padding:18px 24px;border-radius:10px;font-weight:600;font-size:18px}
.oe-menu-call{font-size:15px;color:#6B6B66;border-bottom:1px solid rgba(12,12,11,0.2);padding-bottom:2px}
@media (min-width:821px){.oe-menu{display:none !important}}
html.oe-menu-lock,html.oe-menu-lock body{overflow:hidden}

/* phone-only blocks inside pages (before / after toggle) */
.oe-narrow{display:none !important}
@media (max-width:660px){
  .oe-wide{display:none !important}
  .oe-narrow{display:contents !important}
  [data-ba-state="before"] [data-ba="after"],
  [data-ba-state="after"] [data-ba="before"]{display:none !important}
}

/* buyers thesis form: selected segment chips */
[data-seg][aria-pressed="true"]{background:#FF6300 !important;border-color:#FF6300 !important}
[data-form-sent]:not([hidden]){display:contents}
[data-form-error]{font-family:'JetBrains Mono',monospace;font-size:13px;color:#FF6300}
#thesis-form[data-busy] [data-submit]{opacity:0.6;pointer-events:none}

/* buyers thesis: the form flips to the register's view of the thesis */
.oe-flip{display:grid;perspective:1600px;min-width:0}
.oe-face{grid-area:1/1;min-width:0;backface-visibility:hidden;-webkit-backface-visibility:hidden;transition:transform 0.8s cubic-bezier(0.16,1,0.3,1),opacity 0.4s;transform-style:preserve-3d}
.oe-face-result{transform:rotateY(180deg);display:flex;flex-direction:column;gap:18px;justify-content:center}
.oe-flip.is-flipped .oe-face-form{transform:rotateY(-180deg);pointer-events:none}
.oe-flip.is-flipped .oe-face-result{transform:rotateY(0)}
.oe-eyebrow{font-family:'JetBrains Mono',monospace;font-size:11px;letter-spacing:0.1em;text-transform:uppercase;color:#FF6300}
.oe-hero{font-size:clamp(64px,7cqw,112px);font-weight:700;letter-spacing:-0.045em;line-height:0.95}
.oe-herosub{font-size:clamp(18px,1.5cqw,22px);line-height:1.4;text-wrap:balance;max-width:520px}
.oe-rows{display:flex;flex-direction:column;border-top:0.5px solid rgba(250,250,247,0.2)}
.oe-row{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:14px 0;border-bottom:0.5px solid rgba(250,250,247,0.15);font-size:16px}
.oe-row b{font-size:22px;font-weight:700;letter-spacing:-0.02em;white-space:nowrap}
.oe-row-regions{flex-wrap:wrap}
.oe-regions{display:flex;flex-wrap:wrap;gap:6px 0;font-family:'JetBrains Mono',monospace;font-size:13px;color:rgba(250,250,247,0.85)}
.oe-regions b{font-size:13px;margin-left:6px;color:#FF6300}
.oe-dot{margin:0 10px;color:rgba(250,250,247,0.4)}
.oe-muted{font-family:'JetBrains Mono',monospace;font-size:11px;color:rgba(250,250,247,0.55)}
.oe-result-note{font-size:15px;line-height:1.55;color:rgba(250,250,247,0.7);text-wrap:pretty;max-width:520px}
.oe-result-cta{display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.oe-btn{background:#FF6300;color:#fff !important;padding:16px 28px;border-radius:8px;font-weight:600;font-size:17px;display:inline-block}
.oe-btn:hover{background:#D95400}
@media (prefers-reduced-motion:reduce){.oe-face{transition:none}}

/* platform register: dots stay dim until the block scrolls into view */
[data-register]:not([data-lit]) span{background:rgba(250,250,247,0.09) !important}

/* section fade-in is applied by site.js; nothing is hidden without JS */

/* reduced motion: still photo instead of video, marquees stop */
@media (prefers-reduced-motion:reduce){
  [data-hero-video]{display:none !important}
  .oe-marquee{animation:none !important}
  *{transition-duration:0.01ms !important;animation-duration:0.01ms !important}
}

/* who buys in your sector (the /who-buys tool) */
.wb-picker{display:flex;flex-wrap:wrap;gap:10px}
.wb-picker button{appearance:none;-webkit-appearance:none;font:inherit;font-size:15px;font-weight:500;color:#0C0C0B;background:transparent;border:0.5px solid rgba(12,12,11,0.3);border-radius:999px;padding:11px 18px;cursor:pointer;transition:background 0.2s,border-color 0.2s,color 0.2s}
.wb-picker button:hover{border-color:#0C0C0B}
.wb-picker button[aria-checked="true"]{background:#0C0C0B;border-color:#0C0C0B;color:#FAFAF7}
.wb-picker button:focus-visible{outline:2px solid #FF6300;outline-offset:2px}
.wb-panel{background:#0C0C0B;color:#FAFAF7;border-radius:16px;padding:clamp(28px,4cqw,56px);display:flex;flex-direction:column;gap:clamp(24px,2.6cqw,36px)}
.wb-head{display:flex;flex-direction:column;gap:10px}
.wb-big{font-size:clamp(72px,9cqw,136px);font-weight:700;letter-spacing:-0.05em;line-height:0.9}
.wb-sub{font-size:clamp(18px,1.6cqw,24px);line-height:1.35;max-width:560px;text-wrap:balance}
.wb-bars{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:clamp(20px,2.4cqw,32px)}
.wb-bar{display:flex;flex-direction:column;gap:10px}
.wb-bar-top{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.wb-bar-name{font-size:16px;font-weight:600}
.wb-bar-top b{font-size:28px;font-weight:700;letter-spacing:-0.03em}
.wb-track{height:6px;border-radius:6px;background:rgba(250,250,247,0.12);overflow:hidden}
.wb-track span{display:block;height:100%;background:#FF6300;border-radius:6px;transition:width 0.6s cubic-bezier(0.16,1,0.3,1)}
.wb-bar p{font-size:14px;line-height:1.55;color:rgba(250,250,247,0.65);text-wrap:pretty}
.wb-note{font-size:clamp(16px,1.3cqw,19px);line-height:1.55;color:rgba(250,250,247,0.85);max-width:640px;text-wrap:pretty}
.wb-cta{display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px}
.wb-call{font-size:15px;color:rgba(250,250,247,0.7) !important;border-bottom:1px solid rgba(250,250,247,0.3);padding-bottom:2px}
.wb-call:hover{color:#FAFAF7 !important}
.wb-stamp{font-family:'JetBrains Mono',monospace;font-size:11px;color:#6B6B66}
.wb-panel[data-busy] .wb-big,.wb-panel[data-busy] .wb-bars{opacity:0.5}
.wb-link{font-size:16px;font-weight:500;color:#0C0C0B;border-bottom:1px solid rgba(12,12,11,0.3);padding-bottom:2px}
.wb-link:hover{color:#FF6300;border-color:#FF6300}
.wb{display:flex;flex-direction:column;gap:20px}
.wb-steps{display:flex;flex-direction:column;gap:22px;padding-bottom:6px}
.wb-step{display:flex;flex-direction:column;gap:12px}
.wb-step[hidden]{display:none}
.wb-step-label{font-size:15px;font-weight:600;display:flex;align-items:center;gap:10px}
.wb-step-label span{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#FF6300;color:#fff;font-family:'JetBrains Mono',monospace;font-size:11px;font-weight:500}
.wb-caveat{font-family:'JetBrains Mono',monospace;font-size:12px;line-height:1.6;color:rgba(250,250,247,0.6);max-width:620px}
.wb-caveat[hidden]{display:none}
/* the button sits on one line where it can, and fills the width on phones with its label centred */
.wb-cta .oe-btn{text-align:center;box-sizing:border-box}
@media (max-width:600px){
  .wb-cta{flex-direction:column;align-items:stretch}
  .wb-cta .oe-btn{width:100%;padding:17px 20px;font-size:17px}
  .wb-call{align-self:center}
  .wb-picker button{padding:10px 15px;font-size:14px}
}

/* sticky side columns (About's title + photo) pin only when they sit beside the text;
   stacked on a phone they would cover the page as it scrolls */
@container (max-width:760px){
  [style*="position:sticky;top:96px"]{position:static !important}
}

/* hover states lifted from the design references */
.hv1:hover{background:#D95400 !important;color:#fff !important}
.hv2:hover{background:#D95400 !important;color:#fff !important;transform:translateY(-1px) !important}
.hv3:hover{border-color:#FAFAF7 !important;color:#FAFAF7 !important}
.hv4:hover{color:#FAFAF7 !important}
.hv5:hover{transform:translateY(-2px) !important;border-color:rgba(12,12,11,0.5) !important}
.hv6:hover{background:#FAFAF7 !important;color:#0C0C0B !important;transform:translateY(-1px) !important}
.hv7:hover{transform:translateY(-2px) !important;box-shadow:0 8px 24px rgba(12,12,11,0.08) !important}
.hv8:hover{border-color:#0C0C0B !important;color:#0C0C0B !important}
.hv9:hover{background:#D95400 !important}
