*{box-sizing:border-box}
body{margin:0;background:#fafafa;color:#1a1a1a;font:18px/1.7 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
a{color:#9a201e;text-underline-offset:3px}
a:hover{color:#701815}
a:focus-visible{outline:3px solid #af2421;outline-offset:4px}
main{max-width:860px;margin:56px auto;padding:0 24px}
h1{font:700 clamp(34px,5vw,54px)/1.12 Georgia,serif;letter-spacing:-.025em}
h2{font-size:27px;line-height:1.25;margin-top:42px}
.meta,figcaption{font-size:15px;color:#52525b}
.note{background:#f5efea;border-left:3px solid #af2421;padding:18px 22px}
.cta{display:inline-block;background:#af2421;color:#fff;padding:11px 20px;border-radius:8px;text-decoration:none;font-weight:650}
.cta:hover{background:#8f1d1a;color:#fff}
li{margin:15px 0}
figure{margin:30px 0}
figure img{display:block;width:100%;height:auto;border:1px solid #e5e7eb;border-radius:8px}
figcaption{margin-top:8px}
.skip{position:absolute;left:-10000px}
.skip:focus{left:16px;top:10px;background:white;z-index:101}
code{overflow-wrap:anywhere}
@media(max-width:560px){
main{margin-top:32px}
h1{font-size:36px}
}

/* Homepage header and footer; article typography stays scoped to main. */
.site-header, .site-footer {
  font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  line-height: 1.6;
}
.site-header a, .site-footer a { text-decoration: none; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.site-logo { display: flex; align-items: center; gap: 8px; }
.site-logo img { display: block; height: 28px; width: auto; max-width: 100%; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a { font-size: 14px; font-weight: 500; color: #71717a; }
.site-nav a:hover { color: #1a1a1a; }
.site-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  background: #af2421;
  color: #fff;
  line-height: 1;
  box-shadow: 0 1px 2px rgba(175, 36, 33, .2);
}
.site-nav .nav-cta:hover { background: #8f1d1a; color: #fff; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle svg { display: block; width: 24px; height: 24px; stroke: #1a1a1a; }
.site-footer { padding: 32px 0; margin-top: 64px; border-top: 1px solid #e5e7eb; }
.site-footer .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-brand { margin: 0; font-size: 14px; color: #71717a; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer-links a { font-size: 13px; color: #71717a; }
.footer-links a:hover { color: #1a1a1a; }
/* The Edge store entry has no href until the listing is live (install.js
   fills it in) — plain text rather than a dead link. */
.footer-links a:not([href]) { opacity: .65; cursor: default; }
.footer-links a:not([href]):hover { color: #71717a; }
@media (max-width: 768px) {
  /* Without JavaScript, keep every navigation link accessible. */
  .site-header .container { height: auto; min-height: 64px; flex-wrap: wrap; }
  .site-nav { width: 100%; flex-wrap: wrap; padding: 16px 0; gap: 16px; }
  .site-nav .nav-cta { margin-left: 0; }
  .site-header.has-navigation .container { height: 64px; }
  .has-navigation .nav-toggle { display: block; }
  .has-navigation .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    flex-direction: column;
    padding: 16px 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
  }
  .has-navigation .site-nav.is-open { display: flex; }
}
@media (max-width: 480px) { .container { padding: 0 16px; } }
