:root {
  --paper: #f3f0e8;
  --paper-strong: #fffdf8;
  --ink: #121713;
  --ink-soft: #2f3731;
  --muted: #5d665f;
  --line: #c7ccc5;
  --line-dark: #343b35;
  --blue: #2457e6;
  --blue-dark: #16389f;
  --yellow: #f1c84b;
  --blue-soft: #e7edff;
  --white: #ffffff;
  --max: 1180px;
  --reading: 760px;
  --shadow: 6px 6px 0 var(--ink);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.section-dark :focus-visible,
.final-cta :focus-visible {
  outline-color: var(--yellow);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: var(--paper-strong);
}

.nav-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.nav-items {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--blue);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--ink);
  border-radius: 7px;
  padding: 11px 18px;
  background: var(--paper-strong);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 120ms ease;
}

.button:hover {
  background: #eceae4;
  text-decoration: none;
}

.button:active {
  background: #e2e0da;
}

.button-primary {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.button-primary:hover {
  background: var(--blue-dark);
}

.button-dark {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.button-dark:hover {
  background: var(--blue-soft);
}

.button-large {
  min-height: 56px;
  padding: 14px 22px;
  font-size: 1rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero {
  padding: clamp(62px, 7vw, 96px) 0 clamp(72px, 8vw, 108px);
}

.hero-copy {
  max-width: 980px;
}

.hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(3rem, 5.2vw, 4.7rem);
  font-weight: 780;
  letter-spacing: -0.052em;
  line-height: 1.04;
}

.hero-lede {
  max-width: 820px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
  line-height: 1.55;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  margin-top: 34px;
}

.source-link {
  color: var(--blue-dark);
  font-size: 0.94rem;
  font-weight: 700;
  text-underline-offset: 0.2em;
}

.microcopy {
  display: flex;
  flex-wrap: wrap;
  margin: 20px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
  list-style: none;
}

.microcopy li + li::before {
  margin-inline: 0.45em;
  content: "·";
  color: var(--line-dark);
}

.hero-product {
  margin: clamp(48px, 6vw, 70px) 0 0;
}

.hero-product a {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  background: #0d0f14;
  box-shadow: 0 18px 50px rgb(18 23 19 / 12%);
}

.hero-product img {
  width: 100%;
  height: auto;
}

.hero-product figcaption {
  margin-top: 13px;
  color: var(--muted);
  font-size: 0.82rem;
}

.section {
  padding: clamp(76px, 9vw, 122px) 0;
}

.section-dark {
  background: var(--ink);
  color: var(--white);
}

.section-blue {
  background: var(--blue);
  color: var(--white);
}

.section-heading {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.section-intro {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.section-dark .section-intro {
  color: #b9c0bb;
}

.section-dark .eyebrow {
  color: #91adff;
}

.difference-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  align-items: start;
  gap: clamp(54px, 8vw, 108px);
}

.difference-points {
  margin: 0;
  border-top: 1px solid #505850;
  padding: 0;
  list-style: none;
}

.difference-points li {
  display: grid;
  grid-template-columns: minmax(180px, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
  border-bottom: 1px solid #3a423b;
  padding: 20px 0;
}

.difference-points strong {
  color: var(--white);
  font-size: 1.02rem;
}

.difference-points span {
  color: #b9c0bb;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 58px;
  border-block: 1px solid var(--line-dark);
}

.step {
  padding: 30px 28px 34px;
}

.step + .step {
  border-left: 1px solid var(--line);
}

.step-number {
  display: block;
  margin-bottom: 34px;
  color: var(--blue);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.85rem;
  font-weight: 800;
}

.step h3 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.step p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.honesty-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 15px;
  max-width: 850px;
  margin: 34px 0 0;
  border: 1px solid var(--ink);
  background: var(--paper-strong);
  padding: 16px 18px;
  font-size: 0.92rem;
}

.honesty-note strong {
  color: var(--blue);
}

.product-shot {
  margin: clamp(58px, 8vw, 92px) 0 0;
}

.product-shot-link {
  display: block;
}

.product-shot img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  box-shadow: 0 18px 50px rgb(18 23 19 / 12%);
}

.product-shot figcaption {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.84rem;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(48px, 8vw, 100px);
}

#questions {
  padding-top: 0;
}

.faq-list {
  border-top: 2px solid var(--ink);
}

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

.faq-list summary {
  position: relative;
  cursor: pointer;
  padding: 22px 46px 22px 0;
  font-size: 1.04rem;
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 19px;
  right: 4px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  content: "+";
  font-family: Consolas, "Courier New", monospace;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 48px 24px 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.faq-answer p {
  margin: 0;
}

.faq-answer a {
  color: var(--blue-dark);
  font-weight: 750;
}

.final-cta {
  border-block: 1px solid var(--blue-dark);
  background: var(--blue);
  color: var(--white);
}

.cta-grid {
  min-height: 340px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 50px;
  padding-block: 72px;
}

.cta-grid h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.45rem, 5vw, 4.6rem);
  font-weight: 780;
  letter-spacing: -0.052em;
  line-height: 1;
}

.cta-grid p {
  max-width: 680px;
  margin: 22px 0 0;
  color: #e0e7ff;
  font-size: 1.08rem;
}

.cta-box {
  min-width: 300px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--paper-strong);
  color: var(--ink);
  padding: 24px;
}

.cta-box .button {
  width: 100%;
}

.cta-box p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.site-footer {
  background: var(--paper-strong);
}

.footer-shell {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding-block: 30px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
}

.footer-links a,
.copyright {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
}

.footer-links a:hover {
  color: var(--blue);
}

/* Supporting SEO pages */
.article-hero {
  border-bottom: 2px solid var(--ink);
  padding: clamp(58px, 8vw, 98px) 0;
  background: var(--paper-strong);
}

.breadcrumb {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.breadcrumb a {
  color: var(--blue-dark);
}

.article-hero h1 {
  max-width: 950px;
  margin: 0;
  font-size: clamp(2.7rem, 6.5vw, 5.7rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.article-deck {
  max-width: 780px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 1.2rem;
}

.article-meta {
  margin: 24px 0 0;
  color: var(--muted);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.78rem;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: start;
  gap: clamp(54px, 8vw, 100px);
}

.article-body {
  max-width: var(--reading);
}

.article-body h2 {
  margin: 2.2em 0 0.65em;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  margin: 1.8em 0 0.5em;
  font-size: 1.25rem;
}

.article-body p,
.article-body ul,
.article-body ol {
  margin: 0 0 1.2em;
}

.article-body li + li {
  margin-top: 0.45em;
}

.article-body a {
  color: var(--blue-dark);
  font-weight: 700;
}

.article-callout {
  margin: 2em 0;
  border: 2px solid var(--ink);
  background: var(--yellow);
  box-shadow: var(--shadow);
  padding: 24px;
}

.article-callout strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.article-callout p:last-child {
  margin-bottom: 0;
}

.article-aside {
  position: sticky;
  top: 104px;
  border: 2px solid var(--ink);
  background: var(--paper-strong);
  padding: 22px;
}

.article-aside h2 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.article-aside p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.88rem;
}

.article-aside .button {
  width: 100%;
}

.related-links {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.related-links a {
  display: block;
  color: var(--blue-dark);
  font-size: 0.86rem;
  font-weight: 700;
}

.related-links a + a {
  margin-top: 10px;
}

@media (max-width: 980px) {
  .difference-grid,
  .faq-layout,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 780px;
  }

  .difference-grid {
    gap: 48px;
  }

  .article-aside {
    position: static;
    max-width: 560px;
  }

  .cta-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    width: min(100%, 440px);
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .site-header {
    position: static;
  }

  .nav-shell {
    min-height: 66px;
  }

  .nav-link,
  .nav-github {
    display: none;
  }

  .nav-items {
    gap: 10px;
  }

  .nav-items .button {
    min-height: 42px;
    padding: 9px 12px;
    font-size: 0.84rem;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .hero {
    padding-top: 56px;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 11vw, 4.2rem);
  }

  .hero-actions,
  .cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .cta-actions .button {
    width: 100%;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step + .step {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .footer-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 1rem;
  }

  .nav-items .button {
    padding-inline: 10px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 12.8vw, 3.7rem);
  }

  .hero-product a {
    background: var(--paper-strong);
  }

  .hero-product picture,
  .hero-product img {
    width: 100%;
  }

  .difference-points li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .honesty-note {
    grid-template-columns: 1fr;
  }

  .cta-box {
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
