/* Shared September 2026 studio system for independently generated documents. */
@font-face {
  font-family: Switzer;
  src: url("/fonts/switzer-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
:root {
  --page-bg: #101113;
  --page-surface: #1b1d21;
  --page-ink: #eeeff2;
  --page-muted: #b0b3bd;
  --page-line: #383c44;
  --page-blue: #5b8cff;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}
body {
  background: var(--page-bg);
  color: var(--page-ink);
  font-size: 17px;
}
body h1,
body h2,
body h3 {
  font-weight: 500;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
body p {
  color: var(--page-muted);
  line-height: 1.8;
}
body .wrap {
  max-width: 1120px;
  padding-inline: 48px;
}
body article.wrap {
  max-width: 960px;
}
body h1 {
  font-size: clamp(46px, 5.5vw, 80px);
  line-height: 1.08;
  max-width: 19ch;
  margin: 0 0 28px;
}
body h2 {
  font-size: 32px;
  line-height: 1.2;
  margin-top: 64px;
  padding-top: 30px;
  border-top: 1px solid var(--page-line);
}
body h3 {
  font-size: 23px;
}
body .lead,
body .lede,
body .dek,
body .intro {
  font-size: 19px;
  max-width: 65ch;
  color: var(--page-muted);
  line-height: 1.75;
}
body .label {
  font-family: Switzer, sans-serif;
  color: #acb1bd;
  letter-spacing: 0.01em;
  font-size: 12px;
  text-transform: none;
  line-height: 1.4;
}
body .top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--page-bg);
  padding: 0;
  margin-bottom: 90px;
  border-bottom: 1px solid var(--page-line);
}
body .top-in {
  max-width: 1440px;
  height: 88px;
  padding-inline: 64px;
  gap: 28px;
}
body .top-in .brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 22px !important;
  line-height: 1.15;
  color: var(--page-ink) !important;
  letter-spacing: -0.04em;
  flex: none;
}
.brand small {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--page-muted);
}
.top-in nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.top-in nav a {
  font-size: 13px;
  color: var(--page-muted);
  padding-block: 14px;
}
.top-in nav a:hover {
  color: var(--page-ink);
}
.page-nav-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}
.page-language {
  display: grid;
  place-items: center;
  width: 32px;
  min-height: 44px;
  font-size: 11px !important;
}
.top-in .page-book {
  display: flex;
  gap: 24px;
  align-items: center;
  border: 1px solid #676c77;
  border-radius: 3px;
  padding: 11px 16px;
  color: var(--page-ink);
  font-size: 13px;
  white-space: nowrap;
  min-height: 44px;
}
.top-in .page-book:hover {
  color: var(--page-bg);
  background: var(--page-ink);
}
.page-skip {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 100;
  transform: translateY(-200%);
  background: var(--page-ink);
  color: var(--page-bg);
  padding: 10px 16px;
}
.page-skip:focus {
  transform: none;
}
body :focus-visible {
  outline: 2px solid var(--page-blue);
  outline-offset: 5px;
}
body .rows {
  margin-top: 50px;
}
.entry,
.qa {
  border-color: var(--page-line) !important;
  padding-block: 30px !important;
}
.entry h3 {
  font-size: 26px;
}
.entry p {
  max-width: 70ch;
}
.entry a {
  display: block;
}
.entry a:hover h3 {
  color: var(--page-blue);
}
body .reg {
  gap: 0 36px;
  margin-top: 30px;
}
.reg li {
  border-color: var(--page-line);
}
.reg a {
  min-height: 58px;
}
.reg .sec {
  font-family: Switzer, sans-serif;
  font-size: 10px;
  text-transform: none;
  letter-spacing: 0;
}
.reg .nm {
  font-size: 15px;
}
.reg .dot {
  flex-shrink: 0;
}
body blockquote {
  margin: 45px 0;
  padding: 32px 0;
  border-block: 1px solid var(--page-line);
  font-size: 28px;
  line-height: 1.55;
  letter-spacing: -0.025em;
}
body blockquote p {
  color: var(--page-ink);
}
body blockquote footer {
  font-size: 13px;
  letter-spacing: 0;
  color: var(--page-muted);
  margin-top: 20px;
}
body .cta {
  margin-top: 80px;
  padding: 38px;
  background: var(--page-surface);
  border: 1px solid var(--page-line);
  border-radius: 3px;
}
.cta a {
  background: var(--page-blue) !important;
  color: #080e1d !important;
  border-radius: 3px !important;
  min-height: 48px;
  padding: 12px 22px !important;
}
.cta a:hover {
  background: #8aafff !important;
}
.cta p {
  max-width: 60ch;
}
body .foot {
  margin-top: 70px;
  border-color: var(--page-line);
  padding-bottom: 32px;
}
.page-signature {
  font-size: clamp(60px, 15vw, 210px);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.07em;
  max-width: 1312px;
  margin: 50px auto 0;
  padding-inline: 40px;
  white-space: nowrap;
  overflow: hidden;
  user-select: none;
}
.page-bottom {
  max-width: 1312px;
  margin: 18px auto 0;
  padding: 22px 40px 35px;
  border-top: 1px solid var(--page-line);
  display: flex;
  justify-content: space-between;
  gap: 25px;
  font-size: 11px;
  color: var(--page-muted);
}
body .tiers {
  margin-top: 60px;
  border-color: var(--page-line);
}
body .tier {
  padding: 30px 26px !important;
  background: var(--page-surface);
  border-color: var(--page-line);
  border-top: 1px solid var(--page-line);
}
body .tier.is-target {
  background: #242c3d;
  border: 1px solid #5b8cff;
  padding: 30px 26px !important;
  margin-top: 0;
}
body .tier h2 {
  font-size: 27px;
  border: 0;
  margin-top: 20px;
  padding-top: 0;
}
body .tier .price {
  font-size: 43px;
}
body .tier p,
body .tier li {
  color: #bac0cd;
}
body .tier ul {
  padding-left: 16px;
}
body .tier .label {
  color: #bac0cd;
}
body .post-image img {
  max-height: 650px;
  object-fit: cover;
  object-position: center;
}
.post-image {
  margin-top: 40px;
}
.post-image figcaption {
  font-family: Switzer, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
body .work-builds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px 28px;
}
.work-builds > .entry {
  padding: 0 0 25px !important;
  border-top: 0;
}
.work-builds .work-preview {
  display: block;
  width: 100%;
  /* The <img> carries width="1440" height="900" attributes. Overriding only the
     width leaves the height resolving to the raw attribute, which makes BOTH
     dimensions definite and causes aspect-ratio to be ignored entirely: the
     frame became 498x900 and object-fit: cover cropped a portrait slice out of
     an 880x550 landscape screenshot. Override both or neither. */
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
  object-position: top;
  margin-bottom: 22px;
  background: #262a33;
}
.work-builds .label {
  margin-bottom: 10px;
}
.work-builds h3 {
  font-size: 27px;
}
.work-builds p {
  font-size: 14px;
}
@media (max-width: 1099px) {
  body .top-in {
    padding-inline: 35px;
    gap: 18px;
  }
  .top-in nav {
    gap: 20px;
  }
  .top-in .page-book {
    gap: 12px;
  }
  .page-nav-actions {
    gap: 12px;
  }
}
@media (max-width: 800px) {
  body .top {
    margin-bottom: 55px;
  }
  body .top-in {
    height: auto;
    min-height: 76px;
    flex-wrap: wrap;
    padding: 18px 24px 0;
    gap: 16px;
  }
  body .top-in .brand {
    font-size: 20px !important;
  }
  .top-in nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
    gap: 14px;
    border-top: 1px solid var(--page-line);
  }
  .top-in nav a {
    font-size: 12px;
    padding: 13px 0;
    min-height: 44px;
  }
  .page-nav-actions {
    margin-left: auto;
  }
  .top-in .page-book {
    font-size: 12px;
    padding: 9px 11px;
  }
  .page-book svg {
    display: none;
  }
  body .wrap,
  body article.wrap {
    padding-inline: 24px;
  }
  body h1 {
    font-size: 46px;
    max-width: 22ch;
  }
  body h2 {
    font-size: 27px;
    margin-top: 45px;
  }
  body .lead,
  body .lede,
  body .dek,
  body .intro {
    font-size: 17px;
  }
  body .rows {
    margin-top: 30px;
  }
  body .cta {
    padding: 25px;
    margin-top: 50px;
  }
  body .reg {
    grid-template-columns: 1fr;
  }
  body blockquote {
    font-size: 24px;
  }
  .page-signature {
    padding-inline: 24px;
    font-size: 15vw;
  }
  .page-bottom {
    padding-inline: 24px;
    font-size: 10px;
  }
  body .work-builds {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  body .tier {
    margin-bottom: 20px;
  }
  .post-image img {
    max-height: 480px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
