@font-face {
  font-family: "Lane Narrow";
  src: url("assets/Lane-Narrow.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --blue: #377fbf;
  --blue-dark: #155e86;
  --navy: #063e55;
  --navy-deep: #042f40;
  --green: #a7cb00;
  --green-dark: #91b000;
  --ink: #333f46;
  --body: #555;
  --soft: #f4f7f8;
  --line: #dce5e8;
  --white: #fff;
  --shadow: 0 18px 50px rgba(5, 49, 67, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--body); background: #fff; font-family: "Source Sans Pro", Arial, sans-serif; font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.narrow { width: min(980px, calc(100% - 48px)); }
.section { padding: 94px 0; }
.section-soft { background: var(--soft); }
.centered { text-align: center; }

.site-header { height: 84px; padding: 0 max(32px, calc((100vw - 1160px) / 2)); display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.97); box-shadow: 0 2px 9px rgba(0,0,0,.14); position: sticky; top: 0; z-index: 100; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.brand img { width: 214px; }
.brand-divider { width: 1px; height: 28px; background: #c9d4d8; }
.brand-service { color: var(--blue); font-size: 14px; font-weight: 700; letter-spacing: 2px; white-space: nowrap; }
nav { display: flex; align-items: center; gap: 35px; }
nav a { text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: 1.5px; color: #777; transition: color .2s ease; }
nav a:hover { color: var(--blue); }
nav .header-cta { padding: 13px 18px; border: 1.5px solid var(--blue); color: var(--blue); border-radius: 3px; }

.nav-toggle { display: none; appearance: none; width: 44px; height: 40px; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 28px; height: 3px; margin: 5px 0; background: var(--blue); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.hero { min-height: 650px; position: relative; color: white; display: flex; align-items: center; background: var(--navy) url("assets/erp-rescue-water.jpg") center center / cover no-repeat; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,42,57,.96) 0%, rgba(3,48,65,.88) 35%, rgba(3,53,69,.42) 63%, rgba(3,40,53,.12) 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 150px; background: linear-gradient(0deg, rgba(2,42,55,.5), transparent); }
.hero-content { position: relative; z-index: 2; padding-bottom: 32px; }
.eyebrow, .section-kicker { margin: 0 0 12px; color: var(--green); font-size: 15px; line-height: 1.2; font-weight: 700; letter-spacing: 2.5px; }
.hero h1 { max-width: 650px; margin: 0 0 24px; font-family: "Lane Narrow", "Source Sans Pro", sans-serif; font-size: clamp(70px, 7vw, 104px); line-height: .94; font-weight: 400; letter-spacing: -1px; color: white; }
.hero-copy { max-width: 625px; margin: 0 0 34px; font-size: 21px; line-height: 1.48; color: rgba(255,255,255,.94); }
.hero-caption { position: absolute; z-index: 2; bottom: 22px; right: max(32px, calc((100vw - 1160px) / 2)); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.72); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 17px 24px; text-decoration: none; border-radius: 4px; font-weight: 700; font-size: 17px; line-height: 1.1; letter-spacing: .5px; text-transform: uppercase; box-shadow: 0 8px 24px rgba(0,0,0,.12); transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-green { color: white; background: var(--green); }
.button-green:hover { background: var(--green-dark); }
.button-blue { color: white; background: var(--blue); }
.button-blue:hover { background: #2e6fa7; }

h2 { margin: 0 0 24px; color: var(--blue); font-family: "Lane Narrow", "Source Sans Pro", sans-serif; font-size: clamp(45px, 4.4vw, 62px); line-height: 1.04; font-weight: 400; }
h3 { color: var(--ink); font-size: 26px; line-height: 1.15; }
p { margin-top: 0; }
.section-intro { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 70px; margin-bottom: 45px; }
.section-intro h2 { margin-bottom: 0; }
.section-intro > p { font-size: 19px; margin-bottom: 6px; }

.founder-section { padding: 84px 0; }
.founder-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 76px; align-items: center; }
.video-card { appearance: none; display: block; width: 100%; min-height: 385px; padding: 0; border: 0; background: var(--navy); position: relative; overflow: hidden; cursor: pointer; box-shadow: var(--shadow); text-align: left; }
.video-card img { width: 100%; height: 385px; object-fit: cover; object-position: center 24%; filter: saturate(.82); }
.video-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,46,62,.9), rgba(3,46,62,.04) 66%); }
.play-button { width: 74px; height: 74px; border-radius: 50%; background: var(--green); color: white; display: grid; place-items: center; position: absolute; left: 50%; top: 44%; transform: translate(-50%,-50%); font-size: 23px; padding-left: 4px; box-shadow: 0 10px 28px rgba(0,0,0,.25); }
.video-label { position: absolute; left: 28px; bottom: 24px; color: white; font-size: 13px; line-height: 1.4; letter-spacing: 1.4px; }
.video-label strong { font-size: 17px; }
.founder-copy p { max-width: 640px; }
.signature-line { color: var(--blue-dark); font-size: 20px; font-weight: 600; border-left: 4px solid var(--green); padding-left: 18px; margin-top: 28px; }

.symptoms h2 { max-width: 780px; margin-left: auto; margin-right: auto; }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding-left: 38px; }
.check-list li::before { content: "✓"; width: 24px; height: 24px; border-radius: 50%; position: absolute; left: 0; top: 2px; display: grid; place-items: center; background: var(--green); color: white; font-size: 15px; font-weight: 700; line-height: 1; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 44px; margin: 46px 0 42px; }
.check-grid li { padding: 20px 20px 20px 56px; background: white; box-shadow: 0 6px 18px rgba(5,49,67,.06); }
.check-grid li::before { left: 20px; top: 22px; }
.cta-row { margin-top: 12px; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { position: relative; min-height: 360px; padding: 36px 32px; border-top: 4px solid var(--blue); background: white; box-shadow: var(--shadow); overflow: hidden; }
.service-card.featured { background: var(--navy); border-top-color: var(--green); color: rgba(255,255,255,.86); transform: translateY(-12px); }
.service-card.featured h3 { color: white; }
.card-number { position: absolute; right: 20px; top: 6px; color: rgba(55,127,191,.1); font-size: 92px; line-height: 1; font-weight: 700; }
.featured .card-number { color: rgba(255,255,255,.08); }
.service-card h3 { margin: 26px 0 30px; position: relative; font-size: 27px; }
.compact { display: grid; gap: 15px; }
.compact li { font-size: 17px; padding-left: 34px; }
.compact li::before { width: 21px; height: 21px; font-size: 13px; top: 2px; }

.assessment-section { color: rgba(255,255,255,.88); background: var(--navy); }
.assessment-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 74px; align-items: center; }
.assessment-copy h2 { color: white; }
.assessment-copy > p:not(.section-kicker) { font-size: 20px; margin-bottom: 32px; }
.light { color: #cce752; }
.assessment-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 0; box-shadow: 0 18px 45px rgba(0,0,0,.22); }
.assessment-panel { padding: 36px 30px; background: #0b526d; }
.assessment-panel.bright { color: var(--body); background: white; }
.assessment-panel h3 { margin: 0 0 25px; color: white; }
.assessment-panel.bright h3 { color: var(--blue); }
.light-list li { color: white; }

.process-section { overflow: hidden; }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 34px; position: relative; }
.process-line { height: 2px; margin: 53px 11% -33px; background: var(--line); }
.process-grid article { position: relative; }
.process-grid span { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; margin-bottom: 25px; color: white; background: var(--blue); border: 6px solid white; box-shadow: 0 0 0 2px var(--line); font-size: 20px; font-weight: 700; animation: process-pulse-blue 2.6s ease-in-out infinite; }
.process-grid article:nth-child(even) span { background: var(--green); animation-name: process-pulse-green; }
.process-grid article:nth-child(2) span { animation-delay: .35s; }
.process-grid article:nth-child(3) span { animation-delay: .7s; }
.process-grid article:nth-child(4) span { animation-delay: 1.05s; }
.process-grid h3 { margin: 0 0 13px; font-size: 22px; }
.process-grid p { font-size: 16px; line-height: 1.55; }

.independent-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 90px; align-items: center; }
.independent-grid > div > p:not(.section-kicker) { font-size: 20px; max-width: 650px; }
.question-list { padding: 34px 36px; background: white; box-shadow: var(--shadow); display: grid; gap: 16px; }
.question-list li { color: var(--ink); font-size: 19px; font-weight: 600; }

.ai-section { background: linear-gradient(110deg,#fff 0%,#fff 55%,#edf7fa 100%); }
.ai-grid { display: grid; grid-template-columns: 220px 1fr; gap: 70px; align-items: center; max-width: 1020px; }
.ai-mark { width: 190px; height: 190px; border: 1px solid #b9d8e4; border-radius: 50%; display: grid; place-items: center; position: relative; }
.ai-mark::before,.ai-mark::after,.ai-mark i { content:""; position:absolute; border-radius:50%; border:1px solid #d2e7ee; transform-origin: center; animation: ai-circle-pulse 3s ease-in-out infinite; }
.ai-mark::before { inset: 20px; }.ai-mark::after { inset: 42px; animation-delay: .55s; }.ai-mark i { inset: -14px; border-style:dashed; animation-delay: 1.1s; }
.ai-mark span { color: var(--blue); font-family: "Lane Narrow"; font-size: 72px; z-index: 2; }
.ai-grid h2 { margin-bottom: 20px; }
.ai-grid p:last-child { max-width: 770px; }

.proof-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 58px; align-items: stretch; }
.why-card { padding: 45px; color: rgba(255,255,255,.85); background: var(--blue); box-shadow: var(--shadow); }
.why-card h3 { color: white; font-family: "Lane Narrow"; font-size: 39px; font-weight: 400; margin: 12px 0 22px; }

.final-cta { text-align: center; color: white; background: linear-gradient(rgba(3,48,65,.91),rgba(3,48,65,.94)), url("assets/erp-rescue-water.jpg") center 56% / cover no-repeat; }
.final-inner { max-width: 820px; }
.final-cta h2 { color: white; }
.final-cta p:not(.section-kicker) { font-size: 21px; max-width: 690px; margin: 0 auto 30px; }
.final-actions { display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap; }
.text-link { color: white; font-weight: 600; text-underline-offset: 5px; }

footer { padding: 30px 0; background: #fff; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; }
.footer-inner img { width: 175px; }
.footer-inner p { margin: 0; font-size: 14px; color: #7b858a; }
.footer-inner a { color: var(--blue); }

@keyframes process-pulse-blue {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 2px var(--line), 0 0 0 2px rgba(55,127,191,0); }
  50% { transform: scale(1.06); box-shadow: 0 0 0 2px var(--line), 0 0 0 12px rgba(55,127,191,.15); }
}

@keyframes process-pulse-green {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 2px var(--line), 0 0 0 2px rgba(167,203,0,0); }
  50% { transform: scale(1.06); box-shadow: 0 0 0 2px var(--line), 0 0 0 12px rgba(167,203,0,.18); }
}

@keyframes ai-circle-pulse {
  0%, 100% { transform: scale(.96); opacity: .48; }
  50% { transform: scale(1.06); opacity: 1; }
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .brand-service,.brand-divider { display: none; }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--blue);
    border-top: 1px solid rgba(255,255,255,.2);
    box-shadow: 0 14px 28px rgba(0,0,0,.16);
    z-index: 1001;
    visibility: hidden;
    pointer-events: none;
    clip-path: inset(0 0 100% 0);
    transition: clip-path .28s cubic-bezier(.4,0,1,1), visibility 0s linear .28s;
  }

  nav.is-open {
    visibility: visible;
    pointer-events: auto;
    clip-path: inset(0 0 0 0);
    transition: clip-path .34s cubic-bezier(0,0,.2,1), visibility 0s linear 0s;
  }

  nav a {
    display: block;
    width: 100%;
    margin: 0;
    padding: 15px 18px;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    letter-spacing: 1px !important;
    text-align: left;
  }

  nav a:hover,
  nav a:focus {
    color: var(--green) !important;
  }

  nav a.header-cta {
    display: inline-flex !important;
    width: calc(100% - 36px) !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 10px 18px !important;
    padding: 13px 18px !important;
    border: 1.5px solid #fff !important;
    border-radius: 3px !important;
    background: var(--blue) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 1.5px !important;
    text-align: center !important;
  }

  nav a.header-cta:hover,
  nav a.header-cta:focus {
    background: var(--blue-dark) !important;
    color: #fff !important;
  }

  .hero { min-height: 620px; background-position: 58% center; }
  .founder-grid,.assessment-grid,.independent-grid,.proof-grid { grid-template-columns: 1fr; gap: 48px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }.service-card.featured { transform: none; }
  .process-grid { grid-template-columns: 1fr 1fr; }.process-line { display: none; }
  .ai-grid { grid-template-columns: 170px 1fr; gap: 40px; }.ai-mark { width:150px;height:150px; }
  .footer-inner { grid-template-columns: 1fr; text-align:center; justify-items:center; gap:10px; }
}

@media (max-width: 680px) {
  body { font-size: 17px; }.container,.narrow { width: min(100% - 34px, 1160px); }
  .section { padding: 72px 0; }.site-header { height: 72px; padding: 0 17px; }.brand img { width: 168px; }
  .hero {
    min-height: 640px;
    min-height: 100svh;
    min-height: 100dvh;
    align-items: center;
    padding-bottom: 0;
    background-position: 68% center;
  }
  .hero::before { background: linear-gradient(90deg,rgba(3,42,57,.96),rgba(3,47,63,.73)),linear-gradient(0deg,rgba(3,42,57,.75),transparent); }
  .hero-content { padding-bottom: 0; }.hero h1 { font-size: 66px; }.hero-copy { font-size: 18px; }.hero-caption { display:none; }
  h2 { font-size: 45px; }.founder-section { padding-top: 30px; }.founder-grid { gap: 42px; }.video-card,.video-card img { min-height: 330px; height: 330px; }
  .check-grid,.section-intro,.assessment-panels,.process-grid,.ai-grid { grid-template-columns: 1fr; }
  .section-intro { gap: 20px; }.assessment-grid { gap: 46px; }.assessment-panels { gap: 14px; box-shadow:none; }
  .process-grid { gap: 32px; }.process-grid article { display:grid;grid-template-columns:58px 1fr;column-gap:20px; }.process-grid span { grid-row:1/3;margin:0; }.process-grid p { grid-column:2; }
  .ai-mark { width:130px;height:130px;margin:0 auto; }.ai-mark span { font-size:58px; }.proof-grid { gap:36px; }.why-card { padding:35px 28px; }
  .final-actions { flex-direction:column; }.button { width:100%; }.footer-inner { text-align:center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  .button { transition:none; }
  .process-grid span,
  .ai-mark::before,
  .ai-mark::after,
  .ai-mark i { animation: none; }
  .nav-toggle span,
  nav { transition: none; }
}
