* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, system-ui, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

html, body {
  min-height: 100%;
  color-scheme: light dark;
}

body {
  background: #fff;
  color: #000;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.mac {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 80px;
}

.mac-header {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 78px;
  padding: 24px 0;
}

.mac-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.mac-title {
  display: flex;
  align-items: center;
  gap: 20px;
}
.mac-title img {
  display: block;
  width: 128px;
  height: 128px;
  flex-shrink: 0;
  margin: -12px;
}
.mac-title .text {
  display: flex;
  gap: 20px;
  font-size: 26px;
  font-weight: 600;
  line-height: normal;
  white-space: nowrap;
}
.mac-title .text .tagline {
  opacity: 0.5;
}

.mac-cta {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.mac-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: filter 0.2s, background 0.2s;
}
.mac-cta svg {
  width: auto;
  height: 18px;
  flex-shrink: 0;
}
.mac-cta .primary {
  padding-left: 10px;
  background: #5B54E8;
  color: #fff;
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.25);
}
.mac-cta .primary:hover {
  filter: brightness(1.08);
}
.mac-cta .secondary {
  background: rgba(91, 84, 232, 0.08);
  color: #5B54E8;
  box-shadow: inset 0 0 2px rgba(91, 84, 232, 0.12);
}
.mac-cta .secondary svg path {
  fill: currentColor;
}
.mac-cta .secondary:hover {
  background: rgba(91, 84, 232, 0.14);
}

.mac-display {
  flex: none;
  width: 100%;
}

.display-frame {
  position: relative;
  width: 100%;
}

.display-img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.display-screen {
  position: absolute;
  left: 2.291667%;
  top: 3.173077%;
  width: 95.416667%;
  height: 74.423077%;
  overflow: hidden;
}
.display-screen img,
.display-screen video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

@media screen and (max-width: 1140px) {
  .mac-title .text {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .mac-title .tagline {
    font-size: 20px;
  }
}
@media screen and (max-width: 900px) {
  .mac-cta {
    flex-direction: column;
    align-items: flex-end;
  }
}
@media screen and (max-width: 740px) {
  .mac {
    padding: 0 40px;
  }
  .mac-bar {
    flex-direction: column;
    align-items: center;
    gap: 54px;
  }
  .mac-title {
    flex-direction: column;
    align-items: center;
    gap: 28px;
    text-align: center;
  }
  .mac-title .text {
    align-items: center;
  }
  .mac-cta {
    align-items: center;
  }
}
@media screen and (max-width: 380px) {
  .mac {
    padding: 0 24px;
  }
}
@media (prefers-color-scheme: dark) {
  body {
    background: #000;
    color: #fff;
  }
  .mac-cta .secondary {
    background: rgba(157, 152, 255, 0.12);
    color: #9d98ff;
    box-shadow: inset 0 0 2px rgba(157, 152, 255, 0.18);
  }
  .mac-cta .secondary:hover {
    background: rgba(157, 152, 255, 0.2);
  }
}
