.page-content { min-height: 62vh; max-width: 920px; padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.security-content { max-width: 1160px; }
.page-content h1 { max-width: 17ch; }
.page-section { margin-top: 3rem; }
.page-section > p { max-width: 76ch; color: var(--muted); }
.limits-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.limit-item { padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.limit-item h3 { margin-bottom: .5rem; font-size: 1.1rem; }
.limit-item p { margin: 0; color: var(--muted); }
.policy-link { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-soft); }
.policy-link h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.policy-link p { margin-bottom: 0; }
.tldr { max-width: 820px; margin-top: 2rem; padding: 1.4rem 1.6rem; border: 1px solid var(--line); border-left: 5px solid var(--teal); border-radius: 16px; background: var(--surface); }
.tldr h2 { margin-bottom: .6rem; font-size: 1.15rem; letter-spacing: -.01em; }
.tldr ul { margin: 0; padding-left: 1.2rem; }
.tldr li { margin-bottom: .35rem; }
.flow-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .9rem; margin: 1.5rem 0 0; padding: 0; list-style: none; counter-reset: step; }
.flow-cards li { display: flex; flex-direction: column; gap: .5rem; padding: 1.1rem; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); counter-increment: step; }
.flow-cards li.flow-server { background: var(--surface-soft); }
.flow-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: var(--surface-soft); color: var(--teal); }
.flow-server .flow-icon { background: var(--page); }
.flow-icon svg { width: 22px; height: 22px; }
.flow-cards h3 { margin: .2rem 0 0; font-size: 1rem; letter-spacing: -.01em; }
.flow-cards h3::before { content: counter(step) ". "; color: var(--teal); }
.flow-cards p { margin: 0; color: var(--muted); font-size: .9rem; }
.flow-cards .flow-sample { margin-top: auto; padding: .55rem .7rem; border-radius: 10px; background: var(--page); color: var(--ink); font-size: .84rem; font-weight: 600; }
.flow-cards .flow-sample.cipher { color: var(--muted); font-weight: 500; }
.flow-foot { max-width: 76ch; margin-top: 1.2rem; color: var(--muted); font-size: .92rem; }
/* Overview picture above the flow cards. Amber: the entry's own key and lock. Teal: a device's own lock and key. */
.journey, .journey-why { --key: #a35f00; }
.journey { margin: 1.5rem 0 0; }
.journey svg, .journey-legend svg { display: block; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.journey svg { width: 100%; height: auto; }
.journey text { stroke: none; }
.journey .journey-tall { display: none; max-width: 420px; margin-inline: auto; }
.journey figcaption { margin-top: .8rem; color: var(--muted); font-size: .92rem; }
.j-zone { fill: var(--surface); stroke: var(--line); stroke-width: 1; }
.j-zone-server { fill: var(--surface-soft); stroke-dasharray: 6 5; }
.j-name { fill: var(--ink); font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
text.j-state { fill: var(--teal); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
g.j-state { stroke: var(--teal); stroke-width: 3.6; }
text.j-state-off { fill: var(--muted); }
g.j-state-off { stroke: var(--muted); }
.j-lane { fill: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.j-chip { fill: var(--page); stroke: none; }
.j-bar { fill: var(--teal); stroke: none; }
.j-title { fill: var(--ink); font-size: 14px; font-weight: 700; }
.j-sub { fill: var(--muted); font-size: 13px; font-weight: 600; }
.j-cipher { fill: var(--muted); font-family: ui-monospace, Consolas, monospace; font-size: 12px; }
.j-label { fill: var(--ink); font-size: 12.5px; font-weight: 600; }
.j-note { fill: var(--muted); font-size: 12px; font-weight: 600; }
.j-arrow { stroke: var(--muted); }
.j-node { fill: var(--surface); stroke: var(--key); stroke-width: 2; }
.j-lock { fill: var(--key); stroke: none; }
.j-key { stroke: var(--key); stroke-width: 2.2; }
.j-hole { fill: var(--surface); stroke: none; }
.j-env { fill: var(--surface); stroke-width: 1.7; }
.j-flap { stroke-width: 1.5; }
.j-dlock { fill: var(--teal); stroke: var(--surface); stroke-width: 1.5; paint-order: stroke; }
.j-dshackle { stroke: var(--teal); stroke-width: 1.6; }
.j-dkey { stroke: var(--teal); stroke-width: 2.4; }
.j-nokey { stroke: var(--muted); stroke-width: 2.2; }
.j-badge circle { fill: var(--teal); stroke: var(--surface); stroke-width: 2.5; }
.j-badge text { fill: var(--teal-ink); font-size: 12px; font-weight: 700; text-anchor: middle; }
.journey-why { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: .9rem 2.2rem; margin-top: 1.25rem; padding: 1.3rem 1.5rem; border: 1px solid var(--line); border-left: 5px solid var(--teal); border-radius: 16px; background: var(--surface); }
.journey-why h3 { grid-column: 1 / -1; margin: 0; font-size: 1.1rem; letter-spacing: -.01em; }
.journey-why p { margin: 0; color: var(--muted); }
.journey-why p + p { margin-top: .7rem; }
.journey-legend { display: grid; gap: .55rem; align-content: start; margin: 0; padding: 0; list-style: none; }
.journey-legend li { display: flex; align-items: center; gap: .75rem; color: var(--muted); font-size: .9rem; line-height: 1.35; }
.journey-legend b { color: var(--ink); }
.journey-legend svg { flex: none; width: 26px; height: 26px; }
.journey-legend .j-dlock { stroke: none; }
@media (prefers-color-scheme: dark) {
  .journey, .journey-why { --key: #f2c14e; }
}
@media (max-width: 1023px) {
  .journey .journey-wide { display: none; }
  .journey .journey-tall { display: block; }
  .journey-why { grid-template-columns: minmax(0, 1fr); }
}
.pq-band { border-block: 1px solid var(--line); background: var(--surface-soft); }
.pq-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(2rem, 5vw, 4.5rem); padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.pq-layout > div > p:not(.eyebrow) { color: var(--muted); }
.hybrid { display: grid; gap: .9rem; }
.hybrid-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: .8rem; }
.hybrid-row:nth-child(2) { grid-template-columns: auto minmax(0, 1fr); }
.hybrid-lock { display: grid; gap: .2rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.hybrid-lock b { font-size: 1.2rem; }
.hybrid-lock span { color: var(--muted); font-size: .86rem; }
.hybrid-lock .hybrid-kind { color: var(--teal); font-size: .74rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.hybrid-pq { border-color: color-mix(in srgb, var(--teal) 50%, var(--line)); }
.hybrid-both { border: 0; background: var(--teal); }
.hybrid-both b { color: var(--teal-ink); font-size: 1.02rem; }
.hybrid-both span { color: var(--teal-ink); opacity: .9; }
.hybrid-op { color: var(--muted); font-size: 1.6rem; font-weight: 700; }
.hybrid-note { margin: 0; color: var(--muted); font-size: .88rem; }
.sees { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.sees-card { padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.sees-card h3 { margin-bottom: .8rem; font-size: 1.15rem; }
.sees-card ul { margin: 0; padding-left: 1.2rem; }
.sees-card li { margin-bottom: .5rem; color: var(--muted); }
.sees-no { border-color: color-mix(in srgb, var(--teal) 45%, var(--line)); background: var(--surface-soft); }
.sees-no h3 { color: var(--teal); }
.tech summary { cursor: pointer; list-style-position: outside; }
.tech summary h2 { display: inline; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.tech .table-scroll { margin-top: 1.25rem; }
.tech-table { min-width: 560px; }
.tech-table tbody th { width: 12rem; }
.price-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.price-points .limit-item ul { margin: 0; padding-left: 1.2rem; color: var(--muted); }
.help-content { max-width: 1160px; }
.help-topics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .8rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.help-topic { display: flex; flex-direction: column; gap: .65rem; height: 100%; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--ink); text-decoration: none; }
.help-topic:hover { border-color: var(--teal); background: var(--surface-soft); color: var(--ink); }
.help-topic svg, .help-group-icon svg { flex: none; width: 1.5rem; height: 1.5rem; color: var(--teal); }
.help-topic b { display: block; margin-bottom: .2rem; line-height: 1.25; }
.help-topic span span { display: block; color: var(--muted); font-size: .9rem; line-height: 1.4; }
.help-group { margin-top: 3.5rem; }
.help-group h2 { display: flex; align-items: center; gap: .75rem; margin-bottom: 0; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.help-group-icon { display: inline-grid; flex: none; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 12px; background: var(--surface-soft); }
.help-list { max-width: 860px; margin-top: 1.1rem; border-top: 1px solid var(--line); }
.help-q { border-bottom: 1px solid var(--line); }
.help-q summary { padding: 1rem .25rem; cursor: pointer; font-weight: 700; }
.help-q > div { padding: 0 .25rem 1.15rem; color: var(--muted); }
.help-q > div p { max-width: 70ch; margin: 0 0 .7rem; }
.help-q > div p:last-child { margin-bottom: 0; }
.help-q > div strong { color: var(--ink); }
.help-q:target { background: var(--surface-soft); box-shadow: inset 4px 0 0 var(--teal); }
.help-q:target summary, .help-q:target > div { padding-left: 1rem; padding-right: 1rem; }
.help-contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; margin-top: 4rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-soft); }
.help-contact h2 { margin-bottom: .4rem; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.help-contact p { max-width: 60ch; margin: 0; color: var(--muted); }
@media (max-width: 900px) {
  .help-topics { grid-template-columns: 1fr 1fr; }
  .flow-cards { grid-template-columns: 1fr 1fr; }
  .limits-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 639px) {
  .help-topics { grid-template-columns: 1fr; gap: .6rem; }
  .help-topic { flex-direction: row; align-items: flex-start; gap: .8rem; padding: .85rem 1rem; }
  .limits-grid, .sees, .pq-layout, .hybrid-row, .hybrid-row:nth-child(2), .price-points { grid-template-columns: 1fr; }
  .flow-cards { grid-template-columns: 1fr; }
  .hybrid-op { justify-self: center; }
}
