/* ============================================================
   Hermon — UI mockups + section styles
   ============================================================ */

/* ---------------- App window chrome ---------------- */
.app {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.app__bar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
  background: linear-gradient(var(--surface), var(--surface-2));
}
.app__dots { display: flex; gap: 6px; }
.app__dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--surface-3); }
.app__dots i:nth-child(1){ background:#E5928B } .app__dots i:nth-child(2){ background:#E7C277 } .app__dots i:nth-child(3){ background:#8FD0A0 }
.app__url {
  flex: 1; display: flex; align-items: center; gap: 8px; justify-content: center;
  font-size: .8rem; color: var(--muted); font-weight: 600;
}
.app__url .lock { width: 12px; height: 12px; color: var(--green); }
.app__bartag { font-size:.72rem; font-weight:700; color: var(--purple-600); background: var(--purple-50); border:1px solid var(--tint-line); padding:4px 9px; border-radius: var(--pill); }

/* app shell: sidebar + main */
.app__shell { display: grid; grid-template-columns: 64px 1fr; min-height: 420px; }
.app__side { border-right: 1px solid var(--line); padding: 16px 0; display: flex; flex-direction: column; align-items: center; gap: 8px; background: var(--surface-2); }
.app__side .si { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: var(--muted); }
.app__side .si svg { width: 19px; height: 19px; }
.app__side .si.on { background: var(--purple); color: #fff; box-shadow: var(--shadow-purple); }
.app__side .sp { flex: 1; }
.app__side .av { width: 32px; height: 32px; border-radius: 50%; }
.app__main { padding: 20px 22px; min-width: 0; }
.app__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; gap: 12px; }
.app__title { font-size: 1.05rem; font-weight: 700; letter-spacing: -.02em; }
.app__sub { font-size: .82rem; color: var(--muted); font-weight: 500; }
.app__controls { display: flex; gap: 8px; align-items: center; }
.app__seg { display: flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--pill); padding: 3px; gap: 2px; }
.app__seg span { font-size: .76rem; font-weight: 600; color: var(--muted); padding: 5px 11px; border-radius: var(--pill); }
.app__seg span.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-xs); }
.app__addbtn { font-size:.78rem; font-weight:700; color:#fff; background: var(--purple); padding:7px 12px; border-radius: var(--pill); display:inline-flex; align-items:center; gap:6px; box-shadow: var(--shadow-purple); }
.app__addbtn svg { width: 14px; height: 14px; }

/* ---------------- Pipeline board ---------------- */
.pipe { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.pcol { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 9px; min-width: 0; }
.pcol__h { display: flex; align-items: center; gap: 7px; margin-bottom: 9px; padding: 2px 2px; }
.pcol__h .st { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.pcol__h .nm { font-size: .76rem; font-weight: 700; letter-spacing: -.01em; }
.pcol__h .ct { margin-left: auto; font-size: .72rem; font-weight: 700; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: var(--pill); padding: 1px 7px; }
.st--lead{ background:#3B73D6 } .st--appt{ background:#8E72EE } .st--contract{ background:#C98A1E } .st--pay{ background:#1F9D6B } .st--closed{ background:var(--purple) }

.deal {
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: 9px; margin-bottom: 7px; box-shadow: var(--shadow-xs);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.deal:last-child { margin-bottom: 0; }
.deal__top { display: flex; align-items: center; gap: 6px; margin-bottom: 7px; }
.deal__av { width: 18px; height: 18px; border-radius: 50%; flex: none; }
.deal__nm { font-size: .72rem; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deal__amt { margin-left: auto; font-size: .72rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.deal__meta { display: flex; align-items: center; gap: 6px; }
.deal__tag { font-size: .62rem; font-weight: 700; padding: 2px 6px; border-radius: 5px; letter-spacing: .01em; }
.tag--hot{ background: var(--rose-soft); color: var(--rose); }
.tag--warm{ background: var(--amber-soft); color: var(--amber); }
.tag--won{ background: var(--green-soft); color: var(--green); }
.tag--new{ background: var(--tint-2); color: var(--purple-700); }
.deal__src { margin-left: auto; font-size: .62rem; color: var(--muted-2); font-weight: 600; }

/* deal currently "flowing" */
.deal.flow { border-color: var(--purple-300); box-shadow: 0 0 0 3px var(--purple-50), var(--shadow-md); transform: translateY(-2px) scale(1.015); }

/* ---------------- Mini dashboard ---------------- */
.dash { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 13px; }
.kpi__l { font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.kpi__v { font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; margin-top: 4px; }
.kpi__d { font-size: .72rem; font-weight: 700; display: inline-flex; align-items: center; gap: 3px; margin-top: 3px; }
.kpi__d.up { color: var(--green); } .kpi__d.down { color: var(--rose); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px; }
.panel__t { font-size: .8rem; font-weight: 700; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.panel__t .mut { font-size: .72rem; color: var(--muted); font-weight: 600; }

/* bar chart */
.chart { display: flex; align-items: flex-end; gap: 8px; height: 118px; padding-top: 8px; }
.bar { flex: 1; background: var(--tint-2); border-radius: 6px 6px 3px 3px; position: relative; min-height: 6px; transition: height 1s var(--ease-out); }
.bar.acc { background: linear-gradient(var(--purple-400), var(--purple)); box-shadow: var(--shadow-purple); }
.bar__x { position: absolute; bottom: -20px; left: 0; right: 0; text-align: center; font-size: .62rem; color: var(--muted-2); font-weight: 600; }

/* donut */
.donut { width: 104px; height: 104px; border-radius: 50%; margin: 4px auto 0; position: relative; }
.donut::after { content:''; position:absolute; inset: 22px; border-radius: 50%; background: var(--surface); }
.donut__c { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; text-align: center; }
.donut__c b { font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; }
.donut__c span { font-size: .62rem; color: var(--muted); font-weight: 600; display: block; }

/* ---------------- Leaderboard ---------------- */
.lb { display: flex; flex-direction: column; gap: 8px; }
.lbr { display: flex; align-items: center; gap: 11px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.lbr.top { background: linear-gradient(100deg, var(--purple-50), var(--surface) 60%); border-color: var(--tint-line); box-shadow: var(--shadow-sm); }
.lbr__rank { width: 24px; font-weight: 800; font-size: .9rem; color: var(--muted); text-align: center; }
.lbr.top .lbr__rank { color: var(--purple); }
.lbr__av { width: 36px; height: 36px; border-radius: 50%; flex: none; box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px var(--line); }
.lbr.top .lbr__av { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--purple-300); }
.lbr__nm { font-weight: 700; font-size: .9rem; letter-spacing: -.01em; }
.lbr__role { font-size: .73rem; color: var(--muted); font-weight: 600; }
.lbr__bar { flex: 1; height: 7px; background: var(--surface-3); border-radius: var(--pill); overflow: hidden; max-width: 130px; }
.lbr__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--purple-400), var(--purple)); border-radius: var(--pill); transition: width 1.1s var(--ease-out); }

/* keyframe-based grow (robust where CSS transitions stall) */
.anim-x { transform-origin: left center; animation: animGrowX .9s var(--ease-out) both; }
.anim-y { transform-origin: bottom; animation: animGrowY .8s var(--ease-out) both; }
@keyframes animGrowX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes animGrowY { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce){ .anim-x, .anim-y { animation: none; } }
.lbr__amt { font-weight: 800; font-size: .92rem; letter-spacing: -.02em; min-width: 72px; text-align: right; }
.lbr__badge { font-size: 1rem; }

/* ---------------- Floating cards (hero garnish) ---------------- */
.float {
  position: absolute; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 12px 14px; z-index: 5;
}
.float--sync { display: flex; align-items: center; gap: 10px; }
.float--sync .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; }
.float--sync .ic svg { width: 18px; height: 18px; }
.float__l { font-size: .68rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.float__v { font-size: .95rem; font-weight: 800; letter-spacing: -.02em; }
.floaty { animation: floaty 6s ease-in-out infinite; }
.floaty.alt { animation-delay: -3s; }
@keyframes floaty { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-12px) } }

/* ---------------- HERO ---------------- */
.hero { position: relative; padding-top: clamp(120px, 16vh, 168px); padding-bottom: clamp(60px, 8vw, 110px); overflow: hidden; }
.hero__glow-a { width: 620px; height: 620px; background: radial-gradient(circle, rgba(142,114,238,.42), transparent 65%); top: -240px; right: -160px; }
.hero__glow-b { width: 520px; height: 520px; background: radial-gradient(circle, rgba(214,69,126,.16), transparent 65%); bottom: -220px; left: -180px; }

/* announce pill */
.announce { display: inline-flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px; border-radius: var(--pill); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.announce b { color: var(--purple-700); }
.announce .tagnew { font-size: .7rem; font-weight: 800; letter-spacing: .04em; color: #fff; background: var(--purple); padding: 4px 9px; border-radius: var(--pill); text-transform: uppercase; }
.announce .arr { color: var(--purple); display: inline-flex; transition: transform .2s; }
.announce:hover .arr { transform: translateX(3px); }

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero__trust { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.avstack { display: flex; }
.avstack img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -10px; box-shadow: var(--shadow-xs); object-fit: cover; object-position: 50% 22%; background: var(--surface-2); }
.avstack img:first-child { margin-left: 0; }
.hero__trust .txt { font-size: .88rem; color: var(--muted); font-weight: 600; }
.hero__trust .txt b { color: var(--ink); }
.stars { color: var(--amber); letter-spacing: 1px; font-size: .8rem; }

/* Treatment A — product right */
.heroA { display: grid; grid-template-columns: 1.02fr 1.1fr; gap: clamp(28px, 4vw, 60px); align-items: center; position: relative; z-index: 2; }
.heroA__art { position: relative; }
@media (max-width: 940px) { .heroA { grid-template-columns: 1fr; } }

/* Treatment B — centered bold */
.heroB { text-align: center; position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.heroB .display { font-size: clamp(2.9rem, 8vw, 6rem); }
.heroB__art { margin-top: 52px; position: relative; width: 100%; max-width: 1040px; }

/* Treatment C — split canvas (purple panel) */
.heroC { display: grid; grid-template-columns: 1fr 1fr; gap: 0; position: relative; z-index: 2; border-radius: var(--r-2xl); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-xl); background: var(--surface); }
.heroC__l { padding: clamp(36px, 4vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.heroC__r { position: relative; background: linear-gradient(150deg, var(--purple-700), var(--purple) 55%, var(--purple-400)); padding: clamp(32px,3.5vw,52px); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.heroC__r .glowdot { position:absolute; width: 360px; height:360px; border-radius:50%; background: radial-gradient(circle, rgba(255,255,255,.28), transparent 60%); top:-120px; right:-100px; }
@media (max-width: 940px) { .heroC { grid-template-columns: 1fr; } }

/* ---------------- Social proof strip ---------------- */
.proof { background: transparent; }
.proof__head { text-align: center; font-size: clamp(1.05rem, 1.8vw, 1.35rem); font-weight: 700; letter-spacing: -.01em; color: var(--ink); max-width: 44ch; margin: 0 auto 40px; }

/* logo marquee */
.lmq { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.lmq__track { display: flex; width: max-content; }
.lmq__set { display: flex; align-items: center; gap: clamp(48px, 6vw, 96px); padding-right: clamp(48px, 6vw, 96px); flex: none; }
.lmq__item { font-size: 1.35rem; color: #9aa0ab; white-space: nowrap; filter: grayscale(1); user-select: none; }
@media (prefers-reduced-motion: no-preference) {
  .lmq__track { animation: lmq-scroll 36s linear infinite; }
}
@keyframes lmq-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.proof__lab { text-align: center; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(24px, 4vw, 56px); }
.logoMark { display: flex; align-items: center; gap: 10px; color: var(--ink-2); opacity: .72; transition: opacity .3s, transform .3s; }
.logoMark:hover { opacity: 1; transform: translateY(-2px); }
.logoMark .gm { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: .9rem; }
.logoMark .nm { font-weight: 800; font-size: 1.12rem; letter-spacing: -.03em; }

/* stat strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 8px; }
.stat { text-align: center; padding: 8px clamp(8px,2vw,24px); position: relative; }
.stat + .stat::before { content:''; position:absolute; left: 0; top: 16%; bottom: 16%; width: 1px; background: var(--line); }
.stat__v { font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.stat__v .u { color: var(--purple); }
.stat__l { font-size: .9rem; color: var(--muted); font-weight: 600; margin-top: 9px; }
@media (max-width: 760px){ .stats{ grid-template-columns: 1fr 1fr; row-gap: 30px } .stat:nth-child(3)::before, .stat:nth-child(1)::before { display:none } }

/* ---------------- Problem section ---------------- */
.problem { background: var(--surface-2); }
.prob-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px,5vw,72px); align-items: center; }
@media (max-width: 900px){ .prob-grid{ grid-template-columns: 1fr } }
.pain { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.pain:first-child { border-top: 0; }
.pain__ic { width: 40px; height: 40px; border-radius: 11px; background: var(--rose-soft); color: var(--rose); display: grid; place-items: center; flex: none; }
.pain__ic svg { width: 20px; height: 20px; }
.pain__t { font-weight: 700; font-size: 1.02rem; letter-spacing: -.01em; }
.pain__d { font-size: .94rem; color: var(--muted); margin-top: 2px; }

/* messy collage (the "before") */
.mess { position: relative; height: 100%; min-height: 380px; }
.mess__note { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: var(--shadow-md); padding: 13px 15px; font-size: .82rem; font-weight: 600; }
.mess__note .ttl { font-weight: 800; font-size: .76rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 7px; display: flex; align-items: center; gap: 6px; }
.mess__sheet { width: 100%; border-collapse: collapse; font-size: .72rem; }
.mess__sheet td { border: 1px solid var(--line); padding: 4px 7px; color: var(--ink-2); }
.mess__sheet td.err { background: var(--rose-soft); color: var(--rose); font-weight: 700; }
.tangle { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

/* ---------------- Solution / lifecycle flow ---------------- */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.fstep { position: relative; padding: 0 10px; text-align: center; }
.fstep__node {
  width: 70px; height: 70px; border-radius: 20px; margin: 0 auto 18px; position: relative; z-index: 2;
  display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md);
  color: var(--ink); transition: transform .4s var(--ease), box-shadow .4s, background .4s, color .4s, border-color .4s;
}
.fstep__node svg { width: 28px; height: 28px; }
.fstep.lit .fstep__node { background: var(--purple); color: #fff; border-color: var(--purple); box-shadow: var(--shadow-purple); transform: translateY(-4px) scale(1.06); }
.fstep__num { position: absolute; top: -8px; right: calc(50% - 50px); width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 800; display: grid; place-items: center; z-index: 3; }
.fstep.lit .fstep__num { background: var(--purple-700); }
.fstep__t { font-weight: 700; font-size: 1.02rem; letter-spacing: -.02em; }
.fstep__d { font-size: .86rem; color: var(--muted); margin-top: 5px; padding: 0 4px; }
.fstep__tool { margin-top: 11px; display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); padding: 4px 10px; border-radius: var(--pill); box-shadow: var(--shadow-xs); }
.fstep__tool .d { width: 7px; height: 7px; border-radius: 50%; }
/* connector line */
.flow__line { position: absolute; top: 35px; left: 10%; right: 10%; height: 2px; background: var(--line-strong); z-index: 0; }
.flow__line i { position: absolute; top: 0; left: 0; height: 100%; background: linear-gradient(90deg, var(--purple-400), var(--purple)); width: 0; transition: width 2.6s var(--ease-out); border-radius: var(--pill); }
.flow__pulse { position: absolute; top: 31px; left: 10%; width: 10px; height: 10px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 0 4px var(--purple-100); z-index: 4; }
@media (max-width: 900px){
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow__line, .flow__pulse { display: none; }
  .fstep { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 14px 0; }
  .fstep__node { margin: 0 0 13px; }
  .fstep__num { right: auto; left: calc(50% + 18px); top: -2px; }
  .fstep__t { font-size: 1.06rem; }
  .fstep__d { padding: 0; max-width: 32ch; margin-top: 4px; }
  .fstep__tool { margin-top: 11px; }
}

.flow__note { text-align: center; margin: 30px auto 0; max-width: 56ch; font-size: .92rem; line-height: 1.5; color: var(--muted); font-weight: 500; }

/* ============================================================
   INTEGRATION ORBIT — systems revolve around Hermon
   ============================================================ */
.funnel { position: relative; width: 100%; max-width: 640px; height: 520px; margin: 0 auto; }
.funnel__svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: visible; }
.funnel__wire { fill: none; stroke: var(--purple-300); stroke-width: 1.5; opacity: .4; }
.funnel__flow { fill: none; stroke: var(--purple); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 14 360; stroke-dashoffset: 0; filter: drop-shadow(0 0 4px color-mix(in oklab, var(--purple), transparent 35%)); animation: funnelFlow 2.6s linear infinite; }
@keyframes funnelFlow { from { stroke-dashoffset: 374; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce){ .funnel__flow { animation: none; opacity: .45; stroke-dasharray: none; } }

/* orbiting system nodes */
.funnel__orbit { position: absolute; inset: 0; z-index: 2; }
.fnode { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%,-50%);
  display: flex; align-items: center; gap: 9px; width: 150px; padding: 9px 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--pill);
  box-shadow: var(--shadow-md); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.fnode:hover { box-shadow: var(--shadow-lg); border-color: var(--tint-line); transform: translate(-50%,-50%) scale(1.05); }
.fnode__ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .74rem; flex: none; box-shadow: var(--shadow-sm); }
.fnode__txt { min-width: 0; text-align: left; }
.fnode__nm { font-weight: 700; font-size: .84rem; letter-spacing: -.01em; color: var(--ink); white-space: nowrap; }
.fnode__cat { font-size: .66rem; color: var(--muted); font-weight: 500; margin-top: 1px; white-space: nowrap; }
.fnode--api { border-color: var(--tint-line); background: linear-gradient(var(--surface), var(--purple-50)); }
.fnode--api .fnode__cat { color: var(--purple-700); font-weight: 700; }

/* center Hermon icon */
.funnel__hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 3; }
.fhub__icon { width: 80px; height: 80px; display: block; border-radius: 20px; }

/* mobile merge connector (radial doesn't fit small screens) */
.funnel__merge { display: none; }

@media (max-width: 1040px) {
  .funnel { height: auto; max-width: 460px; }
  .funnel__svg { display: none; }
  .funnel__orbit { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .fnode { position: static; transform: none; width: auto; flex-direction: column; text-align: center; gap: 7px; padding: 14px 10px; border-radius: var(--r); }
  .fnode:hover { transform: translateY(-3px); }
  .fnode__txt { text-align: center; }
  .funnel__merge { display: flex; flex-direction: column; align-items: center; position: relative; height: 78px; margin-top: 10px; }
  .funnel__mergeline { width: 2px; height: 100%; background: linear-gradient(var(--purple-300), var(--purple)); border-radius: 2px; opacity: .5; }
  .funnel__mergedot { position: absolute; top: 0; left: 50%; width: 9px; height: 9px; border-radius: 50%; background: var(--purple); transform: translate(-50%,0); box-shadow: 0 0 10px color-mix(in oklab, var(--purple), transparent 30%); animation: mergeFlow 1.7s ease-in infinite; }
  .funnel__hub { position: static; transform: none; margin: 8px auto 0; text-align: center; }
  .fhub__icon { margin: 0 auto; width: 72px; height: 72px; }
}
@keyframes mergeFlow { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@media (prefers-reduced-motion: reduce){ .funnel__mergedot { animation: none; top: 50%; } }

@media (max-width: 340px) {
  .funnel__orbit { grid-template-columns: 1fr; }
}

/* integrations — two-column: copy left, orbit right */
.intg2 { display: grid; grid-template-columns: 0.66fr 1fr; gap: clamp(32px,5vw,60px); align-items: center; }
.intg2__feats { display: flex; flex-direction: column; gap: 18px; margin-top: clamp(26px,3vw,34px); }
.intg2__r { position: relative; }
@media (max-width: 1040px){
  .intg2 { grid-template-columns: 1fr; }
  .intg2__l { text-align: center; max-width: 560px; margin: 0 auto; }
  .intg2__l .eyebrow { justify-content: center; }
  .intg2__l .h2, .intg2__l .lead { margin-left: auto; margin-right: auto; }
  .intg2__feats { text-align: left; max-width: 420px; margin-inline: auto; }
  .intg2__l .chip { margin-inline: auto; width: fit-content; }
}
.ifeat { display: flex; gap: 13px; align-items: flex-start; text-align: left; }
.ifeat__ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; background: var(--purple-50); color: var(--purple); border: 1px solid var(--tint-line); }
.ifeat__t { font-weight: 700; font-size: 1rem; letter-spacing: -.01em; color: var(--ink); }
.ifeat__d { font-size: .9rem; line-height: 1.5; color: var(--muted); font-weight: 500; margin-top: 4px; }

/* ---------------- Integrations ---------------- */
.intg { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,68px); align-items: center; }
@media (max-width: 900px){ .intg{ grid-template-columns: 1fr } }
.intg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; position: relative; }
.itile {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; position: relative;
}
.itile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--tint-line); }
.itile__ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: #fff; font-weight: 800; box-shadow: var(--shadow-sm); }
.itile__nm { font-weight: 700; font-size: .98rem; margin-top: 13px; letter-spacing: -.01em; }
.itile__cat { font-size: .78rem; color: var(--muted); font-weight: 600; }
.itile__sync { position: absolute; top: 16px; right: 16px; display: inline-flex; align-items: center; gap: 5px; font-size: .68rem; font-weight: 700; color: var(--green); }
.itile__sync .d { width: 7px; height: 7px; border-radius: 50%; background: var(--green); position: relative; }
.itile__sync .d::after { content:''; position:absolute; inset:0; border-radius:50%; background: var(--green); animation: ping 1.8s var(--ease) infinite; }

/* "request an integration" ghost tile */
.itile--more { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; border-style: dashed; border-color: var(--line-strong); background: transparent; box-shadow: none; }
.itile--more:hover { border-color: var(--purple-300); background: var(--surface); transform: translateY(-4px); }
.itile--more__ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: var(--purple); background: var(--purple-50); border: 1px dashed var(--purple-300); }
.itile--more .itile__nm { margin-top: 13px; }

/* Slack notifications preview tile */
.itile--slack { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.slk__head { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.slk__hash { font-weight: 800; color: var(--muted-2); }
.slk__mk { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; color: #fff; flex: none; }
.slk__ch { font-weight: 800; font-size: .92rem; letter-spacing: -.01em; }
.slk__live { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: .7rem; font-weight: 700; color: var(--green); white-space: nowrap; }
.slk__live .d { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.slk__msgs { display: flex; flex-direction: column; gap: 13px; padding: 14px; }
.slk__msg { display: flex; gap: 10px; }
.slk__bot { width: 30px; height: 30px; border-radius: 8px; background: #17141F; color: #fff; display: grid; place-items: center; font-family: Georgia, 'Times New Roman', serif; font-weight: 700; font-size: .95rem; flex: none; }
.slk__by { font-size: .8rem; font-weight: 800; display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.slk__app { font-size: .56rem; font-weight: 700; background: var(--surface-3); color: var(--muted); padding: 1px 5px; border-radius: 4px; letter-spacing: .05em; }
.slk__t { font-weight: 600; color: var(--muted-2); font-size: .68rem; white-space: nowrap; }
.slk__txt { font-size: .84rem; color: var(--ink-2); margin-top: 2px; }
.slk__txt b { font-weight: 800; }
@media (max-width: 900px){ .itile--slack { grid-column: auto !important; } }

/* ---------------- API & Webhooks panel ---------------- */
.apiw {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 4vw, 56px);
  align-items: center; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: clamp(28px, 3.4vw, 48px); box-shadow: var(--shadow-md);
}
@media (max-width: 880px){ .apiw { grid-template-columns: 1fr; } }
.apiw__events { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.apiw__evt { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 700; font-family: ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: -.01em; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--pill); padding: 6px 12px; }
.apiw__evtdot { width: 6px; height: 6px; border-radius: 50%; background: var(--purple); flex: none; }
.apiw__meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; }
.apiw__meta span { display: inline-flex; align-items: center; gap: 7px; font-size: .86rem; font-weight: 600; color: var(--muted); }
.apiw__meta svg { color: var(--purple); }

/* code window */
.codewin { background: #14121C; border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-xl); }
.codewin__bar { display: flex; align-items: center; gap: 12px; padding: 12px 15px; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.02); }
.codewin__dots { display: flex; gap: 6px; }
.codewin__dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.16); }
.codewin__dots i:nth-child(1){ background:#E5928B } .codewin__dots i:nth-child(2){ background:#E7C277 } .codewin__dots i:nth-child(3){ background:#8FD0A0 }
.codewin__title { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: .76rem; font-weight: 600; color: rgba(255,255,255,.66); display: inline-flex; align-items: center; gap: 7px; }
.codewin__title svg { color: var(--purple-300); }
.codewin__status { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 700; color: #34D399; }
.codewin__status .d { width: 7px; height: 7px; border-radius: 50%; background: #34D399; position: relative; }
.codewin__status .d::after { content:''; position:absolute; inset:0; border-radius:50%; background:#34D399; animation: ping 1.8s var(--ease) infinite; }
.codewin__body { margin: 0; padding: 18px 20px; font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: .84rem; line-height: 1.7; color: rgba(255,255,255,.9); overflow-x: auto; }
.codewin__body .cl { display: block; white-space: pre; }
.codewin__body .cm { color: rgba(255,255,255,.36); }
.codewin__body .cp { color: var(--purple-300); }
.codewin__body .ck { color: #8FB8F4; }
.codewin__body .cpun { color: rgba(255,255,255,.5); }
.codewin__body .cok { color: #34D399; font-weight: 700; }
.codewin__body .cmut { color: rgba(255,255,255,.4); }

/* ---------------- Features ---------------- */
.feat { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.fcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.fcard__body { padding: clamp(22px, 2.4vw, 30px); }
.fcard__eye { font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--purple-600); }
.fcard__t { font-size: clamp(1.3rem,1.8vw,1.6rem); font-weight: 700; letter-spacing: -.025em; margin: 10px 0 8px; }
.fcard__d { color: var(--muted); font-size: .98rem; max-width: 46ch; }
.fcard__viz { margin-top: auto; padding: 0 clamp(22px,2.4vw,30px) clamp(22px,2.4vw,30px); }
.fcard.span7 { grid-column: span 7; }
.fcard.span5 { grid-column: span 5; }
.fcard.span6 { grid-column: span 6; }
.fcard.span12 { grid-column: span 12; }
.fcard.span12 .rem { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 880px){ .fcard.span12 .rem { grid-template-columns: 1fr; } }
.fcard.purple { background: linear-gradient(160deg, var(--purple-700), var(--purple) 70%); border-color: transparent; color: #fff; }
.fcard.purple .fcard__eye { color: var(--purple-100); }
.fcard.purple .fcard__d { color: rgba(255,255,255,.82); }
@media (max-width: 880px){ .feat{ grid-template-columns: 1fr } .fcard.span7,.fcard.span5,.fcard.span6,.fcard.span12{ grid-column: auto } }

/* reminders list */
.rem { display: flex; flex-direction: column; gap: 8px; }
.remr { display: flex; align-items: center; gap: 11px; padding: 11px 13px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-sm); }
.remr__ic { width: 32px; height: 32px; border-radius: 9px; background: rgba(255,255,255,.16); display: grid; place-items: center; flex: none; }
.remr__ic svg { width: 16px; height: 16px; color: #fff; }
.remr__t { font-weight: 700; font-size: .86rem; }
.remr__s { font-size: .74rem; color: rgba(255,255,255,.7); font-weight: 500; }
.remr__time { margin-left: auto; font-size: .72rem; font-weight: 700; padding: 4px 9px; border-radius: var(--pill); background: rgba(255,255,255,.16); }
.remr.due .remr__time { background: #fff; color: var(--purple-700); }

/* commission widget */
.commrow { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.commrow:first-child { border-top: 0; }
.commrow__av { width: 34px; height: 34px; border-radius: 50%; }
.commrow__nm { font-weight: 700; font-size: .88rem; }
.commrow__s { font-size: .74rem; color: var(--muted); font-weight: 600; }
.commrow__amt { margin-left: auto; text-align: right; }
.commrow__amt b { font-weight: 800; letter-spacing: -.02em; }
.commrow__amt span { display: block; font-size: .7rem; color: var(--green); font-weight: 700; }
.commrow__pill { font-size: .68rem; font-weight: 800; color: var(--purple-700); background: var(--purple-50); border: 1px solid var(--tint-line); padding: 3px 9px; border-radius: var(--pill); }

/* ---------------- Testimonial ---------------- */
.testi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2xl); box-shadow: var(--shadow-lg); overflow: hidden; display: grid; grid-template-columns: 1.3fr 1fr; }
@media (max-width: 880px){ .testi{ grid-template-columns: 1fr } }
.testi__main { padding: clamp(36px,4vw,64px); display: flex; flex-direction: column; }
.testi__quote { font-size: clamp(1.5rem,2.6vw,2.15rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.22; }
.testi__quote .hl { background: linear-gradient(transparent 62%, var(--purple-100) 62%); }
.testi__by { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 32px; }
.testi__by img { width: 54px; height: 54px; border-radius: 50%; box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px var(--purple-300); }
.testi__by .nm { font-weight: 800; letter-spacing: -.01em; }
.testi__by .rl { font-size: .88rem; color: var(--muted); font-weight: 600; }
.testi__side { background: linear-gradient(160deg, var(--purple-700), var(--purple)); color: #fff; padding: clamp(32px,3.5vw,52px); display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.tres__v { font-size: clamp(2.2rem,3.4vw,3rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.tres__l { font-size: .92rem; color: rgba(255,255,255,.8); font-weight: 600; margin-top: 6px; }
.tres + .tres { border-top: 1px solid rgba(255,255,255,.16); padding-top: 28px; }

/* ---------------- Closing CTA ---------------- */
.fcta { background: var(--dark); color: #fff; border-radius: var(--r-2xl); padding: clamp(48px,6vw,88px) clamp(28px,5vw,72px); position: relative; overflow: hidden; text-align: center; }
.fcta__glow { width: 640px; height: 640px; background: radial-gradient(circle, rgba(109,74,230,.6), transparent 62%); top: -300px; left: 50%; transform: translateX(-50%); }
.fcta .display { color: #fff; position: relative; z-index: 2; }
.fcta__sub { color: rgba(255,255,255,.72); position: relative; z-index: 2; }
.fcta__btns { position: relative; z-index: 2; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.fcta__grid { position: absolute; inset: 0; z-index: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(80% 80% at 50% 30%, #000, transparent 75%); mask-image: radial-gradient(80% 80% at 50% 30%, #000, transparent 75%); }

/* ---------------- Footer ---------------- */
.foot { padding: 64px 0 40px; border-top: 1px solid var(--line); }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px){ .foot__grid{ grid-template-columns: 1fr 1fr } }
.foot__logo { height: 20px; margin-bottom: 16px; }
.foot__col h5 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 14px; font-weight: 700; }
.foot__col a { display: block; padding: 5px 0; color: var(--ink-2); font-weight: 600; font-size: .94rem; transition: color .2s; }
.foot__col a:hover { color: var(--purple-700); }
.foot__bot { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); font-weight: 600; flex-wrap: wrap; gap: 12px; }
.foot__social { display: flex; gap: 8px; }
.foot__social a { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-2); transition: all .2s; }
.foot__social a:hover { border-color: var(--purple-300); color: var(--purple); transform: translateY(-2px); }

.logo-invert { filter: invert(1) brightness(1.7); }

/* section header helper */
.shead { max-width: 680px; }
.shead.center { margin: 0 auto; text-align: center; }
.shead .h2 { margin-top: 16px; }
.shead .lead { margin-top: 16px; }
