/* Scroll Site Kit sales page. Builds on styles.css + shop.css tokens.
   The hero is the product: one demo yard that builds as you scroll.
   --w = how far the wipe has gone (0..1), --n = night (0..1), --p = whole hero progress. */
.yard{--w:.5;--n:0;--p:0;position:relative;height:100svh;min-height:620px}
.yard-stage{position:relative;height:100svh;min-height:620px;overflow:hidden;isolation:isolate}
.yard-art,.yard-art img,.yard-shade{position:absolute;inset:0;width:100%;height:100%}
.yard-art{z-index:-2}
.yard-art img{object-fit:cover;object-position:52% 40%;max-width:none}
.yard-art .y2{clip-path:inset(0 calc((1 - var(--w)) * 100%) 0 0)}
.yard-art .y3{opacity:var(--n)}
.y-edge{position:absolute;top:0;bottom:0;left:calc(var(--w) * 100%);width:4px;margin-left:-2px;background:var(--yellow);box-shadow:0 0 28px rgba(245,211,59,.55)}
.yard-shade{z-index:-1;background:
  linear-gradient(90deg,rgba(14,15,18,.86) 0,rgba(14,15,18,.62) 30%,rgba(14,15,18,0) 58%),
  linear-gradient(180deg,rgba(14,15,18,.66) 0,rgba(14,15,18,0) 18%,rgba(14,15,18,0) 68%,rgba(14,15,18,.86) 100%)}
.yard-copy{position:absolute;left:0;right:0;bottom:108px}
.yard h1{font-size:clamp(40px,5.8vw,78px);max-width:14ch;margin-bottom:16px;text-shadow:0 2px 24px rgba(0,0,0,.45)}
.yard-sub{color:var(--paper);font-size:clamp(17px,1.5vw,20px);max-width:36ch;line-height:1.5;text-shadow:0 1px 12px rgba(0,0,0,.7)}
.buy-row{margin-top:22px;display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px}
.buy-row .btn{min-height:58px;padding:0 34px;font-size:18px}
.buy-note{color:var(--muted);font-size:15px;margin:0}
.btn.is-off{opacity:.55;pointer-events:none}
.yard-rail{position:absolute;left:0;right:0;bottom:20px}
.yard-rail ol{list-style:none;margin:0 0 8px;padding:0;display:grid;grid-template-columns:repeat(3,1fr);font:700 14px/1.2 Manrope,sans-serif;color:var(--stone)}
.yard-rail li{transition:color 200ms ease}
.yard-rail li:nth-child(2){text-align:center}
.yard-rail li:nth-child(3){text-align:right}
.yard-rail li.on{color:var(--paper)}
.yard-bar{height:6px;border-radius:6px;background:rgba(242,240,234,.18);overflow:hidden}
.yard-bar i{display:block;height:100%;background:var(--yellow);transform-origin:left;transform:scaleX(var(--p))}
.yard-rail p{font-size:12px;color:var(--muted);margin-top:8px;line-height:1.4}
.yard-hint{display:none}

/* With JS and motion allowed: a tall track, the stage sticks, scroll drives the yard. */
.yard.is-live{--w:0;height:320vh}
.yard.is-live .yard-stage{position:sticky;top:0}
.yard.is-live .yard-hint{display:inline}
.yard.is-live[data-wiping="false"] .y-edge{opacity:0}
.yard:not(.is-live) .yard-bar,.yard:not(.is-live) .yard-rail ol{display:none}

.ad-sec{padding:72px 0;border-top:1px solid var(--line)}
.ad-sec.alt{background:var(--ink-2)}
.ad-sec h2{font-size:clamp(32px,5vw,58px);max-width:18ch;margin-bottom:28px}
.steps{list-style:none;padding:0;margin:0;display:grid;gap:14px;counter-reset:s}
.steps li{counter-increment:s;background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:22px 22px 20px}
.steps li b{display:flex;align-items:center;gap:12px;font:800 22px/1.1 Brico,sans-serif;letter-spacing:-.02em}
.steps li b::before{content:counter(s);display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--yellow);color:var(--ink);font:800 15px/1 Manrope,sans-serif;flex:none}
.steps li p{color:var(--muted);font-size:16px;line-height:1.55;margin:10px 0 0}

.in-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:40px;align-items:center}
.in-grid .ticks li{color:var(--muted)}
.in-grid .ticks li b{color:var(--paper)}
.fit{color:var(--muted);font-size:16px;margin-top:22px;max-width:52ch}
.phone{margin:0;justify-self:center;width:min(300px,78%);padding:9px;border-radius:44px;background:#050506;box-shadow:0 0 0 1.5px #33363D,0 40px 80px -30px rgba(245,211,59,.22)}
.phone img{width:100%;height:auto;border-radius:36px}

.sites{display:grid;grid-template-columns:minmax(0,1fr);gap:22px 14px}
.sites a{display:block;text-decoration:none}
.sites img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;border-radius:14px;border:1px solid var(--line);transition:transform 220ms var(--ease-out),border-color 220ms ease}
.sites a b{display:block;font:800 21px/1.2 Brico,sans-serif;letter-spacing:-.02em;margin-top:12px}
.sites a span{display:block;color:var(--muted);font-size:15px;line-height:1.45}
@media (hover:hover) and (pointer:fine){.sites a:hover img{transform:translateY(-4px);border-color:var(--yellow)}}
.one-ad{background:var(--yellow);color:var(--ink);border-radius:16px;padding:22px}
.one-ad-n{display:block;font:800 clamp(60px,6vw,82px)/.95 Brico,sans-serif;letter-spacing:-.04em}
.one-ad>span{font-weight:800;font-size:17px}
.one-ad dl{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:10px;margin:16px 0 14px}
.one-ad dl div{border-top:3px solid var(--ink);padding-top:6px}
.one-ad dt{font-size:13px;font-weight:700;color:#4A4114}
.one-ad dd{margin:0;font:800 22px/1.2 Brico,sans-serif;letter-spacing:-.02em;white-space:nowrap}
.one-ad p{font-size:13px;line-height:1.45;color:#3D3610}
.small-print{color:var(--stone);font-size:13px;margin-top:18px;max-width:70ch}

.faq details{border-bottom:1px solid var(--line);padding:18px 0;max-width:760px}
.faq summary{cursor:pointer;font-weight:700;font-size:18px;list-style:none;display:flex;justify-content:space-between;gap:16px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--yellow);font-size:24px;line-height:1}
.faq details[open] summary::after{content:"\2212"}
.faq details p{color:var(--muted);font-size:16px;margin:12px 0 0;max-width:60ch}
.final{text-align:center}
.final h2{margin:0 auto 26px}
.final .btn{min-height:58px;padding:0 36px;font-size:18px}
.final .buy-note{margin-top:14px;color:var(--stone)}
.sticky-buy{position:fixed;left:12px;right:12px;bottom:12px;z-index:60;display:flex;align-items:center;justify-content:space-between;gap:12px;background:rgba(25,27,32,.94);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid var(--line);border-radius:16px;padding:10px 10px 10px 18px;transform:translateY(140%);visibility:hidden;transition:transform 320ms var(--ease-out),visibility 0s 320ms}
.sticky-buy.show{transform:none;visibility:visible;transition:transform 320ms var(--ease-out)}
.sticky-buy span{font-size:15px;color:var(--muted);line-height:1.3}
.sticky-buy b{color:var(--paper)}
.site-kit .shop-foot{padding-bottom:110px}
.site-kit .shop-foot-small a{font:600 14px/1 Manrope,sans-serif;letter-spacing:0;margin-right:14px;color:var(--stone)}

@media (min-width:700px){
  .steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sites{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:900px){
  .steps{grid-template-columns:repeat(3,minmax(0,1fr))}
  .in-grid{grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);gap:64px}
  .sites{grid-template-columns:repeat(3,minmax(0,1fr))}
  .sticky-buy{display:none}
  .site-kit .shop-foot{padding-bottom:56px}
}
/* Phones held upright: the yard gets the top of the screen to itself, the words sit under it. */
@media (max-aspect-ratio:1/1) and (max-width:699px){
  .yard-stage{background:var(--ink)}
  .yard-art{bottom:auto;height:56%}
  .yard-art img{object-position:50% 62%}
  .yard-shade{height:56%;bottom:auto;background:linear-gradient(180deg,rgba(14,15,18,.7) 0,rgba(14,15,18,0) 24%,rgba(14,15,18,0) 78%,var(--ink) 100%)}
  .yard-copy{top:calc(56% - 14px);bottom:auto}
  .yard .kicker{font-size:18px;margin-bottom:8px}
  .yard h1{font-size:clamp(30px,9vw,44px);margin-bottom:10px}
  .yard-sub{font-size:15px;line-height:1.45;color:var(--muted)}
  .yard .buy-row{margin-top:14px}
  .yard .buy-row .btn{width:100%;min-height:52px}
  .yard .buy-note{display:none}
  .yard-rail{bottom:12px}
  .yard-rail p{font-size:11px;margin-top:6px}
}
/* Short upright phones: a little less picture so the button clears the bar. */
@media (max-aspect-ratio:1/1) and (max-width:699px) and (max-height:720px){
  .yard-art,.yard-shade{height:46%}
  .yard-copy{top:calc(46% - 14px)}
  .yard h1{font-size:31px}
  .yard-sub{font-size:14px}
  .yard .buy-row{margin-top:10px}
  .yard .buy-row .btn{min-height:48px}
}
/* Short landscape screens: keep the headline and button on screen. */
@media (max-height:640px) and (min-aspect-ratio:1/1){
  .yard h1{font-size:40px}
  .yard-sub{display:none}
  .yard-copy{bottom:88px}
}
@media (prefers-reduced-motion:reduce){.sticky-buy,.sites img{transition:none}}
