:root {
  color-scheme: light;
  --ink: #241c18;
  --muted: #6e625b;
  --line: #eadfd4;
  --surface: #fffaf4;
  --brand: #ff5a12;
  --brand-soft: #fff0e5;
}

* { box-sizing: border-box; }

html {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f7f1e9;
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body { margin: 0; }

.shell {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 42px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 760;
  text-decoration: none;
}

.brand img { width: 42px; height: 42px; }

nav { display: flex; gap: 16px; font-size: 14px; }
nav a, main a { color: #b63a06; text-underline-offset: 3px; }

.primary-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 15px;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 8px 22px rgba(182, 58, 6, .2);
  font-weight: 720;
  text-decoration: none;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 120ms ease;
}

.primary-action:hover { background: #e94908; }
.primary-action:active { transform: scale(.96); }
.primary-action:focus-visible { outline: 3px solid rgba(255, 90, 18, .32); outline-offset: 3px; }

main {
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 250, 244, .94);
  box-shadow: 0 20px 60px rgba(93, 55, 29, .08);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 { margin: 0 0 14px; font-size: clamp(34px, 7vw, 56px); line-height: 1.08; text-wrap: balance; }
h2 { margin: 42px 0 12px; font-size: 23px; line-height: 1.25; }
h3 { margin: 28px 0 8px; font-size: 17px; }
p, li { color: var(--muted); text-wrap: pretty; }
.lead { margin: 0; font-size: 19px; }
.notice { padding: 16px 18px; border-radius: 16px; background: var(--brand-soft); }
ul { padding-left: 22px; }
footer { margin-top: 24px; color: var(--muted); font-size: 13px; text-align: center; }

.download-panel {
  display: grid;
  gap: 16px;
  margin: 32px 0 44px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.download-panel h2 {
  margin: 3px 0 6px;
  font-size: 23px;
}

.download-kicker,
.download-meta,
.direct-download-note {
  margin: 0;
}

.download-kicker {
  color: var(--brand);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.download-meta,
.direct-download-note {
  font-size: 13px;
}

.download-panel .primary-action {
  justify-self: start;
}

.step-list li + li {
  margin-top: 10px;
}

/* Download landing page */

.install-body {
  min-height: 100vh;
  background: #fbfbfa;
}

.install-html {
  background: #fbfbfa;
}

.install-shell {
  padding-top: 32px;
}

.install-shell header {
  margin-bottom: 54px;
}

.install-shell nav {
  gap: 18px;
}

.install-shell nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #5f5f63;
  font-weight: 560;
  text-decoration: none;
  transition-property: color;
  transition-duration: 160ms;
}

.install-shell nav a:hover {
  color: var(--ink);
}

.install-shell nav a:focus-visible,
.resource-links a:focus-visible,
.secondary-action:focus-visible {
  outline: 3px solid rgba(255, 90, 18, .3);
  outline-offset: 3px;
}

.install-page {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.install-hero {
  display: flex;
  max-width: 650px;
  align-items: center;
  flex-direction: column;
  margin: 0 auto 46px;
  text-align: center;
}

.install-product-icon {
  width: 84px;
  height: 84px;
  margin-bottom: 24px;
  padding: 9px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(36, 28, 24, .08);
  outline: 1px solid rgba(0, 0, 0, .1);
  outline-offset: -1px;
}

.install-hero .eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  letter-spacing: .06em;
}

.install-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(40px, 7vw, 56px);
  letter-spacing: -.045em;
}

.install-hero .lead {
  max-width: 590px;
  font-size: 18px;
}

.install-page .download-panel {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  margin: 0 0 70px;
  padding: 28px;
  border: 0;
  border-radius: 28px;
  background: #ffd9b3;
}

.install-page .download-panel h2 {
  margin: 5px 0 8px;
  font-size: 28px;
  letter-spacing: -.025em;
  line-height: 1.15;
}

.install-page .download-kicker {
  color: #9d3509;
}

.install-page .download-meta {
  color: rgba(36, 28, 24, .66);
  font-size: 14px;
}

.compatibility-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 17px;
}

.compatibility-tags span {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .58);
  color: rgba(36, 28, 24, .74);
  font-size: 11px;
  font-weight: 680;
  line-height: 1.35;
}

.download-actions {
  display: flex;
  width: 252px;
  align-items: stretch;
  flex-direction: column;
  gap: 11px;
}

.install-page .download-panel .primary-action {
  width: 100%;
  justify-content: space-between;
  gap: 14px;
}

.primary-action svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.install-page .direct-download-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: rgba(36, 28, 24, .62);
  font-size: 11px;
  line-height: 1.45;
}

.direct-download-note svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.install-block {
  margin-bottom: 64px;
}

.details-block {
  margin-bottom: 12px;
}

.section-heading {
  max-width: 560px;
  margin-bottom: 20px;
}

.section-kicker {
  margin: 0 0 5px;
  color: #858589;
  font-size: 11px;
  font-weight: 720;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0 0 7px;
  font-size: 28px;
  letter-spacing: -.025em;
}

.section-heading p:last-child {
  margin: 0;
  font-size: 15px;
}

.install-page .step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.install-page .step-list li + li {
  margin-top: 0;
}

.step-card {
  display: flex;
  min-height: 238px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border-radius: 24px;
}

.step-card-neutral { background: #f5f5f7; }
.step-card-orange { background: #ffd9b3; }
.step-card-blue { background: #d4f0fe; }

.step-number {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  font-weight: 760;
}

.step-card h3 {
  margin: 0 0 7px;
  color: #1d1d1f;
  font-size: 18px;
  letter-spacing: -.015em;
  line-height: 1.25;
}

.step-card p {
  margin: 0;
  color: rgba(29, 29, 31, .62);
  font-size: 13px;
  line-height: 1.55;
}

.step-card strong {
  color: rgba(29, 29, 31, .82);
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 0;
}

.info-card {
  min-height: 322px;
  padding: 24px;
  border-radius: 24px;
}

.info-card-lavender { background: #dee0f5; }
.info-card-purple { background: #ebd4f7; }
.info-card-green { background: #e0f0d0; }

.info-card-wide {
  display: grid;
  min-height: 0;
  align-items: end;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
}

.info-card-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 34px;
  background: transparent;
  color: #000;
}

.info-card-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.info-card h3,
.closing-download h2 {
  margin: 0 0 11px;
  color: #1d1d1f;
  font-size: 23px;
  letter-spacing: -.02em;
  line-height: 1.2;
  text-wrap: balance;
}

.info-card p,
.info-card li,
.closing-download p,
.install-notice p {
  color: rgba(29, 29, 31, .62);
}

.info-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.compact-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compact-list li {
  position: relative;
  padding-left: 21px;
  font-size: 13px;
  line-height: 1.5;
}

.compact-list li::before {
  position: absolute;
  top: .62em;
  left: 1px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1d1d1f;
  content: "";
}

.security-copy {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 18px;
}

.security-copy .info-card-icon {
  margin-bottom: 0;
}

.resource-links {
  display: flex;
  max-width: 246px;
  align-items: stretch;
  flex-direction: column;
  gap: 8px;
}

.resource-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .68);
  color: #4f4313;
  font-size: 12px;
  font-weight: 680;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition-property: background-color, transform;
  transition-duration: 160ms, 120ms;
}

.resource-links a:hover {
  background: rgba(255, 255, 255, .9);
}

.resource-links a:active,
.secondary-action:active {
  transform: scale(.96);
}

.install-page .install-notice {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 12px 0 0;
  padding: 20px 22px;
  border-radius: 24px;
  background: #f0ede8;
}

.install-notice .info-card-icon {
  flex: 0 0 auto;
  margin: 0;
}

.install-notice strong {
  display: block;
  margin: 1px 0 3px;
  color: #1d1d1f;
  font-size: 14px;
}

.install-notice p {
  margin: 0;
  font-size: 13px;
}

.closing-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 12px;
  padding: 28px;
  border-radius: 28px;
  background: #d6e4f0;
}

.closing-download p {
  max-width: 470px;
  margin: 0;
  font-size: 13px;
}

.closing-download .section-kicker {
  margin-bottom: 5px;
  color: #52677a;
}

.secondary-action {
  display: inline-flex;
  min-width: 164px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 18px;
  border-radius: 14px;
  background: #1d1d1f;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition-property: background-color, transform;
  transition-duration: 160ms, 120ms;
}

.secondary-action:hover {
  background: #38383c;
}

@media (max-width: 560px) {
  header { align-items: flex-start; flex-direction: column; }
  .shell { padding-top: 24px; }
  main { border-radius: 22px; }
  .download-panel .primary-action { width: 100%; }
}

@media (max-width: 720px) {
  .install-shell header {
    margin-bottom: 38px;
  }

  .install-page .download-panel,
  .info-card-wide {
    grid-template-columns: 1fr;
  }

  .download-actions,
  .resource-links {
    width: 100%;
    max-width: none;
  }

  .install-page .step-list,
  .details-grid {
    grid-template-columns: 1fr;
  }

  .step-card,
  .info-card {
    min-height: 210px;
  }

  .info-card-wide {
    grid-column: auto;
  }

  .resource-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .install-body .shell {
    width: min(760px, calc(100% - 24px));
  }

  .install-shell header {
    width: 100%;
    gap: 8px;
  }

  .install-shell nav {
    width: 100%;
    justify-content: space-between;
  }

  .install-hero {
    margin-bottom: 34px;
  }

  .install-product-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 20px;
    border-radius: 20px;
  }

  .install-hero h1 {
    font-size: clamp(38px, 12vw, 48px);
  }

  .install-hero .lead {
    font-size: 16px;
  }

  .install-page .download-panel {
    gap: 24px;
    margin-bottom: 52px;
    padding: 22px;
    border-radius: 24px;
  }

  .install-page .download-panel h2 {
    font-size: 25px;
  }

  .section-heading h2 {
    font-size: 25px;
  }

  .step-card,
  .info-card {
    min-height: 0;
    padding: 22px;
  }

  .step-card {
    gap: 50px;
  }

  .info-card-icon {
    margin-bottom: 42px;
  }

  .security-copy {
    grid-template-columns: 1fr;
  }

  .security-copy .info-card-icon {
    margin-bottom: 24px;
  }

  .resource-links {
    grid-template-columns: 1fr;
  }

  .closing-download {
    align-items: stretch;
    flex-direction: column;
    gap: 22px;
    padding: 24px;
    border-radius: 24px;
  }

  .secondary-action {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .primary-action,
  .resource-links a,
  .secondary-action { transition: none; }
}
