/* Homepage hierarchy pilot. Page-scoped, with no dashboard or tool changes. */
/* This file is linked only by the homepage; chapter jumps should be immediate. */
html { scroll-behavior:auto !important; }
.home-structure { --structure-ink:#202124; --structure-copy:#4b5058; --structure-blue:#3864c8; --structure-line:#e2e6ed; }
.site-body .site-main .home-hero.home-structure .page-hero-shell { max-width:1200px; padding:72px 32px 60px; }
.site-body .site-main .home-hero.home-structure .page-hero-grid { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:64px; align-items:center; }
.site-body .site-main .home-hero.home-structure .page-hero-copy h1 { max-width:10.5ch; margin:20px 0 24px; font-size:clamp(3.4rem,5.5vw,4.8rem) !important; line-height:1.04 !important; letter-spacing:-.045em !important; }
.site-body .site-main .home-hero.home-structure .page-hero-chip { color:var(--structure-blue) !important; font-size:.8rem !important; font-weight:500; }
.site-body .site-main .home-hero.home-structure .page-hero-copy>p { max-width:43ch; font-size:1.1rem !important; line-height:1.65; }
.site-body .site-main .home-hero.home-structure .page-hero-actions { margin-top:28px; gap:12px; }
.site-body .site-main .home-hero.home-structure .page-hero-actions a { padding:13px 24px; font-weight:500; font-size:.95rem; }
.site-body .site-main .home-hero.home-structure .page-hero-copy .home-hero-proof { margin-top:28px; font-size:.85rem !important; color:#5f6368; line-height:1.8; }
.home-hero-proof a { color:#3158ac; text-decoration:none; }
.home-hero-proof a:hover { text-decoration:underline; }
.site-body .site-main .home-hero.home-structure .page-hero-panel { padding:0 !important; }
.site-body .site-main .home-hero.home-structure .home-hero-panel-intro { padding:0 0 18px; }
.site-body .site-main .home-hero.home-structure .home-hero-panel-copy { color:var(--structure-ink); font-size:1.45rem; font-weight:500; margin-top:4px; }
.site-body .site-main .home-hero.home-structure .home-hero-image-shell { padding:0; border:1px solid var(--structure-line) !important; border-radius:18px; overflow:hidden; }
.site-body .site-main .home-hero.home-structure .home-hero-image-shell img { display:block; width:100%; height:auto; border-radius:0; }
.site-body .site-main .home-hero.home-structure .home-hero-panel-foot { margin-top:16px; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.site-body .site-main .home-hero.home-structure .home-hero-panel-foot-item { padding:0; border:0; border-radius:0; }
.site-body .site-main .home-hero.home-structure .home-hero-panel-foot-item strong { font-size:.9rem; margin-bottom:6px; color:var(--structure-ink); }
.site-body .site-main .home-hero.home-structure .home-hero-panel-foot-item span { font-size:.8rem; line-height:1.5; color:#5f6368; }
.home-section-nav { border-top:1px solid var(--structure-line); border-bottom:1px solid var(--structure-line); background:#fff; }
.home-section-nav>div { max-width:1136px; margin:auto; display:flex; align-items:center; gap:32px; padding:0 4px; overflow-x:auto; scrollbar-width:thin; }
.home-section-nav a { display:inline-flex; flex:0 0 auto; align-items:center; min-height:62px; padding:0 4px; color:#434951; font-size:.9rem; text-decoration:none; border-bottom:2px solid transparent; }
.home-section-nav a:hover,.home-section-nav a:focus-visible { color:var(--structure-blue); border-bottom-color:var(--structure-blue); }
.home-structure a:focus-visible,.home-structure button:focus-visible,.home-structure summary:focus-visible { outline:3px solid #3864c8; outline-offset:4px; }
.site-body .site-main .home-social-proof { max-width:1200px; padding:32px 32px 0; }
.site-body .site-main .home-social-proof .home-logo-band { max-width:1136px !important; margin-inline:auto; border:0; border-radius:0; padding:0 0 32px; background:#fff; }
.site-body .site-main .home-social-proof .home-logo-band>div { display:grid; grid-template-columns:260px minmax(0,1fr); gap:48px; align-items:center; }
.site-body .site-main .home-social-proof .home-logo-label strong { font-size:.9rem; font-weight:500; text-transform:none; letter-spacing:0; }
.site-body .site-main .home-social-proof .home-logo-label span { font-size:.8rem; line-height:1.6; }
.site-body .site-main .home-social-proof .home-logo-mark { border:0; border-radius:0; background:transparent; }
.home-workflows { max-width:1200px; margin:auto; padding:64px 32px 80px; }
.home-section-heading { display:grid; grid-template-columns:1.15fr 1fr; align-items:end; gap:80px; margin-bottom:36px; }
.site-body .site-main .home-structure .home-eyebrow { color:var(--structure-blue); font-size:.8rem; font-weight:500; margin:0 0 14px; }
.site-body .site-main .home-structure .home-section-heading h2 { font-size:clamp(2rem,3.3vw,2.8rem) !important; font-weight:500; line-height:1.15; letter-spacing:-.025em; margin:0; }
.site-body .site-main .home-section-heading>p { color:var(--structure-copy); font-size:1rem !important; line-height:1.7; max-width:44ch; margin:0 0 2px; }
.home-workflow-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.home-workflow-card { position:relative; display:flex; flex-direction:column; padding:30px 28px 24px; border:1px solid var(--structure-line); border-radius:16px; background:#fff; }
.home-workflow-symbol { color:var(--structure-blue); font-size:.85rem; font-weight:500; margin-bottom:28px; }
.home-workflow-kicker { color:#5f6368; font-size:.75rem; line-height:1.5; margin-bottom:9px; }
.site-body .site-main .home-structure .home-workflow-card h3 { font-size:1.5rem !important; line-height:1.2; font-weight:500; margin:0 0 14px; letter-spacing:-.02em; }
.home-workflow-card h3+p { color:var(--structure-copy); font-size:.95rem; line-height:1.7; margin:0 0 26px; }
.home-workflow-card>a { margin-top:auto; display:flex; align-items:center; justify-content:space-between; min-height:44px; color:#3158ac; text-decoration:none; font-weight:500; font-size:.9rem; gap:10px; }
.home-workflow-card>a:hover { text-decoration:underline; }
.site-body .site-main .home-structure .home-terminal-strip { display:grid; grid-template-columns:1fr 1.6fr; width:100%; max-width:none; gap:10px 24px; margin:28px 0 0; padding:24px 0 0; border-top:1px solid var(--structure-line); }
.home-terminal-strip .hero-install-label { display:block; color:var(--structure-ink); font-size:.9rem; font-weight:500; margin:0 0 5px; }
.home-terminal-description { font-size:.85rem; color:#5f6368; }
.home-terminal-strip .hero-install-row { display:flex; gap:8px; min-width:0; align-items:stretch; }
.site-body .site-main .home-structure .hero-install-code { flex:1 1 0; min-width:0; display:block; overflow-x:auto; white-space:nowrap; padding:13px 16px; border:1px solid var(--structure-line) !important; border-radius:8px; background:#fff !important; color:#30343b !important; font-size:.86rem; }
.home-terminal-strip .hero-install-copy { min-width:62px; min-height:46px; border-radius:8px; font-weight:500; }
.home-cli-details { grid-column:2; font-size:.8rem; color:#5f6368; }
.home-cli-details summary { cursor:pointer; min-height:44px; display:list-item; padding:12px 0; }
.home-cli-details .hero-install-note { font-size:.85rem; line-height:1.7; }
.home-content section,.home-structure[id] { scroll-margin-top:94px !important; }
.site-body .site-main .home-content>section { max-width:1200px !important; margin-inline:auto !important; padding:80px 32px; border-top:1px solid var(--structure-line); }
.site-body .site-main .home-content :is(.home-fit-panel,.home-pricing-shell,.home-ops-shell,.home-review-panel,.home-desktop-shell,.home-entry-shell,.home-research-shell,.home-faq-shell) { border:0 !important; border-radius:0 !important; background:#fff !important; padding:0; }
.site-body .site-main .home-content .text-center { text-align:left; }
.site-body .site-main .home-content section .max-w-3xl { max-width:780px; margin-left:0; margin-right:0; }
.site-body .site-main .home-content .home-decision-grid { grid-template-columns:1fr; gap:64px; }
.site-body .site-main .home-content .quoted-question>div { display:grid; grid-template-columns:1.2fr 1fr; gap:64px; align-items:center; }
.site-body .site-main .home-content .ls-section-badge { background:none !important; border:0 !important; padding:0; border-radius:0; color:var(--structure-blue) !important; text-transform:none; font-size:.8rem; font-weight:500; letter-spacing:0; }
.site-body .site-main .home-content h2 { font-size:clamp(1.9rem,3vw,2.65rem) !important; line-height:1.2; letter-spacing:-.025em; font-weight:500 !important; max-width:27ch; }
.site-body .site-main .home-content :is(.home-ops-item,.home-ops-proof,.home-review-card,.home-entry-tile,.home-plan-card,.home-research-card,.home-faq-item,.quoted-question) { background:#fff !important; background-image:none !important; border-color:var(--structure-line) !important; box-shadow:none !important; border-radius:12px; }
.site-body .site-main .home-content .home-plan-card-featured { border:2px solid var(--structure-blue) !important; }
.site-body .site-main .home-content .home-plan-card-featured::before { display:none; }
.site-body .site-main .home-content .wedge-bar-us { background:var(--structure-blue) !important; }
.site-body .site-main .home-content .wedge-bar-them { background:#dce3ef !important; color:var(--structure-ink) !important; white-space:nowrap; }
.site-body .site-main .home-content .wedge-bar-wrap { background:#fff; border:1px solid var(--structure-line); }
.site-body .site-main .home-content .home-plan-kicker { background:none !important; padding:0; color:var(--structure-blue) !important; letter-spacing:0; text-transform:none; font-size:.8rem; }
.site-body .site-main .home-content .home-plan-card h3 { font-size:1.25rem !important; }
.site-body .site-main .home-content .home-plan-price strong { font-size:2.4rem !important; font-weight:500 !important; line-height:1.1; }
.site-body .site-main .home-content .threat-option { background:#fff; border-radius:10px; }
.site-body .site-main .home-content .home-faq-summary { padding:22px 0; }
.site-body .site-main .home-content .home-faq-item { border:0; border-bottom:1px solid var(--structure-line); border-radius:0; }
.site-body .site-main .home-content .home-faq-body { padding:0 0 24px 48px; }
@media(max-width:1000px) {
 .site-body .site-main .home-hero.home-structure .page-hero-grid { gap:32px; }
 .site-body .site-main .home-hero.home-structure .page-hero-copy h1 { font-size:3.5rem !important; }
 .home-section-heading { gap:32px; }
 .home-workflow-card { padding:24px 20px 18px; }
}
@media(max-width:1023px) {
 .home-content section,.home-structure[id] { scroll-margin-top:80px !important; }
}
@media(max-width:767px) {
 .site-body .site-main .home-hero.home-structure .page-hero-shell { padding:44px 20px 40px; }
 .site-body .site-main .home-hero.home-structure .page-hero-grid { grid-template-columns:minmax(0,1fr); gap:36px; }
 .site-body .site-main .home-hero.home-structure .page-hero-copy h1 { font-size:clamp(2.8rem,11.6vw,4rem) !important; margin:16px 0 20px; }
 .site-body .site-main .home-hero.home-structure .page-hero-copy>p { font-size:1rem !important; }
 .site-body .site-main .home-hero.home-structure .page-hero-actions { flex-wrap:wrap; }
 .site-body .site-main .home-hero.home-structure .page-hero-actions a { flex:1 1 auto; text-align:center; padding:12px 18px; }
 .site-body .site-main .home-hero.home-structure .page-hero-copy .home-hero-proof { font-size:.8rem !important; margin-top:20px; }
 .site-body .site-main .home-hero.home-structure .home-hero-panel-copy { font-size:1.2rem; }
 .site-body .site-main .home-hero.home-structure .home-hero-panel-intro { flex-direction:row; justify-content:space-between; gap:12px; align-items:center; margin:0; padding-bottom:14px; }
 .site-body .site-main .home-hero.home-structure .home-hero-panel-tag { text-transform:none; letter-spacing:0; font-size:.75rem; }
 .site-body .site-main .home-hero.home-structure .home-hero-panel-copy { margin:0; font-size:.8rem !important; }
 .site-body .site-main .home-hero.home-structure .home-hero-panel-foot { gap:12px; }
 .home-section-nav>div { padding-inline:16px; gap:24px; }
 .home-section-nav a { min-height:54px; font-size:.85rem; }
 .site-body .site-main .home-social-proof { padding:28px 20px 0; }
 .site-body .site-main .home-social-proof .home-logo-band>div { grid-template-columns:1fr; gap:24px; }
 .home-workflows { padding:44px 20px 52px; }
 .home-section-heading { grid-template-columns:1fr; gap:20px; margin-bottom:28px; }
 .home-workflow-grid { grid-template-columns:1fr; gap:14px; }
 .home-workflow-card { padding:24px; }
 .home-workflow-symbol { position:absolute; right:24px; top:23px; margin:0; }
 .home-workflow-card h3+p { margin-bottom:14px; }
 .site-body .site-main .home-structure .home-terminal-strip { grid-template-columns:1fr; gap:16px; margin-top:26px; }
 .home-cli-details { grid-column:1; }
 .home-terminal-strip .hero-install-row { flex-wrap:wrap; }
 .site-body .site-main .home-structure .hero-install-code { flex-basis:100%; padding:12px; font-size:.75rem; }
 .home-terminal-strip .hero-install-copy { min-height:44px; }
 .site-body .site-main .home-content>section { padding:52px 20px; }
 .site-body .site-main .home-content h2 { font-size:1.95rem !important; }
 .site-body .site-main .home-content .home-faq-body { padding-left:0; }
 .site-body .site-main .home-content .quoted-question>div { grid-template-columns:1fr; gap:24px; }
}
@media(prefers-reduced-motion:reduce) { .home-structure * { scroll-behavior:auto !important; transition:none !important; } }

/* Homepage code comparison */
#home-overview.jso-intro { background:#11242b !important; color:white; }
.jso-intro-inner { box-sizing:border-box; max-width:1200px; margin:auto; padding:clamp(44px,6vw,86px) 32px; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(32px,6vw,88px); align-items:center; }
.jso-intro .jso-history { margin:0 0 22px; color:#afd8cd; font:600 .83rem/1.5 ui-monospace,Consolas,monospace; }
.site-body .site-main #home-overview.jso-intro h1 { margin:0; color:#fff !important; font-size:clamp(3.5rem,5.9vw,5.5rem); font-weight:650; letter-spacing:-.055em; line-height:.99; }
.jso-intro h1 span { color:#efd878; }
.jso-intro .jso-intro-lede { max-width:42ch; margin:24px 0; color:#d1deda; font-size:1.125rem; line-height:1.65; }
.jso-entry-actions { display:flex; flex-wrap:wrap; gap:10px; }
.jso-intro .jso-entry-actions a { display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:0 20px; border-radius:7px; font-weight:650; text-decoration:none; }
.jso-intro a.jso-start { background:#fae090; color:#18282b; }
.jso-intro a.jso-start:hover { background:#fff0bd; }
.jso-intro a.jso-download { color:#f0f5f3; border:1px solid #78918e; }
.jso-intro a.jso-download:hover { background:#274046; }
.jso-intro .jso-entry-note { margin:16px 0 0; font-size:.9rem; color:#b4c7c4; }
.jso-intro .jso-entry-note a { color:#fff; text-underline-offset:3px; text-decoration:underline; }
.jso-code-preview { min-width:0; margin:0; background:#101d21; border:1px solid #435754; border-radius:14px; overflow:hidden; box-shadow:0 20px 48px #0003; }
.jso-code-preview figcaption { display:flex; gap:10px; align-items:center; padding:13px 20px; font:600 .9rem/1.5 ui-monospace,Consolas,monospace; color:#fff; border-bottom:1px solid #435754; background:#213438; }
.jso-file-icon { background:#fae090; color:#17252a; padding:2px 4px; border-radius:3px; }
.jso-caption-end { margin-inline-start:auto; color:#c1d2cf; font:400 .83rem/1.4 system-ui,sans-serif; }
.jso-code-pane { padding:19px 24px; }
.site-body .site-main .jso-code-pane h2 { color:#c0d5d1; margin:0 0 12px; font:500 .875rem/1.5 system-ui,sans-serif; }
.jso-code-pane pre { margin:0; padding:0; border:0; background:transparent; color:#f0f4f3; font:400 clamp(.83rem,1.2vw,1.05rem)/1.6 ui-monospace,Consolas,monospace; overflow:auto; }
.jso-code-pane code { color:inherit; background:transparent; font:inherit; padding:0; }
.jso-code-pane em,.jso-code-pane i,.jso-code-pane b { font:inherit; }
.jso-code-pane em { color:#c2acfa; } .jso-code-pane b { color:#91d8cd; } .jso-code-pane i { color:#f6d68c; }
.jso-output { background:#192d30; border-block:1px solid #344a49; }
.jso-intro a.jso-preview-link { display:block; padding:12px 24px; color:#f6df97; font-size:.9rem; text-underline-offset:3px; }
.jso-intro :focus-visible { outline:3px solid #f6df97; outline-offset:3px; }
.jso-intro .jso-preview-link:focus-visible { outline-offset:-4px; }
@media(max-width:820px) { .jso-intro-inner { grid-template-columns:minmax(0,1fr); padding:42px 20px; } .jso-intro .jso-intro-lede { max-width:52ch; } }
@media(max-width:420px) { .jso-intro .jso-entry-actions a { flex:1 1 auto; padding-inline:12px; } .jso-code-pane { padding:16px; } }

/* The shared production theme uses unlayered !important rules for text and pre
   elements. Layer these homepage-only exceptions so the dark surface stays legible. */
@layer homepage-contrast {
  .jso-intro h1 {
    font-size:clamp(3rem,5.9vw,5.5rem) !important;
    line-height:.99 !important;
    letter-spacing:-.055em !important;
    font-weight:650 !important;
    color:#fff !important;
  }
  .jso-intro h1 span { color:#efd878 !important; }
  .jso-intro .jso-history { color:#afd8cd !important; font:600 .83rem/1.5 ui-monospace,Consolas,monospace !important; }
  .jso-intro .jso-intro-lede { color:#d1deda !important; font-size:1.125rem !important; line-height:1.65 !important; }
  .jso-intro .jso-entry-note { color:#b4c7c4 !important; font-size:.9rem !important; }
  .jso-intro .jso-entry-note a { color:#fff !important; }
  .jso-intro a.jso-start { color:#18282b !important; }
  .jso-intro a.jso-download { color:#f0f5f3 !important; }
  .jso-code-preview figcaption { color:#fff !important; }
  .jso-code-preview .jso-caption-end,.jso-code-pane h2 { color:#c0d5d1 !important; }
  .jso-code-pane h2 { font:500 .875rem/1.5 system-ui,sans-serif !important; margin:0 0 12px !important; }
  .jso-code-pane pre,.jso-code-pane code {
    color:#f0f4f3 !important; background:transparent !important; border:0 !important;
    padding:0 !important; box-shadow:none !important; border-radius:0 !important;
    font:400 clamp(.875rem,1.2vw,1.05rem)/1.6 ui-monospace,Consolas,monospace !important;
  }
  .jso-code-pane em { color:#c2acfa !important; }
  .jso-code-pane b { color:#91d8cd !important; }
  .jso-code-pane i { color:#f6d68c !important; }
  .jso-intro .jso-preview-link { color:#f6df97 !important; }
}

/* Use the hero's content edges throughout the homepage. Shared theme utilities
   also set widths and gutters on section elements, including the FAQ. */
@layer homepage-layout {
  .home-structure {
    --home-shell:var(--site-shell-max-width);
    --home-gutter:var(--site-shell-gutter);
  }
  @media (min-width:1280px) and (max-width:1365.98px) {
    .home-structure { --home-gutter:1.5rem; }
  }
  .jso-intro-inner,
  .home-section-nav > div,
  .home-workflows,
  .home-content > section {
    box-sizing:border-box !important;
    width:100% !important;
    max-width:var(--home-shell) !important;
    margin-inline:auto !important;
    padding-inline:var(--home-gutter) !important;
  }
  #protection-options > div,
  #pricing > .home-pricing-shell {
    box-sizing:border-box !important;
    width:100% !important;
    max-width:none !important;
    padding-inline:0 !important;
    margin-inline:0 !important;
  }
  .home-section-nav a:first-child { padding-inline-start:0; }
}

@layer homepage-layout {
  .jso-intro-copy { min-width:0; }
  .jso-hero-photo { display:block; width:100% !important; height:auto !important; border-radius:14px; }
  .jso-support {
    box-sizing:border-box !important; width:100% !important; max-width:var(--home-shell) !important;
    margin-inline:auto !important; padding:32px var(--home-gutter) !important;
    display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:stretch; gap:20px 28px;
  }
  .jso-support > article { min-width:0; border-top:2px solid #aac2c5; padding:clamp(18px,2vw,32px) !important; box-sizing:border-box; }
  .jso-support > article:last-child { grid-column:1/-1; }
  .jso-support h2 { margin:0 0 12px !important; font-size:1.35rem !important; line-height:1.3 !important; }
  .jso-support dl { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px 28px; }
  .jso-support-body > p { max-width:80ch; }
  .jso-support-body { padding:0; line-height:1.6; }
  .jso-support-body p,.jso-support-body ol,.jso-support-body dl { margin:0 0 12px; }
  .jso-support-body > :last-child { margin-bottom:0; }
  .jso-support-body ol { padding-inline-start:20px; }
  .jso-support-body dt { font-weight:650; }
  .jso-support-body dd { margin:0 0 10px; }
  .jso-support-body .hero-install { margin:0; max-width:none; }
  .jso-support-body .hero-install-row { flex-wrap:wrap; }
  .jso-support-body .hero-install-code { min-width:0; color:#18282b !important; background:#eff4f6 !important; }
  @media(max-width:820px) { .jso-support { grid-template-columns:minmax(0,1fr); gap:14px; } .jso-support dl { grid-template-columns:repeat(2,minmax(0,1fr)); } }
  @media(max-width:540px) { .jso-support dl { grid-template-columns:minmax(0,1fr); } }
}

@layer homepage-layout {
  .home-pricing-grid { display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)) !important; gap:16px !important; }
  .home-plan-card { display:flex !important; flex-direction:column; min-width:0; }
  .home-plan-action { margin-top:auto !important; padding-top:20px; }
  .home-plan-limits { margin:20px 0 12px; border-block:1px solid #dce4e7; padding:6px 0; }
  .home-plan-limits div { display:flex; align-items:baseline; justify-content:space-between; gap:12px; padding:6px 0; }
  .home-plan-limits dt { font-size:.9rem; color:#4b5961; }
  .home-plan-limits dd { margin:0; font-weight:650; font-variant-numeric:tabular-nums; }
  .home-capacity-comparison { margin-top:20px; border-block:1px solid #dce4e7; }
  .home-capacity-comparison summary { padding:16px 0; cursor:pointer; font-weight:600; }
  .home-capacity-comparison > div { margin:0 0 20px !important; }
  @media(max-width:1099px) { .home-pricing-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; } }
  @media(max-width:620px) { .home-pricing-grid { grid-template-columns:minmax(0,1fr) !important; } }
  @media(min-width:980px) {
    .home-faq-shell { display:grid; grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr); align-items:start; gap:clamp(32px,6vw,96px); }
    .home-faq-shell .home-faq-list { margin:0 !important; width:100% !important; max-width:none !important; }
  }
}

@layer homepage-layout {
  #home-overview.home-hero { background:#f7f9fc !important; color:#1f2937 !important; }
  #home-overview.home-hero::before, #home-overview.home-hero::after { content:none !important; }
  #home-overview .page-hero-shell { background:transparent !important; }
  #home-overview .page-hero-panel { background:#f7f9fc !important; }
  #home-overview h1 .heading-keyword { color:#0b57d0 !important; -webkit-text-fill-color:#0b57d0 !important; }
}
