/* Styles used only by the /switch/ landing pages. Builds on /site.css tokens; site.css is unchanged. */

/* Breadcrumb in the page hero */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--on-dark-soft); margin-bottom: 22px; }
.crumbs a { color: var(--on-dark); text-decoration: none; }
.crumbs a:hover { color: var(--cyan); }

/* Feature-list text that contains links */
.feature-list span a, .lead a, .fine a { color: var(--blue-dark); }

/* Dated timeline */
.timeline { display: grid; gap: 12px; margin: 24px 0 18px; }
.timeline > div { display: grid; grid-template-columns: 170px 1fr; gap: 14px; align-items: baseline; padding: 16px 18px; border: 1px solid var(--line); border-left: 4px solid var(--cyan); border-radius: 0 14px 14px 0; background: var(--white); }
.timeline b { font: 800 1rem/1.3 var(--heading); color: var(--navy); }
.timeline span { color: var(--ink-soft); }
@media (max-width: 560px) { .timeline > div { grid-template-columns: 1fr; gap: 4px; } }

/* Legacy PBX table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 16px; }
.pbx-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .97rem; }
.pbx-table th, .pbx-table td { text-align: left; vertical-align: top; padding: 18px 20px; border-top: 1px solid var(--line); }
.pbx-table thead th { border-top: 0; background: var(--navy); color: var(--white); font: 600 .8rem/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; }
.pbx-table tbody th { font: 700 1rem/1.3 var(--heading); color: var(--navy); white-space: nowrap; }
.pbx-table td { color: var(--ink-soft); }
.pbx-table tbody tr:nth-child(even) { background: #f6f9fc; }

/* FAQ (no script needed) */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; position: relative; font: 700 1.05rem/1.35 var(--heading); color: var(--navy); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-item > div { padding: 0 22px 18px; color: var(--ink-soft); }
.faq-item > div p { margin: 0; }

/* Related guides */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .related-grid { grid-template-columns: 1fr; } }
.related-card { display: block; padding: 22px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.related-card:hover { transform: translateY(-3px); border-color: #b9cbe0; box-shadow: 0 22px 44px -28px rgba(8, 37, 69, .5); }
.related-card strong { display: block; font: 700 1.08rem/1.3 var(--heading); color: var(--navy); margin-bottom: 6px; }
.related-card strong::after { content: " \2192"; color: var(--blue); }
.related-card span { color: var(--ink-soft); font-size: .95rem; }
.related-card.featured { background: var(--navy); border-color: var(--navy); }
.related-card.featured strong { color: var(--white); }
.related-card.featured span { color: var(--on-dark-soft); }
.related-card.featured strong::after { color: var(--cyan); }
.related.cloud .related-card { border-color: transparent; }
