:root {
  --blue: #0d6efd;
  --blue-dark: #075bd8;
  --blue-soft: #f3f8ff;
  --blue-border: #cfe0f8;
  --text: #111827;
  --muted: #5f6b7a;
  --line: #e3e9f0;
  --panel: #ffffff;
  --page: #ffffff;
  --shadow: 0 10px 25px rgba(13, 110, 253, 0.16);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  background: var(--page);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 74% 16%, rgba(13, 110, 253, 0.035), transparent 28rem),
    #fff;
  color: var(--text);
  font-family: Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
}

.support-page {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
  padding: 58px 0 54px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(520px, 1.04fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}

.hero-copy {
  max-width: 570px;
}

.brand {
  display: block;
  width: 185px;
  height: auto;
  margin: 0 0 46px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: 3rem;
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 600;
}

.lede {
  max-width: 540px;
  margin-bottom: 34px;
  color: #4d5968;
  font-size: clamp(1.22rem, 1.8vw, 1.55rem);
  line-height: 1.55;
}

.download-button {
  display: inline-flex;
  width: min(100%, 530px);
  min-height: 86px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid var(--blue);
  border-radius: 12px;
  background: linear-gradient(180deg, #1477ff, #0563ea);
  box-shadow: var(--shadow);
  color: #fff;
  font-size: clamp(1.16rem, 1.8vw, 1.4rem);
  font-weight: 700;
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.download-button svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.download-button:hover {
  background: linear-gradient(180deg, #0870ff, #0059d6);
  box-shadow: 0 13px 28px rgba(13, 110, 253, 0.2);
}

.download-button:focus-visible {
  outline: 4px solid rgba(13, 110, 253, 0.24);
  outline-offset: 4px;
}

.temporary-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0 0;
  color: #687486;
  font-size: 1rem;
  line-height: 1.5;
}

.temporary-note svg {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.download-guide {
  overflow: hidden;
  border: 1px solid var(--blue-border);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff 0%, #f5f9ff 100%);
}

.guide-copy {
  padding: 36px 44px 26px;
}

.guide-copy h2 {
  margin-bottom: 10px;
  font-size: clamp(1.65rem, 2.1vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.guide-copy p {
  max-width: 510px;
  margin-bottom: 0;
  color: #566170;
  font-size: 1.08rem;
  line-height: 1.55;
}

.browser-visual {
  margin: 0 36px;
  overflow: hidden;
  border: 1px solid #d8dee7;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.browser-toolbar {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 18px;
  align-items: center;
  min-height: 67px;
  padding: 0 20px;
  background: #f6f7f9;
  border-bottom: 1px solid #e4e7ec;
}

.browser-controls {
  display: flex;
  gap: 16px;
  color: #637083;
  font-size: 27px;
  line-height: 1;
}

.address-bar {
  height: 36px;
  border-radius: 999px;
  background: #fff;
}

.downloads-target {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: #fff;
}

.downloads-target svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: #344054;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-dots {
  color: #596579;
  font-size: 28px;
  line-height: 1;
}

.browser-content {
  position: relative;
  min-height: 230px;
  padding: 0 24px 24px;
}

.download-popover {
  position: relative;
  z-index: 2;
  width: min(360px, calc(100% - 100px));
  margin: 0 0 0 auto;
  padding: 20px 24px 0;
  border: 1px solid #dce2e9;
  border-top: 0;
  border-radius: 0 0 14px 14px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.popover-title {
  margin-bottom: 18px;
  font-size: 1.05rem;
  font-weight: 700;
}

.download-file {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 25px;
  gap: 13px;
  align-items: center;
  padding-bottom: 18px;
}

.file-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 5px;
  background: #111;
  color: #fff;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.95rem;
  font-weight: 700;
}

.file-meta {
  min-width: 0;
}

.file-meta strong {
  display: block;
  overflow: hidden;
  margin-bottom: 2px;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.94rem;
}

.file-meta span {
  color: #697586;
  font-size: 0.86rem;
}

.folder-icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #465367;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.show-downloads {
  margin: 0 -24px;
  padding: 15px 24px;
  border-top: 1px solid #edf0f4;
  color: #344054;
  font-size: 0.9rem;
}

.guide-arrow {
  position: absolute;
  z-index: 1;
  top: -5px;
  right: 16px;
  width: 94px;
  height: 126px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fallback-note {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 16px 42px;
  color: #0759c8;
  font-size: 1.04rem;
  font-weight: 650;
}

.info-icon {
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.steps {
  margin-top: 58px;
  padding: 36px 32px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
}

.steps > h2 {
  margin-bottom: 34px;
  text-align: center;
  font-size: clamp(1.65rem, 2.2vw, 2rem);
  letter-spacing: -0.03em;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.step {
  position: relative;
  min-width: 0;
  padding: 0 44px 6px;
  text-align: center;
}

.step + .step {
  border-left: 1px solid var(--line);
}

.step-icon-wrap {
  position: relative;
  width: 104px;
  height: 104px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #edf5ff;
}

.step-number {
  position: absolute;
  top: -7px;
  left: -5px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
}

.step-icon {
  width: 54px;
  height: 54px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step h3 {
  margin-bottom: 9px;
  font-size: 1.18rem;
  line-height: 1.3;
}

.step p {
  max-width: 280px;
  margin: 0 auto;
  color: #667085;
  font-size: 0.98rem;
  line-height: 1.55;
}

@media (max-width: 1050px) {
  .support-page {
    width: min(900px, calc(100% - 40px));
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .brand {
    margin-bottom: 34px;
  }

  .download-guide {
    max-width: 760px;
  }

  .step {
    padding-inline: 28px;
  }
}

@media (max-width: 760px) {
  .support-page {
    width: min(100% - 28px, 620px);
    padding: 32px 0;
  }

  .brand {
    width: 160px;
    margin-bottom: 30px;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }

  .lede {
    font-size: 1.12rem;
  }

  .download-button {
    min-height: 74px;
    padding: 0 22px;
    gap: 13px;
    text-align: center;
  }

  .download-button svg {
    width: 29px;
    height: 29px;
  }

  .guide-copy {
    padding: 28px 24px 20px;
  }

  .browser-visual {
    margin: 0 18px;
  }

  .browser-toolbar {
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    padding: 0 12px;
  }

  .browser-controls {
    display: none;
  }

  .address-bar {
    height: 31px;
  }

  .downloads-target {
    width: 39px;
    height: 39px;
  }

  .browser-content {
    min-height: 205px;
    padding: 0 14px 16px;
  }

  .download-popover {
    width: min(330px, calc(100% - 48px));
    padding: 17px 16px 0;
  }

  .show-downloads {
    margin-inline: -16px;
    padding-inline: 16px;
  }

  .guide-arrow {
    right: 2px;
    width: 68px;
  }

  .fallback-note {
    padding: 16px 22px;
    font-size: 0.96rem;
  }

  .steps {
    margin-top: 34px;
    padding: 30px 22px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .step {
    padding: 0 8px 26px;
  }

  .step + .step {
    padding-top: 28px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .step:last-child {
    padding-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .download-button {
    transition: none;
  }
}
