/* Air-inspired light palette: quiet neutral surfaces, sky blue, and one blue action colour. */
:root[data-type="software"] {
  --bg: #fff;
  --bg-raised: #fff;
  --card: #f5f5f7;
  --card-hi: #eef1f4;
  --line: rgba(29, 29, 31, .1);
  --fg: #1d1d1f;
  --muted: #5f636b;
  --dim: #777b83;
  --accent: #0071e3;
  --accent-hi: #0068d2;
  --accent-hover: #005fc4;
  --accent-ink: #fff;
  --nav-bg: #fff;
  --panel: #fff;
  --panel-menu: #fff;
  --panel-border: rgba(24, 47, 78, .13);
  --panel-shadow: rgba(36, 74, 118, .12);
  --fill-1: rgba(24, 47, 78, .045);
  --fill-2: rgba(24, 47, 78, .08);
  --fill-3: rgba(24, 47, 78, .15);
  --hairline: rgba(24, 47, 78, .1);
  --knob: #fff;
  --pad: linear-gradient(160deg, #edf2f6, #dbe6ef);
  --kbd: linear-gradient(#edf3f8, #dfe7ef);
  --kbd-border: #bbcbd9;
  --kbd-shadow: #9eafbf;
  --offer-fg: #6b491d;
  --offer-strong: #754213;
  --tint: #eaf4fa;
  --tint-glow: rgba(0, 113, 227, .10);
  --tint-border: rgba(0, 113, 227, .26);
  --tint-border-strong: rgba(0, 113, 227, .5);
  --tint-dot: rgba(0, 113, 227, .3);
  --card-shadow: 0 1px 2px rgba(31, 65, 106, .045);
  --film-disc: #fff;
  --film-disc-ink: #17212d;
  --film-ring: rgba(255, 255, 255, .24);
  /* Apple Intelligence text gradient, sampled from apple.com/macbook-air (2026-11-28). */
  --spectrum: linear-gradient(90deg,
    #00a3f9 0%, #6b91fa 18%, #b981fc 30%, #dd77f1 40%, #ea6cd4 50%,
    #f162b1 60%, #f55c87 72%, #f85d52 82%, #f9651d 92%, #f76c00 100%);
  --spectrum-diag: linear-gradient(125deg,
    #00a3f9 4%, #b981fc 32%, #ea6cd4 56%, #f55c87 76%, #f76c00 98%);
  --radius: 22px;
  --max: 1120px;
  color-scheme: light;
}

html[data-type="software"] body { background: var(--bg); }
html[data-type="software"] .skip-link {
  position: fixed; z-index: 100; top: -70px; left: 16px; padding: 10px 16px;
  border-radius: 8px; color: #fff; background: var(--accent); font-weight: 600;
}
html[data-type="software"] .skip-link:focus { top: 8px; }
html[data-type="software"] a:focus-visible,
html[data-type="software"] button:focus-visible,
html[data-type="software"] summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* A clear first screen: the product takes the space the press badges once occupied. */
html[data-type="software"] .nav { backdrop-filter: none; -webkit-backdrop-filter: none; }
html[data-type="software"] .nav-inner { height: 60px; }
html[data-type="software"] .brand { font-size: 17px; }
html[data-type="software"] .nav-links { gap: 32px; }
html[data-type="software"] .nav-links a { font-size: 14px; font-weight: 500; }
html[data-type="software"] .pill { min-height: 38px; display: inline-flex; align-items: center; padding: 0 18px; }
html[data-type="software"] .button { background: var(--card-hi); }
html[data-type="software"] .button.primary { background: var(--accent); color: #fff; }
html[data-type="software"] .button.primary:hover { background: var(--accent-hover); }
html[data-type="software"] .button:active, html[data-type="software"] .pill:active { transform: translateY(1px); }
html[data-type="software"] .glow { background: none; color: inherit; }
html[data-type="software"] .hero .glow,
html[data-type="software"] .section-head .glow,
html[data-type="software"] .split-text .glow,
html[data-type="software"] .closing .glow {
  background: linear-gradient(90deg, #022640, #5786ab);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
html[data-type="software"] .glow.glow--spectrum {
  background: var(--spectrum);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
html[data-type="software"] .hero {
  max-width: none; padding: 0 0 72px; min-height: 0; text-align: center;
  background: linear-gradient(180deg, #fff 0%, #f4faff 42%, #dceef9 70%, #fff 100%);
}
html[data-type="software"] .hero-visual {
  padding: 0 16px 24px;
}
html[data-type="software"] .hero-copy {
  max-width: 1120px; margin: 0 auto; padding: 70px 16px 36px;
}
html[data-type="software"] .hero .eyebrow { color: var(--fg); font-size: 17px; margin-bottom: 8px; }
html[data-type="software"] .hero h1 {
  max-width: 1020px; margin: 0 auto; font-size: clamp(48px, 6vw, 76px); line-height: 1.05;
  letter-spacing: -.052em; font-weight: 650;
}
html[data-type="software"] .hero-sub {
  max-width: 700px; margin: 18px auto 24px; color: var(--muted);
  font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; font-weight: 400;
}
html[data-type="software"] .hero .cta { justify-content: center; gap: 12px; }
html[data-type="software"] .hero .button { min-width: 185px; padding: 11px 25px; font-size: 16px; }
html[data-type="software"] .hero .button.primary { background: var(--accent); color: #fff; }
html[data-type="software"] .hero .button.primary:hover { background: var(--accent-hover); }
html[data-type="software"] .hero .fine { margin-top: 13px; font-size: 13px; }
html[data-type="software"] .film {
  width: min(960px, 100%); margin: 0 auto;
  border: 1px solid rgba(29, 29, 31, .12); border-radius: 20px;
  background: #07111e; box-shadow: 0 24px 54px rgba(19, 54, 82, .15);
}
html[data-type="software"] .film__disc { box-shadow: 0 10px 30px rgba(0,0,0,.2); }
html[data-type="software"] .film__play:focus-visible .film__disc { outline-color: var(--accent); }
html[data-type="software"] .press-badges { gap: 14px 28px; margin: 0 auto; padding: 6px 16px 28px; opacity: .9; }
html[data-type="software"] .press-badges img { max-height: 46px; width: auto; }
html[data-type="software"] .press-badges a:first-child { padding: 3px 9px; border-radius: 8px; background: #17212d; }

/* Promotional price stays readable without turning the page into a neon campaign. */
html[data-type="software"] .deal { padding-top: 16px; }
html[data-type="software"] .deal__card { background: #f5f5f7; box-shadow: none; }
html[data-type="software"] .deal__eyebrow, html[data-type="software"] .deal__price { color: var(--muted); }
html[data-type="software"] .deal__tag { background: var(--accent); }
html[data-type="software"] .deal__price b { color: var(--fg); }
html[data-type="software"] .deal__clock > span { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }

/* Dark interlude: the display stays legible while the gesture surface is a slim, connected base. */
html[data-type="software"] .section-head.try-head { margin-top: 96px; }
html[data-type="software"] .stage-section {
  color: #f7f8fa;
  background: linear-gradient(180deg, #fff 0%, #090b10 11%, #090b10 91%, #fff 100%);
}
html[data-type="software"] .stage-section::before { display: none; }
html[data-type="software"] .stage-section .section-head p,
html[data-type="software"] .stage-caption { color: #b8c2d0; }
html[data-type="software"] .stage { filter: drop-shadow(0 30px 48px rgba(0,0,0,.25)); }
html[data-type="software"] .display {
  --wall: radial-gradient(60% 80% at 20% 90%, #c7e5ff 0%, transparent 65%),
    radial-gradient(50% 70% at 85% 20%, #d9e9ff 0%, transparent 65%),
    linear-gradient(145deg, #f4f9ff, #e5f0fc);
  background: #eef5fa; border-color: #161c26; outline-color: #3b4758;
  box-shadow: 0 20px 70px rgba(84, 133, 211, .18);
}
html[data-type="software"] .wallpaper::after { display: none; }
html[data-type="software"] .menubar { color: #304259; background: rgba(255,255,255,.72); }
html[data-type="software"] .veil { background: #2a4261; }
html[data-type="software"] .hud { color: var(--fg); background: rgba(255,255,255,.9); border-color: var(--line); box-shadow: 0 8px 30px rgba(0,0,0,.1); }
html[data-type="software"] .hud-icon { color: var(--fg); }
html[data-type="software"] .hud-bar i { background: #dbe6f2; }
html[data-type="software"] .hud-bar i.on { background: var(--accent); }
html[data-type="software"] .hud.muted .hud-bar i.on { background: #8daacb; }
html[data-type="software"] .now-playing { color: var(--fg); background: rgba(255,255,255,.92); border-color: var(--line); }
html[data-type="software"] .np-text span { color: var(--muted); }
html[data-type="software"] .art { background: linear-gradient(135deg, #0068d2, #61b8ff); }
html[data-type="software"] .win, html[data-type="software"] .claude-win { background: #fff; border-color: var(--line); box-shadow: 0 18px 46px rgba(32,66,105,.18); }
html[data-type="software"] .win-bar { color: var(--muted); background: #f3f6fa; border-bottom-color: var(--line); }
html[data-type="software"] .editor-side, html[data-type="software"] .chat-side { background: #f4f7fb; border-right-color: var(--line); }
html[data-type="software"] .editor-side i, html[data-type="software"] .chat-side i { background: #cad8e7; }
html[data-type="software"] .editor-side i.sel { background: rgba(0,113,227,.62); }
html[data-type="software"] .editor-code .p, html[data-type="software"] .editor-code .c { background: #9eafc2; }
html[data-type="software"] .chat-hello { color: #373b38; }
html[data-type="software"] .chat-input { background: #f9fbfe; border-color: var(--line); }
html[data-type="software"] .chat-input i { background: #d2deeb; }
html[data-type="software"] .site-mini { background: #f6faff; }
html[data-type="software"] .site-mini b { color: var(--fg); }
html[data-type="software"] .site-mini i { background: #d2e1f0; }
html[data-type="software"] .mini-button { background: var(--accent); color: #fff; }
html[data-type="software"] .lights i:nth-child(3) { background: #a9b7c8; }
html[data-type="software"] .hinge {
  height: 6px; margin: 0 2%; border-radius: 0 0 8px 8px;
  background: linear-gradient(#394554, #7d8998);
}
html[data-type="software"] .deck {
  position: relative; margin: 0 -2%; padding: 14px 20px 18px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #586575; border-top-color: #8493a5;
  border-radius: 3px 3px 22px 22px;
  background: linear-gradient(175deg, #657486, #3d4c5d 68%, #303c49);
  box-shadow: 0 18px 36px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.25);
}
html[data-type="software"] .trackpad {
  width: 47%; aspect-ratio: 2.6; border-radius: 10px;
  background: linear-gradient(155deg, #eaf1f7, #d5e2ed);
  border: 1px solid #9aafc3;
  box-shadow: inset 0 1px 3px rgba(55, 79, 105, .2), 0 1px 0 rgba(255,255,255,.35);
  cursor: default; touch-action: auto; pointer-events: none;
}
html[data-type="software"] .zone { background: rgba(0,113,227,.15); }
html[data-type="software"] .zone-corner { background: rgba(0,113,227,.26); }
html[data-type="software"] .zone em, html[data-type="software"] .corner-icon { color: #005fc4; }
html[data-type="software"] .finger {
  background: radial-gradient(circle at 40% 35%, #fff, #9dceff 50%, rgba(0,113,227,.42) 75%);
  box-shadow: 0 0 22px rgba(0,113,227,.55);
}
html[data-type="software"] .finger.tick::after { border-color: rgba(0,113,227,.85); }
html[data-type="software"] .zone.active { box-shadow: 0 0 24px rgba(0,113,227,.42), inset 0 0 12px rgba(0,113,227,.28); }
html[data-type="software"] .zone.hint { animation-name: hint-blue; }
@keyframes hint-blue { 50% { opacity: 1; box-shadow: 0 0 26px rgba(0,113,227,.55), inset 0 0 12px rgba(0,113,227,.3); } }
/* Moving spectrum appears only where the four diagrams mark an active edge. */
html[data-type="software"] .mini[data-highlight="left"] .m-left,
html[data-type="software"] .mini[data-highlight="right"] .m-right,
html[data-type="software"] .mini[data-highlight="bottom"] .m-bottom,
html[data-type="software"] .mini[data-highlight="corners"] .m-corner-l,
html[data-type="software"] .mini[data-highlight="corners"] .m-corner-r {
  background: var(--spectrum-diag);
  background-size: 280% 280%;
  animation: edge-spectrum 7s ease-in-out infinite alternate;
  box-shadow: 0 0 18px rgba(185, 129, 252, .3);
}
html[data-type="software"] .mini[data-highlight="corners"] .m-corner-r { animation-delay: -3.5s; }
@keyframes edge-spectrum {
  from { background-position: 0% 15%; }
  to { background-position: 100% 85%; }
}

/* Quiet surfaces and more room for the actual explanation. */
html[data-type="software"] .section { padding-top: 92px; padding-bottom: 92px; }
html[data-type="software"] .section-head { margin-bottom: 48px; }
html[data-type="software"] .section-head h2,
html[data-type="software"] .split-text h2,
html[data-type="software"] .faq h2,
html[data-type="software"] .closing h2 { font-size: clamp(36px, 4.8vw, 58px); letter-spacing: -.045em; }
html[data-type="software"] .section-head p { max-width: 670px; font-size: 18px; line-height: 1.55; }
html[data-type="software"] .zone-card, html[data-type="software"] .tile { border: 0; background: #f5f5f7; box-shadow: none; }
html[data-type="software"] .zone-card p { font-size: 16px; line-height: 1.55; }
html[data-type="software"] .settings-mock, html[data-type="software"] .menu-mock { box-shadow: 0 18px 48px var(--panel-shadow); }
html[data-type="software"] .mm-status i { background: var(--accent); }
html[data-type="software"] .checks li::before {
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.4' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
html[data-type="software"] .action { border-color: var(--line); }
html[data-type="software"] .action:hover { transform: translateY(-2px); }
html[data-type="software"] .plan { background: #f5f5f7; border-color: transparent; box-shadow: none; }
html[data-type="software"] .closing { background: linear-gradient(180deg, #fff, #eaf4fa); }

/* Shift only the app icon's teal glint to blue in the page UI. */
html[data-type="software"] .brand img,
html[data-type="software"] .menubar-right img,
html[data-type="software"] .site-mini img,
html[data-type="software"] .mm-head img,
html[data-type="software"] .plan-icon,
html[data-type="software"] .closing-icon { filter: hue-rotate(42deg) saturate(1.15); }

/* Keep the hero entrance; all information below it is present without a scroll fade. */
html[data-type="software"].js .reveal { opacity: 1; transform: none; transition: none; }
html[data-type="software"].js .hero .reveal { transition: opacity .5s ease, transform .5s ease; }
html[data-type="software"].js .hero .reveal:not(.in) { opacity: 0; transform: translateY(12px); }

@media (max-width: 900px) {
  html[data-type="software"] .deck { margin-left: 0; margin-right: 0; }
}

@media (max-width: 640px) {
  html[data-type="software"] .nav-inner { height: 56px; }
  html[data-type="software"] .hero { min-height: 0; padding: 0 0 56px; }
  html[data-type="software"] .hero-visual { padding: 0 20px 10px; }
  html[data-type="software"] .hero-copy { padding: 54px 20px 30px; }
  html[data-type="software"] .hero h1 { font-size: clamp(40px, 10.5vw, 58px); }
  html[data-type="software"] .hero-sub { font-size: 18px; margin: 14px auto 24px; }
  html[data-type="software"] .hero .cta { width: 100%; gap: 10px; }
  html[data-type="software"] .hero .button { width: 100%; }
  html[data-type="software"] .hero .fine { max-width: 280px; }
  html[data-type="software"] .film { margin-top: 0; }
  html[data-type="software"] .press-badges { padding-bottom: 14px; }
  html[data-type="software"] .section { padding: 72px 20px; }
  html[data-type="software"] .section-head.try-head { margin-top: 72px; }
  html[data-type="software"] .section-head p { font-size: 17px; }
  html[data-type="software"] .deck { padding: 9px 12px 11px; border-radius: 3px 3px 16px 16px; }
  html[data-type="software"] .trackpad { width: 58%; border-radius: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html[data-type="software"].js .hero .reveal { opacity: 1; transform: none; transition: none; }
  html[data-type="software"] .zone.hint { animation: none; }
  html[data-type="software"] .mini[data-highlight] i { animation: none; }
}
