:root {
  --ink: #152b42;
  --muted: #586b7c;
  --line: #dfe7ed;
  --accent: #226bd0;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #f7f9fb;
  color: var(--ink);
  font: 15px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
button, a, summary { touch-action: manipulation; }
button { font: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
svg { flex-shrink: 0; }

.skip { position: absolute; left: 20px; top: -100px; padding: 12px; background: white; }
.skip:focus { top: 55px; z-index: 2; }
.container { width: min(1140px, calc(100% - 88px)); margin: auto; }
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 108px;
  border-bottom: 1px solid var(--line);
}
.brand, .nav { display: flex; align-items: center; }
.brand { gap: 10px; }
.brand img { width: 36px; height: 38px; }
.brand-name { font-size: 27px; font-weight: 750; letter-spacing: -1.4px; }
.brand-note {
  border-left: 1px solid #cfd9e1;
  padding-left: 20px;
  margin-left: 12px;
  color: var(--muted);
  font-size: 13px;
}
.nav { gap: 30px; font-size: 13px; }
.nav a, .help { display: inline-flex; align-items: center; min-height: 44px; }
.help { border: 0; background: none; color: var(--ink); padding: 0; }
.help:hover { text-decoration: underline; }
main { min-height: calc(100vh - 230px); }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(340px, .87fr);
  gap: 80px;
  align-items: center;
  padding: 72px 0 65px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: #526d87;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: #7f9cb7; }
h1 {
  max-width: 550px;
  font-size: clamp(40px, 4.3vw, 58px);
  font-weight: 650;
  line-height: 1.07;
  letter-spacing: -2.5px;
}
.intro { margin-top: 24px; max-width: 440px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.product-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.product-line svg { color: #5c7790; }

.file-card {
  min-width: 0;
  padding: 30px;
  border: 1px solid #dbe4ec;
  border-radius: 18px;
  background: white;
  box-shadow: 0 18px 45px #203f6010;
}
.file-top { display: flex; justify-content: space-between; align-items: flex-start; }
.file-icon {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 55px;
  height: 64px;
  padding-bottom: 9px;
  border: 1px solid #c7dbf6;
  border-radius: 7px;
  background: #edf4fd;
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 1px;
}
.file-icon::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -1px;
  width: 16px;
  height: 16px;
  border-left: 1px solid #c7dbf6;
  border-bottom: 1px solid #c7dbf6;
  border-radius: 0 6px 0 5px;
  background: white;
}
.tag {
  padding: 5px 8px;
  border: 1px solid #e2e9ef;
  border-radius: 5px;
  background: #f1f5f8;
  color: #4c657a;
  font-size: 11px;
}
.file-card h2 {
  margin-top: 24px;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: -.7px;
  overflow-wrap: anywhere;
}
.version { color: #586b7c; font-weight: 400; }
.file-sub { margin-top: 6px; color: var(--muted); font-size: 13px; }
.file-info { display: flex; align-items: center; gap: 11px; margin: 21px 0 26px; color: #536a7e; font-size: 13px; }
.dot { width: 3px; height: 3px; border-radius: 50%; background: #9aafbe; }
.download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 8px #226bd018;
  font-size: 15px;
  font-weight: 600;
}
.download:hover { background: #185bb7; }
.download svg { width: 19px; height: 19px; }
.expiry {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 15px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}
.file-details { margin-top: 24px; padding-top: 12px; border-top: 1px solid var(--line); }
summary { cursor: pointer; color: var(--muted); font-size: 12px; min-height: 44px; padding-top: 12px; }
.technical { margin-top: 14px; font-size: 12px; overflow-wrap: anywhere; }
.technical code {
  display: block;
  margin: 9px 0;
  color: #4a6075;
  font: 11px/1.8 ui-monospace, Consolas, monospace;
}
.copy {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f7f9fb;
  color: var(--ink);
  font-size: 12px;
}
.feedback {
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  background: #eaf3fe;
  color: #274a70;
}

.install-section { border-top: 1px solid var(--line); padding: 31px 0 41px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 27px; }
.section-heading h2 { font-size: 20px; font-weight: 600; letter-spacing: -.4px; }
.section-heading span { color: var(--muted); font-size: 12px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 35px; margin: 0; padding: 0; list-style: none; }
.step { display: grid; grid-template-columns: 32px 1fr; gap: 12px; }
.step-num {
  width: 30px;
  height: 30px;
  border: 1px solid #cddce8;
  border-radius: 50%;
  background: #f0f5fa;
  color: #526d87;
  text-align: center;
  font: 12px/28px ui-monospace, Consolas, monospace;
}
.step h3 { margin: 3px 0 7px; font-size: 14px; font-weight: 650; }
.step p { color: var(--muted); font-size: 13px; line-height: 1.75; }
.note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 27px;
  padding: 15px 18px;
  border-radius: 8px;
  background: #edf2f6;
  color: #52677b;
  font-size: 12px;
}
.note svg { margin-top: 1px; }
.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-bottom: 35px; }
.extras details { border-bottom: 1px solid var(--line); }
.extras summary { color: var(--ink); font-size: 13px; }
.extras p { padding: 12px 0; color: var(--muted); font-size: 13px; }
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 14px 0 20px;
  color: var(--muted);
  font-size: 11px;
}
.site-footer button { color: var(--muted); font-size: 11px; }

.state-panel { padding: 80px 0; max-width: 620px; }
.state-panel .copy { margin-top: 20px; }
.state-panel .feedback { max-width: 440px; }
dialog {
  max-width: min(480px, calc(100% - 36px));
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
}
dialog::backdrop { background: #152b4266; }
dialog p, dialog form { margin-top: 15px; }
dialog p { color: var(--muted); }

@media (max-width: 1000px) {
  .hero { gap: 40px; padding: 50px 0; }
  .container { width: calc(100% - 56px); }
  h1 { font-size: 46px; }
  .brand-note { display: none; }
  .steps { gap: 20px; }
}
@media (max-width: 720px) {
  .container { width: calc(100% - 36px); }
  .masthead { min-height: 79px; }
  .brand img { width: 29px; height: 33px; }
  .brand-name { font-size: 25px; }
  .nav { gap: 0; }
  .nav a, .product-line, .section-heading span { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 29px; padding: 34px 0 35px; }
  .eyebrow { margin-bottom: 17px; font-size: 10px; letter-spacing: 1.2px; }
  h1 { font-size: 43px; letter-spacing: -1.8px; }
  .intro { margin-top: 19px; font-size: 15px; line-height: 1.7; }
  .file-card { padding: 24px; border-radius: 14px; }
  .file-top { align-items: center; }
  .file-icon { width: 46px; height: 52px; }
  .file-card h2 { margin-top: 17px; font-size: 24px; }
  .file-info { margin: 16px 0 21px; }
  .expiry { font-size: 11px; }
  .steps, .extras { grid-template-columns: minmax(0, 1fr); }
  .steps { gap: 25px; }
  .section-heading { margin-bottom: 24px; }
  .install-section { padding: 27px 0; }
  .extras { gap: 0; padding-bottom: 20px; }
  .site-footer { gap: 0; flex-wrap: wrap; }
  .note { padding: 14px; line-height: 1.65; }
  .help { font-size: 12px; }
  .state-panel { padding: 46px 0; }
}
@media (max-width: 350px) {
  h1 { font-size: 37px; }
  .file-card { padding: 19px; }
  .download { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
