/* FIRMARIS — landing. Tokens em tokens.css (gerado). Sem framework; CSP: 'self', sem estilo inline. */
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-wght.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --wrap: 1160px; --hdr: 68px;
  font: 16px/1.6 "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-feature-settings: "cv11" 1, "ss01" 1;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--ink); color: var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -.025em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.theme-anim, .theme-anim *, .theme-anim *::before, .theme-anim *::after { transition: background-color .35s, border-color .35s, color .35s, fill .35s, stroke .35s !important; }

/* ------------------------------------------------------------ gramática cromática (competências → cor) */
.hue-geo   { --hue: var(--c-geo);   --hue-t: var(--c-geo-t); }
.hue-gov   { --hue: var(--c-gov);   --hue-t: var(--c-gov-t); }
.hue-data  { --hue: var(--c-data);  --hue-t: var(--c-data-t); }
.hue-infra { --hue: var(--c-infra); --hue-t: var(--c-infra-t); }
.hg stop:nth-child(1) { stop-color: var(--line-3); stop-opacity: .55; }
.hg stop:nth-child(2) { stop-color: var(--hue); stop-opacity: .55; }
.hg stop:nth-child(3) { stop-color: var(--hue); stop-opacity: .95; }
.hg stop:nth-child(4) { stop-color: var(--decision); }
.ls-geo { stop-color: var(--c-geo); } .ls-gov { stop-color: var(--c-gov); } .ls-data { stop-color: var(--c-data); } .ls-infra { stop-color: var(--c-infra); } .ls-end { stop-color: var(--decision); }
.ring { fill: none; stroke: var(--hue); stroke-width: 2.2; stroke-linecap: round; }

/* ------------------------------------------------------------ marca */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; letter-spacing: .2em; font-size: 15px; }
.mark-tile { fill: var(--mark-tile); stroke: var(--mark-ring); stroke-width: 1.5; }
.mark-f { fill: var(--mark-ink); }

/* ------------------------------------------------------------ navegação */
.top { position: sticky; top: 0; z-index: 20; background: var(--hdr-bg); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--hdr-line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--hdr); gap: 24px; }
.menu { display: flex; align-items: center; gap: 28px; }
.links { display: flex; gap: 26px; font-size: 14px; }
.links a { text-decoration: none; color: var(--text-2); padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.links a:hover { color: var(--text); }
.links a[aria-current] { color: var(--text); border-color: var(--accent); }
.menu-btn { display: none; background: none; border: 1px solid var(--line-2); color: var(--text); border-radius: 8px; padding: 8px 14px; font: inherit; font-size: 14px; cursor: pointer; min-height: 40px; }

.prefs { display: flex; align-items: center; gap: 10px; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 9px; padding: 2px; gap: 2px; }
.seg button, .seg a, .seg .on { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 32px; height: 30px; padding: 0 8px; border-radius: 7px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-decoration: none; cursor: pointer; }
.seg button:hover, .seg a:hover { color: var(--text); background: var(--hover); }
.seg button[aria-pressed="true"], .seg .on { background: var(--hover); color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); }
.seg svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.seg svg .fill { fill: currentColor; }
.seg-t { display: none; letter-spacing: .02em; font-weight: 500; font-size: 13px; }

/* ------------------------------------------------------------ botões */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 10px; font-weight: 550; font-size: 15px; text-decoration: none; border: 1px solid transparent; transition: background .2s, border-color .2s, transform .2s; min-height: 46px; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--line-3); background: var(--hover); }
.btn-text { padding: 13px 4px; border-radius: 6px; color: var(--text-2); font-weight: 500; text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 6px; }
.btn-text:hover { color: var(--text); text-decoration-color: var(--accent); }
.btn span { transition: transform .2s; }
.btn:hover span { transform: translateX(3px); }

/* ------------------------------------------------------------ tipografia de seção */
.eyebrow, .kicker { font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-t); font-weight: 500; }
.eyebrow { margin-bottom: 26px; }
.kicker { margin-bottom: 18px; }
h1 { font-size: clamp(42px, 7vw, 84px); line-height: 1.03; letter-spacing: -.04em; max-width: 14ch; }
.sec { padding: clamp(80px, 11vw, 140px) 0; border-top: 1px solid var(--line); position: relative; }
.sec-alt { background: linear-gradient(180deg, var(--ink-2), var(--ink)); }
.sec h2 { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.1; max-width: 22ch; }
#firmaris h2 { max-width: 26ch; }
.sub { margin-top: 22px; font-size: 18px; color: var(--text-2); max-width: 640px; }
.lead { margin-top: 26px; font-size: clamp(17px, 1.8vw, 20px); line-height: 1.55; color: var(--text-2); max-width: 540px; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 38px; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 7vw, 96px); align-items: start; margin-top: 8px; }

/* ------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; isolation: isolate; min-height: min(86vh, 820px); display: flex; align-items: center; padding: 96px 0 72px;
  background: radial-gradient(900px 560px at 82% 45%, rgb(110 214 255 / calc(var(--glow-a) * 1)), transparent 66%); }
.hero-in { position: relative; z-index: 1; }
.hero-art { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.14) 0, rgba(0,0,0,.14) 14%, #000 74%); mask-image: linear-gradient(90deg, rgba(0,0,0,.14) 0, rgba(0,0,0,.14) 14%, #000 74%); }
.ha-lines path { stroke-width: 1.3; stroke-linecap: round; opacity: .75; stroke-dasharray: 1; stroke-dashoffset: 0; }
.ha-l1 { opacity: .35 !important; } .ha-l2 { opacity: .7 !important; } .ha-l3 { opacity: .28 !important; } .ha-l4 { opacity: .5 !important; }
.ha-d { fill: var(--hue, var(--grid-dot)); opacity: .7; } .ha-d-faint { fill: var(--grid-dot); opacity: .4; }
.ha-node { fill: var(--decision); } .ha-halo { fill: none; stroke: var(--decision); stroke-width: 1; opacity: .35; }

/* ------------------------------------------------------------ visão: fluxo informação → decisão */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; position: relative; }
.flow::before { content: ""; position: absolute; left: 6px; right: 6px; top: 6px; height: 1px; background: linear-gradient(90deg, var(--line-3), var(--accent) 80%, var(--decision)); transform-origin: left; }
.flow li { position: relative; padding-top: 30px; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); font-weight: 500; }
.fdot { position: absolute; left: 0; top: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--ink); border: 1px solid var(--line-3); }
.flow li:nth-child(2) .fdot, .flow li:nth-child(3) .fdot { border-color: var(--accent); }
.flow li.is-end { color: var(--text); } .flow li.is-end .fdot { background: var(--decision); border-color: var(--decision); box-shadow: 0 0 0 5px color-mix(in srgb, var(--decision) 18%, transparent); }

/* ------------------------------------------------------------ ecossistema */
.eco { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 80px); align-items: center; margin-top: 56px; }
.layers-art { width: 100%; height: auto; overflow: visible; }
.ly-p { fill: color-mix(in srgb, var(--hue) 6%, transparent); stroke: color-mix(in srgb, var(--hue) 62%, transparent); stroke-width: 1.3; transition: fill .3s, stroke .3s; }
.ly-g { stroke: var(--hue); stroke-width: .6; opacity: .28; }
.ly-t { fill: var(--hue-t); font-size: 15px; font-weight: 600; letter-spacing: .16em; transition: opacity .3s; opacity: .85; }
.ly.is-on .ly-p { fill: color-mix(in srgb, var(--hue) 20%, transparent); stroke: var(--hue); }
.ly.is-on .ly-t { opacity: 1; }
.ly-line { fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.ly-node { fill: var(--decision); } .ly-rings .ring { stroke-width: 2; }
.eco-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.eco-list li { display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-items: baseline; padding: 24px 12px; border-bottom: 1px solid var(--line); border-radius: 4px; transition: background .25s, box-shadow .25s; }
.eco-list li.is-on, .eco-list li:hover { background: var(--hover); box-shadow: inset 2px 0 0 var(--hue); }
.eco-k { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; letter-spacing: .18em; font-weight: 700; color: var(--hue-t); }
.eco-k::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--hue); }
.eco-list h3 { font-size: 19px; letter-spacing: -.01em; }
.eco-list p { margin-top: 4px; color: var(--text-2); font-size: 15.5px; }

/* ------------------------------------------------------------ integração */
.note-big { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.35; font-weight: 600; letter-spacing: -.015em; margin-top: 22px; color: var(--text); }
.flow-wrap { margin-top: 56px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: clamp(16px, 3vw, 36px); box-shadow: var(--shadow); }
.flow-art { width: 100%; height: auto; overflow: visible; }
.fl-line { stroke-width: 1.9; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.fl-mesh { fill: none; stroke: var(--line-3); stroke-width: 1; opacity: .75; }
.fl-c { fill: var(--surface); stroke: var(--hue); stroke-width: 2; }
.fl-n .fl-t { fill: var(--hue-t); }
.fl-t { fill: var(--text-2); font-size: 15px; font-weight: 600; letter-spacing: .16em; }
.fl-t-end { fill: var(--text); }
.fl-end { fill: var(--decision); } .fl-rings .ring { stroke-width: 2.2; }

/* ------------------------------------------------------------ produtos */
.products { margin-top: 56px; display: grid; gap: 24px; }
.product { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; border: 1px solid var(--line-2); border-radius: 20px; background: var(--surface); padding: clamp(24px, 4vw, 52px); box-shadow: var(--shadow); }
.product { position: relative; overflow: hidden; }
.product::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--pa, var(--p-usometria-a)), var(--pb, var(--p-usometria-b))); }
.p-fidaris { --pa: var(--p-fidaris-a); --pb: var(--p-fidaris-b); }
.p-pactaris { --pa: var(--p-pactaris-a); --pb: var(--p-pactaris-b); }
.p-taxaris { --pa: var(--p-taxaris-a); --pb: var(--p-taxaris-b); }
.comp { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 24px 0 0; font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }
.comp li { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; letter-spacing: .14em; color: var(--hue-t); }
.comp li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--hue); }
.product-tag { font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.product h3 { font-size: clamp(34px, 4.2vw, 52px); margin-top: 12px; letter-spacing: -.035em; }
.product-line { margin-top: 8px; font-size: 20px; color: var(--accent-t); font-weight: 600; }
.product-desc { margin-top: 18px; color: var(--text-2); font-size: 17px; max-width: 460px; }
.ticks { margin: 22px 0 30px; display: grid; gap: 10px; font-size: 15.5px; }
.ticks li { position: relative; padding-left: 26px; color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 1px; background: var(--accent); box-shadow: 0 0 0 1px var(--accent); border-radius: 1px; }
.shot { margin: 0; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: #0d1526; box-shadow: 0 30px 60px -30px rgba(0,0,0,.55); }
.frame { display: flex; align-items: center; gap: 7px; padding: 10px 14px; border-bottom: 1px solid #1c2839; background: #0f1a2d; }
.frame i { width: 10px; height: 10px; border-radius: 50%; background: #25324a; }
.frame span { margin-left: 12px; font-size: 12px; color: #94a3b8; }
.shot img { width: 100%; height: auto; }

/* ------------------------------------------------------------ Firmaris */
.prose { display: grid; gap: 18px; font-size: 19px; color: var(--text-2); max-width: 520px; margin-top: 22px; }
.principles { display: grid; gap: 0; border-top: 1px solid var(--line); }
.principles li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.principles h3 { font-size: 18px; letter-spacing: -.01em; }
.principles p { margin-top: 4px; color: var(--text-2); font-size: 15.5px; }
.structure { margin-top: 48px; font-size: 14px; color: var(--muted); max-width: 560px; padding-left: 16px; border-left: 2px solid var(--line-2); }

/* ------------------------------------------------------------ fechamento */
.cta { text-align: left; background: radial-gradient(800px 420px at 12% 100%, rgb(110 214 255 / calc(var(--glow-a) * .8)), transparent 70%); }
.cta h2 { max-width: 18ch; font-size: clamp(32px, 5vw, 60px); }
.mail { color: var(--text-2); text-underline-offset: 4px; }
.mail:hover { color: var(--text); }

/* ------------------------------------------------------------ rodapé */
.foot { border-top: 1px solid var(--line); padding: 64px 0 40px; background: var(--ink); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr 1.2fr; gap: 32px; }
.foot-brand p { margin-top: 14px; color: var(--muted); font-size: 14px; }
.foot h3 { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.foot li + li { margin-top: 8px; }
.foot li a { text-decoration: none; color: var(--text-2); font-size: 14.5px; }
.foot li a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.prefs-foot { flex-direction: column; align-items: flex-start; }
.legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 12px; }

/* ------------------------------------------------------------ páginas de texto / entrada / 404 */
.text-page { padding: 72px 0 96px; max-width: 760px; }
.text-page h1 { font-size: clamp(34px, 5vw, 52px); max-width: none; }
.text-page h2 { font-size: 22px; margin-top: 40px; max-width: none; letter-spacing: -.015em; }
.text-page p { margin-top: 12px; color: var(--text-2); font-size: 17px; }
.text-page .btn { margin-top: 40px; }
.entry .sec { min-height: 100vh; display: flex; align-items: center; border: 0; }
.entry h1 { margin-top: 36px; }

/* ------------------------------------------------------------ revelação (só com JS) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .eco-list li:nth-child(2).reveal, .js .principles li:nth-child(2).reveal { transition-delay: .08s; }
.js .eco-list li:nth-child(3).reveal, .js .principles li:nth-child(3).reveal { transition-delay: .16s; }
.js .eco-list li:nth-child(4).reveal { transition-delay: .24s; }
.js .hero .reveal:nth-child(2) { transition-delay: .08s; } .js .hero .reveal:nth-child(3) { transition-delay: .16s; } .js .hero .reveal:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: no-preference) {
  .js .ha-lines path { stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s cubic-bezier(.2,.7,.2,1); }
  .js .hero-art.in .ha-lines path { stroke-dashoffset: 0; }
  .js .hero-art.in .ha-lines path:nth-child(2n) { transition-delay: .15s; } .js .hero-art.in .ha-lines path:nth-child(3n) { transition-delay: .3s; }
  .js .ha-node, .js .ha-halo, .js .ha-dots, .js .ha-rings { opacity: 0; transition: opacity 1s 1.6s; }
  .js .hero-art.in .ha-node, .js .hero-art.in .ha-dots, .js .hero-art.in .ha-rings { opacity: 1; } .js .hero-art.in .ha-halo { opacity: .35; }
  .ha-halo { animation: breathe 4.5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
  .js .layers-art .ly-line, .js .flow-art .fl-line { stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s cubic-bezier(.2,.7,.2,1) .3s; }
  .js .layers-art.in .ly-line, .js .flow-art.in .fl-line { stroke-dashoffset: 0; }
  .js .layers-art .ly { opacity: 0; transform: translateY(18px); transition: opacity .8s, transform .8s; }
  .js .layers-art.in .ly { opacity: 1; transform: none; }
  .js .layers-art .ly:nth-of-type(3) { transition-delay: .1s; } .js .layers-art .ly:nth-of-type(2) { transition-delay: .2s; } .js .layers-art .ly:nth-of-type(1) { transition-delay: .3s; }
  .js .flow::before { transform: scaleX(0); transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
  .js .flow.in::before { transform: none; }
  @keyframes breathe { 50% { transform: scale(1.3); opacity: .1; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .reveal { transition: none; } .theme-anim, .theme-anim * { transition: none !important; } }

/* ------------------------------------------------------------ responsivo */
/* marcas dos produtos (ativos oficiais, sem redesenho) e estado dos aplicativos */
.pname { display: flex; align-items: center; gap: 14px; }
.pmark { width: 40px; height: 40px; flex: none; }
.pm-d { display: block; } .pm-l { display: none; }
:root[data-theme="light"] .pm-d { display: none; } :root[data-theme="light"] .pm-l { display: block; }
@media (prefers-color-scheme: light) { :root:not([data-theme]) .pm-d { display: none; } :root:not([data-theme]) .pm-l { display: block; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.product-stage { margin-top: 10px; font-size: 14px; color: var(--text-2); }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.product-card { grid-template-columns: 1fr; align-items: start; gap: 0; padding: clamp(24px, 3.2vw, 40px); }
.product-card .product-body { display: flex; flex-direction: column; align-items: flex-start; height: 100%; }
.product-card h3 { font-size: clamp(30px, 3.4vw, 40px); margin-top: 14px; }
.product-card .ticks { margin-bottom: 22px; }
.product-card .apps { margin-top: auto; }
.product-card .btn { margin-top: 24px; }
.apps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 26px; padding-top: 18px; border-top: 1px solid var(--line); width: 100%; }
.apps-l { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.apps-list { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.app { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 4px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; }
.app-os { font-weight: 650; color: var(--text); }
.app-soon { color: var(--text-2); }
.app span.app-soon::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; border: 1.5px solid var(--text-2); vertical-align: 1px; }
.app-btn { color: var(--accent-t); font-weight: 600; text-underline-offset: 4px; }
.app-btn:hover { color: var(--text); }
.apps-note { margin-top: 28px; max-width: 62ch; font-size: 14.5px; color: var(--muted); }
@media (min-width: 1000px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .product-grid { grid-template-columns: 1fr; } }

@media (max-width: 1060px) {
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; } .foot-brand { grid-column: 1 / -1; }
  .links { gap: 18px; } .menu { gap: 18px; }
}
@media (max-width: 900px) {
  .menu-btn { display: inline-block; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: var(--hdr); flex-direction: column; align-items: stretch; gap: 20px; padding: 20px max(20px, calc((100% - var(--wrap)) / 2)) 28px; background: var(--surface); border-bottom: 1px solid var(--line); }
  .menu.open { display: flex; }
  .links { flex-direction: column; gap: 0; }
  .links a { display: block; padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .prefs { flex-wrap: wrap; } .seg button, .seg a, .seg .on { height: 44px; min-width: 44px; } .seg-t { display: inline; }
  .split, .eco, .product { grid-template-columns: 1fr; }
  .eco-art { max-width: 460px; }
  .hero { min-height: 0; flex-direction: column; align-items: stretch; padding: 64px 0 0; }
  .hero-in { order: 1; } .hero-art { order: 2; position: relative; inset: auto; height: 300px; margin-top: 8px; -webkit-mask-image: none; mask-image: none; }
  .ha-lines path { stroke-width: 2.4; } .ha-halo { stroke-width: 2; }
}
@media (max-width: 640px) {
  .flow { grid-template-columns: 1fr; gap: 6px; margin-top: 44px; }
  .flow::before { left: 6px; right: auto; width: 1px; height: auto; top: 6px; bottom: 6px; background: linear-gradient(180deg, var(--line-3), var(--accent) 80%, var(--decision)); transform-origin: top; }
  .js .flow::before { transform: scaleY(0); } .js .flow.in::before { transform: none; }
  .flow li { padding: 0 0 18px 34px; } .fdot { top: 2px; }
  .eco-list li { grid-template-columns: 1fr; gap: 6px; }
  .foot-grid { grid-template-columns: 1fr; }
  .seg { flex-wrap: wrap; } .seg button { padding: 0 10px; }
  .foot-grid > * { min-width: 0; }
  .ctas .btn { width: 100%; justify-content: center; }
  .flow-wrap { overflow-x: auto; }
  .flow-art { min-width: 600px; } .fl-t { font-size: 19px; }
  .ly-t { font-size: 22px; }
}
