/* Main-site landing page. The shared site styles own the public header and footer. */
.home-story {
  --story-line: #303030;
  --story-text: #f5f5f5;
  --story-secondary: #d2d2d2;
  --story-muted: #aaa;
  position: relative;
  color: var(--story-text);
}
.home-story .story-section { margin: 0; padding: clamp(56px, 7vw, 96px) 0; }
.home-story .story-section + .story-section { border-top: 1px solid var(--story-line); }
.home-story #product { background-color: #000; }
.home-story [id] { scroll-margin-top: 139px; }
.home-story .story-intro-grid,
.home-story .story-evidence-grid,
.home-story .story-fleet-grid { display: grid; gap: clamp(32px, 5.5vw, 88px); align-items: center; }
.home-story .story-intro-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  grid-template-areas: "intro signals" "demo signals";
  row-gap: 20px;
}
.home-story .story-intro-content { grid-area: intro; }
.home-story .story-console { grid-area: signals; }
.home-story .story-demo { grid-area: demo; }
.home-story .story-evidence-grid { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
.home-story .story-fleet-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.home-story :is(.story-intro-grid,.story-evidence-grid,.story-fleet-grid) > * { min-width: 0; }
.home-story :is(h1,h2,h3,p,figure,dl,dt,dd,ol,table) { margin: 0; }
.home-story :is(.story-category,.story-scope) {
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
  color: var(--story-secondary); font-size: .9rem; font-weight: 650; line-height: 1.35;
}
.home-story :is(.story-category,.story-scope)::before { content: ''; width: 28px; height: 2px; background: #2878ff; flex: none; }
.home-story .story-headline,
.home-story .story-title { color: var(--story-text); text-wrap: balance; font-weight: 700; letter-spacing: -.043em; }
.home-story .story-headline { font-size: clamp(3.25rem, 5.45vw, 5.55rem); line-height: 1.01; }
.home-story .story-headline span { display: block; }
.home-story .story-title { font-size: clamp(2.5rem, 3.8vw, 4.2rem); line-height: 1.05; max-width: 17ch; }
.home-story :is(.story-lede,.story-body) { color: var(--story-secondary); font-size: clamp(1.05rem, 1.27vw, 1.24rem); line-height: 1.55; font-weight: 500; letter-spacing: -.012em; }
.home-story .story-lede { max-width: 48ch; margin-top: 22px; }
.home-story .story-body { max-width: 40ch; margin-top: 20px; }
.home-story :is(.story-actions,.story-final-actions) { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
.home-story .story-actions { margin: 0; }
.home-story .story-primary,
.home-story .story-link { display: inline-flex; align-items: center; justify-content: center; gap: .55em; font-size: 1rem; font-weight: 650; line-height: 1.25; text-decoration: none; min-height: 44px; }
.home-story .story-primary { padding: 11px 17px; border: 1px solid #2878ff; border-radius: 5px; background: #1767e9; color: white; }
.home-story .story-primary:hover { background: #1b58bf; }
.home-story .story-link { color: var(--story-text); }
.home-story .story-link:hover { color: #a8c6ff; }
.home-story a:focus-visible { outline: 2px solid #88b3ff; outline-offset: 4px; }
.home-story .story-note { margin-top: 9px; max-width: 52ch; color: var(--story-muted); font-size: .88rem; line-height: 1.5; }
.home-story .story-motion-wrap { display: flex; justify-content: flex-end; }
.home-story .story-motion-wrap .hero-motion-toggle:not([hidden]) {
  position: static; margin: 6px 0 0; min-height: 44px; height: 44px; align-self: flex-start;
  border: 0; background: transparent; color: var(--story-muted); font-size: .8rem;
}
.home-story .story-motion-wrap .hero-motion-toggle[hidden] { display: none; }
.home-story :is(.story-console,.story-policy) { border: 1px solid var(--story-line); border-radius: 10px; background: #000; overflow: hidden; }
.home-story .story-console-head,
.home-story .story-capture figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 19px 24px; }
.home-story .story-console-head { border-bottom: 1px solid var(--story-line); }
.home-story figcaption strong { font-size: 1.1rem; font-weight: 650; letter-spacing: -.015em; }
.home-story .story-ex-label,
.home-story .story-capture figcaption span { color: var(--story-muted); font-size: .82rem; font-weight: 500; }
.home-story .story-signals { padding: 0 24px; }
.home-story .story-signals > div { display: grid; grid-template-columns: minmax(92px,.8fr) minmax(0,1.6fr); align-items: baseline; gap: 8px; padding: 18px 0; }
.home-story .story-signals > div + div { border-top: 1px solid #262626; }
.home-story .story-signals dt { font-size: .95rem; color: var(--story-secondary); }
.home-story .story-signals dd { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.home-story code,.home-story .story-policy-revision span { font: 500 .92rem/1.45 ui-monospace, Consolas, monospace; color: var(--story-text); }
.home-story .story-state { display: inline-flex; align-items: baseline; gap: .48em; color: #ced3da; font-size: .87rem; font-weight: 600; line-height: 1.4; }
.home-story .story-state i { display: inline-block; width: .48em; height: .48em; border-radius: 50%; background: currentColor; align-self: center; flex: none; }
.home-story .state-ok { color: #94d9b3; }
.home-story .state-error { color: #ffa59d; }
.home-story .state-wait { color: #f0c384; }
.home-story .story-console-foot { color: var(--story-secondary); font-size: .94rem; line-height: 1.5; padding: 14px 24px; border-top: 1px solid var(--story-line); }
.home-story .story-steps { padding: 0; list-style: none; margin-top: 25px; }
.home-story .story-steps li { position: relative; padding: 0 0 18px 21px; border-left: 1px solid #424242; margin-left: 4px; }
.home-story .story-steps li::before { content: ''; position: absolute; top: .5em; left: -4px; width: 7px; height: 7px; border-radius: 50%; background: #82adf9; }
.home-story .story-steps li:last-child { padding-bottom: 0; border-color: transparent; }
.home-story .story-steps strong,.home-story .story-boundary dt { font-size: 1.02rem; font-weight: 650; }
.home-story .story-steps p,.home-story .story-boundary dd,.home-story .story-pricing p { color: var(--story-secondary); font-size: 1rem; line-height: 1.5; }
.home-story .story-steps p { max-width: 44ch; margin-top: 3px; }
.home-story .story-capture { padding: 14px 18px 4px; background: #000; border-radius: 10px; border: 1px solid var(--story-line); }
.home-story .story-capture figcaption { padding: 0 0 12px; }
.home-story .story-capture picture,.home-story .story-shot { display: block; width: 100%; }
.home-story .story-shot { height: auto; border-radius: 6px; }
.home-story .story-capture .story-link { margin-top: 2px; color: #a9c8ff; font-size: .94rem; }
.home-story .story-policy-revision { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 24px; font-size: .93rem; color: var(--story-secondary); }
.home-story .story-policy-table { border-collapse: collapse; width: calc(100% - 48px); margin-inline: 24px; margin-bottom: 12px; text-align: left; }
.home-story .story-policy-table :is(td,th) { padding: 12px 6px; font-size: .96rem; line-height: 1.4; border: 0; border-top: 1px solid #262626; }
.home-story .story-policy-table thead th { color: var(--story-muted); font-size: .8rem; font-weight: 550; }
.home-story .story-policy-table tbody th { color: var(--story-text); font-weight: 600; }
.home-story .story-policy-table :is(th,td):first-child { padding-left: 0; }
.home-story .story-policy-table :is(th,td):last-child { padding-right: 0; text-align: right; }
.home-story .story-ownership,.home-story .story-pricing { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 40px; }
.home-story .story-boundary,.home-story .story-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.home-story .story-boundary dt { margin-bottom: 6px; }
.home-story .story-boundary { column-gap: 48px; }
.home-story .story-boundary > div { position: relative; padding-left: 15px; border-left: 2px solid #555; }
.home-story .story-boundary > div:first-child::after {
  content: '⇄'; position: absolute; left: calc(100% + 12px); top: 0;
  color: #9db9e9; font: 1.2rem/1.4 ui-monospace, Consolas, monospace;
}
.home-story .story-boundary > div:last-child { border-color: #2878ff; }
.home-story .story-pricing { padding-top: 30px; margin-top: 34px; border-top: 1px solid var(--story-line); }
.home-story .story-pricing h3 { font-size: clamp(1.45rem,2vw,2rem); line-height: 1.2; font-weight: 650; letter-spacing: -.035em; }
.home-story .story-pricing p { margin-top: 8px; max-width: 35ch; }
.home-story .story-plans dt { font-weight: 640; }
.home-story .story-plans dd { font-size: .88rem; color: var(--story-secondary); line-height: 1.5; }
.home-story .story-plans dd strong { font-size: 1.65rem; font-weight: 650; letter-spacing: -.04em; color: white; }
.home-story .story-final-actions { margin-top: 28px; }
.home-story .story-final-actions .story-note { flex-basis: 100%; margin-top: 0; max-width: none; }
@media (max-width: 840px) {
  .home-story .story-intro-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .home-story .story-headline { font-size: clamp(2.1rem,4.8vw,2.45rem); }
  .home-story .story-evidence-grid,.home-story .story-fleet-grid { grid-template-columns: 1fr; gap: 26px; }
  .home-story .story-ownership,.home-story .story-pricing { grid-template-columns: 1fr; gap: 18px; }
  .home-story .story-title { max-width: 22ch; }
  .home-story .story-body,.home-story .story-steps p { max-width: 60ch; }
}
@media (max-width: 680px) {
  .home-story .story-section { padding: 42px 0; }
  .home-story .story-intro-grid { grid-template-columns: 1fr; grid-template-areas: "intro" "signals" "demo"; gap: 20px; }
  .home-story .story-headline { font-size: clamp(1.95rem,9.8vw,3.55rem); }
  .home-story .story-title { font-size: clamp(2.05rem,7.2vw,3rem); }
  .home-story :is(.story-category,.story-scope) { margin-bottom: 11px; font-size: .83rem; }
  .home-story .story-lede,.home-story .story-body { margin-top: 13px; font-size: 1.04rem; }
  .home-story .story-actions,.home-story .story-final-actions { gap: 4px 15px; }
  .home-story .story-primary,.home-story .story-link { font-size: .94rem; }
  .home-story .story-note { font-size: .8rem; margin-top: 5px; }
  .home-story .story-console-head { padding: 12px 15px; }
  .home-story .story-signals { padding: 0 15px; }
  .home-story .story-signals > div { padding: 10px 0; }
  .home-story .story-console-foot { padding: 11px 15px; }
  .home-story .story-steps { margin-top: 18px; }
  .home-story .story-steps li { padding-bottom: 13px; }
  .home-story .story-capture { padding: 12px 12px 2px; }
  .home-story .story-capture figcaption { flex-wrap: wrap; gap: 2px 10px; padding-bottom: 9px; }
  .home-story .story-policy-revision { padding: 10px 15px; }
  .home-story .story-policy-table { width: calc(100% - 30px); margin: 0 15px 6px; }
  .home-story .story-policy-table :is(th,td) { padding-block: 10px; font-size: .88rem; }
  .home-story .story-policy-table .story-state,.home-story .story-policy-table code { font-size: .78rem; }
  .home-story .story-boundary { grid-template-columns: 1fr; gap: 12px; }
  .home-story .story-boundary > div:first-child::after { content: none; }
  .home-story .story-plans { gap: 12px; }
}
