:root {
  --paper: #f5f5f2;
  --ink: #171816;
  --muted: #73756f;
  --line: #d8d9d3;
  --panel: #fafaf7;
  --accent: #ee5f3b;
  --shell: min(1160px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-150%);
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 2px;
  background: var(--ink);
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-style: italic;
  font-weight: 400;
}

.text-link,
.site-footer nav a {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  text-transform: uppercase;
}

[aria-disabled="true"] {
  cursor: default;
  opacity: 0.42;
}

.hero {
  padding: 48px 0 72px;
}

.eyebrow,
.section-index,
.tool-number,
.platform {
  margin: 0;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 1000px;
  margin: 20px 0 36px;
  font-size: clamp(30px, 4.2vw, 54px);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 1.05;
}

.status-dot {
  width: 8px;
  height: 8px;
  display: inline-block;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent);
}

.products,
.about {
  padding: 96px 0 120px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 48px 1fr 1fr;
  align-items: baseline;
  margin-bottom: 54px;
}

.section-heading h2,
.section-heading > p:last-child {
  margin: 0;
}

.section-heading h2 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 14px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.product-card {
  display: flex;
  min-height: 370px;
  flex-direction: column;
  padding: 22px 22px 24px;
  background: var(--panel);
}

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

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.platform {
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 100px;
  letter-spacing: 0.03em;
  text-transform: none;
}

.card-copy {
  margin-top: auto;
  padding-bottom: 55px;
}

.card-copy h3 {
  margin: 0 0 13px;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.card-copy p {
  max-width: 260px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.product-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
}

.product-link[href]:hover span {
  transform: translate(2px, -2px);
}

.product-link span {
  transition: transform 160ms ease;
}

.about {
  display: grid;
  grid-template-columns: 1fr 2fr;
}

.about .section-heading {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-content: start;
  margin: 0;
}

.manifesto {
  max-width: 760px;
}

.manifesto p {
  margin: 0 0 30px;
  font-size: clamp(29px, 4vw, 52px);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.manifesto .sign-off {
  margin-top: 80px;
  color: var(--muted);
  font-size: 16px;
  letter-spacing: -0.01em;
  line-height: 1.45;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  padding: 36px 0 40px;
  border-top: 1px solid var(--ink);
}

.site-footer nav {
  display: flex;
  gap: 22px;
}

.site-footer > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}


.featured-product {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.featured-product > .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.featured-product h2,
.product-hero h1 {
  max-width: 1000px;
  margin: 22px 0;
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.feature-intro,
.product-lede {
  max-width: 710px;
  margin: 0;
  color: #4d4f4a;
  font-size: 19px;
  line-height: 1.6;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 18px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 600;
}

.button:hover { background: #353830; }

.inline-link {
  display: inline-block;
  padding-block: 10px;
  text-decoration: underline;
  text-underline-offset: 5px;
  font-size: 14px;
}

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

.product-hero { padding: 72px 0 80px; }

.product-section {
  padding: 72px 0 80px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 24px;
}

.product-section-heading h2 {
  margin: 20px 0 32px;
  font-size: clamp(30px, 4.2vw, 50px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.reading-copy { max-width: 760px; font-size: 18px; }
.reading-copy p { margin: 0 0 20px; }

.product-figure { margin: 40px 0 0; }
.product-figure img { display: block; width: 100%; height: auto; }
.product-figure figcaption { max-width: 760px; margin-top: 14px; color: var(--muted); font-size: 13px; }

.steps-grid,
.examples-grid,
.pricing-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps-grid { padding-left: 22px; }
.steps-grid li { padding-right: 18px; }
.steps-grid h3,
.examples-grid h3,
.price-card h3 { margin: 0 0 14px; font-size: 19px; font-weight: 600; }
.steps-grid p,
.examples-grid p { margin: 0; color: #4d4f4a; }
code, kbd { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.85em; }

.snippet-example {
  max-width: 760px;
  margin: 36px 0 0;
  padding: 22px 26px;
  border-left: 3px solid var(--accent);
  background: var(--panel);
}
.snippet-example p { margin: 0 0 16px; font-size: 20px; }
.snippet-example footer { color: var(--muted); font-size: 13px; }

.pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.price-card { padding: 28px; border: 1px solid var(--line); background: var(--panel); }
.price-card p { margin-bottom: 0; }
.price-card .price { margin: 0 0 24px; font-size: 42px; letter-spacing: -0.04em; }
.price span { display: inline-block; font-size: 14px; letter-spacing: normal; color: var(--muted); }

.faq-list { max-width: 850px; }
.faq-list details { padding: 22px 0; border-top: 1px solid var(--line); }
.faq-list summary { cursor: pointer; font-size: 18px; font-weight: 600; }
.faq-list summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.faq-list p { margin: 16px 0 0; max-width: 760px; color: #4d4f4a; }

@media (max-width: 760px) {
  :root {
    --shell: min(100% - 32px, 1160px);
  }

  .site-header {
    height: 72px;
  }

  .hero {
    padding: 32px 0 48px;
  }

  .hero h1 {
    margin: 18px 0 28px;
    font-size: 30px;
    line-height: 1.05;
  }

  .featured-product { padding-top: 22px; }
  .featured-product h2, .product-hero h1 { font-size: 42px; }
  .feature-intro, .product-lede { font-size: 17px; }
  .cta-row { gap: 8px 24px; margin-top: 24px; }
  .product-hero { padding: 42px 0 56px; }
  .product-section { padding: 48px 0 56px; }
  .reading-copy { font-size: 17px; }
  .steps-grid, .examples-grid, .pricing-grid { grid-template-columns: 1fr; }
  .steps-grid li { padding-right: 0; }
  .price-card { padding: 24px; }
  .snippet-example { padding: 20px; }

  .products,
  .about {
    padding: 72px 0 88px;
  }

  .section-heading {
    grid-template-columns: 40px 1fr;
    row-gap: 14px;
    margin-bottom: 36px;
  }

  .section-heading > p:last-child {
    grid-column: 2;
  }

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

  .product-card {
    min-height: 300px;
    padding: 20px 18px 22px;
  }

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

  .card-copy {
    padding-bottom: 40px;
  }

  .card-copy h3 {
    font-size: 34px;
  }

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

  .about .section-heading {
    margin-bottom: 54px;
  }

  .manifesto p {
    font-size: 34px;
  }

  .manifesto .sign-off {
    margin-top: 58px;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    row-gap: 42px;
  }

  .site-footer > p {
    grid-column: 1 / -1;
    text-align: left;
  }
}

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

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