/* StockyLift (stockylift.com), handwritten, no build step.
   2026-12-05: full-bleed Google Flow pool-water film in the hero (Veo 3.1 Lite, ping-pong loop), floating header.
   Floor: tokens only, transform/opacity animation only. */
@font-face{font-family:"Figtree";src:url("fonts/figtree.woff2") format("woff2");font-weight:400 700;font-style:normal;font-display:swap}
@font-face{font-family:"Source Serif 4";src:url("fonts/sourceserif4-600.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
/* Metric-matched fallbacks (measured: Source Serif 4 sets 0.913x Georgia's width, Figtree 0.985x Arial's),
   so text paints at once in the fallback and never reflows when the web font arrives. */
@font-face{font-family:"Serif Fallback";src:local("Georgia");size-adjust:91.3%;ascent-override:114%;descent-override:37%;line-gap-override:0%}
@font-face{font-family:"Figtree Fallback";src:local("Arial");size-adjust:98.5%;ascent-override:96%;descent-override:25%;line-gap-override:0%}

:root{
  --bg:#10171b;
  --bg-2:#162027;
  --ink:#f2ede3;
  --muted:#a9b4b0;
  --line:rgba(242,237,227,.14);
  --line-strong:rgba(242,237,227,.45);
  --accent:#3c8bad;
  --on-accent:#0b1418;
  --amber:#e2a14f;
  --water:#0d3040;
  --water-edge:#123a4c;
  --serif:"Source Serif 4","Serif Fallback",Georgia,"Times New Roman",serif;
  --sans:"Figtree","Figtree Fallback",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --lift:#ffffff;
  --wrap:min(62.5rem,100% - 3rem);
  --r:.6rem;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:5.5rem;overflow-x:clip;color-scheme:dark}
body{margin:0;background:var(--bg);color:var(--ink);font:400 1.0625rem/1.68 var(--sans);-webkit-font-smoothing:antialiased;overflow-x:clip}
img{display:block;max-width:100%;height:auto}
a{color:var(--accent)}
a:hover{color:color-mix(in oklab,var(--accent) 70%,var(--lift))}
:focus-visible{outline:3px solid var(--amber);outline-offset:3px}
.skip{position:absolute;left:1rem;top:-4rem;z-index:60;background:var(--ink);color:var(--bg);padding:.6rem 1rem;border-radius:var(--r);text-decoration:none}
.skip:focus{top:3.5rem}

.wrap{width:var(--wrap);margin-inline:auto}

/* header: floats over the hero video, then sticks with a solid ground once you scroll past it */
.top{position:absolute;inset:0 0 auto;z-index:20}
.top .wrap{display:flex;align-items:center;gap:1rem;min-height:4.75rem}
.logo{display:flex;align-items:center;margin-right:auto;color:var(--ink);text-decoration:none}
.logo:hover{color:var(--ink)}
.logo .lockup{display:block;width:auto;height:2rem}
.top:not(:has(+ main .hero)){position:static;border-bottom:1px solid var(--line)}
nav{display:flex;align-items:center;gap:1.75rem;margin-right:1rem}
nav a{padding:.5rem 0;color:var(--ink);opacity:.82;text-decoration:none;font-size:.95rem;font-weight:500;transition:opacity .2s}
nav a:hover{color:var(--ink);opacity:1}
.btn--sm{padding:.6rem 1.1rem;font-size:.95rem}

/* type */
h1,h2{font-family:var(--serif);font-weight:600;line-height:1.07;letter-spacing:-.01em;margin:0;text-wrap:balance;overflow-wrap:break-word;min-width:0}
h1{font-size:clamp(2.55rem,5.3vw,4.15rem)}
h2{font-size:clamp(1.7rem,2.6vw,2.25rem);margin-bottom:1.25rem}
h3{font-size:1.05rem;line-height:1.3;margin:0 0 .4rem}
p{margin:0 0 1.1rem}
p:last-child{margin-bottom:0}

/* hero: the Flow pool-water film fills the first screen behind the words (muted, looping, poster
   first so nothing waits on the video; a still poster under reduced motion). One offer, one button. */
.hero{position:relative;isolation:isolate;display:flex;align-items:center;min-height:min(100svh,58rem);padding:7.5rem 0 4.5rem;overflow:clip;background:var(--water) url("media/hero-poster.jpg") center/cover no-repeat}
.hero-media{position:absolute;inset:0;z-index:-1}
.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;animation:settle 1.6s cubic-bezier(.2,.7,.2,1) both}
.hero-media::after{content:"";position:absolute;inset:0;background:
  linear-gradient(90deg,rgba(11,18,22,.86) 0%,rgba(11,18,22,.6) 42%,rgba(11,18,22,.05) 78%),
  linear-gradient(180deg,rgba(11,18,22,.5) 0%,rgba(11,18,22,0) 20%,rgba(11,18,22,0) 72%,var(--bg) 100%)}
@keyframes settle{from{transform:scale(1.06)}to{transform:scale(1)}}
.hero-copy > *{animation:rise .8s cubic-bezier(.2,.7,.2,1) both}
.hero-copy > :nth-child(2){animation-delay:.08s}
.hero-copy > :nth-child(3){animation-delay:.16s}
.hero-copy > :nth-child(4){animation-delay:.24s}
.hero-copy > :nth-child(5){animation-delay:.32s}
@keyframes rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}

.eyebrow{margin-bottom:1.1rem;color:var(--amber);font-size:.9rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.hero h1{max-width:12.5em;margin-bottom:.4em;font-size:clamp(2.6rem,6vw,4.75rem);text-shadow:0 2px 24px rgba(0,0,0,.35)}
.hero h1 .price{display:block;color:var(--amber)}
.lede{font-size:clamp(1.15rem,1.6vw,1.35rem);line-height:1.5;color:var(--ink);max-width:30em;margin-bottom:2rem}
.cta{display:flex;flex-wrap:wrap;align-items:center;gap:1rem}
.btn{display:inline-block;background:var(--amber);color:var(--on-accent);text-decoration:none;font-weight:600;font-size:1.05rem;padding:.95rem 1.8rem;border-radius:var(--r);transition:background-color .2s,transform .2s}
.btn:hover{background:color-mix(in oklab,var(--amber) 85%,var(--lift));color:var(--on-accent);transform:translateY(-1px)}
.btn:active{transform:scale(.98)}
.ghost{display:inline-block;padding:.9rem 1.5rem;border:1px solid var(--line-strong);border-radius:var(--r);color:var(--ink);text-decoration:none;font-weight:600;font-size:1.05rem;transition:border-color .2s,background-color .2s}
.ghost:hover{color:var(--ink);border-color:var(--ink);background:rgba(242,237,227,.06)}
.facts{display:flex;flex-wrap:wrap;gap:.6rem 1.75rem;margin:2.25rem 0 0;padding:1.5rem 0 0;border-top:1px solid var(--line);list-style:none;font-size:.95rem;font-weight:600;max-width:40rem}
.facts li::before{content:"✓";margin-right:.45rem;color:var(--amber)}
.plain{text-decoration:underline;text-underline-offset:.2em}
.plain:hover{text-decoration-thickness:2px}

/* sections: a heading, a few short lines, a picture. Nobody reads paragraphs on a sales page. */
.sec{border-top:1px solid var(--line);padding:5rem 0}
.sec h2{margin-bottom:2rem}

/* how: three steps side by side */
ol.steps{list-style:none;margin:0;padding:0;counter-reset:step;display:grid;gap:1.25rem}
ol.steps li{counter-increment:step;padding:1.5rem;border:1px solid var(--line);border-radius:var(--r);background:var(--bg-2)}
ol.steps li::before{content:counter(step);display:block;margin-bottom:.75rem;font-family:var(--serif);font-weight:600;font-size:2rem;line-height:1;color:var(--amber)}
ol.steps h3{font-size:1.2rem;margin-bottom:.35rem}
ol.steps p{margin:0;color:var(--muted)}

/* what you get / price: short checked lines */
ul.gets{list-style:none;margin:0 0 2rem;padding:0;display:grid;gap:.75rem;font-size:1.15rem;font-weight:500}
ul.gets li::before{content:"✓";margin-right:.6rem;color:var(--amber);font-weight:700}
figure.frame{margin:0;border:1px solid var(--line-strong);border-radius:.75rem;overflow:hidden;background:var(--bg-2)}
.label{margin-top:.85rem;font-size:.9rem;color:var(--muted)}
.big{font-size:clamp(1.15rem,1.6vw,1.3rem);line-height:1.45;max-width:36em;margin-bottom:1.75rem}

/* footer */
footer{border-top:1px solid var(--line);padding:2.75rem 0 3.5rem;color:var(--muted)}
footer p{margin:0 0 1rem}
footer .logo{margin-bottom:1.25rem}
footer .links{display:flex;flex-wrap:wrap;gap:.4rem 1.5rem;margin-bottom:1rem}
footer .links a{color:var(--muted);text-decoration:none;padding:.25rem 0}
footer .links a:hover{color:var(--ink)}
.small{font-size:.95rem}
.dim{font-size:.9rem}

/* legal pages */
.legal{max-width:44rem;padding:3.25rem 0 4.5rem}
.legal h1{font-size:clamp(2rem,3.5vw,2.7rem);margin-bottom:.5rem}
.legal h2{font-family:var(--sans);font-size:1.15rem;letter-spacing:0;margin:2.25rem 0 .5rem}
.legal p,.legal li{color:var(--muted)}
.legal ul{margin:0 0 1.1rem;padding-left:1.25rem}
.legal li{margin-bottom:.35rem}
.updated{color:var(--muted);font-size:.95rem}

@media (min-width:52rem){
  ol.steps{grid-template-columns:repeat(3,minmax(0,1fr))}
  #example .wrap{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:0 4rem;align-items:center}
  #example h2,#example .gets{grid-column:1}
  #example .frame{grid-column:2;grid-row:1 / span 3}
  #example .label{grid-column:2}
}

/* small screens: words over a darker wash, the nav reduced to the button */
@media (max-width:860px){
  .sec h2{margin-bottom:1.5rem}
  .sec{padding:3.75rem 0}
  .hero{min-height:100svh;align-items:flex-end;padding:6.5rem 0 3rem}
  .hero-media::after{background:linear-gradient(180deg,rgba(11,18,22,.35) 0%,rgba(11,18,22,.15) 18%,rgba(11,18,22,.7) 42%,rgba(11,18,22,.9) 70%,var(--bg) 100%)}
  nav{display:none}
  .cta .btn,.cta .ghost{flex:1 1 100%;text-align:center}
  .facts{gap:.5rem 1.25rem;margin-top:1.75rem;padding-top:1.25rem}
  ul.gets{font-size:1.05rem}
  ol.steps li{padding:1.25rem}
}
@media (max-width:420px){
  .top .btn--sm{padding:.55rem .85rem;font-size:.875rem}
}

@media (prefers-reduced-motion:reduce){
  .hero-video{display:none}
  .hero-video,.hero-copy > *{animation:none}
  *,*::before,*::after{transition:none!important}
  .btn:active,.btn:hover{transform:none}
}
