/* Marker marketing site: extra styles for the inner pages (features, pricing, legal, help...).
   Builds on styles.css; reuses its tokens, the two-tone .lede type and the highlighter motif. */

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nav a[aria-current="page"] { color: var(--ink); }

/* Owner-facing placeholders: visible on purpose until filled in */
.tbd {
  font: 400 0.86em/1.2 var(--mono); letter-spacing: 0; color: var(--ink);
  background: color-mix(in srgb, var(--hl) 55%, transparent);
  padding: 0 .3em; border-radius: 3px; overflow-wrap: anywhere;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  box-shadow: inset 0 -1px 0 rgb(18 18 17 / 0.25);
}
.price .tbd { font-size: 0.62em; vertical-align: 0.25em; }

/* Page hero */
.page-hero { padding-bottom: clamp(24px, 4vw, 48px); }
.page-hero .lede { max-width: 28ch; }
.launch-note { margin-top: 24px; max-width: 60ch; }
.page-hero h1 a { color: var(--ink); }

/* Shared list styles */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 16px; }
.ticks li { position: relative; padding-left: 24px; max-width: 52ch; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .62em; width: 11px; height: 6px;
  background: var(--hl); transform: skewX(-24deg) rotate(-18deg);
  box-shadow: inset 0 0 0 1px rgb(18 18 17 / 0.14);
}
.points { margin: 4px 0 0; border-top: 1px solid var(--rule); }
.points div { padding: 13px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 3px; }
.points dt { font-size: 15px; font-weight: 500; }
.points dd { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; }

.chips { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a {
  display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px;
  background: var(--paper-2); text-decoration: none; font-size: 14px;
  transition: background-color .2s var(--ease-out);
}
.chips a:hover { background: #e1e0d9; }

/* Features: chapter index rail + chapters */
.feat-layout { display: grid; grid-template-columns: 196px minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.feat-index { position: sticky; top: 88px; padding-top: clamp(24px, 3vw, 40px); }
.feat-index ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: f; }
.feat-index a {
  display: block; padding: 5px 8px; margin-left: -8px; border-radius: 4px;
  font-size: 13.5px; line-height: 1.3; color: var(--ink-2); text-decoration: none;
  background: linear-gradient(var(--hl), var(--hl)) no-repeat 0 0 / 0% 100%;
  transition: color .2s var(--ease-out), background-size .5s var(--ease-out);
}
.feat-index a:hover { color: var(--ink); }
.feat-index a.on { color: var(--ink); background-size: 100% 100%; }
.feat-list .feature { padding-top: clamp(72px, 9vw, 136px); scroll-margin-top: 72px; }
.feat-list .feature:first-child { padding-top: clamp(24px, 3vw, 40px); }
.feat-list .feature-text { gap: 18px; }

/* Command snippet */
.cmd {
  margin: 0; background: var(--ink); color: #e9e8e2; border-radius: var(--radius); padding: 18px 20px;
  font: 400 13px/1.6 var(--mono); overflow-x: auto; box-shadow: var(--shadow);
}
.cmd code { white-space: pre; }

/* Product UI rebuilt in HTML (notes, share page, markdown file) */
.ui-note, .ui-share, .ui-md { font-size: 14px; line-height: 1.5; border-radius: var(--radius); box-shadow: var(--shadow); outline: 1px solid rgb(18 18 17 / 0.08); outline-offset: -1px; overflow: hidden; }
.ui-note { display: grid; grid-template-columns: minmax(0, 1fr) 210px; background: var(--card); }
.ui-note-main { padding: 28px 32px 32px; display: grid; gap: 12px; align-content: start; position: relative; }
.ui-note-main ul { margin: 0; padding-left: 18px; color: var(--ink); }
.ui-crumb { font-size: 12px; color: var(--ink-2); }
.ui-h { font-size: 24px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; }
.ui-link { color: #2b5ab8; background: rgb(43 90 184 / 0.08); border-radius: 3px; padding: 0 2px; }
.ui-typing { display: flex; align-items: center; }
.ui-caret { display: inline-block; width: 1.5px; height: 1.1em; background: var(--ink); margin-left: 1px; animation: caret 1.1s steps(2, start) infinite; }
@keyframes caret { to { visibility: hidden; } }
.ui-pop {
  justify-self: start; display: grid; min-width: 210px; padding: 5px; margin-top: -4px;
  background: #fff; border-radius: 8px; font-size: 13px;
  box-shadow: 0 0 0 1px rgb(18 18 17 / 0.08), 0 12px 28px -10px rgb(18 18 17 / 0.3);
}
.ui-pop span { padding: 6px 9px; border-radius: 5px; color: var(--ink-2); }
.ui-pop span.on { background: var(--paper-2); color: var(--ink); }
.ui-note-side { background: var(--paper); border-left: 1px solid var(--rule); padding: 28px 18px; display: grid; gap: 10px; align-content: start; font-size: 13px; }
.ui-side-h { font-size: 11px; font-weight: 500; color: var(--ink-2); text-transform: uppercase; letter-spacing: .08em; font-feature-settings: "case"; margin-top: 6px; }
.ui-back { color: var(--ink-2); }
.ui-back b { display: block; color: var(--ink); font-weight: 500; }
.ui-ver { color: var(--ink-2); line-height: 1.8; }

.ui-share { background: var(--card); }
.ui-bar { display: flex; align-items: center; gap: 14px; height: 38px; padding: 0 14px; background: var(--paper-2); border-bottom: 1px solid var(--rule); }
.ui-bar .dots { display: flex; gap: 6px; }
.ui-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: #cfcec7; }
.ui-url { flex: 1; max-width: 340px; margin-inline: auto; text-align: center; font-size: 12px; color: var(--ink-2); background: var(--card); border-radius: 6px; padding: 3px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-share-body { padding: 26px 28px 30px; display: grid; gap: 6px; }
.ui-sub { color: var(--ink-2); margin-bottom: 14px; }
.ui-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ui-card { border-radius: 8px; padding: 12px; min-height: 118px; display: grid; align-content: end; gap: 3px; color: #fff; }
.ui-card span { font-size: 11px; opacity: .85; }
.ui-card b { font-weight: 500; font-size: 14px; line-height: 1.25; }
.ui-card i { font-style: normal; font-size: 11px; opacity: .75; }
.ui-card.c1 { background: #2f4d5c; }
.ui-card.c2 { background: #b4683f; }
.ui-card.c3 { background: #c79a3a; }
.ui-card.c4 { background: #4f6b45; }
.ui-card.c5 { background: #8d4a52; }
.ui-card.c6 { background: #3d3f63; }

.ui-md { background: #1b1b1a; color: #e9e8e2; }
.ui-md-tab { font: 400 12px/1 var(--mono); color: #a3a29b; padding: 13px 18px; border-bottom: 1px solid rgb(255 255 255 / 0.08); }
.ui-md pre { margin: 0; padding: 20px 22px 26px; font: 400 13px/1.65 var(--mono); overflow-x: auto; }
.ui-md .c { color: #77766f; }
.ui-md .k { color: var(--hl); }
.ui-md .h { color: #fff; }

/* How it works */
.walk { list-style: none; margin-block: 0; padding-block: 0; }
.walk-step { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-top: clamp(72px, 9vw, 136px); }
.walk-step .feature-text { gap: 16px; }
.walk-step.feature-flip .feature-text { order: 2; }
.walk-step .body { font-size: 17px; line-height: 1.55; max-width: 48ch; }
.walk-step .step-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--rule); color: var(--ink); }

.behind { padding-top: clamp(112px, 13vw, 184px); }
.pipe { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); counter-reset: p; }
.pipe li { counter-increment: p; padding: 18px 16px 0 0; border-top: 1px solid var(--rule); display: grid; gap: 6px; align-content: start; position: relative; }
.pipe li::before { content: counter(p, decimal-leading-zero); font: 400 12px/1 var(--mono); color: var(--ink-3); }
.pipe li::after { content: ""; position: absolute; top: -1px; left: 0; width: 28px; height: 2px; background: var(--ink); }
.pipe b { font-weight: 500; font-size: 17px; letter-spacing: -0.01em; }
.pipe span { color: var(--ink-2); font-size: 14px; }

/* Pricing */
.plans-page { max-width: 960px; margin-top: 8px; }
.plan-name { font-size: 16px; font-weight: 500; }
.price { display: flex; align-items: baseline; gap: 8px; }
.per { font-size: 15px; color: var(--ink-2); letter-spacing: 0; }
.plan .btn { justify-self: stretch; }
.compare { padding-top: clamp(96px, 11vw, 152px); }
.table-scroll { margin-top: 32px; overflow-x: auto; }
.table-scroll:focus-visible { outline-offset: 6px; }
.compare table { width: 100%; max-width: 960px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 13px 12px 13px 0; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.compare thead th { font-weight: 500; font-size: 14px; color: var(--ink); padding-bottom: 10px; border-bottom-color: var(--ink); }
.compare td { width: 24%; }
.compare tbody th { font-weight: 400; }
.compare tr.grp th { padding-top: 34px; font-weight: 500; color: var(--ink-2); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; font-feature-settings: "case"; border-bottom-color: var(--rule); }
.yes { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.no { color: var(--ink-3); }

/* Security */
.sec { padding-top: clamp(32px, 4vw, 56px); }
.sec-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 80px); }
.sec-list li { padding: 28px 0 32px; border-top: 1px solid var(--rule); display: grid; gap: 10px; align-content: start; }
.sec-list h2 { font-size: clamp(20px, 1.7vw, 24px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.sec-list p { color: var(--ink-2); max-width: 54ch; }
.sec-honest { padding-block: clamp(96px, 11vw, 152px) 40px; }
.sec-honest .doc-col { display: grid; gap: 18px; }
.sec-honest .lede-sm + p { margin-bottom: 20px; }

/* Reading pages: legal, help, about */
.doc { padding-top: clamp(40px, 6vw, 80px); padding-bottom: 40px; }
.doc-col { max-width: 68ch; }
.doc h1 { font-size: clamp(36px, 4.4vw, 56px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.02; margin-top: 32px; }
.doc-meta { color: var(--ink-2); font-size: 14px; margin: 12px 0 36px; }
.doc-col > p, .doc-col section > p { margin-top: 14px; }
.doc h2 { font-size: 23px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; margin-top: 52px; }
.doc h3 { font-size: 17px; font-weight: 500; margin-top: 28px; }
.doc ul, .doc ol { margin: 14px 0 0; padding-left: 20px; display: grid; gap: 8px; }
.doc li::marker { color: var(--ink-3); }
.doc a { color: var(--ink); }
.doc p, .doc li { line-height: 1.62; }
.doc code { font: 400 0.88em var(--mono); background: var(--paper-2); padding: 1px 5px; border-radius: 4px; }
kbd { font: 500 0.82em/1 var(--mono); padding: 3px 6px; border-radius: 5px; background: var(--card); box-shadow: inset 0 0 0 1px var(--rule), inset 0 -1px 0 var(--rule); }

.draft-banner {
  background: color-mix(in srgb, var(--hl) 70%, var(--paper)); color: var(--ink);
  border-radius: 8px; padding: 14px 18px; font-size: 15px; line-height: 1.5;
}
.proc { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.proc th, .proc td { text-align: left; padding: 11px 12px 11px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.proc thead th { font-weight: 500; border-bottom-color: var(--ink); }
.doc .table-scroll { margin-top: 18px; }

/* Help: sticky contents + article */
.help { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; padding-top: 24px; }
.toc { position: sticky; top: 88px; font-size: 14px; }
.toc-h { font-weight: 500; margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a {
  display: block; padding: 5px 8px; margin-left: -8px; border-radius: 4px; color: var(--ink-2); text-decoration: none;
  background: linear-gradient(var(--hl), var(--hl)) no-repeat 0 0 / 0% 100%;
  transition: color .2s var(--ease-out), background-size .5s var(--ease-out);
}
.toc a:hover, .toc a.on { color: var(--ink); }
.toc a.on { background-size: 100% 100%; }
.toc-foot { margin-top: 18px; color: var(--ink-2); }
.help section { scroll-margin-top: 80px; }
.help section:first-child h2 { margin-top: 0; }
.doc .numbered { padding-left: 22px; gap: 12px; }
.doc .numbered li::marker { font: 400 13px var(--mono); color: var(--ink-2); }
.faq-plain .faq-list { margin-top: 20px; }
.faq-plain summary { font-size: 16px; }
.faq-plain details p { margin: 0; padding: 0 40px 20px 0; color: var(--ink-2); }
.faq-list summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-weight: 500; letter-spacing: -0.01em; }
.faq-plain summary::-webkit-details-marker { display: none; }
.faq-plain summary::before, .faq-plain summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 13px; height: 1.5px; background: var(--ink);
  transition: transform .3s var(--ease-out);
}
.faq-plain summary::after { transform: rotate(90deg); }
.faq-plain details[open] summary::after { transform: rotate(0deg); }
.faq-plain .faq-list { border-top: 1px solid var(--rule); display: block; padding: 0; }
.faq-plain details { border-bottom: 1px solid var(--rule); }

/* About */
.about { display: grid; gap: 20px; }
.about > p:not(.lede-sm) { font-size: 18px; line-height: 1.6; color: var(--ink); }
.about .lede-sm { margin-bottom: 8px; }

/* Changelog */
.log { padding-top: 24px; padding-bottom: 40px; }
.log-month { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); padding: 40px 0 8px; border-top: 1px solid var(--rule); }
.log-month h2 { font-size: 15px; font-weight: 500; position: sticky; top: 84px; align-self: start; }
.log-month ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; max-width: 64ch; padding-bottom: 40px; }
.log-month h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; }
.log-month p { color: var(--ink-2); margin-top: 6px; line-height: 1.55; }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 80px); max-width: 960px; padding-block: 24px 80px; }
.contact > div { padding: 24px 0 28px; border-top: 1px solid var(--rule); display: grid; gap: 8px; }
.contact h2 { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.contact p { font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -0.02em; line-height: 1.3; }
.contact a { color: var(--ink); }

/* 404 */
.nf { min-height: 62vh; padding-bottom: 96px; }
.nf-code { font: 400 13px/1 var(--mono); color: var(--ink-2); margin-bottom: 20px; }

/* Responsive */
@media (max-width: 1100px) {
  .feat-layout { grid-template-columns: 1fr; }
  .feat-index { display: none; }
  .pipe { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
}
@media (max-width: 980px) {
  .walk-step, .walk-step.feature-flip { grid-template-columns: 1fr; gap: 28px; }
  .walk-step.feature-flip .feature-text { order: 0; }
  .help { grid-template-columns: 1fr; }
  .toc { position: static; padding: 18px 20px; background: var(--paper-2); border-radius: 10px; }
  .sec-list { grid-template-columns: 1fr; }
  .log-month { grid-template-columns: 1fr; gap: 20px; }
  .log-month h2 { position: static; }
}
@media (max-width: 640px) {
  .ticks { font-size: 15px; }
  .ui-note { grid-template-columns: 1fr; }
  .ui-note-side { border-left: 0; border-top: 1px solid var(--rule); }
  .ui-note-main { padding: 22px 20px; }
  .ui-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ui-share-body { padding: 20px; }
  .pipe { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact { grid-template-columns: 1fr; }
  .compare th, .compare td { padding-right: 8px; font-size: 14px; }
  .compare td { width: 22%; }
  .cta-row .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .ui-caret { animation: none; }
}
.toc-foot a { display: inline; padding: 0; margin: 0; background: none; color: var(--ink); text-decoration: underline; }
.walk-step:first-child { padding-top: clamp(24px, 3vw, 40px); }
