/* HCONN growth-plan components (land & expand).
   Loaded AFTER tailwind.min.css on every page so these rules win over Tailwind's reset.
   All classes are prefixed "gp-" so they never clash with page-level styles. */

.gp-section { padding: 88px 0; background: #ffffff; }
.gp-section.gp-alt { background: #f8fafc; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }
.gp-section.gp-tight { padding: 64px 0; }
.gp-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.gp-narrow { max-width: 860px; margin: 0 auto; }
.gp-center { text-align: center; }

.gp-eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #0E7490; margin: 0 0 10px; }
.gp-h2 { font-size: 2.2rem; line-height: 1.2; font-weight: 800; color: #0f172a; margin: 0 0 14px; }
.gp-h3 { font-size: 1.35rem; line-height: 1.3; font-weight: 800; color: #0f172a; margin: 0 0 10px; }
.gp-lead { font-size: 1.15rem; line-height: 1.7; color: #475569; margin: 0 auto 0; max-width: 780px; }
.gp-head { margin-bottom: 48px; }
.gp-muted { color: #64748b; font-size: 0.95rem; }

/* Buttons */
.gp-btn, .gp-btn-outline, .gp-btn-light {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px; border-radius: 8px; font-weight: 700; font-size: 0.98rem;
    text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
    line-height: 1.2;
}
.gp-btn { background: #dc2626; color: #ffffff; border: 2px solid #dc2626; }
.gp-btn:hover { background: #b91c1c; border-color: #b91c1c; color: #ffffff; }
.gp-btn-outline { background: transparent; color: #0B192C; border: 2px solid #0B192C; }
.gp-btn-outline:hover { background: #0B192C; color: #ffffff; }
.gp-btn-light { background: transparent; color: #ffffff; border: 2px solid rgba(255,255,255,0.6); }
.gp-btn-light:hover { background: #ffffff; color: #0B192C; }
.gp-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.gp-center .gp-actions { justify-content: center; }
.gp-link { color: #0E7490; font-weight: 700; text-decoration: none; }
.gp-link:hover { color: #0B192C; text-decoration: underline; }

/* Share with a colleague */
.gp-share { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.95rem; color: #0E7490; text-decoration: none; }
.gp-share:hover { color: #0B192C; text-decoration: underline; }
.gp-share svg { flex: 0 0 auto; }
.gp-dark .gp-share { color: #67e8f9; }
.gp-dark .gp-share:hover { color: #ffffff; }

/* Front-door cards */
.gp-doors { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.gp-door { position: relative; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 18px; padding: 36px 34px 30px; box-shadow: 0 12px 34px -14px rgba(15,23,42,0.18); display: flex; flex-direction: column; }
.gp-door::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px; border-radius: 18px 18px 0 0; background: #00B4D8; }
.gp-door.gp-safety::before { background: #dc2626; }
.gp-door-tag { display: inline-block; align-self: flex-start; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: #ecfeff; color: #0E7490; margin-bottom: 14px; }
.gp-door.gp-safety .gp-door-tag { background: #fef2f2; color: #b91c1c; }
.gp-door h3 { font-size: 1.6rem; font-weight: 800; color: #0f172a; margin: 0 0 4px; }
.gp-door .gp-door-sub { font-size: 1rem; font-weight: 600; color: #475569; margin: 0 0 14px; }
.gp-door p { color: #475569; line-height: 1.7; margin: 0 0 16px; }
.gp-proof { display: flex; gap: 10px; align-items: flex-start; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px 14px; font-size: 0.95rem; color: #0f172a; font-weight: 600; margin: 0 0 18px; }
.gp-proof svg { flex: 0 0 auto; color: #0E7490; margin-top: 2px; }
.gp-then { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #64748b; margin: 0 0 8px; }
.gp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.gp-chips a { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid #cbd5e1; background: #ffffff; color: #0B192C; font-size: 0.88rem; font-weight: 700; text-decoration: none; }
.gp-chips a:hover { border-color: #00B4D8; color: #0E7490; }
.gp-door .gp-actions { margin-top: auto; }
.gp-note { text-align: center; margin-top: 28px; color: #475569; }

/* Stats */
.gp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.gp-stat { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 28px; text-align: center; }
.gp-stat-num { font-size: 2.8rem; font-weight: 800; color: #0891B2; line-height: 1; margin-bottom: 10px; }
.gp-stat-label { font-weight: 800; color: #0f172a; margin-bottom: 8px; }
.gp-stat-desc { color: #475569; font-size: 0.95rem; line-height: 1.6; }

/* Dark band: Already using HCONN? */
.gp-band { background: #0B192C; color: #ffffff; padding: 56px 0; }
.gp-band-inner { display: flex; gap: 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.gp-band h2 { font-size: 1.8rem; font-weight: 800; color: #ffffff; margin: 0 0 8px; }
.gp-band p { color: #cbd5e1; margin: 0; font-size: 1.05rem; line-height: 1.6; max-width: 640px; }
.gp-dark { color: #ffffff; }

/* "What plants add next" */
.gp-next-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.gp-next-card { flex: 0 1 calc(33.333% - 14px); min-width: 250px; display: block; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 24px; text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s; }
.gp-next-card:hover { border-color: #00B4D8; box-shadow: 0 10px 24px -12px rgba(15,23,42,0.25); }
.gp-next-step { display: inline-block; font-size: 0.75rem; font-weight: 800; color: #0E7490; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; }
.gp-next-card h3 { font-size: 1.15rem; font-weight: 800; color: #0f172a; margin: 0 0 6px; }
.gp-next-card p { font-size: 0.95rem; color: #475569; line-height: 1.6; margin: 0; }
.gp-next-foot { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 28px; margin-top: 36px; }

/* Proof callout on product pages */
.gp-callout { max-width: 900px; margin: 0 auto; background: #ffffff; border: 1px solid #e2e8f0; border-left: 5px solid #00B4D8; border-radius: 14px; padding: 32px 36px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); }
.gp-callout h3 { font-size: 1.4rem; font-weight: 800; color: #0f172a; margin: 0 0 10px; }
.gp-callout p { color: #475569; font-size: 1.05rem; line-height: 1.75; margin: 0; }

/* Timeline (About) */
.gp-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.gp-timeline li { position: relative; padding: 0 0 22px 28px; border-left: 2px solid rgba(0,180,216,0.35); }
.gp-timeline li:last-child { padding-bottom: 0; border-left-color: transparent; }
.gp-timeline li::before { content: ""; position: absolute; left: -7px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: #00B4D8; }
.gp-timeline h4 { font-weight: 800; color: #ffffff; margin: 0 0 4px; font-size: 1rem; }
.gp-timeline p { color: #cbd5e1; font-size: 0.9rem; line-height: 1.55; margin: 0; }

/* Story cards */
.gp-cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gp-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 28px; }
.gp-card h3 { font-size: 1.15rem; font-weight: 800; color: #0f172a; margin: 0 0 8px; }
.gp-card p { color: #475569; line-height: 1.65; margin: 0; font-size: 0.98rem; }
.gp-card .gp-card-kicker { font-size: 0.8rem; font-weight: 800; color: #0E7490; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; display: block; }
.gp-badge { display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: #fef3c7; color: #92400e; margin-bottom: 12px; }

/* Two-path diagram (Platform) */
.gp-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.gp-path { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 28px; }
.gp-path-title { font-weight: 800; color: #0f172a; font-size: 1.1rem; margin: 0 0 18px; }
.gp-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.gp-node { display: inline-block; padding: 9px 14px; border-radius: 10px; border: 1px solid #cbd5e1; background: #f8fafc; color: #0B192C; font-weight: 700; font-size: 0.92rem; text-decoration: none; }
.gp-node.gp-start { background: #0B192C; border-color: #0B192C; color: #ffffff; }
a.gp-node:hover { border-color: #00B4D8; }
.gp-node.gp-start:hover { color: #ffffff; }
.gp-arrow { color: #94a3b8; font-weight: 800; }
.gp-path p { color: #475569; font-size: 0.95rem; line-height: 1.6; margin: 18px 0 0; }

/* Q&A list (Plant IT) */
.gp-qa { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.gp-qa .gp-card h3 { font-size: 1.05rem; }

/* Product tiers */
.gp-tier { margin-bottom: 72px; }
.gp-tier:last-child { margin-bottom: 0; }
.gp-tier-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.gp-tier-num { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #ffffff; background: #0B192C; border-radius: 999px; padding: 5px 11px; }
.gp-tier-head h2 { font-size: 1.9rem; font-weight: 800; color: #0f172a; margin: 0; }
.gp-tier > p.gp-tier-sub { color: #475569; font-size: 1.05rem; line-height: 1.65; margin: 0 0 28px; max-width: 820px; }
.gp-flexgrid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.gp-flexgrid > * { flex: 0 1 calc(33.333% - 16px); min-width: 280px; }
.gp-flexgrid.gp-two > * { flex: 0 1 calc(50% - 12px); }

@media (max-width: 900px) {
    .gp-doors, .gp-paths, .gp-qa { grid-template-columns: 1fr; }
    .gp-stats, .gp-cards3 { grid-template-columns: 1fr; }
    .gp-next-card, .gp-flexgrid > *, .gp-flexgrid.gp-two > * { flex: 1 1 100%; min-width: 0; }
    .gp-h2 { font-size: 1.8rem; }
    .gp-section { padding: 64px 0; }
    .gp-door { padding: 30px 22px 24px; }
}

/* Small-phone fixes for two older inline-styled sections (Home "Executive ROI" cards, Platform implementation steps) */
@media (max-width: 480px) {
    .business-impact-section .container > div { grid-template-columns: 1fr !important; }
    .business-impact-section .container > div > div { padding: 28px 22px !important; }
    .deployment-section [style*="min-width: 400px"] { min-width: 0 !important; padding: 24px 18px !important; }
    .deployment-section [style*="min-width: 400px"] > div { flex-direction: column; gap: 16px !important; }
}

/* Home hero: two equal starting choices + existing-customer link */
.hero-actions.gp-choices { flex-wrap: wrap; gap: 16px; }
.gp-choice { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 250px; padding: 14px 22px; border-radius: 12px; background: #0B192C; color: #ffffff; text-decoration: none; border: 2px solid #0B192C; border-left: 6px solid #00B4D8; text-align: left; transition: transform .15s, box-shadow .15s; }
.gp-choice.gp-choice-safety { border-left-color: #dc2626; }
.gp-choice:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(11,25,44,.5); color: #ffffff; }
.gp-choice-q { font-size: 0.85rem; font-weight: 600; color: #cbd5e1; }
.gp-choice-a { font-size: 1.1rem; font-weight: 800; }
.gp-hero-existing { flex-basis: 100%; margin: 6px 0 0 !important; font-size: 1rem !important; color: #475569; }
.gp-hero-existing a { color: #0E7490; font-weight: 700; text-decoration: none; }
.gp-hero-existing a:hover { text-decoration: underline; }

/* Checklist (Plant IT, Existing Plants) */
.gp-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.gp-checklist li { display: flex; gap: 12px; align-items: flex-start; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 16px 18px; color: #334155; line-height: 1.6; }
.gp-checklist li svg { flex: 0 0 auto; color: #0E7490; margin-top: 3px; }

/* Numbered steps (Legacy replacement, Existing plants) */
.gp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: gpstep; }
.gp-steps li { counter-increment: gpstep; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 24px; }
.gp-steps li::before { content: counter(gpstep); display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #0B192C; color: #ffffff; font-weight: 800; margin-bottom: 12px; }
.gp-steps h3 { font-size: 1.1rem; font-weight: 800; color: #0f172a; margin: 0 0 6px; }
.gp-steps p { color: #475569; font-size: 0.97rem; line-height: 1.6; margin: 0; }

/* Case studies: what a similar plant can do next */
.cs-next { margin-top: 14px !important; padding: 12px 14px; background: #ecfeff; border-radius: 10px; color: #0f172a; }
.cs-next a { color: #0E7490; font-weight: 700; white-space: nowrap; }

@media (max-width: 900px) {
    .gp-steps { grid-template-columns: 1fr; }
    .gp-choice { width: 100%; }
}

/* Download link (one-page PDF overviews) */
.gp-dl { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.95rem; color: #0E7490; text-decoration: none; }
.gp-dl:hover { color: #0B192C; text-decoration: underline; }
