/* Guide pages (app/scripts/guides.mjs). Loaded after site.css; every class here starts with g- */
/* Same menu spot and logo spot as the home page bar (Ivy, Nov 4, 2026): menu centred over the right half, logo lined up
   with the home page headline's left edge (see .top__in.wrap / .top__logo in site.css). */
.g-top, .top.scrolled .g-top { justify-content: center; }
.g-top__logo { position: absolute; left: max(24px, calc(50% - 596px)); top: 50%; translate: 0 -50%; line-height: 0; }
.g-top__logo img { width: 170px; height: auto; }
.g-main { padding: 132px 0 80px; background: var(--paler); min-height: 70vh; }
.g-wrap { max-width: 1080px; }
.g-h1 { font-size: clamp(32px, 3.8vw, 44px); color: var(--ink); margin-bottom: 14px; }
.g-lead { font-size: 19px; color: var(--text-2); max-width: 720px; margin-bottom: 40px; }

/* Index cards */
.g-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.g-card { display: flex; flex-direction: column; gap: 10px; background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.g-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.g-card__time, .g-time { font-size: 14px; font-weight: 600; color: var(--steel); }
.g-card__title { font-size: 21px; margin: 0; }
.g-card__sum { font-size: 16px; color: var(--text-2); margin: 0; flex: 1; }
.g-card__more { font-size: 16px; font-weight: 700; color: var(--blue); }
.g-card__more::after { content: " \2192"; }

/* Article */
.g-article { max-width: 800px; }
.g-back { display: inline-block; font-size: 16px; font-weight: 600; text-decoration: none; margin-bottom: 24px; }
.g-back::before { content: "\2190\00a0"; }
.g-body { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 44px 48px; font-size: 18px; line-height: 1.75; }
.g-body h2 { font-size: 24px; margin: 1.6em 0 .5em; }
.g-body h2:first-child { margin-top: 0; }
.g-body ul, .g-body ol { padding-left: 1.3em; margin: 0 0 1em; }
.g-body li { margin-bottom: .4em; }
.g-box { background: var(--paler); border-left: 4px solid var(--blue); border-radius: 10px; padding: 20px 24px; margin-top: 32px; }
.g-box p { margin: 0; font-size: 17px; }
.g-box .g-box__title { font-weight: 700; color: var(--blue); margin-bottom: 6px; }
.g-more { margin-top: 64px; }
.g-more h2 { font-size: 26px; margin-bottom: 20px; }
.g-article .g-grid--3 { max-width: none; }

/* Footer: only the bottom row on guide pages */

/* Call to action at the bottom of every page */
.g-cta { text-align: center; background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 48px 28px; margin-top: 56px; }
.g-cta h2 { color: var(--white); }
.g-cta p { color: rgba(255,255,255,.85); font-size: 18px; margin-bottom: 24px; }

@media (max-width: 1080px) {
  .g-grid { grid-template-columns: 1fr 1fr; }
  .g-top, .top.scrolled .g-top { justify-content: space-between; }
  .g-top__logo { position: static; translate: none; }
}
@media (max-width: 700px) {
  .g-grid { grid-template-columns: 1fr; }
  .g-body { padding: 28px 22px; font-size: 17px; }
  .g-main { padding-top: 112px; }
}

/* Pricing page (/pricing/, scripts/guides.mjs) */
.g-pricing .pricing { background: transparent; padding-top: 0; }
.g-pricing .pricing .head { text-align: center; }
.g-compare, .g-faq { margin-top: 64px; }
.g-compare h2, .g-faq h2 { font-size: 28px; margin-bottom: 20px; }
.g-compare__scroll { overflow-x: auto; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.g-compare table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 680px; }
.g-compare th, .g-compare td { padding: 14px 16px; border-bottom: 1px solid var(--pale); text-align: center; }
.g-compare thead th { font-size: 17px; color: var(--ink); background: var(--white); position: sticky; top: 0; }
.g-compare tbody th { text-align: left; font-weight: 500; color: var(--navy-2); }
.g-compare tr:last-child th, .g-compare tr:last-child td { border-bottom: 0; }
.g-compare .is-pop { background: #F2F7FE; }
.g-compare thead .is-pop { color: var(--blue); }
.g-tick { color: var(--blue); font-weight: 700; font-size: 18px; }
.g-no::before { content: ""; display: inline-block; width: 12px; height: 2px; background: var(--mist); vertical-align: middle; }
.g-faq details { background: var(--white); border-radius: 12px; box-shadow: var(--shadow); margin-bottom: 12px; padding: 18px 22px; }
.g-faq summary { font-weight: 700; cursor: pointer; }
.g-faq details p { margin: 10px 0 0; color: var(--text-2); }

/* /contact/ request a call page (Nov 4, 2026) */
.g-contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.g-contact__list { margin: 24px 0; }
.g-contact__lead { margin: 24px 0 -12px; font-weight: 700; color: var(--ink, #1a1a1a); }
.g-contact__form { background: var(--white); border: 1.5px solid var(--pale); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; margin-top: 0; }
.g-contact__form input, .g-contact__form select, .g-contact__form textarea { width: 100%; box-sizing: border-box; }
.g-contact__photo img { display: block; width: 100%; height: 320px; object-fit: cover; border-radius: 20px; margin-top: 8px; }
@media (max-width: 900px) { .g-contact { grid-template-columns: 1fr; gap: 32px; } .g-contact__photo { display: none; } }
@media (max-width: 600px) { .g-contact__form { padding: 22px; } .g-contact__form .form__row { grid-template-columns: 1fr; } }
