@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/InstrumentSerif-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/JetBrainsMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/JetBrainsMono-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #F4F2EE;
  --surface: #FFFFFF;
  --raise: #EAE7E1;
  --fg: #141413;
  --muted: #5F5D57;
  --brass: #D6B06A;
  --brass-hover: #E2BE7B;
  --brass-ink: #17140F;
  --brass-text: #806A40;
  --paper: #F1E9D8;
  --paper-ink: #1E1B16;
  --paper-muted: #6F675A;
  --line: rgba(20, 20, 19, 0.10);
  --line-2: rgba(20, 20, 19, 0.22);
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Palatino, serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --page: 1080px;
  --pad: 20px;
}

* { box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 400;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brass-text); }

a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--brass-text);
  outline-offset: 3px;
}

.wrap {
  width: min(var(--page), calc(100% - var(--pad) * 2));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--brass-text);
}

h1, h2, .feature h3, .close h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.05;
}

h1 {
  margin: 0;
  font-size: 52px;
}

h2 {
  margin: 0;
  font-size: 34px;
}

.lead, .prose {
  margin: 16px 0 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--muted);
}

.prose { font-size: 15px; max-width: 62ch; }

.nav {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.brand:hover { text-decoration: none; }

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  background: var(--brass);
  color: var(--brass-ink);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border-radius: 8px;
}

.button:hover {
  background: var(--brass-hover);
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 440px) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 64px 0 28px;
}

.meta {
  margin: 16px 0 0;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.mac-note {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.actions { margin-top: 28px; }

.shot {
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  background: #0B0B0C;
}

section { padding: 72px 0; }

.section-head { max-width: 680px; }

.failures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.failures li, .wont li, .benefit, .step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.failures li, .benefit, .step { padding: 20px; }

.failures h3, .wont h3 {
  margin: 0 0 8px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
}

.failures p, .wont p, .benefit p, .step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.answer { margin-top: 28px; }

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.benefit strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 600;
}

.compare {
  width: 100%;
  margin-top: 36px;
  border-collapse: collapse;
}

.compare th {
  padding: 0 16px 12px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  text-align: left;
  color: var(--muted);
}

.compare th:last-child { color: var(--brass-text); }

.compare td {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  vertical-align: top;
}

.compare td:nth-child(2) { color: var(--muted); }

.compare td:nth-child(3) { font-weight: 600; }

.center { margin-top: 36px; }

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 40px;
  align-items: center;
  padding: 28px 0;
}

.feature.reverse { grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr); }

.feature.reverse .shot { order: 2; }

.feature h3 {
  margin: 0;
  font-size: 24px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step strong {
  display: block;
  margin: 12px 0 6px;
  font-size: 15px;
  font-weight: 600;
}

.step .num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--brass-text);
}

.wont {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.wont li { padding: 20px; }

.faq { margin-top: 28px; border-top: 1px solid var(--line); }

.faq details { border-bottom: 1px solid var(--line); }

.faq summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.faq summary::-webkit-details-marker { color: var(--brass-text); }

.faq details p {
  margin: 0 0 16px;
  max-width: 68ch;
  color: var(--muted);
}

.close {
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding-bottom: 96px;
}

.foot {
  border-top: 1px solid var(--line);
  padding: 20px 0 32px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.foot .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  h1 { font-size: 40px; }
  h2 { font-size: 28px; }
  .hero, .feature, .feature.reverse, .close {
    grid-template-columns: 1fr;
  }
  .feature.reverse .shot { order: 0; }
  .failures, .benefits, .steps, .wont { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .failures, .benefits, .steps, .wont { grid-template-columns: 1fr; }
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare td { display: block; width: 100%; }
  .compare tr {
    padding: 12px 0;
    border-top: 1px solid var(--line);
  }
  .compare td { border-top: 0; padding: 2px 0; }
  .compare td::before {
    content: attr(data-label);
    display: block;
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.19em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .compare td:nth-child(3)::before { color: var(--brass-text); }
}
