/* Shared styles for the long-form guide / company / client-portal pages.
   Uses the site palette: teal #0f766e, cyan #0891b2, navy #0f172a, yellow #facc15. */

.gp-hero {
    background: linear-gradient(135deg, #0f172a 0%, #0f766e 55%, #0891b2 100%);
    color: #fff;
    padding: 4.5rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}
.gp-hero::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(250, 204, 21, 0.12);
    pointer-events: none;
}
.gp-hero .container { position: relative; z-index: 1; }
.gp-breadcrumb { font-size: 0.85rem; margin-bottom: 1rem; color: rgba(255, 255, 255, 0.75); }
.gp-breadcrumb a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.gp-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #facc15;
    margin-bottom: 0.75rem;
}
.gp-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.15; color: #fff; margin-bottom: 1rem; }
.gp-hero .gp-lead { font-size: 1.1rem; max-width: 46rem; color: rgba(255, 255, 255, 0.92); margin-bottom: 1.5rem; }
.gp-updated { font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); margin-top: 1.25rem; }
.gp-hero-img { border-radius: 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); width: 100%; height: auto; }

.gp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.4rem;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    margin: 0 0.5rem 0.5rem 0;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.gp-btn:hover { transform: translateY(-2px); text-decoration: none; }
.gp-btn-primary { background: #facc15; color: #0f172a; box-shadow: 0 6px 18px rgba(250, 204, 21, 0.35); }
.gp-btn-primary:hover { background: #eab308; color: #0f172a; }
.gp-btn-ghost { background: rgba(255, 255, 255, 0.12); color: #fff; border: 1px solid rgba(255, 255, 255, 0.45); }
.gp-btn-ghost:hover { background: rgba(255, 255, 255, 0.22); color: #fff; }
.gp-btn-teal { background: linear-gradient(135deg, #0f766e, #0891b2); color: #fff; }
.gp-btn-teal:hover { color: #fff; box-shadow: 0 8px 20px rgba(15, 118, 110, 0.3); }
.gp-btn-outline { background: #fff; color: #0f766e; border: 1px solid rgba(15, 118, 110, 0.4); }
.gp-btn-outline:hover { color: #0f766e; background: #f0fdfa; }

.gp-section { padding: 3.5rem 0; }
.gp-section-alt { background: linear-gradient(180deg, #f8fafc 0%, #eef6f5 100%); }
.gp-section h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; color: #0f172a; margin-bottom: 1rem; scroll-margin-top: 150px; }
.gp-section h3 { font-size: 1.15rem; font-weight: 700; color: #0f766e; margin: 1.5rem 0 0.6rem; scroll-margin-top: 150px; }
.gp-section p, .gp-section li { color: #334155; line-height: 1.7; }
.gp-section a:not(.gp-btn) { color: #0f766e; font-weight: 600; }

.gp-quick {
    background: #fff;
    border-left: 5px solid #0f766e;
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
}
.gp-quick h2 { margin-top: 0; }

.gp-toc {
    background: #fff;
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    position: sticky;
    top: 160px;
}
.gp-toc h2 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: #0f766e; margin-bottom: 0.75rem; }
.gp-toc ol { padding-left: 1.1rem; margin: 0; }
.gp-toc li { margin-bottom: 0.45rem; font-size: 0.95rem; }
.gp-toc a { font-weight: 500 !important; text-decoration: none; }
.gp-toc a:hover { text-decoration: underline; }

.gp-step {
    display: flex;
    gap: 1.1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.4rem 1.5rem;
    margin-bottom: 1rem;
    scroll-margin-top: 150px;
}
.gp-step-num {
    flex: 0 0 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0f766e, #0891b2);
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gp-step h3 { margin: 0.35rem 0 0.5rem; color: #0f172a; }
.gp-step p:last-child, .gp-step ul:last-child { margin-bottom: 0; }
.gp-cite { font-size: 0.82rem; color: #64748b; }

.gp-note {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 5px solid #facc15;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin: 1.25rem 0;
}
.gp-note strong { color: #0f172a; }

.gp-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    height: 100%;
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.gp-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1); }
.gp-card img { width: 100%; height: 170px; object-fit: cover; display: block; }
.gp-card-body { padding: 1.2rem 1.3rem 1.4rem; }
.gp-card-body h3 { margin-top: 0; color: #0f172a; }
.gp-card-body p { font-size: 0.95rem; margin-bottom: 0.75rem; }
.gp-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(15, 118, 110, 0.1);
    color: #0f766e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 0.9rem;
}

.gp-checks { list-style: none; padding-left: 0; }
.gp-checks li { position: relative; padding-left: 1.7rem; margin-bottom: 0.5rem; }
.gp-checks li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: #0f766e; font-weight: 800; }

.gp-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06); }
.gp-table th { background: #0f766e; color: #fff; text-align: left; padding: 0.75rem 1rem; font-size: 0.9rem; }
.gp-table td { padding: 0.75rem 1rem; border-top: 1px solid #e2e8f0; color: #334155; font-size: 0.95rem; vertical-align: top; }

.gp-shot { border-radius: 14px; border: 1px solid #e2e8f0; box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12); width: 100%; height: auto; }
.gp-phone { max-width: 280px; width: 100%; height: auto; border-radius: 28px; border: 8px solid #0f172a; box-shadow: 0 24px 50px rgba(15, 23, 42, 0.3); }

.gp-store {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: #0f172a;
    color: #fff;
    border-radius: 12px;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    margin: 0 0.6rem 0.6rem 0;
    line-height: 1.15;
}
.gp-store:hover { color: #fff; background: #1e293b; text-decoration: none; }
.gp-store i { font-size: 1.7rem; }
.gp-store small { display: block; font-size: 0.7rem; opacity: 0.8; }
.gp-store span { font-weight: 700; font-size: 1.05rem; color: #fff; }

.gp-faq details { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 1rem 1.25rem; margin-bottom: 0.75rem; }
.gp-faq summary { font-weight: 700; color: #0f172a; cursor: pointer; }
.gp-faq details p { margin: 0.75rem 0 0; }

.gp-cta {
    background: linear-gradient(135deg, #0f766e 0%, #0891b2 100%);
    color: #fff;
    border-radius: 18px;
    padding: 2.5rem 2rem;
    text-align: center;
}
.gp-cta h2 { color: #fff; }
.gp-cta p { color: rgba(255, 255, 255, 0.92); max-width: 40rem; margin: 0 auto 1.5rem; }

@media (max-width: 991px) {
    .gp-toc { position: static; margin-bottom: 1.5rem; }
    .gp-hero { padding: 3rem 0 2.5rem; }
}
@media (max-width: 576px) {
    .gp-step { flex-direction: column; gap: 0.6rem; }
    .gp-btn { width: 100%; justify-content: center; margin-right: 0; }
    .gp-store { width: 100%; justify-content: center; margin-right: 0; }
}

/* The master pushes page content down further than the fixed header needs, which leaves a
   white strip above a dark hero. On pages with this hero, start the content exactly where
   the header ends (40px top bar + header). guide-pages.js fine-tunes this to the real
   header height on load. */
body:has(.gp-hero) main.main-content {
    margin-top: 0 !important;
    padding-top: 139px !important;
}

/* Small screens: the master adds a further 34px above the page content. */
@media (max-width: 991.98px) {
    .gp-hero { margin-top: -34px !important; }
}
