/* For people using an app built on Tendril. Builds on site.css and how.css: the same parts,
   figures, device frames and details panels, in one column with no contents rail. */

.doc-one { display: block; }

/* Five parts, listed under the lede */
.jump { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 6px; }
.jump a { display: inline-flex; align-items: baseline; gap: 8px; min-height: 32px; padding: 6px 0; font: 500 15px var(--sans); color: var(--text-2); text-decoration: none; }
.jump a:hover { color: var(--text); }
.jump .n { font: 12px var(--mono); color: var(--text-4); }

/* What it does: three short facts */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 24px; }
.facts li { display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.facts-h { position: relative; padding-left: 16px; font: 500 16px/1.4 var(--sans); color: var(--text); }
.facts-h::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 7px; height: 7px; background: var(--accent); }
.facts p:last-child { font-size: 15px; line-height: 1.5; color: var(--text-3); }

/* What you will see: three steps, each a line of text beside the laptop and phone screens */
.see { display: grid; gap: 0; }
.see-step { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 28px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.see-step:first-child { padding-top: 0; }
.see-step:last-child { padding-bottom: 0; border-bottom: 0; }
.see-n { font: 12px var(--mono); color: var(--text-4); margin-bottom: 6px; }
.see-text h3 { margin-bottom: 6px; font: 500 17px/1.35 var(--sans); }
.see-text p:last-child { font-size: 15px; line-height: 1.55; color: var(--text-3); }
.see-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.see-pair .device-bar { padding: 7px 10px; font-size: 12px; }
.see-body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 12px; }
.see-qr { width: 72px; height: 72px; }
.see-vf { width: 72px; height: 72px; }
.see-vf span { width: 14px; height: 14px; }
.see-code { font: 500 13px/1.3 var(--mono); color: var(--text); letter-spacing: 0.02em; }
.see-sas { font: 500 17px/1.35 var(--mono); color: var(--text); letter-spacing: 0.04em; }
.see-body .fake-btn { height: 30px; padding: 0 10px; font-size: 13px; }
.see-body .kv { font-size: 13px; }
.see-body .kv > div { padding: 6px 0; }
.see-body .pane-title { font-size: 14px; }

/* Why compare: one line under the figure */
.callout { max-width: 64ch; margin: 0 0 24px; padding: 14px 16px; border-left: 2px solid var(--accent); background: var(--sunken); font-size: 16px; line-height: 1.6; color: var(--text-2); }
.callout strong { font-weight: 600; color: var(--text); }

/* What you control: plain words in the grant card */
.kl-plain dt { font-family: var(--sans); }

/* What it cannot promise: what, then what it means */
.limits { margin: 4px 0 28px; border-top: 1px solid var(--line-strong); }
.limits > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.limits dt { position: relative; padding-left: 18px; font: 500 16px/1.45 var(--sans); color: var(--text); }
.limits dt::before { content: ""; position: absolute; left: 1px; top: 0.55em; width: 6px; height: 6px; border: 1px solid var(--text-3); }
.limits dd { font-size: 15.5px; line-height: 1.6; color: var(--text-2); }

/* How to check */
#check .further-l { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 20px; }
.check-note { margin: 0; }

@media (max-width: 760px) {
  .see-step { grid-template-columns: minmax(0, 1fr); }
  .limits > div { grid-template-columns: minmax(0, 1fr); }
  .limits dd { padding-left: 18px; }
}
@media (max-width: 640px) {
  .facts { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  #check .further-l { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 400px) {
  .see-sas { font-size: 15px; }
  .see-qr, .see-vf { width: 64px; height: 64px; }
}
