/* Frame the original square artwork without altering the Fynn wordmark. */
.brand-home { display:flex; align-items:center; flex:none; padding:4px 8px; }
header .brand-art { width:72px; }
/* Scrolling turns the solid pill into a quieter glass navigation layer. */
header > div { isolation:isolate; }
header.compact > div {
  background:rgba(0,0,0,.66)!important;
  -webkit-backdrop-filter:blur(20px) saturate(120%);
  backdrop-filter:blur(20px) saturate(120%);
  box-shadow:0 4px 18px #12073314,inset 0 0 0 1px #FFFFFF20!important;
}
header .brand-art img { filter:url(#logo-transparent); }
@supports not ((backdrop-filter:blur(20px)) or (-webkit-backdrop-filter:blur(20px))) {
  header.compact > div { background:rgba(0,0,0,.88)!important; }
}
@media (prefers-reduced-transparency:reduce), (prefers-contrast:more) {
  header.compact > div { background:#000!important; -webkit-backdrop-filter:none; backdrop-filter:none; }
}
.brand-art { display:block; position:relative; overflow:hidden; width:100px; aspect-ratio:1083 / 562; flex:none; }
.brand-art img { position:absolute; width:184.67%; max-width:none; height:auto!important; left:-41.74%; top:-137.37%; display:block; }
.hero-kicker { color:#585170; font-size:14px; font-weight:400; letter-spacing:.01em; margin-bottom:20px; }
/* A clear white introduction; color enters only behind the product. */
#top { background:#fff; }
#top .hero-stage > div:first-child {
  background:linear-gradient(180deg,#FFFFFF 0%,#EEE9FF66 40%,#EEE9FF 78%,#EAFBD366 100%)!important;
  border:0;
}
.hero-stage > div:first-child::before,.hero-stage > div:first-child::after { opacity:.35; animation:none; }

.flow-diagram {
  display:grid; grid-template-columns:minmax(0,230px) minmax(24px,1fr) 300px minmax(24px,1fr) minmax(0,250px);
  align-items:center; background:#F9F9FB; border:1px solid #E7E6EB;
  border-radius:32px; padding:48px 32px;
}
.flow-diagram > * { min-width:0; }
.flow-center { display:flex; flex-direction:column; align-items:center; justify-content:center; position:relative; min-height:350px; gap:20px; }
/* The original logo and sphere share one black surface. */
.fynn-orb {
  position:relative; isolation:isolate; width:220px; height:220px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; flex:none;
  background:#000;
  border:1px solid #FFFFFF26;
  box-shadow:inset 0 2px 3px #FFFFFF26,0 14px 24px -12px #12073355;
}
.fynn-orb::before {
  content:""; position:absolute; inset:-3px; border-radius:50%; z-index:-1;
  background:conic-gradient(from 35deg,#784EFF88,transparent 30%,#C1FF7266 55%,transparent 78%,#784EFF88);
  filter:blur(9px); opacity:.65; pointer-events:none;
}
/* Keep the soft edge color behind an uninterrupted black face. */
.fynn-orb::after {
  content:""; position:absolute; inset:0; border-radius:50%; background:#000;
  box-shadow:inset 0 2px 3px #FFFFFF26; pointer-events:none;
}
.orb-core { display:flex; align-items:center; justify-content:center; background:#000; z-index:1; }
.orb-brand { width:76px; }
.orb-status { color:#585170; font-size:14px; line-height:20px; text-align:center; max-width:200px; min-height:40px; }
.footer-brand { width:116px; margin-bottom:8px; }
/* Reserve the sign-off badge's space so the animation never shifts the diagram. */
.flow-center > .bub { position:absolute; bottom:0; white-space:nowrap; }
@media (max-width:1100px) and (min-width:961px) {
  .flow-diagram { grid-template-columns:minmax(0,1fr) 24px 280px 24px minmax(0,1fr); padding:40px 24px; }
  .fynn-orb { width:220px; height:220px; }
}
@media (max-width:960px) {
  .flow-diagram { grid-template-columns:minmax(0,1fr); gap:32px; padding:32px 24px; }
  .flow-diagram > div:first-child,.flow-diagram > div:last-child { width:100%; max-width:480px; justify-self:center; }
  .flow-center { min-height:340px; }
  header .nav-links { display:none!important; }
  header .mobile-menu { display:inline-flex; align-items:center; justify-content:center; border:0; background:transparent; color:#fff; font:inherit; padding:12px; }
  .mobile-links.open { display:flex; position:absolute; top:100%; left:12px; right:12px; background:#120733; border-radius:20px; padding:12px; flex-direction:column; }
}
@media (max-width:720px) {
  header .brand-art { display:block; width:64px; }
  .brand-home { padding:4px; }
  .hero-kicker { font-size:13px; margin-bottom:16px; }
  .fynn-orb { width:200px; height:200px; }
  .orb-brand { width:72px; }
  .flow-center { min-height:320px; }
  .flow-diagram { padding:32px 20px; }
}
@media (max-width:360px) {
  header>div { gap:4px!important; padding-left:10px!important; }
  header .brand-art { width:60px; }
  header .mobile-menu { padding:10px 6px; font-size:14px; }
  .fynn-orb { width:190px; height:190px; }
  .orb-brand { width:68px; }
}
@media (prefers-reduced-motion:reduce) { .fynn-orb { transition:none; } .fynn-orb::before,.fynn-orb::after { animation:none; } }

/* Keep sticky navigation from changing document height during scrolling. */
header.compact > div { padding:8px 8px 8px 20px!important; }
header > div { transition:background-color .3s ease,box-shadow .3s ease,transform .3s ease!important; }
.motion-paused *, .motion-paused::before, .motion-paused::after,
.motion-paused *::before, .motion-paused *::after { animation-play-state:paused!important; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  #how button { transition:box-shadow .25s ease,background .25s ease!important; }
  #how button:hover { box-shadow:0 0 0 1px #784EFF33,0 8px 24px #784EFF12; }
  #pricing .btn:hover { box-shadow:0 6px 24px #784EFF30; }
}
@media (max-width:360px) { header.compact > div { padding-left:10px!important; } }
@media (prefers-reduced-motion:reduce) { header > div { transition:none!important; } }
.wa-demo { flex:1 1 340px; min-width:0; background:#F9F9FB; color:#120733; border:1px solid #FFFFFF33; border-radius:24px; overflow:hidden; font-size:15px; line-height:22px; }
.wa-heading { display:flex; align-items:center; gap:12px; padding:16px; background:#fff; border-bottom:1px solid #E7E6EB; }
.wa-heading small { display:block; font-size:12px; color:#585170; }
.wa-avatar { width:40px; height:40px; border-radius:50%; background:#EAFBD3; color:#3D7A00; display:grid; place-items:center; flex:none; }
.wa-replay { margin-left:auto; border:1px solid #E7E6EB; border-radius:999px; background:white; color:#5622FF; padding:10px 12px; min-height:44px; font:inherit; font-size:13px; }
.wa-conversation { display:flex; flex-direction:column; gap:14px; padding:20px 16px; background:linear-gradient(145deg,#EAFBD355,#EEE9FF44); }
.wa-message { text-align:left; box-shadow:0 1px 2px #1207330A; }
.wa-composer { display:flex; justify-content:space-between; margin:0 12px 12px; padding:12px 16px; background:white; border:1px solid #E7E6EB; border-radius:999px; color:#585170; font-size:14px; }
@media(max-width:720px) {
  #top > .wrap:first-of-type { gap:20px!important; }
  #top .hero-h { font-size:clamp(40px,10.8vw,52px)!important; line-height:1.04!important; }
  #top .hero-h + p { font-size:17px!important; line-height:26px!important; }
  #top .hero-h + p + div { gap:8px!important; width:100%; }
  #top .hero-h + p + div .btn { min-height:44px!important; padding:0 14px!important; font-size:14px!important; }
  #top .hero-stage { margin-top:32px!important; }
  section h2,section h3,section h2 + p,section h3 + p { text-align:center; margin-left:auto!important; margin-right:auto!important; }
  #app > .wrap { gap:44px!important; }
  #app > .wrap > div { gap:24px!important; }
  #app > .wrap > div > div:has(> h3) { flex-basis:100%!important; }
  #whatsapp > .wrap > div,#start > .wrap > div { padding:28px 16px!important; gap:28px!important; border-radius:24px!important; }
  #whatsapp h2,#start h2 { font-size:32px!important; line-height:38px!important; }
  #whatsapp h2 ~ div { text-align:center; font-size:14px!important; line-height:22px; }
  #team > .wrap > div:first-child > div:first-child { margin-inline:auto; }
  #who [role="tablist"] { justify-content:center; gap:6px!important; }
  #who [role="tab"] { font-size:13px; padding:0 12px; }
  #who .segin { padding:24px 16px!important; gap:24px!important; }
  #start h2 ~ div { justify-content:center; }
  #start h2 ~ div .btn { min-height:44px!important; font-size:14px!important; padding:0 16px!important; }
  #start h2 ~ span { text-align:center; }
  .wa-conversation { padding:16px 12px; }
  .wa-message { max-width:92%!important; font-size:14px; line-height:21px; }
}
/* The processing demo responds on phones too, without adding moving rings. */
.fynn-orb::before { transition:opacity .7s ease,transform .7s ease; }
.fynn-orb[data-phase="1"]::before { opacity:.95; transform:scale(1.04); }
.fynn-orb[data-phase="3"]::before { opacity:.8; }
@media(prefers-reduced-motion:reduce) { .fynn-orb::before { transition:none; transform:none!important; } }
/* Mobile data routes converge into Fynn, then branch toward the outputs. */
.mobile-wire { display:none; }
@media(max-width:960px) {
  .flow-diagram { row-gap:12px; }
  .mobile-wire { display:block; width:min(100%,240px); height:64px; justify-self:center; overflow:visible; pointer-events:none; }
  .wire-track { stroke:#784EFF26; stroke-width:1.25; }
  .mobile-wire-out .wire-track { stroke:#3D7A0026; }
  .wire-pulse { stroke:#784EFF; stroke-width:2; stroke-linecap:round; opacity:.35; transition:opacity .4s ease; }
  .mobile-wire-out .wire-pulse { stroke:#3D7A00; }
  .wire-pulse path { stroke-dasharray:9 91; animation:wire-travel 2.8s linear infinite; }
  .wire-pulse path:nth-child(2) { animation-delay:-.9s; }
  .wire-pulse path:nth-child(3) { animation-delay:-1.8s; }
  .flow-diagram[data-phase="0"] .mobile-wire-in .wire-pulse,
  .flow-diagram[data-phase="1"] .mobile-wire-in .wire-pulse,
  .flow-diagram[data-phase="2"] .mobile-wire-out .wire-pulse,
  .flow-diagram[data-phase="3"] .mobile-wire-out .wire-pulse { opacity:1; }
}
@keyframes wire-travel { from { stroke-dashoffset:10; } to { stroke-dashoffset:-90; } }
@media(prefers-reduced-motion:reduce) {
  .wire-pulse { display:none; transition:none; }
  .wire-pulse path { animation:none; }
}
/* Pricing promotion: one shared offer, without crowding each plan. */
.pricing-offer { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:24px; padding:32px; border:1px solid #E7E6EB; border-radius:24px; background:#fff; }
.pricing-offer-copy { flex:1 1 360px; }
.pricing-offer-label { display:inline-block; color:#3D7A00; background:#EAFBD3; padding:5px 12px; border-radius:999px; font-size:14px; margin-bottom:12px; }
.pricing-offer h3 { font-size:32px; line-height:38px; letter-spacing:-.03em; margin:0 0 12px; }
.pricing-offer p { margin:0; color:#585170; font-size:16px; line-height:25px; max-width:660px; }
.pricing-offer .btn { background:#784EFF; color:#fff; border-radius:999px; }
@media(max-width:720px) {
  .pricing-offer { padding:24px 20px; text-align:center; justify-content:center; }
  .pricing-offer-copy { flex-basis:100%; }
  .pricing-offer h3 { font-size:28px; line-height:34px; }
}
/* Centered trust groups with the original icons, without colored tiles. */
.trust-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:32px; padding-block:40px; }
.trust-item { display:flex; flex-direction:column; align-items:center; gap:16px; text-align:center; }
.trust-icon { display:flex; align-items:center; justify-content:center; width:24px; height:24px; color:#585170; }
.trust-item > div { max-width:240px; font-size:15px; line-height:23px; }
.trust-item strong { display:block; font-weight:600; text-wrap:balance; }
.trust-item br { display:none; }
.trust-item > div > span { display:block; margin-top:8px; font-size:14px; line-height:22px; }
@media(max-width:960px) { .trust-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:36px 24px; } }
@media(max-width:720px) {
  section.trust-strip { padding-block:0!important; }
  .trust-grid { padding-block:32px; }
  .trust-item { gap:12px; }
  .trust-item > div { font-size:14px; line-height:21px; }
}
@media(max-width:360px) { .trust-grid { grid-template-columns:1fr; gap:28px; } }
