/* Home-only targeted fix. Loaded after app.css and scoped to .home-v2. */
.home-v2 .home-json-tabs{padding:0 16px;gap:24px}
.home-v2 .home-json-tab{appearance:none;border:0;border-bottom:2px solid transparent;background:transparent;color:#8792a5;height:48px;padding:0 2px;font:inherit;font-size:11px;font-weight:700;cursor:pointer}
.home-v2 .home-json-tab.is-active{color:#c7aaff;border-bottom-color:#8c56ef}
.home-v2 .home-json-tab:focus-visible{outline:2px solid #8c56ef;outline-offset:-3px}
.home-v2 .hero-code pre .code-comment{color:#718096}.home-v2 .hero-code pre .code-keyword{color:#63c7ff}.home-v2 .hero-code pre .code-string{color:#d08aff}

.home-v2 .home-terminal-card{max-width:900px;margin:0 auto!important;border:1px solid #273243!important;border-radius:18px!important;overflow:hidden!important;background:linear-gradient(180deg,#0d141f,#091019)!important;box-shadow:0 24px 60px rgba(0,0,0,.22)!important}
.home-v2 .home-terminal-bar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:48px!important;padding:0 18px!important;border-bottom:1px solid #202b39!important;background:#0b121c!important;font-family:'JetBrains Mono',monospace!important;font-size:11px!important;line-height:1!important}
.home-v2 .home-terminal-user,.home-v2 .home-terminal-meta{display:flex!important;align-items:center!important;gap:7px!important;min-width:0!important}
.home-v2 .home-terminal-user strong{color:#72e59e!important;font-size:11px!important}.home-v2 .home-terminal-user>span:last-child{color:#7f8b9c!important}
.home-v2 .terminal-status-dot{width:7px!important;height:7px!important;flex:0 0 7px!important;border-radius:50%!important;background:#38d996!important;box-shadow:0 0 0 4px rgba(56,217,150,.08)!important}
.home-v2 .home-terminal-meta time{color:#7f8b9c!important;white-space:nowrap!important;font-size:10px!important}
.home-v2 .terminal-dots{display:flex!important;gap:5px!important}.home-v2 .terminal-dots i{display:block!important;width:7px!important;height:7px!important;border-radius:50%!important;background:#ff5f57!important}.home-v2 .terminal-dots i:nth-child(2){background:#febc2e!important}.home-v2 .terminal-dots i:nth-child(3){background:#28c840!important}
.home-v2 .home-terminal-command{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;padding:14px 18px!important;border-bottom:1px solid #202b39!important;background:#0a111a!important}
.home-v2 .home-terminal-command code{display:block!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#cdd6e2!important;font-family:'JetBrains Mono',monospace!important;font-size:11px!important;line-height:1.4!important}
.home-v2 .terminal-prompt{color:#6fe29b!important;margin-right:6px!important}.home-v2 .terminal-path{color:#d1b8ff!important}
.home-v2 .terminal-run{flex:0 0 auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;width:auto!important;min-width:82px!important;min-height:34px!important;padding:8px 13px!important;margin:0!important;border:1px solid rgba(148,91,241,.45)!important;border-radius:9px!important;background:rgba(126,69,228,.16)!important;color:#d9c7ff!important;font-size:11px!important;font-weight:800!important;line-height:1!important;box-shadow:none!important}
.home-v2 .terminal-run:hover{background:rgba(126,69,228,.25)!important}.home-v2 .terminal-run:disabled{opacity:.6!important;cursor:wait!important}
.home-v2 .home-terminal-output-wrap{padding:0!important;background:linear-gradient(180deg,#09111a,#080e16)!important}
.home-v2 .home-terminal-state{display:flex!important;align-items:center!important;gap:7px!important;height:38px!important;padding:0 18px!important;border-bottom:1px solid rgba(32,43,57,.8)!important;color:#7f8b9c!important;font-family:'JetBrains Mono',monospace!important;font-size:10px!important}
.home-v2 .terminal-ready-dot{width:6px!important;height:6px!important;border-radius:50%!important;background:#38d996!important}
.home-v2 .home-terminal-output-wrap pre{display:block!important;box-sizing:border-box!important;width:100%!important;min-height:210px!important;max-height:330px!important;margin:0!important;padding:20px 18px!important;border:0!important;background:transparent!important;color:#94a0b1!important;font-family:'JetBrains Mono',monospace!important;font-size:11px!important;line-height:1.75!important;white-space:pre-wrap!important;overflow:auto!important}
.home-v2 .home-terminal-output-wrap pre.is-success{color:#c4ceda!important}.home-v2 .home-terminal-output-wrap pre.is-error{color:#ff9a9a!important}

.home-v2 .home-footer-pro{position:relative!important;isolation:isolate!important;overflow:hidden!important;padding:72px 0 42px!important;border-top:1px solid rgba(255,255,255,.06)!important;background:linear-gradient(180deg,#070b11 0%,#080d15 58%,#070b11 100%)!important}
.home-v2 .home-footer-pro::before{content:""!important;position:absolute!important;z-index:-1!important;inset:0!important;pointer-events:none!important;background:radial-gradient(circle at 50% 0%,rgba(118,64,220,.12),transparent 34%),radial-gradient(circle at 82% 70%,rgba(49,103,255,.055),transparent 28%)!important}
.home-v2 .home-footer-pro .home-brand-inner{position:relative!important;overflow:visible!important}
.home-v2 .home-footer-pro .home-brand-inner::before{display:none!important}
.home-v2 .home-footer-pro .home-footer-logo{display:flex!important;justify-content:center!important;align-items:center!important;width:auto!important;min-height:62px!important;margin:0 auto 20px!important;background:transparent!important}
.home-v2 .home-footer-pro .home-footer-logo img{display:block!important;width:auto!important;max-width:190px!important;max-height:68px!important;object-fit:contain!important;background:transparent!important;box-shadow:none!important;border-radius:0!important}
.home-v2 .home-footer-pro .home-brand-inner>p{max-width:650px!important;margin:0 auto!important;color:#8d98aa!important;font-size:14px!important;line-height:1.8!important}
.home-v2 .home-footer-pro .home-sitemap{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important;width:min(820px,100%)!important;margin:30px auto 0!important;padding:16px!important;border:1px solid #202b39!important;border-radius:16px!important;background:rgba(10,16,25,.66)!important}
.home-v2 .home-footer-pro .home-sitemap a{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:3px!important;min-width:0!important;min-height:54px!important;padding:10px 12px!important;border-radius:11px!important;color:#d3d8e4!important;text-decoration:none!important;transition:background .18s ease,border-color .18s ease!important}
.home-v2 .home-footer-pro .home-sitemap a:hover{background:#101824!important;text-shadow:none!important}.home-v2 .home-footer-pro .home-sitemap a span{font-size:12px!important;font-weight:750!important;white-space:nowrap!important}.home-v2 .home-footer-pro .home-sitemap a small{color:#69778b!important;font-size:9px!important;white-space:nowrap!important}
.home-v2 .home-footer-pro .home-social-links{margin:24px 0 28px!important}
.home-v2 .home-footer-pro .home-copyright{padding-top:24px!important;border-top:1px solid #1d2633!important}

@media(max-width:560px){
  .home-v2 .home-json-tabs{padding:0 14px!important;gap:22px!important}.home-v2 .home-json-tab{height:46px!important;font-size:11px!important}
  .home-v2 .home-terminal-card{border-radius:16px!important}
  .home-v2 .home-terminal-bar{min-height:46px!important;padding:0 14px!important}.home-v2 .terminal-dots{display:none!important}.home-v2 .home-terminal-user strong{font-size:10.5px!important}.home-v2 .home-terminal-meta time{font-size:9.5px!important}
  .home-v2 .home-terminal-command{padding:12px 14px!important;gap:10px!important}.home-v2 .home-terminal-command code{font-size:9.5px!important}.home-v2 .terminal-run{min-width:70px!important;min-height:32px!important;padding:7px 10px!important;font-size:10px!important}
  .home-v2 .home-terminal-state{height:34px!important;padding:0 14px!important;font-size:9px!important}.home-v2 .home-terminal-output-wrap pre{min-height:190px!important;max-height:280px!important;padding:16px 14px!important;font-size:9.5px!important;line-height:1.7!important}
  .home-v2 .home-footer-pro{padding:58px 0 34px!important}.home-v2 .home-footer-pro .home-footer-logo{min-height:52px!important;margin-bottom:16px!important}.home-v2 .home-footer-pro .home-footer-logo img{max-width:160px!important;max-height:58px!important}.home-v2 .home-footer-pro .home-brand-inner>p{font-size:13px!important;line-height:1.75!important}
  .home-v2 .home-footer-pro .home-sitemap{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin-top:24px!important;padding:10px!important;border-radius:14px!important}.home-v2 .home-footer-pro .home-sitemap a{min-height:50px!important;padding:9px 10px!important;border:1px solid rgba(117,132,154,.09)!important;background:rgba(11,18,28,.55)!important}.home-v2 .home-footer-pro .home-sitemap a:last-child{grid-column:1/-1!important;align-items:center!important}.home-v2 .home-footer-pro .home-sitemap a span{font-size:11px!important}.home-v2 .home-footer-pro .home-sitemap a small{font-size:8.5px!important}
}

/* Desktop refinement only — mobile rules above remain untouched. */
@media (min-width:901px){
  .home-v2 .home-terminal-card{
    width:min(1120px,100%)!important;
    max-width:1120px!important;
    border-radius:20px!important;
  }
  .home-v2 .home-terminal-bar{
    min-height:58px!important;
    padding:0 22px!important;
    font-size:13px!important;
  }
  .home-v2 .home-terminal-user strong{font-size:13px!important}
  .home-v2 .home-terminal-meta time{font-size:11px!important}
  .home-v2 .terminal-dots{gap:7px!important}
  .home-v2 .terminal-dots i{width:9px!important;height:9px!important}
  .home-v2 .home-terminal-command{
    padding:18px 22px!important;
    gap:20px!important;
  }
  .home-v2 .home-terminal-command code{
    font-size:13px!important;
    line-height:1.5!important;
  }
  .home-v2 .terminal-run{
    min-width:94px!important;
    min-height:38px!important;
    padding:9px 16px!important;
    font-size:12px!important;
    border-radius:10px!important;
  }
  .home-v2 .home-terminal-state{
    height:44px!important;
    padding:0 22px!important;
    font-size:11px!important;
  }
  .home-v2 .home-terminal-output-wrap pre{
    min-height:260px!important;
    max-height:390px!important;
    padding:24px 22px!important;
    font-size:13px!important;
    line-height:1.8!important;
  }

  .home-v2 .home-footer-pro{
    padding:88px 0 48px!important;
  }
  .home-v2 .home-footer-pro .home-brand-inner{
    width:min(1180px,calc(100% - 48px))!important;
    max-width:1180px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  .home-v2 .home-footer-pro .home-footer-logo{
    min-height:78px!important;
    margin-bottom:24px!important;
  }
  .home-v2 .home-footer-pro .home-footer-logo img{
    max-width:250px!important;
    max-height:82px!important;
  }
  .home-v2 .home-footer-pro .home-brand-inner>p{
    max-width:760px!important;
    font-size:15px!important;
    line-height:1.85!important;
  }
  .home-v2 .home-footer-pro .home-sitemap{
    width:min(1060px,100%)!important;
    gap:12px!important;
    margin-top:34px!important;
    padding:14px!important;
    border-radius:18px!important;
  }
  .home-v2 .home-footer-pro .home-sitemap a{
    min-height:66px!important;
    padding:12px 14px!important;
  }
  .home-v2 .home-footer-pro .home-sitemap a span{font-size:13px!important}
  .home-v2 .home-footer-pro .home-sitemap a small{font-size:10px!important}
  .home-v2 .home-footer-pro .home-social-links{margin:28px 0 30px!important}
  .home-v2 .home-footer-pro .home-copyright{padding-top:26px!important}
}

/* ===== Footer desktop correction V2 =====
   Only affects desktop. Mobile styles above remain unchanged. */
@media (min-width:901px){
  .home-v2 .home-footer-pro{
    padding:64px 0 28px!important;
    min-height:0!important;
  }
  .home-v2 .home-footer-pro .home-brand-inner{
    box-sizing:border-box!important;
    width:calc(100% - 64px)!important;
    max-width:1320px!important;
    margin:0 auto!important;
  }
  .home-v2 .home-footer-pro .home-footer-logo{
    width:auto!important;
    min-height:0!important;
    height:auto!important;
    margin:0 auto 18px!important;
  }
  .home-v2 .home-footer-pro .home-footer-logo img{
    width:auto!important;
    max-width:280px!important;
    max-height:92px!important;
  }
  .home-v2 .home-footer-pro .home-brand-inner>p{
    max-width:820px!important;
    margin:0 auto!important;
    font-size:16px!important;
    line-height:1.75!important;
  }
  .home-v2 .home-footer-pro .home-sitemap{
    width:100%!important;
    max-width:none!important;
    margin:32px 0 0!important;
    padding:16px!important;
    gap:12px!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
  }
  .home-v2 .home-footer-pro .home-sitemap a{
    min-height:76px!important;
    padding:14px 16px!important;
    border:1px solid rgba(124,139,164,.10)!important;
    background:rgba(12,19,29,.48)!important;
  }
  .home-v2 .home-footer-pro .home-sitemap a span{
    font-size:15px!important;
  }
  .home-v2 .home-footer-pro .home-sitemap a small{
    font-size:11px!important;
  }
  .home-v2 .home-footer-pro .home-social-links{
    margin:24px 0 26px!important;
    gap:12px!important;
  }
  .home-v2 .home-footer-pro .home-social-links .home-social-btn{
    min-height:42px!important;
    padding:10px 16px!important;
    font-size:13px!important;
  }
  .home-v2 .home-footer-pro .home-copyright{
    padding-top:22px!important;
    font-size:13px!important;
  }
  .home-v2 .home-footer-pro .home-made{
    margin-top:9px!important;
    font-size:14px!important;
  }
}

/* Wide desktop: use a true professional two-column footer instead of a centered mini footer. */
@media (min-width:1180px){
  .home-v2 .home-footer-pro{
    padding:72px 0 30px!important;
  }
  .home-v2 .home-footer-pro .home-brand-inner{
    display:grid!important;
    grid-template-columns:minmax(320px,.8fr) minmax(620px,1.35fr)!important;
    grid-template-areas:
      "logo sitemap"
      "desc sitemap"
      "social sitemap"
      "copyright made"!important;
    column-gap:72px!important;
    row-gap:0!important;
    align-items:start!important;
    text-align:left!important;
  }
  .home-v2 .home-footer-pro .home-footer-logo{
    grid-area:logo!important;
    justify-content:flex-start!important;
    margin:0 0 16px!important;
  }
  .home-v2 .home-footer-pro .home-footer-logo img{
    max-width:300px!important;
    max-height:96px!important;
  }
  .home-v2 .home-footer-pro .home-brand-inner>p{
    grid-area:desc!important;
    max-width:520px!important;
    margin:0!important;
    font-size:16px!important;
    line-height:1.8!important;
    text-align:left!important;
  }
  .home-v2 .home-footer-pro .home-sitemap{
    grid-area:sitemap!important;
    align-self:center!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    width:100%!important;
    margin:0!important;
    padding:14px!important;
  }
  .home-v2 .home-footer-pro .home-sitemap a{
    min-height:82px!important;
    padding:14px 16px!important;
  }
  .home-v2 .home-footer-pro .home-social-links{
    grid-area:social!important;
    justify-content:flex-start!important;
    margin:24px 0 30px!important;
  }
  .home-v2 .home-footer-pro .home-copyright{
    grid-area:copyright!important;
    margin-top:10px!important;
    padding-top:22px!important;
    border-top:1px solid #1d2633!important;
    text-align:left!important;
  }
  .home-v2 .home-footer-pro .home-made{
    grid-area:made!important;
    align-self:start!important;
    margin:10px 0 0!important;
    padding-top:22px!important;
    border-top:1px solid #1d2633!important;
    text-align:right!important;
  }
}

/* =========================================================
   ALL DEVICES RESPONSIVE NORMALIZATION
   Keeps the existing design; fixes sizing/overflow across
   phones, tablets, laptops, desktop and ultrawide screens.
   ========================================================= */
.home-v2,
.home-v2 *{box-sizing:border-box}
.home-v2{width:100%;max-width:100%;overflow-x:clip}
.home-v2 img,.home-v2 svg{max-width:100%}
.home-v2 .home-terminal-card{width:min(100%,1120px)!important;max-width:1120px!important}
.home-v2 .home-terminal-command code{max-width:100%!important}
.home-v2 .home-footer-pro .home-brand-inner{box-sizing:border-box!important}
.home-v2 .home-footer-pro .home-sitemap{box-sizing:border-box!important}
.home-v2 .home-footer-pro .home-sitemap a{min-width:0!important}
.home-v2 .home-footer-pro .home-sitemap a span,
.home-v2 .home-footer-pro .home-sitemap a small{white-space:normal!important;overflow-wrap:anywhere!important}

/* Small phones: 320–379px */
@media (max-width:379px){
  .home-v2 .home-json-tabs{gap:16px!important;padding-inline:12px!important}
  .home-v2 .home-json-tab{font-size:10px!important}
  .home-v2 .home-terminal-card{border-radius:14px!important}
  .home-v2 .home-terminal-bar{padding-inline:11px!important;gap:8px!important}
  .home-v2 .home-terminal-user strong{font-size:9.5px!important}
  .home-v2 .home-terminal-meta time{font-size:8.5px!important}
  .home-v2 .home-terminal-command{padding:11px!important;gap:8px!important;align-items:flex-start!important}
  .home-v2 .home-terminal-command code{font-size:8.8px!important;white-space:normal!important;overflow-wrap:anywhere!important;text-overflow:clip!important}
  .home-v2 .terminal-run{min-width:62px!important;min-height:30px!important;padding:7px 9px!important;font-size:9px!important}
  .home-v2 .home-terminal-state{padding-inline:11px!important;font-size:8.5px!important}
  .home-v2 .home-terminal-output-wrap pre{min-height:170px!important;padding:14px 11px!important;font-size:8.8px!important;line-height:1.65!important}
  .home-v2 .home-footer-pro{padding:48px 0 28px!important}
  .home-v2 .home-footer-pro .home-brand-inner{width:calc(100% - 24px)!important;margin-inline:auto!important}
  .home-v2 .home-footer-pro .home-footer-logo img{max-width:145px!important}
  .home-v2 .home-footer-pro .home-brand-inner>p{font-size:12px!important;line-height:1.7!important}
  .home-v2 .home-footer-pro .home-sitemap{grid-template-columns:1fr!important;padding:8px!important;gap:7px!important}
  .home-v2 .home-footer-pro .home-sitemap a,.home-v2 .home-footer-pro .home-sitemap a:last-child{grid-column:auto!important;align-items:flex-start!important;min-height:48px!important}
  .home-v2 .home-footer-pro .home-social-links{display:grid!important;grid-template-columns:1fr!important;width:100%!important;gap:8px!important}
  .home-v2 .home-footer-pro .home-social-links .home-social-btn{width:100%!important;justify-content:center!important}
}

/* Standard phones: 380–599px */
@media (min-width:380px) and (max-width:599px){
  .home-v2 .home-terminal-command code{white-space:normal!important;overflow-wrap:anywhere!important;text-overflow:clip!important}
  .home-v2 .home-footer-pro .home-brand-inner{width:calc(100% - 32px)!important;margin-inline:auto!important}
  .home-v2 .home-footer-pro .home-sitemap{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .home-v2 .home-footer-pro .home-sitemap a:last-child{grid-column:1/-1!important;align-items:center!important;text-align:center!important}
  .home-v2 .home-footer-pro .home-social-links{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:9px!important}
}

/* Large phones / small tablets: 600–767px */
@media (min-width:600px) and (max-width:767px){
  .home-v2 .home-terminal-card{width:min(100%,680px)!important}
  .home-v2 .home-terminal-bar{padding-inline:18px!important}
  .home-v2 .home-terminal-command{padding:15px 18px!important}
  .home-v2 .home-terminal-command code{font-size:11px!important}
  .home-v2 .home-terminal-output-wrap pre{font-size:11px!important;min-height:220px!important}
  .home-v2 .home-footer-pro .home-brand-inner{width:calc(100% - 48px)!important;margin-inline:auto!important}
  .home-v2 .home-footer-pro .home-sitemap{grid-template-columns:repeat(3,minmax(0,1fr))!important;width:100%!important}
  .home-v2 .home-footer-pro .home-sitemap a:last-child{grid-column:auto!important;align-items:flex-start!important;text-align:left!important}
}

/* Tablets portrait: 768–900px */
@media (min-width:768px) and (max-width:900px){
  .home-v2 .home-terminal-card{width:min(100%,760px)!important}
  .home-v2 .home-terminal-bar{min-height:52px!important;padding-inline:20px!important}
  .home-v2 .home-terminal-command{padding:16px 20px!important}
  .home-v2 .home-terminal-command code{font-size:12px!important}
  .home-v2 .home-terminal-output-wrap pre{min-height:240px!important;padding:21px 20px!important;font-size:12px!important}
  .home-v2 .home-footer-pro{padding:68px 0 36px!important}
  .home-v2 .home-footer-pro .home-brand-inner{width:calc(100% - 64px)!important;max-width:820px!important;margin-inline:auto!important}
  .home-v2 .home-footer-pro .home-footer-logo img{max-width:210px!important}
  .home-v2 .home-footer-pro .home-sitemap{grid-template-columns:repeat(3,minmax(0,1fr))!important;width:100%!important}
  .home-v2 .home-footer-pro .home-sitemap a:last-child{grid-column:auto!important;align-items:flex-start!important;text-align:left!important}
}

/* Laptop / tablet landscape: 901–1179px */
@media (min-width:901px) and (max-width:1179px){
  .home-v2 .home-terminal-card{width:min(calc(100% - 64px),980px)!important;max-width:980px!important}
  .home-v2 .home-footer-pro{padding:72px 0 36px!important}
  .home-v2 .home-footer-pro .home-brand-inner{display:block!important;width:min(calc(100% - 64px),1040px)!important;max-width:1040px!important;margin-inline:auto!important;text-align:center!important}
  .home-v2 .home-footer-pro .home-footer-logo{justify-content:center!important;margin:0 auto 18px!important}
  .home-v2 .home-footer-pro .home-brand-inner>p{max-width:700px!important;margin-inline:auto!important;text-align:center!important}
  .home-v2 .home-footer-pro .home-sitemap{grid-template-columns:repeat(5,minmax(0,1fr))!important;width:100%!important;margin:30px 0 0!important}
  .home-v2 .home-footer-pro .home-social-links{justify-content:center!important}
  .home-v2 .home-footer-pro .home-copyright,.home-v2 .home-footer-pro .home-made{text-align:center!important;border-top:0!important;padding-top:0!important}
  .home-v2 .home-footer-pro .home-copyright{margin-top:26px!important;padding-top:22px!important;border-top:1px solid #1d2633!important}
}

/* Desktop: 1180–1439px */
@media (min-width:1180px) and (max-width:1439px){
  .home-v2 .home-terminal-card{width:min(calc(100% - 80px),1120px)!important}
  .home-v2 .home-footer-pro .home-brand-inner{width:min(calc(100% - 80px),1180px)!important;max-width:1180px!important;grid-template-columns:minmax(280px,.85fr) minmax(560px,1.25fr)!important;column-gap:48px!important}
  .home-v2 .home-footer-pro .home-sitemap{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}

/* Large desktop: 1440–1919px */
@media (min-width:1440px) and (max-width:1919px){
  .home-v2 .home-terminal-card{width:1120px!important}
  .home-v2 .home-footer-pro .home-brand-inner{width:min(calc(100% - 112px),1320px)!important;max-width:1320px!important;column-gap:72px!important}
  .home-v2 .home-footer-pro .home-sitemap{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}

/* Ultrawide: 1920px+ — prevent content from becoming stretched */
@media (min-width:1920px){
  .home-v2 .home-terminal-card{width:1180px!important;max-width:1180px!important}
  .home-v2 .home-footer-pro .home-brand-inner{width:1400px!important;max-width:1400px!important;column-gap:88px!important}
  .home-v2 .home-footer-pro .home-brand-inner>p{font-size:17px!important}
  .home-v2 .home-footer-pro .home-sitemap{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}

/* Short landscape phones / tablets: keep terminal usable vertically. */
@media (orientation:landscape) and (max-height:520px) and (max-width:950px){
  .home-v2 .home-terminal-output-wrap pre{min-height:135px!important;max-height:210px!important}
  .home-v2 .home-terminal-bar{min-height:40px!important}
  .home-v2 .home-terminal-state{height:32px!important}
  .home-v2 .home-footer-pro{padding-top:44px!important}
}

/* Touch devices: larger tap targets without changing desktop pointer UI. */
@media (hover:none) and (pointer:coarse){
  .home-v2 .home-json-tab{min-height:44px!important}
  .home-v2 .terminal-run{min-height:40px!important}
  .home-v2 .home-footer-pro .home-sitemap a{min-height:52px!important}
  .home-v2 .home-footer-pro .home-social-links .home-social-btn{min-height:44px!important}
}

/* Accessibility / browser zoom safety. */
@media (prefers-reduced-motion:reduce){
  .home-v2 .home-json-tab,.home-v2 .terminal-run,.home-v2 .home-footer-pro .home-sitemap a{transition:none!important}
}
