/* Shared New Optimal styles: palette, nav, buttons, hero, panel, footer */
*{box-sizing:border-box}
:root{
  --bg:#F7F7F4;
  --ink:#111111;
  --muted:#6B6B66;
  --soft:#8C8C88;
  --line:#DAD8D2;
  --chip:#EAEAE6;
  --accent:#D9541E;
  --serif:'Newsreader',Georgia,serif;
  --sans:'Inter',system-ui,sans-serif;
  --mono:'IBM Plex Mono',ui-monospace,monospace;
}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
.wrap{max-width:1240px;margin:0 auto;padding:0 32px}

/* nav */
header{position:sticky;top:0;z-index:20;background:rgba(247,247,244,.9);backdrop-filter:blur(12px)}
nav{max-width:1210px;margin:0 auto;padding:16px 32px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px}
.brand{justify-self:start;display:flex;align-items:center;gap:9px;font-family:var(--serif);font-size:21px;letter-spacing:-.01em}
.links{display:flex;gap:30px;font-size:14px;color:#2B2B29}
.links a{text-decoration-thickness:1.5px;text-underline-offset:9px}
.links a:hover,.links a[aria-current="page"]{color:var(--ink);text-decoration-line:underline}
.actions{justify-self:end;display:flex;gap:8px}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:0 13px;border-radius:999px;font-size:14px;font-weight:500;letter-spacing:-.005em;transition:background .15s,color .15s}
.btn.dark{background:#1A1A1A;color:#FFFFFF}
.btn.dark:hover{background:#2B2B29}
.btn.light{background:var(--chip);color:var(--ink)}
.btn.light:hover{background:#E0E0DB}

/* hero */
.hero{max-width:780px;margin:0 auto;padding:clamp(28px,7vh,96px) 32px clamp(24px,5.5vh,84px)}
h1{margin:0;font-family:var(--serif);font-weight:500;font-size:clamp(24px,2vw,29px);line-height:1.2;letter-spacing:-.015em}
.sub{margin:16px 0 0;font-family:var(--serif);font-size:clamp(19px,1.6vw,22px);line-height:1.3;color:var(--soft);max-width:none}
.caret{display:inline-block;width:1px;height:1em;background:var(--soft);vertical-align:-.12em;margin-left:3px;animation:blink 1.1s steps(1) infinite}
.cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:32px}
/* typed by-line (assets/site.js) */
.sub[data-type]{display:grid}
.sub[data-type]>.sub-ghost,.sub[data-type]>.sub-live{grid-area:1/1}
.sub-ghost{visibility:hidden}
.sub.is-typing .caret{animation:none}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

.panel{max-width:1278px;margin:0 auto;padding:0 32px}
/* the first screen (headline, panel, logo row) is exactly one window tall; the panel takes whatever height is left, so the logos never fall off the bottom whatever the window height */
.first{height:calc(100svh - var(--nav-h));min-height:520px;display:flex;flex-direction:column}
.first>.hero,.first>.backed{flex:none}
.first>.panel{flex:1 1 0;min-height:140px;display:flex;flex-direction:column;width:100%}
.first .visual{flex:1;height:auto}
.first>.backed{padding-bottom:clamp(12px,3vh,40px)}
/* one section per screen: each pane is at least a screen tall (below the sticky nav) with its content centered, so the next pane never shows underneath */
:root{--nav-h:65px}
.pane{min-height:calc(100svh - var(--nav-h));display:flex;flex-direction:column;justify-content:center;padding-top:72px;padding-bottom:72px;scroll-margin-top:var(--nav-h)}
.visual{position:relative;overflow:hidden;border-radius:2px;height:clamp(260px,calc(100svh - 560px),490px);background:#141414}
footer{border-top:1px solid var(--line)}
footer .wrap{padding-top:28px;padding-bottom:40px;display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;font-family:var(--mono);font-size:11.5px;letter-spacing:.06em;color:var(--muted)}
footer a:hover{color:var(--ink)}

/* logo row (backed by / built by) */
.backed{padding:clamp(16px,3.5vh,48px) 0 0;text-align:center}
.backed h2{margin:0 0 clamp(8px,2vh,28px);font-family:var(--serif);font-weight:400;font-size:clamp(22px,1.9vw,27px);letter-spacing:-.01em;color:#2B2B29}
.marquee{max-width:860px;margin:0 auto;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 16%,#000 84%,transparent);mask-image:linear-gradient(90deg,transparent,#000 16%,#000 84%,transparent)}
.track{display:flex;align-items:center;width:max-content;margin:0;padding:0;list-style:none;animation:marquee 36s linear infinite}
.marquee:hover .track{animation-play-state:paused}
.track li{flex:none;display:flex;align-items:center;padding:0 26px;height:48px}
.track img{display:block;width:auto;filter:grayscale(1) brightness(0);opacity:.6}
.logo-text{display:flex;align-items:center;gap:9px;font-family:var(--sans);font-weight:500;font-size:19px;letter-spacing:-.01em;color:#111;opacity:.6}
.track .logo-text img{filter:grayscale(1);opacity:1}
@keyframes marquee{to{transform:translateX(-50%)}}
/* a logo followed by a word, e.g. Robinhood Ventures: same grey as the logos, no double fade */
.logo-pair{display:flex;align-items:center;gap:7px;font-family:var(--sans);font-weight:500;font-size:17px;letter-spacing:-.01em;color:rgba(17,17,17,.6)}
/* still logo row (no scrolling) */
.logo-row{margin:0 auto;padding:0 32px;list-style:none;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px 52px}
.logo-row li{display:flex;align-items:center;height:48px}
.logo-row img{display:block;width:auto;filter:grayscale(1) brightness(0);opacity:.6}
.logo-row .logo-text img{filter:grayscale(1);opacity:1}
@media (prefers-reduced-motion:reduce){.track{animation:none;flex-wrap:wrap;justify-content:center;width:auto}.track li[aria-hidden]{display:none}}

@keyframes blink{50%{opacity:0}}
@media (prefers-reduced-motion:reduce){.caret{animation:none}}

@media (max-width:760px){
  .links{display:none}
  nav{padding:14px 20px}
  .wrap{padding:0 20px}
  .hero{padding:64px 20px 48px}
}
