:root {
  --download-bg: #ffffff;
  --download-text: #050505;
  --download-muted: #626975;
  --download-soft: #f6f8fb;
  --download-line: #dce5ef;
  --download-shadow: 0 34px 90px rgba(61, 112, 174, 0.18);
  --download-radius: 24px;
  --download-display: "Courier New", Courier, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--download-bg);
  color: var(--download-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.download-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(18px);
}

.download-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
}

.download-brand span {
  font-family: var(--download-display);
  font-weight: 800;
}

.download-brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  box-shadow: 0 8px 22px rgba(2, 6, 23, 0.08);
}

.download-nav nav {
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 15px;
  font-weight: 650;
}

.download-nav nav a {
  text-decoration: none;
  color: #171717;
}

.download-nav nav a:hover {
  color: #4b5563;
}

.download-hero {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 122px 24px 58px;
  overflow: hidden;
}

.download-copy {
  position: relative;
  z-index: 2;
  width: min(980px, 100%);
  text-align: center;
}

.download-copy h1 {
  margin: 0;
  color: #000000;
  font-family: var(--download-display);
  font-size: 104px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.04;
}

.download-copy p {
  width: min(620px, 100%);
  margin: 26px auto 0;
  color: var(--download-muted);
  font-size: 22px;
  font-weight: 440;
  line-height: 1.45;
}

.download-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.mac-download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  min-height: 84px;
  min-width: min(100%, 390px);
  padding: 0 44px;
  border-radius: 999px;
  background: #000000;
  color: #ffffff;
  text-decoration: none;
  font-size: 27px;
  font-weight: 780;
  letter-spacing: 0;
  box-shadow: 0 17px 38px rgba(0, 0, 0, 0.19), inset 0 -1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.mac-download-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 23px 48px rgba(0, 0, 0, 0.24), inset 0 -1px 0 rgba(255, 255, 255, 0.14);
}

.mac-download-button:focus-visible,
.zip-download-link:focus-visible,
.voice-command button:focus-visible,
.download-nav a:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.52);
  outline-offset: 4px;
}

.apple-mark {
  display: inline-grid;
  place-items: center;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: 35px;
  line-height: 1;
}

.zip-download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 22px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #24272d;
  text-decoration: none;
  font-size: 15px;
  font-weight: 720;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.browser-line {
  margin-top: 20px !important;
  font-size: 15px !important;
}

.browser-line a {
  text-underline-offset: 4px;
}

.product-preview {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  width: min(1010px, 100%);
  min-height: 438px;
  margin-top: 70px;
  overflow: hidden;
  border: 1px solid var(--download-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--download-shadow);
}

.preview-sidebar {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 22px 18px;
  border-right: 1px solid #e8eef5;
  background: linear-gradient(180deg, #fbfcfe 0%, #f5f8fc 100%);
}

.preview-window-controls {
  display: flex;
  gap: 8px;
}

.preview-window-controls span {
  width: 13px;
  height: 13px;
  border-radius: 999px;
}

.preview-window-controls span:nth-child(1) {
  background: #ff5f57;
}

.preview-window-controls span:nth-child(2) {
  background: #ffbd2e;
}

.preview-window-controls span:nth-child(3) {
  background: #28c840;
}

.preview-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.preview-brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 9px 22px rgba(2, 6, 23, 0.08);
}

.preview-brand strong {
  font-size: 16px;
  font-weight: 780;
}

.preview-sidebar nav {
  display: grid;
  gap: 8px;
}

.preview-sidebar nav span {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border-radius: 12px;
  padding: 13px 14px;
  color: #4a5260;
  font-size: 14px;
  font-weight: 690;
}

.preview-sidebar nav svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.85;
}

.preview-sidebar nav b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: inherit;
  font-weight: inherit;
}

.preview-sidebar nav .is-active {
  background: #ffffff;
  color: #050505;
  box-shadow: 0 9px 25px rgba(15, 23, 42, 0.07);
}

.preview-main {
  display: grid;
  align-content: start;
  gap: 34px;
  padding: 64px 36px 36px;
}

.voice-command {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  width: 100%;
  min-height: 82px;
  padding: 12px 16px 12px 24px;
  border: 1px solid #dbe3ee;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 17px 42px rgba(15, 23, 42, 0.08);
  color: #606875;
  font-size: 17px;
  font-weight: 580;
}

.mic-icon {
  width: 28px;
  height: 28px;
  color: #050505;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
}

.voice-command button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 16px;
  background: #050505;
  color: #ffffff;
  cursor: pointer;
}

.voice-command button i {
  display: block;
  width: 3px;
  border-radius: 999px;
  background: currentColor;
}

.voice-command button i:nth-child(1) {
  height: 17px;
}

.voice-command button i:nth-child(2) {
  height: 27px;
}

.voice-command button i:nth-child(3) {
  height: 21px;
}

.recent-actions {
  display: grid;
  gap: 14px;
}

.recent-actions p {
  margin: 0 0 2px;
  color: #687182;
  font-size: 15px;
  font-weight: 690;
}

.recent-actions article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 86px;
  padding: 16px;
  border: 1px solid #e4eaf2;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.055);
}

.action-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.1);
}

.action-icon svg {
  width: 32px;
  height: 32px;
  display: block;
}

.action-icon.gmail {
  background: #f8fbff;
}

.action-icon.calendar {
  background: #f6f8ff;
}

.action-icon.slack {
  background: #ffffff;
}

.recent-actions strong {
  display: block;
  color: #111111;
  font-size: 15px;
  font-weight: 780;
}

.recent-actions small {
  display: block;
  margin-top: 4px;
  color: #687182;
  font-size: 13px;
  line-height: 1.35;
}

.recent-actions em {
  justify-self: end;
  min-width: 88px;
  padding: 8px 11px;
  border-radius: 999px;
  background: #e4f7e7;
  color: #188038;
  font-size: 12px;
  font-style: normal;
  font-weight: 780;
  text-align: center;
}

.download-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(980px, calc(100% - 48px));
  margin: 0 auto 92px;
  overflow: hidden;
  border: 1px solid #e5edf5;
  border-radius: 18px;
  background: #e5edf5;
  box-shadow: 0 24px 58px rgba(15, 23, 42, 0.07);
}

.download-details div {
  min-height: 132px;
  padding: 28px;
  background: #ffffff;
}

.download-details strong {
  display: block;
  font-size: 21px;
  font-weight: 820;
}

.download-details span {
  display: block;
  margin-top: 10px;
  color: #6a7280;
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 860px) {
  .download-nav {
    width: min(100% - 32px, 720px);
    padding: 18px 0;
  }

  .download-nav nav {
    gap: 18px;
    font-size: 14px;
  }

  .download-hero {
    padding: 112px 16px 42px;
  }

  .download-copy h1 {
    font-size: 64px;
  }

  .download-copy p {
    font-size: 18px;
  }

  .product-preview {
    grid-template-columns: 1fr;
    min-height: auto;
    margin-top: 52px;
  }

  .preview-sidebar {
    min-height: 126px;
    border-right: 0;
    border-bottom: 1px solid #e8eef5;
  }

  .preview-sidebar nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .preview-sidebar nav span {
    display: flex;
    justify-content: center;
    gap: 7px;
    padding: 11px 6px;
    font-size: 13px;
  }

  .preview-sidebar nav svg {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
  }

  .preview-sidebar nav b {
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
  }

  .preview-sidebar nav span:nth-child(n + 4) {
    display: none;
  }

  .preview-main {
    padding: 28px 18px 22px;
  }

  .download-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .download-brand {
    font-size: 21px;
  }

  .download-nav nav a:not(:last-child) {
    display: none;
  }

  .download-copy h1 {
    font-size: 52px;
  }

  .mac-download-button {
    width: 100%;
    min-height: 74px;
    padding: 0 22px;
    font-size: 24px;
  }

  .zip-download-link {
    width: 100%;
  }

  .voice-command {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-left: 18px;
  }

  .mic-icon {
    display: none;
  }

  .recent-actions article {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .recent-actions em {
    grid-column: 2;
    justify-self: start;
  }
}
