@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root{
  --ink:        #1F2A36; /* headings, nav text, primary buttons */
  --dark:       #1B2530; /* darker variant for hovered/pressed buttons */
  --orange:     #EE8B2E; /* section eyebrows / accents, matches live site */
  --blue:       #2A87B8; /* icons, links, quote accent */
  --text:       #51606C; /* body copy gray */
  --bg-alt:     #F4F4F4; /* alternating light-gray section bg */
  --bg:         #FFFFFF;
  --line:       #E4E7EA;
  --footer-bg:  #262626;
  --footer-text:#B9C0C6;
  --radius:     10px;
  --shadow:     0 10px 26px rgba(31,42,54,0.10);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:'Inter', sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4{ font-family:'Inter', sans-serif; font-weight:700; line-height:1.18; margin:0; color:var(--ink); }
p{ margin:0; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; }
:focus-visible{ outline:3px solid var(--orange); outline-offset:3px; border-radius:4px; }

.wrap{ max-width:1180px; margin:0 auto; padding:0 28px; }
.eyebrow{
  display:block;
  font-weight:700;
  font-size:26px;
  color:var(--orange);
  margin-bottom:10px;
}
.eyebrow-sm{
  font-family:'IBM Plex Mono', monospace;
  font-size:12.5px;
  font-weight:600;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--blue);
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:13px 26px; border-radius:6px; font-weight:700; font-size:14.5px;
  letter-spacing:0.02em;
  transition:transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn-primary{ background:var(--ink); color:#fff; }
.btn-primary:hover{ background:var(--dark); transform:translateY(-1px); box-shadow:var(--shadow); }
.btn-outline{ background:transparent; color:#fff; border:1.5px solid rgba(255,255,255,0.55); }
.btn-outline:hover{ border-color:#fff; background:rgba(255,255,255,0.08); }
.btn-outline-dark{ background:transparent; color:var(--ink); border:1.5px solid var(--line); }
.btn-outline-dark:hover{ border-color:var(--ink); }
.btn-blue{ background:var(--blue); color:#fff; }
.btn-blue:hover{ background:#236f96; transform:translateY(-1px); }

/* ---------- header ---------- */
.site-header{ background:#fff; border-bottom:1px solid var(--line); }
.topbar{ display:flex; justify-content:flex-end; padding:8px 0; font-size:13px; color:var(--text); }
.nav{ display:flex; align-items:center; justify-content:space-between; padding:16px 0 22px; }
.logo{ display:flex; align-items:center; gap:10px; }
.logo-mark{ width:30px; height:30px; }
.logo-full{ height:34px; width:auto; display:block; }
.logo img{ height:40px; width:auto; display:block; }
.logo-text{ font-weight:800; font-size:21px; color:var(--ink); letter-spacing:-0.01em; }
.nav-links{ display:flex; gap:30px; align-items:center; }
.nav-links a{ font-weight:600; font-size:14.5px; color:var(--ink); }
.nav-links a:hover, .nav-links a[aria-current="page"]{ color:var(--orange); }
@media (max-width:860px){ .nav-links{ display:none; } }

/* ---------- page hero (light gray, like the live site) ---------- */
.page-hero{ background:var(--bg-alt); padding:64px 0 70px; }
.page-hero h1{ font-size:clamp(28px,4vw,42px); margin-bottom:16px; }
.page-hero p.lead{ font-size:17.5px; max-width:600px; color:var(--text); }
.page-hero.center{ text-align:center; }
.page-hero.center p.lead{ margin:0 auto; }

/* ---------- breadcrumb ---------- */
.breadcrumb{ font-size:13px; color:var(--text); margin-bottom:18px; }
.breadcrumb a{ color:var(--blue); }
.breadcrumb a:hover{ text-decoration:underline; }

/* ---------- sections ---------- */
.section{ padding:80px 0; }
.section.alt{ background:var(--bg-alt); }
.section-head{ text-align:center; max-width:680px; margin:0 auto 48px; }
.section-head h2{ font-size:clamp(24px,3.2vw,34px); }
.section-head p{ margin-top:14px; font-size:16px; }

/* ---------- feature grid ---------- */
.features-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:36px 40px; }
@media (max-width:880px){ .features-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .features-grid{ grid-template-columns:1fr; } }
.feature{ display:flex; gap:16px; align-items:flex-start; }
.feature-icon{ width:46px; height:46px; flex-shrink:0; color:var(--blue); }
.feature h3{ font-size:17px; margin-bottom:5px; }
.feature p{ font-size:14.5px; }

/* ---------- portals ---------- */
.portals-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:30px; text-align:center; }
@media (max-width:820px){ .portals-grid{ grid-template-columns:1fr; } }
.portal-icon{ width:64px; height:64px; margin:0 auto 18px; color:var(--blue); }
.portal h3{ font-size:19px; margin-bottom:8px; }
.portal p{ font-size:14.5px; max-width:280px; margin:0 auto; }

/* ---------- chaos / problem list ---------- */
.chaos-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
@media (max-width:760px){ .chaos-grid{ grid-template-columns:1fr; } }
.chaos-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:20px 22px; font-size:14.5px; display:flex; gap:12px; }
.chaos-card .mark{ color:var(--orange); font-weight:800; flex-shrink:0; }

/* ---------- compare table ---------- */
.compare{ border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; background:#fff; }
.compare-row{ display:grid; grid-template-columns:200px 1fr 1fr; }
.compare-row + .compare-row{ border-top:1px solid var(--line); }
.compare-row.head .compare-cell{ font-family:'IBM Plex Mono', monospace; font-size:12px; font-weight:600; letter-spacing:0.06em; text-transform:uppercase; color:#fff; background:var(--ink); }
.compare-cell{ padding:16px 18px; font-size:14.5px; }
.compare-label{ font-weight:700; color:var(--ink); background:var(--bg-alt); }
.compare-before{ color:#8a949c; }
.compare-after{ font-weight:600; }
.compare-after::before{ content:"✓ "; color:var(--blue); font-weight:700; }
@media (max-width:720px){
  .compare-row{ grid-template-columns:1fr; }
  .compare-row.head{ display:none; }
}

/* ---------- testimonial / quote ---------- */
.quote-block{ display:flex; gap:20px; align-items:flex-start; max-width:760px; margin:0 auto; }
.quote-bar{ width:4px; background:var(--blue); flex-shrink:0; align-self:stretch; border-radius:2px; }
.quote-text{ font-size:18px; color:var(--ink); }
.quote-source{ margin-top:14px; font-weight:700; font-size:15px; color:var(--ink); }

.t-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
@media (max-width:880px){ .t-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .t-grid{ grid-template-columns:1fr; } }
.t-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:22px; }
.t-card p{ font-size:14.5px; color:var(--text); }
.t-card .src{ margin-top:14px; font-weight:700; font-size:13.5px; color:var(--ink); }

/* ---------- pricing ---------- */
.price-card{ background:#fff; border:2px solid var(--ink); border-radius:14px; padding:46px; text-align:center; max-width:480px; margin:0 auto; box-shadow:var(--shadow); }
.price-card .tag{ font-family:'IBM Plex Mono', monospace; font-size:12px; font-weight:600; letter-spacing:0.1em; text-transform:uppercase; color:var(--orange); }
.price-amount{ font-size:56px; font-weight:800; color:var(--ink); margin:14px 0 2px; }
.price-amount span{ font-size:16px; font-weight:600; color:var(--text); }
.price-card ul{ text-align:left; margin:26px 0; display:flex; flex-direction:column; gap:10px; }
.price-card li{ font-size:14.5px; display:flex; gap:10px; }
.price-card li::before{ content:"✓"; color:var(--blue); font-weight:700; }

.faq{ max-width:760px; margin:0 auto; }
.faq-item{ border-bottom:1px solid var(--line); padding:18px 0; }
.faq-item h3{ font-size:16px; margin-bottom:8px; }
.faq-item p{ font-size:14.5px; }

/* ---------- CTA band ---------- */
.cta-band{ background:var(--ink); color:#fff; padding:64px 0; text-align:center; }
.cta-band h2{ color:#fff; font-size:clamp(24px,3vw,32px); margin-bottom:14px; }
.cta-band p{ color:#C9D2D9; margin-bottom:28px; }
.cta-band .btn-row{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ---------- mockup card (hero visual) ---------- */
.mockup{ background:#fff; border-radius:12px; box-shadow:0 20px 50px rgba(31,42,54,0.18); overflow:hidden; max-width:420px; margin:0 auto; }
.mockup-top{ background:var(--bg-alt); padding:14px 18px; font-weight:700; font-size:13px; color:var(--ink); border-bottom:1px solid var(--line); }
.mockup-body{ padding:22px; }
.mockup-bar{ height:10px; background:var(--ink); border-radius:5px; margin-bottom:10px; }
.mockup-field{ height:40px; border:1.5px solid var(--line); border-radius:6px; margin-bottom:12px; background:var(--bg-alt); }
.mockup-btn{ height:38px; background:var(--blue); border-radius:6px; }
.mockup-foot{ text-align:center; font-size:11px; color:#9aa3aa; padding:10px 0 16px; }

/* ---------- form ---------- */
.form-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:32px; }
.field{ margin-bottom:16px; }
.field label{ display:block; font-size:13px; font-weight:700; margin-bottom:6px; color:var(--ink); }
.field input, .field select, .field textarea{
  width:100%; padding:11px 13px; border-radius:6px; border:1.5px solid var(--line);
  font-family:'Inter', sans-serif; font-size:14.5px; background:var(--bg-alt);
}
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color:var(--blue); }
.form-note{ font-size:12.5px; opacity:0.65; margin-top:12px; }
.confirm{ display:none; background:#E7F3F8; border:1px solid var(--blue); border-radius:8px; padding:16px; font-size:14.5px; color:var(--ink); font-weight:600; margin-top:14px; }
.contact-info-list li{ display:flex; gap:10px; align-items:flex-start; margin-bottom:16px; font-size:15px; color:var(--text); }
.contact-info-list svg{ width:19px; height:19px; flex-shrink:0; margin-top:2px; color:var(--blue); }

/* ---------- HubSpot native form override ---------- */
.hs-form{ font-family:'Inter', sans-serif; }
.hs-form-field{ margin-bottom:15px; }
.hs-form-field label{ display:block; font-size:13px; font-weight:700; margin-bottom:6px; color:var(--ink); }
.hs-input{
  width:100%; padding:11px 13px; border-radius:6px; border:1.5px solid var(--line);
  font-family:'Inter', sans-serif; font-size:14.5px; background:var(--bg-alt); box-sizing:border-box;
}
.hs-input:focus{ outline:none; border-color:var(--blue); }
textarea.hs-input{ min-height:100px; }
.hs-button{
  display:flex; align-items:center; justify-content:center; width:100%;
  padding:13px 26px; border-radius:6px; font-weight:700; font-size:14.5px;
  background:var(--ink); color:#fff; border:none; cursor:pointer; font-family:'Inter', sans-serif;
}
.hs-button:hover{ background:var(--dark); }
.hs-error-msgs{ list-style:none; margin:4px 0 0; padding:0; }
.hs-error-msgs label{ color:#A33; font-size:12.5px; font-weight:600; }
.submitted-message{
  background:#E7F3F8; border:1px solid var(--blue); border-radius:8px; padding:16px;
  font-size:14.5px; color:var(--ink); font-weight:600;
}
.hs-form-required{ color:var(--orange); }

/* ---------- footer ---------- */
.site-footer{ background:var(--footer-bg); color:var(--footer-text); padding:54px 0 26px; }
.footer-grid{ display:grid; grid-template-columns:1.5fr 1fr 1fr 1.2fr; gap:32px; margin-bottom:38px; }
@media (max-width:780px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
.footer-col h4{ font-family:'IBM Plex Mono', monospace; font-size:11.5px; letter-spacing:0.08em; text-transform:uppercase; color:#fff; margin-bottom:14px; }
.footer-col a, .footer-col p{ display:block; font-size:14px; margin-bottom:9px; color:var(--footer-text); }
.footer-col a:hover{ color:var(--orange); }
.footer-bottom{ border-top:1px solid rgba(255,255,255,0.12); padding-top:20px; font-size:12.5px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; color:#80888E; }

.reveal{ opacity:0; transform:translateY(14px); transition:opacity .5s ease, transform .5s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; transition:none; } }

.skip-link{ position:absolute; left:-999px; top:0; background:var(--ink); color:#fff; padding:10px 16px; z-index:100; }
.skip-link:focus{ left:10px; top:10px; }
