@charset "UTF-8";

/* Tokens preserved from the previous version: same palette, same type system. */
:root {
  --bg: #040a16;
  --surface: #081425;
  --surface-high: #0d1d32;
  --white: #f1f5fa;
  --muted: #9baac0;
  --blue: #97c1ff;
  --electric: #3878ed;
  --copper: #d4ad8e;
  --line: #203149;
  --display: 'Manrope', sans-serif;
  --body: 'DM Sans', sans-serif;
  --serif: 'Instrument Serif', serif;
  --gutter: clamp(24px, 5.6vw, 90px);
  --max: 1340px;
  --header-h: 56px;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 40px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--white); font-family: var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
body, button, input { font-size: 15px; }
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }
button { cursor: pointer; color: inherit; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; }
em { font-family: var(--serif); font-weight: 400; font-style: italic; color: var(--copper); }
strong { font-weight: 600; }
img, video, canvas { display: block; max-width: 100%; }
::selection { background: var(--blue); color: var(--bg); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
.section-shell { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 12px; line-height: 1.7; letter-spacing: 1.7px; font-weight: 600; text-transform: uppercase; color: var(--blue); }
.status-dot { display: inline-block; width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 14px #97c1ff99; }
/* Owner request (2026-09-25): the "A solução · ..." eyebrow of the traffic and social sections reads a little larger. */
#trafego .eyebrow, #social .eyebrow { font-size: 14px; letter-spacing: 2px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; min-height: 55px; gap: 30px; padding: 16px 24px; color: var(--bg); background: var(--white); border: 1px solid transparent; border-radius: 40px; font-size: 14px; font-weight: 700; letter-spacing: .2px; transition: background .25s, box-shadow .25s, transform .25s; }
.button > span { font-size: 21px; font-weight: 400; line-height: 1; }
.button:hover { background: var(--blue); box-shadow: 0 0 40px #97c1ff33; transform: translateY(-2px); }
.button-small { min-height: 43px; font-size: 11px; padding: 10px 18px; gap: 20px; }
.button-ghost { color: var(--white); background: #ffffff0f; border-color: #ffffff33; backdrop-filter: blur(8px); }
.button-ghost:hover { background: #ffffff1f; color: var(--white); box-shadow: none; }
.text-link { display: inline-flex; align-items: center; gap: 18px; min-height: 45px; padding-block: 10px; font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--line); transition: border-color .25s; }
.text-link > span { font-size: 19px; line-height: 1; transition: transform .25s; }
.text-link:hover { border-color: var(--blue); }
.text-link:hover > span { transform: translateY(3px); }
.fine-print { color: var(--muted); font-size: 11px; line-height: 1.75; }
.skip-link { position: fixed; z-index: 100; top: -90px; left: 20px; padding: 15px; background: var(--white); color: var(--bg); }
.skip-link:focus { top: 15px; }

/* Header floats over the hero. */
.site-header { position: absolute; inset: 0 0 auto; z-index: 20; height: var(--header-h); padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: block; position: relative; overflow: hidden; width: 122px; height: 42px; flex-shrink: 0; }
.brand img { position: absolute; left: -4.7px; top: -15.5px; width: 133px; height: auto; filter: brightness(0) invert(1); }
.site-header nav { display: flex; align-items: center; gap: 32px; margin-inline: auto 0; font-size: 14px; font-weight: 500; letter-spacing: .3px; color: #d2dbe9; }
.site-header nav a { padding-block: 8px; white-space: nowrap; transition: color .2s; }
.site-header nav a:hover { color: var(--blue); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; }
.menu-toggle:focus-visible { outline-offset: -3px; }
.menu-toggle span { width: 24px; height: 1px; margin: 6px 0; display: block; background: var(--white); }

/* Hero: the brand android on the left, copy on the right. Text never crosses the face. */
/* --face-w = where the android's face ends: the video covers the stage from the left, so its rendered width is max(viewport, stage height * 16/9) and the face fills the first 30.5% (measured on the loop frame: 585/1920). */
.hero { position: relative; isolation: isolate; --hero-h: clamp(520px, 100svh, 1180px); --stage-h: calc(var(--hero-h) - var(--header-h)); --video-w: max(100vw, calc(var(--stage-h) * 16 / 9)); --face-w: calc(var(--video-w) * .305); min-height: var(--hero-h); max-height: 1180px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; background: var(--bg); }
.hero-stage { position: absolute; inset: var(--header-h) 0 0 0; z-index: -3; overflow: hidden; background: #071a3e; }
.hero-stage video, .hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left 32%; }
.hero-poster { z-index: 0; }
.hero-stage video { z-index: 1; opacity: 0; transition: opacity 1.2s ease; }
.hero-stage video.is-playing { opacity: 1; }
.hero-shade { position: absolute; inset: 0; z-index: -2; background:
  linear-gradient(90deg, #040a1600 28%, #040a1680 50%, #040a16e0 68%, var(--bg) 100%),
  linear-gradient(0deg, var(--bg) 0%, #040a1600 26%),
  linear-gradient(180deg, var(--bg) var(--header-h), #040a1600 calc(var(--header-h) + 32px)); }
.hero-light { position: absolute; z-index: -1; width: 70%; height: 90%; right: -20%; top: -10%; background: radial-gradient(closest-side, #3878ed33, #3878ed00 70%); filter: blur(40px); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; max-width: none; margin-inline: 0; padding: calc(var(--header-h) + clamp(28px, 4svh, 56px)) var(--gutter) clamp(28px, 5svh, 64px) max(var(--gutter), calc(var(--face-w) + 40px)); min-height: inherit; }
/* Owner request (2026-09-16): flow cards sit at the hero footer; the headline stays centered in the space above. */
.hero-copy { max-width: 1040px; align-self: stretch; display: flex; flex-direction: column; container-type: inline-size; }
.hero-copy > h1 { margin-top: auto; }
.hero h1 { font-size: clamp(36px, min(4.3vw, 8svh), 74px); line-height: 1.04; letter-spacing: -.03em; font-weight: 600; text-wrap: balance; }
.hero h1 > span { display: block; }
.hero h1 > span:last-child { margin-top: .46em; font-size: clamp(19px, min(1.45vw, 3.2svh), 22px); line-height: 1.2; letter-spacing: -.01em; font-weight: 500; text-wrap: pretty; color: var(--blue); }
@media (min-width: 1151px) { .hero h1 > span:last-child { white-space: nowrap; } }
/* Owner request (2026-09-23): compact capsules instead of the benefits table. */
/* Hero hook (2026-09-25, owner): the module pills left the hero; one underlined text link to the quiz. Not a button (owner removed the hero CTAs). */
.hero-hook { align-self: flex-start; max-width: 100%; margin-top: clamp(14px, 2.6svh, 28px); font-size: clamp(15px, min(1.2vw, 2.7svh), 18px); line-height: 1.4; font-weight: 500; color: #dde7f5; text-decoration: none; text-wrap: pretty; }
.hero-hook strong { font-weight: 600; white-space: nowrap; color: var(--copper); text-decoration: underline; text-decoration-color: #d4ad8e80; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.hero-hook:hover strong { text-decoration-color: var(--copper); }
.hero-hook:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 4px; }
/* Hero flow: the 7-step loop Synesia runs (owner request 2026-09-16). One row when the copy is wide, 4 columns when narrow, a vertical list on phones. */
.hero-flow { margin-top: auto; padding-top: clamp(16px, 3.4svh, 44px); container-type: inline-size; }
.hero-flow-label { display: flex; align-items: center; gap: 8px; margin-bottom: clamp(8px, 1.4svh, 12px); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--copper); }
.hero-flow-label svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-flow-steps { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.hero-flow-steps li { position: relative; display: flex; flex-direction: column; gap: 8px; padding: clamp(9px, 1.5svh, 12px) 11px; border: 1px solid #ffffff1f; border-radius: 14px; background: #0a162bcc; backdrop-filter: blur(10px); }
.hero-flow-steps li:not(:last-child)::after { content: ''; position: absolute; top: 50%; right: -11px; width: 6px; height: 6px; border-top: 1.5px solid #80b5ff66; border-right: 1.5px solid #80b5ff66; transform: translateY(-50%) rotate(45deg); }
.flow-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.flow-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--blue); }
.flow-head b { font-size: 11px; font-weight: 600; letter-spacing: .08em; color: #8fa3bf; }
.hero-flow-steps strong { flex: 1; display: flex; flex-direction: column; gap: 6px; font-size: 13px; line-height: 1.25; font-weight: 600; color: #e6edf7; }
/* Role tag (owner 2026-09-16): which human seat the step replaces. */
.flow-role { display: grid; place-items: center; margin-top: auto; padding: 3px 2px; text-align: center; text-wrap: balance; border: 1px solid #d4ad8e59; border-radius: 6px; font-size: 10px; font-weight: 600; letter-spacing: .03em; line-height: 1.4; text-transform: uppercase; color: var(--copper); }
.flow-loop { position: absolute; top: -9px; right: -9px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--copper); color: var(--bg); font-size: 13px; font-weight: 700; line-height: 1; }
@container (max-width: 759px) {
  .hero-flow-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero-flow-steps li:nth-child(4)::after { display: none; }
}
@container (max-width: 459px) {
  .hero-flow-steps { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .hero-flow-steps li { flex-direction: row; align-items: center; gap: 12px; padding: 9px 14px; }
  .flow-head { flex-direction: row-reverse; justify-content: flex-end; min-width: 54px; }
  .hero-flow-steps li:not(:last-child)::after, .hero-flow-steps li:nth-child(4)::after { display: block; top: auto; bottom: -9px; right: auto; left: 21px; transform: rotate(135deg); }
  .flow-loop { top: 50%; right: 12px; transform: translateY(-50%); }
  .hero-flow-steps li:last-child { padding-right: 44px; }
  .flow-role { align-self: flex-start; margin-top: 0; }
}
.hero-bottom { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(12px, 3svh, 34px); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.scroll-cue { display: flex; align-items: center; gap: 16px; font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); }
.scroll-track { position: relative; width: 1px; height: clamp(26px, 5svh, 44px); overflow: hidden; background: #ffffff22; }
.scroll-track::after { content: ''; position: absolute; left: 0; top: 0; width: 1px; height: 20px; background: var(--blue); animation: scroll-indicator 2.4s ease-in-out infinite; }

/* Shared section rhythm. */
.section { position: relative; padding-block: clamp(40px, 4vw, 56px); border-top: 1px solid var(--line); }
/* Owner request (2026-09-16): less empty space between the hero and the first section. */
.hero + .section { padding-top: clamp(32px, 3.5vw, 48px); }
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 60px; align-items: end; }
.section-head h2, .faq-grid h2 { margin-top: 22px; font-size: clamp(30px, 3.4vw, 50px); line-height: 1.06; letter-spacing: -.03em; font-weight: 600; text-wrap: balance; }
.section-head p:not(.eyebrow) { font-size: clamp(14px, 1.1vw, 16.5px); line-height: 1.7; color: var(--muted); max-width: 520px; }
/* Owner request (2026-09-23): #faz headline in two lines, same pattern as the hero h1. */
#faz .section-head { grid-template-columns: minmax(0, 1fr); }
#faz h2 > span { display: block; }
#faz h2 > span:last-child { margin-top: .35em; font-size: clamp(19px, 1.9vw, 26px); line-height: 1.25; letter-spacing: -.01em; font-weight: 500; text-wrap: pretty; color: var(--blue); }
@media (min-width: 1151px) { #faz h2 > span { white-space: nowrap; } }
/* Owner request (2026-09-25): the #faz paragraph reads in two lines on desktop (full-width head, balanced wrap). */
#faz .section-head p:not(.eyebrow) { max-width: none; text-wrap: balance; }
.card { position: relative; padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--surface-high), var(--surface)); transition: border-color .3s, transform .3s, box-shadow .3s; }
.card:hover { border-color: #3d5f8f; transform: translateY(-4px); box-shadow: 0 30px 60px -30px #000c; }
.card h3 { font-size: 20px; line-height: 1.25; letter-spacing: -.02em; font-weight: 600; }
.card p { margin-top: 12px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.number { font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--copper); }
.bullets { margin-top: 18px; display: grid; gap: 9px; }
.bullets li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.5; color: #d7e0ee; }
.bullets li::before { content: ''; flex: 0 0 5px; width: 5px; height: 5px; margin-top: 7px; border-radius: 50%; background: var(--copper); }
.big-number { font-family: var(--display); font-size: clamp(40px, 4.4vw, 64px); line-height: 1; letter-spacing: -.04em; font-weight: 700; color: var(--white); font-variant-numeric: tabular-nums; }
.stat-label { font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* 01 - What Synesia does. */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.pillars .card { display: flex; flex-direction: column; min-height: 100%; }
.pillar-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.pillar-name { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--blue); font-weight: 700; }
.pillars .bullets { margin-top: auto; padding-top: 22px; }

/* 02 - What the visitor loses today. */
.losses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.losses .card { border-color: #3a2a2a; background: linear-gradient(180deg, #16101a, var(--surface)); }
.losses .card:hover { border-color: #7a4a3a; }
.loss-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-bottom: 20px; border-radius: 12px; background: #d4ad8e1a; color: var(--copper); font-family: var(--serif); font-size: 22px; }
.calculator { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 18px; margin-top: 18px; }
.calc-inputs, .calc-result { padding: 34px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.calc-inputs h3, .calc-result h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; margin-top: 26px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 11.5px; line-height: 1.4; color: var(--muted); font-weight: 500; min-height: 32px; }
.field-box { display: flex; align-items: center; gap: 8px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); transition: border-color .2s; }
.field-box:focus-within { border-color: var(--blue); }
.field-box > span { font-size: 12px; color: var(--muted); }
.field-box input { flex: 1; min-width: 0; width: 100%; height: 48px; border: 0; background: none; color: var(--white); font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.field-box input:focus { outline: none; }
.field-box input::-webkit-outer-spin-button, .field-box input::-webkit-inner-spin-button { margin: 0; }
.calc-result { position: relative; overflow: hidden; background: linear-gradient(160deg, #141017, var(--surface) 60%); }
.calc-result::before { content: ''; position: absolute; width: 60%; height: 60%; right: -20%; top: -30%; background: radial-gradient(closest-side, #d4ad8e33, transparent); filter: blur(30px); pointer-events: none; }
.calc-result .big-number { margin-top: 24px; color: var(--copper); }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.result-grid strong { display: block; font-family: var(--display); font-size: 24px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.result-grid span { display: block; margin-top: 6px; font-size: 11px; color: var(--muted); }
.calc-result .fine-print { margin-top: 24px; }
.calc-result .button { margin-top: 26px; }

/* 03 - How much it saves. */
.savings { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 18px; margin-top: 36px; align-items: start; }
.table-card { padding: 8px 0 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.team-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.team-table caption { caption-side: top; padding: 20px 26px 12px; text-align: left; font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--blue); font-weight: 700; }
.team-table th, .team-table td { padding: 14px 12px; text-align: left; vertical-align: middle; border-top: 1px solid var(--line); }
.team-table th:first-child, .team-table td:first-child { padding-left: 26px; }
.team-table th:last-child, .team-table td:last-child { padding-right: 26px; }
.team-table thead th { border-top: 0; padding-top: 6px; font-size: 9.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.team-table tbody th { font-weight: 600; color: var(--white); }
.team-table tbody th span { display: block; margin-top: 3px; font-size: 11px; line-height: 1.45; font-weight: 400; color: var(--muted); }
.team-table td.count { font-family: var(--display); font-size: 18px; font-weight: 600; text-align: center; }
.salary-field { display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.salary-field:focus-within { border-color: var(--blue); }
.salary-field > span { font-size: 11px; color: var(--muted); }
.salary-input { width: 78px; height: 38px; border: 0; background: none; color: var(--white); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.salary-input:focus { outline: none; }
.team-table td.cover { font-size: 12px; line-height: 1.5; color: #d7e0ee; }
.team-table tfoot td, .team-table tfoot th { font-weight: 600; background: var(--surface-high); }
.team-table tfoot td:last-child { font-family: var(--display); font-size: 16px; text-align: right; }
.cost-summary { position: sticky; top: 24px; padding: 34px 32px; border: 1px solid #2c4a7a; border-radius: var(--radius); background: linear-gradient(160deg, #0d1f3c, var(--surface) 70%); box-shadow: 0 40px 80px -40px #3878ed66; }
.overhead-control { margin-top: 26px; }
.overhead-control label { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); }
.overhead-control output { font-family: var(--display); font-size: 16px; font-weight: 700; color: var(--white); }
input[type=range] { width: 100%; margin: 14px 0 0; accent-color: var(--blue); }
.cost-lines { margin-top: 26px; display: grid; gap: 14px; }
.cost-lines div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13px; color: var(--muted); }
.cost-lines strong { font-family: var(--display); font-size: 17px; color: var(--white); font-variant-numeric: tabular-nums; }
.cost-total { margin-top: 26px; padding-top: 24px; border-top: 1px solid #2c4a7a; }
.cost-total .big-number { margin-top: 10px; }
.cost-total .annual { margin-top: 12px; font-size: 13px; color: var(--muted); }
.cost-total .annual strong { color: var(--white); font-variant-numeric: tabular-nums; }
.humans-line { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding: 16px 18px; border-radius: 12px; background: #3878ed1a; border: 1px solid #3878ed44; font-size: 12.5px; line-height: 1.5; color: #d7e0ee; }
.humans-line strong { font-family: var(--display); font-size: 30px; line-height: 1; color: var(--blue); }
.cost-summary .button { width: 100%; margin-top: 26px; }
.cost-summary .fine-print { margin-top: 18px; }

/* 05 - Quality and differentiators. */
.compare { margin-top: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.compare table { width: 100%; border-collapse: collapse; font-size: 13px; }
.compare th, .compare td { padding: 16px 18px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); line-height: 1.5; }
.compare thead th { border-top: 0; padding: 20px 18px; font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.compare th:first-child, .compare td:first-child { padding-left: 26px; }
.compare tbody th { font-weight: 600; color: var(--white); width: 18%; }
.compare td { color: var(--muted); }
.compare .synesia { position: relative; color: var(--white); background: #3878ed14; }
.compare thead .synesia { color: var(--blue); }
.compare tbody tr:last-child .synesia::after { content: ''; position: absolute; inset: auto 0 -1px; height: 2px; background: linear-gradient(90deg, var(--electric), var(--blue)); }
.models { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 60px; margin-top: 48px; align-items: center; }
.neural-visual { position: sticky; top: 96px; align-self: start; height: 470px; border: 1px solid var(--line); border-radius: var(--radius); background: radial-gradient(ellipse at 50% 45%, #0f2650, var(--bg) 70%); overflow: hidden; }
#neural-brain { display: block; width: 100%; height: 100%; }
#neural-brain path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.nb-back { stroke: #80b5ff; stroke-width: .7; opacity: .07; }
.nb-mid { stroke: #80b5ff; stroke-width: .8; opacity: .3; }
.nb-front { stroke: #9cc6ff; stroke-width: 1; opacity: .75; }
.nb-fissure-back { stroke: #d4ad8e; stroke-width: .8; opacity: .14; }
.nb-fissure { stroke: #d4ad8e; stroke-width: 1.3; opacity: .85; }
.nb-edge-back { stroke: #6598d5; stroke-width: .5; opacity: .22; }
.nb-edge-front { stroke: #6598d5; stroke-width: .7; opacity: .5; }
.nb-node-back { stroke: #a2caff; stroke-width: 2.4; opacity: .4; }
.nb-node-front { stroke: #a2caff; stroke-width: 3.4; opacity: .95; }
.nb-halo { stroke: #aacfff; stroke-width: 13; opacity: .16; }
.nb-pulse { stroke: #e6f2ff; stroke-width: 3.4; }
.nb-pulse-copper { stroke: #d4ad8e; stroke-width: 3.4; }
.neural-core-label { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); font-family: var(--display); font-size: 12px; letter-spacing: 5px; text-transform: uppercase; color: #e6f2ff; text-align: center; pointer-events: none; white-space: nowrap; }
.neural-core-label span { display: block; margin-top: 8px; font-size: 8px; letter-spacing: 2px; color: var(--muted); }
.cognitive-list article { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding-block: 20px; border-top: 1px solid var(--line); }
.cognitive-list article:last-child { border-bottom: 1px solid var(--line); }
.model-number { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--copper); }
.cognitive-list h3 { font-size: 20px; letter-spacing: -.02em; font-weight: 600; }
.cognitive-list p { margin-top: 10px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.diffs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.diffs .card h3 { font-size: 18px; }
.diffs .number { font-size: 26px; margin-bottom: 18px; }

/* 06 - Human control with a sample conversation. */
.control-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 40px 60px; margin-top: 50px; align-items: center; }
.control-points article { padding-block: 24px; border-top: 1px solid var(--line); }
.control-points article:last-child { border-bottom: 1px solid var(--line); }
.control-points h3 { display: flex; align-items: center; gap: 14px; font-size: 19px; letter-spacing: -.02em; font-weight: 600; }
.control-points h3 i { width: 26px; height: 26px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: #3878ed26; color: var(--blue); font-style: normal; font-size: 12px; }
.control-points p { margin-top: 10px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.chat-card { padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(180deg, var(--surface-high), var(--surface)); box-shadow: 0 40px 80px -50px #000; }
.chat-head { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.chat-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--copper), #7a4a3a); display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 12px; color: var(--bg); }
.chat-head strong { color: var(--white); }
.chat-head .time { margin-left: auto; font-variant-numeric: tabular-nums; }
.chat-body { display: grid; gap: 12px; margin-top: 20px; }
.msg { max-width: 82%; padding: 12px 15px; border-radius: 16px; font-size: 13px; line-height: 1.55; }
.msg.lead { justify-self: start; background: #ffffff10; color: #e4ebf5; border-bottom-left-radius: 4px; }
.msg.ia { justify-self: end; background: linear-gradient(135deg, #1a3a6b, #10254a); color: var(--white); border-bottom-right-radius: 4px; }
.msg .meta { display: block; margin-top: 6px; font-size: 10px; letter-spacing: .8px; text-transform: uppercase; color: var(--blue); opacity: .85; }
.msg.audio { display: flex; align-items: center; gap: 10px; }
.msg.audio i { display: inline-flex; gap: 2px; align-items: flex-end; height: 14px; }
.msg.audio i b { width: 2px; background: var(--copper); border-radius: 2px; height: 30%; }
.msg.audio i b:nth-child(2) { height: 80%; } .msg.audio i b:nth-child(3) { height: 55%; } .msg.audio i b:nth-child(4) { height: 100%; } .msg.audio i b:nth-child(5) { height: 45%; } .msg.audio i b:nth-child(6) { height: 70%; }
.chat-state { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.chat-state .status-dot { background: #7fdba8; box-shadow: 0 0 12px #7fdba888; }

/* FAQ, final call to action, footer. */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 60px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 22px; list-style: none; cursor: pointer; font-family: var(--display); font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; flex: 0 0 auto; font-family: var(--serif); font-size: 26px; line-height: 1; color: var(--copper); transition: transform .3s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details > p { padding-bottom: 24px; font-size: 14px; line-height: 1.75; color: var(--muted); max-width: 640px; }
.final-cta { position: relative; overflow: hidden; text-align: center; padding-block: clamp(56px, 6vw, 88px); border-top: 1px solid var(--line); }
.final-cta::before { content: ''; position: absolute; inset: auto 0 -40%; height: 120%; background: radial-gradient(ellipse at 50% 100%, #3878ed3d, transparent 60%); pointer-events: none; }
.final-cta > .section-shell { position: relative; }
.final-cta h2 { margin: 22px auto 0; max-width: 860px; font-size: clamp(34px, 5vw, 72px); line-height: 1.02; letter-spacing: -.04em; font-weight: 600; text-wrap: balance; }
.final-cta p:not(.eyebrow):not(.fine-print) { margin: 24px auto 0; max-width: 560px; font-size: 16px; line-height: 1.7; color: var(--muted); }
.final-cta .eyebrow { justify-content: center; }
.final-cta .button { margin-top: 38px; min-width: 300px; justify-content: center; gap: 20px; }
.final-cta .fine-print { margin-top: 20px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 28px; border-top: 1px solid var(--line); }
.site-footer .brand { width: 130px; height: 46px; }
.site-footer .brand img { width: 142px; top: -15px; }
.site-footer > div { display: flex; flex-wrap: wrap; gap: 18px 28px; font-size: 11px; color: var(--muted); }
.site-footer a:hover { color: var(--blue); }

/* Motion: reveal animations respect the system preference (the hero video always autoplays). */
@keyframes scroll-indicator { 0% { transform: translateY(-20px); } 70%, 100% { transform: translateY(45px); } }
@keyframes hero-zoom { from { transform: scale(1.03) translateX(0); } to { transform: scale(1.09) translateX(1.5%); } }
@keyframes light-drift { from { transform: translate(0, 0); opacity: .7; } to { transform: translate(-6%, 6%); opacity: 1; } }
@keyframes enter { from { opacity: 0; transform: translateY(26px); filter: blur(6px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes flow-step { 0%, 100% { border-color: #ffffff1f; background: #0a162bcc; box-shadow: none; } 5%, 15% { border-color: #80b5ffaa; background: #12305acc; box-shadow: 0 0 0 1px #3878ed55, 0 10px 30px -8px #3878ed99; } 24% { border-color: #ffffff1f; background: #0a162bcc; box-shadow: none; } }
@keyframes flow-icon { 0%, 100% { color: var(--blue); transform: none; } 5%, 15% { color: var(--copper); transform: translateY(-2px) scale(1.12); } 24% { color: var(--blue); transform: none; } }
@keyframes flow-arrow { 0%, 100% { border-color: #80b5ff66; } 8%, 16% { border-color: #d4ad8e; } 24% { border-color: #80b5ff66; } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: .5; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-stage video, .hero-poster { animation: hero-zoom 26s ease-in-out infinite alternate; }
  .hero-light { animation: light-drift 14s ease-in-out infinite alternate; }
  .hero h1 > span { animation: enter 1s .25s both; }
  .hero h1 > span:nth-child(2) { animation-delay: .4s; }
  .hero-hook { animation: enter 1s .55s both; }
  .hero-flow-label { animation: enter .9s .85s both; }
  .hero-flow-steps li { animation: enter .8s calc(.95s + var(--i, 0) * .1s) both, flow-step 7s calc(1.9s + var(--i, 0) * 1s) infinite; }
  .hero-flow-steps li::after { animation: flow-arrow 7s calc(2.3s + var(--i, 0) * 1s) infinite; }
  .flow-icon { animation: flow-icon 7s calc(1.9s + var(--i, 0) * 1s) infinite; }
  .status-dot { animation: pulse 2.4s ease-in-out infinite; }
  .motion-ready [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 90ms); }
  .motion-ready [data-reveal].is-revealed { opacity: 1; transform: none; }
  .motion-ready .chat-body .msg { opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .6s ease; }
  .motion-ready .chat-card.is-revealed .msg { opacity: 1; transform: none; }
  .motion-ready .chat-card.is-revealed .msg:nth-child(1) { transition-delay: .3s; }
  .motion-ready .chat-card.is-revealed .msg:nth-child(2) { transition-delay: 1s; }
  .motion-ready .chat-card.is-revealed .msg:nth-child(3) { transition-delay: 1.8s; }
  .motion-ready .chat-card.is-revealed .msg:nth-child(4) { transition-delay: 2.7s; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Responsive. */
@media (min-width: 1700px) { .hero-copy { max-width: 1120px; } }
@media (max-width: 1150px) {
  /* Header must fit on one line down to ~1000px: tighter gaps, smaller nav type, compact logo. */
  .site-header { gap: 20px; } .site-header nav { gap: 20px; font-size: 13px; }
  .pillars, .diffs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .models { grid-template-columns: 1fr; gap: 30px; } .neural-visual { position: relative; top: auto; height: 360px; }
  .savings { grid-template-columns: 1fr; } .cost-summary { position: static; }
  .team-table td.cover { display: none; } .team-table th.cover { display: none; }
}
@media (max-width: 900px) {
  :root { --header-h: 56px; }
  .site-header nav { display: none; position: absolute; top: calc(var(--header-h) - 4px); left: var(--gutter); right: var(--gutter); padding: 18px 23px; background: #091627fa; border: 1px solid #415c7d88; border-radius: 12px; backdrop-filter: blur(20px); box-shadow: 0 20px 60px #0007; }
  .site-header nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 3px; }
  .menu-toggle { display: block; margin-right: -10px; }
  /* Mobile hero (S23, 2026-09-25): the 16:9 frame is bound to the viewport width (band capped at 420px) so the android stays small (face = first 30.5% of the width); the headline sits beside the face, vertically centered in the band, and the capsules start below the band. Zoom off + text-size-adjust:100% on html stop Chrome font boosting from cutting the copy. */
  .hero { display: block; min-height: 0; max-height: none; --band: min(100vw * 9 / 16, 420px); }
  .hero-stage { position: relative; inset: 0; z-index: 0; height: calc(var(--header-h) + var(--band)); padding-top: var(--header-h); }
  .hero-stage video, .hero-poster { top: var(--header-h); height: calc(100% - var(--header-h)); object-position: left top; animation: none; }
  .hero-shade { z-index: 1; background: linear-gradient(180deg, var(--bg) var(--header-h), #040a1600 calc(var(--header-h) + 24px)); }
  .hero-stage::after { content: ''; position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, #040a1600 26%, #040a16a6 44%, #040a16e6 58%, var(--bg) 100%), linear-gradient(0deg, var(--bg) 0%, #040a1600 20%); pointer-events: none; }
  .hero-light { display: none; }
  .hero-inner { display: block; z-index: 2; margin-top: calc(-1 * var(--band) + 4px); max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding: 4px var(--gutter) 96px; min-height: 0; }
  .hero-copy { max-width: 100%; min-width: 0; }
  .hero h1 { display: flex; flex-direction: column; justify-content: center; min-height: calc(var(--band) - 12px); margin-left: calc(30.5vw + 18px - var(--gutter)); min-width: 0; font-size: clamp(26px, 7vw, 29px); text-wrap: balance; overflow-wrap: break-word; text-shadow: 0 1px 14px #000000a6, 0 2px 10px var(--bg); }
  .hero h1 > span:last-child { font-size: clamp(15px, 3.9vw, 17px); line-height: 1.3; }
  .hero-hook { position: relative; z-index: 3; display: inline-block; margin-top: 14px; text-shadow: 0 1px 10px #000000a6; } .hero-flow { margin-top: 30px; }
  .hero-bottom { bottom: 26px; } .scroll-cue { display: none; }
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .losses, .calculator, .control-grid, .faq-grid { grid-template-columns: 1fr; }
  .pillars, .losses, .calculator, .savings, .compare, .diffs { margin-top: 28px; }
  .models { margin-top: 56px; }
  .compare th, .compare td { padding: 14px 12px; font-size: 12px; }
  .compare tbody th { width: auto; }
}
@media (max-width: 640px) {
  :root { --gutter: 22px; }
  .site-header { height: var(--header-h); gap: 10px; } .brand { width: 110px; height: 38px; } .brand img { width: 120px; top: -14px; left: -4.2px; }
  .section { padding-block: 40px; }
  .section-head h2 { font-size: clamp(28px, 8vw, 36px); }
  .pillars, .diffs { grid-template-columns: 1fr; }
  .card { padding: 26px 22px; }
  .calc-inputs, .calc-result, .cost-summary { padding: 26px 22px; }
  .field-grid { grid-template-columns: 1fr; gap: 14px; } .field label { min-height: 0; }
  .result-grid { grid-template-columns: 1fr 1fr; gap: 14px; } .result-grid strong { font-size: 20px; }
  .team-table { font-size: 12px; } .team-table th, .team-table td { padding: 12px 8px; }
  .team-table th:first-child, .team-table td:first-child { padding-left: 16px; } .team-table th:last-child, .team-table td:last-child { padding-right: 16px; }
  .team-table caption { padding-inline: 16px; } .team-table tbody th span { display: none; }
  .salary-input { width: 64px; height: 34px; font-size: 13px; }
  .compare { overflow-x: auto; } .compare table { min-width: 560px; }
  .neural-visual { height: 300px; } .cognitive-list article { grid-template-columns: 44px 1fr; gap: 14px; } .model-number { font-size: 30px; }
  .chat-card { padding: 20px 18px; } .msg { max-width: 90%; font-size: 12.5px; }
  .faq-list summary { font-size: 15px; padding-block: 18px; }
  .final-cta .button { min-width: 0; width: 100%; }
  .site-footer > div { gap: 12px 18px; font-size: 10px; }
}
@media (max-width: 360px) { :root { --gutter: 18px; } .hero h1 { font-size: 27px; } .big-number { font-size: 36px; } .humans-line strong { font-size: 24px; } }


/* Full sales page sections: facts, ROI, journey, platform map, principles. */

/* Facts band */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.fact { padding: 28px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.fact strong { display: block; font-family: var(--display); font-size: clamp(36px, 3.4vw, 50px); line-height: 1; letter-spacing: -.04em; font-weight: 700; color: var(--copper); font-variant-numeric: tabular-nums; }
.fact span { display: block; margin-top: 14px; font-size: 14px; line-height: 1.55; color: var(--white); }
.fact small { display: block; margin-top: 12px; font-size: 11px; line-height: 1.6; color: var(--muted); }
.fact small b { color: var(--white); font-weight: 600; }
.fact-accent { border-color: #2c4a7a; background: linear-gradient(160deg, #0d1f3c, var(--surface) 70%); }
.fact-accent strong { color: var(--blue); }
.facts + .pillars { margin-top: 18px; }

/* Loss reasons inside the calculator */
.loss-list { list-style: none; margin: 28px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.loss-list li { display: grid; grid-template-columns: 36px 1fr; align-items: center; gap: 12px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.loss-list b { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: #d4ad8e1a; color: var(--copper); font-family: var(--serif); font-size: 17px; font-weight: 400; }

/* Editable head counts */
.count-input { width: 58px; height: 38px; padding: 0 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--white); font-family: var(--display); font-size: 16px; font-weight: 600; text-align: center; font-variant-numeric: tabular-nums; }
.count-input:focus { outline: none; border-color: var(--blue); }

/* ROI */
.roi { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 18px; margin-top: 36px; }
.roi-controls { padding: 34px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); display: grid; gap: 26px; align-content: start; }
.roi-control label { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 12px; line-height: 1.45; color: var(--muted); }
.roi-control output { font-family: var(--display); font-size: 16px; font-weight: 700; color: var(--white); white-space: nowrap; }
.roi-invest label { min-height: 0; }
.scenarios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.scenarios button { min-height: 40px; border: 1px solid var(--line); border-radius: 20px; background: none; color: var(--muted); font: 600 12px var(--body); cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.scenarios button:hover { border-color: #3d5f8f; color: var(--white); }
.scenarios button[aria-pressed="true"] { border-color: var(--blue); background: #97c1ff14; color: var(--white); }
.roi-result { padding: 34px 32px; border: 1px solid #2c4a7a; border-radius: var(--radius); background: linear-gradient(160deg, #0d1f3c, var(--surface) 70%); box-shadow: 0 40px 80px -40px #3878ed66; }
.roi-lines { display: grid; gap: 12px; }
.roi-lines > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 13px; color: var(--muted); }
.roi-lines strong { font-family: var(--display); font-size: 20px; letter-spacing: -.02em; color: var(--white); font-variant-numeric: tabular-nums; white-space: nowrap; }
.roi-lines strong.pos::before { content: '+ '; color: var(--blue); }
.roi-total { margin-top: 24px; padding-top: 22px; border-top: 1px solid #2c4a7a; }
.roi-total .big-number { margin-top: 10px; color: var(--blue); }
.roi-total .annual { margin-top: 12px; font-size: 13px; color: var(--muted); }
.roi-total .annual strong { color: var(--white); font-variant-numeric: tabular-nums; }
.roi-split { display: flex; height: 10px; margin-top: 22px; border-radius: 6px; background: #ffffff10; overflow: hidden; }
.roi-split i { display: block; height: 100%; transition: width .45s cubic-bezier(.2, .7, .2, 1); }
#split-profit { background: var(--blue); }
#split-savings { background: var(--copper); }
.roi-legend { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 11px; color: var(--muted); }
.roi-legend span { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.roi-legend span + * { margin-right: 10px; }
.k-profit { background: var(--blue); }
.k-savings { background: var(--copper); margin-left: 12px; }
.roi-verdict { display: grid; gap: 6px; margin-top: 24px; padding: 18px 20px; border: 1px solid #3a4a2a; border-radius: 14px; background: #9fd4a00d; }
.roi-verdict strong { font-family: var(--display); font-size: 26px; letter-spacing: -.03em; color: #b6e3b0; font-variant-numeric: tabular-nums; }
.roi-verdict span { font-size: 12.5px; line-height: 1.55; color: #d7e0ee; }
.roi-with-invest { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 18px; }
.roi-with-invest[hidden] { display: none; }
.roi-with-invest strong { display: block; font-family: var(--display); font-size: 24px; letter-spacing: -.03em; color: var(--white); font-variant-numeric: tabular-nums; }
.roi-with-invest span { display: block; margin-top: 6px; font-size: 11px; line-height: 1.45; color: var(--muted); }
.roi-result .button { margin-top: 26px; }
.roi-result .fine-print { margin-top: 18px; }

/* Platform: seven areas */
.platform-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.platform-stats > div { padding: 28px 26px; }
.platform-stats > div + div { border-left: 1px solid var(--line); }
.platform-stats strong { display: block; font-family: var(--display); font-size: clamp(38px, 3.6vw, 54px); line-height: 1; letter-spacing: -.04em; font-weight: 700; color: var(--white); }
.platform-stats span { display: block; margin-top: 10px; font-size: 12px; color: var(--muted); }
.areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.area { padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--surface-high), var(--surface)); transition: border-color .3s, transform .3s; }
.area:hover { border-color: #3d5f8f; transform: translateY(-3px); }
.area-count { font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--copper); font-weight: 600; }
.area h3 { margin-top: 14px; font-size: 18px; line-height: 1.3; letter-spacing: -.02em; font-weight: 600; }
.area p { margin-top: 10px; font-size: 13px; line-height: 1.65; color: var(--muted); }
.platform-note { margin-top: 18px; }

/* Final CTA loss figure */
.final-loss { color: var(--copper); white-space: nowrap; font-variant-numeric: tabular-nums; }

@media (max-width: 1150px) {
  .facts, .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roi { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .facts, .roi, .platform-stats { margin-top: 28px; }
  .platform-stats { grid-template-columns: 1fr 1fr; }
  .platform-stats > div:nth-child(3) { border-left: 0; }
  .platform-stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .facts, .areas { grid-template-columns: 1fr; }
  .roi-controls, .roi-result { padding: 28px 22px; }
  .roi-with-invest { grid-template-columns: 1fr; }
  .roi-lines > div { flex-direction: column; gap: 2px; }
  .count-input { width: 50px; }
}

/* Layout fixes after visual review */
.area-wide { grid-column: span 2; }
.team-table tfoot td[colspan] { font-family: var(--body); font-size: 12px; font-weight: 400; color: var(--muted); }
@media (max-width: 640px) { .area-wide { grid-column: auto; } }

/* Journey: 8 steps, first contact to recurring operation */
.journey { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: none; }
.journey li { display: flex; flex-direction: column; padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--surface-high), var(--surface)); transition: border-color .3s, transform .3s; }
.journey li:hover { border-color: #3d5f8f; transform: translateY(-3px); }
.journey-n { font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--copper); }
.journey h3 { margin-top: 16px; font-size: 19px; letter-spacing: -.02em; font-weight: 600; }
.journey p { margin-top: 8px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.journey .journey-leak { margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: #d4ad8e12; color: #e6cdb9; font-size: 12px; }
.journey-leak b { color: var(--copper); font-weight: 600; }
.journey-mods { margin-top: auto; padding-top: 16px; font-size: 11px; line-height: 1.5; letter-spacing: .2px; color: var(--blue); }

/* Maturity legend + status dots */
.maturity-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 22px 0 0; padding: 0; font-size: 13px; color: var(--white); }
.maturity-legend li { display: flex; align-items: center; gap: 8px; }
.maturity-legend span { font-size: 11px; color: var(--muted); }
.st { flex: none; display: inline-block; width: 9px; height: 9px; border-radius: 50%; }
.st-prod { background: #8fd9a8; box-shadow: 0 0 0 3px #8fd9a81f; }
.st-parc { background: var(--copper); }
.st-dev { background: #5f7ea8; }
.st-road { border: 1.5px solid var(--muted); background: none; }

/* Area cards with module lists (uneven heights -> masonry columns) */
.areas { display: block; columns: 4 260px; column-gap: 18px; }
.areas .area { break-inside: avoid; margin-bottom: 18px; display: block; }
.mods { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; }
.mod { display: grid; grid-template-columns: 9px 1fr; align-items: baseline; gap: 10px; font-size: 12.5px; line-height: 1.45; color: var(--white); }
.mod[data-status="dev"], .mod[data-status="road"] { color: var(--muted); }
.mod .st { transform: translateY(-1px); }

/* Business models by segment (second masonry block inside #plataforma) */
.seg-head { margin-top: 48px; max-width: 760px; }
.seg-head h3 { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.15; letter-spacing: -.025em; font-weight: 600; text-wrap: balance; }
.seg-head p { margin-top: 12px; font-size: clamp(14px, 1.1vw, 16.5px); line-height: 1.7; color: var(--muted); }
.areas-seg { margin-top: 24px; }
.mod-plain { grid-template-columns: 1fr; }
.area-more { border-style: dashed; }
.area-more p { margin-top: 12px; }
.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; }

/* Operating principles */
.principles-head { margin-top: 48px; max-width: 760px; }
.principles-head h3 { margin-top: 18px; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.15; letter-spacing: -.025em; font-weight: 600; text-wrap: balance; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.principles .number { font-size: 28px; }
.principles h3 { margin-top: 16px; font-size: 18px; }

@media (max-width: 1150px) {
  .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .journey { margin-top: 28px; }
  .principles-head { margin-top: 36px; }
}
@media (max-width: 640px) {
  .journey, .principles { grid-template-columns: 1fr; }
  .areas { columns: 1; }
  .maturity-legend { flex-direction: column; }
}

/* Pains: problem-aware block, client's own words */
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.pain { display: flex; flex-direction: column; padding: 28px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--surface-high), var(--surface)); transition: border-color .3s, transform .3s; }
.pain:hover { border-color: #3d5f8f; transform: translateY(-3px); }
.pain-tag { align-self: flex-start; padding: 5px 10px; border: 1px solid #2c4a7a; border-radius: 20px; font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 600; color: var(--blue); }
.pain h3 { margin-top: 18px; font-family: var(--serif); font-size: 22px; line-height: 1.3; font-weight: 400; letter-spacing: -.01em; color: var(--white); }
.pain p { margin-top: 14px; font-size: 13px; line-height: 1.6; }
.pain-cost { color: #e6cdb9; }
.pain-cost b { color: var(--copper); font-weight: 600; }
.pain-fix { margin-top: auto !important; padding-top: 14px; border-top: 1px solid var(--line); color: #d7e0ee; }
.pain-cost + .pain-fix { margin-top: 14px !important; }
.pain-fix b { color: var(--blue); font-weight: 600; }
.pains-next { margin-top: 28px; text-align: center; font-family: var(--display); font-size: 16px; font-weight: 600; color: var(--white); }
.pains-next span { color: var(--copper); }

/* Paid traffic factory: 5-step flow + auto / semi-auto modes */
.flow { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.flow li { padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--surface-high), var(--surface)); }
.flow h3 { margin-top: 14px; font-size: 18px; letter-spacing: -.02em; font-weight: 600; }
.flow p { margin-top: 8px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.mode { padding: 28px 26px; border: 1px solid #2c4a7a; border-radius: var(--radius); background: linear-gradient(160deg, #0d1f3c, var(--surface) 70%); }
.mode h3 { margin-top: 16px; font-size: 20px; line-height: 1.3; letter-spacing: -.02em; font-weight: 600; }
.mode p { margin-top: 10px; font-size: 13.5px; line-height: 1.65; color: #d7e0ee; }

/* Hidden objections: what the buyer thinks and does not say */
.objections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin-top: 36px; }
.objection { padding-block: 24px; border-top: 1px solid var(--line); }
.objection h3 { font-family: var(--serif); font-size: 21px; line-height: 1.3; font-weight: 400; color: var(--copper); }
.objection p { margin-top: 10px; font-size: 14px; line-height: 1.65; color: #d7e0ee; }

@media (max-width: 1150px) {
  .pains { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .pains, .flow, .objections { margin-top: 28px; }
  .objections { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pains, .flow, .modes { grid-template-columns: 1fr; }
  .pain h3 { font-size: 20px; }
}

/* 01b Current-scenario quiz (#cenario, added 2026-09-23). Without JS every step shows stacked; .qz-on turns it into one step at a time. */
.qz { margin-top: 18px; padding: 30px 32px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); scroll-margin-top: 24px; }
.qz-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.qz-count { font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.qz-count b { color: var(--white); }
.qz-run { display: grid; justify-items: end; gap: 2px; }
.qz-run span { font-size: 11px; color: var(--muted); }
.qz-run strong { font-family: var(--display); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; font-weight: 700; letter-spacing: -.03em; color: var(--copper); font-variant-numeric: tabular-nums; }
.qz-progress { height: 4px; margin-top: 16px; border-radius: 4px; background: var(--line); overflow: hidden; }
.qz-progress i { display: block; width: 10%; height: 100%; background: linear-gradient(90deg, var(--electric), var(--blue)); transition: width .4s; }
.qz-form { margin-top: 26px; }
.qz-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.qz-step + .qz-step { margin-top: 44px; }
.qz-step > legend { padding: 0; font-family: var(--display); font-size: clamp(20px, 2vw, 28px); line-height: 1.2; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
.qz-step > legend:focus { outline: none; }
.qz-hint { margin-top: 10px; max-width: 780px; font-size: 13.5px; line-height: 1.65; color: var(--muted); }
.qz-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.qz-opt { position: relative; display: grid; align-content: start; gap: 6px; padding: 18px 20px 18px 52px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); cursor: pointer; transition: border-color .2s, background .2s; }
.qz-opt:hover { border-color: #3d5f8f; }
.qz-opt input { position: absolute; left: 20px; top: 20px; width: 18px; height: 18px; margin: 0; accent-color: var(--blue); cursor: pointer; }
.qz-opt:has(input:checked) { border-color: var(--blue); background: #97c1ff14; }
.qz-opt:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.qz-opt-t { font-size: 15px; line-height: 1.35; font-weight: 600; color: var(--white); }
.qz-opt-c { font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.qz-opt:has(input:checked) .qz-opt-c { color: #d7e0ee; }
.qz-hour-out { margin-top: 22px; font-size: 14px; color: var(--muted); }
.qz-hour-out output { font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: -.03em; color: var(--white); }
.qz-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; }
.qz-back, .qz-redo { min-height: 43px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 30px; background: none; color: var(--muted); font: 600 13px var(--body); transition: border-color .2s, color .2s; }
.qz-back:hover, .qz-redo:hover { border-color: #3d5f8f; color: var(--white); }
.qz-back[disabled] { visibility: hidden; }
.qz-next[disabled] { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; background: var(--white); }
.qz:not(.qz-on) .qz-top, .qz:not(.qz-on) .qz-progress, .qz:not(.qz-on) .qz-nav, .qz:not(.qz-on) .qz-result { display: none; }
.qz-on .qz-step:not(.is-current) { display: none; }
.qz-on .qz-step + .qz-step { margin-top: 0; }
.qz-on:not(.qz-done) .qz-result, .qz-done .qz-form, .qz-done .qz-top { display: none; }
.qz-result { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 18px; margin-top: 26px; }
.qz-bill, .qz-deal, .qz-price-card { min-width: 0; padding: 30px 28px; border-radius: var(--radius); }
.qz-bill { grid-row: 1 / 3; border: 1px solid var(--line); background: linear-gradient(160deg, #141017, var(--bg) 60%); }
.qz-bill h3.stat-label { font-size: 10px; font-weight: 600; }
.qz-bill h3:focus { outline: none; }
.qz-bill .big-number { margin-top: 18px; color: var(--copper); }
.qz-bill .big-number small { margin-left: 6px; font-size: .38em; letter-spacing: 0; font-weight: 600; color: var(--muted); }
.qz-year { margin-top: 10px; font-size: 14px; color: var(--muted); }
.qz-year strong { color: var(--white); font-variant-numeric: tabular-nums; }
.qz-break { display: grid; gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }
.qz-break li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; font-size: 13px; color: var(--muted); }
.qz-break b { color: var(--white); font-variant-numeric: tabular-nums; }
.qz-break i { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.qz-break i span { display: block; width: 0; height: 100%; border-radius: 6px; background: var(--copper); transition: width .6s; }
.qz-cap { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.qz-cap h3, .qz-deal h3 { font-size: 16px; line-height: 1.35; font-weight: 600; }
.qz-cap-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 14px; margin-top: 16px; }
.qz-cap-grid div { display: grid; align-content: start; gap: 4px; }
.qz-cap-grid strong { font-family: var(--display); font-size: 26px; line-height: 1; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.qz-cap-grid span { font-size: 11.5px; line-height: 1.4; color: var(--muted); }
.qz-cap-grid .qz-alert strong { color: var(--copper); }
.qz-deal { border: 1px solid #2c4a7a; background: linear-gradient(160deg, #0d1f3c, var(--surface) 70%); box-shadow: 0 40px 80px -40px #3878ed66; }
.qz-vs { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 13.5px; line-height: 1.5; color: #d7e0ee; }
.qz-vs li { position: relative; padding-left: 22px; }
.qz-vs li::before { content: '✓'; position: absolute; left: 0; top: 0; font-weight: 700; color: var(--blue); }
.qz-vs b { color: var(--white); }
.qz-price-card { border: 1px solid #2c4a7a; background: linear-gradient(160deg, #0d1f3c, var(--surface) 70%); box-shadow: 0 40px 80px -40px #3878ed66; }
.qz-price-q { margin: 0; font-family: var(--display); font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; font-weight: 700; letter-spacing: -.03em; color: var(--white); }
.qz-price-q label { display: block; cursor: pointer; }
.qz-price-out { margin-top: 18px; font-size: 13px; color: var(--muted); }
.qz-price-out output { font-family: var(--display); font-size: 26px; font-weight: 700; letter-spacing: -.02em; color: var(--white); }
.qz-wow { margin-top: 20px; font-size: 17px; line-height: 1.5; font-weight: 600; color: #d7e0ee; }
.qz-wow strong { color: var(--blue); }
.qz-price-card .button { width: 100%; margin-top: 22px; }
.qz-redo { width: 100%; margin-top: 10px; }
.qz-src { grid-column: 1 / -1; }
.qz-src summary { cursor: pointer; font-size: 12px; font-weight: 600; color: var(--muted); }
.qz-src p, .qz-src ul { margin-top: 10px; font-size: 11px; line-height: 1.75; color: var(--muted); }
.qz-src ul { padding-left: 18px; }
.qz-src a { text-decoration: underline; text-underline-offset: 2px; }
.qz-src a:hover { color: var(--blue); }
@media (prefers-reduced-motion: no-preference) {
  .qz-on .qz-step.is-current, .qz-done .qz-result { animation: qz-in .35s ease both; }
  .qz-run.is-bumped strong { animation: qz-bump .45s ease; }
}
@keyframes qz-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes qz-bump { 40% { transform: scale(1.08); color: var(--white); } }
@media (max-width: 900px) {
  .qz-result { grid-template-columns: 1fr; }
  .qz-bill { grid-row: auto; }
  .qz-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .qz { padding: 24px 18px; }
  .qz-opts { grid-template-columns: 1fr; }
  .qz-opt { padding: 16px 16px 16px 46px; }
  .qz-opt input { left: 16px; top: 18px; }
  .qz-run { justify-items: start; }
  .qz-bill, .qz-deal, .qz-price-card { padding: 24px 20px; }
  .qz-cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Team sizing, last quiz step (2026-09-23): leads per day + hours suggest the counts; capacity line per row. */
.eco-size { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 16px 20px; padding: 20px 26px 18px; border-bottom: 1px solid var(--line); }
.eco-field { display: grid; gap: 8px; align-content: start; }
.eco-field > label, .eco-hours legend { padding: 0; font-size: 11.5px; line-height: 1.4; color: var(--muted); font-weight: 500; }
.eco-hours { min-width: 0; margin: 0; padding: 0; border: 0; }
.eco-hours legend { margin-bottom: 8px; }
.eco-hours-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.eco-hours label { position: relative; display: block; cursor: pointer; }
.eco-hours input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.eco-hours label > span { display: grid; place-items: center; align-content: center; min-height: 48px; padding: 6px 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); font: 600 14px var(--body); color: var(--white); text-align: center; line-height: 1.15; transition: border-color .2s, background .2s; }
.eco-hours label > span small { display: block; margin-top: 3px; font-size: 10.5px; font-weight: 400; color: var(--muted); }
.eco-hours label:hover > span { border-color: #3d5f8f; }
.eco-hours input:checked + span { border-color: var(--blue); background: #97c1ff14; }
.eco-hours input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.eco-flow { grid-column: 1 / -1; margin: 0; font-size: 12.5px; line-height: 1.5; color: #d7e0ee; font-variant-numeric: tabular-nums; }
.team-table tbody th .cap-line { display: block; margin-top: 4px; font-size: 11px; line-height: 1.4; font-weight: 500; color: var(--blue); font-variant-numeric: tabular-nums; }
.count-out { display: inline-grid; place-items: center; width: 58px; height: 38px; border: 1px dashed #3878ed66; border-radius: 10px; background: #3878ed14; color: var(--blue); font-family: var(--display); font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .eco-size { grid-template-columns: 1fr; padding: 18px 16px 16px; }
  .count-out { width: 50px; }
  .team-table tbody th .cap-line { font-size: 10.5px; }
}
.qz-team { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 18px; margin-top: 22px; align-items: start; }
.qz-team .cost-summary { padding: 28px 26px; }
.reg { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.reg label { position: relative; display: block; cursor: pointer; }
.reg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.reg span { display: block; min-width: 40px; padding: 8px 8px; border-radius: 7px; font: 600 12px var(--body); line-height: 1.2; color: var(--muted); text-align: center; transition: background .2s, color .2s; }
.reg label:hover span { color: var(--white); }
.reg input:checked + span { background: #97c1ff24; color: var(--white); box-shadow: inset 0 0 0 1px var(--blue); }
.reg input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.count-cell { display: grid; justify-items: center; gap: 4px; }
.count-hint { padding: 2px 0; border: 0; background: none; font: 500 10.5px var(--body); color: var(--muted); white-space: nowrap; cursor: pointer; }
.count-hint b { font-weight: 700; color: var(--blue); }
.count-hint:hover { color: var(--white); text-decoration: underline; }
.team-table tfoot td.team-note { font-family: var(--body); font-size: 12px; font-weight: 400; color: var(--muted); }
.qz-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px 26px; }
.qz-two .big-number { font-size: clamp(30px, 3vw, 44px); }
.qz-need .big-number { color: var(--blue); }
.qz-need .qz-redo { width: auto; margin-top: 12px; }
.qz-two-note { margin-top: 14px; font-size: 11.5px; line-height: 1.55; color: var(--muted); }
@media (max-width: 1150px) { .qz-team { grid-template-columns: 1fr; } }
/* Phones: each role becomes a card (name + regime / people + value); inputs at 16px so iOS does not zoom. */
@media (max-width: 640px) {
  #qz-team, #qz-team tbody, #qz-team tfoot, #qz-team caption { display: block; }
  #qz-team thead { display: none; }
  #qz-team tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; align-items: center; padding: 14px 16px; border-top: 1px solid var(--line); }
  #qz-team th, #qz-team td { padding: 0; border: 0; }
  #qz-team tbody th span.cap-line { display: block; }
  #qz-team .count-cell { justify-items: start; }
  #qz-team .salary-input { width: 76px; font-size: 16px; }
  #qz-team tfoot tr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; background: var(--surface-high); }
  #qz-team tfoot td.team-note { text-align: left; }
  .qz-team .cost-summary { padding: 24px 18px; }
}
