/* Talkline page: builds on /styles.css, no inline styles (strict CSP). */
.tl .hero h1 { max-width: 18ch; font-size: clamp(2.3rem, 6.2vw, 5.4rem); }
.tl .hero h1 .grad { display: block; }
.tl-flow { margin-top: 56px; }
.flow-body { padding: 16px; background-image: radial-gradient(var(--line-2) 1px, transparent 1px); background-size: 20px 20px; }
.flow { display: block; width: 100%; height: auto; min-width: 0; font-family: "Geist", sans-serif; }
.f-node rect { fill: var(--bg-2); stroke: var(--line-2); }
.f-node.relay rect { stroke: url(#tlg); stroke-width: 1.5; stroke-dasharray: 5 4; }
.f-t { fill: var(--fg); font-weight: 600; font-size: 16px; }
.f-s { fill: var(--muted); font-size: 13px; }
.f-cipher { fill: var(--a2); font-family: "Geist Mono", ui-monospace, monospace; font-size: 14px; }
.f-edge { stroke: var(--line-2); stroke-width: 1.6; }
.f-edge.hot { stroke: url(#tlg); stroke-width: 2.2; stroke-dasharray: 6 6; animation: flow 1.6s linear infinite; }
.flow.tall { display: none; max-width: 300px; margin-inline: auto; }
@media (max-width: 700px) { .flow.wide { display: none; } .flow.tall { display: block; } .f-t { font-size: 17px; } .f-s { font-size: 14px; } .f-cipher { font-size: 15px; } }

.btn.off { cursor: default; color: var(--muted); }
.btn.off:hover { transform: none; background: var(--glass); }

.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; gap: 16px; grid-template-columns: 1fr; counter-reset: s; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps .card { gap: 10px; padding: 24px; }
.steps .card h3 { font-size: 1.25rem; }
.steps .card p { font-size: 15.5px; }
.num { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--line-2); color: var(--a2); font-size: 14px; }
code { font-family: "Geist Mono", ui-monospace, monospace; font-size: .88em; padding: 1px 6px; border-radius: 6px; background: var(--glass-2); border: 1px solid var(--line); overflow-wrap: anywhere; }

.installs { display: grid; gap: 16px; margin-top: 48px; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .installs { grid-template-columns: repeat(3, 1fr); } }
.installs .card { min-width: 0; }
.installs .card h3 { font-size: 1.3rem; }
.installs .btn { align-self: flex-start; white-space: normal; height: auto; min-height: 50px; padding-block: 10px; }
.plain { margin: 0; padding-left: 1.2em; color: var(--fg-2); font-size: 15.5px; }
.plain li { margin-top: 6px; }
.cmd { margin: 0; padding: 16px; border-radius: 12px; border: 1px solid var(--line-2); background: color-mix(in srgb, var(--bg) 60%, transparent);
  font-size: 13px; line-height: 1.65; color: var(--fg-2); overflow-x: auto; white-space: pre; }
.cmd .p { color: var(--a3); }

.say-grid { display: grid; gap: 32px; margin-top: 48px; }
@media (min-width: 1000px) { .say-grid { grid-template-columns: 7fr 5fr; gap: 56px; align-items: start; } .say-grid .limits { margin-top: 0; position: static; } }
.say { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.say li { display: grid; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .say li { grid-template-columns: 110px 1fr; gap: 20px; align-items: baseline; } }
.say .role { color: var(--a2); }
.say q { font-size: 1.15rem; letter-spacing: -.015em; color: var(--fg); quotes: "\201C" "\201D"; }
.tl .split { margin-top: 0; }
.tl .limits { margin-top: 0; }
@media (min-width: 1000px) { .tl .split .limits { margin-top: 120px; } }

.rules { margin: 40px 0 0; padding: 0; list-style: none; display: grid; gap: 0; counter-reset: r; border-top: 1px solid var(--line); max-width: 52rem; }
.rules li { counter-increment: r; padding: 18px 0 18px 52px; position: relative; border-bottom: 1px solid var(--line); color: var(--fg-2); }
.rules li::before { content: counter(r); position: absolute; left: 0; top: 18px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px;
  border: 1px solid var(--line-2); color: var(--a3); font-family: "Geist Mono", monospace; font-size: 14px; }
.rules b { color: var(--fg); font-weight: 600; }

.faq { margin-top: 40px; max-width: 52rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 550; font-size: 1.1rem; color: var(--fg); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-family: "Geist Mono", monospace; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:focus-visible { outline: 2px solid var(--a2); outline-offset: 2px; border-radius: 6px; }
.faq p { padding: 0 0 18px; color: var(--fg-2); max-width: 44rem; }
.tl #support .lead { max-width: 40rem; }
.tl .foot { margin-top: 0; padding-top: 32px; }
.tl .foot-in.first { margin-top: 0; border-top: 0; padding-top: 0; }
.talkline-card { border-color: color-mix(in srgb, var(--a3) 35%, var(--line)); }

/* more footer links than the main site: wrap on narrow screens */
.foot-in nav { flex-wrap: wrap; row-gap: 8px; }
.foot-in { flex-wrap: wrap; }
