/* Midnight palette, Workshop pairing. Use the fonts’ natural letter spacing. */
:root {
  --bg: #111827; --fg: #eaf0fb; --muted: #a3b1c8; --surface: #1b2638;
  --rule: #334258; --accent: #9dc3fc; --button-fg: #152237; color-scheme: dark;
  --body-font: "Work Sans", sans-serif;
  --heading-font: "IBM Plex Mono", monospace;
  --heading-weight: 600;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 28px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.65 var(--body-font); }
a { color: var(--accent); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.wrap { width: min(100% - 48px, 960px); margin-inline: auto; }
.wide { width: min(100% - 48px, 1200px); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 100; background: var(--bg); padding: 8px 16px; }
.skip-link:focus { top: 16px; }
.masthead { border-bottom: 1px solid var(--rule); }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); font-weight: 600; font-size: 18px; text-decoration: none; }
.brand img { display: block; }
nav { display: flex; gap: 24px; font-size: 15px; font-weight: 600; }
nav a { color: var(--fg); text-decoration: none; }
nav a:hover { color: var(--accent); }
.hero { padding-top: 64px; padding-bottom: 48px; }
.hero-mark { display: block; width: 56px; height: 56px; }
h1, h2, h3 { font-family: var(--heading-font); font-weight: var(--heading-weight); }
h1 { font-size: clamp(48px, 5.7vw, 68px); line-height: 1.08; margin: 22px 0 10px; }
.subtitle { font-size: clamp(20px, 2.4vw, 26px); line-height: 1.35; color: var(--muted); margin: 0; }
.intro { font-size: 18px; max-width: 49ch; margin: 24px 0 26px; line-height: 1.65; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 10px 18px; border: 1px solid transparent; border-radius: 7px; font-size: 14px; font-weight: 600; text-decoration: none; line-height: 1.4; }
.button svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.primary { background: var(--accent); color: var(--button-fg); }
.primary:hover { filter: brightness(1.08); }
.secondary { border-color: var(--rule); color: var(--fg); }
.secondary:hover { border-color: var(--fg); }
.meta { font-size: 14px; color: var(--muted); margin: 17px 0 0; }
figure { margin: 0; }
.screenshot-title { width: min(100%, 960px); margin: 0 auto 20px; }
.screenshot-frame { padding: 9px; background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; }
.screenshot-frame img { display: block; width: 100%; height: auto; border-radius: 6px; }
.main-shot .screenshot-frame { box-shadow: 0 12px 32px rgb(0 0 0 / 7%); }
figcaption { margin-top: 12px; text-align: center; color: var(--muted); font-size: 14px; }
h2 { font-size: clamp(24px, 3vw, 30px); line-height: 1.25; margin: 0; }
.features { padding-top: 64px; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 46px; list-style: none; padding: 0; margin: 26px 0 0; }
.feature-list li { border-top: 1px solid var(--rule); padding: 22px 0 24px; }
h3 { font-size: 18px; line-height: 1.4; margin: 0 0 7px; }
.feature-list p { color: var(--muted); font-size: 14px; line-height: 1.75; margin: 0; text-wrap: pretty; }
kbd { display: inline-block; font: 0.88em/1.5 var(--heading-font); color: var(--fg); border: 1px solid var(--rule); border-radius: 3px; padding: 0 4px; }
.detail-shots { display: grid; grid-template-columns: 1fr; gap: 32px; margin-top: 32px; }
.install { padding-top: 64px; padding-bottom: 64px; }
.install-panel { display: flex; align-items: center; justify-content: space-between; gap: 36px; background: var(--surface); padding: 32px; border-radius: 12px; }
.install-panel > div { max-width: 54ch; }
.install-panel p { font-size: 14px; color: var(--muted); margin: 14px 0 0; }
.install-panel .install-note { font-size: 12px; }
.install-panel .button { flex-shrink: 0; }
footer { border-top: 1px solid var(--rule); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 24px; padding-bottom: 32px; }
.footer-inner p { font-size: 14px; color: var(--muted); margin: 0; }
.footer-inner nav { font-size: 14px; gap: 20px; }
@media (max-width: 760px) {
  .wrap, .wide { width: calc(100% - 36px); }
  .hero { padding-top: 44px; padding-bottom: 36px; }
  .hero-mark { width: 48px; height: 48px; }
  .intro { font-size: 16px; max-width: 44ch; }
  .feature-list { gap: 0 24px; }
  .install-panel { flex-direction: column; align-items: flex-start; gap: 22px; padding: 26px; }
  .features, .install { padding-top: 44px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; padding-bottom: 32px; }
}
@media (max-width: 520px) {
  .masthead-inner { min-height: 64px; gap: 14px; }
  nav { gap: 18px; font-size: 14px; }
  .brand { font-size: 16px; gap: 8px; }
  .brand img { width: 24px; height: 24px; }
  .feature-list, .detail-shots { grid-template-columns: 1fr; }
  .detail-shots { gap: 24px; margin-top: 14px; }
  .feature-list li { padding-top: 19px; padding-bottom: 21px; }
  .screenshot-frame { padding: 5px; border-radius: 8px; }
  .screenshot-frame img { border-radius: 4px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
