/* ============================================================
   JRP Site Stylesheet
   Black/White/Lime palette · Geist + Inter
   This is the shared style for all subpages.
   Dev: extract this into /css/styles.css and link it from <head>.
   ============================================================ */

:root {
  --black: #0E0E0E;
  --black-deep: #161616;
  --black-pure: #000000;
  --lime: #C6F542;
  --lime-deep: #1a3a0a;
  --gray-50: #F5F5F5;
  --gray-100: #EAEAEA;
  --gray-soft: #6E6E6E;
  --gray-muted: #9A9A9A;
  --line: rgba(0, 0, 0, 0.10);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; font-size: 16px; line-height: 1.6; color: var(--black); background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: 'Geist', sans-serif; font-weight: 600; letter-spacing: -0.025em; color: var(--black); line-height: 1.05; }
a { color: var(--black); text-decoration: none; }
a:hover { color: var(--black-pure); }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 24px; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 8px; font-family: 'Inter', sans-serif; font-weight: 500; font-size: 15px; border: none; cursor: pointer; transition: transform 0.15s, box-shadow 0.2s, background 0.15s; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--lime); color: var(--lime-deep); }
.btn-primary:hover { background: #d8ff5e; box-shadow: 0 4px 16px rgba(198,245,66,0.40); }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: var(--black-pure); color: #fff; box-shadow: 0 4px 16px rgba(0,0,0,0.20); }
.btn-ghost { background: transparent; color: var(--black); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--gray-50); }
.btn-ghost-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.5); }

.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray-muted); margin-bottom: 12px; }

/* HEADER */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; max-width: 1200px; margin: 0 auto; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark { width: 40px; height: 40px; flex-shrink: 0; transition: transform 0.15s ease; }
.logo:hover .logo-mark { transform: scale(1.04); }
.logo-tagline { font-family: 'Geist', sans-serif; font-size: 13px; font-weight: 500; color: var(--gray-soft); letter-spacing: -0.01em; line-height: 1.1; border-left: 1px solid var(--line); padding-left: 12px; }
.logo-tagline strong { display: block; font-weight: 600; color: var(--black); font-size: 14px; }
nav.primary { display: flex; gap: 22px; }
nav.primary a { font-size: 14px; color: var(--gray-soft); font-weight: 500; white-space: nowrap; }
nav.primary a:hover, nav.primary a.active { color: var(--black); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.header-cta .btn { white-space: nowrap; }
.header-phone { font-size: 13px; color: var(--gray-soft); font-weight: 500; white-space: nowrap; }
.header-hamburger { display: none; background: transparent; border: 1px solid var(--line); border-radius: 8px; width: 40px; height: 40px; cursor: pointer; align-items: center; justify-content: center; padding: 0; }
.header-hamburger:hover { background: var(--gray-50); }
.header-hamburger svg { display: block; }
.mobile-drawer { display: none; position: fixed; top: 0; right: 0; bottom: 0; width: 88%; max-width: 360px; background: #fff; z-index: 200; box-shadow: -4px 0 24px rgba(0,0,0,0.12); flex-direction: column; padding: 16px 20px 24px; transform: translateX(100%); transition: transform 0.22s ease; }
.mobile-drawer.open { transform: translateX(0); display: flex; }
.mobile-drawer-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 199; }
.mobile-drawer-overlay.open { display: block; }
.mobile-drawer-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.mobile-drawer-close { background: transparent; border: none; cursor: pointer; padding: 8px; margin: -8px; color: var(--gray-soft); }
.mobile-drawer nav { display: flex; flex-direction: column; padding: 8px 0; }
.mobile-drawer nav a { display: block; padding: 14px 4px; font-size: 17px; font-weight: 500; color: var(--black); letter-spacing: -0.01em; border-bottom: 1px solid var(--line); }
.mobile-drawer nav a:last-child { border-bottom: none; }
.mobile-drawer-cta { padding-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.mobile-drawer-cta a { display: block; }
.mobile-drawer-phone { font-size: 14px; color: var(--gray-soft); text-align: center; padding: 12px 0; }
.mobile-drawer-phone strong { color: var(--black); font-size: 16px; font-weight: 600; }
body.drawer-open { overflow: hidden; }
@media (max-width: 1100px) { .header-phone { display: none; } }
@media (max-width: 900px) { nav.primary { display: none; } .header-hamburger { display: inline-flex; } .logo-tagline { font-size: 11px; padding-left: 10px; } .logo-tagline strong { font-size: 12px; } .header-cta .btn-primary { padding: 8px 14px; font-size: 13px; } }
@media (max-width: 500px) { .logo-tagline { display: none; } }

/* PAGE HEADER (for inner pages) */
.page-header { background: #fff; padding: 56px 0 40px; border-bottom: 1px solid var(--line); }
.breadcrumb { font-size: 13px; color: var(--gray-soft); margin-bottom: 14px; }
.breadcrumb a { color: var(--gray-soft); }
.breadcrumb a:hover { color: var(--black); }
.breadcrumb .sep { margin: 0 8px; color: var(--gray-muted); }
.page-header h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 16px; letter-spacing: -0.03em; line-height: 1.05; }
.page-header .lede { font-size: 18px; color: var(--gray-soft); line-height: 1.55; max-width: 720px; }

/* PROSE (legal pages, content) */
.prose { padding: 56px 0 80px; }
.prose h2 { font-size: 24px; margin: 40px 0 12px; letter-spacing: -0.02em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; margin: 24px 0 8px; letter-spacing: -0.01em; }
.prose p { font-size: 15px; line-height: 1.7; color: var(--black); margin-bottom: 14px; }
.prose ul, .prose ol { margin: 14px 0 14px 24px; }
.prose li { font-size: 15px; line-height: 1.7; margin-bottom: 6px; }
.prose strong { font-weight: 600; }
.prose a { color: var(--black); text-decoration: underline; text-decoration-color: var(--lime); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.prose a:hover { background: var(--lime); padding: 0 3px; margin: 0 -3px; border-radius: 3px; text-decoration: none; }
.prose .meta { font-size: 13px; color: var(--gray-muted); padding: 14px 18px; background: var(--gray-50); border-radius: 8px; margin-bottom: 32px; }

/* INDUSTRY GRID (industries overview) */
.industry-grid { padding: 64px 0; }
.industry-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.industry-card { background: var(--gray-50); border: 1px solid var(--line); border-radius: 14px; padding: 28px; transition: transform 0.15s, box-shadow 0.2s, background 0.15s; display: flex; flex-direction: column; }
.industry-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); background: #fff; }
.industry-card .ic-icon { width: 40px; height: 40px; background: var(--lime); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.industry-card h3 { font-size: 19px; margin-bottom: 8px; letter-spacing: -0.02em; }
.industry-card p { font-size: 14px; color: var(--gray-soft); line-height: 1.55; margin-bottom: 14px; flex-grow: 1; }
.industry-card .ic-link { font-size: 13px; font-weight: 600; color: var(--black); display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 900px) { .industry-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .industry-cards { grid-template-columns: 1fr; } }

/* INDUSTRY DETAIL PAGE */
.industry-hero { background: #fff; padding: 56px 0 24px; border-bottom: 1px solid var(--line); }
.industry-hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: end; }
.industry-hero h1 { font-size: clamp(36px, 5.2vw, 60px); margin-bottom: 20px; letter-spacing: -0.03em; line-height: 1.0; }
.industry-hero .lede { font-size: 18px; color: var(--gray-soft); line-height: 1.55; max-width: 580px; margin-bottom: 24px; }
.industry-photo { width: 100%; height: 360px; object-fit: cover; border-radius: 16px; }
.industry-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) { .industry-hero-grid { grid-template-columns: 1fr; gap: 32px; } .industry-photo { height: 280px; } }

/* PROBLEM/SOLUTION BLOCK */
.ps-block { padding: 80px 0; background: var(--gray-50); }
.ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.ps-side h2 { font-size: 28px; margin-bottom: 16px; letter-spacing: -0.02em; }
.ps-side .ps-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px; }
.ps-side.problem .ps-eyebrow { color: var(--gray-muted); }
.ps-side.solution .ps-eyebrow { color: var(--lime-deep); background: var(--lime); padding: 4px 10px; border-radius: 4px; display: inline-block; }
.ps-list { list-style: none; margin: 0; padding: 0; }
.ps-list li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: flex-start; }
.ps-list li:last-child { border-bottom: 0; }
.ps-list li svg { flex-shrink: 0; margin-top: 4px; }
.ps-list li span { font-size: 15px; color: var(--black); line-height: 1.55; }
.ps-list li.muted span { color: var(--gray-soft); }
@media (max-width: 800px) { .ps-grid { grid-template-columns: 1fr; gap: 40px; } }

/* FEATURE STRIPE */
.feature-stripe { background: #fff; padding: 80px 0; }
.feature-stripe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-stripe-card { padding: 28px; background: var(--gray-50); border-radius: 14px; }
.feature-stripe-card h3 { font-size: 17px; margin-bottom: 8px; letter-spacing: -0.02em; }
.feature-stripe-card p { font-size: 14px; color: var(--gray-soft); line-height: 1.55; }
@media (max-width: 800px) { .feature-stripe-grid { grid-template-columns: 1fr; } }

/* USE CASE NAVIGATION (parent industry pages link to sub-pages; sub-pages link to siblings) */
.uc-nav { padding: 64px 0; background: var(--gray-50); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.uc-nav .eyebrow { color: var(--gray-muted); }
.uc-nav h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 24px; letter-spacing: -0.025em; max-width: 720px; }
.uc-nav-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.uc-nav-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; text-decoration: none; color: inherit; transition: background 0.15s, border-color 0.15s, transform 0.15s; display: flex; flex-direction: column; }
.uc-nav-card:hover { border-color: var(--lime); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,0.05); }
.uc-nav-card h3 { font-size: 16px; margin-bottom: 6px; letter-spacing: -0.015em; }
.uc-nav-card p { font-size: 13px; color: var(--gray-soft); margin: 0 0 12px; line-height: 1.55; flex-grow: 1; }
.uc-nav-card .uc-nav-arrow { font-size: 13px; font-weight: 600; color: var(--gray-muted); margin-top: auto; }
.uc-nav-card:hover .uc-nav-arrow { color: var(--lime-deep); }
@media (max-width: 800px) { .uc-nav-grid { grid-template-columns: 1fr; } }

/* INLINE QUOTE FORM (industry pages) */
.inline-form { background: var(--black); color: #fff; padding: 64px 0; }
.inline-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.inline-form-copy h2 { color: #fff; font-size: clamp(28px, 3.5vw, 40px); margin-bottom: 14px; letter-spacing: -0.025em; }
.inline-form-copy p { font-size: 16px; color: rgba(255,255,255,0.7); line-height: 1.55; max-width: 480px; }
.inline-form-card { background: var(--black-deep); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; padding: 28px; }
.inline-form-card h3 { color: #fff; font-size: 20px; margin-bottom: 6px; }
.inline-form-card .form-sub { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 18px; }

.field { margin-bottom: 12px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field label { display: block; font-size: 11px; font-weight: 500; margin-bottom: 5px; color: rgba(255,255,255,0.7); }
.inline-form-card input, .inline-form-card select { width: 100%; padding: 11px 13px; border: 1px solid rgba(255,255,255,0.18); border-radius: 8px; font-size: 14px; font-family: 'Inter', sans-serif; color: #fff; background: rgba(255,255,255,0.06); transition: border-color 0.15s, background 0.15s; }
.inline-form-card input:focus, .inline-form-card select:focus { outline: none; border-color: var(--lime); background: rgba(255,255,255,0.10); }
.inline-form-card input::placeholder { color: rgba(255,255,255,0.35); }
.inline-form-card select option { color: var(--black); background: #fff; }
.form-submit { width: 100%; padding: 14px; background: var(--lime); color: var(--lime-deep); border: none; border-radius: 8px; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px; cursor: pointer; margin-top: 6px; transition: background 0.15s; }
.form-submit:hover { background: #d8ff5e; }
.form-footnote { text-align: center; font-size: 11px; color: rgba(255,255,255,0.5); margin-top: 12px; line-height: 1.5; }
@media (max-width: 800px) { .inline-form-grid { grid-template-columns: 1fr; gap: 32px; } }

/* FOOTER */
.site-footer { background: var(--black); color: rgba(255,255,255,0.6); padding: 56px 24px 32px; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; max-width: 1200px; margin: 0 auto 32px; }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand .logo-mark { width: 48px; height: 48px; }
.footer-brand-text { padding-top: 2px; }
.footer-brand-text p { font-size: 13px; line-height: 1.7; }
.footer-col h5 { color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,0.6); font-size: 13px; }
.footer-col a:hover { color: var(--lime); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; max-width: 1200px; margin: 0 auto; font-size: 12px; opacity: 0.55; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
