.home-with-hero { overflow-x: clip; }
.home-with-hero::before { display: block !important; }
.hero { padding: 46px 0 48px; gap: 40px; isolation: isolate; }
.hero-art { inset: -46px -12% auto; width: 124%; height: 112%; object-fit: cover; opacity: .48; }
[data-theme="light"] .hero-art { opacity: .24; }
.hero h1 { font-size: 46px; line-height: 1.32; margin-top: 20px; }
.hero .lead { font-size: 15px; line-height: 1.95; margin-top: 18px; }
.hero-cta { margin-top: 24px; gap: 10px; }
.hero-cta .btn { padding: 12px 18px; font-size: 14px; }
.hero-meta { margin-top: 24px; gap: 12px 18px; }
.hero-meta span { border: 0; border-radius: 0; padding: 0; font-size: 12px; }
.hero-demo { min-width: 0; }
.hero-demo-toolbar { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.hero-demo-tabs { display: flex; gap: 3px; padding: 3px; border: 1px solid var(--hairline-strong); background: var(--ink-1); border-radius: 7px; }
.hero-demo-tabs button { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 6px 12px; border: 0; border-radius: 4px; background: transparent; color: var(--muted); font: 600 12px var(--font-body); cursor: pointer; }
.hero-demo-tabs button[aria-selected="true"] { color: var(--paper); background: var(--ink-3); }
.hero-demo-tabs img { width: 19px; height: 19px; object-fit: contain; }
.hero-demo-pause { width: 34px; height: 34px; flex: 0 0 34px; margin-left: auto; display: grid; place-items: center; border: 1px solid var(--hairline-strong); border-radius: 5px; background: var(--ink-1); color: var(--paper); cursor: pointer; }
.hero-demo button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.hd-window { height: 366px; box-shadow: 0 20px 48px #18253626; }
.hd-menu { left: auto; right: 12px; top: 27%; width: 220px; }
.hd-menu > div.hot img { width: 18px; height: 18px; object-fit: contain; flex-shrink: 0; }
.hd-term { top: 25%; bottom: 5%; border-radius: 6px; }
.hd-term-body { white-space: normal; font-size: 12px; padding: 15px; line-height: 1.7; }
.demo-terminal-header { display: flex; flex-wrap: wrap; gap: 4px 16px; padding-bottom: 12px; border-bottom: 1px solid #444; }
.demo-terminal-header b { color: #f3f4f6; font-weight: 600; }
.demo-terminal-header > span { color: #9ca6b4; font-size: 11px; }
.demo-prompt { min-height: 54px; padding: 12px 0; color: #f5f5f5; }
.hd-line { margin-top: 5px; }
.hd-hint { font-size: 13px; min-height: 22px; margin-top: 14px; }
.home-with-hero #products { position: relative; border-top: 1px solid var(--hairline-strong); }
.home-with-hero .catalog-heading { padding-top: 28px; }
@media(min-width: 1500px) { .hero { padding-top: 58px; padding-bottom: 60px; } }
@media(max-width: 1000px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 24px; }
  .hero-art { inset: 0; width: 100%; height: 100%; }
  .hero h1 { font-size: 36px; }
  .hero-demo-tabs button { padding: 6px 7px; font-size: 11px; gap: 4px; }
  .hd-side { width: 88px; padding-left: 8px; }
  .hd-addr .srch { display: none; }
  .hero-cta .btn { padding: 11px 12px; }
}
@media(max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 18px; padding: 24px 0 22px; }
  .hero-art { inset: 0; width: 100%; height: 100%; }
  .hero h1 { font-size: 32px; margin-top: 12px; }
  .hero h1 br { display: none; }
  .hero .lead { font-size: 13px; line-height: 1.8; margin-top: 12px; max-width: none; }
  .hero-cta { margin-top: 16px; }
  .hero-meta { margin-top: 14px; gap: 8px 14px; }
  .hero-meta span { font-size: 11px; }
  .hero-meta span:nth-child(2) { display: none; }
  .hero-demo-tabs button { padding: 4px 9px; min-height: 32px; }
  .hd-window { height: 254px; }
  .hd-window .hd-side { width: 78px; font-size: 10px; }
  .hd-file { width: 66px; font-size: 10px; }
  .hd-file svg { width: 34px; height: 34px; }
  .hd-term { top: 19%; left: 3%; right: 3%; bottom: 3%; }
  .hd-term-body { font-size: 10.5px; line-height: 1.5; padding: 10px 12px; }
  .demo-terminal-header { padding-bottom: 8px; }
  .demo-terminal-header > span { font-size: 10px; }
  .demo-prompt { min-height: 44px; padding: 9px 0; }
  .hd-menu { top: 13%; width: 208px; }
  .hd-menu > div { padding-top: 3px; padding-bottom: 3px; font-size: 11px; }
  .hd-hint { margin-top: 10px; font-size: 12px; }
}
@media(max-width: 380px) {
  .hero-demo-tabs { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-demo-tabs button { flex-direction: column; gap: 3px; min-width: 0; min-height: 56px; padding: 4px 2px; line-height: 1.2; }
  .hero-demo-tabs img { width: 16px; height: 16px; }
  .hero { padding-top: 16px; gap: 14px; }
  .hero h1 { font-size: 28px; }
  .hero .lead { line-height: 1.65; margin-top: 10px; }
  .hero-cta { margin-top: 12px; }
  .hero-meta { margin-top: 10px; }
  .hd-window { height: 238px; }
  .demo-prompt { min-height: 40px; }
}
@media(max-width: 760px) and (max-height: 740px) {
  .hero .lead, .hero-meta { display: none; }
}
@media(prefers-reduced-motion: reduce) {
  .hero * { animation: none !important; transition: none !important; }
}
