:root {
  --landing-ink: #172033;
  --landing-muted: #5d687c;
  --landing-border: #dde4ec;
  --landing-blue: #3156b7;
  --landing-blue-dark: #23418f;
  --landing-soft: #edf2ff;
  scroll-behavior: smooth;
}

.landing-main { overflow: hidden; }
.landing-container { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }
.landing-section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.muted-section { background: #f6f8fb; border-block: 1px solid #e4e9ef; }
.landing-eyebrow { margin: 0 0 1rem; color: var(--landing-blue); font-size: 0.76rem; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
.landing-main h1, .landing-main h2, .landing-main h3 { color: var(--landing-ink); overflow-wrap: normal; }
.landing-main h1 { max-width: 14ch; margin: 0; font-size: clamp(3rem, 6.6vw, 6rem); line-height: 0.93; letter-spacing: -0.055em; }
.landing-main h2 { max-width: 20ch; margin: 0; font-size: clamp(2.15rem, 4.8vw, 4.1rem); line-height: 1; letter-spacing: -0.045em; }
.landing-main h3 { margin: 0; font-size: 1.08rem; line-height: 1.25; }
.landing-main p { color: var(--landing-muted); line-height: 1.72; }

.hero-section { padding-top: clamp(4rem, 8vw, 7rem); background: radial-gradient(circle at 82% 18%, rgb(65 93 210 / 16%), transparent 28rem), #f9fafc; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, 0.72fr); gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.hero-lead { max-width: 66ch; margin: 1.7rem 0 0; font-size: clamp(1.08rem, 1.7vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }
.landing-button-primary { color: #fff; background: var(--landing-blue); box-shadow: 0 0.8rem 1.7rem rgb(49 86 183 / 20%); }
.landing-button-primary:hover { background: var(--landing-blue-dark); }
.landing-button-secondary { color: #273654; background: #fff; border: 1px solid #cfd8e4; }
.landing-button-secondary:hover { border-color: #9caed0; background: #f7f9ff; }
.hero-note { max-width: 55ch; margin: 1rem 0 0; font-size: 0.9rem; }

.process-visual { display: grid; grid-template-columns: 1fr auto; gap: 0.65rem 0.8rem; padding: 1.25rem; background: rgb(255 255 255 / 86%); border: 1px solid #dbe2eb; border-radius: 1.5rem; box-shadow: 0 2rem 5rem rgb(31 45 75 / 12%); }
.process-visual-step { display: grid; grid-template-columns: auto 1fr; gap: 0.18rem 0.7rem; padding: 1rem; background: #f6f8fb; border: 1px solid #e3e8ef; border-radius: 1rem; }
.process-visual-step span { grid-row: 1 / 3; align-self: center; display: grid; width: 2.1rem; height: 2.1rem; place-items: center; color: var(--landing-blue); background: #e5ebff; border-radius: 999px; font-size: 0.72rem; font-weight: 900; }
.process-visual-step small { color: #6b768a; }
.process-visual-result { color: #fff; background: linear-gradient(135deg, #3156b7, #4b43b8); border-color: transparent; }
.process-visual-result strong, .process-visual-result small { color: #fff; }
.process-arrow { align-self: center; color: #8793a8; font-weight: 900; }

.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3rem; }
.problem-grid article, .proof-grid article { padding: 1.4rem; background: #fff; border: 1px solid var(--landing-border); border-radius: 1rem; }
.problem-grid article > span { display: block; margin-bottom: 1.3rem; color: #8792a6; font-size: 0.74rem; font-weight: 850; }
.problem-grid p, .proof-grid p { margin: 0.7rem 0 0; }
.section-statement { max-width: 850px; margin: 2.5rem 0 0; padding-left: 1.2rem; color: #26385d !important; border-left: 3px solid var(--landing-blue); font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 720; }
.section-intro { max-width: 68ch; font-size: 1.08rem; }

.split-heading { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr); gap: 3rem; align-items: end; }
.split-heading > p { margin: 0; font-size: 1.05rem; }
.workflow-list { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 3rem; border-block: 1px solid var(--landing-border); }
.workflow-list article { padding: 1.5rem 1.15rem 1.7rem; border-right: 1px solid var(--landing-border); }
.workflow-list article:last-child { border-right: 0; }
.workflow-list article > span { display: inline-grid; width: 2rem; height: 2rem; margin-bottom: 1.25rem; place-items: center; color: var(--landing-blue); background: var(--landing-soft); border-radius: 999px; font-size: 0.76rem; font-weight: 850; }
.workflow-list p { margin: 0.65rem 0 0; font-size: 0.92rem; }

.demo-section { color: #fff; background: #172033; }
.demo-section h2, .demo-section h3 { color: #fff; }
.demo-section p { color: #bdc8dc; }
.demo-section .landing-eyebrow { color: #9fb3ff; }
.demo-grid { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(420px, 1.25fr); gap: clamp(3rem, 7vw, 6rem); align-items: center; }
.demo-pitch p:not(.landing-eyebrow) { max-width: 54ch; margin: 1.25rem 0 1.7rem; font-size: 1.08rem; }
.preview-card { padding: 1.35rem; color: var(--landing-ink); background: #fff; border: 1px solid #34405a; border-radius: 1.4rem; box-shadow: 0 2rem 5rem rgb(0 0 0 / 22%); }
.preview-card-head { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid #e2e7ed; }
.preview-card-head span { color: var(--landing-blue); font-size: 0.72rem; font-weight: 850; letter-spacing: 0.07em; text-transform: uppercase; }
.preview-card-head strong { padding: 0.35rem 0.5rem; color: #36517a; background: #e9eef6; border-radius: 0.45rem; font-size: 0.7rem; }
.preview-card blockquote { margin: 1rem 0; padding: 1rem; color: #344158; background: #f6f8fb; border-radius: 0.8rem; line-height: 1.55; }
.preview-card dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border: 1px solid #e3e8ee; border-radius: 0.8rem; overflow: hidden; }
.preview-card dl div { padding: 0.8rem; border-bottom: 1px solid #e3e8ee; }
.preview-card dl div:nth-child(odd) { border-right: 1px solid #e3e8ee; }
.preview-card dt { color: #6b7588; font-size: 0.71rem; }
.preview-card dd { margin: 0.3rem 0 0; font-size: 0.88rem; font-weight: 720; line-height: 1.4; }
.preview-action { margin-top: 1rem; padding: 1rem; color: #263966; background: linear-gradient(135deg, #e8edff, #f0ecff); border: 1px solid #d8dfff; border-radius: 0.85rem; }
.preview-action span { display: block; margin-bottom: 0.4rem; color: #667187; font-size: 0.7rem; font-weight: 850; text-transform: uppercase; }
.preview-action strong { line-height: 1.5; }

.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.proof-grid article > span { display: inline-flex; margin-bottom: 1.4rem; padding: 0.35rem 0.55rem; color: var(--landing-blue); background: var(--landing-soft); border-radius: 0.45rem; font-size: 0.72rem; font-weight: 850; }
.truth-note { margin: 1.2rem 0 0; font-weight: 720; }
.proof-link { display: inline-flex; margin-top: 1rem; color: var(--landing-blue); font-weight: 800; text-decoration: none; }
.proof-link:hover { text-decoration: underline; }

.pilot-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 0; margin: 2.5rem 0 0; list-style: none; }
.pilot-steps li { display: flex; gap: 1rem; padding: 1.3rem; background: #fff; border: 1px solid var(--landing-border); border-radius: 1rem; }
.pilot-steps li > span { display: grid; width: 2.15rem; height: 2.15rem; flex: 0 0 auto; place-items: center; color: #fff; background: var(--landing-blue); border-radius: 999px; font-size: 0.78rem; font-weight: 850; }
.pilot-steps p { margin: 0.4rem 0 0; }

.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
.fit-list { display: grid; gap: 0.75rem; padding: 0; margin: 0; list-style: none; }
.fit-list li { position: relative; padding: 1rem 1rem 1rem 3rem; color: #364158; background: #fff; border: 1px solid var(--landing-border); border-radius: 0.85rem; font-weight: 650; }
.fit-list li::before { content: "✓"; position: absolute; left: 1rem; top: 0.95rem; color: var(--landing-blue); font-weight: 900; }

.contact-section { color: #fff; background: linear-gradient(145deg, #253b73, #172033 60%); }
.contact-section h2 { color: #fff; }
.contact-section p { color: #c1cce0; }
.contact-section .landing-eyebrow { color: #aebfff; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr); gap: clamp(3rem, 8vw, 7rem); align-items: start; }
.contact-grid > div > p:last-child { max-width: 54ch; font-size: 1.06rem; }
.direct-contacts { display: flex; flex-wrap: wrap; gap: 0.75rem 1.2rem; margin-top: 1.4rem; }
.direct-contacts a { color: #fff; font-weight: 800; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 1.35rem; color: var(--landing-ink); background: #fff; border-radius: 1.3rem; box-shadow: 0 2rem 5rem rgb(0 0 0 / 20%); }
.field-group { display: grid; gap: 0.42rem; }
.field-group:nth-child(3), .field-group:nth-child(4), .consent-row, .contact-form .button, .contact-message { grid-column: 1 / -1; }
.field-group label { color: #344158; font-size: 0.84rem; font-weight: 760; }
.field-group input, .field-group textarea { width: 100%; padding: 0.78rem 0.85rem; color: var(--landing-ink); background: #fff; border: 1px solid #cbd4df; border-radius: 0.7rem; outline: none; font: inherit; }
.field-group textarea { resize: vertical; }
.field-group input:focus, .field-group textarea:focus { border-color: #526ee0; box-shadow: 0 0 0 0.23rem rgb(82 110 224 / 13%); }
.consent-row { display: flex; gap: 0.65rem; align-items: flex-start; color: #4c5870; font-size: 0.83rem; line-height: 1.45; }
.consent-row input { width: 1.05rem; height: 1.05rem; margin-top: 0.13rem; flex: 0 0 auto; accent-color: var(--landing-blue); }
.consent-row a { color: var(--landing-blue); }
.honeypot-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-message { margin: 0; padding: 0.8rem; border-radius: 0.65rem; font-weight: 720; }
.contact-message.success { color: #155b37; background: #e6f7ed; }
.contact-message.error { color: #8f2830; background: #ffe9eb; }

.landing-footer { padding: 2.4rem 0; color: #d8dfec; background: #111827; border-top: 1px solid #2b3548; }
.footer-grid { display: flex; justify-content: space-between; gap: 2rem; align-items: flex-start; }
.landing-footer strong { color: #fff; font-size: 1.1rem; }
.landing-footer p { margin: 0.45rem 0 0; color: #9da9bc; }
.footer-links { display: flex; flex-direction: column; gap: 0.65rem; color: #9da9bc; text-align: right; }
.footer-links a { color: #fff; }

@media (max-width: 980px) {
  .hero-grid, .demo-grid, .contact-grid { grid-template-columns: 1fr; }
  .process-visual { max-width: 720px; }
  .problem-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .workflow-list { grid-template-columns: 1fr 1fr; border: 0; gap: 1rem; }
  .workflow-list article { border: 1px solid var(--landing-border); border-radius: 1rem; }
}

@media (max-width: 700px) {
  .landing-section { padding: 4rem 0; }
  .landing-main h1 { font-size: clamp(2.6rem, 13vw, 4rem); }
  .landing-main h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .hero-actions, .footer-grid { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .process-visual { grid-template-columns: 1fr; }
  .process-arrow { transform: rotate(90deg); justify-self: center; }
  .problem-grid, .proof-grid, .pilot-steps, .audience-grid, .split-heading, .preview-card dl, .contact-form { grid-template-columns: 1fr; }
  .workflow-list { grid-template-columns: 1fr; }
  .preview-card dl div:nth-child(odd) { border-right: 0; }
  .preview-card-head { align-items: flex-start; flex-direction: column; }
  .contact-form { padding: 1rem; }
  .field-group:nth-child(3), .field-group:nth-child(4), .consent-row, .contact-form .button, .contact-message { grid-column: auto; }
  .footer-links { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
}
