:root {
  color: #172033;
  background: #f4f7fb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 0;
  margin: 0;
  background: linear-gradient(155deg, #edf3ff 0%, #f8fafc 42%, #eef6f2 100%);
}

.install-guide {
  width: min(100% - 32px, 760px);
  margin: 0 auto;
  padding: 28px 0 48px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: #526176;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.back-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.install-hero,
.steps-section,
.help-card {
  border: 1px solid #dbe4f0;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 46px rgba(43, 73, 121, 0.1);
}

.install-hero {
  margin-top: 10px;
  padding: clamp(28px, 7vw, 54px);
  text-align: center;
}

.eyebrow {
  margin: 0 0 8px;
  color: #2563eb;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.11em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(30px, 8vw, 44px);
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(23px, 5vw, 30px);
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 7px;
  font-size: 18px;
  letter-spacing: -0.025em;
}

.hero-copy {
  max-width: 540px;
  margin: 0 auto;
  color: #526176;
  font-size: 16px;
  line-height: 1.7;
}

.official-file {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: fit-content;
  max-width: 100%;
  margin: 28px auto 16px;
  padding: 11px 15px;
  border-radius: 12px;
  background: #ecfdf3;
  color: #166534;
  text-align: left;
}

.official-file-icon {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  font-weight: 900;
}

.official-file p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 58px;
  width: min(100%, 390px);
  border-radius: 14px;
  background: #2563eb;
  color: #fff;
  padding: 14px 22px;
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.25);
}

.download-button:hover {
  background: #1d4ed8;
}

.download-button:focus-visible,
.back-link:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.34);
  outline-offset: 3px;
}

.download-note,
.support-note,
.security-note {
  margin: 14px 0 0;
  color: #66758a;
  font-size: 13px;
  line-height: 1.55;
}

.security-note {
  max-width: 520px;
  margin: 14px auto 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff7ed;
  color: #9a3412;
  text-align: left;
}

.steps-section,
.help-card {
  margin-top: 18px;
  padding: clamp(24px, 5vw, 38px);
}

.section-heading {
  margin-bottom: 25px;
}

.install-steps {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.install-steps li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 15px;
  align-items: start;
}

.step-number {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 16px;
  font-weight: 900;
}

.install-steps p,
.help-card li {
  margin-bottom: 0;
  color: #526176;
  font-size: 15px;
  line-height: 1.66;
}

.install-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 15px;
}

.install-method {
  padding: 16px;
  border: 1px solid #dbe4f0;
  border-radius: 14px;
  background: #f8fafc;
}

.install-method-current {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.method-label {
  margin-bottom: 6px !important;
  color: #2563eb !important;
  font-size: 12px !important;
  font-weight: 900;
}

.install-method h4 {
  margin: 0;
  color: #172033;
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.install-method ol {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding-left: 20px;
  color: #526176;
  font-size: 14px;
  line-height: 1.55;
}

.help-card {
  border-color: #fde5a7;
  background: #fffdf5;
  box-shadow: none;
}

.help-card h2 {
  font-size: 21px;
}

.help-card ul {
  display: grid;
  gap: 10px;
  margin: 17px 0 0;
  padding-left: 20px;
}

.support-note {
  padding: 0 8px;
  text-align: center;
}

@media (max-width: 480px) {
  .install-guide {
    width: min(100% - 20px, 760px);
    padding: 16px 0 30px;
  }

  .back-link {
    min-height: 36px;
    font-size: 13px;
  }

  .install-hero,
  .steps-section,
  .help-card {
    border-radius: 17px;
  }

  .official-file {
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
  }

  .download-button {
    width: 100%;
    min-height: 56px;
  }

  .install-steps li {
    gap: 12px;
  }

  .install-methods {
    grid-template-columns: 1fr;
    width: calc(100% + 48px);
    margin-left: -48px;
  }
}
