/* PickedFirst horse look. Applies only to pages whose <body> has class pf-horse (home, how it works, pricing). Visual only. */
body.pf-horse {
  --night:#0f0d0c; --surface:#1a1816; --raised:#231e1a; --leather:#362e28; --hair:#3c3833; --ring:#5a544e;
  --text:#ece9e4; --muted:#a7acb0; --subtle:#7b8792; --copper:#c08a62; --indigo:#4f46e5; --indigo-l:#8b84f5;
  background:var(--night); color:var(--text);
}
body.pf-horse::before { content:""; position:fixed; inset:0; pointer-events:none; z-index:50; opacity:.05;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
body.pf-horse .page { background:var(--night); }
body.pf-horse .atmos { display:none; }
body.pf-horse .nav, body.pf-horse .page > * { position:relative; z-index:2; }
body.pf-horse .wm { color:var(--text) !important; }
body.pf-horse .wm span { color:var(--indigo-l); }
body.pf-horse .nav-r a:not(.nav-cta), body.pf-horse .nav-r .pf-auth { color:var(--muted) !important; }
body.pf-horse .nav-r a:not(.nav-cta):hover, body.pf-horse .nav-r a.on:not(.nav-cta) { color:var(--text) !important; }
body.pf-horse .nav-cta, body.pf-horse .btn-pricing, body.pf-horse .btn-sample { background:#18181b; color:#fff !important; border:1px solid var(--ring); }
body.pf-horse .nav-cta:hover, body.pf-horse .btn-pricing:hover, body.pf-horse .btn-sample:hover { background:#0071e3; border-color:#0071e3; }
body.pf-horse h1, body.pf-horse h2, body.pf-horse h3 { color:var(--text); }
body.pf-horse .lede, body.pf-horse .sub, body.pf-horse .body, body.pf-horse p { color:var(--muted); }
body.pf-horse .eyebrow, body.pf-horse .eyebrow-card, body.pf-horse .card .n { color:var(--copper); }

/* stitch: visible dashed indigo hairline */
body.pf-horse .pf-stitch { height:0; border-top:2px dashed var(--indigo); opacity:.9; margin:22px 0; }

/* photo layers, always feathered, never banded */
.pf-photo { position:absolute; inset:0; z-index:0 !important; pointer-events:none; overflow:hidden; }
.pf-photo img { width:100%; height:100%; object-fit:cover; display:block; }

/* HOME: mirrored race, lead horse sits right in clear space, copy left over flat sky */
body.pf-horse.pf-home .pf-photo img { object-position:62% 62%; filter:saturate(.85) brightness(.82) contrast(1.04); }
body.pf-horse.pf-home .pf-photo::after { content:""; position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(15,13,12,.78) 0%, rgba(15,13,12,.45) 30%, rgba(15,13,12,0) 55%),
              linear-gradient(180deg, rgba(15,13,12,.55) 0%, rgba(15,13,12,0) 22%, rgba(15,13,12,0) 70%, rgba(15,13,12,.9) 100%); }
body.pf-horse.pf-home .hero { align-items:flex-start; text-align:left; padding-left:7vw; padding-bottom:12vh; }
body.pf-horse.pf-home .hero h1 { margin-left:0; color:#fff; }
body.pf-horse.pf-home .hero .lede { margin-left:0; white-space:normal; max-width:30ch; color:#d9d6d0; }
body.pf-horse.pf-home .actions { justify-content:flex-start; }
body.pf-horse.pf-home .arc { border-top:2px dashed rgba(79,70,229,.85); }
body.pf-horse.pf-home .arc span { color:#bcbfc2; }
body.pf-horse.pf-home .arc span b { color:#fff; }

/* HOW: moor photo across the top, cards on leather surfaces below */
body.pf-horse.pf-how .pf-photo { bottom:auto; height:62vh; }
body.pf-horse.pf-how .pf-photo img { object-position:50% 58%; filter:saturate(.85) brightness(.8); }
body.pf-horse.pf-how .pf-photo::after { content:""; position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(15,13,12,.7) 0%, rgba(15,13,12,.15) 45%, rgba(15,13,12,0) 70%),
              linear-gradient(180deg, rgba(15,13,12,.4) 0%, rgba(15,13,12,0) 25%, rgba(15,13,12,.35) 60%, #0f0d0c 100%); }
body.pf-horse.pf-how .intro { max-width:34rem; }
body.pf-horse.pf-how .intro .lede { color:#d9d6d0; }
body.pf-horse .card { background:linear-gradient(180deg,#1f1b18,#171513); border:1px solid var(--hair); box-shadow:0 20px 40px rgba(0,0,0,.35); }
body.pf-horse .card:hover { border-color:var(--ring); }
body.pf-horse .card .learn { color:var(--indigo-l); }
body.pf-horse .foot, body.pf-horse .foot .f { color:var(--subtle); border-color:var(--hair); }

/* PRICING: tack leather behind the head, stitch divider, short door band at the foot */
body.pf-horse.pf-pricing .pf-photo { bottom:auto; height:330px; }
body.pf-horse.pf-pricing .pf-photo img { object-position:50% 35%; filter:saturate(.8) brightness(.62); }
body.pf-horse.pf-pricing .pf-photo::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(15,13,12,.25) 0%, rgba(15,13,12,.55) 55%, #0f0d0c 100%); }
body.pf-horse .founder { background:linear-gradient(180deg,#1d1b2e 0%,#1a1816 60%); border:1px dashed var(--indigo); }
body.pf-horse .badge { background:rgba(79,70,229,.18); color:var(--indigo-l); border-color:rgba(139,132,245,.4); }
body.pf-horse .price-hero, body.pf-horse .cadence b, body.pf-horse .plan-name { color:var(--text); }
body.pf-horse .price-hero span, body.pf-horse .cadence, body.pf-horse .note { color:var(--muted); }
body.pf-horse .feat li { color:#d9d6d0; }
body.pf-horse .plan-split a, body.pf-horse .plan-split .split-wm { color:var(--text); }
body.pf-horse .plan-split .split-wm span { color:var(--indigo-l); }
body.pf-horse .plan-split .vdiv { background:var(--ring); }
body.pf-horse .below h3 { color:var(--text); }
body.pf-horse .billing-toggle { border-color:var(--ring); }
body.pf-horse .billing-toggle button { color:var(--muted); }
body.pf-horse .billing-toggle button[aria-checked="true"] { color:#fff; }
body.pf-horse .pf-band { position:relative; height:200px; margin:28px -56px -24px; overflow:hidden; }
body.pf-horse .pf-band img { width:100%; height:100%; object-fit:cover; object-position:50% 55%; filter:saturate(.85) brightness(.95); }
body.pf-horse .pf-band::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,#0f0d0c 0%, rgba(15,13,12,0) 45%, rgba(15,13,12,.15) 100%); }
@media (max-width:900px) { body.pf-horse.pf-home .hero { padding-left:24px; } body.pf-horse .pf-band { margin:20px -20px -24px; } }
body.pf-horse .page > .pf-photo { position:absolute; z-index:0; }
body.pf-horse.pf-home .hero { justify-content:flex-start; padding-top:13vh; }
body.pf-horse .card .learn { color:#fff !important; }
body.pf-horse.pf-how .intro, body.pf-horse.pf-how .intro * { text-align:left; margin-left:0; }
body.pf-horse .pf-stitch { border-top:2px dashed #4f46e5 !important; opacity:1; }
body.pf-horse .pf-band::after { background:linear-gradient(180deg,#0f0d0c 0%, rgba(15,13,12,.6) 25%, rgba(15,13,12,0) 70%, rgba(15,13,12,.2) 100%) !important; }

/* v3: home hero is the eye (8), mirrored so the eye sits right in clear space */
body.pf-horse.pf-home .pf-photo img { object-position:70% 40%; filter:saturate(.8) brightness(.8) contrast(1.06); }
body.pf-horse.pf-home .pf-photo::after {
  background: linear-gradient(90deg, rgba(15,13,12,.9) 0%, rgba(15,13,12,.72) 28%, rgba(15,13,12,.25) 50%, rgba(15,13,12,0) 64%),
              linear-gradient(180deg, rgba(15,13,12,.45) 0%, rgba(15,13,12,0) 20%, rgba(15,13,12,0) 66%, rgba(15,13,12,.92) 100%); }
/* nav legibility over photos */
body.pf-horse .nav-r a:not(.nav-cta), body.pf-horse .nav-r .pf-auth { color:#d4d2cd !important; text-shadow:0 1px 8px rgba(0,0,0,.6); }

/* v3 subpages (find, pitch, proof, climb, check, report): photo owns the top screen, feathered into night */
body.pf-horse.pf-sub .pf-photo { bottom:auto; height:100vh; }
body.pf-horse.pf-sub .pf-photo img { filter:saturate(.85) brightness(.78) contrast(1.04); }
body.pf-horse.pf-sub .pf-photo::after { content:""; position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(15,13,12,.9) 0%, rgba(15,13,12,.7) 30%, rgba(15,13,12,.2) 55%, rgba(15,13,12,0) 70%),
              linear-gradient(180deg, rgba(15,13,12,.5) 0%, rgba(15,13,12,0) 18%, rgba(15,13,12,0) 55%, #0f0d0c 100%); }
body.pf-horse.pf-find .pf-photo img { object-position:40% 50%; }
body.pf-horse.pf-pitch .pf-photo img { object-position:30% 35%; }
body.pf-horse.pf-proof .pf-photo img { object-position:50% 50%; }
body.pf-horse.pf-climb .pf-photo img { object-position:62% 62%; filter:saturate(.88) brightness(.85) contrast(1.04); }
body.pf-horse.pf-climb .pf-photo::after { background: linear-gradient(90deg, rgba(15,13,12,.8) 0%, rgba(15,13,12,.45) 30%, rgba(15,13,12,0) 55%),
  linear-gradient(180deg, rgba(15,13,12,.55) 0%, rgba(15,13,12,0) 22%, rgba(15,13,12,0) 62%, #0f0d0c 100%); }
body.pf-horse.pf-check .pf-photo img, body.pf-horse.pf-report .pf-photo img { object-position:50% 40%; filter:saturate(.8) brightness(.55); }
body.pf-horse.pf-sub .card, body.pf-horse.pf-sub [class*="panel"], body.pf-horse.pf-sub [class*="box"] { background:rgba(26,24,22,.86); border-color:var(--hair); backdrop-filter:blur(6px); }

/* pricing v3: the door (23) behind the header, no foot band */
body.pf-horse.pf-pricing .pf-photo { height:420px; }
body.pf-horse.pf-pricing .pf-photo img { object-position:50% 42%; filter:saturate(.85) brightness(.7); }
body.pf-horse.pf-pricing .pf-photo::after { background:linear-gradient(180deg, rgba(15,13,12,.35) 0%, rgba(15,13,12,.55) 50%, #0f0d0c 100%); }

/* how it works: lede clear of the man; photo sits right */
body.pf-horse.pf-how .pf-photo img { object-position:20% 58%; }
body.pf-horse.pf-how .pf-photo::after { background: linear-gradient(90deg, rgba(15,13,12,.9) 0%, rgba(15,13,12,.65) 35%, rgba(15,13,12,0) 62%),
  linear-gradient(180deg, rgba(15,13,12,.4) 0%, rgba(15,13,12,0) 25%, rgba(15,13,12,.35) 60%, #0f0d0c 100%); }

/* v3b: subpages open with the photo as a full-bleed chapter hero; content starts below it */
body.pf-horse.pf-sub .pf-photo { height:78vh; }
body.pf-horse.pf-sub .pf-photo::after { background: linear-gradient(180deg, rgba(15,13,12,.5) 0%, rgba(15,13,12,0) 20%, rgba(15,13,12,0) 60%, #0f0d0c 100%),
  radial-gradient(130% 100% at 50% 40%, transparent 60%, rgba(15,13,12,.5) 100%); }
body.pf-horse.pf-sub .page > .nav + * { margin-top:58vh; }
body.pf-horse.pf-climb .pf-photo { height:92vh; }
body.pf-horse.pf-climb .page > .nav + * { margin-top:70vh; }
body.pf-horse.pf-find .pf-photo img { object-position:50% 46%; }
body.pf-horse.pf-pitch .pf-photo img { object-position:50% 30%; }
body.pf-horse.pf-climb .pf-photo img { object-position:60% 58%; }
body.pf-horse.pf-check .pf-photo img, body.pf-horse.pf-report .pf-photo img { object-position:50% 45%; filter:saturate(.85) brightness(.72); }
body.pf-horse .panel { background:linear-gradient(180deg,#1f1b18,#171513) !important; border:1px solid var(--hair) !important; color:var(--text); }
body.pf-horse .panel * { border-color:var(--hair); }
body.pf-horse .form-wrap { background:rgba(26,24,22,.92) !important; border:1px solid var(--hair); }
body.pf-horse .form-wrap input, body.pf-horse .form-wrap textarea, body.pf-horse .form-wrap select { background:#231e1a !important; color:var(--text) !important; border-color:var(--ring) !important; }
body.pf-horse .form-wrap .hint { color:var(--subtle); }
body.pf-horse .preview { box-shadow:0 30px 60px rgba(0,0,0,.5); }
body.pf-horse.pf-pitch .pf-photo img { object-position:50% 8%; }

/* v4: wide eye hero (generated hero-eye-wide), head sits right with air */
body.pf-horse.pf-home .pf-photo img { object-position:100% 0%; filter:saturate(.9) brightness(.92) contrast(1.05); }
body.pf-horse.pf-home .pf-photo::after {
  background: linear-gradient(90deg, rgba(15,13,12,.6) 0%, rgba(15,13,12,.3) 35%, rgba(15,13,12,0) 55%),
              linear-gradient(180deg, rgba(15,13,12,.35) 0%, rgba(15,13,12,0) 20%, rgba(15,13,12,0) 70%, rgba(15,13,12,.9) 100%); }
/* v4: pitch-forward, chestnut stepping out of the group */
body.pf-horse.pf-pitch .pf-photo img { object-position:50% 55%; }


/* Restore v3 eye close-up on home hero (Kirk, Nov 10): v3 values verbatim, after v4 so they win */
body.pf-horse.pf-home .pf-photo img { object-position:70% 40%; filter:saturate(.8) brightness(.8) contrast(1.06); }
body.pf-horse.pf-home .pf-photo::after {
  background: linear-gradient(90deg, rgba(15,13,12,.9) 0%, rgba(15,13,12,.72) 28%, rgba(15,13,12,.25) 50%, rgba(15,13,12,0) 64%),
              linear-gradient(180deg, rgba(15,13,12,.45) 0%, rgba(15,13,12,0) 20%, rgba(15,13,12,0) 66%, rgba(15,13,12,.92) 100%); }

/* v5 spacing: Find + Pitch content on the first screen (desktop, real browser height) */
@media (min-width:901px){
body.pf-horse.pf-find .pf-photo, body.pf-horse.pf-pitch .pf-photo { height:50vh; }
body.pf-horse.pf-find .page > .nav + *, body.pf-horse.pf-pitch .page > .nav + * { margin-top:min(20vh, 190px); }
body.pf-horse.pf-find .pf-photo img { object-position:50% 44%; }
body.pf-horse.pf-pitch .pf-photo img { object-position:50% 4%; }
}

/* v9 How it works hub: boxes a little smaller (about 10% narrower, 18% shorter), bottom edge stays where it was, clear hover outline. */
@media (min-width:901px){
body.pf-horse.pf-how .cards { margin-top:max(40px, calc(18vh - 63px)) !important; max-width:90%; margin-left:auto; margin-right:auto; width:100%; }
body.pf-horse.pf-how .card { padding:24px 22px 20px !important; border-radius:20px !important; }
body.pf-horse.pf-how .card .learn { margin-top:auto !important; align-self:flex-start; }
body.pf-horse.pf-how .card:hover, body.pf-horse.pf-how .card:focus-within { border-color:#4f46e5 !important; box-shadow:0 0 0 1px #4f46e5, 0 18px 40px -22px rgba(79,70,229,.55) !important; }
}
