/* Legal pages (owner, 2026-11-22: "precise and engineered, not just a
   centered text column"): a header with the document's facts in a ruled
   table, numbered sections on a hairline grid, contents beside them. */
.lg{--lg-ink:#0c0f11;--lg-ink-2:#41474b;--lg-ink-3:#6c7276;--lg-line:#d9dcd2;--lg-ground:var(--b-ground,#f7f6f2);--lg-lime:#E7EF71;--lg-mono:var(--mono,ui-monospace,SFMono-Regular,Menlo,Consolas,monospace);
  background:var(--lg-ground);color:var(--lg-ink);padding:132px 0 120px}
.lg-docs{display:flex;flex-wrap:wrap;gap:0;border:1px solid var(--lg-line);width:max-content;max-width:100%;margin-bottom:56px}
.lg-docs a{display:flex;gap:10px;align-items:center;padding:10px 16px;font:500 13px/1 var(--lg-mono);font-feature-settings:"ss04";letter-spacing:.02em;text-transform:uppercase;color:var(--lg-ink-3);text-decoration:none;border-right:1px solid var(--lg-line)}
.lg-docs a:last-child{border-right:0}
.lg-docs a span{color:var(--lg-ink-3);opacity:.6}
.lg-docs a:hover{color:var(--lg-ink)}
.lg-docs a[aria-current=page]{background:var(--lg-ink);color:#fff}
.lg-docs a[aria-current=page] span{color:var(--lg-lime);opacity:1}
.lg-head{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:24px 64px;align-items:end;padding-bottom:48px;border-bottom:1px solid var(--lg-ink)}
.lg-docs{grid-column:1/-1}
.lg-kicker{margin:0 0 18px;font:500 12px/1 var(--lg-mono);font-feature-settings:"ss04";letter-spacing:.14em;text-transform:uppercase;color:var(--lg-ink-3)}
.lg-title h1{margin:0;font:400 clamp(44px,6vw,84px)/1 "P22 Mackinac",Georgia,serif;letter-spacing:-.02em;text-wrap:balance}
.lg-facts{margin:0;border-top:1px solid var(--lg-line)}
.lg-facts div{display:grid;grid-template-columns:120px 1fr;padding:11px 0;border-bottom:1px solid var(--lg-line)}
.lg-facts dt{font:500 11px/1.6 var(--lg-mono);font-feature-settings:"ss04";letter-spacing:.12em;text-transform:uppercase;color:var(--lg-ink-3)}
.lg-facts dd{margin:0;font:500 14px/1.6 var(--lg-mono);font-feature-settings:"ss04";color:var(--lg-ink)}
.lg-facts a{color:inherit}
.lg-body{display:grid;grid-template-columns:260px minmax(0,1fr);gap:64px;padding-top:56px}
.lg-toc{position:sticky;top:104px;align-self:start;max-height:calc(100vh - 140px);overflow:auto}
.lg-toc p{margin:0 0 14px;font:500 11px/1 var(--lg-mono);font-feature-settings:"ss04";letter-spacing:.14em;text-transform:uppercase;color:var(--lg-ink-3)}
.lg-toc ol{list-style:none;margin:0;padding:0;border-left:1px solid var(--lg-line)}
.lg-toc a{display:grid;grid-template-columns:34px 1fr;padding:6px 0 6px 14px;margin-left:-1px;border-left:1px solid transparent;font-size:14px;line-height:1.35;color:var(--lg-ink-2);text-decoration:none}
.lg-toc a span{font:500 12px/1.6 var(--lg-mono);font-feature-settings:"ss04";color:var(--lg-ink-3)}
.lg-toc a:hover{color:var(--lg-ink);border-left-color:var(--lg-ink)}
.lg-doc--single{grid-column:1/-1;max-width:820px}
.lg-intro{margin:0 0 40px;padding:16px 20px;border-left:3px solid var(--lg-lime);background:#fff;font-size:15px}
.lg-intro p{margin:0}
.lg-section{display:grid;grid-template-columns:88px minmax(0,1fr);gap:0 24px;padding:32px 0 36px;border-top:1px solid var(--lg-line)}
.lg-section h2{scroll-margin-top:110px}
.lg-section:first-of-type{border-top:0;padding-top:0}
.lg-num{margin:4px 0 0;font:500 13px/1 var(--lg-mono);font-feature-settings:"ss04";color:var(--lg-ink-3);letter-spacing:.04em}
.lg-section h2{margin:0 0 14px;font:600 20px/1.3 var(--sans,"Onest",system-ui,sans-serif);letter-spacing:-.005em}
.lg-section h2{width:fit-content}
.lg-section h2:target{background:linear-gradient(transparent 58%,var(--lg-lime) 58%,var(--lg-lime) 92%,transparent 92%);box-decoration-break:clone;-webkit-box-decoration-break:clone;padding-inline:.06em;margin-inline:-.06em}
.lg-text{max-width:66ch;font-size:16px;line-height:1.65;color:var(--lg-ink-2)}
.lg-text p{margin:0 0 14px}
.lg-text h3{margin:26px 0 8px;font:600 15px/1.4 var(--sans,"Onest",system-ui,sans-serif);color:var(--lg-ink)}
.lg-text ul,.lg-text ol{margin:0 0 14px;padding-left:20px}
.lg-text li{margin:4px 0}
.lg-text a{color:var(--lg-ink)}
.lg-text code{font:13px var(--lg-mono);font-feature-settings:"ss04";background:#fff;padding:1px 5px;border:1px solid var(--lg-line)}
.lg-text table{width:100%;border-collapse:collapse;font-size:14px;margin:8px 0 18px}
.lg-text th,.lg-text td{text-align:left;padding:8px 10px;border-bottom:1px solid var(--lg-line);vertical-align:top}
.lg-text th{font:500 11px/1.4 var(--lg-mono);font-feature-settings:"ss04";letter-spacing:.1em;text-transform:uppercase;color:var(--lg-ink-3)}
@media (max-width:980px){
  .lg{padding-top:110px}
  .lg-head{grid-template-columns:1fr}
  .lg-body{grid-template-columns:1fr;gap:32px}
  .lg-toc{position:static;max-height:none}
}
@media (max-width:640px){
  .lg-docs{width:100%}
  .lg-docs a{flex:1 1 50%;border-bottom:1px solid var(--lg-line)}
  .lg-section{grid-template-columns:1fr;gap:10px}
  .lg-facts div{grid-template-columns:110px 1fr}
}
/* The page uses the site's .wrap, so it spans exactly the nav's width (owner, 2026-11-22). */
.lg .lg-head{padding-bottom:48px}

/* Fixes after the first look: the ruled header aligns with the content,
   the body keeps its top space, quotes sit flush. */
.lg{padding-top:112px}
.lg .lg-body{padding-top:56px}
.lg-docs{margin-bottom:48px}
.lg-intro blockquote{margin:0 0 12px;padding:0}
.lg-intro>*:last-child,.lg-intro blockquote>*:last-child{margin-bottom:0}
/* Tables read as spec sheets: the first column in ink, licences and values
   in mono; a table without a header row loses the empty header. */
.lg-text table{table-layout:fixed;border-top:1px solid var(--lg-ink)}
.lg:is([data-doc=open-source],[data-doc=imprint]) .lg-text td:first-child{color:var(--lg-ink);font-weight:500;width:42%}
.lg:is([data-doc=open-source],[data-doc=imprint]) .lg-text td+td{font:13.5px/1.55 var(--lg-mono);font-feature-settings:"ss04";color:var(--lg-ink-2)}
.lg-intro:not(:has(blockquote,strong)){background:none;border-left:0;padding:0;font-size:18px;line-height:1.55;color:var(--lg-ink-2);max-width:62ch}
/* The intro without a box (owner, 2026-11-23): in the section text column,
   the date one small line above the lead paragraphs. */
.lg-intro{display:grid;grid-template-columns:88px minmax(0,1fr);gap:14px 24px;margin:0 0 40px;padding:0;border:0;background:none;font-size:18px;line-height:1.55;color:var(--lg-ink-2)}
.lg-intro>p{grid-column:2;max-width:62ch}
.lg-intro>p:first-child{margin-bottom:-2px;font:500 12px/1.5 var(--lg-mono);font-feature-settings:"ss04";letter-spacing:.06em;color:var(--lg-ink-3)}
.lg-intro strong{color:var(--lg-ink)}
@media (max-width:760px){.lg-intro{grid-template-columns:1fr}.lg-intro>p,.lg-intro>p:first-child{grid-column:1;grid-row:auto}}

/* Journal posts as documents (owner, 2026-11-24: "more in the style of the
   other content pages like privacy policies… make use of the full width…
   more precise and engineered"): the legal header and grid, the author and
   field notes beside the text and the summary as a serif lead. */
.jn .lg-title h1{max-width:16ch}
.jn .lg-kicker a{color:inherit;text-decoration:none}
.jn .lg-kicker a:hover{color:var(--lg-ink)}
.jn-side{display:flex;flex-direction:column;gap:40px}
.jn-author{margin:0;display:grid;grid-template-columns:56px 1fr;gap:14px;align-items:center;padding-bottom:24px;border-bottom:1px solid var(--lg-line)}
.jn-author img{width:56px;height:56px;border-radius:50%;object-fit:cover;filter:grayscale(.15)}
.jn-author figcaption{font-size:13.5px;line-height:1.45;color:var(--lg-ink-3)}
.jn-author b{display:block;font-weight:600;color:var(--lg-ink)}
.jn-side nav p{margin:0 0 14px;font:500 11px/1 var(--lg-mono);font-feature-settings:"ss04";letter-spacing:.14em;text-transform:uppercase;color:var(--lg-ink-3)}
.jn-side ol{list-style:none;margin:0;padding:0;border-left:1px solid var(--lg-line)}
.jn-side a{display:block;padding:7px 0 7px 14px;margin-left:-1px;border-left:1px solid transparent;font-size:14px;line-height:1.35;color:var(--lg-ink-2);text-decoration:none}
.jn-side a:hover{color:var(--lg-ink);border-left-color:var(--lg-ink)}
.jn-side a[aria-current=page]{color:var(--lg-ink);font-weight:500;border-left-color:var(--lg-ink)}
.jn-doc{min-width:0}
.jn-lead{margin:0 0 48px;padding-left:112px;max-width:none;font:400 clamp(24px,2.2vw,32px)/1.3 "P22 Mackinac",Georgia,serif;letter-spacing:-.01em;color:var(--lg-ink);text-wrap:pretty}
.jn .journalPost__body{margin:0;max-width:none;font-size:inherit}
.jn-text{counter-reset:jn-p;padding:40px 0 0 112px;border-top:1px solid var(--lg-ink);font-size:17px;line-height:1.7}
.jn-text>*{max-width:64ch}
.jn-text>p{position:relative;margin:0 0 1.15em;counter-increment:jn-p}
.jn-text>p::before{content:"¶ " counter(jn-p,decimal-leading-zero);position:absolute;left:-112px;top:.3em;font:500 12px/1.6 var(--lg-mono);font-feature-settings:"ss04";letter-spacing:.04em;color:var(--lg-ink-3)}
.jn-text>p:first-child::after{content:"";position:absolute;left:-112px;top:-41px;width:88px;height:3px;background:var(--lg-lime)}
.jn-foot{display:grid;grid-template-columns:1fr 1fr;margin:56px 0 0 112px;border-top:1px solid var(--lg-ink);border-bottom:1px solid var(--lg-line)}
.jn-step{display:flex;flex-direction:column;gap:8px;padding:20px 24px 22px 0;font-size:16px;font-weight:500;line-height:1.35;color:var(--lg-ink);text-decoration:none}
.jn-step small{font:500 11px/1 var(--lg-mono);font-feature-settings:"ss04";letter-spacing:.12em;text-transform:uppercase;color:var(--lg-ink-3)}
.jn-step--next{grid-column:2;text-align:right;align-items:flex-end;padding:20px 0 22px 24px;border-left:1px solid var(--lg-line)}
/* The site footer's padding reached this <footer> and floated the rules away
   from the links; hover underlines the title like an inline link instead of
   a lime bar (owner, 2026-11-25: "weird rendering artifacts"). */
.jn .jn-foot{padding:0;background:none}
.jn-step span{text-decoration:underline;text-decoration-thickness:1px;text-decoration-color:transparent;text-underline-offset:3px;transition:text-decoration-color .15s ease}
.jn-step:hover span{text-decoration-color:currentColor}
@media (max-width:980px){
  .jn-side{order:2}
  .jn .lg-body{display:flex;flex-direction:column}
}
@media (max-width:760px){
  .jn-lead,.jn-text{padding-left:0}
  .jn-text>p::before{position:static;display:block;margin-bottom:4px}
  .jn-text>p:first-child::after{display:none}
  .jn-foot{margin-left:0}
}
.jn .journalPost__foot{max-width:none;margin:56px 0 0 112px}
.jn .journalByline{margin:0;padding:0 0 24px;font-weight:400;display:grid}
@media (max-width:760px){.jn .journalPost__foot{margin-left:0}}
/* No paragraph numbers in a blog post (owner, 2026-11-24): the text starts
   at the column edge, under a plain rule. */
.jn-text{position:relative;padding-left:0}
.jn-text>p::before{content:none}
.jn-text>p:first-child::after{content:none}
.jn-lead{padding-left:0}
.jn .journalPost__foot{margin-left:0}
/* The author block and the summary share one row, so their rules line up,
   both in the light hairline; the summary wraps balanced (owner, 2026-11-24). */
@media (min-width:981px){
  .jn .lg-body{grid-template-columns:260px minmax(0,1fr);grid-template-areas:"notes lead" "notes photo" "notes text" "notes foot";gap:0 64px}
  .jn .jn-side,.jn .jn-doc{display:contents}
  .jn-author{grid-area:author;align-self:stretch;align-content:start;padding-bottom:40px}
  .jn-side nav{grid-area:notes;position:sticky;top:104px;align-self:start;padding-top:8px}
  .jn-lead{grid-area:lead}
  .jn-text{grid-area:text}
  .jn .journalPost__foot{grid-area:foot}
}
.jn-lead{margin:0;padding-bottom:40px;border-bottom:1px solid var(--lg-line);text-wrap:balance}
.jn-text{border-top:0}
@media (max-width:980px){.jn-lead{margin-bottom:0}}
/* Labels sit on the middle of their value (owner, 2026-11-24). */
.lg-facts div{align-items:center}
.lg-facts dt{line-height:1}
/* The title block always holds two lines of the title, so a one-line title
   doesn't move the rule or the text below (owner, 2026-11-24). */
@media (min-width:981px){.jn .lg-title{min-height:calc(30px + 2 * clamp(44px,6vw,84px));display:flex;flex-direction:column;justify-content:flex-end}}

/* Integration pages as spec sheets (owner, 2026-11-24): the legal header
   and grid; the rest of the category beside the spec rows. */
.ig .lg-kicker a{color:inherit;text-decoration:none}
.ig .lg-kicker a:hover{color:var(--lg-ink)}
.ig .lg-title h1{max-width:14ch}
.ig-lead{margin:20px 0 0;max-width:46ch;font-size:18px;line-height:1.5;color:var(--lg-ink-2)}
.ig-side ul{list-style:none;margin:0 0 20px;padding:0;border-left:1px solid var(--lg-line)}
.ig-side li a{display:block;padding:6px 0 6px 14px;margin-left:-1px;border-left:1px solid transparent;font-size:14px;line-height:1.35;color:var(--lg-ink-2);text-decoration:none}
.ig-side li a:hover{color:var(--lg-ink);border-left-color:var(--lg-ink)}
.ig-side .more{font-size:14px}
.ig-doc{display:flex;flex-direction:column;gap:56px;min-width:0}
.ig-block h2{margin:0 0 16px;font:400 clamp(24px,2.2vw,30px)/1.15 "P22 Mackinac",Georgia,serif;letter-spacing:-.01em}
.ig-spec{margin:0;border-top:1px solid var(--lg-ink)}
.ig-spec div{display:grid;grid-template-columns:180px minmax(0,1fr);gap:4px 24px;padding:16px 0;border-bottom:1px solid var(--lg-line)}
.ig-spec dt{font:500 11px/1.9 var(--lg-mono);font-feature-settings:"ss04";letter-spacing:.12em;text-transform:uppercase;color:var(--lg-ink-3)}
.ig-spec dd{margin:0;max-width:62ch;font-size:16px;line-height:1.6;color:var(--lg-ink)}
.ig-note{margin:20px 0 0;padding:14px 18px;border-left:3px solid var(--lg-lime);background:#fff;font-size:15px;line-height:1.55;color:var(--lg-ink-2)}
.ig-note b{display:block;margin-bottom:2px;color:var(--lg-ink)}
@media (max-width:980px){.ig .lg-body{display:flex;flex-direction:column-reverse}}
@media (max-width:640px){.ig-spec div{grid-template-columns:1fr}}
.ig-side .relatedIntegrations{display:block;grid-template-columns:none;gap:0;margin:0 0 20px}
.ig-side .relatedIntegrations li{border:0;padding:0}
.ig-side>a.more{display:inline-flex;grid-template-columns:none;padding:0;margin:0;border-left:0;font:600 14px/1.4 var(--sans,"Onest",system-ui,sans-serif);color:var(--lg-ink)}
.ig-note{border-left-color:var(--lg-ink)}
.ig-side li a[aria-current=page]{color:var(--lg-ink);font-weight:500;border-left-color:var(--lg-ink)}
/* Field notes (owner, 2026-11-25): the photos come first, one under the
   other like the Instagram carousel, each with its one line in italic serif
   and small mono data in the corners; the route closes the text. */
.fn-photo{position:relative;width:100%;aspect-ratio:4/5;margin:0;overflow:hidden;background:var(--lg-ink);container-type:inline-size}
.fn-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.fn-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#0d0e0f26 0,#0000 12%,#0000 45%,#0d0e0fb0)}
.fn-corner{position:absolute;z-index:1;inset:6cqi 6cqi auto;display:flex;justify-content:space-between;gap:16px;font:500 max(10px,2.5cqi)/1.2 var(--lg-mono);letter-spacing:.08em;text-transform:uppercase;color:#f6f3ec}
.fn-photo figcaption{position:absolute;z-index:1;left:6cqi;right:9cqi;bottom:7cqi;font:italic 400 max(22px,7cqi)/1.1 "P22 Mackinac",Georgia,serif;letter-spacing:-.01em;color:#f6f3ec;text-wrap:balance}
.fn-log{margin:56px 0 0;padding:32px 0 0;border-top:1px solid var(--lg-ink);max-width:64ch;color:var(--lg-ink)}
.fn-log__head{display:flex;justify-content:space-between;font:500 11px/1 var(--lg-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--lg-ink-3)}
.fn-log svg{display:block;width:100%;margin:40px 0 8px;overflow:visible;font:500 6.2px var(--lg-mono);letter-spacing:.4px}
.fn-log svg text{fill:currentColor}
.fn-log svg .fn-log__alt{fill:var(--lg-ink-3)}
.fn-log__note{margin:32px 0 0;font:italic 400 clamp(22px,2vw,28px)/1.3 "P22 Mackinac",Georgia,serif;text-wrap:pretty}
.fn-log__foot{margin:32px 0 0;padding-top:16px;border-top:1px solid var(--lg-line);font:500 11px/1 var(--lg-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--lg-ink-3)}
@media (min-width:981px){
  .jn .lg-body{grid-template-areas:"notes lead" "notes photo" "notes text" "notes log" "notes foot"}
  .fn-log{grid-area:log}
}

/* A field note's photo, under the lead and as wide as the text column
   (owner, 2026-11-25). */
.jn-photo{grid-area:photo;margin:40px 0 0}
.jn-photo img{display:block;width:auto;max-width:100%;height:auto;max-height:min(80vh,720px);border-radius:4px}
.jn-photo figcaption{margin-top:12px;font-size:14px;line-height:1.5;color:var(--lg-ink-3)}

/* The author's photo sits with the name in the header facts; the sidebar
   holds only the field notes, from the top (owner, 2026-11-25). */
.jn-byline{display:flex;align-items:center;gap:10px}
.jn-byline img{width:22px;height:22px;margin-block:-4px;border-radius:50%;object-fit:cover;flex:none}

/* A field note's own editorial layout (owner, 2026-11-25): a logbook spread,
   two staggered columns either side of a hairline; precise mono data under
   each clean photo, generous space around it. Then the story alone in one
   reading column with the route. */
.fn-spread{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:clamp(48px,8vw,128px);padding-top:56px;padding-bottom:24px}
.fn-spread::before{content:"";position:absolute;top:56px;bottom:24px;left:50%;width:1px;background:var(--lg-line)}
.fn-col{display:flex;flex-direction:column;gap:clamp(56px,6vw,96px)}
.fn-head{padding-top:8px}
.fn-head h1{margin:20px 0 0;font:400 clamp(48px,5.6vw,88px)/1 "P22 Mackinac",Georgia,serif;letter-spacing:-.02em;color:var(--lg-ink);text-wrap:balance}
.fn-head__lead{max-width:32ch;margin:28px 0 40px;font:400 clamp(20px,1.7vw,26px)/1.3 "P22 Mackinac",Georgia,serif;color:var(--lg-ink-2);text-wrap:pretty}
.fn-facts{max-width:none}
.fn-facts dd time{margin-left:.4em;color:var(--lg-ink-3)}
.fn-frame{margin:0}
.fn-frame img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:2px}
.fn-frame figcaption{display:block;margin-top:14px}
.fn-frame__data{display:flex;gap:16px;align-items:baseline;padding-bottom:10px;border-bottom:1px solid var(--lg-ink);font:500 11px/1 var(--lg-mono);font-feature-settings:"ss04";letter-spacing:.12em;text-transform:uppercase;color:var(--lg-ink-3)}
.fn-frame__data b{font-weight:500;color:var(--lg-ink)}
.fn-frame__data span:last-child{margin-left:auto}
.fn-frame__line{display:block;margin-top:14px;max-width:28ch;font:italic 400 clamp(20px,1.6vw,24px)/1.25 "P22 Mackinac",Georgia,serif;color:var(--lg-ink);text-wrap:balance}
.fn-body{padding-top:72px}
.fn-read{max-width:68ch;margin-inline:auto}
.fn .jn-text{padding:0;font-size:18px}
.fn .jn-text>*{max-width:none}
.fn .jn-foot,.fn .journalPost__foot{margin:72px 0 0}
.fn .fn-log{max-width:none}
@media (max-width:760px){
  .fn-spread{grid-template-columns:1fr;row-gap:56px}
  .fn-spread::before{display:none}
  .fn-col{display:contents}
  .fn-head{order:0}
  .fn-frame{order:var(--n)}
}

/* Figures inside a post's text, from ![alt](journal/… "caption") (owner,
   2026-11-25): as wide as the column, the caption small and grey. */
.jn-text>figure{max-width:none;margin:40px 0 44px}
.jn-text figure img{display:block;width:100%;height:auto;border-radius:4px}
.jn-text figure figcaption{margin-top:12px;font-size:14px;line-height:1.5;color:var(--lg-ink-3)}
