.magic-product {
  background: #fff;
  color: #17191e;
  font-family: "MiSans", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.magic-product [hidden] { display: none !important; }
.magic-product :focus-visible { outline: 2px solid #2867d8 !important; outline-offset: 4px; }
.magic-product button { font-family: inherit; cursor: pointer; }
.magic-product svg { display: block; flex-shrink: 0; }
.magic-container { width: calc(100% - 48px); max-width: 1200px; margin: 0 auto; }
.magic-hero { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 564fr) minmax(0, 600fr); gap: 36px; align-items: center; min-height: 712px; padding: 36px 0; }
.magic-hero__copy { min-width: 0; }
.magic-hero__eyebrow { margin: 0 0 14px; font-size: 24px; font-weight: 600; line-height: 34px; }
.magic-hero__mobile-name { display: none; }
.magic-hero__title { margin: 0; color: #333; font-size: 56px; font-weight: 600; letter-spacing: -.03em; line-height: 74px; }
.magic-hero__description { margin: 36px 0 0; color: #5b687a; font-size: 18px; line-height: 30px; }
.magic-desktop-downloads { display: flex; align-items: flex-start; gap: 12px; margin-top: 48px; }
.magic-button { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; gap: 12px; min-height: 58px; padding: 12px 24px; border: 1px solid #b8c7dd; border-radius: 12px; background: #fff; color: #17191e; font-size: 18px; font-weight: 600; line-height: 26px; text-align: center; text-decoration: none; transition: box-shadow .18s, background-color .18s; }
.magic-button:hover { color: #17191e; background-color: #f5f8ff; }
.magic-button--primary, .magic-button--windows { width: 208px; }
.magic-button--windows { white-space: nowrap; }
.magic-button--primary, .magic-button--recommended { border: 0; background: linear-gradient(93.22deg, #4c78ec -3.55%, #86b0f6 102.73%); color: #fff; }
.magic-button--primary:hover, .magic-button--recommended:hover { background: linear-gradient(93.22deg, #3d6be0 -3.55%, #739fee 102.73%); color: #fff; }
.magic-button--mac { width: 220px; }
.magic-mac-download { position: relative; }
.magic-mac-chevron { transition: transform .18s; }
.magic-button--mac[aria-expanded="true"] .magic-mac-chevron { transform: rotate(180deg); }
.magic-mac-panel { position: absolute; top: calc(100% + 8px); left: 0; z-index: 12; width: 280px; padding: 8px; border-radius: 12px; background: #fff; box-shadow: 0 12px 36px #1b335b26; }
.magic-mac-panel::before { content: ""; position: absolute; top: -8px; left: 0; width: 100%; height: 8px; }
.magic-mac-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; padding: 10px 12px; border-radius: 8px; color: #17191e; }
.magic-mac-option + .magic-mac-option { margin-top: 4px; }
.magic-mac-option:hover, .magic-mac-option:focus-visible { background: #f1f6ff; color: #17191e; }
.magic-mac-option strong { display: block; font-size: 16px; font-weight: 600; line-height: 24px; }
.magic-mac-option small { display: block; margin-top: 4px; color: #5b687a; font-size: 13px; line-height: 20px; }
.magic-mac-option > svg { color: #2867d8; }
.magic-mac-help { margin-top: 4px; padding: 12px; border-top: 1px solid #e8ebef; color: #5b687a; font-size: 13px; line-height: 22px; }
.magic-mac-help p { margin: 0; }
.magic-mac-help__path { display: flex; align-items: center; gap: 4px; margin-top: 2px !important; white-space: nowrap; }
.magic-hero__visual { height: 640px; overflow: hidden; border-radius: 24px; }
.magic-hero__visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.magic-mobile-downloads { display: none; }
.magic-features { position: relative; z-index: 0; padding: 72px 0; background: #f8f9fc; }
.magic-features__heading { margin-bottom: 32px; }
.magic-features__heading h2 { margin: 0; font-size: 36px; font-weight: 600; letter-spacing: -.02em; line-height: 48px; }
.magic-features__heading p { margin: 14px 0 0; color: #5b687a; font-size: 18px; line-height: 30px; }
.magic-office { display: grid; grid-template-columns: minmax(0, 592fr) minmax(0, 608fr); align-items: center; min-height: 420px; overflow: hidden; border-radius: 16px; background: #fff; }
.magic-office__copy { padding: 36px 44px; }
.magic-office h3 { margin: 0; color: #222; font-size: 30px; font-weight: 600; line-height: 42px; }
.magic-office__copy > p { margin: 20px 0 0; color: #5b687a; font-size: 18px; line-height: 27px; }
.magic-office__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin: 24px 0 0; padding: 0; color: #2867d8; font-size: 14px; font-weight: 600; line-height: 22px; list-style: none; }
.magic-office__tags li + li { padding-left: 20px; border-left: 1px solid #e8ebef; }
.magic-office__image { display: block; width: 100%; height: 420px; object-fit: contain; }
.magic-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.magic-feature-card { display: flex; flex-direction: column; gap: 36px; min-width: 0; padding: 48px 36px; border-radius: 32px; background: #fff; }
.magic-feature-card__copy { min-height: 131px; }
.magic-feature-card h3 { margin: 0; color: #222; font-size: 28px; font-weight: 600; line-height: 38px; }
.magic-feature-card p { margin: 12px 0 0; color: #5b687a; font-size: 18px; line-height: 27px; }
.magic-feature-card > img { display: block; width: 100%; height: 276px; margin-top: auto; border-radius: 8px; object-fit: cover; object-position: center top; }

@media (prefers-reduced-motion: reduce) {
  .magic-product .wow { visibility: visible !important; animation: none !important; }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .magic-hero { gap: 24px; min-height: 600px; }
  .magic-hero__eyebrow { font-size: 21px; }
  .magic-hero__title { font-size: 44px; line-height: 1.35; }
  .magic-hero__description { font-size: 16px; line-height: 28px; }
  .magic-desktop-downloads { gap: 10px; margin-top: 36px; }
  .magic-button { gap: 8px; padding: 12px; font-size: 16px; }
  .magic-button--primary, .magic-button--windows { width: 174px; }
  .magic-button--mac { width: 172px; }
  .magic-hero__visual { height: 520px; }
  .magic-office__copy { padding: 32px 28px; }
  .magic-feature-card { padding: 36px 28px; }
  .magic-feature-card__copy { min-height: 158px; }
  .magic-feature-card > img { height: 230px; }
}

@media (min-width: 768px) and (max-width: 850px) {
  .magic-hero__title { font-size: 38px; }
  .magic-desktop-downloads { flex-wrap: wrap; }
  .magic-button--primary, .magic-button--windows, .magic-button--mac { width: 208px; }
  .magic-hero__visual { height: 560px; }
  .magic-features__heading h2 { font-size: 30px; }
  .magic-office__copy { padding: 28px 24px; }
  .magic-office__copy > p, .magic-feature-card p { font-size: 16px; }
  .magic-office__tags { gap: 12px; }
  .magic-office__tags li + li { padding-left: 12px; }
}

@media (max-width: 767px) {
  .magic-hero { width: 100%; grid-template-columns: minmax(0, 1fr) 132px; gap: 12px; min-height: 184px; padding: 18px 20px; }
  .magic-hero__eyebrow { margin-bottom: 8px; font-size: 36px; font-weight: 700; letter-spacing: -.02em; line-height: 46px; }
  .magic-hero__desktop-name { display: none; }
  .magic-hero__mobile-name { display: inline; }
  .magic-hero__title { font-size: 20px; font-weight: 600; letter-spacing: 0; line-height: 30px; }
  .magic-hero__description { display: none; }
  .magic-desktop-downloads { display: none; }
  .magic-hero__visual { width: 132px; height: 148px; border-radius: 12px; }
  .magic-hero__visual img { object-fit: contain; }
  .magic-mobile-downloads { display: block; }
  .magic-mobile-client, .magic-mobile-app { display: flex; flex-direction: column; gap: 12px; padding: 24px; }
  .magic-mobile-client { background: #eef5ff; }
  .magic-mobile-downloads h2 { margin: 0; font-size: 22px; font-weight: 700; line-height: 30px; }
  .magic-mobile-downloads p { margin: 0; color: #5b687a; font-size: 16px; line-height: 26px; }
  .magic-mobile-downloads .magic-button { width: 100%; height: 48px; min-height: 48px; gap: 10px; padding: 0 12px; border-radius: 8px; font-size: 16px; line-height: 24px; }
  .magic-copy-toast { position: fixed; z-index: 1000; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: max-content; max-width: calc(100% - 48px); min-height: 48px; padding: 12px 20px; border-radius: 10px; background: #202631; box-shadow: 0 6px 20px #20263118; color: #fff; font-family: inherit; font-size: 14px; font-weight: 400; line-height: 24px; text-align: center; overflow-wrap: anywhere; opacity: 0; transform: translate(-50%, -50%); pointer-events: none; }
  .magic-copy-toast--visible { opacity: 1; }
  .magic-features { display: none; }
}
