/* cirlet content pages: docs, questions, about and privacy (built by site/build.py). A calm reading layout in the
   homepage's look: flat, square, deep blues, no gradients, no rounded corners. The drones stay on the homepage. */

/* the header: About and Docs stay visible on a phone (there are only two); the button stays too, shortened to "Contact" */
.content-head .nav { display: flex; }
.content-head .nav a[aria-current="page"] { color: var(--ink); }
.content-head .cta-short { display: none; }
@media (max-width: 600px) {
  .content-head .cta-long { display: none; }
  .content-head .cta-short { display: inline; }
  .content-head .nav { gap: 18px; }
}
@media (max-width: 374px) {
  .content-head .wrap { gap: 8px; }
  .content-head .nav { gap: 12px; }
  .content-head .nav a { font-size: 14px; }
  .content-head .btn { display: inline-flex; padding: 0 12px; }
}

/* the docs: a menu beside the page, the page itself at a comfortable reading width */
.docs { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); padding: 56px 0 96px; }
.page { padding: 56px 0 96px; }
.page .doc { margin-inline: auto; }
.docs-nav { position: sticky; top: 96px; align-self: start; font-size: 15px; }
.docs-menu summary { display: none; }
.docs-group { color: var(--ink-3); margin: 26px 0 8px; }
.docs-group:first-of-type { margin-top: 0; }
.docs-nav a { display: flex; align-items: center; gap: 10px; color: var(--ink-2); text-decoration: none; padding: 5px 0; }
.docs-nav a::before { content: ""; width: 6px; height: 6px; flex: none; box-shadow: inset 0 0 0 1px var(--line-2); }
.docs-nav a:hover { color: var(--ink); }
.docs-nav a[aria-current="page"] { color: var(--ink); }
.docs-nav a[aria-current="page"]::before { background: var(--eye); box-shadow: none; }
@media (max-width: 900px) {
  .docs { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; }
  .docs-nav { position: static; }
  .docs-menu { border: 1px solid var(--line); background: var(--bg-2); }
  .docs-menu summary { display: flex; justify-content: space-between; align-items: center; list-style: none; cursor: pointer; padding: 14px 16px; font-weight: 500; }
  .docs-menu summary::-webkit-details-marker { display: none; }
  .docs-menu summary::after { content: ""; width: 10px; height: 10px; box-shadow: inset 0 0 0 1px var(--line-2); }
  .docs-menu[open] summary::after { background: var(--eye); box-shadow: none; }
  .docs-menu[open] { padding-bottom: 12px; }
  .docs-menu .docs-group, .docs-menu a { margin-inline: 16px; }
}

/* the page */
.doc { max-width: 720px; min-width: 0; }
.doc > .kicker, .doc h1 .kicker { margin-bottom: 16px; }
/* on the docs, the kicker is the heading's topic, so it sits inside the h1 and looks the same as before */
.doc h1 .kicker { font-weight: 400; line-height: 1.6; }
.doc h1 { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.05; }
.doc-lead { color: var(--ink-2); font-size: clamp(18px, 1.4vw, 20px); line-height: 1.55; margin-top: 20px; }
/* who "I" is and when the page last changed: quiet, under the lead */
.doc .byline { margin-top: 18px; color: var(--ink-3); font-size: 14.5px; }
.doc .byline time { white-space: nowrap; }
.doc .byline a:not(.btn) { color: var(--ink-2); border-bottom-color: var(--line-2); }
.doc .byline a:not(.btn):hover { color: var(--ice); border-color: var(--ice); }
.doc h2 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; margin: 56px 0 14px; max-width: none; scroll-margin-top: 96px; }
.doc h3 { font-size: 19px; letter-spacing: -.01em; margin: 30px 0 8px; }
.doc p { color: var(--ink-2); margin-top: 14px; }
.doc p:first-child, .doc h2 + p, .doc h3 + p { margin-top: 0; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc a:not(.btn):not(.pn) { color: var(--ice); text-decoration: none; border-bottom: 1px solid rgba(212, 229, 255, .35); }
.doc a:not(.btn):not(.pn):hover { border-color: var(--ice); }
.doc ul, .doc ol { list-style: none; padding: 0; margin-top: 14px; color: var(--ink-2); }
.doc li { position: relative; padding-left: 24px; margin-top: 8px; }
.doc ul > li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; background: var(--steel); }
.doc ol { counter-reset: n; }
.doc ol > li::before { counter-increment: n; content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: .2em; font: 500 11px/1.6 var(--mono); color: var(--eye); }
.doc ol > li { padding-left: 34px; }
.doc .note-box { margin-top: 22px; padding: 16px 20px; background: var(--panel); box-shadow: inset 2px 0 0 var(--eye); color: var(--ink-2); }
.doc .note-box p { margin: 0; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 16px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.doc th { color: var(--ink); font-weight: 600; }
.doc thead th { color: var(--ink-3); font: 500 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.table-wrap { overflow-x: auto; }

/* the questions it answers, at the foot of a doc */
.answers { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); }
.answers .mono { color: var(--ink-3); }
.doc .answers ul { margin-top: 10px; }

/* the questions page */
.doc .qs { margin-top: 18px; }
.doc .qs summary { color: var(--ink); }
.doc .qs details > div { padding: 0 32px 22px 0; }
.doc .qs details > div p { margin-top: 10px; }
.doc .qs details > div p:first-child { margin-top: 0; }
.doc .qs details > div p { padding: 0; } /* the answer's box has the padding, not each paragraph */
.qgroups { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; }
.qgroups a { font-size: 15px; }

/* the closing invitation, and previous / next */
.invite { margin-top: 72px; padding: 30px 32px; background: var(--panel); border: 1px solid var(--line); }
.invite h2 { margin: 0 0 10px; font-size: clamp(24px, 2.4vw, 30px); }
.invite-go { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 22px; }
.invite-go > span { color: var(--ink-3); font-size: 15px; }
.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; }
.pn { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s, background .2s; }
.pn .mono { color: var(--ink-3); }
.pn-next { text-align: right; } /* not .next: that's the homepage's "what happens next" */
.pn:hover { border-color: var(--line-2); background: var(--bg-2); }
@media (max-width: 560px) { .invite { padding: 24px 20px; } .prev-next { grid-template-columns: 1fr; } .pn-next { text-align: left; } }

/* about: Tyler's portrait beside his name */
.about-sig { display: flex; align-items: center; gap: 16px; margin-top: 26px; }
.about-sig img { width: 72px; height: 72px; flex: none; }
.about-sig span { display: block; color: var(--ink-3); font-size: 15px; }

/* about: key facts, as a plain list of names and values (crawlable text, not a picture) */
.doc .facts { display: grid; grid-template-columns: minmax(130px, 200px) 1fr; margin-top: 18px; border-top: 1px solid var(--line); }
.doc .facts dt, .doc .facts dd { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line); }
.doc .facts dt { color: var(--ink-3); font: 500 11px/1.9 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding-right: 16px; }
.doc .facts dd { color: var(--ink-2); }
@media (max-width: 560px) { .doc .facts { grid-template-columns: 1fr; } .doc .facts dt { border-bottom: 0; padding-bottom: 0; } }
.doc h2 + h3 { margin-top: 10px; }

/* about (Tyler, 2026-09-29: "give it some real structure… it just looks like a wall of text"): the same words, as quick
   facts, cards, a founder panel, tables and questions you open, in a wider column */
.doc:has(.ab-hero) { max-width: 900px; }
.ab-hero { padding-bottom: 6px; }
.ab-stats { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 28px 0 26px; padding: 0; background: var(--line-2); box-shadow: 0 0 0 1px var(--line-2), 6px 6px 0 #000; }
.ab-stats li { padding: 16px 18px; background: var(--panel); }
.ab-stats b { display: block; color: var(--ink); font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.ab-stats span { display: block; margin-top: 4px; color: var(--ink-3); font: 500 10.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.ab-cards, .ab-who { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 18px 0 0; padding: 0; list-style: none; }
.ab-cards { grid-template-columns: minmax(0, 1fr); } /* the three ways to work together, one under another */
.ab-cards article, .ab-diff article, .ab-who li { padding: 20px 22px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-2), 4px 4px 0 #000; }
.ab-cards .mono { color: var(--steel); }
.ab-cards h3, .ab-diff h3 { margin: 8px 0 6px; font-size: 19px; }
.ab-diff h3 { margin-top: 0; }
.ab-cards article > p:last-child, .ab-diff p, .ab-who li { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.ab-diff { display: grid; gap: 12px; margin-top: 18px; }
.ab-diff article { border-left: 3px solid var(--eye); }
.ab-who li { position: relative; padding-left: 44px; }
.ab-who li::before { content: ""; position: absolute; left: 20px; top: 26px; width: 10px; height: 10px; background: var(--eye); }
.ab-bio { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 26px; margin-top: 18px; padding: 26px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-2), 6px 6px 0 #000; }
.ab-bio img { width: 120px; height: 120px; object-fit: cover; box-shadow: 0 0 0 2px #000; }
.ab-bio p { margin: 0 0 12px; color: var(--ink-2); }
.ab-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px !important; }
.ab-links a { padding: 8px 14px; box-shadow: inset 0 0 0 1px var(--control); color: var(--ice); font-size: 14px; text-decoration: none; }
.ab-links a:hover { background: rgba(212, 229, 255, .08); }
.ab-how dd { color: var(--ink); }
.ab-faq { margin-top: 18px; }
@media (max-width: 700px) {
  .ab-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-cards, .ab-who { grid-template-columns: minmax(0, 1fr); }
  .ab-bio { grid-template-columns: minmax(0, 1fr); padding: 20px; }
}
.doc .ab-stats li, .doc .ab-who li { margin-top: 0; }
.doc .ab-stats > li::before { content: none; }
.doc .ab-stats li { padding-left: 18px; }
.doc .ab-who > li::before { left: 20px; top: 27px; width: 10px; height: 10px; background: var(--eye); }
