/* Shared responsive refinements for the homepage, use cases and blog. */
#recovery-questions h3 { line-height: 1.3; margin-bottom: 14px; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { overflow-wrap: break-word; }
:focus-visible { outline: 2px solid #0369a1; outline-offset: 4px; }
code, .dl dd, .cta a.mail { overflow-wrap: anywhere; }
pre { max-width: 100%; overscroll-behavior-x: contain; }
pre, pre code { overflow-wrap: normal; word-break: normal; }
.site-home { overflow-x: visible; }
.hero__grid > *, .grid > *, .matrix > *, .iso > *, .foot > *,
.cap > span, .mod__caps li > span { min-width: 0; }
.btn { min-height: 44px; justify-content: center; }
.btn .arr { flex: none; }

/* Native disclosure remains usable with JavaScript disabled. */
.nav__menu { display: none; margin-left: auto; }
.nav__menu summary {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 10px 14px; border: 1px solid var(--line-2);
  border-radius: 8px; background: #fff; color: var(--ink);
  font: 500 13px/1.4 var(--mono); cursor: pointer; list-style: none;
}
.nav__menu summary::-webkit-details-marker { display: none; }
.nav__menu summary::after { content: '+'; font-size: 20px; line-height: 1; }
.nav__menu[open] summary::after { content: '−'; }
.nav__menu[open] summary { background: var(--sky-wash); border-color: var(--sky); }
.nav__panel {
  position: absolute; top: calc(100% + 8px); right: 20px; left: 20px;
  padding: 10px; border: 1px solid var(--line-2); border-radius: 12px;
  background: #fff; box-shadow: 0 16px 40px -14px rgba(11,27,43,.25);
  max-height: calc(100dvh - 112px); overflow-y: auto;
}
.nav__panel a {
  display: flex; align-items: center; min-height: 46px; padding: 11px 14px;
  border-radius: 6px; font: 500 14px/1.5 var(--mono); color: var(--ink-2);
}
.nav__panel a:hover { background: var(--sky-wash); color: var(--sky-dk); }
.nav__panel .nav__evaluate { margin-top: 6px; background: var(--sky-dk); color: #fff; }
.nav__panel .nav__evaluate:hover { background: #075985; color: #fff; }

@media (max-width: 1120px) {
  .site-home .nav__in { gap: 18px; }
  .site-home .nav__links, .site-home .nav__cta .btn--ghost { display: none; }
  .site-home .nav__cta { margin-left: auto; }
  .site-home .nav__cta .btn { white-space: nowrap; }
  .nav__menu { display: block; margin-left: 0; }
  .topbar__r { display: none; }
}

@media (max-width: 880px) {
  .pipe__arrow { transform: none; color: var(--sky-dk); background: var(--sky-wash); }
  .pipe__arrow svg { transform: rotate(90deg); }
}

@media (max-width: 680px) {
  .site-home .container, .site-home .nav__in, .topbar__in, .ticker__in {
    padding-left: 20px; padding-right: 20px;
  }
  .topbar__l { width: 100%; gap: 12px; overflow: visible; font-size: 10px; }
  .topbar__detail, .topbar__l .sep { display: none; }
  .topbar__version { margin-left: auto; color: #fff; }
  .site-home .nav__in { height: 64px; }
  .site-home .nav__in .brand__logo { height: 30px; }
  .site-home .nav__cta { display: none; }
  .nav__menu { margin-left: auto; }
  .site-home .hero { padding: 38px 0 44px; }
  .site-home .hero__grid { gap: 28px; }
  .hero__ey { font-size: 10px; letter-spacing: .14em; line-height: 1.7; margin-bottom: 18px; }
  .hero__ey .dot { flex: none; }
  .site-home .hero h1 { font-size: clamp(34px, 9.2vw, 48px); line-height: 1.1; max-width: 17ch; margin-bottom: 20px; }
  .hero__sub { font-size: 16px; line-height: 1.65; margin-bottom: 24px; }
  .hero__cta { gap: 10px; margin-bottom: 24px; }
  .nos { gap: 8px; }
  .no { padding: 8px 10px; font-size: 11px; }
  .no .sm { font-size: 10px; }
  .spec__hud { font-size: 9px; letter-spacing: .07em; }
  .spec__hud > span:last-child { display: none; }
  .section { padding: 56px 0; }
  .shead { margin-bottom: 28px; }
  .site-home h2 { font-size: clamp(28px, 7.5vw, 36px); line-height: 1.15; }
  .site-home .lead { font-size: 16px; }
  .ticker__in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tk { min-width: 0; padding: 22px 10px; border-bottom: 1px solid var(--line); }
  .tk b { font-size: clamp(21px, 5.5vw, 27px); }
  .tk span { font-size: 10px; letter-spacing: .08em; }
  .tk:last-child { grid-column: 1 / -1; border: 0; }
  .mod__body { padding: 22px 20px; }
  .mod h3 { line-height: 1.2; }
  .mod__lede, .iso__card p { font-size: 15px; line-height: 1.65; }
  .mod__caps li, .cap { font-size: 14px; line-height: 1.65; }
  .mod__more { min-height: 44px; margin-top: 12px; align-items: center; }
  .pipe__col { padding: 24px 20px; }
  .tier, .mx__top { padding: 20px; }
  .tier__label { flex-wrap: wrap; line-height: 1.6; gap: 6px 9px; }
  .tier__label .dot { flex: none; }
  .tier__label .meta { flex-basis: 100%; padding-left: 17px; }
  .site-home .cta { padding: 48px 0; }
  .site-home .foot { padding: 38px 0 26px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
  .foot__brand, .foot > div:last-child { grid-column: 1 / -1; }
  .foot h4 { margin-bottom: 8px; }
  .foot ul { gap: 0; }
  .foot ul a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; font-size: 14px; }
}

@media (max-width: 600px) {
  .site-detail { --gutter: 20px; }
  .site-detail header.top .row { height: auto; min-height: 64px; padding-top: 10px; padding-bottom: 10px; gap: 6px 16px; flex-wrap: wrap; }
  .site-detail header.top .row > a { display: flex; align-items: center; min-height: 44px; flex: none; }
  .site-detail .crumbs { flex-wrap: wrap; line-height: 1.6; }
  .site-detail .crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
  .site-detail .crumbs .here { white-space: normal; }
  .site-detail h1 { line-height: 1.14; }
  .site-detail h2 { line-height: 1.35; }
  .site-detail .lede { font-size: 17px; }
  .site-detail .note, .site-detail .cta { padding: 16px; }
  .site-detail .exit { grid-template-columns: auto minmax(0, 1fr); }
  .site-detail .langsw button { min-height: 44px; padding: 10px 18px; }
  .site-detail .pager { grid-template-columns: minmax(0, 1fr); }
  .site-detail .pager a { justify-self: stretch; display: flex; align-items: center; justify-content: center; min-height: 44px; white-space: normal; }
  .site-detail .pager span { display: none; }
  .site-detail pre { font-size: 12px; padding: 16px; }
  .site-blog .top .row { flex-wrap: wrap; gap: 4px 16px; padding-top: 12px; padding-bottom: 8px; }
  .site-blog .top .row > a { display: flex; align-items: center; min-height: 44px; }
  .site-blog .nav { width: 100%; justify-content: space-between; gap: 12px; }
  .site-blog .nav .product { display: flex; }
  .site-blog .nav a { display: flex; align-items: center; min-height: 44px; }
  .site-blog h1 { font-size: clamp(29px, 7.7vw, 38px); line-height: 1.2; }
  .site-blog .bar .label { min-width: 0; overflow-wrap: anywhere; }
  .site-blog .dots { flex: none; margin-right: 3px; }
  .site-blog pre { font-size: 12px; }
  .site-blog details { padding: 12px; }
  .site-blog summary { min-height: 44px; padding: 8px 0; line-height: 1.65; }
  .site-blog .foot a { display: inline-flex; align-items: center; min-height: 44px; }
  .site-blog .mini { padding: 16px; gap: 8px 16px; }
}

@media (max-width: 480px) {
  .hero__cta, .cta__row { display: grid; grid-template-columns: minmax(0, 1fr); }
  .hero__cta .btn, .cta__row .btn { width: 100%; }
  .site-detail .step { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .site-detail .crumbs { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__ey .dot { animation: none; }
}

/* Proposal: consistent homepage gutters and a shorter reading path. */
.site-home { --page-gutter: 28px; }
.site-home .container { padding-inline: var(--page-gutter); }
.site-home .section { padding-block: 64px; }
.site-home .lab-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.site-home .lab-card { display: flex; flex-direction: column; gap: 16px; padding: 26px; border: 1px solid var(--line-2); border-radius: 14px; background: #fff; }
.site-home .lab-card:hover { border-color: var(--sky-dk); }
.site-home .lab-card h3 { font-size: 25px; line-height: 1.2; }
.site-home .lab-card .eyebrow { font-size: 10px; letter-spacing: .12em; }
.site-home .lab-link { margin-top: auto; color: var(--sky-dk); font: 500 12px/1.6 var(--mono); }
.site-home .scope-note { margin-top: 18px; font-size: 13px; color: var(--ink-3); }
.site-home .mod__body { padding: 26px; }
.site-home .mod h3 { line-height: 1.2; }
.site-home .mod__tag { line-height: 1.6; letter-spacing: .06em; }
.site-home .isolation-strip { padding-block: 34px; border-bottom: 1px solid var(--line); }
.site-home .isolation-strip h2 { font-size: 24px; line-height: 1.25; margin-bottom: 12px; }
.site-home .isolation-strip p { max-width: 76ch; }
.site-home .support-details, .site-home .faq-list details { padding: 18px 20px; background: #fff; border: 1px solid var(--line-2); border-radius: 10px; }
.site-home summary { cursor: pointer; min-height: 44px; padding-block: 10px; color: var(--ink); font-weight: 600; line-height: 1.5; }
.site-home .support-details[open] > summary { margin-bottom: 20px; }
.site-home .faq-list { display: grid; gap: 12px; }
.site-home .faq-list details p { max-width: 80ch; margin-top: 12px; }
@media (max-width: 680px) {
  .site-home { --page-gutter: 20px; }
  .site-home .section { padding-block: 44px; }
  .site-home .lab-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .site-home .lab-card, .site-home .mod__body { padding: 22px 20px; }
  .site-home .lab-card h3 { font-size: 23px; }
  .site-home .support-details { padding: 12px; }
}
