/* The page types made from templates (guides, glossary, comparisons, "who it's for", integrations, tools and their indexes), in the
   home page's look. Builds on site.css (page top, frame, buttons, cards, faq) and features.css (closing band). Templates: templates/types/. */

/* a calm reading column, about 68 characters */
.wrap--rd { max-width: 860px; }
.rd { padding: 40px 0 24px; }
.rd .crumbs { margin-bottom: 28px; }
.rd__intro { font-size: 20px; line-height: 1.55; color: var(--ink); max-width: 68ch; margin: 0 0 40px; }
.rd .atype__sec, .aud .atype__sec, .tool .atype__sec { margin-bottom: 56px; }
.rd .atype__sec h2, .aud .atype__sec h2, .tool .atype__sec h2, .aud .callout h2 { font-size: clamp(26px, 2.8vw, 34px); line-height: 1.12; letter-spacing: -.025em; font-weight: 800; margin: 0 0 16px; color: var(--ink); }
.rd .atype__sec > p, .rd .atype__sec > ul, .rd .atype__sec > ol, .rd .atype__sec > div:not(.tpic):not(.table-wrap):not(.faq), .rd .atype__sec > h3 { max-width: 68ch; }
.rd .atype__sec p, .rd .atype__sec li, .aud .atype__sec p, .aud .atype__sec li, .tool .atype__sec p, .tool .atype__sec li { font-size: 18px; line-height: 1.65; color: var(--text); }
.rd .atype__sec h3, .aud .aud__text h3 { font-size: 21px; line-height: 1.25; font-weight: 800; margin: 28px 0 8px; color: var(--ink); }
.rd .atype__sec li { margin-bottom: 6px; }
.rd .atype__sec a:not(.btn), .aud a:not(.btn):not(.cmp__ref), .tool .atype__sec a:not(.btn) { color: var(--ink); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.rd .atype__sec strong { color: var(--ink); }
.rd .table-wrap { margin: 20px 0 28px; }
.rd .atype__sec code, .aud .atype__sec code { background: var(--lk-band); padding: 1px 6px; border-radius: 6px; font-size: .92em; }

/* on this page */
.rd__toc { max-width: 68ch; margin: 0 0 56px; padding: 22px 26px 20px; background: var(--lk-band); border-radius: 14px; }
.rd__toc h2 { font-size: 17px; font-weight: 800; margin: 0 0 10px; text-align: left; color: var(--ink); }
.rd__toc ol { list-style: decimal; padding-left: 22px; margin: 0; display: grid; gap: 2px; }
.rd__toc li { padding-left: 4px; color: var(--text); font-size: 17px; }
.rd__toc a { display: inline-block; min-height: 28px; line-height: 28px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.rd .atype__sec[id], .aud [id] { scroll-margin-top: 96px; }

/* pictures in the page */
.tpic { margin: 28px 0 8px; min-width: 0; }
.tpic .fpic { box-shadow: 0 0 0 1px #CBD3DD, 0 18px 44px rgba(11,31,58,.12); }
.tpic--phone .shot { max-width: 320px; margin-inline: auto; }
.tpic--phone .shot__bar { display: none; }
.tpic .shot { margin: 0; }
.ptop--pic .tpic { margin: 0; }

/* facts, questions, sources and the product box */
.rd .faq, .aud .faq { max-width: 68ch; }
.rd .faq__item, .aud .faq__item { margin-bottom: 12px; }
.rd .faq__item summary, .aud .faq__item summary { min-height: 52px; align-items: center; font-weight: 700; font-size: 18px; }
.rd .faq__item summary:focus-visible, .aud .faq__item summary:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.atype__sources, .atype__related { margin: 0; }
.atype__sources li, .atype__related li { margin-bottom: 4px; }
.atype__sources a, .atype__related a { display: inline-block; min-height: 28px; }
.atype__feature, .atype__not { max-width: 68ch; padding: 28px 30px; margin: 0 0 40px; }
.atype__feature h2, .atype__not h2 { font-size: 24px; margin: 0 0 8px; }
.atype__feature p { margin: 0 0 16px; }
.atype__prices { padding: 72px 0; }
.atype__prices h2 { font-size: clamp(26px, 2.8vw, 34px); letter-spacing: -.025em; font-weight: 800; margin: 0 0 28px; text-align: left; }
.rd--more { padding: 56px 0 0; }
.rd--more .atype__sec { margin-bottom: 0; }
.rd--more .atype__related { padding-left: 0; list-style: none; display: grid; gap: 4px; }
.rd--more .atype__related a { font-size: 19px; font-weight: 600; }

/* comparisons */
.cmp .wrap > .crumbs { margin-bottom: 28px; }
.cmp .atype__sec { margin-bottom: 64px; }
.cmp .atype__sec > h2 { font-size: clamp(26px, 2.8vw, 34px); line-height: 1.12; letter-spacing: -.025em; font-weight: 800; margin: 0 0 20px; color: var(--ink); text-align: left; }
.cmp .atype__sec p, .cmp .atype__sec li { font-size: 17.5px; line-height: 1.6; color: var(--text); }
.cmp .atype__sec p { max-width: 68ch; }
.cmp .card { padding: 28px; }
.cmp .card h3 { font-size: 20px; margin: 0 0 12px; color: var(--ink); }
.cmp .atype__list li { margin-bottom: 8px; }
.cmp a:not(.btn):not(.cmp__ref) { color: var(--ink); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.cmp .atype__sources a { display: inline-block; min-height: 28px; }
.cmp__strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.cmp__strip li { min-width: 0; }
.cmp__strip .tpic { margin: 0; }
.cmp__strip h3 { font-size: 18px; font-weight: 800; margin: 14px 0 0; color: var(--ink); }
.cmp__strip .fpic img, .cmp__strip .shot__media { aspect-ratio: 3 / 2; object-fit: cover; object-position: top left; }
.cmp__table { min-width: 640px; font-size: 16px; }
.cmp__table th, .cmp__table td { padding: 14px 18px; line-height: 1.5; }
.cmp__table thead th { font-size: 15px; color: var(--ink); }
.cmp__table td, .cmp__table th[scope="row"] { color: var(--text); }
.cmp__table th[scope="row"] { color: var(--ink); font-weight: 700; }
@media (max-width: 800px) {
    .cmp__strip ul { grid-template-columns: 1fr; gap: 24px; }
    .cmp__wrap { overflow: visible; background: none; box-shadow: none; border: 0; border-radius: 0; margin-inline: 0; }
    .cmp__table { min-width: 0; display: block; font-size: 16.5px; }
    .cmp__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .cmp__table tbody, .cmp__table tr, .cmp__table th, .cmp__table td { display: block; }
    .cmp__table tr { background: #fff; border-radius: 14px; box-shadow: var(--lk-shadow); margin-bottom: 16px; overflow: hidden; }
    .cmp__table th[scope="row"] { position: static; max-width: none; min-width: 0; box-shadow: none; background: var(--lk-band); padding: 14px 18px; font-size: 17px; }
    .cmp__table td { padding: 14px 18px 0; border-bottom: 0; }
    .cmp__table td:last-child { padding-bottom: 16px; }
    .cmp__table td::before { content: attr(data-label); display: block; font-size: 14px; font-weight: 700; color: var(--lk-muted); margin-bottom: 2px; }
    .cmp__table td + td { border-top: 1px solid var(--lk-line); margin-top: 14px; }
}

/* who it's for and integrations: a point beside its picture, sides alternate */
.aud { padding-top: 40px; }
.aud > .wrap > .crumbs { margin-bottom: 28px; }
.aud__row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.aud__row--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.aud__row--flip .aud__text { order: 2; }
.aud__row--text { grid-template-columns: minmax(0, 1fr); }
.aud__row--text .aud__text { max-width: 68ch; }
.aud__text h2 { font-size: clamp(26px, 2.8vw, 34px); line-height: 1.12; letter-spacing: -.025em; font-weight: 800; margin: 0 0 14px; color: var(--ink); text-align: left; }
.aud__text p, .aud__text li { font-size: 18px; line-height: 1.6; color: var(--text); }
.aud__text p + p { margin-top: 12px; }
.aud__text strong { color: var(--ink); }
.aud__pic { min-width: 0; }
.aud__pic .tpic { margin: 0; }
.aud__row:first-of-type { border-top: 0; }
.aud .atype__sec + .aud__row { border-top: 1px solid var(--line); }
.aud__steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.aud__step { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; padding: 36px 0; border-top: 1px solid var(--line); counter-increment: step; }
.aud__step--text { grid-template-columns: minmax(0, 1fr); }
.aud__step:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.aud__step:nth-child(even) .aud__text { order: 2; }
.aud__step--text:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
.aud__step h3 { margin: 0 0 10px; font-size: 22px; }
.aud__step h3::before { content: counter(step); display: inline-grid; place-items: center; width: 34px; height: 34px; margin-right: 12px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 17px; font-weight: 700; vertical-align: 2px; }
.aud__gets { margin-top: 24px; padding-top: 48px; border-top: 1px solid var(--line); }
.aud__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 68ch; }
.aud__list li { padding: 16px 0; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.aud__list li:last-child { border-bottom: 1px solid var(--line); }
.aud__list a { font-weight: 700; font-size: 19px; display: inline-block; min-height: 28px; }
.aud__list span { color: var(--text); }
.aud .cards { margin-bottom: 8px; }
.aud .card { padding: 28px; }
.aud .card h3 { font-size: 20px; margin: 0 0 12px; color: var(--ink); }
@media (max-width: 899px) {
    .aud__row, .aud__row--flip, .aud__step, .aud__step:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 40px 0; }
    .aud__step { padding: 32px 0; }
    .aud__row--flip .aud__text, .aud__step:nth-child(even) .aud__text { order: 0; }
}

/* tools: the calculator or the download first, the same job in Zobook beside it */
.tool { padding-top: 40px; }
.tool .crumbs { margin-bottom: 28px; }
.tool__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: start; margin-bottom: 72px; }
.tool__top--solo { grid-template-columns: minmax(0, 640px); }
.tool__box { padding: 32px; border-radius: 16px; background: #fff; box-shadow: var(--lk-shadow); border: 1px solid rgba(232,228,222,.7); }
.tool__box h2 { font-size: 26px; margin: 0 0 16px; text-align: left; color: var(--ink); }
.tool .atype__field { margin-bottom: 20px; }
.tool .atype__field label { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.tool .atype__line { border: 1.5px solid var(--lk-btn-line); border-radius: 12px; margin: 0 0 20px; padding: 4px 16px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0 16px; min-width: 0; }
.tool .atype__line legend { font-size: 17px; font-weight: 700; padding: 0 8px; color: var(--ink); }
.tool .atype__line .atype__field { margin-bottom: 16px; min-width: 0; }
.tool .atype__line .atype__field label { font-size: 15px; }
.tool .atype__line .atype__field input { font-size: 18px; padding-inline: 12px; }
.tool .atype__unit { color: var(--lk-muted); }
.tool .atype__field input, .tool .atype__field select { min-height: 56px; padding: 12px 16px; font-size: 20px; border-radius: 10px; border: 1.5px solid var(--lk-btn-line); color: var(--ink); }
.tool .atype__field input:focus-visible, .tool .atype__field select:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.tool .tool__box .btn { min-height: 56px; font-size: 18px; padding-inline: 28px; }
.tool .atype__results { margin-top: 24px; }
.tool .atype__results:not(:empty) { padding: 22px 24px; border-radius: 14px; background: var(--lk-band); border-left: 4px solid var(--orange); }
.tool .atype__results dt { font-size: 15px; font-weight: 600; color: var(--lk-muted); }
.tool .atype__results dd { font-size: 28px; letter-spacing: -.02em; margin: 0 0 12px; }
.tool .atype__results dd:last-child { margin-bottom: 0; }
.tool .atype__error { font-size: 17px; }
.tool__files { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tool__files .btn { width: 100%; justify-content: flex-start; text-align: left; }
.tool__pic h2 { font-size: 22px; margin: 4px 0 4px; text-align: left; color: var(--ink); }
.tool__pic .tpic { margin-top: 12px; }
@media (max-width: 899px) {
    .tool__top, .tool__top--solo { grid-template-columns: minmax(0, 1fr); gap: 40px; margin-bottom: 56px; }
    .tool__box { padding: 22px; }
}

/* indexes: cards with a small picture or an icon */
.idx { padding: 40px 0 24px; }
.idx .crumbs { margin-bottom: 32px; }
.idx__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.idx__card { display: flex; flex-direction: column; min-width: 0; }
.idx__pic, .idx__ic { display: block; border-radius: 12px; overflow: hidden; margin-bottom: 18px; }
.idx__pic .tpic { margin: 0; }
.idx__pic .fpic, .idx__pic .shot__frame { box-shadow: 0 0 0 1px #CBD3DD; }
.idx__pic .fpic img, .idx__pic .shot__media { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; width: 100%; }
.idx__pic .shot__bar { display: none; }
.idx__pic .shot { margin: 0; }
.idx__ic { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--lk-icbg); color: var(--orange-deep); }
.idx__card h2 { font-size: 22px; line-height: 1.2; margin: 0 0 8px; text-align: left; }
.idx__card h2 a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 4px; display: inline-block; padding: 2px 0; }
.idx__card p { margin: 0; color: var(--text); font-size: 17px; line-height: 1.55; }
.idx__grid--terms { gap: 32px 32px; }
.idx__grid--terms .idx__card { padding-top: 22px; border-top: 1px solid var(--line); }
.idx__card a:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
@media (max-width: 899px) { .idx__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .idx__grid { grid-template-columns: 1fr; gap: 32px; } .idx__pic .fpic img, .idx__pic .shot__media { aspect-ratio: 3 / 2; } }

/* download buttons wrap on phones instead of pushing the page sideways */
.tool__dl .btn { white-space: normal; max-width: 100%; text-align: center; }
.tool__dl li { min-width: 0; }
.tool .atype__more { margin: 0 0 20px; }
.tool .atype__more > summary { cursor: pointer; font-weight: 700; padding: 12px 0; min-height: 44px; }
.tool .atype__more[open] > summary { margin-bottom: 8px; }
