@font-face { font-family: 'IBM Plex Sans'; src: url('/brand/ibm-plex-sans-400.ttf'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('/brand/ibm-plex-sans-500.ttf'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('/brand/ibm-plex-sans-600.ttf'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('/brand/ibm-plex-mono-400.ttf'); font-weight: 400; font-display: swap; }
:root { color-scheme: light; --green: #35cf3f; --ink: #101312; --muted: #626964; --line: #dfe4df; --paper: #f5f7f4; }
html[data-theme='dark'] { color-scheme: dark; --ink: #edf2ee; --muted: #a9b2ac; --line: #343b36; --paper: #111512; }
* { box-sizing: border-box; } html { background: var(--paper); } body { margin: 0; color: var(--ink); background: var(--paper); font-family: 'IBM Plex Sans', Arial, sans-serif; } button, a { font: inherit; }
.site-shell { min-height: 100vh; padding: 0 clamp(22px,5vw,82px); background-color: var(--paper); background-image: linear-gradient(rgba(16,19,18,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(16,19,18,.035) 1px,transparent 1px); background-size: 64px 64px; }
.site-header { height: 104px; max-width: 1380px; margin: auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #cfd5cf; }
.brand-link { display: block; }
.brand-logo { display: block; width: clamp(230px,25vw,355px); height: auto; }
.brand-logo-dark { display: none; }
.eyebrow,.kicker,.card-topline,.mono { font-family: 'IBM Plex Mono',monospace; text-transform: uppercase; letter-spacing: .08em; } .eyebrow { font-size: 12px; color: #4f5751; }
.header-tools { display: flex; align-items: center; gap: 18px; }
.theme-toggle { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #cbd2cc; border-radius: 50%; background: rgba(255,255,255,.7); color: #303632; cursor: pointer; font-size: 19px; line-height: 1; transition: transform .18s,background .18s,border-color .18s; }
.theme-toggle:hover { transform: translateY(-1px); background: white; border-color: #abb4ad; }
.hero { max-width: 1260px; margin: auto; min-height: calc(100vh - 172px); display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: clamp(44px,7vw,110px); padding: 64px 0; }
.kicker { color: #313732; font-size: 12px; display: flex; align-items: center; gap: 10px; } .kicker i { width: 8px; height: 8px; display: inline-block; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 5px rgba(53,207,63,.12); }
h1 { margin: 22px 0 25px; font-size: clamp(48px,5.7vw,82px); line-height: .96; letter-spacing: -.052em; font-weight: 600; } .hero-copy>p { font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 540px; }
.trust-row { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 18px; font-family: 'IBM Plex Mono'; font-size: 11px; text-transform: uppercase; color: #515853; } .trust-row span::before { content: '✓'; color: #159d20; margin-right: 7px; font-weight: bold; }
.diagnostic-card { background: rgba(255,255,255,.96); border: 1px solid #d9dfda; box-shadow: 0 24px 70px rgba(13,26,16,.1); padding: clamp(24px,3.2vw,42px); }
.card-topline { display: flex; align-items: center; justify-content: space-between; padding-bottom: 22px; border-bottom: 1px solid var(--line); font-size: 11px; } .status-pill { padding: 7px 10px; border: 1px solid; font-size: 10px; }
.status-pill.testing { color: #5d645f; background: #f0f2f0; border-color: #d7dbd8; } .status-pill.ready { color: #107e19; background: #eefbef; border-color: #bcebc0; } .status-pill.issue { color: #b53b22; background: #fff4f1; border-color: #f2c5bb; }
.status-pill.enhanced { color: #107e19; background: #eefbef; border-color: #bcebc0; box-shadow: inset 3px 0 var(--green); }
.check-row { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; min-height: 76px; border-bottom: 1px solid var(--line); animation: rise .45s both; animation-delay: var(--delay); }
.check-icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-weight: 600; } .check-icon.running,.check-icon.waiting { border: 2px solid #d6dbd7; border-top-color: var(--green); animation: spin .9s linear infinite; } .check-icon.pass { color: #087411; background: #dff8e1; } .check-icon.fail { color: white; background: #d4492c; }
.check-icon.unavailable { color: #795600; background: #fff0bd; }
.check-copy { display: flex; flex-direction: column; gap: 3px; } .check-copy strong { font-size: 15px; font-weight: 500; } .check-copy small { color: #777e79; font-size: 12px; }
.enhanced-summary { display: flex; gap: 14px; } .enhanced-summary span { white-space: nowrap; }
.check-result { font: 10px 'IBM Plex Mono'; text-transform: uppercase; letter-spacing: .05em; } .check-result.pass { color: #13801b; } .check-result.fail { color: #ba3c22; } .check-result.running,.check-result.waiting { color: #737a75; }
.check-result.unavailable { color: #795600; }
.result-panel { display: grid; grid-template-columns: 40px 1fr; gap: 14px; margin-top: 24px; padding: 20px; border-left: 3px solid; } .result-panel.ready { background: #f0faf1; border-color: var(--green); } .result-panel.issue { background: #fff3f0; border-color: #d84a2d; }
.result-panel.enhanced { background: #f0faf1; border-color: var(--green); box-shadow: inset 0 0 0 1px #d6f2d8; }
.result-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #062d09; font-weight: 600; } .result-panel.issue .result-mark { background: #d84a2d; color: white; }
.result-panel h2 { margin: 2px 0 7px; font-size: 18px; font-weight: 600; } .result-panel p { margin: 5px 0; color: #545b56; line-height: 1.45; font-size: 13px; }
.platform-note { margin-top: 18px; padding: 13px 15px; display: flex; flex-direction: column; gap: 3px; background: #f4f6f4; border: 1px solid #dfe4df; color: #59605b; font-size: 12px; line-height: 1.45; }
.platform-note strong { color: #343a36; font-size: 13px; font-weight: 600; } .platform-note.warning { background: #fff7df; border-color: #ead69d; } .platform-note.warning strong { color: #704f00; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; } .button { min-height: 48px; padding: 0 18px; display: flex; align-items: center; justify-content: center; border: 1px solid; text-decoration: none; font-weight: 500; cursor: pointer; transition: transform .18s,background .18s; } .button:hover { transform: translateY(-1px); }
.button.primary { grid-column: 1/-1; color: #071d09; background: var(--green); border-color: #25b62f; justify-content: space-between; } .button.primary:hover { background: #42da4c; } .button.secondary { background: white; color: var(--ink); border-color: #ccd2cd; } .button:disabled { cursor: wait; opacity: .55; transform: none; }
.button.primary.mac-download { grid-column: auto; } .button.mac-download { justify-content: space-between; }
.text-button { color: #383e3a; background: transparent; border: 0; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; } .details-toggle { width: 100%; margin-top: 25px; padding: 18px 0 0; border: 0; border-top: 1px solid var(--line); background: transparent; display: grid; grid-template-columns: 1fr auto 20px; gap: 15px; text-align: left; color: #555c57; font-size: 12px; cursor: pointer; }
.details-toggle .mono { font-size: 10px; } .details-panel { white-space: pre-wrap; overflow-wrap: anywhere; margin: 16px 0 0; padding: 18px; background: #121614; color: #d9e0da; font: 11px/1.65 'IBM Plex Mono'; }
footer { max-width: 1380px; margin: auto; min-height: 68px; border-top: 1px solid #cfd5cf; display: flex; justify-content: space-between; align-items: center; font: 10px 'IBM Plex Mono'; text-transform: uppercase; letter-spacing: .08em; color: #626963; }
html[data-theme='dark'] .site-shell { background-image: linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px); }
html[data-theme='dark'] .site-header,html[data-theme='dark'] footer { border-color: #343b36; }
html[data-theme='dark'] .brand-logo-light { display: none; }
html[data-theme='dark'] .brand-logo-dark { display: block; }
html[data-theme='dark'] .eyebrow,html[data-theme='dark'] .kicker,html[data-theme='dark'] .trust-row,html[data-theme='dark'] footer { color: #a7b0aa; }
html[data-theme='dark'] .theme-toggle { background: #1b211d; border-color: #414a43; color: #f1f5f2; }
html[data-theme='dark'] .theme-toggle:hover { background: #252d27; border-color: #59635b; }
html[data-theme='dark'] .diagnostic-card { background: rgba(25,30,27,.97); border-color: #3a433c; box-shadow: 0 24px 70px rgba(0,0,0,.36); }
html[data-theme='dark'] .check-copy small,html[data-theme='dark'] .check-result.running,html[data-theme='dark'] .check-result.waiting { color: #98a29b; }
html[data-theme='dark'] .status-pill.testing { color: #b8c0ba; background: #282e2a; border-color: #414942; }
html[data-theme='dark'] .status-pill.ready,html[data-theme='dark'] .status-pill.enhanced { color: #73e47b; background: #18351c; border-color: #2d6a33; }
html[data-theme='dark'] .result-panel.ready,html[data-theme='dark'] .result-panel.enhanced { background: #172d1a; }
html[data-theme='dark'] .result-panel.enhanced { box-shadow: inset 0 0 0 1px #29532e; }
html[data-theme='dark'] .result-panel.issue { background: #371d18; }
html[data-theme='dark'] .result-panel p { color: #b8c1ba; }
html[data-theme='dark'] .platform-note { background: #222824; border-color: #3a433c; color: #b0b9b2; }
html[data-theme='dark'] .platform-note strong { color: #eef2ef; }
html[data-theme='dark'] .platform-note.warning { background: #352d18; border-color: #665a31; }
html[data-theme='dark'] .platform-note.warning strong { color: #f0ce72; }
html[data-theme='dark'] .button.secondary { background: #252b27; color: #edf2ee; border-color: #465048; }
html[data-theme='dark'] .text-button,html[data-theme='dark'] .details-toggle { color: #b8c1ba; }
html[data-theme='dark'] .details-panel { background: #090b0a; border: 1px solid #333a35; }
@keyframes spin { to { transform: rotate(360deg); } } @keyframes rise { from { opacity: 0; transform: translateY(4px); } }
@media (max-width:920px) { .hero { grid-template-columns: 1fr; padding-top: 48px; } .hero-copy { max-width: 650px; } }
@media (max-width:580px) { .site-shell { padding: 0 16px; } .site-header { height: 84px; } .eyebrow { display: none; } .hero { padding: 38px 0; gap: 36px; } h1 { font-size: 45px; } .diagnostic-card { padding: 20px 16px; margin: 0 -6px; } .check-row { grid-template-columns: 36px 1fr; } .check-result { display: none; } .actions { grid-template-columns: 1fr; } .button.primary { grid-column: auto; } .details-toggle { grid-template-columns: 1fr 18px; } .details-toggle .mono { display: none; } footer span:nth-child(2) { display: none; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { animation-duration: .01ms !important; scroll-behavior: auto !important; } }

/* --- download actions (clarified) --- */
.actions { display: block; margin-top: 24px; }
.download-block { padding: 16px; border: 1px solid var(--line); background: #fff; }
.download-head { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-bottom: 14px; }
.download-tag { padding: 3px 9px; background: var(--green); color: #071d09; font-size: 10.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.download-head strong { font-size: 15px; font-weight: 600; }
.download-head small { color: var(--muted); font-size: 12px; line-height: 1.45; }
.download-buttons { display: grid; grid-template-columns: 1fr; gap: 10px; }
.download-buttons.two-up { grid-template-columns: 1fr 1fr; }
.download-buttons .button.primary { grid-column: auto; }
.button.download-button { min-height: 60px; padding: 11px 16px; gap: 13px; justify-content: flex-start; text-align: left; }
.dl-icon { flex: 0 0 auto; }
.dl-text { display: flex; flex-direction: column; gap: 2px; line-height: 1.3; }
.dl-text strong { font-size: 14px; font-weight: 600; }
.dl-text small { font-size: 11.5px; opacity: .8; }
.dl-hint { margin: 12px 0 0; color: var(--muted); font-size: 11.5px; line-height: 1.5; }
.dl-hint strong { color: var(--ink); font-weight: 600; }
.utility-actions { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; margin-top: 14px; }
html[data-theme='dark'] .download-block { background: #1b201d; }
@media (max-width:580px) { .download-buttons.two-up { grid-template-columns: 1fr; } .utility-actions { grid-template-columns: 1fr; } }
.dl-toggle { width: 100%; margin-top: 13px; padding: 11px 0 0; border: 0; border-top: 1px solid var(--line); background: transparent; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #555c57; font-size: 12px; text-align: left; cursor: pointer; }
.dl-toggle:hover { color: var(--ink); }
.other-downloads { display: grid; gap: 10px; margin-top: 12px; }
.other-downloads .dl-hint { margin: 0 0 2px; }
html[data-theme='dark'] .dl-toggle { color: #b8c1ba; }

/* --- desktop: fit within a 1080p window without scrolling --- */
@media (min-width: 1000px) {
  .site-header { height: 68px; }
  .hero { min-height: calc(100vh - 114px); padding: 18px 0; gap: clamp(36px,4.6vw,76px); }
  h1 { margin: 14px 0 16px; font-size: clamp(42px,4vw,60px); }
  .hero-copy>p { font-size: 15px; line-height: 1.55; }
  .trust-row { margin-top: 18px; }
  .diagnostic-card { padding: 18px 22px; }
  .card-topline { padding-bottom: 13px; }
  #checks { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .check-row { min-height: 47px; grid-template-columns: 30px 1fr; }
  .check-row .check-result { display: none; }
  .check-icon { width: 22px; height: 22px; font-size: 11px; }
  .check-copy strong { font-size: 12.5px; }
  .check-copy small { font-size: 10.5px; }
  .result-panel { grid-template-columns: 30px 1fr; gap: 10px; margin-top: 12px; padding: 11px 13px; }
  .result-panel h2 { margin: 0 0 3px; font-size: 15px; }
  .result-panel p { margin: 0; font-size: 12px; line-height: 1.4; }
  .platform-note { margin-top: 10px; padding: 8px 11px; }
  .actions { margin-top: 13px; }
  .download-block { padding: 12px 13px; }
  .download-head { margin-bottom: 9px; }
  .download-head strong { font-size: 13.5px; }
  .download-head small { font-size: 11px; line-height: 1.35; }
  .button.download-button { min-height: 48px; padding: 7px 13px; }
  .dl-text strong { font-size: 13px; }
  .dl-hint { margin-top: 8px; font-size: 10.5px; line-height: 1.4; }
  .dl-toggle { margin-top: 8px; padding-top: 7px; }
  .other-downloads { gap: 6px; margin-top: 7px; }
  .other-downloads .button.download-button { min-height: 42px; }
  .other-downloads .dl-hint { margin: 0 0 1px; font-size: 10px; line-height: 1.35; }
  .utility-actions { margin-top: 10px; }
  .utility-actions .button { min-height: 40px; }
  .details-toggle { margin-top: 8px; padding-top: 9px; }
  footer { min-height: 44px; }
}
