/* One light palette across every archived route and nested theme boundary. */
:root,
.dark,
.site-home,
.site-landing,
.site-closing,
.site-workspace-product-window,
.astra-promotion-surface {
  color-scheme: light !important;
  --lightningcss-light: initial !important;
  --lightningcss-dark: ;
  --background: #fff !important;
  --foreground: #1d1d1f !important;
  --card: #fff !important;
  --card-foreground: #1d1d1f !important;
  --popover: #fff !important;
  --popover-foreground: #1d1d1f !important;
  --primary: #0071e3 !important;
  --primary-foreground: #fff !important;
  --secondary: #f5f5f7 !important;
  --secondary-foreground: #1d1d1f !important;
  --muted: #f5f5f7 !important;
  --muted-foreground: #6e6e73 !important;
  --accent: #ececf0 !important;
  --accent-foreground: #1d1d1f !important;
  --border: #dedee3 !important;
  --input: #f5f5f7 !important;
  --ring: #0071e3 !important;
  --content-link: #0066cc !important;
  --content-link-foreground: #fff !important;
  --selection: #e4effc !important;
  --selection-foreground: #1d1d1f !important;
  --sidebar: #f5f5f7 !important;
  --sidebar-foreground: #1d1d1f !important;
  --sidebar-border: #dedee3 !important;
  --choice-card-background: #fff !important;
  --choice-card-background-hover: #f5f5f7 !important;
  --choice-card-border: #dedee3 !important;
  --choice-card-stroke: #dedee3 !important;
  --choice-card-reflection: #ffffff52 !important;
  --choice-card-edge-highlight: #fff !important;
  --choice-card-edge-shaded: #1d1d1f14 !important;
  --choice-card-selected-highlight: #ffffff38 !important;
  --choice-card-shadow: 0 6px 20px #0000000a !important;
  --choice-card-shadow-hover: 0 10px 28px #00000012 !important;
  --agent-start-canvas: #f5f5f7 !important;
  --ink: #1d1d1f;
  --soft: #6e6e73;
  --mute: #76767b;
  --panel-shadow: 0 1px 3px #0000000a;
  --surface-elevated-background: #fff;
  --glass-overlay-background: #ffffffeb;
  --glass-modal-background: #fffffff5;
  --surface-border-elevated: #dedee3;
  --surface-shadow-elevated: #00000014;
  --surface-highlight: #fff;
  --surface-floating-shadow: 0 8px 32px #00000012;
}

html, body, html:has(.site-landing) { background: #fff !important; color: #1d1d1f; }
body * { color-scheme: light !important; }
.site-home * { letter-spacing: 0 !important; }
.site-home, .site-landing, .site-closing { background: #fff; color: #1d1d1f; }
.site-home :is(h1,h2,h3) { color: #1d1d1f; }
.site-nav { background: #ffffffed; border-bottom: 1px solid #e8e8ed; backdrop-filter: blur(20px); }
.site-home { --site-promotion-background: #f5f5f7; }
.site-nav-benefit { color: #515154; border-bottom: 1px solid #e8e8ed; }
.site-nav-benefit-copy { color: #515154; background: none; animation: none; }
.site-nav-benefit-badge, .site-nav-benefit-separator { color: #6e6e73; }
.site-nav-benefit-mac { filter: none; }
.site-nav-brand { flex: none; gap: 10px; font-weight: 500; }
.site-nav-mark { width: 42px; height: 24px; }
.site-nav-mark svg { width: 100%; height: 100%; }
.site-nav-brand .brand-name { font-size: 22px; font-weight: 500; }
.brand-name-beta { display: none; }
.site-nav-cta { flex: none; white-space: nowrap; color: #fff; background: #0071e3; box-shadow: none; }
.site-nav-cta:hover { background: #0077ed; }
.site-nav-family-badge { color: #0066cc; background: #e8f2ff; box-shadow: none; }
.site-nav-families > li[data-family="mac"][data-current]:not([data-open]) > .site-nav-family:not(:hover) {
  color: color-mix(in oklch, var(--foreground) 70%, transparent);
}
.site-nav-families > li[data-family="mac"][data-current]:not([data-open]) > .site-nav-family:not(:hover)::after {
  opacity: 0;
  left: 50%;
  right: 50%;
}
.site-nav-flyout, .site-nav-menu { background: #fff; }
.site-nav-scrim { background: #ffffff99; }
.site-home footer { background: #f5f5f7; color: #1d1d1f; border-color: #dedee3; }
.site-home footer [class*="border-white"] { border-color: #dedee3; }
.site-home footer [class*="text-white"] { color: #6e6e73; }
.site-home footer a[aria-label*="Macshop"] { font-size: 22px; font-weight: 500; gap: 10px; }
.site-home footer a[aria-label*="Macshop"] > svg { width: 42px; height: 24px; }
.site-home footer .pointer-events-none { display: none; }
.ms-footer-company { min-width: 0; max-width: 100%; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.ms-footer-company-attribution { color: #515154; }
.ms-footer-company-copyright { margin-top: 4px; color: #6e6e73; font-size: 11px; }
.learn-footer .ms-footer-company { flex-basis: 100%; grid-column: 1 / -1; }

/* Mac detail bands use the same surfaces as the product introduction. */
.hm-page {
  --hm-accent: #0066cc;
  --hm-bg: #fff;
  --hm-rule: #dedee3;
  --hm-soft: #6e6e73;
  --hm-faint: #76767b;
  background: #fff;
  color: #1d1d1f;
  border-radius: 0;
}
.hm-page :is(h1,h2,h3) { color: #1d1d1f; }
.hm-panel { background: #f5f5f7; box-shadow: none; border-radius: 8px; }
.hm-chapter { background: #fff; }
.hm-boss-card { background: #f5f5f7; border-radius: 0; }
.hm-boss-art b { box-shadow: none; }
.hm-stock-figures strong { color: #1d1d1f; }
.hm-stock-bar { background: #dedee3; }
.hm-stock-bar i { background: #0071e3; }
.hm-yours-card-body { background: #fffffff5; border-color: #dedee3; color: #1d1d1f; box-shadow: 0 12px 36px #00000012; border-radius: 8px; }
.hm-yours-card-meta { color: #6e6e73; }
.hm-yours-card-task { border-color: #dedee3; }
.hm-yours-card-task em { color: #29974b; background: none; animation: none; }
.hm-net-device, .hm-net-services li, .hm-tool-icon { color: #515154; background: #e8e8ed; box-shadow: none; border-radius: 8px; }
.hm-net-services li svg { color: #515154; }
.hm-net-link--view { background: repeating-linear-gradient(90deg,#a1a1a6 0 3px,transparent 3px 12px); }
.hm-net-link--work { box-shadow: none; }
.hm-screen-window, .hm-screen-window--remote { background: #fff; color: #1d1d1f; border: 1px solid #d2d2d7; box-shadow: 0 12px 32px #0000000f; border-radius: 8px; }
.hm-screen-window--remote::before, .hm-screen-window--remote::after { display: none; }
.hm-screen-bar { border-color: #e8e8ed; background: #fafafa; }
.hm-screen-bar i { background: #d2d2d7; }
.hm-screen-window--remote .hm-screen-bar span { color: #515154; }
.hm-screen-lines b { background: #e8e8ed; }
.hm-plan { border: 1px solid #dedee3; background: #fff; }
.hm-plan-price { background: #f5f5f7; }
.hm-plan-badges span { color: #515154; box-shadow: inset 0 0 0 1px #d2d2d7; }
.hm-plan-annual { border-radius: 8px; background: #e8f2ff; box-shadow: inset 0 0 0 1px #c4ddfb; }
.hm-plan-annual em { color: #fff; background: #0071e3; }
.hm-plan-annual:hover { box-shadow: inset 0 0 0 1px #0071e3; }
.hm-download a { background: #e8e8ed; color: #1d1d1f; }
.hm-download a:hover { background: #dedee3; }
.hm-closing { background: #f5f5f7; padding-top: 48px; }
.hm-page .hm-cta { background: #0071e3; color: #fff; box-shadow: none; }
.hm-page .hm-cta:hover { background: #0077ed; }

/* Marketplace, service detail, and support share the public light palette. */
.sv-page, .sv-dlg, .sv-mall-page, .sv-sp-page, .sv-sp-page .sv-sp-top, .sv-px {
  --sv-bg: #f5f5f7;
  --sv-fg: #1d1d1f;
  --sv-muted: #6e6e73;
  --sv-border: #dedee3;
  --sv-card: #fff;
  --sv-card-up: #ececf0;
  --sv-accent: #0066cc;
  --sv-ink: #1d1d1f;
  --sv-soft: #6e6e73;
  --sv-mute: #76767b;
  --sv-sp-band: #fff;
  color: #1d1d1f;
}
.sv-hero { background: #f5f5f7; border-radius: 0; }
.sv-hero .sv-pill, .sv-pill, .sv-sp-owner-edit { color: #fff; background: #0071e3; box-shadow: none; }
.sv-hero .sv-pill:hover, .sv-pill:hover { color: #fff; background: #0077ed; box-shadow: none; }
.sv-kindbar { background: #fffffff2; }
.sv-thumb, .sv-thumb-card > i, .sv-shot, .sv-live { background: #e8e8ed; }
.sv-h-title > span:first-child { color: #0066cc; background: none; }
.sv-px, .sv-vs-board { background: #f5f5f7; color: #1d1d1f; border-radius: 0; box-shadow: none; }
.sv-px::after { display: none; }
.sv-px-title { color: #1d1d1f; background: none; }
.sv-px-frame { background: #fff; box-shadow: 0 0 0 1px #dedee3, 0 20px 50px #0000000f; border-radius: 8px; }
.sv-px-chrome { background: #f5f5f7; box-shadow: inset 0 -1px #dedee3; }
.sv-px-chrome > span { background: #fff; color: #6e6e73; }
.sv-go { --sv-go-base: #0071e3; --sv-go-fill: #0077ed; color: #fff; }
.sv-go .sv-go-arrow { background: #fff; color: #0071e3; }
.sv-op { --op-muted: #6e6e73; --op-faint: #76767b; }
.sv-op-slide { border-radius: 8px; background: #f5f5f7; box-shadow: none; }
.sv-op-slide[data-id] { --a: #0066cc; }
.sv-op-cta, .sv-op-cta:hover { background: #0071e3; color: #fff; }
.sv-op-maker { background: #fff; box-shadow: 0 2px 12px #0000000a; border: 1px solid #e8e8ed; border-radius: 8px; }
.sv-op-good > b, .sv-sc-seller { color: #515154; }
.sv-op-float > span { box-shadow: 0 12px 30px -16px #00000030; border-radius: 8px; }
.sv-op-tabs i { background: #dedee3; }
.sv-sc-card { background: #fff; border: 1px solid #e8e8ed; border-radius: 8px; box-shadow: none; }
.sv-sc-card:hover { box-shadow: 0 12px 28px #0000000f; }
.sv-sc-lead { color: #6e6e73; }
.sv-sc-tip { color: #515154; background: #fff; box-shadow: 0 8px 24px #00000012; border-radius: 8px; }
.sv-op-sheet, .sv-op-guard, .sv-op-site { box-shadow: 0 16px 36px #00000012; }
.sv-page :is(.sv-sp-skills li,.sv-sp-socials a,.sv-sp-chips button) { color: #515154; }
.sv-page :is(.sv-sp-socials a,.sv-sp-chips button):hover { color: #1d1d1f; background: #e8e8ed; }
.sv-page :is(.sv-way-tabs,.sv-kindbar) button[aria-pressed="true"] { color: #fff; background: #0071e3; }
.sv-page :is(.sv-way-tabs,.sv-kindbar) button[aria-pressed="true"] em { color: #fff; background: #ffffff29; }
.mk, .mk-body, .mk[data-tone="dark"] {
  --mk-fg: #1d1d1f;
  --mk-inverse: #fff;
  --mk-muted: #6e6e73;
  --mk-line: #dedee3;
  --mk-stroke: #a1a1a6;
  --mk-card: #fff;
  --mk-card-line: #dedee3;
  --mk-accent: #0066cc;
}
.mk[data-tone="dark"], .mk-body { background: #f5f5f7; }
.mk-btn--solid, .mk[data-tone="dark"] .mk-btn--solid { background: #0071e3; color: #fff; box-shadow: none; }
.mk-standards-report { background: #f5f5f7; color: #1d1d1f; border: 1px solid #dedee3; border-radius: 8px; }
.mk-standards-report p { color: #6e6e73; }
.mk-standards-report .mk-btn--solid { color: #fff; background: #0071e3; }
.site-blog-page { --bl-ink: #1d1d1f; --bl-soft: #6e6e73; --bl-mute: #76767b; --bl-coral-on-dark: #0066cc; }
.site-blog-plate, .site-blog-doors, .site-blog-pitch, .site-blog-pitch:hover, .mb-price { background: #f5f5f7; color: #1d1d1f; border-radius: 0; }
.site-blog-plate::after, .site-blog-pitch::after { display: none; }
.site-blog-plate-title, .site-article-title { color: #1d1d1f; background: none; }

/* Shared landing illustrations are rendered on light surfaces as well. */
.site-type-display, .site-type-heading { color: #1d1d1f; background: none; -webkit-text-fill-color: currentColor; }
.site-pill--solid { background: #0071e3; color: #fff; }
.site-pill--solid:hover { background: #0077ed; box-shadow: none; }
.site-pill--ghost { color: #0066cc; box-shadow: inset 0 0 0 1px #d2d2d7; }
.site-hero-path, .site-hero-path:hover, .site-doors > li, .site-doors > li:hover { background: #f5f5f7; box-shadow: inset 0 0 0 1px #e8e8ed; }
.site-hero-path-mark { background: #e8e8ed; }
.site-hero-path-art img { background: #e8e8ed; box-shadow: 0 0 0 2px #fff; }
.site-hero-path--start .site-hero-path-go { background: #0071e3; color: #fff; }
.site-security-shell { background: #f5f5f7; color: #1d1d1f; border-color: #dedee3; box-shadow: none; border-radius: 8px; }
.site-security-shell::before, .site-security-aurora { display: none; }
.site-security-map { background: #fff; border-color: #dedee3; border-radius: 8px; }
.site-security-grid { background-image: radial-gradient(circle,#a1a1a6 .65px,transparent .75px); }
.site-security-core, .site-security-endpoint { background: #fff; border-color: #dedee3; box-shadow: 0 8px 28px #0000000a; }
.site-security-core-mark, .site-security-endpoint-chip, .site-security-agent-icons > span { background: #f5f5f7; color: #515154; border-color: #dedee3; box-shadow: none; }
.site-security :is(p,small,.site-security-eyebrow,.site-security-principle-meta span) { color: #6e6e73; }
.site-security-endpoint > strong { color: #1d1d1f; }
.site-security :is(.site-security-assurance,.site-security-principles,.site-security-principle,.site-security-orbit,.site-security-export-arrow) { border-color: #dedee3; }
.site-security-routes path { stroke: #a1a1a6; }
.site-security-route-ports circle { fill: #fff; stroke: #a1a1a6; }
.site-workspace-product-window, .site-workspace-product-main { background: #fff; border-color: #dedee3; border-radius: 8px; }
.site-workspace-product-sidebar, .site-workspace-product-account { background: #f5f5f7; border-color: #dedee3; }
.site-workspace-product-window :is(h3,.site-workspace-product-main-header,.site-workspace-product-new-chat,.site-workspace-product-navigation li,.site-workspace-product-session-list button) { color: #1d1d1f; }
.site-workspace-product-session-list li[data-active] button { background: #e8e8ed; color: #1d1d1f; }
.site-workspace-product-agent-fan [data-slot="choice-card-tilt-shell"]::after { background: #fff; }
.site-workspace-product-composer { background: #fff; border-color: #d2d2d7; }
.mp { --mp-soft: #6e6e73; --mp-mute: #76767b; --mp-blue: #0066cc; --mp-blue-text: #0066cc; }
.site-developer-api-allowance { background: #f5f5f7; border-color: #dedee3; border-radius: 8px; }
.site-developer-api-funding-card { background: #fff; border-color: #dedee3; }
.site-developer-api-allowance :is(h3,p,.site-developer-api-funding-description) { color: #515154; }
.astra-promotion-surface {
  --astra-promotion-background: none !important;
  --astra-shimmer-color: #515154;
  --astra-shimmer-highlight: #0066cc;
  background: #f5f5f7;
  border: 1px solid #e8e8ed;
}

@media (max-width: 1024px) {
  .hm-net-link--view { background: repeating-linear-gradient(180deg,#a1a1a6 0 3px,transparent 3px 12px); }
}
@media (max-width: 734px) {
  .site-nav-brand .brand-name { font-size: 20px; }
  .site-nav-mark { width: 36px; height: 22px; }
  .site-nav-brand { gap: 8px; }
}
@media (max-width: 374px) {
  .site-nav-brand .brand-name { font-size: 18px; }
  .site-nav-mark { width: 32px; }
  .site-nav-brand, .site-nav-actions { gap: 6px; }
  .site-nav-cta { padding-inline: 10px; font-size: 11px; }
  .site-nav-benefit { padding-inline: 12px; font-size: 10px; }
}
