/* Response Database Integrations — site styles */
:root {
  --navy: #09203d;
  --navy-2: #1e3667;
  --blue: #154a92;
  --blue-2: #3f70b7;
  --orange: #d89338;
  --orange-dark: #c07e26;
  --teal: #35ab88;
  --green: #46b347;
  --text: #324a6d;
  --muted: #5b6b82;
  --bg: #ffffff;
  --bg-soft: #f9f9f9;
  --bg-grey: #f0efef;
  --line: #e3e6eb;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(9, 32, 61, 0.08);
  --max: 1160px;
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-2); }
a:hover { color: var(--navy-2); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.25; margin: 0 0 .6em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.section--grey { background: var(--bg-grey); }
.section-title { text-align: center; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 500; margin-bottom: 48px; }
.eyebrow {
  display: block; text-align: center; font-family: "Montserrat", var(--font);
  font-size: .95rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-2); margin-bottom: 12px;
}
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 92px; }
.brand { display: block; margin-left: -8px; }
.brand img { height: 62px; width: auto; display: block; }
.nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.nav a {
  display: block; padding: 8px 14px; border-radius: 8px;
  color: var(--navy); text-decoration: none; font-weight: 500; font-size: .95rem;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue-2); background: #eef3fa; }
.nav .nav-cta a { background: var(--orange); color: #fff; }
.nav .nav-cta a:hover { background: var(--orange-dark); color: #fff; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 10px; cursor: pointer; color: var(--navy);
}
.nav-toggle svg { display: block; }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 8px; border: 0;
  font: 600 1rem/1 var(--font); text-decoration: none; cursor: pointer;
  background: var(--orange); color: #fff; transition: background .2s, transform .2s;
}
.btn:hover { background: var(--orange-dark); color: #fff; transform: translateY(-1px); }
.btn--blue { background: var(--blue-2); }
.btn--blue:hover { background: var(--blue); }
.btn--ghost { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }

/* Hero */
.hero { background: var(--bg-soft); padding: 72px 0 80px; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 600; }
.hero p.lead { font-size: 1.15rem; color: var(--text); max-width: 32em; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* Feature grids */
.grid { display: grid; gap: 28px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 26px; text-align: center; transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card h3 { font-size: 1.1rem; font-weight: 600; }
.card p { font-size: .92rem; font-weight: 300; color: var(--navy-2); margin: 0; }
.icon {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; background: #e6f6f1; color: var(--teal);
}
.icon svg { width: 30px; height: 30px; }
.icon--blue { background: #e6eef9; color: var(--blue); }
.icon--orange { background: #fbf0e1; color: var(--orange); }

/* Steps */
.steps .card { text-align: left; position: relative; padding-top: 36px; }
.steps .icon { margin: 0 0 18px; }
.steps h3 { font-size: 1.25rem; }
.steps p { font-size: 1rem; }

/* Brand statement */
.statement {
  background: radial-gradient(ellipse at bottom left, #2b4b86 0%, var(--navy-2) 45%, var(--navy) 100%);
  color: #fff; padding: 96px 0 0; text-align: center;
}
.statement h2 { color: #fff; font-size: clamp(1.2rem, 2.2vw, 1.5rem); font-weight: 500; text-transform: uppercase; letter-spacing: .02em; max-width: 46em; margin: 0 auto 24px; }
.statement p { color: rgba(255,255,255,.88); font-size: 1.1rem; max-width: 52em; margin: 0 auto; }
.statement .divider { margin-top: 64px; width: 100%; }

/* Contact */
.contact .container { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact h2 { font-size: clamp(1.8rem, 3vw, 2.2rem); font-weight: 500; }
.contact .intro p { font-size: 1.1rem; color: var(--navy-2); margin-bottom: .4em; }
.contact .intro img { margin-top: 28px; max-width: 420px; }
.form { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #cfd5de; border-radius: 8px;
  font: 400 1rem/1.4 var(--font); color: #1f2124; background: #fff;
}
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--blue-2); box-shadow: 0 0 0 3px rgba(63,112,183,.18); }
.field textarea { min-height: 140px; resize: vertical; }
.form .btn { width: 100%; font-size: 1.05rem; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.notice { padding: 12px 16px; border-radius: 8px; margin-bottom: 18px; font-size: .95rem; }
.notice--ok { background: #e6f6f1; color: #1d6b53; }
.notice--err { background: #fdecec; color: #9b2c2c; }
.notice[hidden] { display: none; }

/* WorkflowMax page */
.wfm-hero { padding: 72px 0; }
.wfm-hero .container { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.wfm-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 500; margin-bottom: .2em; }
.wfm-hero h1 span { display: block; }
.wfm-hero .underline { width: 220px; margin: -4px 0 18px; }
.wfm-hero p { font-size: 1.15rem; color: #333; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 600; }
.split p { font-size: 1.1rem; font-weight: 300; }
.green-title { color: var(--green); }
.section--green { background: var(--green); color: #fff; }
.section--green h2 { color: #fff; }
.section--green p { color: #fff; font-weight: 400; }
.center { text-align: center; }
.cta-band { background: var(--bg-grey); padding: 64px 0; text-align: center; }
.cta-band h2 { font-size: 1.6rem; font-weight: 500; }

/* Privacy */
.prose { max-width: 820px; }
.prose h1 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
.prose h2 { font-size: 1.25rem; margin-top: 2em; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.page-head { background: var(--bg-soft); padding: 56px 0 40px; border-bottom: 1px solid var(--line); }
.page-head h1 { margin: 0; font-size: clamp(1.8rem, 3.5vw, 2.4rem); }

/* Footer */
.site-footer { background: var(--blue-2); color: #fff; padding: 28px 0; font-size: .92rem; }
.site-footer .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: #fff; text-decoration: none; margin-left: 20px; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer nav a:first-child { margin-left: 0; }

/* Responsive */
@media (max-width: 960px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: 1fr; }
  .hero .container, .contact .container, .wfm-hero .container, .split { grid-template-columns: 1fr; }
  .hero { text-align: center; }
  .hero p.lead { margin: 0 auto; }
  .hero .actions { justify-content: center; }
  .contact .intro img { margin: 28px auto 0; }
}
@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .nav-toggle { display: block; }
  .site-header .container { height: 76px; }
  .brand img { height: 50px; }
  .nav { position: absolute; top: 76px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 12px 24px 20px; }
  .nav a { padding: 12px 8px; }
  .nav .nav-cta a { text-align: center; margin-top: 6px; }
}
@media (max-width: 560px) {
  .grid--4 { grid-template-columns: 1fr; }
  .form { padding: 24px; }
  .site-footer .container { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn { transition: none; }
}

/* Keep grid columns from being stretched by wide images or long words */
.hero .container > *, .contact .container > *, .wfm-hero .container > *, .split > * { min-width: 0; }
.hero img, .wfm-hero .container > img, .split > img { width: 100%; }
.statement .divider { height: auto; }
