@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/geist-latin-variable.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("assets/fonts/jetbrains-mono-latin-variable.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --background: #fff;
  --surface: #f5f5f5;
  --text: #000;
  --secondary: #383838;
  --muted: #4a4a4a;
  --line: #e8e8e8;
  --line-strong: #c0c0c0;
  --accent: #6e6e6e;
  --accent-ink: #fff;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --page-width: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--background);
  color: var(--secondary);
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--line-strong); color: var(--text); }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--text); }
:is(a, button, summary):focus-visible { outline: 2px solid var(--text); outline-offset: 5px; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--sans); color: var(--text); }
figure { margin: 0; }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 9px 15px;
  transform: translateY(-160%);
  background: var(--text);
  color: var(--background);
}
.skip-link:focus { transform: none; color: var(--background); }

.site-header, main, footer {
  width: min(calc(100% - 96px), var(--page-width));
  margin-inline: auto;
}
.site-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.wordmark img { width: 28px; height: 28px; }
.site-nav { display: flex; gap: 30px; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 7px;
  font-size: 14px;
  text-decoration: none;
}
.site-nav a:hover { text-decoration: underline; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(44px, 5.5vw, 88px);
  align-items: start;
  padding: 64px 0 96px;
}
.hero-copy { min-width: 0; }
h1 {
  margin: 0;
  font-size: clamp(48px, 5.9vw, 86px);
  font-weight: 600;
  line-height: .96;
  letter-spacing: -.055em;
}
h1 > span { display: block; }
h1 small {
  display: block;
  margin-top: 26px;
  max-width: 530px;
  font-size: clamp(23px, 2.05vw, 30px);
  line-height: 1.28;
  font-weight: 450;
  letter-spacing: -.025em;
  color: var(--secondary);
}
.feature-list {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.feature-list > li {
  position: relative;
  padding: 12px 0 12px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.65;
}
.feature-list > li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--accent);
}
.feature-list ul {
  display: grid;
  gap: 7px;
  margin: 13px 0 3px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
}
.feature-list ul li { padding-left: 17px; position: relative; }
.feature-list ul li::before { content: "–"; position: absolute; left: 0; }
code { font-family: var(--mono); font-size: .9em; background: var(--surface); padding: 1px 3px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}
.button-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.button-primary:hover { background: var(--secondary); color: var(--accent-ink); border-color: var(--secondary); }
.button-secondary { background: var(--background); }
.button-secondary:hover { background: var(--surface); border-color: var(--accent); }
.install-option { flex: 1 1 100%; order: 3; min-width: 0; }
.install-command {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 46px;
  padding: 6px 8px 6px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.install-command code { flex: 1; min-width: 0; padding: 0; font-size: 12px; overflow-wrap: anywhere; white-space: pre-wrap; user-select: all; }
.copy-command {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border: 0;
  padding: 8px;
  background: transparent;
  color: var(--muted);
}
.copy-command:hover, .copy-command.is-copied { background: var(--line); color: var(--text); }
.copy-command svg { width: 20px; height: 20px; }
.copy-command .copied-icon, .copy-command.is-copied .copy-icon { display: none; }
.copy-command.is-copied .copied-icon { display: block; }
.install-status { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.mac-release-note { flex: 1 1 100%; order: 1; margin: 0; }
.screenshot-link { display: inline-flex; gap: 9px; margin-top: 20px; font-size: 13px; }
.hero-preview { min-width: 0; }
.hero-preview .screenshot-link { margin-top: 12px; }
.product-shot { display: block; }
.product-shot img { width: 100%; border: 0; }
.ui-detail-inset { transition: outline-color 180ms ease; outline: 1px solid transparent; outline-offset: 4px; }
.ui-detail-inset:hover { outline-color: var(--accent); }

.feature-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
  padding: 64px 0 96px;
}
.ui-details {
  display: grid;
  gap: 64px;
  min-width: 0;
}
.ui-detail { width: 100%; }
.ui-detail-visual { display: grid; grid-template-columns: 1fr 18% 21%; align-items: start; }
.ui-detail-overview { grid-column: 1 / 3; grid-row: 1; }
.ui-detail-inset {
  grid-column: 2 / 4;
  grid-row: 1;
  margin-top: 22%;
  border: 5px solid var(--background);
  z-index: 1;
}
.ui-detail-overview img, .ui-detail-inset img { width: 100%; }
/* Preserve the real macOS window alpha without an extra rectangular frame. */
.ui-detail-overview img { border: 0; }
.ui-detail-inset img { border: 1px solid var(--line-strong); }
.ui-detail-inset { max-width: 326px; }
.ui-detail figcaption { margin: 0 0 16px; font-size: 14px; }

.nerdery { min-width: 0; }
.nerdery-intro h2 { margin: 0 0 32px; max-width: 700px; font-size: calc(clamp(32px, 3.6vw, 50px) - 9px); font-style: italic; font-weight: 550; line-height: 1.12; letter-spacing: -.04em; }
.nerdery-level { border-top: 1px solid var(--line); }
.nerdery-level:last-child { border-bottom: 1px solid var(--line); }
.nerdery-level-title { margin: 0; padding: 25px 0; font-family: var(--sans); font-size: 25px; font-weight: 500; color: var(--text); }
.nerdery-copy { padding-left: 15px; padding-bottom: 32px; }
.nerdery-copy > ul { display: grid; gap: 24px; margin: 0; padding-left: 18px; list-style: disc; }
.nerdery-copy li > ul { display: grid; gap: 7px; margin: 8px 0 0; padding-left: 18px; list-style: disc; color: var(--muted); }
.nerdery-copy li { font-size: 15px; line-height: 1.75; }
.nerdery-copy strong { display: block; margin-bottom: 4px; color: var(--text); font-weight: 550; }
.nerdery-copy li span { color: var(--muted); }
.nerdery-copy strong span { color: inherit; }

.film-proof { padding: 76px 0 96px; border-top: 1px solid var(--line); }
.film-proof-intro { display: block; max-width: 850px; margin-bottom: 36px; }
.eyebrow, .proof-index { margin: 0 0 20px; color: var(--muted); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; }
.film-proof-intro h3 { margin: 0 0 25px; font-size: clamp(29px, 3.2vw, 46px); font-weight: 550; line-height: 1.16; letter-spacing: -.035em; }
.film-proof-intro > p:last-child { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.proof-grid { display: grid; gap: 24px; }
.proof-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.proof-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.proof-item { min-width: 0; text-decoration: none; }
.proof-image { display: block; overflow: hidden; border: 1px solid var(--line); }
.proof-image img { width: 100%; transition: transform 220ms ease; }
.proof-item:hover .proof-image img { transform: scale(1.015); }
.proof-meta { display: grid; gap: 5px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.proof-meta .proof-index { margin: 0 0 3px; }
.proof-meta strong { color: var(--text); font-size: 14px; font-weight: 500; }
.proof-meta small { color: var(--muted); font-size: 12px; line-height: 1.6; }
.proof-subhead { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 14px 24px; align-items: baseline; margin: 64px 0 26px; }
.proof-subhead .proof-index { margin: 0; }
.proof-subhead h4 { max-width: 760px; margin: 0; font-size: clamp(23px, 2.3vw, 32px); font-weight: 500; line-height: 1.25; letter-spacing: -.025em; }
.proof-print-head p { grid-column: 2; margin: 0; font-size: 14px; }
.proof-method { max-width: 960px; margin: 28px 0 0; font-size: 12px; line-height: 1.8; }
footer { display: flex; justify-content: space-between; gap: 24px; padding: 28px 0 40px; border-top: 1px solid var(--line); font-size: 12px; }
footer span:first-child { color: var(--text); font-weight: 500; }

@media (prefers-reduced-motion: no-preference) {
  .hero h1 { animation: enter 450ms ease-out both; }
  .hero-preview { animation: enter 550ms 80ms ease-out both; }
  .reveal.is-visible:not(h1):not(.product-shot) { animation: enter 450ms ease-out both; }
  @keyframes enter { from { opacity: .35; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (max-width: 1000px) {
  .site-header, main, footer { width: calc(100% - 56px); }
  .hero { gap: 36px; padding-top: 48px; }
  h1 { font-size: clamp(44px, 6.1vw, 64px); }
  h1 small { font-size: 24px; }
  .feature-list > li { font-size: 13px; }
  .feature-list ul { font-size: 12px; }
  .proof-grid { gap: 18px; }
}
@media (max-width: 960px) {
  .feature-columns { grid-template-columns: 1fr; gap: 56px; }
  .ui-details { border-top: 1px solid var(--line); padding-top: 40px; }
}
@media (max-width: 760px) {
  .site-header, main, footer { width: calc(100% - 40px); }
  .site-header { flex-wrap: wrap; gap: 0; padding: 12px 0 6px; }
  .wordmark { font-size: 14px; }
  .site-nav { gap: 18px; }
  .site-nav a { font-size: 12px; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 42px 0 60px; }
  h1 { font-size: clamp(50px, 10.9vw, 78px); }
  h1 small { max-width: 500px; font-size: 26px; margin-top: 22px; }
  .feature-list > li { font-size: 14px; }
  .feature-list ul { font-size: 13px; }
  .hero-preview { width: 100%; max-width: 530px; justify-self: center; }
  .feature-columns { padding: 48px 0 60px; }
  .ui-details { gap: 48px; }
  .ui-detail-inset { border-width: 3px; }
  .film-proof { padding: 48px 0 60px; }
  .nerdery-intro h2 { margin-bottom: 30px; }
  .nerdery-level-title { font-size: 23px; }
  .nerdery-copy li { font-size: 14px; }
  .proof-grid { grid-template-columns: 1fr; gap: 28px; }
  .proof-subhead { grid-template-columns: 1fr; gap: 12px; margin-top: 44px; }
  .proof-print-head p { grid-column: 1; }
  footer { flex-direction: column; gap: 8px; }
}
@media (max-width: 420px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 5px; }
  .site-nav { width: 100%; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
  .site-nav a { font-size: 13px; }
  .button { font-size: 13px; padding-inline: 12px; }
  .actions { gap: 10px; }
}

.screenshot-platform-note { margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
