:root {
  color-scheme: light;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: #152744;
  background: #f5f8fc;
  --navy: #101f39;
  --muted: #4d6179;
  --blue: #244ec2;
  --line: #dce5f2;
  --sidebar: 15.5rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid #557df3; outline-offset: 4px; }
.skip { position: fixed; z-index: 5; top: 1rem; left: 1rem; padding: 1rem; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; }
.mobile-bar { display: none; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar); padding: 2.2rem 1.2rem 1.5rem; background: var(--navy); color: #eaf1ff; display: flex; flex-direction: column; overflow: auto; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-size: 1.25rem; font-weight: 800; letter-spacing: -.035em; }
.brand-mark { width: 2.6rem; height: 2.6rem; border-radius: 50%; flex: none; }
.desktop-brand { margin: 0 .65rem 2.9rem; }
.brand-wordmark { width: 100%; height: 3rem; object-fit: cover; border-radius: .45rem; }
nav { display: grid; gap: .35rem; }
nav a { border-radius: .55rem; padding: .68rem .9rem; color: #c2d0e9; font-weight: 550; }
nav a:hover, nav a[aria-current] { background: #263c64; color: white; }
.sidebar-note { margin: auto .65rem 0; padding-top: 1.4rem; color: #b6c5df; font-size: .84rem; line-height: 1.6; }
main { margin-left: var(--sidebar); }
.hero, .section, footer { padding-inline: clamp(1.25rem, 5vw, 5rem); }
.hero { min-height: 33rem; padding-block: clamp(3rem, 7vw, 6rem); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(1.25rem, 4vw, 4rem); background: radial-gradient(ellipse at 88% 10%, #d7e5ff, transparent 65%), #eef4ff; }
.eyebrow { margin: 0 0 .85rem; color: var(--blue); font-size: .875rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { letter-spacing: -.05em; line-height: 1.05; }
h1 { font-size: clamp(2.75rem, 4.4vw, 4.85rem); font-weight: 800; }
h1 em { display: block; font-style: normal; color: var(--blue); }
h2 { font-size: clamp(2rem, 3.2vw, 3.45rem); }
h3 { line-height: 1.25; font-size: 1.15rem; }
p { line-height: 1.65; }
.hero-copy > p:last-of-type { color: var(--muted); margin: 1.25rem 0 1.65rem; font-size: 1.125rem; max-width: 32rem; }
.primary { display: inline-block; background: var(--blue); color: white; padding: .85rem 1.15rem; border-radius: .6rem; font-weight: 700; }
.primary:hover { background: #183a9b; }
.hero-preview { border: 1px solid #c4d4eb; border-radius: 1rem; overflow: hidden; background: white; box-shadow: 0 1.3rem 3rem #223d6922; }
.preview-title { display: flex; justify-content: space-between; gap: .5rem; background: var(--navy); color: white; padding: .8rem 1rem; font-size: .875rem; font-weight: 650; }
.preview-title span:last-child { color: #c2d0e9; }
.preview-button { border: 0; background: white; padding: 0; display: block; width: 100%; }
.preview-button img { width: 100%; height: auto; }
.preview-button:focus-visible { outline-offset: -4px; }
figcaption { border-top: 1px solid var(--line); padding: .7rem 1rem; color: var(--muted); font-size: .875rem; }
.section { padding-block: clamp(3rem, 6vw, 5.3rem); border-bottom: 1px solid var(--line); }
.section p:not(.eyebrow) { color: var(--muted); }
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; background: white; }
.about p + p { margin-top: .8rem; }
.features, .steps { margin-top: 1.8rem; display: grid; gap: 1rem; }
.features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-intro { margin-top: .9rem; }
.features article, .download-grid article { background: white; border: 1px solid var(--line); border-radius: .8rem; overflow: hidden; }
.feature-preview { display: block; width: 100%; aspect-ratio: 2.1; overflow: hidden; padding: 0; border: 0; border-bottom: 1px solid var(--line); background: #eaf1fc; cursor: zoom-in; }
.feature-preview:focus-visible { outline-offset: -4px; position: relative; }
.feature-preview img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.feature-copy, .download-grid article { padding: 1.45rem; }
.downloads { background: #eaf1fc; }
.download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.8rem; }
.download-grid article { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; }
.download-grid article .primary { margin-top: auto; }
.features h3, .steps h3 { margin-bottom: .5rem; }
.gallery { background: #eaf1fc; }
.gallery h2 + p { margin-top: .9rem; }
.gallery-slideshow { margin: 1.5rem auto 0; max-width: 60rem; }
.gallery-controls { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .75rem; }
.gallery-controls button { padding: .55rem .75rem; border: 1px solid #a9bde2; border-radius: .5rem; background: white; color: var(--blue); font-weight: 650; }
.gallery-controls button:hover { border-color: var(--blue); }
#gallery-count { color: var(--muted); font-variant-numeric: tabular-nums; }
.gallery-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-inline: contain; }
.gallery-slide { min-width: 0; scroll-snap-align: start; overflow: hidden; border: 1px solid #cad9ee; border-radius: .8rem; background: white; }
.gallery-slide button { display: block; width: 100%; aspect-ratio: 8 / 5; border: 0; padding: 0; background: #f5f8fc; cursor: zoom-in; }
.gallery-slide button:focus-visible { outline-offset: -4px; position: relative; }
.gallery-slide img { width: 100%; height: 100%; object-fit: contain; }
.gallery-slide figcaption { display: grid; gap: .2rem; }
.gallery-slide strong { color: var(--navy); font-size: 1rem; }
.steps { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-left: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid #aabfed; padding-top: 1rem; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2rem; height: 2rem; margin-bottom: .75rem; border-radius: 50%; background: #dce8ff; color: #2045a9; font-weight: 700; }
.faq { background: white; }
.faq h2 { margin-bottom: 1.35rem; }
details { border-bottom: 1px solid var(--line); padding-block: 1rem; }
details p { margin-top: .75rem; max-width: 48rem; }
summary { cursor: pointer; font-weight: 650; }
footer { padding-block: 1.5rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; color: var(--muted); }
footer .brand { color: var(--navy); }
dialog { border: 1px solid var(--line); border-radius: .9rem; background: white; color: inherit; max-width: min(58rem, 94vw); max-height: 92vh; padding: 0; }
dialog::backdrop { background: #0c1a33bf; }
dialog header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 1rem; border-bottom: 1px solid var(--line); }
dialog h2 { font-size: 1.15rem; letter-spacing: -.02em; }
dialog button, .mobile-bar button { padding: .45rem .75rem; border-radius: .45rem; border: 1px solid #a9bde2; background: white; color: #182f57; }
dialog img { width: auto; max-height: 78vh; object-fit: contain; margin-inline: auto; }
@media (max-width: 1000px) {
  :root { --sidebar: 12.5rem; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-preview { max-width: 37rem; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 4.5rem; }
  main { margin-left: 0; }
  .mobile-bar { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 2; padding: .55rem 1.1rem; background: var(--navy); color: white; }
  .sidebar { position: sticky; top: 3.7rem; z-index: 2; width: auto; padding: 0 1rem; }
  .desktop-brand, .sidebar-note { display: none; }
  .sidebar nav { padding-block: .5rem; }
  .sidebar nav[hidden] { display: none; }
  .about, .download-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
}
@media (max-width: 450px) {
  .features { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html, .gallery-track { scroll-behavior: auto; } }
