:root {
  color-scheme: dark;
  --background: #0a0a09;
  --surface: #11110f;
  --text: #f3f2ec;
  --muted: #9a9992;
  --dim: #686761;
  --line: #2b2b27;
  --green: #b8f34a;
  --blue: #91a7ff;
  --coral: #ff8f70;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.55;
}

::selection {
  background: var(--green);
  color: #10100d;
}

a {
  color: inherit;
  text-decoration-color: var(--dim);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-color: var(--green);
}

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

.page {
  width: min(920px, calc(100% - 56px));
  margin: 0 auto;
  padding: 72px 0 64px;
}

.profile-header {
  max-width: 760px;
}

.featured-writing {
  margin-top: 40px;
}

.featured-writing > a {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 17px 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.featured-writing > a:hover,
.featured-writing > a:focus-visible {
  border-color: var(--green);
  box-shadow: inset 3px 0 0 var(--green);
  outline: none;
}

.featured-writing-meta {
  display: grid;
  gap: 7px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.62rem;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-writing-meta > span:first-child {
  color: var(--green);
}

.featured-writing-publish {
  display: grid;
  gap: 3px;
}

.featured-writing-content {
  min-width: 0;
}

.featured-writing h2 {
  margin: 0;
  font-size: clamp(1.04rem, 2vw, 1.28rem);
  font-weight: 660;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.featured-writing p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.featured-writing-cta {
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.68rem;
  line-height: 1.3;
  white-space: nowrap;
}

.featured-writing > a:hover .featured-writing-cta,
.featured-writing > a:focus-visible .featured-writing-cta {
  color: var(--green);
}

.inline-links a::after,
footer a::after {
  content: "\2197";
  margin-left: 0.35em;
  color: var(--dim);
  font-size: 0.78em;
}

footer a.internal-link::after {
  content: none;
}

h1 {
  margin: 0 0 18px;
  font-size: 3.4rem;
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1;
}

.intro {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: 1.62rem;
  line-height: 1.4;
}

.intro strong {
  color: var(--text);
  font-weight: 650;
}

.intro a {
  color: var(--text);
}

.profile-links {
  margin: 14px 0 0;
  color: var(--dim);
  font-size: 0.98rem;
  line-height: 1.5;
}

.profile-links a {
  color: var(--muted);
}

.schema-section {
  margin-top: 76px;
}

.section-heading {
  display: flex;
  gap: 32px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 20px;
}

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

.section-heading p {
  margin-bottom: 6px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.section-heading h2 {
  font-size: 1.35rem;
  font-weight: 620;
  letter-spacing: 0;
}

.section-heading > span {
  flex: 0 0 auto;
  padding-bottom: 2px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.schema-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.98rem;
}

.schema-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.property-column {
  width: 24%;
}

.schema-table th,
.schema-table td {
  overflow-wrap: anywhere;
  text-align: left;
  vertical-align: top;
}

.schema-table tbody tr:not(.node-heading) {
  border-bottom: 1px solid rgba(43, 43, 39, 0.72);
}

.schema-table tbody tr:not(.node-heading) th,
.schema-table tbody tr:not(.node-heading) td {
  padding: 13px 0;
}

.schema-table tbody tr:not(.node-heading) th {
  padding-right: 18px;
  color: var(--dim);
  font-weight: 400;
}

.schema-table tbody tr:not(.node-heading) td {
  color: var(--muted);
}

.schema-table tbody + tbody .node-heading th {
  border-top: 1px solid var(--line);
}

.node-heading th {
  padding: 29px 0 10px;
  color: var(--text);
  font-weight: 500;
}

.node-index {
  display: inline-block;
  margin-right: 14px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.node-heading strong {
  display: inline-block;
  margin-right: 14px;
  font-size: 1rem;
  font-weight: 650;
}

.node-heading code {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 400;
}

.schema-table th code {
  font-family: var(--mono);
  font-size: 0.82rem;
}

.schema-type {
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.88rem;
}

.schema-table time {
  color: inherit;
  font: inherit;
}

.term-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.term-list li:not(:last-child)::after {
  content: "/";
  margin: 0 0.48em;
  color: var(--dim);
}

.inline-links {
  line-height: 1.9;
}

.inline-links a + a {
  margin-left: 22px;
}

.schema-table .inline-links a,
#consulting a {
  color: var(--green);
  text-decoration-color: var(--green);
}

.unstructured-section {
  margin-top: 92px;
}

.unstructured-section .section-heading p {
  color: var(--coral);
}

.loose-facts {
  margin: 0;
  border-top: 1px solid var(--line);
}

.loose-facts > div {
  display: grid;
  grid-template-columns: 24% minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.loose-facts dt,
.loose-facts dd {
  margin: 0;
  padding: 17px 0;
}

.loose-facts dt {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.82rem;
}

.loose-facts dd {
  color: var(--muted);
  font-size: 1.05rem;
}

.loose-facts dd > a,
.project-summary a {
  color: var(--text);
  font-weight: 650;
}

.fact-copy,
.project-summary {
  margin: 0;
}

.fact-detail {
  display: block;
  margin-top: 3px;
  color: var(--dim);
  font-size: 0.94rem;
}

.previous-work,
.builder-stack {
  margin-top: 14px;
}

.project-story {
  margin: 16px 0 0;
  color: var(--text);
  font-size: 0.94rem;
}

.project-story a {
  text-decoration-color: var(--green);
}

.previous-work > span,
.builder-stack > span {
  display: block;
  margin-bottom: 5px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.builder-stack ul {
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 1.05rem;
  list-style: none;
}

.builder-stack li {
  position: relative;
  padding-left: 1.15em;
}

.builder-stack li + li {
  margin-top: 4px;
}

.builder-stack li::before {
  position: absolute;
  left: 0;
  color: var(--coral);
  content: "\2022";
}

.pastime-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pastime-list li {
  position: relative;
  padding-left: 1.15em;
}

.pastime-list li + li {
  margin-top: 4px;
}

.pastime-list li::before {
  position: absolute;
  left: 0;
  color: var(--coral);
  content: "\2022";
}

.industries-section {
  margin-top: 92px;
}

.industries-section .section-heading p {
  color: var(--blue);
}

.industry-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.industry-list li {
  padding: 14px 20px 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.prompt-injection {
  margin-top: 54px;
  padding-left: 16px;
  border-left: 1px solid rgba(145, 167, 255, 0.45);
  color: var(--dim);
  font-family: var(--mono);
}

.prompt-injection code {
  font-family: inherit;
  font-size: 0.72rem;
  line-height: 1.7;
}

.subpage-header {
  max-width: 780px;
}

.site-mark {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
  text-decoration: none;
}

.site-mark:hover {
  color: var(--text);
}

.subpage-header h1 {
  max-width: 680px;
  margin-top: 30px;
}

.consulting-intro,
.section-intro {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.55;
}

.consulting-section {
  margin-top: 82px;
}

.consulting-section .section-heading p {
  color: var(--blue);
}

.process-list {
  margin: 24px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 24% minmax(0, 1fr);
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.process-label {
  display: flex;
  gap: 11px;
  align-items: baseline;
  padding-right: 18px;
}

.process-label span {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.process-label h3,
.process-list p {
  margin: 0;
}

.process-label h3 {
  color: var(--text);
  font-size: 1rem;
  font-weight: 650;
}

.process-list p {
  color: var(--muted);
}

.work-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.work-list li {
  padding: 15px 20px 15px 0;
  border-bottom: 1px solid var(--line);
}

.work-list a {
  color: var(--muted);
}

.contact-row {
  display: grid;
  grid-template-columns: 24% minmax(0, 1fr);
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-row > span {
  padding-right: 18px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.82rem;
}

.contact-row p {
  margin: 0;
  color: var(--muted);
}

.contact-form {
  margin: 0;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field-wide {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  line-height: 1.45;
}

.form-field input {
  min-height: 42px;
  padding: 8px 10px;
}

.form-field textarea {
  min-height: 154px;
  padding: 10px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  outline: none;
}

.honeypot {
  display: none;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  align-items: center;
  margin-top: 18px;
}

.submit-button {
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid var(--green);
  border-radius: 0;
  background: var(--green);
  color: #10100d;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.submit-button:hover {
  background: transparent;
  color: var(--green);
}

.submit-button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.form-note,
.thanks-link {
  margin: 0;
  color: var(--dim);
  font-size: 0.92rem;
}

.thanks-link {
  margin-top: 24px;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
  margin-top: 92px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

footer > span {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.76rem;
  text-transform: uppercase;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
}

.article-page {
  width: min(1040px, calc(100% - 56px));
}

.article-page > .site-mark {
  display: inline-block;
  margin-bottom: 72px;
}

.article-header {
  max-width: 760px;
  margin: 0 auto 68px;
}

.article-kicker {
  margin: 0 0 18px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article-header h1 {
  margin-bottom: 22px;
  font-size: clamp(2.65rem, 6vw, 5.15rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.76rem;
}

.article-meta a {
  color: var(--muted);
}

.article-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  width: 100%;
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.article-share-label {
  color: var(--dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-share-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
}

.article-share-options a,
.article-share-options button {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  text-decoration-color: var(--green);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.article-share-options a:hover,
.article-share-options button:hover,
.article-share-options a:focus-visible,
.article-share-options button:focus-visible {
  color: var(--green);
  text-decoration-thickness: 2px;
}

.article-share-status {
  color: var(--green);
  font-size: 0.68rem;
}

.article-share-status:not(:empty)::before {
  content: "· ";
  color: var(--green);
}

.article-share-status:empty {
  display: none;
}

.article-body {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.72;
}

.article-body h2[data-section-group]::before {
  content: attr(data-section-group);
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-body > :is(p, ul, ol) a:not([id]),
.article-body > figure figcaption a {
  color: var(--text);
  text-decoration-color: var(--green);
  text-decoration-line: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.22em;
  transition:
    color 140ms ease,
    text-decoration-thickness 140ms ease,
    text-shadow 140ms ease;
}

.article-body > :is(p, ul, ol) a:not([id]):hover,
.article-body > :is(p, ul, ol) a:not([id]):focus-visible,
.article-body > figure figcaption a:hover,
.article-body > figure figcaption a:focus-visible {
  color: var(--green);
  text-decoration-thickness: 3px;
  text-shadow: 0 0 18px rgb(184 243 74 / 28%);
}

.article-callout {
  margin: 64px 0;
  padding: 10px 0 10px 28px;
  border-left: 3px solid var(--green);
  color: var(--text);
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.article-callout::before {
  content: "“";
  display: block;
  height: 0.55em;
  margin-bottom: 14px;
  color: var(--green);
  font-family: Georgia, serif;
  font-size: 2.5em;
  font-weight: 400;
  line-height: 0.75;
}

.article-callout p {
  margin: 0;
}

.article-outro {
  margin-top: 72px;
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid var(--line);
  background: #0d0d0c;
}

.article-outro .article-outro-eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-outro h3 {
  margin: 0 0 14px;
}

.article-outro p {
  margin: 0;
}

.article-outro p + p {
  margin-top: 14px;
}

.article-outro-contact {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.article-outro-contact h4 {
  margin: 0 0 7px;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.3;
}

.article-outro-contact a {
  color: var(--green);
  text-decoration-color: color-mix(in srgb, var(--green) 65%, transparent);
}

.article-outro-contact a:hover,
.article-outro-contact a:focus-visible {
  color: var(--text);
  text-decoration-color: var(--green);
}

.article-outro nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.article-outro nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.7rem;
  line-height: 1;
  text-decoration: none;
}

.article-outro nav a:hover,
.article-outro nav a:focus-visible {
  border-color: var(--green);
  color: var(--text);
}

.article-body > p:first-child {
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1.55;
}

.article-body p {
  margin: 0 0 1.25em;
}

.article-body h2,
.article-body h3 {
  color: var(--text);
  scroll-margin-top: 24px;
}

.article-body h2 {
  margin: 4.1rem 0 1.25rem;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.article-body h3 {
  margin: 2.8rem 0 1rem;
  font-size: 1.28rem;
  line-height: 1.25;
}

.article-body strong {
  color: var(--text);
  font-weight: 680;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.6em;
  padding-left: 1.4em;
}

.article-body li {
  padding-left: 0.25em;
}

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

.article-body > ol:not(.learnings-list) {
  counter-reset: article-step;
  padding-left: 0;
  list-style: none;
}

.article-body > ol:not(.learnings-list) > li {
  counter-increment: article-step;
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 0.45rem;
  align-items: start;
}

.article-body > ol:not(.learnings-list) > li::before {
  content: counter(article-step, decimal-leading-zero);
  padding-top: 0.2em;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.article-body > ol:not(.learnings-list) > li + li {
  margin-top: 0.7em;
}

.article-body > ol.next-steps-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 2rem 0 2.25rem;
}

.article-body > ol.next-steps-list > li {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 1.35rem 1.4rem 1.45rem;
  border: 1px solid var(--line);
  background: var(--surface);
}

.article-body > ol.next-steps-list > li:nth-child(-n + 4) {
  min-height: 12.5rem;
}

.article-body > ol.next-steps-list > li:last-child {
  grid-column: 1 / -1;
}

.article-body > ol.next-steps-list > li::before {
  display: block;
  margin-bottom: 0.9rem;
  padding: 0;
  font-size: 0.68rem;
  line-height: 1;
}

.next-steps-list h3 {
  margin: 0 0 0.55rem;
  font-size: 1.08rem;
  line-height: 1.25;
}

.next-steps-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.62;
}

.article-body .collection-intro {
  margin-top: 3.25rem;
}

.article-body > ul {
  padding-left: 1.4rem;
  list-style: none;
}

.article-body > ul > li {
  position: relative;
}

.article-body > ul > li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: -1.15rem;
  width: 6px;
  height: 6px;
  background: var(--green);
  box-shadow: 0 0 12px rgb(184 243 74 / 22%);
  transform: rotate(45deg);
}

.article-body > ul > li + li {
  margin-top: 0.55em;
}

.article-body .learnings-list {
  margin: 2.2rem 0 0;
  padding-left: 2.3rem;
  list-style-type: decimal-leading-zero;
}

.article-body .learnings-list > li {
  padding-left: 0.6rem;
}

.article-body .learnings-list > li + li {
  margin-top: 3rem;
}

.article-body .learnings-list > li::marker {
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 650;
}

.article-body .learnings-list h3 {
  margin: 0 0 1.1rem;
}

.article-body .learnings-list ul {
  margin: 0;
  padding-left: 1.15rem;
}

.article-body .learnings-list ul li {
  padding-left: 0.3rem;
}

.article-body .learnings-list ul li + li {
  margin-top: 0.85rem;
}

.article-body .learnings-list ul li::marker {
  color: var(--dim);
}

.article-body code {
  padding: 0.12em 0.3em;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.88em;
}

.article-body > p:has(> a[id]:only-child) {
  height: 0;
  margin: 0;
}

.article-toc {
  margin: 58px 0 70px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.article-toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 20px 16px;
  border-bottom: 1px solid var(--line);
}

.article-toc-title {
  margin: 0;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.article-toc-header p {
  margin: 0;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.article-toc-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 1fr;
}

.article-toc-group {
  padding: 22px 20px 24px;
}

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

.article-toc-group-title {
  margin: 0 0 16px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.article-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-toc li {
  padding: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.38;
}

.article-toc li + li {
  margin-top: 0.8em;
}

.article-toc a {
  display: grid;
  grid-template-columns: 1.8rem 1fr;
  gap: 0.35rem;
  align-items: start;
  color: var(--muted);
  text-decoration: none;
  transition: color 140ms ease, transform 140ms ease;
}

.article-toc a:hover {
  color: var(--text);
  transform: translateX(2px);
}

.article-toc-number {
  padding-top: 0.12em;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.68rem;
  line-height: 1.45;
}

.article-body figure {
  width: 100%;
  margin: 58px 0 52px;
}

.article-body figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: #fff;
}

.article-body figcaption {
  margin: 12px 0 0;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.55;
}

.article-page footer {
  max-width: 860px;
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 700px) {
  .featured-writing {
    margin-top: 36px;
  }

  .featured-writing > a {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
  }

  .featured-writing-meta {
    display: flex;
    justify-content: space-between;
  }

  .featured-writing-cta {
    justify-self: start;
  }

  .article-body > ol.next-steps-list {
    grid-template-columns: 1fr;
  }

  .article-body > ol.next-steps-list > li:last-child {
    grid-column: auto;
  }

  .article-body > ol.next-steps-list > li:nth-child(-n + 4) {
    min-height: 0;
  }

  .page {
    width: min(100% - 32px, 920px);
    padding: 54px 0 44px;
  }

  h1 {
    font-size: 2.7rem;
  }

  .intro {
    font-size: 1.32rem;
  }

  .schema-section {
    margin-top: 62px;
  }

  .section-heading {
    display: block;
  }

  .section-heading > span {
    display: block;
    margin-top: 8px;
  }

  .property-column {
    width: 34%;
  }

  .schema-table tbody tr:not(.node-heading) th {
    padding-right: 10px;
  }

  .node-heading th {
    padding-top: 25px;
  }

  .loose-facts > div {
    grid-template-columns: 34% minmax(0, 1fr);
  }

  .process-list li,
  .contact-row {
    grid-template-columns: 34% minmax(0, 1fr);
  }

  .unstructured-section,
  .industries-section,
  footer {
    margin-top: 72px;
  }

  .industry-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-page {
    width: min(100% - 32px, 1040px);
  }

  .article-page > .site-mark {
    margin-bottom: 48px;
  }

  .article-header {
    margin-bottom: 50px;
  }

  .article-header h1 {
    font-size: clamp(2.25rem, 9vw, 3.4rem);
    line-height: 1.02;
  }

  .article-share {
    width: 100%;
    margin-top: 40px;
    gap: 2px 10px;
  }

  .article-share-options {
    gap: 2px 10px;
  }

  .article-share-options a,
  .article-share-options button {
    min-height: 32px;
    padding: 0;
    font-size: 0.68rem;
  }

  .article-body {
    font-size: 1.02rem;
    line-height: 1.68;
  }

  .article-body > p:first-child {
    font-size: 1.2rem;
  }

  .article-body figure {
    margin-top: 46px;
    margin-bottom: 44px;
  }

  .article-toc-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 540px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-field-wide {
    grid-column: auto;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 2.35rem;
  }

  .schema-table {
    font-size: 0.9rem;
  }

  .schema-table th code,
  .loose-facts dt {
    font-size: 0.72rem;
  }

  .loose-facts dd {
    font-size: 0.96rem;
  }

  .loose-facts > div {
    grid-template-columns: 1fr;
  }

  .loose-facts dt {
    padding-bottom: 0;
  }

  .loose-facts dd {
    padding-top: 8px;
  }

  .process-list li,
  .contact-row {
    grid-template-columns: 1fr;
  }

  .process-label,
  .contact-row > span {
    padding-right: 0;
  }

  .process-list p,
  .contact-row p {
    margin-top: 7px;
  }

  .industry-list {
    grid-template-columns: 1fr;
  }

  .work-list {
    grid-template-columns: 1fr;
  }

  .article-toc {
    margin-top: 42px;
  }

  .article-toc-header {
    align-items: flex-start;
    padding: 15px 16px 14px;
  }

  .article-toc-header p {
    text-align: right;
  }

  .article-toc-group {
    padding: 20px 16px 22px;
  }
}
