/* Home: an archival signal print with the live lifecycle on the right. */
.hero-alive[data-page="zero"] {
 --mesh-opacity:0;
 --mesh-blur:0px;
 background:hsl(var(--canvas));
}
.hero-alive[data-page="zero"] .ark-background-host { display:none; }
.hero-alive[data-page="zero"] .ark-hero-body {
 position:absolute;
 inset:auto;
 top:clamp(132px,24cqh,240px);
 left:max(28px,5cqw);
 width:min(760px,calc(100% - 390px));
 max-width:none;
 margin:0;
 padding:0;
 transform:none;
 text-align:left;
 letter-spacing:0;
}
.hero-alive[data-page="zero"] .ark-hero-eyebrow {
 display:flex;
 align-items:center;
 gap:12px;
 margin:0 0 24px;
 font:600 16px/1.4 "Albert Sans",sans-serif;
 letter-spacing:0;
 text-transform:uppercase;
 color:hsl(var(--text-muted));
}
.hero-alive[data-page="zero"] .ark-hero-eyebrow::before {
 content:"";
 width:4px;
 height:4px;
 flex:0 0 4px;
 background:hsl(var(--primary));
}
.hero-alive[data-page="zero"] .ark-hero-title {
 max-width:11ch;
 margin:0 0 27px;
 font:700 clamp(48px,5.8cqw,78px)/.98 "Albert Sans",sans-serif;
 letter-spacing:-.055em;
 text-transform:none;
 color:hsl(var(--text-strong));
 text-wrap:balance;
}
.hero-alive[data-page="zero"] .ark-hero-title > span,
.hero-alive[data-page="zero"] .ark-hero-title > em {
 display:block;
 white-space:nowrap;
}
.hero-alive[data-page="zero"] .ark-hero-title > em {
 position:relative;
 width:max-content;
 max-width:100%;
 padding-bottom:12px;
 font-style:normal;
 font-weight:inherit;
 color:hsl(var(--text-strong));
}

.hero-alive[data-page="zero"] .ark-hero-title > em::after {
 content:"";
 position:absolute;
 bottom:0;
 left:2px;
 width:82px;
 height:2px;
 background:hsl(var(--primary));
}
.hero-alive[data-page="zero"] .ark-hero-copy {
 max-width:61ch;
 margin:0;
 font:400 16px/1.62 "Albert Sans",sans-serif;
 letter-spacing:0;
 color:hsl(var(--text-muted));
 text-wrap:pretty;
}

.home-question-links {
 display:flex;
 flex-basis:100%;
 flex-wrap:wrap;
 align-items:center;
 gap:10px 24px;
}
.home-question-links a {
 display:inline-flex;
 align-items:center;
 min-height:28px;
 padding:0;
 border:0;
 border-bottom:1px solid hsl(var(--text-muted) / .55);
 font:500 10px/1.3 var(--font-mono,ui-monospace,monospace);
 color:hsl(var(--text));
 text-decoration:none;
}
.home-question-links a::after { content:"→"; margin-left:7px; color:hsl(var(--reference)); }
.home-question-links a:hover { color:hsl(var(--text-strong)); border-bottom-color:hsl(var(--reference)); }
#scene .home-question-links a:focus-visible { outline:2px solid hsl(var(--reference)); outline-offset:5px; }
.home-lifecycle {
 position:absolute;
 z-index:5;
 top:clamp(150px,23cqh,220px);
 right:max(28px,5cqw);
 width:300px;
 box-sizing:border-box;
 padding:18px;
 border:1px solid hsl(var(--text-strong) / .16);
 border-top-color:hsl(var(--primary-400));
 background:linear-gradient(145deg,hsl(var(--surface) / .72),hsl(var(--canvas) / .38));
 box-shadow:0 28px 80px hsl(var(--canvas) / .32),inset 0 1px hsl(var(--text-strong) / .05);
 backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
}

/* A resolver signal bridges the hero and the agreement lifecycle. */
@keyframes home-orbit { to { transform:rotate(360deg); } }
@keyframes home-orbit-reverse { to { transform:rotate(-360deg); } }

/* The settings layer applies important link/headline colors globally. Keep
   this page's own semantic hierarchy while still following the theme. */
:root[data-theme] #scene .hero-alive[data-page="zero"] .ark-hero-title { color:hsl(var(--text-strong)); }
@media(max-width:1150px) {
 .hero-alive[data-page="zero"] .ark-hero-body {
  width:calc(100% - 330px);
 }
 .hero-alive[data-page="zero"] .ark-hero-title { font-size:58px; }

 .home-lifecycle { width:230px; padding:14px; }

}
@media(max-height:620px) and (min-width:761px) {
 .hero-alive[data-page="zero"] .ark-hero-body { top:94px; }
 .hero-alive[data-page="zero"] .ark-hero-title { font-size:54px; margin-bottom:15px; }

 .hero-alive[data-page="zero"] .ark-hero-eyebrow { margin-bottom:15px; }
 .home-lifecycle { top:115px; }

}
@media(max-width:760px) {
 .hero-alive[data-page="zero"] .ark-hero-body {
  position:relative;
  inset:auto;
  width:100%;
  max-width:100%;
 }
 .hero-alive[data-page="zero"] .ark-hero-title { max-width:13ch; font-size:42px; }

 .hero-alive[data-page="zero"] .ark-hero-copy { font-size:16px; }
 .home-lifecycle { position:relative; top:auto; right:auto; width:100%; max-width:360px; margin:56px 0 0 auto; padding:16px; }

}
@media(max-width:430px) {
 .hero-alive[data-page="zero"] .ark-hero-title { font-size:36px; }

}
@media(max-width:350px) {
 .hero-alive[data-page="zero"] .ark-hero-title { font-size:30px; }

}

