
  @font-face {
    font-family: "ABC Diatype";
    src: url("/assets/fonts/ABCDiatype-Medium-Trial.otf") format("opentype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
  }
  :root {
    --bg: #f4f4f4;
    --panel: #ffffff;
    --card: #ebebeb;
    --ink: #14140f;
    --muted: #74746f;
    --nav-text: #525252;
    --line: rgba(0, 0, 0, 0.1);
    --track: rgba(0, 0, 0, 0.05);
    --logo-ink: #383434;
    --font: "ABC Diatype", "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    color-scheme: light;
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #1e1e1e;
      --panel: #2c2c2c;
      --card: #363636;
      --ink: #e6e6e6;
      --muted: #8c8c8c;
    --nav-text: #8c8c8c;
      --nav-text: #8c8c8c;
      --line: #3a3a3a;
      --track: #333333;
      --logo-ink: #e6e6e6;
      color-scheme: dark;
    }
  }
  :root[data-theme="dark"] {
    --bg: #1e1e1e;
    --panel: #2c2c2c;
    --card: #363636;
    --ink: #e6e6e6;
    --muted: #8c8c8c;
    --line: #3a3a3a;
    --track: #333333;
    --logo-ink: #e6e6e6;
    color-scheme: dark;
  }

  * { box-sizing: border-box; }
  body {
    margin: 0; min-height: 100vh;
    display: flex; flex-direction: column;
    background: var(--bg); color: var(--ink);
    font-family: var(--font); font-size: 14px;
    -webkit-font-smoothing: antialiased;
  }
  button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

  /* ---------- Notification bar ---------- */
  .notice {
    flex: none; position: relative;
    display: flex; align-items: center; justify-content: center; gap: 12px;
    min-height: 36px; padding: 8px 48px;
    background: #D62BF4; color: #000;
    font-size: 13px; line-height: 18px; text-align: center;
  }
  .notice[hidden] { display: none; }
  .notice a { color: inherit; text-underline-offset: 3px; }
  .notice a:hover { color: #000; }
  .notice__tag {
    flex: none; padding: 1px 8px; border-radius: 100px;
    background: #000; color: #fff; font-size: 11px; letter-spacing: 0.3px;
  }
  .notice__close {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    width: 28px; height: 28px; border-radius: 100px;
    display: grid; place-items: center; color: #000;
  }
  .notice__close:hover { color: #000; background: rgba(0, 0, 0, 0.1); }
  .notice__close svg { width: 12px; height: 12px; }


  /* ---------- Header (same as the brand guide) ---------- */
  .topbar { height: 56px; flex: none; display: flex; align-items: center; padding: 0 8px 0 20px; }
  .brand { flex: 1; display: flex; align-items: center; color: var(--logo-ink); text-decoration: none; }
  /* Sized by the wordmark; the magenta accent hangs above and to the right without moving the layout */
  .brand svg { height: 17px; width: auto; display: block; overflow: visible; margin-right: 14px; }
  .theme-btn {
    width: 36px; height: 36px; border-radius: 100px;
    background: var(--track); color: var(--ink);
    display: grid; place-items: center;
  }
  .theme-btn svg { width: 18px; height: 18px; display: block; }
  .theme-btn .icon-sun { display: none; }
  :root[data-theme-resolved="dark"] .theme-btn .icon-sun { display: block; }
  :root[data-theme-resolved="dark"] .theme-btn .icon-moon { display: none; }

  /* ---------- White window ---------- */
  .topbar { position: sticky; top: 0; z-index: 10; background: var(--bg); }
  .window {
    min-height: calc(100vh - 64px);
    margin: 0 8px 8px;
    display: flex; flex-direction: column;
    padding: 96px 32px;
  }

  /* ---------- Footer (same as the brand guide) ---------- */
  .pg__footer {
    --pad: 32px;
    margin: 0 8px 8px; border-radius: 8px; padding: 32px 0;
    min-height: 622px; display: flex; flex-direction: column;
    background: var(--panel); color: var(--nav-text); font-size: 15px; line-height: 21px;
  }
  .pg__grid {
    width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--pad);
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px;
  }
  .pg__footer a { color: inherit; text-decoration: none; }
  .pg__footer a:hover { text-decoration: underline; }
  .pg__footer .pg__grid > div { grid-column: span 3; }
  .pg__footer p { margin: 0 0 8px; }
  .pg__dim { color: var(--muted); }
  .pg__footer-bottom { width: 100%; margin-top: auto; padding-top: 128px; }
  .pg__footer-logo { height: 32px; width: auto; display: block; color: var(--logo-ink); }
  .pg__footer .pg__grid > .pg__footer-brand { grid-column: 1 / span 6; }
  .pg__footer .pg__grid > .pg__footer-copy { grid-column: 7 / span 6; }
  .os { width: 100%; max-width: 1400px; margin: auto; }

  /* ---------- FAQ ---------- */
  .faq { width: 100%; max-width: 720px; margin: 160px auto 0; }
  .faq__title { margin: 0 0 16px; font-size: 32px; line-height: 1.2; font-weight: 500; letter-spacing: -0.5px; }
  .faq__list { margin: 0 0 16px; }
  .faq__item + .faq__item { margin-top: 4px; }
  .faq__q {
    width: 100%; display: flex; align-items: flex-start; gap: 12px;
    padding: 16px 0; text-align: left;
    font-size: 16px; line-height: 24px; font-weight: 500; color: var(--ink);
  }
  .faq__q span { flex: 1; min-width: 0; }
  .faq__q:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
  .faq__icon { flex: none; position: relative; width: 18px; height: 24px; color: var(--muted); transition: color .2s; }
  .faq__icon::before, .faq__icon::after {
    content: ""; position: absolute; left: 1px; right: 1px; top: 50%;
    height: 1.4px; margin-top: -0.7px; background: currentColor; border-radius: 1px;
    transition: transform .25s cubic-bezier(.3,.7,.2,1);
  }
  .faq__icon::after { transform: rotate(90deg); }
  .faq__q { transition: padding .25s cubic-bezier(.3,.7,.2,1); }
  .faq__q[aria-expanded="true"] { padding-bottom: 4px; }
  .faq__q[aria-expanded="true"] .faq__icon { color: var(--ink); }
  .faq__q[aria-expanded="true"] .faq__icon::before { transform: rotate(45deg); }
  .faq__q[aria-expanded="true"] .faq__icon::after { transform: rotate(135deg); }
  .faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s cubic-bezier(.3,.7,.2,1); }
  .faq__a.is-open { grid-template-rows: 1fr; }
  .faq__a > div { min-height: 0; overflow: hidden; }
  .faq__a p { margin: 0; padding-bottom: 16px; max-width: 620px; font-size: 14px; line-height: 21px; color: var(--muted); }
  .faq__more { margin: 0; font-size: 16px; line-height: 24px; }
  .faq__more span { display: block; color: var(--muted); }
  .os__title { margin: 0 0 64px; text-align: center; font-size: 52px; line-height: 1.2; font-weight: 500; letter-spacing: -0.5px; }
  .os__title span { display: block; font-size: 30px; color: var(--muted); }

  /* Media tile on top, plain caption underneath */
  .os__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  .card { display: block; color: var(--ink); text-decoration: none; }
  .card:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 12px; }
  .card__media {
    position: relative; aspect-ratio: 4 / 3; overflow: hidden;
    border-radius: 12px; background: var(--card);
  }
  .card__img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform .5s cubic-bezier(.3,.7,.2,1);
  }
  .card:hover .card__img { transform: scale(1.04); }
  /* Round arrow in the corner says the tile leads somewhere */
  .card__go {
    position: absolute; right: 12px; bottom: 12px;
    width: 32px; height: 32px; border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(0, 0, 0, 0.08); color: #000;
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    transition: background .2s;
  }
  .card__go svg { width: 14px; height: 14px; }
  .card:hover .card__go { background: rgba(0, 0, 0, 0.14); }
  .card__body { padding: 14px 24px 0 0; }
  .card__title { display: flex; align-items: center; gap: 4px; margin: 0; font-size: 16px; line-height: 1.3; font-weight: 500; }
  .card__title svg { width: 14px; height: 14px; color: var(--muted); }
  .card__text { margin: 4px 0 0; font-size: 12px; line-height: 1.5; color: var(--muted); max-width: 380px; }
  .card__meta { display: block; margin-top: 12px; font-size: 12px; color: var(--muted); }
  .card:hover .card__title { text-decoration: underline; text-underline-offset: 3px; }

  @media (max-width: 900px) {
    .os__cards { grid-template-columns: 1fr; row-gap: 32px; }
  }
  @media (max-width: 1100px) {
    .pg__footer { --pad: 20px; }
    .pg__grid { column-gap: 20px; }
    .pg__footer .pg__grid > div { grid-column: span 6; margin-bottom: 24px; }
  }
  @media (max-width: 760px) {
    .pg__footer { --pad: 16px; min-height: 0; }
    .pg__footer .pg__grid > div, .pg__footer .pg__grid > .pg__footer-brand, .pg__footer .pg__grid > .pg__footer-copy { grid-column: 1 / span 12; }
    .topbar { padding: 0 8px 0 16px; }
    .window { padding: 32px 16px; }
    .os__title { margin-bottom: 48px; font-size: 36px; }
    .os__title span { font-size: 24px; }
    .faq { margin-top: 96px; }
    .faq__title { font-size: 24px; }
    .card__body { padding-top: 12px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .card__img, .faq__a, .faq__icon::before, .faq__icon::after { transition: none; }
    .card:hover .card__img { transform: none; }
  }

  .pg__footer .pg__grid > .pg__footer-copy { grid-column: 1 / span 12; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: inherit; row-gap: 16px; align-items: start; padding-top: 20px; border-top: 0; }
  .pg__footer-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; color: inherit; }
  .pg__footer-credit { padding-left: 16px; border-left: 1px solid rgba(128,128,128,.5); }
  @media (max-width: 760px) { .pg__footer .pg__grid > .pg__footer-copy { grid-template-columns: 1fr; } }

  .apps { position: relative; margin-left: 8px; --pop-shadow: 0 1px 2px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.08), 0 16px 40px rgba(0,0,0,.14); }
