/* Solution pages and About (round 247). Uses the home page's theme roles from tinocall.css:
   --bg, --surface, --raised, --ink, --muted, --quiet, --line, --accent, --accent-ink, --wash. */

.sol-main { flex: 1 0 auto; padding: 124px 0 96px; }
.sol-wrap { width: min(1180px, calc(100% - 112px)); margin: 0 auto; }

.sol-crumbs { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 36px; }
.sol-crumbs a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.sol-crumbs a:hover { color: var(--ink); }

/* Hero: copy left, illustrative call right */
.sol-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: start; padding-bottom: 72px; border-bottom: 1px solid var(--line); }
.sol-hero-single { grid-template-columns: 1fr; max-width: 820px; }
.sol-hero h1 { font-size: clamp(36px, 4.2vw, 58px); line-height: 1.1; letter-spacing: -.035em; font-weight: 800; margin: 0 0 22px; color: var(--ink); text-wrap: balance; }
.sol-lead { font-size: 18px; line-height: 1.75; color: var(--muted); max-width: 56ch; margin: 0 0 32px; }
.sol-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.sol-text-link { font-weight: 700; font-size: 14px; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--accent); }
.sol-text-link:hover { color: var(--accent); }

/* The call: fixed dark phone material in both themes (DESIGN.md "Phone Material Rule") */
.sol-call { margin: 0; background: #0d1320; color: #e6edf6; border-radius: 18px; padding: 22px 22px 16px; border: 1px solid #1f2a3c;
  box-shadow: 0 24px 60px -24px rgba(1, 5, 11, .55), 0 2px 6px rgba(1, 5, 11, .25); }
.sol-call-head { display: flex; align-items: center; gap: 10px; font: 600 12px/1 "JetBrains Mono", monospace; color: #9fb0c6; letter-spacing: .04em; padding-bottom: 16px; border-bottom: 1px solid #1f2a3c; }
.sol-call-head time { margin-left: auto; font-variant-numeric: tabular-nums; }
.sol-dot { width: 8px; height: 8px; border-radius: 50%; background: #3fdc9c; box-shadow: 0 0 0 4px rgba(63, 220, 156, .15); }
.sol-transcript { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 10px; }
.sol-bubble { font-size: 14px; line-height: 1.55; padding: 10px 13px; border-radius: 12px; max-width: 88%; }
.sol-who { display: block; font: 600 10.5px/1.4 "JetBrains Mono", monospace; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 3px; opacity: .8; }
.sol-ai { background: #142034; border: 1px solid #22324b; }
.sol-ai .sol-who { color: #5fd3f3; }
.sol-caller { background: #1d2a1f; border: 1px solid #2c4430; justify-self: end; }
.sol-caller .sol-who { color: #8fe3a8; }
.sol-card { background: #f4f7fb; color: #0f172a; border-radius: 12px; padding: 14px 16px; }
.sol-card-title { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-weight: 800; font-size: 13px; }
.sol-card-title svg { width: 17px; height: 17px; fill: none; stroke: #0b46f6; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sol-card dl { margin: 0; display: grid; gap: 6px; }
.sol-card dl div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; font-size: 13px; line-height: 1.45; }
.sol-card dt { color: #475569; font-weight: 600; }
.sol-card dd { margin: 0; font-weight: 600; }
.sol-call figcaption { font-size: 12px; color: #8a9bb2; margin-top: 12px; }

/* Body: one readable column, wider blocks for flow and table */
.sol-body { max-width: 820px; }
.sol-section { padding-top: 64px; }
.sol-section h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.22; letter-spacing: -.03em; font-weight: 800; margin: 0 0 18px; color: var(--ink); text-wrap: balance; }
.sol-section p { font-size: 16px; line-height: 1.8; color: var(--muted); margin: 0 0 18px; max-width: 70ch; }
.sol-section p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); }
.sol-list { list-style: none; padding: 0; margin: 4px 0 22px; display: grid; gap: 12px; }
.sol-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 16px; line-height: 1.65; color: var(--ink); }
.sol-tick { width: 20px; height: 20px; margin-top: 3px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.sol-wide { max-width: 1180px; }
.sol-flow { list-style: none; padding: 0; margin: 8px 0 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.sol-flow li { padding: 22px 22px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.sol-step-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--soft-accent, rgba(11, 70, 246, .12)); margin-bottom: 14px; }
.sol-step-icon svg { width: 21px; height: 21px; fill: none; stroke: var(--accent); stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.sol-step-n { display: block; font: 600 11px/1.4 "JetBrains Mono", monospace; letter-spacing: .06em; color: var(--quiet); margin-bottom: 6px; }
.sol-flow p { font-size: 14.5px; line-height: 1.65; color: var(--ink); margin: 0; }

.sol-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); margin: 6px 0 14px; }
.sol-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
.sol-table th, .sol-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); color: var(--ink); }
.sol-table thead th { font-weight: 800; font-size: 13px; color: var(--muted); }
.sol-table tbody th { font-weight: 600; color: var(--muted); }
.sol-table td { font-variant-numeric: tabular-nums; font-weight: 600; }
.sol-table tbody tr:last-child th, .sol-table tbody tr:last-child td { border-bottom: 0; }
.sol-note { font-size: 14px !important; }

.sol-faq { border-top: 1px solid var(--line); }
.sol-faq details { border-bottom: 1px solid var(--line); }
.sol-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 20px 0; font-weight: 700; font-size: 16px; color: var(--ink); }
.sol-faq summary::-webkit-details-marker { display: none; }
.sol-faq summary svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; transition: transform 200ms cubic-bezier(.23, 1, .32, 1); }
.sol-faq details[open] summary svg { transform: rotate(45deg); }
.sol-faq details p { margin: 0 0 20px; }

.sol-related { margin-top: 64px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sol-related p { font-weight: 800; font-size: 14px; color: var(--ink); margin: 0 0 10px; }
.sol-related ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.sol-related a { color: var(--muted); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.sol-related a:hover { color: var(--ink); text-decoration-color: var(--accent); }

.sol-cta { margin-top: 64px; padding: 40px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.sol-cta h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; letter-spacing: -.03em; margin: 0 0 10px; color: var(--ink); }
.sol-cta p { color: var(--muted); margin: 0 0 24px; font-size: 16px; }

.sol-main a:focus-visible, .sol-main summary:focus-visible, .sol-table-wrap:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 1050px) {
  .sol-wrap { width: calc(100% - 72px); }
  .sol-hero { grid-template-columns: 1fr; gap: 40px; }
  .sol-call { max-width: 560px; }
  .sol-flow { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .sol-wrap { width: calc(100% - 32px); }
  .sol-main { padding-top: 96px; }
  .sol-crumbs { margin-bottom: 24px; }
  .sol-hero { padding-bottom: 48px; }
  .sol-lead { font-size: 16.5px; }
  .sol-flow { grid-template-columns: 1fr; }
  .sol-section { padding-top: 48px; }
  .sol-cta { padding: 26px 22px; }
  .sol-card dl div { grid-template-columns: 80px 1fr; }
}
@media (prefers-reduced-motion: reduce) { .sol-faq summary svg { transition: none; } }
@media print { .sol-call, .sol-cta, .sol-related { break-inside: avoid; } }

/* On-this-page rail (desktop) */
.sol-layout { display: grid; grid-template-columns: minmax(0, 820px) minmax(220px, 1fr); gap: 72px; align-items: start; }
.sol-aside { position: sticky; top: 112px; padding-top: 64px; }
.sol-aside-inner { border-left: 1px solid var(--line); padding-left: 24px; }
.sol-aside p { font-weight: 800; font-size: 13px; color: var(--ink); margin: 0 0 12px; }
.sol-aside ol { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 9px; }
.sol-aside a:not(.button) { font-size: 13.5px; line-height: 1.45; color: var(--muted); text-decoration: none; }
.sol-aside a:not(.button):hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); }
.sol-aside-cta { min-height: 44px; padding: 10px 18px; font-size: 13px; }
@media (max-width: 1050px) { .sol-layout { grid-template-columns: minmax(0, 1fr); } .sol-aside { display: none; } }

/* Round 253: help pages. Setup guide rail (the dashboard's own four steps), Security keep table. */
.hp-rail-figure { margin: 56px 0 0; }
.hp-rail { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.hp-rail::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 27px; height: 2px; background: var(--accent); opacity: .35; }
.hp-rail li { position: relative; display: grid; justify-items: center; text-align: center; gap: 6px; padding: 0 10px; }
.hp-rail-dot { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--accent); margin-bottom: 10px; }
.hp-rail li:last-child .hp-rail-dot { background: var(--accent); }
.hp-rail-dot svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hp-rail li:last-child .hp-rail-dot svg { stroke: var(--accent-ink); }
.hp-rail strong { font-size: 17px; color: var(--ink); }
.hp-rail span:last-child { font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 22ch; }
.hp-rail-figure figcaption { margin-top: 26px; font-size: 15px; color: var(--muted); text-align: center; }
.hp-keep { min-width: 640px; }
.hp-keep td { font-weight: 500; }
.hp-keep tbody th { color: var(--ink); }

@media (max-width: 760px) {
  .hp-rail { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .hp-rail::before { display: none; }
}
