/* Hero studies; the selected paper direction also colors its shared header. */
.hero.hero-workspace[data-study]{position:relative;isolation:isolate;display:flex;align-items:center;max-width:none;min-height:850px;padding:72px 24px 280px;overflow:hidden;background:var(--study-bg);color:var(--study-ink);border-bottom:1px solid var(--study-line)}
.hero[data-study="01"]{--study-bg:#060a07;--study-ink:#e0e6da;--study-accent:#a4c79c;--study-muted:#a1ad9e;--study-line:#243226}
.hero[data-study-tone="paper"]{--study-bg:#e9e7dc;--study-ink:#303b2f;--study-accent:#50634a;--study-muted:#596252;--study-line:#bec2af;--paper-bridge:220px}
.hero[data-study="03"]{--study-bg:#090f16;--study-ink:#dce5e9;--study-accent:#9cb9ce;--study-muted:#a1afb9;--study-line:#2c3d4b}
.hero[data-study] .hs-art{position:absolute;z-index:-2;inset:0;pointer-events:none}
.hero[data-study] .hs-canvas{display:block;width:100%;height:100%}
.hero[data-study]::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,var(--study-bg) 0%,transparent 65%)}
.hero[data-study]::after{content:"";position:absolute;inset:0;z-index:3;pointer-events:none;opacity:.14;background:repeating-linear-gradient(180deg,transparent 0px,transparent 2px,#000 2px,#000 3px)}
.hero[data-study] .hw-intro{position:relative;width:100%;max-width:640px;z-index:1}
.hero[data-study] h1{font-family:Geist,sans-serif;font-size:clamp(64px,17vw,92px);font-weight:400;letter-spacing:-.07em;line-height:1.02;color:var(--study-ink)}
.hero[data-study] h1>span:last-child{font-size:1.17em;letter-spacing:-.075em;line-height:1.17;color:var(--study-accent)}
.hero[data-study] h1>.hw-agent-line{color:var(--study-ink);gap:.15em}
.hero[data-study] .hw-agent-logos{flex-basis:.61em;width:.61em;height:.61em;top:.04em}
.hero[data-study] .hw-intro-bottom{margin-top:28px;gap:26px}
.hero[data-study] .hw-intro-bottom>p{max-width:440px;font-size:16px;line-height:1.75;color:var(--study-muted);letter-spacing:-.015em}
.hero[data-study] .hw-actions{gap:24px}
.hero[data-study] .hw-primary{min-height:50px;background:var(--study-accent);color:var(--study-bg);font-size:11px;padding:16px 20px;gap:30px;border:1px solid var(--study-accent)}
.hero[data-study] .hw-primary:hover{background:var(--study-ink);border-color:var(--study-ink)}
.hero[data-study] .hw-secondary{min-height:44px;font-size:13px;color:var(--study-muted)}
.hero[data-study] .hw-secondary>span{color:var(--study-accent)}
.hero[data-study] .hero-agent-setup{color:var(--study-muted);margin-top:-7px;font-size:12px}
.hero[data-study] .hero-agent-setup button{color:var(--study-accent);min-height:44px;font-size:12px}
.hero[data-study] :is(a,button):focus-visible{outline-color:var(--study-accent)}
.hero[data-study-tone="paper"]::before{background:linear-gradient(180deg,#e9e7dc 0%,#e9e7dcf0 35%,#e9e7dc00 74%)}
.hero[data-study-tone="paper"]::after{opacity:.025}
.hero[data-study-tone="paper"] .hw-intro{max-width:none;text-align:center}
.hero[data-study-tone="paper"] .hw-intro-bottom{align-items:center}
.hero[data-study-tone="paper"] .hw-primary{background:#34472e;border-color:#34472e;color:#f1eee2}
.hero[data-study-tone="paper"] .hw-primary:hover{background:#4d6444;border-color:#4d6444}
.hero[data-study-tone="paper"] .hw-agent-logos img[src$="/codex.svg"]{filter:brightness(0) invert(.1)}
.hero[data-study-tone="paper"] .hw-agent-logos img[src$="/pi.svg"]{filter:saturate(.55)}
.hero[data-study-tone="paper"] .hw-actions,.hero[data-study-tone="paper"] .hero-agent-setup{justify-content:center}
.hero[data-study="03"]::before{background:linear-gradient(180deg,#090f16 12%,#090f1660 60%,transparent)}
.hero[data-study="03"] .hw-primary{background:transparent;color:var(--study-ink);border-color:#7894a8}
.hero[data-study="03"] .hw-primary:hover{background:var(--study-accent);color:var(--study-bg)}
@media(min-width:720px){
  .hero.hero-workspace[data-study]{padding:90px 5vw 200px;min-height:940px}
  .hero[data-study] h1{font-size:100px}
  .hero[data-study-tone="paper"] .hw-intro{align-self:flex-start}
  .hero[data-study-tone="paper"] h1{font-size:88px}
  .hero[data-study-tone="paper"] h1 br:first-of-type{display:none}
  .hero[data-study-tone="paper"] h1>.hw-agent-line{margin-left:.23em}
}
@media(min-width:1000px){
  .hero.hero-workspace[data-study]{min-height:760px;height:clamp(760px,calc(100svh - 82px),960px);padding:70px 6vw 100px}
  .hero[data-study] h1{font-size:clamp(96px,7.75vw,126px)}
  .hero[data-study] .hw-intro-bottom{margin-top:30px;gap:28px}
  .hero[data-study] .hw-intro-bottom>p{font-size:16px;max-width:450px}
  .hero[data-study="01"]::before{background:linear-gradient(90deg,#060a07 0%,#060a07ed 23%,#060a0780 41%,#060a0700 63%)}
  .hero[data-study-tone="paper"]{padding-top:65px;align-items:flex-start}
  .hero[data-study-tone="paper"] h1{font-size:clamp(80px,6.7vw,112px);line-height:1.12}
  .hero[data-study-tone="paper"] h1>span:last-child{font-size:1.34em;line-height:1.12;color:#4a6043}
  .hero[data-study-tone="paper"] .hw-intro-bottom{margin-top:20px;gap:24px}
  .hero[data-study-tone="paper"] .hw-intro-bottom>p{max-width:540px}
  .hero[data-study-tone="paper"]::before{background:linear-gradient(180deg,#e9e7dc00 40%,#e9e7dc75 55%,#e9e7dc00 77%)}
  .hero[data-study="03"]::before{background:linear-gradient(90deg,#090f16 0%,#090f16f5 30%,#090f1690 43%,#090f1600 67%)}
  .hero[data-study="03"] .hw-intro{padding-left:2vw}
  .hero[data-study="03"] h1{font-size:clamp(88px,7vw,116px)}
}
html[data-motion="paused"] .hero[data-study] .hw-agent-logos img{animation-play-state:paused}

/* A paper cover that descends into the existing dark-green product pages. */
.hero.hero-workspace[data-study-tone="paper"]{min-height:1070px;border-bottom:0;padding-bottom:500px}
.hero[data-study-tone="paper"]::before{background:linear-gradient(180deg,#e9e7dc 0%,#e9e7dcdf 22%,#e9e7dc00 53%)}
.hero[data-study-tone="paper"] .hw-primary{transition:none}
html[data-hero-tone="paper"] .header{background:#e9e7dc;border-bottom-color:#c9cdbc;color:#303b2f}
html[data-hero-tone="paper"] .header .brand svg{color:#40543a}
html[data-hero-tone="paper"] .header :is(nav a,nav button,.motion-button,.motion-icon,.menu-button){color:#4d5b44}
html[data-hero-tone="paper"] .header .nav-build{background:transparent;color:#34472e;border-color:#a4af96}
html[data-hero-tone="paper"] .header .nav-build:hover{background:#d5dbc9;border-color:#738469}
html[data-hero-tone="paper"] .header nav{background:#e9e7dc;border-color:#c9cdbc}
html[data-hero-tone="paper"] .header :is(a,button):focus-visible{outline-color:#50634a}
html[data-hero-tone="paper"] .header .nav-build{display:none}
html[data-hero-tone="paper"] .header .motion-label{display:none}
html[data-hero-tone="paper"] .header .motion-button{min-width:44px}
html[data-hero-tone="paper"] .header .header-actions{gap:8px}
@media(min-width:720px){
  .hero.hero-workspace[data-study-tone="paper"]{min-height:1160px;padding-bottom:420px}
  html[data-hero-tone="paper"] .header .nav-build{display:flex}
  html[data-hero-tone="paper"] .header .motion-label{display:inline}
  html[data-hero-tone="paper"] .header .header-actions{gap:18px}
}
@media(min-width:1000px){
  .hero.hero-workspace[data-study-tone="paper"]{--paper-bridge:260px;min-height:1020px;height:calc(clamp(760px,calc(100svh - 82px),960px) + 260px);padding-bottom:360px}
  .hero[data-study-tone="paper"]::before{background:none}
}

/* Archived alternative layout; retained for direct preview links. */
@media(min-width:1000px){
  .hero.hero-workspace[data-study="04"]{padding-top:118px}
  .hero[data-study="04"] .hw-intro{max-width:580px;text-align:left}
  .hero[data-study="04"] h1{font-size:clamp(88px,7.5vw,124px);line-height:1.02}
  .hero[data-study="04"] h1 br:first-of-type{display:initial}
  .hero[data-study="04"] h1>.hw-agent-line{margin-left:0}
  .hero[data-study="04"] h1>span:last-child{font-size:1.17em;line-height:1.17}
  .hero[data-study="04"] .hw-intro-bottom{align-items:flex-start;margin-top:27px;gap:25px}
  .hero[data-study="04"] .hw-actions,.hero[data-study="04"] .hero-agent-setup{justify-content:flex-start}
}
