/* BeiCheck — guide & tool pages (loaded after styles.css) */
.g-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.g-nav::-webkit-scrollbar { display: none; }
.g-nav a { white-space: nowrap; font-size: 13.5px; font-weight: 600; color: var(--navy); padding: 8px 10px; border-radius: 999px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.g-nav a:hover { color: var(--blue-2); }
.g-nav__pill { background: var(--blue-tint); color: var(--blue-2) !important; }
.g-nav .nav__ico { width: 15px; height: 15px; }
@media (max-width: 560px) { .g-nav a:not(.g-nav__pill):not([href="/prices"]) { display: none; } }

.g-hero { background: linear-gradient(180deg, var(--offwhite), var(--white)); padding: 36px 0 28px; border-bottom: 1px solid var(--line); }
.g-crumbs { font-size: 12.5px; color: var(--dim); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.g-crumbs a { color: var(--muted); text-decoration: none; }
.g-crumbs a:hover { color: var(--blue-2); text-decoration: underline; }
.g-hero__title { font-size: clamp(30px, 5.4vw, 46px); line-height: 1.05; font-weight: 800; font-stretch: 110%; letter-spacing: -.02em; color: var(--navy); margin: 10px 0 14px; }
.g-hero__lede { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 680px; }

.g-body { padding: 36px var(--gutter) 64px; }
.g-section { margin-bottom: 40px; }
.g-section h2 { font-size: 22px; line-height: 1.2; font-weight: 800; color: var(--navy); margin-bottom: 12px; letter-spacing: -.01em; }
.g-section p, .g-section li { font-size: 16px; line-height: 1.65; color: var(--text); }
.g-section p { margin-bottom: 12px; }
.g-section ul, .g-section ol { padding-left: 20px; margin-bottom: 12px; display: grid; gap: 8px; }
.g-section a { color: var(--blue-2); }
.g-section strong { color: var(--navy); }
.g-factors { list-style: none; padding-left: 0 !important; }
.g-factors li { padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.g-steps li::marker { font-weight: 800; color: var(--blue-2); }

.g-table-wrap { overflow-x: auto; margin: 6px 0 14px; border: 1px solid var(--line); border-radius: 12px; }
.g-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.g-table th, .g-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.g-table thead th { background: var(--surface); color: var(--navy); font-weight: 700; font-size: 13px; }
.g-table tbody tr:last-child th, .g-table tbody tr:last-child td { border-bottom: 0; }
.g-table td { font-family: var(--mono); }

.g-links { list-style: none; padding-left: 0 !important; display: grid; gap: 8px; }
.g-links a { display: block; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; font-weight: 600; color: var(--navy); }
.g-links a:hover { border-color: var(--blue); color: var(--blue-2); }

.g-cards { display: grid; gap: 12px; }
@media (min-width: 640px) { .g-cards { grid-template-columns: 1fr 1fr; } }
.g-card { display: grid; gap: 6px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; background: var(--white); box-shadow: var(--shadow-sm); transition: border-color .2s, transform .2s; }
.g-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.g-card__title { font-weight: 800; color: var(--navy); font-size: 17px; }
.g-card__text { color: var(--muted); font-size: 14.5px; line-height: 1.5; }

.g-cta { display: grid; gap: 16px; align-items: center; padding: 22px; border-radius: 16px; background: var(--navy); color: #fff; margin-top: 8px; }
@media (min-width: 640px) { .g-cta { grid-template-columns: 1fr auto; } }
.g-cta__title { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.g-cta__text { color: #B9C8DC; font-size: 15px; line-height: 1.5; }

.g-tool { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.g-tool__grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .g-tool__grid { grid-template-columns: 1fr 1fr; } }
.g-tool select { width: 100%; height: 48px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--white); font: inherit; font-size: 15px; color: var(--text); }
.g-tool select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(40,120,240,.16); }
.g-sw input { width: 100%; min-width: 90px; height: 40px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 8px; font: inherit; font-size: 15px; background: var(--white); }
.g-sw input:focus { outline: none; border-color: var(--blue); }
.g-tool .g-table-wrap { background: var(--white); }
.g-out { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.g-out__item { display: grid; gap: 4px; padding: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.g-out__item--key { border-color: var(--blue); background: var(--blue-tint); }
.g-out__label { font-size: 12.5px; color: var(--muted); }
.g-out__val { font-size: 20px; font-weight: 800; color: var(--navy); font-family: var(--mono); }
.g-note { font-size: 13px !important; color: var(--dim) !important; margin: 14px 0 0 !important; line-height: 1.5 !important; }

.g-footnav { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13.5px; }
.g-footnav a { color: var(--muted); text-decoration: none; }
.g-footnav a:hover { color: var(--blue-2); }
@media (max-width: 560px) { .g-out__val { font-size: 16px; } }
