:root {
  color-scheme: light;
  --dr-font: "Open Sans", Arial, sans-serif;
  --dr-pink: #e50063;
  --dr-pink-hover: #c90057;
  --dr-pink-soft: #fff1f7;
  --dr-pink-border: #f1a6c7;
  --dr-text: #111827;
  --dr-muted: #6b7280;
  --dr-border: #e5e7eb;
  --dr-border-strong: #d1d5db;
  --dr-bg-soft: #f8fafc;
  --dr-shadow-card: 0 12px 30px rgba(15, 23, 42, .07);
  --dr-shadow-float: 0 28px 80px rgba(15, 23, 42, .15);
  --marketing-max: 1480px;
  --marketing-section-pad: clamp(84px, 10vw, 156px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #fff; }
body { margin: 0; background: #fff; color: var(--dr-text); font-family: var(--dr-font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:where(button,a,summary):focus-visible { outline: 3px solid rgba(229,0,99,.25); outline-offset: 3px; }

.marketing-site { min-height: 100vh; overflow: clip; font-size: 16px; }
.marketing-container { width: min(var(--marketing-max), calc(100% - 64px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.marketing-eyebrow { margin: 0 0 18px; color: var(--dr-pink); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.marketing-eyebrow--light { color: #ff8bbb; }
.marketing-site h1, .marketing-site h2, .marketing-site h3, .marketing-site p { text-wrap: pretty; }
.marketing-site h1, .marketing-site h2, .marketing-site h3 { color: inherit; }
.marketing-site h1 { margin: 0; font-size: clamp(48px, 6vw, 86px); line-height: .98; letter-spacing: -.055em; font-weight: 700; }
.marketing-site h2 { margin: 0; font-size: clamp(42px, 5vw, 70px); line-height: 1.02; letter-spacing: -.05em; font-weight: 700; }
.marketing-site h3 { margin: 0; font-size: clamp(26px, 2.5vw, 36px); line-height: 1.1; letter-spacing: -.035em; }
.marketing-site p { line-height: 1.65; }

.dr-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 9px 15px; border: 1px solid var(--dr-border-strong); border-radius: 10px; background: #fff; color: var(--dr-text); font-weight: 700; text-decoration: none; cursor: pointer; transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease; }
.dr-button:hover { transform: translateY(-1px); border-color: var(--dr-pink-border); color: var(--dr-pink); }
.dr-button--primary { border-color: var(--dr-pink); background: var(--dr-pink); color: #fff; }
.dr-button--primary:hover { border-color: var(--dr-pink-hover); background: var(--dr-pink-hover); color: #fff; }
.marketing-button { min-height: 50px; padding-inline: 22px; border-radius: 12px; font-size: 14px; }
.marketing-button--large { min-height: 54px; padding-inline: 26px; }
.marketing-button--secondary { box-shadow: 0 8px 22px rgba(15,23,42,.06); }

.marketing-header { position: fixed; z-index: 100; top: 0; left: 0; width: 100%; padding: 16px 0; border-bottom: 1px solid transparent; transition: padding 220ms ease, background 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease; }
.marketing-header.is-scrolled { padding: 9px 0; border-bottom-color: var(--dr-border); background: rgba(255,255,255,.92); backdrop-filter: blur(18px) saturate(130%); }
.marketing-header__inner { display: flex; align-items: center; width: min(var(--marketing-max), calc(100% - 48px)); min-height: 58px; margin-inline: auto; }
.brand-lockup { display: inline-flex; flex: 0 0 auto; gap: 13px; align-items: center; color: var(--dr-text); text-decoration: none; }
.brand-lockup__corporate-text { min-width: 124px; font-size: 18px; font-weight: 800; letter-spacing: -.025em; white-space: nowrap; }
.brand-lockup__divider { width: 1px; height: 32px; background: var(--dr-border-strong); }
.brand-lockup__engine-placeholder { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border: 1px dashed var(--dr-border-strong); border-radius: 10px; background: #fff; color: #9ca3af; font-size: 9px; font-weight: 800; }
.brand-lockup__product { display: grid; gap: 1px; }
.brand-lockup__product strong { font-size: 18px; line-height: 1.2; letter-spacing: -.02em; }
.brand-lockup__product small { color: var(--dr-muted); font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.marketing-nav { display: flex; gap: 22px; align-items: center; margin-left: auto; }
.marketing-nav > a:not(.dr-button) { color: #374151; font-size: 12px; font-weight: 700; text-decoration: none; transition: color 150ms ease; }
.marketing-nav > a:not(.dr-button):hover { color: var(--dr-pink); }
.marketing-nav__cta { margin-left: 4px; }
.menu-toggle { display: none; place-items: center; width: 44px; height: 44px; margin-left: auto; padding: 0; border: 1px solid var(--dr-border); border-radius: 12px; background: #fff; }
.menu-toggle > span:not(.sr-only) { grid-area: 1/1; width: 18px; height: 1.5px; background: var(--dr-text); transition: transform 180ms ease; }
.menu-toggle > span:nth-child(2) { transform: translateY(-4px); }
.menu-toggle > span:nth-child(3) { transform: translateY(4px); }
.menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: rotate(-45deg); }

.hero-section { position: relative; display: grid; align-items: center; min-height: 100svh; padding: 136px 0 80px; overflow: hidden; background: radial-gradient(circle at 78% 43%, rgba(229,0,99,.07), transparent 25%), linear-gradient(180deg,#fff 0%,#fff 70%,#fafbfc 100%); }
.hero-section__grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(480px, .97fr); gap: clamp(40px,6vw,100px); align-items: center; }
.hero-copy { position: relative; z-index: 2; max-width: 850px; }
.hero-copy__summary { max-width: 720px; margin: 30px 0 0; color: #4b5563; font-size: clamp(19px,1.7vw,25px); line-height: 1.55 !important; }
.hero-actions { display: flex; gap: 16px; align-items: center; margin-top: 36px; }

.story-section { position: relative; height: 290vh; background: #fafbfc; }
.story-section--simplify { background: #fff; }
.story-sticky { position: sticky; top: 0; display: grid; grid-template-columns: minmax(320px,.74fr) minmax(600px,1.26fr); gap: clamp(48px,6vw,96px); align-items: center; min-height: 100svh; padding: 118px 0 70px; }
.story-sticky--reverse { grid-template-columns: minmax(600px,1.25fr) minmax(320px,.75fr); }
.story-copy { max-width: 630px; }
.story-copy > p:not(.marketing-eyebrow) { margin: 30px 0 0; color: #4b5563; font-size: clamp(18px,1.5vw,22px); }
.story-copy--right { justify-self: end; }
.story-keywords { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.story-keywords span { padding: 8px 12px; border: 1px solid var(--dr-border); border-radius: 999px; background: #fff; color: var(--dr-muted); font-size: 11px; font-weight: 700; }
.story-callout { padding-left: 18px; border-left: 3px solid var(--dr-pink); color: var(--dr-text) !important; font-weight: 700; }

.section-heading { max-width: 760px; }
.section-heading--wide { max-width: 1030px; }
.section-heading > p:not(.marketing-eyebrow), .section-heading--wide > p:not(.marketing-eyebrow) { margin: 28px 0 0; color: #4b5563; font-size: 20px; }

.ecosystem-section { position: relative; padding: var(--marketing-section-pad) 0; overflow: hidden; background: radial-gradient(circle at 32% 48%,rgba(229,0,99,.14),transparent 28%), linear-gradient(145deg,#111827,#0b1020 68%,#15131b); color: #fff; }
.ecosystem-heading { max-width: 950px; }
.ecosystem-heading > p:not(.marketing-eyebrow) { max-width: 760px; margin: 28px 0 0; color: rgba(255,255,255,.68); font-size: 20px; }
.ecosystem-layout { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(320px,.65fr); gap: clamp(40px,5vw,84px); align-items: start; margin-top: 72px; }
.ecosystem-map { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.ecosystem-node { position: relative; display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 14px; align-items: center; min-height: 118px; padding: 18px; border: 1px solid rgba(255,255,255,.11); border-radius: 20px; background: rgba(255,255,255,.055); color: #fff; cursor: pointer; text-align: left; transition: transform 220ms ease,border-color 220ms ease,background 220ms ease,box-shadow 220ms ease; }
.ecosystem-node:hover, .ecosystem-node:focus-visible { transform: translateY(-3px); border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.085); }
.ecosystem-node.is-active { border-color: rgba(255,91,162,.8); background: rgba(229,0,99,.16); box-shadow: 0 18px 48px rgba(229,0,99,.14); }
.ecosystem-node .engine-slot { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; color: rgba(255,255,255,.72); font-size: 10px; font-weight: 800; }
.ecosystem-node.is-active .engine-slot { border-color: rgba(255,139,187,.55); background: rgba(229,0,99,.18); color: #fff; }
.ecosystem-node strong { display: block; font-size: 14px; }
.ecosystem-node small { display: block; margin-top: 5px; color: rgba(255,255,255,.56); font-size: 10px; line-height: 1.45; }
.ecosystem-detail { position: sticky; top: 120px; min-height: 320px; padding: 34px; border: 1px solid rgba(255,255,255,.1); border-radius: 26px; background: rgba(255,255,255,.065); box-shadow: 0 30px 80px rgba(0,0,0,.18); backdrop-filter: blur(16px); }
.ecosystem-detail__label,.ecosystem-detail__hint { display: block; color: rgba(255,255,255,.46); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ecosystem-detail h3 { margin-top: 24px; }
.ecosystem-detail p { margin: 18px 0 32px; color: rgba(255,255,255,.68); font-size: 16px; }

.process-section { padding: var(--marketing-section-pad) 0; background: #fff; }
.process-heading { max-width: 1000px; }
.process-heading > p:not(.marketing-eyebrow) { max-width: 800px; margin: 28px 0 0; color: #4b5563; font-size: 20px; }
.process-layout { display: grid; grid-template-columns: minmax(280px,340px) minmax(0,1fr); gap: 24px; align-items: stretch; margin-top: 64px; }
.process-detail { min-height: 540px; padding: 27px; border: 1px solid var(--dr-border); border-radius: 26px; background: #fbfcfd; box-shadow: var(--dr-shadow-card); }
.process-detail__topline { display: flex; justify-content: space-between; gap: 10px; color: var(--dr-muted); font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.process-detail__stage { display: grid; grid-template-columns: 52px minmax(0,1fr); gap: 13px; align-items: center; margin-top: 24px; padding: 15px; border: 1px solid var(--dr-pink-border); border-radius: 18px; background: var(--dr-pink-soft); }
.process-detail__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 13px; background: #fff; color: var(--dr-pink); font-size: 10px; font-weight: 800; }
.process-detail__stage small { color: var(--dr-pink); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.process-detail__stage h3 { margin-top: 3px; font-size: 21px; letter-spacing: -.03em; }
.process-detail > p { color: #4b5563; font-size: 15px; }
.process-detail__note { padding-top: 17px; border-top: 1px solid var(--dr-border); font-size: 12px !important; }
.process-replay { margin-top: 12px; padding: 9px 13px; border: 1px solid var(--dr-border); border-radius: 10px; background: #fff; color: var(--dr-text); font-weight: 700; cursor: pointer; }
.process-canvas { position: relative; min-height: 540px; overflow: hidden; border: 1px solid var(--dr-border); border-radius: 28px; background: radial-gradient(circle at 83% 57%,rgba(229,0,99,.06),transparent 20%),#fbfcfd; box-shadow: var(--dr-shadow-card); }
.process-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.process-path { fill: none; stroke: rgba(17,24,39,.18); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 6 10; }
.process-path--accent { stroke: rgba(229,0,99,.4); }
.process-path--out { stroke: rgba(229,0,99,.32); }
.process-path--support,.process-path--support-link { stroke: rgba(17,24,39,.11); stroke-width: 1.6; }
.process-path.is-flowing { stroke: var(--dr-pink); animation: flowDash 1300ms linear infinite; filter: drop-shadow(0 0 3px rgba(229,0,99,.2)); }
@keyframes flowDash { to { stroke-dashoffset: -64; } }
.process-node { position: absolute; display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 4px 9px; align-items: center; width: 150px; min-height: 82px; padding: 13px; border: 1px solid var(--dr-border); border-radius: 17px; background: #fff; box-shadow: 0 9px 24px rgba(15,23,42,.06); color: var(--dr-text); cursor: pointer; text-align: left; transition: border-color 200ms ease,transform 200ms ease,box-shadow 200ms ease,opacity 200ms ease; }
.process-node > span { grid-row: 1 / 3; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #f4f5f7; color: var(--dr-muted); font-size: 8px; font-weight: 800; }
.process-node strong { font-size: 11px; }
.process-node small { color: var(--dr-muted); font-size: 8px; }
.process-node.is-active { transform: translateY(-3px); border-color: var(--dr-pink-border); box-shadow: 0 14px 35px rgba(229,0,99,.12); }
.process-node.is-active > span { background: var(--dr-pink-soft); color: var(--dr-pink); }
.process-node--email { top: 27%; left: 2%; }
.process-node--capture { top: 27%; left: 21%; }
.process-node--match { top: 27%; left: 40%; }
.process-node--accounts { top: 27%; left: 59%; }
.process-node--integration { top: 45%; right: 3%; border-color: var(--dr-pink-border); }
.process-node--erp { right: 3%; bottom: 5%; }
.process-band { position: absolute; right: 25%; bottom: 12%; left: 4%; display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 54px; padding: 12px 18px; border: 1px solid var(--dr-border); border-radius: 15px; background: #fff; color: var(--dr-text); box-shadow: 0 8px 20px rgba(15,23,42,.05); cursor: pointer; text-align: left; }
.process-band span { font-weight: 800; }
.process-band small { color: var(--dr-muted); font-size: 9px; }

.contact-section { display: grid; align-items: center; min-height: 76svh; padding: 110px 0; background: linear-gradient(180deg,#fafbfc,#fff); }
.contact-section__inner { max-width: 980px; }
.contact-section__inner > p:not(.marketing-eyebrow) { max-width: 760px; margin: 28px 0 0; color: #4b5563; font-size: 20px; }
.contact-actions { display: flex; gap: 18px; align-items: center; margin-top: 36px; }
.contact-actions > span { color: var(--dr-muted); font-size: 12px; font-weight: 700; }

.marketing-footer { padding: 52px 0; border-top: 1px solid var(--dr-border); background: #fff; }
.marketing-footer__grid { display: flex; justify-content: space-between; gap: 40px; align-items: center; }
.footer-wordmark { font-size: 21px; letter-spacing: -.025em; }
.marketing-footer p { margin: 9px 0 0; color: var(--dr-muted); font-size: 12px; }
.marketing-footer__links { display: flex; flex-wrap: wrap; gap: 20px; }
.marketing-footer__links a { color: #4b5563; font-size: 11px; font-weight: 700; text-decoration: none; }
.marketing-footer__links a:hover { color: var(--dr-pink); }

@media (max-width: 1180px) {
  .marketing-nav { gap: 14px; }
  .marketing-nav > a:not(.dr-button) { font-size: 11px; }
  .process-layout { grid-template-columns: 1fr; }
  .process-detail { min-height: auto; }
}

@media (max-width: 980px) {
  .marketing-header__inner { width: min(var(--marketing-max),calc(100% - 28px)); }
  .brand-lockup__corporate-text { min-width: 0; font-size: 16px; }
  .brand-lockup__product strong { font-size: 15px; }
  .brand-lockup__product small { display: none; }
  .menu-toggle { display: grid; }
  .marketing-nav { position: absolute; top: calc(100% + 4px); right: 14px; left: 14px; display: none; flex-direction: column; gap: 0; align-items: stretch; padding: 12px; border: 1px solid var(--dr-border); border-radius: 20px; background: rgba(255,255,255,.98); box-shadow: var(--dr-shadow-float); }
  .marketing-nav.is-open { display: flex; }
  .marketing-nav > a:not(.dr-button) { padding: 13px 12px; font-size: 13px; }
  .marketing-nav__cta { margin: 8px 0 0; }
  .hero-section { min-height: auto; padding-top: 148px; }
  .hero-section__grid { grid-template-columns: 1fr; }
  .story-section { height: auto; padding: 100px 0; }
  .story-sticky,.story-sticky--reverse { position: relative; grid-template-columns: 1fr; min-height: auto; padding: 0; }
  .story-sticky--reverse .story-copy { order: -1; }
  .story-copy--right { justify-self: start; }
  .ecosystem-layout { grid-template-columns: 1fr; }
  .ecosystem-detail { position: relative; top: auto; min-height: auto; }
}

@media (max-width: 700px) {
  .marketing-container { width: min(var(--marketing-max),calc(100% - 32px)); }
  .marketing-header__inner { min-height: 52px; }
  .brand-lockup { gap: 8px; }
  .brand-lockup__corporate-text { font-size: 13px; }
  .brand-lockup__engine-placeholder { width: 32px; height: 32px; flex-basis: 32px; }
  .brand-lockup__divider { height: 24px; }
  .brand-lockup__product strong { max-width: 115px; font-size: 11px; }
  .marketing-site h1 { font-size: clamp(42px,12vw,58px); }
  .marketing-site h2 { font-size: clamp(38px,10.5vw,52px); }
  .hero-section { padding: 128px 0 64px; }
  .hero-copy__summary { font-size: 18px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .marketing-button { width: min(100%,290px); }
  .ecosystem-map { grid-template-columns: 1fr; }
  .process-canvas { display: grid; gap: 10px; min-height: auto; padding: 18px; }
  .process-lines { display: none; }
  .process-node,.process-band { position: relative; inset: auto !important; width: 100%; min-height: 64px; }
  .process-node { grid-template-columns: 36px 1fr auto; }
  .process-node > span { grid-row: auto; }
  .process-node small { text-align: right; }
  .process-node--integration { border-color: var(--dr-pink-border); }
  .process-band { order: -1; }
  .contact-section { min-height: 68svh; padding: 88px 0; }
  .contact-actions,.marketing-footer__grid { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
