:root {
  color-scheme: light;
  --ink: #202429;
  --muted: #5d656f;
  --line: #e1e5e9;
  --blue: #0866d9;
  --green: #22744a;
  --surface: #f6f7f8;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
}

* { box-sizing: border-box; letter-spacing: 0; }
html { scroll-behavior: smooth; }
body { margin: 0; }
main { max-width: 1120px; padding: 38px 28px 0; margin: 0 auto; }
h1, h2, h3, p { margin: 0; }
a { color: var(--blue); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.intro { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; }
.app-icon { width: 64px; height: 64px; flex-shrink: 0; }
.eyebrow { color: var(--muted); font-size: 12px; font-weight: 500; }
h1 { font-size: 36px; line-height: 1.2; font-weight: 700; margin: 3px 0 5px; }
.intro-copy { font-size: 15px; color: var(--muted); }
.downloads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile {
  display: grid;
  grid-template-rows: 48px 44px 20px 46px 36px;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  min-width: 0;
  transition: border-color 180ms ease, background 180ms ease;
  animation: appear 350ms ease both;
}
.tile:nth-child(2) { animation-delay: 50ms; }
.tile:nth-child(3) { animation-delay: 100ms; }
.tile:hover { border-color: #bdc7d1; background: #f2f4f6; }
.platform { display: flex; align-items: center; gap: 12px; min-width: 0; }
.platform > img { width: 30px; height: 30px; flex-shrink: 0; object-fit: contain; filter: brightness(0); opacity: .82; }
.platform h2 { font-size: 20px; font-weight: 650; line-height: 1.25; }
.platform span { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.description { font-size: 14px; color: var(--muted); }
.status { font-size: 12px; font-weight: 600; color: var(--green); }
.links { min-width: 0; }
.button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 46px;
  padding: 0 12px;
  background: var(--ink);
  border: 1px solid transparent;
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background 180ms ease;
}
.button img { width: 18px; height: 18px; flex-shrink: 0; filter: brightness(0) invert(1); }
.button:hover { background: var(--blue); }
.button[aria-disabled="true"] { background: #e3e6e9; color: #656c74; cursor: not-allowed; }
.button[aria-disabled="true"] img { display: none; }
.fineprint { color: var(--muted); font-size: 12px; line-height: 1.5; }
.connection { padding: 30px 0; margin-top: 30px; border-top: 1px solid var(--line); }
.connection > h2 { font-size: 18px; font-weight: 650; margin-bottom: 18px; }
.connection-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.connection-steps li { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.number { display: inline-grid; place-items: center; width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; background: #edf0f3; color: #66707a; font-size: 12px; font-weight: 650; }
.connection-steps h3 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.connection-steps p { font-size: 13px; color: var(--muted); line-height: 1.5; }
.mac-guide { border-top: 1px solid var(--line); padding-top: 30px; padding-bottom: 34px; scroll-margin-top: 24px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.section-head h2 { font-size: 24px; font-weight: 650; margin-top: 3px; }
.section-head > p { font-size: 13px; color: var(--muted); padding-bottom: 4px; }
.mac-guide-content { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.mac-guide-player { position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #f0f1f3; }
.mac-guide-player video, .mac-guide-preview { display: block; width: 100%; height: 100%; object-fit: contain; }
.mac-guide-preview { position: absolute; inset: 0; visibility: hidden; background: #f0f1f3; }
.mac-guide-preview.visible { visibility: visible; }
.mac-guide-list { display: grid; gap: 3px; }
.mac-guide-step { display: flex; align-items: flex-start; gap: 12px; min-height: 62px; width: 100%; padding: 10px; text-align: left; font: inherit; color: inherit; border: 0; border-radius: 6px; background: transparent; cursor: pointer; transition: background 180ms ease; }
.mac-guide-step strong { display: block; font-size: 13px; font-weight: 600; line-height: 1.5; }
.step-copy { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.mac-guide-step:hover, .mac-guide-step.active { background: #f0f4f8; }
.mac-guide-step.active .number { background: var(--blue); color: white; }
footer { display: flex; gap: 12px; border-top: 1px solid var(--line); padding: 18px 0 22px; font-size: 12px; font-weight: 600; }
footer span { color: var(--muted); font-weight: 400; }

@keyframes appear { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 900px) {
  main { padding-left: 22px; padding-right: 22px; }
  .tile { padding: 18px; }
  .platform h2 { font-size: 18px; }
  .platform { gap: 9px; }
  .platform > img { width: 24px; height: 24px; }
  .mac-guide-content { grid-template-columns: minmax(0, 1fr) 290px; gap: 18px; }
}
@media (max-width: 719px) {
  main { padding: 24px 18px 0; }
  .intro { gap: 14px; margin-bottom: 22px; }
  .app-icon { width: 48px; height: 48px; }
  h1 { font-size: 30px; }
  .eyebrow { font-size: 11px; }
  .intro-copy { font-size: 13px; }
  .downloads { grid-template-columns: 1fr; gap: 12px; }
  .tile { grid-template-columns: minmax(0, 1fr) 124px; grid-template-rows: 44px auto auto; gap: 7px 12px; padding: 16px; }
  .platform { grid-column: 1; grid-row: 1; }
  .platform h2 { font-size: 17px; }
  .platform span { font-size: 11px; }
  .description { display: none; }
  .status { grid-column: 1; grid-row: 2; font-size: 11px; }
  .links { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .button { font-size: 12px; gap: 6px; padding: 0 8px; }
  .button img { width: 16px; height: 16px; }
  .fineprint { grid-column: 1 / -1; grid-row: 3; font-size: 11px; }
  .connection { margin-top: 26px; padding: 24px 0; }
  .connection-steps { grid-template-columns: 1fr; gap: 18px; }
  .mac-guide { padding-top: 24px; }
  .section-head { display: block; }
  .section-head h2 { font-size: 22px; }
  .section-head > p { margin-top: 7px; }
  .mac-guide-content { grid-template-columns: 1fr; gap: 14px; }
  .mac-guide-step { min-height: 60px; }
}
@media (max-width: 360px) {
  main { padding-left: 12px; padding-right: 12px; }
  .tile { padding: 14px; grid-template-columns: minmax(0, 1fr) 112px; gap: 7px 8px; }
  .platform { gap: 7px; }
  .platform > img { width: 20px; height: 20px; }
  .platform h2 { font-size: 15px; }
  .platform span { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
