:root {
  --navy: #07152f;
  --navy-2: #102348;
  --text: #4d5d77;
  --muted: #72809a;
  --blue: #086cf5;
  --blue-deep: #055bdc;
  --blue-soft: #eef5ff;
  --green: #1ca86b;
  --coral: #ff7557;
  --peach: #ffd3c6;
  --line: #dbe4ed;
  --offwhite: #fbfcfe;
  --white: #ffffff;
  --page: 1290px;
  --shadow: 0 18px 50px rgba(12, 34, 70, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", Inter, Arial, sans-serif;
  color: var(--navy);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(5,105,246,.35); outline-offset: 3px; border-radius: 6px; }

.page-width { width: min(calc(100% - 80px), var(--page)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 9999; padding: 10px 14px; background: #fff; color: var(--navy); box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid transparent;
  transition: background .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.90);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(9,22,47,.08);
  box-shadow: 0 7px 24px rgba(9,22,47,.05);
}
.nav-shell {
  height: 66px;
  width: min(calc(100% - 80px), var(--page));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  transition: height .2s ease;
}
.site-header.is-scrolled .nav-shell { height: 58px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--navy); width: max-content; }
.brand-mark {
  width: 35px; height: 35px; border-radius: 8px; display: grid; place-items: center;
  color: #fff; background: linear-gradient(145deg, #10b1fa 0%, #0569f6 66%);
  font-size: 20px; font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.42), 0 4px 10px rgba(5,105,246,.16);
}
.brand-name { font-size: 18px; letter-spacing: -.55px; }
.desktop-nav { display: flex; justify-content: center; gap: 44px; font-size: 12px; font-weight: 600; }
.desktop-nav a { transition: color .18s ease; }
.desktop-nav a:hover { color: var(--blue); }
.header-cta { justify-self: end; min-width: 160px; min-height: 44px; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; background: none; padding: 9px; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--navy); border-radius: 2px; }
.mobile-nav { background: #fff; border-top: 1px solid var(--line); padding: 14px 24px 24px; }
.mobile-nav a:not(.button) { display: block; padding: 13px 0; font-weight: 650; }
.mobile-nav .button { margin-top: 10px; width: 100%; }

/* Buttons */
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 23px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 8px 18px rgba(5,105,246,.14); }
.button-primary:hover { background: var(--blue-deep); }
.button-outline { border: 2px solid var(--blue); color: var(--blue); background: #fff; }
.button-coral { color: #fff; background: var(--coral); }
.button-dark { color: #fff; background: #0d294e; }
.button-email { color: var(--navy); border: 2px solid rgba(8,21,47,.66); background: transparent; }

.eyebrow { margin: 0 0 17px; text-transform: uppercase; letter-spacing: 2px; color: var(--blue); font-size: 10px; line-height: 1; font-weight: 800; }
.eyebrow-light { color: rgba(255,255,255,.95); }

/* Hero */
.hero { background: linear-gradient(90deg, #fff 0 33%, #f6fbff 33% 100%); overflow: hidden; }
.hero-shell {
  width: min(100%, 1440px);
  min-height: 668px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 40% 60%;
  position: relative;
}
.hero-copy { padding: 84px 28px 58px 76px; position: relative; z-index: 2; }
.hero h1 {
  margin: 0;
  max-width: 500px;
  font-size: clamp(57px, 4.65vw, 74px);
  line-height: .97;
  letter-spacing: -4px;
  font-weight: 800;
}
.hero-lede { max-width: 420px; margin: 23px 0 24px; color: var(--text); font-size: 16px; line-height: 1.42; }
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; }
.hero-visual { position: relative; min-width: 0; overflow: hidden; }
.hero-image-wrap { position: absolute; inset: 0 71px 0 0; overflow: hidden; }
.hero-image-wrap img {
  width: 100%; height: 100%; object-fit: cover; object-position: 45% 49%;
  image-rendering: auto;
}
.hero-image-wrap:after { content:""; position:absolute; inset:0; background:linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,0) 18%); pointer-events:none; }
.hero-note {
  position: absolute; top: 54px; right: 10px; width: 116px; min-height: 243px;
  padding: 31px 15px 20px; background: var(--coral); font-size: 18px; line-height: 1.16; letter-spacing: -.55px;
  font-weight: 700; transform: rotate(-5deg); box-shadow: 0 10px 30px rgba(42,42,42,.16); z-index: 3;
}
.hero-note span { display: block; width: 35px; height: 3px; background: rgba(8,21,47,.75); margin-top: 24px; }
.hero-tags { position: absolute; right: 8px; bottom: 35px; z-index: 4; display: grid; gap: 3px; transform: rotate(1deg); }
.hero-tags span {
  background: linear-gradient(90deg,#12335b,#315f8d); color:#fff; border: 1px solid rgba(0,0,0,.3);
  padding: 7px 14px 7px 18px; font-size: 12px; min-width: 143px; box-shadow: 0 4px 8px rgba(8,21,47,.18);
}

/* Capability strip */
.capability-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.98); }
.capability-grid { min-height: 139px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.capability { display: flex; align-items: center; gap: 25px; padding: 26px 31px; border-right: 1px solid var(--line); }
.capability:first-child { padding-left: 0; }
.capability:last-child { border-right: 0; padding-right: 0; }
.capability svg { width: 56px; height: 56px; stroke: var(--blue); stroke-width: 3.2; fill: none; flex: 0 0 auto; }
.capability h2 { margin: 0 0 5px; font-size: 16px; line-height: 1.05; letter-spacing: -.35px; }
.capability p { margin: 0; color: var(--text); font-size: 13px; line-height: 1.35; }

/* Products */
.products-section { padding: 50px 0 55px; background: linear-gradient(180deg,#fff 0,#fbfdff 100%); }
.section-intro h2 { margin: 0 0 10px; font-size: clamp(40px, 3.8vw, 54px); line-height: 1; letter-spacing: -2.45px; }
.section-intro > p:last-child { margin: 0; color: var(--text); font-size: 16px; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 31px; align-items: stretch; }
.product-card {
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff;
  min-height: 692px; display: flex; flex-direction: column; box-shadow: 0 2px 8px rgba(30,50,80,.02);
}
.product-image { margin: 16px 16px 0; height: 302px; overflow: hidden; border-radius: 5px; background: #edf5ff; }
.product-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.product-body { padding: 17px 17px 17px; display: flex; flex-direction: column; flex: 1; }
.product-body .eyebrow { margin-bottom: 10px; font-size: 9px; }
.product-body h3 { margin: 0 0 9px; font-size: 31px; line-height: .94; letter-spacing: -1.55px; }
.product-description { margin: 0 0 13px; color: var(--text); font-size: 14px; line-height: 1.38; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--text); font-size: 13px; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li:before {
  content: "✓"; position: absolute; left: 0; top: -.5px; width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-size: 10px; font-weight: 900;
}
.blue-checks li:before { background: var(--blue); }
.green-checks li:before { background: var(--green); }
.card-cta { margin-top: auto; width: max-content; min-width: 235px; min-height: 46px; }

/* SearchLedger feature */
.searchledger-feature { position: relative; overflow: hidden; background: linear-gradient(106deg,#086fe9 0%,#0869dd 52%,#0963cc 100%); color: #fff; }
.blue-geometry { position: absolute; inset: 0; background: linear-gradient(135deg,transparent 0 59%,rgba(1,52,156,.25) 59% 76%,transparent 76%), linear-gradient(45deg,transparent 0 70%,rgba(255,255,255,.04) 70% 88%,transparent 88%); opacity:.85; }
.searchledger-top {
  position: relative; min-height: 392px; display: grid; grid-template-columns: 43% 57%; gap: 42px;
  align-items: center; padding: 41px 0 17px;
}
.searchledger-copy h2 { margin: 0 0 18px; font-size: clamp(42px,3.75vw,55px); line-height: .97; letter-spacing: -2.45px; }
.searchledger-copy > p:not(.eyebrow) { max-width: 405px; margin: 0 0 21px; font-size: 15px; line-height: 1.42; color: rgba(255,255,255,.94); }
.dashboard-frame {
  align-self: end; border-radius: 10px 10px 0 0; overflow: hidden;
  border: 4px solid rgba(8,28,50,.95); border-bottom: none; box-shadow: 0 24px 34px rgba(0,27,84,.25);
}
.dashboard-frame img { width: 100%; aspect-ratio: 720/390; object-fit: cover; object-position: top; }
.feature-row { position: relative; min-height: 145px; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid rgba(255,255,255,.27); }
.feature-row article { display: flex; gap: 15px; align-items: center; padding: 23px 21px; border-right: 1px solid rgba(255,255,255,.27); }
.feature-row article:first-child { padding-left: 0; }
.feature-row article:last-child { border-right: 0; padding-right: 0; }
.feature-icon { width: 49px; height: 49px; border-radius: 6px; background: #fff; display: grid; place-items: center; flex: 0 0 auto; }
.feature-icon svg { width: 31px; height: 31px; fill: none; stroke: var(--blue); stroke-width: 2.7; }
.feature-row h3 { margin: 0 0 4px; font-size: 14px; }
.feature-row p { margin: 0; font-size: 12px; line-height: 1.25; color: rgba(255,255,255,.92); }

/* How it works */
.how-section { padding: 47px 0 44px; background: #fff; }
.section-intro.compact h2 { font-size: 40px; }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 31px; }
.steps-grid article { display: grid; grid-template-columns: 55px 1fr; gap: 20px; min-height: 90px; padding: 0 27px; border-right: 1px solid var(--line); align-items: start; }
.steps-grid article:first-child { padding-left: 0; }
.steps-grid article:last-child { border-right: 0; padding-right: 0; }
.step-num { width: 55px; height: 55px; display: grid; place-items: center; border-radius: 50%; background: var(--peach); font-size: 20px; font-weight: 800; }
.steps-grid h3 { margin: 4px 0 6px; font-size: 16px; letter-spacing: -.3px; }
.steps-grid p { margin: 0; color: var(--text); font-size: 13px; line-height: 1.4; }

/* Editorial lower split — intentionally full bleed like the mockup */
.editorial-split { border-top: 1px solid rgba(0,0,0,.03); border-bottom: 1px solid var(--line); }
.editorial-grid {
  width: min(100%, 1440px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 29% 21% 30% 20%;
  min-height: 397px;
  align-items: stretch;
}
.editorial-visual { overflow: hidden; margin: 0; min-width: 0; background: #eef5fb; }
.editorial-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.editorial-copy { padding: 36px 27px 30px; min-width: 0; }
.editorial-copy .eyebrow { font-size: 8.7px; margin-bottom: 14px; }
.editorial-copy h2 { margin: 0 0 14px; font-size: 30px; line-height: .95; letter-spacing: -1.45px; }
.editorial-copy > p:not(.eyebrow) { margin: 0 0 15px; color: var(--text); font-size: 12px; line-height: 1.4; }
.editorial-copy .check-list { gap: 9px; font-size: 11.5px; margin-bottom: 17px; }
.editorial-copy .check-list li { padding-left: 25px; }
.editorial-copy .check-list li:before { width: 17px; height: 17px; font-size: 9px; }
.text-link { color: var(--blue); font-weight: 750; font-size: 11.5px; }

/* About */
.about-section { padding: 40px 0 39px; }
.about-grid { display: grid; grid-template-columns: 1.03fr 1.34fr; gap: 45px; align-items: stretch; }
.about-copy { padding-right: 31px; border-right: 1px solid var(--line); }
.about-copy h2 { margin: 0 0 13px; font-size: 34px; line-height: .98; letter-spacing: -1.6px; }
.about-copy > p:not(.eyebrow) { margin: 0; color: var(--text); font-size: 12px; line-height: 1.48; max-width: 560px; }
.principles-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.principles-grid article { padding: 13px 25px; border-right: 1px solid var(--line); }
.principles-grid article:last-child { border-right: 0; }
.principles-grid svg { width: 41px; height: 41px; fill: none; stroke: var(--blue); stroke-width: 2.5; margin-bottom: 15px; }
.principles-grid .green-icon { stroke: var(--green); }
.principles-grid h3 { margin: 0 0 7px; font-size: 13px; line-height: 1.17; }
.principles-grid p { margin: 0; color: var(--text); font-size: 11px; line-height: 1.35; }

/* CTA */
.cta-section { position: relative; overflow: hidden; background: linear-gradient(100deg,#ff795c,#ff8769 52%,#ff795a); }
.cta-geometry { position: absolute; inset:0; background: linear-gradient(125deg,transparent 0 67%,rgba(255,255,255,.11) 67% 78%,transparent 78%); }
.cta-grid { position: relative; min-height: 215px; display: grid; grid-template-columns: 1.03fr 1.13fr .42fr; gap: 36px; align-items: center; }
.cta-grid h2 { margin: 0 0 9px; font-size: 35px; line-height: .95; letter-spacing: -1.8px; }
.cta-grid p { margin: 0; font-size: 13px; }
.cta-actions { display: flex; gap: 11px; align-items: center; }
.cta-actions .button { min-width: 214px; min-height: 46px; }
.hand-note { justify-self: end; padding-right: 12px; font-family: "Segoe Print", "Bradley Hand", cursive; font-size: 25px; line-height: 1.05; transform: rotate(-7deg); }

/* Footer */
.site-footer { background: #fff; padding: 34px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr .75fr .75fr 1fr auto; gap: 49px; padding-bottom: 34px; }
.footer-brand .brand-mark { width: 30px; height: 30px; font-size: 17px; border-radius: 7px; }
.footer-brand .brand-name { font-size: 16px; }
.footer-brand p { color: var(--text); font-size: 11px; line-height: 1.48; }
.footer-grid h2 { margin: 4px 0 13px; font-size: 11px; }
.footer-grid > div:not(.footer-brand):not(.socials) { display: flex; flex-direction: column; gap: 8px; color: var(--text); font-size: 11px; }
.socials { display: flex; gap: 11px; align-items: end; }
.socials a { width: 24px; height: 24px; border-radius: 4px; background: #e8eef6; display: grid; place-items: center; font-size: 10px; font-weight: 800; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 15px; display: flex; justify-content: space-between; color: #6c7a90; font-size: 9px; }
.footer-bottom p { margin: 0; }

@media (max-width: 1320px) {
  .page-width, .nav-shell { width: min(calc(100% - 64px), var(--page)); }
  .hero-copy { padding-left: 58px; }
  .desktop-nav { gap: 30px; }
  .product-body h3 { font-size: 29px; }
  .editorial-copy h2 { font-size: 27px; }
}

@media (max-width: 1180px) {
  .page-width, .nav-shell { width: min(calc(100% - 48px), var(--page)); }
  .desktop-nav { gap: 24px; }
  .hero-shell { grid-template-columns: 44% 56%; }
  .hero-copy { padding-left: 48px; }
  .hero h1 { font-size: 56px; }
  .product-card { min-height: 660px; }
  .product-image { height: 250px; }
  .product-body h3 { font-size: 27px; }
  .editorial-grid { grid-template-columns: 1fr 1fr; width: min(calc(100% - 48px), var(--page)); gap: 0; }
  .editorial-visual { min-height: 340px; }
  .editorial-copy { min-height: 340px; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-copy { border-right: 0; padding-right: 0; }
  .cta-grid { grid-template-columns: 1fr 1.2fr; }
  .hand-note { display: none; }
}

@media (max-width: 900px) {
  .desktop-nav, .header-cta { display: none; }
  .nav-shell { grid-template-columns: 1fr auto; }
  .menu-toggle { display: block; justify-self: end; }
  .hero { background: #fff; }
  .hero-shell { grid-template-columns: 1fr; }
  .hero-copy { padding: 58px 24px 38px; }
  .hero h1 { font-size: clamp(50px,12vw,72px); letter-spacing: -3px; }
  .hero-lede { max-width: 590px; }
  .hero-visual { min-height: 590px; }
  .hero-image-wrap { inset: 0 48px 0 0; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability { border-right: 0; border-bottom: 1px solid var(--line); padding: 23px 0; }
  .capability:last-child { border-bottom: 0; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 0; }
  .product-image { height: auto; aspect-ratio: 1.45/1; }
  .product-body h3 { font-size: 34px; }
  .card-cta { margin-top: 24px; }
  .searchledger-top { grid-template-columns: 1fr; padding-top: 52px; }
  .dashboard-frame { width: 100%; }
  .feature-row { grid-template-columns: 1fr 1fr; }
  .feature-row article:first-child { padding-left: 22px; }
  .feature-row article:nth-child(2) { border-right: 0; }
  .feature-row article { border-bottom: 1px solid rgba(255,255,255,.27); }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid article { border-right: 0; border-bottom: 1px solid var(--line); padding: 19px 0; }
  .steps-grid article:last-child { border-bottom: 0; }
  .editorial-grid { grid-template-columns: 1fr 1fr; width: 100%; }
  .principles-grid { grid-template-columns: 1fr; }
  .principles-grid article { border-right: 0; border-bottom: 1px solid var(--line); padding: 21px 0; }
  .principles-grid article:last-child { border-bottom: 0; }
  .cta-grid { grid-template-columns: 1fr; padding: 37px 0; gap: 25px; }
  .cta-actions { flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .socials { align-items: start; }
}

@media (max-width: 680px) {
  .page-width, .nav-shell { width: min(calc(100% - 40px), var(--page)); }
  .brand-name { font-size: 16px; }
  .brand-mark { width: 32px; height: 32px; font-size: 18px; }
  .hero-copy { padding-inline: 20px; }
  .hero h1 { font-size: clamp(47px,15vw,63px); }
  .hero-visual { min-height: 420px; }
  .hero-image-wrap { right: 0; }
  .hero-note { top: 30px; right: -12px; width: 96px; min-height: 206px; font-size: 15px; }
  .hero-tags { right: -7px; bottom: 18px; }
  .hero-tags span { min-width: 120px; font-size: 10px; padding: 6px 10px; }
  .hero-actions .button { width: 100%; }
  .section-intro h2, .searchledger-copy h2 { font-size: 39px; letter-spacing: -1.9px; }
  .section-intro > p:last-child { font-size: 15px; line-height: 1.4; }
  .product-body h3 { font-size: 31px; }
  .feature-row { grid-template-columns: 1fr; }
  .feature-row article { border-right: 0; padding: 19px 0; }
  .feature-row article:first-child { padding-left: 0; }
  .editorial-grid { grid-template-columns: 1fr; width: 100%; }
  .editorial-copy { padding: 33px 20px 40px; min-height: auto; }
  .editorial-visual { min-height: 340px; }
  .about-grid { width: min(calc(100% - 40px), var(--page)); }
  .about-copy h2 { font-size: 33px; }
  .cta-grid { width: min(calc(100% - 40px), var(--page)); }
  .cta-grid h2 { font-size: 33px; }
  .cta-actions { align-items: stretch; }
  .cta-actions .button { width: 100%; min-width: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}
