/* Homepage hero: the top of the Claude Design home prototype (AgentGuard Home, Sep 29 2026), set in
   the site's DM Sans. Sizes, weights, spacing and colours follow the design's TOKENS.md: headline,
   the setup card (Sep 30 2026, JP: modelled on PostHog's "Set up for free" card) with the command, its
   Copy button, Get started and Install with AI, the terminal replay (terminal/agentguard-terminal.css)
   and three links, over a teal glow. The hero keeps its old classes, so these rules outrank the recorded-run
   rules in the page's hero-video-styles block. English homepage only. */
.hero.recorded-hero{position:relative;width:100%;max-width:880px;align-self:center;align-items:center;gap:0;text-align:center}
/* The page glow. The design's box is 900 x 520 (at most 140vw) with a farthest-corner ellipse; here the
   box stops at the page width, so nothing overflows where overflow-x:clip is unsupported, and the
   ellipse keeps the design's radii (half the box times the square root of two). */
.hero.recorded-hero::before{content:"";position:absolute;left:50%;top:-220px;width:min(900px,100vw);height:520px;transform:translateX(-50%);pointer-events:none;z-index:-1;
  background:radial-gradient(ellipse at center,rgba(42,188,180,0.13),rgba(42,188,180,0) 65%);
  background:radial-gradient(calc(min(900px,140vw) * 0.70711) 367.7px at center,rgba(42,188,180,0.13),rgba(42,188,180,0) 65%)}
.hero.recorded-hero .hero-langs{justify-content:center}
.hero.recorded-hero h1{max-width:760px;margin:0 auto;font:500 clamp(27px,5.4vw,44px)/1.15 'DM Sans',system-ui,sans-serif;letter-spacing:-0.02em;color:#F1F5F9;text-align:center;text-wrap:pretty}

/* The headline and the setup card: stacked and centred on narrow screens; from 960px, two columns in
   the 880px column, the headline left and the card right, vertically centred. */
.hero-top{display:flex;flex-direction:column;align-items:center;gap:clamp(24px,4vw,36px);width:100%;margin:clamp(24px,5vw,56px) 0 clamp(28px,4.5vw,44px)}
@media (min-width:960px){
  .hero-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,420px);align-items:center;column-gap:40px}
  .hero.recorded-hero .hero-top h1{max-width:440px;margin:0;text-align:left}
}

/* The setup card */
.setup-card{display:flex;flex-direction:column;gap:16px;width:100%;max-width:420px;padding:20px;border-radius:12px;background:#0C1828;border:1px solid rgba(42,188,180,0.22);box-shadow:0 0 30px rgba(42,188,180,0.08);text-align:left}
.setup-title{font:600 19px/1.3 'DM Sans',system-ui,sans-serif;letter-spacing:-0.01em;color:#F1F5F9;text-wrap:balance}
.setup-free{padding:0 6px;border-radius:4px;background:rgba(42,188,180,0.16);color:#5FE3DB;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.setup-checks{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;font:400 15px/1.4 'DM Sans',system-ui,sans-serif;color:#D5DEE8}
.setup-checks li{display:flex;align-items:center;gap:8px}
.setup-check{flex:none;width:16px;height:16px;fill:none;stroke:#2ABCB4;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* The command and its Copy button */
.install-pill{display:flex;align-items:center;gap:6px;max-width:100%;padding:6px 6px 6px 16px;border-radius:10px;background:#0C1828;border:1px solid rgba(42,188,180,0.22);box-shadow:0 0 0 1px rgba(255,255,255,0.03),0 0 30px rgba(42,188,180,0.08);font-family:'JetBrains Mono',ui-monospace,Menlo,monospace;font-size:clamp(13px,3.4vw,15px);font-weight:400;line-height:normal;text-align:left}
.install-prompt{flex:none;color:#2ABCB4}
.setup-card .install-pill{width:100%;padding-left:12px;background:#07101E;box-shadow:none}
.install-pill .install-cmd{flex:1 1 auto;min-width:0;padding:0 8px 0 0;border-radius:0;background:none;font:inherit;color:#F1F5F9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}
.install-copy{flex:none;min-width:74px;padding:8px 12px;border-radius:7px;border:1px solid rgba(42,188,180,0.4);background:rgba(42,188,180,0.1);color:#2ABCB4;font:inherit;font-size:12px;letter-spacing:0.02em;cursor:pointer;transition:background 0.15s,box-shadow 0.15s}
.install-copy:hover{background:rgba(42,188,180,0.2);box-shadow:0 0 16px rgba(42,188,180,0.25)}
.install-copy:focus-visible{outline:2px solid #2ABCB4;outline-offset:2px}

/* Get started (primary) and Install with AI (secondary), equal width, then the hint */
.setup-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
@media (max-width:440px){.setup-actions{grid-template-columns:1fr}}
.setup-start,.setup-ai{display:flex;align-items:center;justify-content:center;min-width:0;height:44px;margin:0;padding:0 12px;border-radius:7px;font:500 15px/1 'DM Sans',system-ui,sans-serif;white-space:nowrap;text-decoration:none;cursor:pointer;transition:background 0.15s}
.setup-start{background:rgba(42,188,180,0.18);border:1px solid #2ABCB4;color:#F1F5F9}
.setup-start:hover{background:rgba(42,188,180,0.28);color:#F1F5F9}
.setup-ai{background:transparent;border:1px solid rgba(255,255,255,0.18);color:#E6EDF3}
.setup-ai:hover{background:rgba(255,255,255,0.06)}
.setup-start:focus-visible,.setup-ai:focus-visible{outline:2px solid #2ABCB4;outline-offset:2px}
.setup-hint{margin:-4px 0 0;font:400 13px/1.45 'DM Sans',system-ui,sans-serif;color:#7C8BA0;text-wrap:balance}
#home-install-prompt[hidden]{display:none}

/* The terminal fills the column */
.hero.recorded-hero [data-agentguard-terminal]{width:100%}

/* The three links under the terminal */
.home-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 28px;margin:clamp(24px,4vw,36px) 0 0;font:400 15px/normal 'DM Sans',system-ui,sans-serif}
.home-link{display:inline-flex;align-items:center;gap:6px;padding:10px 4px;color:#C3CDDA;text-decoration:none;border-bottom:1px solid rgba(255,255,255,0.14);transition:border-color 0.15s,color 0.15s}
.home-link:hover{color:#F1F5F9;border-color:rgba(255,255,255,0.5)}
.home-link:focus-visible{outline:2px solid #2ABCB4;outline-offset:3px;border-radius:2px}
.home-link-primary{color:#2ABCB4;border-bottom-color:rgba(42,188,180,0.35)}
.home-link-primary:hover{color:#2ABCB4;border-color:#2ABCB4}

.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.copy-buffer{position:fixed;top:0;left:0;width:1px;height:1px;opacity:0;pointer-events:none}

@media (prefers-reduced-motion:reduce){
  .install-copy,.setup-start,.setup-ai,.home-link{transition:none}
}
