html { color-scheme: light; scroll-padding-top: calc(var(--nav-height) + 14px); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.hero-grid > *, .feature-strip a > span { min-width: 0; }
.masthead .identity, .nav-download { white-space: nowrap; }
.questions summary { cursor: pointer; }
.questions details[open] summary .ico { transform: rotate(45deg); }
.questions summary .ico { transition: transform .35s var(--ease); }

.feature-strip a[aria-current="true"] {
  background: #edf5ff;
  border-color: #005cb8;
  box-shadow: inset 0 0 0 1px #005cb8, var(--shadow-sm);
}
.feature-strip a[aria-current="true"] :is(strong, .feature-arrow) { color: #005cb8; }

.workflow-grid { display: grid; gap: clamp(14px, 1.4vw, 30px); }
.workflow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style-position: inside;
  padding: 0;
}
.workflow-grid li {
  background: var(--bg-surface);
  border: 1px solid var(--line-hairline);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.workflow-grid li { padding: clamp(20px, 1.8vw, 36px); }
.workflow-grid li::marker { color: #005cb8; font-weight: 650; }
.workflow-grid h3 { display: inline; }
.product-section h3 { font-size: clamp(17px, 1.3vw, 24px); line-height: 1.35; }
.product-section p {
  margin-top: .55em;
  max-width: 42em;
  color: var(--text-secondary);
  font-size: clamp(15px, 1vw, 19px);
  line-height: 1.65;
}
.download-copy p { max-width: 40em; margin-block: 14px 0; }
.has-floating-top {
  --top-link-width: 96px;
  --top-link-inset: max(8px, env(safe-area-inset-right));
  --reading-gutter: max(var(--page-gutter), var(--top-link-width) + var(--top-link-inset) + 8px);
}
.has-floating-top :is(.download-panel, .questions-grid, .footer-inner) {
  width: calc(100% - var(--page-gutter) - var(--reading-gutter));
  margin-inline-start: max(var(--page-gutter), (100% - var(--wrap-max)) / 2);
}
.back-to-top .ico { transform: rotate(-90deg); }
.has-floating-top .back-to-top:not([hidden]) {
  position: fixed;
  z-index: 20;
  right: var(--top-link-inset);
  bottom: max(18px, env(safe-area-inset-bottom));
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: var(--top-link-width);
  height: 44px;
  border: 1px solid #abcee9;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  color: #005cb8;
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  font-weight: 600;
}
.has-floating-top .back-to-top:hover { background: #edf5ff; }
@media (max-width: 720px) {
  .has-floating-top { --top-link-width: 44px; }
  .has-floating-top .back-to-top span { display: none; }
}
@media (max-width: 1100px) {
  .workflow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .workflow-grid { grid-template-columns: 1fr; }

  .nav-shell { gap: 8px; }
  .nav-shell .identity { gap: 6px; font-size: 15px; }
  .nav-actions { gap: 5px; }
  .nav-download { padding-inline: 12px; min-height: 36px; }
  .nav-download .ico { display: none; }
  .hero { padding: 42px 0 24px; }
  .hero-grid { gap: 25px; }
  .feature-strip { margin-top: 25px; gap: 10px; }
  .feature-strip a { padding: 14px 16px; }
}
@media (max-width: 380px) {
  :root { --page-gutter: 15px; --nav-gutter: 10px; }
  .masthead .identity { gap: 4px; }
  .nav-shell .identity img { width: 29px; height: 29px; }
  .nav-shell .identity { font-size: clamp(13px,.85vw,17px); }
  .nav-download { font-size: 12px; padding-inline: 9px; }
  .menu-toggle { width: 32px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

