/* Lay LP final (竹蔵's picks, 2026-11-10). On top of zen-sendy.css + lay-gray.css + stars/lay-stars.css; hero layout, media and the footer wordmark. */
/* hero laid out like the Prism LP hero and the HP top hero (竹蔵 2026-11-10). The rules are public/products/prism/css/prism-theme.css's
   "hero-hp" block (itself the HP's public/cyber/metal-hero.css), with Prism's button tokens swapped for Lay's (lay-gray.css --hp-button*)
   and h1.prism-catch -> h1.lay-catch. The laptop is the same MacBook picture (prism-laptop.webp) with its screen cut out
   (shots/laptop-frame.webp), and Lay's hero video sits in the hole. */
#header.hero-hp{--hero-fit-height:100svh;display:block;padding:0}
.hero-hp__view{display:grid;grid-template-rows:auto auto minmax(0,1fr);box-sizing:border-box;height:var(--hero-fit-height);min-height:500px;
  padding:clamp(104px,calc(16.78svh - 44px),156px) 20px clamp(16px,calc(var(--hero-fit-height)*.03),36px);text-align:center}
#header.hero-hp h1.lay-catch{width:100%;max-width:1216px;margin:0 auto;padding:0;font-family:'Sendy Display',Helvetica,sans-serif;font-weight:700;letter-spacing:-.025em;line-height:1.05;
  font-size:clamp(40px,min(calc((100vw - 64px)/9.3),calc(var(--hero-fit-height)*.1074)),128px)}
#header.hero-hp .hero-line{display:block;white-space:nowrap}
#header.hero-hp .hero-sub{margin-top:clamp(8px,calc(var(--hero-fit-height)*.0134),14px);font-size:clamp(16px,calc(var(--hero-fit-height)*.0268),26px)}
.hero-hp__actions{display:flex;flex-wrap:nowrap;align-items:stretch;justify-content:center;gap:12px;margin:clamp(20px,calc(var(--hero-fit-height)*.0319),38px) auto 0}
.hero-hp__actions a{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:10px;box-sizing:border-box;
  width:clamp(184px,calc(var(--hero-fit-height)*.2433),290px);height:clamp(56px,calc(var(--hero-fit-height)*.057),68px);min-height:56px;padding:0 16px;
  border:1px solid #fff;border-radius:999px;color:#fff;text-decoration:none;font-family:-apple-system,BlinkMacSystemFont,sans-serif;font-size:clamp(16px,calc(var(--hero-fit-height)*.0151),18px);font-weight:600}
.hero-hp__actions .hero-hp__primary{background:var(--hp-button);border-color:var(--hp-button);color:var(--hp-button-ink);text-shadow:none}
.hero-hp__actions .hero-hp__primary:hover{background:var(--hp-button-hover)}
.hero-hp__actions a:focus-visible{outline:2px solid #fff;outline-offset:3px}
/* prism-theme.css sizes an <img> with object-fit:contain; here the box itself keeps the picture's 2048:1366 shape */
#header.hero-hp .hero-hp__laptop{position:relative;box-sizing:border-box;display:block;justify-self:center;align-self:start;aspect-ratio:2048/1366;width:auto;max-width:800px;height:min(43svh,calc(100% - 44px));min-height:0;max-height:533px;margin:44px 0 0}
#header.hero-hp .lay-laptop__screen{max-width:none;margin:0;position:absolute;left:12.01%;top:5.12%;width:76.22%;height:71.6%;object-fit:cover;background:#07080c;border-radius:.6% .6% 0 0}
#header.hero-hp .lay-laptop__frame{position:absolute;inset:0;width:100%;height:100%;display:block}
@media(max-width:767px){
  #header.hero-hp{--hero-fit-height:98svh}
  .hero-hp__view{grid-template-columns:minmax(0,1fr);min-height:700px;padding:clamp(138px,19svh,164px) 16px 32px}
  #header.hero-hp h1.lay-catch{font-size:clamp(40px,min(13.25vw,calc(var(--hero-fit-height)*.1074)),64px)}
  .hero-hp__actions{display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);width:100%;max-width:400px}
  .hero-hp__actions a{padding:0 12px;white-space:nowrap}
  #header.hero-hp .hero-sub{font-size:clamp(14px,4.3vw,18px)}
  .hero-hp__actions[data-buttons="1"]{grid-template-columns:minmax(0,1fr);max-width:290px}
  .hero-hp__actions a{width:100%;min-width:0}
  #header.hero-hp .hero-hp__laptop{width:108vw;max-width:none;height:auto;max-height:none;margin:36px 0 0;align-self:center}
}
/* one button with a longer label (EN "Download for Apple Silicon"): the HP width stays the minimum, the label stays on one line */
.hero-hp__actions[data-buttons="1"] a{width:auto;min-width:clamp(184px,calc(var(--hero-fit-height)*.2433),290px);padding:0 28px;white-space:nowrap}
@media(max-width:767px){.hero-hp__actions[data-buttons="1"] a{width:100%;min-width:0;padding:0 12px}}

/* Screen Studio style media: the frame and the night sky backdrop are in the picture itself; its edges fade into the page sky */
.feature-row .lay-shot{display:block;width:100%;height:auto;aspect-ratio:16/10;border-radius:0;box-shadow:none;background:none;
  -webkit-mask-image:linear-gradient(90deg,#0000,#000 9%,#000 91%,#0000),linear-gradient(#0000,#000 9%,#000 91%,#0000);-webkit-mask-composite:source-in;
  mask-image:linear-gradient(90deg,#0000,#000 9%,#000 91%,#0000),linear-gradient(#0000,#000 9%,#000 91%,#0000);mask-composite:intersect}

/* footer wordmark: Sendy's wordmark (Bricolage Grotesque 800, text clipped to the HP grey) at a size that fills the width */
#footer .wm-w2 .wordmark-line{font-size:15.8cqw}
/* the English feature titles are longer than Sendy's one-line column (white-space:nowrap pushed the copy past the page edge) */
html[lang=en] .feature-row__copy{min-width:0}
html[lang=en] .feature-row__copy h3{white-space:normal;text-wrap:balance}
