/* The iOS page keeps its established blue palette and native app photography. */
section[id]{scroll-margin-top:88px}
.preview-note{max-width:76ch;margin:22px 0 0;color:var(--muted);font-size:13px;line-height:1.7}
.screenshot-trigger{display:block;width:100%;padding:0;border:0;border-radius:inherit;background:transparent;cursor:zoom-in}
.screenshot-trigger:focus-visible{outline:3px solid #087cf0;outline-offset:5px}
.phone::after,.screen-shot::after{pointer-events:none}
.screen-shot img{aspect-ratio:1206/2622}
.theme-phone img{aspect-ratio:1206/2622}
.mac-section{background:#fff}
.mac-section .section-head{max-width:820px}
.hero .hero-assurance{margin:18px 0 0;font-size:13px;line-height:1.6;color:#aebdd0}
.mac-automations{display:flex;flex-wrap:wrap;gap:12px 28px;margin:26px 0 0;padding:0;list-style:none;color:#1764a8;font-size:15px;font-weight:700}
.mac-automations li{display:flex;align-items:center;gap:9px}
.mac-automations li::before{content:'✓';display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#eaf4ff;font-size:13px}
.mac-switch-note{max-width:95ch;margin:4px 0 0;color:var(--muted);font-size:13px;line-height:1.8}
.mac-benefits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:48px;margin-top:36px}
.mac-benefit{display:flex;align-items:flex-start;gap:18px;padding:28px 0;border-top:1px solid var(--line);min-width:0}
.mac-benefit>svg{flex:none;width:27px;height:27px;margin-top:3px;color:var(--blue)}
.mac-benefit>div{min-width:0}
.mac-pain{margin:0 0 8px;color:#46566b;font-size:16px;font-weight:600;line-height:1.6}
.mac-benefit h3{margin:0 0 12px;font-size:25px;line-height:1.3}
.mac-solution{margin:0;max-width:57ch;color:#425269;font-size:14px;line-height:1.8}
.mac-setup{margin-top:32px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:22px 0}
.mac-setup summary{display:flex;align-items:center;justify-content:space-between;gap:20px;cursor:pointer;list-style:none;font-size:18px;font-weight:750}
.mac-setup summary::-webkit-details-marker{display:none}
.mac-setup summary::after{content:'+';font-size:24px;font-weight:400;color:var(--blue)}
.mac-setup[open] summary::after{content:'−'}
.mac-setup summary:focus-visible{outline:3px solid var(--blue);outline-offset:5px}
.mac-setup .mac-steps{margin-top:28px}
.mac-preview{margin:44px 0 34px;padding:24px 40px 16px;border:1px solid var(--line);border-radius:28px;background:#edf4fa}
.mac-preview img{display:block;width:100%;height:auto;border-radius:14px;box-shadow:0 20px 45px rgba(23,48,80,.12)}
.mac-preview figcaption{margin-top:18px;text-align:center;color:var(--muted);font-size:12px}
.mac-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;padding:0;list-style:none;counter-reset:setup}
.mac-steps li{position:relative;padding:20px 0 0 48px;border-top:1px solid var(--line);counter-increment:setup;min-width:0}
.mac-steps li::before{content:counter(setup);position:absolute;left:0;top:20px;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;color:#087cf0;background:#eaf4ff;font-weight:750}
.mac-steps h3{font-size:21px;line-height:1.3}
.mac-steps p{margin:0;color:var(--muted);font-size:14px;line-height:1.8}
.mac-auth{margin-top:32px;padding:22px 26px;border-left:3px solid var(--blue);border-radius:0 16px 16px 0;background:#f0f7ff}
.mac-auth h3{font-size:18px;line-height:1.4}
.mac-auth p{margin:0;max-width:85ch;color:#425269;font-size:14px}
.screenshot-dialog{width:min(1000px,calc(100% - 24px));max-width:none;max-height:calc(100dvh - 24px);padding:16px 16px 12px;border:1px solid #dfe7f0;border-radius:22px;background:#fff;color:var(--ink);box-shadow:0 25px 100px rgba(0,0,0,.3)}
.screenshot-dialog::backdrop{background:rgba(7,17,31,.8);backdrop-filter:blur(8px)}
.screenshot-dialog figure{margin:0}
.screenshot-dialog img{display:block;max-height:calc(100dvh - 112px);width:100%;height:auto;object-fit:contain}
.screenshot-dialog figcaption{margin:10px 40px 0;text-align:center;color:var(--muted);font-size:12px;line-height:1.6}
.screenshot-close{position:absolute;right:14px;top:14px;z-index:1;display:grid;place-items:center;width:44px;height:44px;padding:0;line-height:1;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--ink);cursor:pointer;box-shadow:0 2px 12px #0001}
.screenshot-close svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;pointer-events:none}
.screenshot-close:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.nav-toggle:focus-visible,a:focus-visible{outline:3px solid var(--blue);outline-offset:4px}
.nav-toggle{display:none;width:36px;height:36px;padding:9px;border:1px solid var(--line);border-radius:10px;background:#fff;cursor:pointer}
.nav-toggle span{display:block;height:2px;margin:3px 0;background:var(--ink)}
@media(max-width:1000px){
  .nav-toggle{display:block}
  .nav-links.is-open{position:absolute;top:100%;left:0;display:flex;flex-wrap:wrap;justify-content:center;gap:18px 24px;width:100%;padding:22px 24px;border-bottom:1px solid var(--line);background:#fff;box-shadow:0 12px 20px #07111f0a}
}
@media(max-width:720px){
  .hero h1 br{display:none}
  .mac-benefits{grid-template-columns:1fr;margin-top:28px}
  .mac-benefit{gap:14px;padding:24px 0}
  .mac-benefit h3{font-size:22px}
  .mac-preview{padding:12px 10px;margin-top:32px;border-radius:18px}
  .mac-preview img{border-radius:8px}
  .mac-steps{grid-template-columns:1fr;gap:22px}
  .mac-auth{padding:18px}
  .screenshot-dialog{padding:12px 8px;border-radius:16px}
  .screenshot-dialog figcaption{margin:10px 15px 0}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* Searchable setup answers and crawlable language links. */
.setup-faq{background:var(--soft)}
.setup-faq-list{margin:28px 0;max-width:900px}
.setup-faq-list details{padding:20px 0;border-bottom:1px solid var(--line)}
.setup-faq-list summary{font-weight:650;cursor:pointer}
.setup-faq-list p{color:var(--muted);margin:16px 0 0}
.locale-links{display:flex;flex-wrap:wrap;gap:14px;font-size:13px}
.locale-links a:hover,.locale-links a:focus-visible{text-decoration:underline}

html[lang|="zh"] .hero h1 span{word-break:keep-all}
