:root {
  --canvas: #031430;
  --panel: #071d3d;
  --panel-2: #0c2750;
  --line: #1a3a63;
  --line-strong: #2d5687;
  --control-line: #5b84b8;
  --error: #ff8a80;
  --accent: #4aa8ff;
  --accent-hover: #7cc2ff;
  --accent-ink: #031430;
  --accent-muted: #9fd3ff;
  --glow: #3fb0ff;
  --blue: #2a7bd6;
  --text-primary: #eef5fc;
  --text-secondary: #b4cbe3;
  --text-muted: #8ea9c8;
  --tshadow: 0 1px 2px rgba(1, 8, 22, .95), 0 0.1875rem 0.875rem rgba(1, 8, 22, .8), 0 0.625rem 2.75rem rgba(1, 8, 22, .8);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; overflow-x: clip; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
  background: var(--canvas);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1.062rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 0.1875rem; border-radius: 0.25rem; }
.skip { position: absolute; left: 1rem; top: -60px; background: var(--accent); color: var(--accent-ink); padding: 0.5rem 0.75rem; border-radius: 0.375rem; z-index: 100; }
.skip:focus { top: 0.75rem; }
.mono { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.wrap { width: min(73.75rem, 100% - 2rem); margin-inline: auto; }

/* ambient layer: fixed, slow, always behind everything */
.ambient {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vmax 60vmax at 80% 10%, rgba(74, 168, 255, .12), transparent 60%),
    radial-gradient(50vmax 50vmax at 10% 80%, rgba(63, 176, 255, .06), transparent 60%),
    linear-gradient(rgba(45, 86, 135, .12) 1px, transparent 1px) 0 0 / 3.5rem 3.5rem,
    linear-gradient(90deg, rgba(45, 86, 135, .12) 1px, transparent 1px) 0 0 / 3.5rem 3.5rem;
  animation: drift 70s linear infinite;
}
@keyframes drift { from { background-position: 0 0, 0 0, 0 0, 0 0; } to { background-position: 0 0, 0 0, 35rem 35rem, 35rem 35rem; } }

/* top bar */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: var(--topbar-bg); -webkit-backdrop-filter: blur(0.625rem); backdrop-filter: blur(0.625rem); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; gap: 1.25rem; min-height: 3.75rem; }
.brand { display: flex; align-items: center; gap: 0.625rem; text-decoration: none; font-family: var(--font-display); font-weight: 600; margin-right: auto; }
.brand-logo { height: 2.875rem; width: auto; flex: none; border-radius: 0.5rem; }
.brand { white-space: nowrap; }
@media (max-width: 480px) { .brand { font-size: 15px; gap: 8px; } .topbar .btn { padding: 8px 14px; min-height: 40px; } }
.nav { display: flex; gap: 1.125rem; }
.nav a { text-decoration: none; color: var(--text-secondary); font-size: 0.9375rem; white-space: nowrap; }
@media (max-width: 1100px) { .nav { gap: 14px; } .nav a { font-size: 14px; } }
.nav a:hover { color: var(--text-primary); }
@media (max-width: 720px) { .nav a:not(.nav-cta) { display: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.75rem; padding: 0.625rem 1.25rem; border-radius: 0.5rem; border: 1px solid transparent;
  background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--text-primary); border-color: var(--control-line); }
.btn.ghost:hover { border-color: var(--accent); }
@media (pointer: coarse) { .btn, .topbar .btn, .menu-btn { min-height: 44px; } }

/* hero */
.hero { position: relative; height: 680vh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #031430; }
.poster, #hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.poster { object-position: center; filter: saturate(.9); }
#hero-video { opacity: 0; transition: opacity .8s var(--ease); pointer-events: none; filter: saturate(.9); }
.video-ready #hero-video { opacity: 1; }
.scrim { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 120% 90% at 50% 45%, rgba(3, 20, 48, 0) 35%, rgba(3, 20, 48, .62) 100%); }
.bands { position: absolute; inset: 0; pointer-events: none; }
.band {
  position: absolute; top: 50%; width: min(36vw, 32.5rem);
  transform: translateY(-50%);
  opacity: 0; text-shadow: var(--tshadow);
}
.band::before {
  content: ""; position: absolute; inset: -12% -18%; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(2, 12, 30, .62) 0%, rgba(2, 12, 30, .42) 50%, rgba(2, 12, 30, 0) 80%);
}
.band-l { left: 6vw; }
.band-r { right: 6vw; text-align: right; }
.band .mono { color: var(--text-secondary); display: block; margin-bottom: 0.875rem; text-shadow: var(--tshadow); }
.band h2 { font-size: clamp(1.625rem, 3.6vw, 3.25rem); font-weight: 600; }
.band-end { left: 50%; top: auto; bottom: 9vh; transform: translateX(-50%); text-align: center; width: min(40rem, 92vw); }
.band-end h2 { font-size: clamp(1.625rem, 3.4vw, 2.875rem); }
.band-end p { margin: 0.75rem auto 1.375rem; color: var(--text-secondary); text-shadow: var(--tshadow); max-width: 46ch; }
.band-end .btn { pointer-events: auto; }
.cue { position: absolute; left: 50%; bottom: 3vh; transform: translateX(-50%); color: var(--text-muted); }
.cue span { display: block; width: 1px; height: 1.625rem; margin: 0.5rem auto 0; background: linear-gradient(var(--accent), transparent); }
@media (max-height: 560px) { .cue { display: none; } }

/* static hero: used when the scroll film is off (phones, tablets, reduced motion) */
.hero-static { display: none; }
html:not(.scrub-on) .hero { height: auto; }
html:not(.scrub-on) .stage { position: relative; height: auto; min-height: 92vh; display: flex; align-items: center; background: #031430; }
html:not(.scrub-on) .poster { position: absolute; }
html:not(.scrub-on) .scrim { background: linear-gradient(180deg, rgba(3, 20, 48, .35), rgba(3, 20, 48, .8)); }
html:not(.scrub-on) .bands, html:not(.scrub-on) #hero-video, html:not(.scrub-on) .cue { display: none; }
html:not(.scrub-on) .hero-static { display: block; position: relative; z-index: 1; padding: 7.5rem 0 4.5rem; max-width: 42.5rem; margin-left: 6vw; }
html:not(.scrub-on) .band-end { display: none; }
html.scrub-on .hero-static { display: none; }

.hero-static h1 { font-size: clamp(1.875rem, 6vw, 3.5rem); font-weight: 600; text-shadow: var(--tshadow); }
.hero-static p { margin: 0.875rem 0 1.5rem; color: var(--text-secondary); text-shadow: var(--tshadow); max-width: 40ch; }

/* sections */
section.block { position: relative; padding: 6.875rem 0; }
section.block + section.block { border-top: 1px solid var(--line); }
.block h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); font-weight: 600; margin: 0.75rem 0 1.125rem; max-width: 24ch; }
.lede { color: var(--text-secondary); max-width: 60ch; }
.reveal { opacity: 0; transform: translateY(1.125rem); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

.pains { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.pain { background: var(--panel); border: 1px solid var(--line); border-radius: 0.75rem; padding: 1.375rem; }
.pain p { color: var(--text-secondary); }
.pain { transition: border-color .3s var(--ease), transform .3s var(--ease); }
.pain:hover { border-color: var(--accent); transform: translateY(-2px); }
.pain .mono { display: block; margin-bottom: 0.625rem; color: var(--accent-muted); }

.steps { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14.38rem, 1fr)); gap: 1rem; counter-reset: step; }
.steps li { background: var(--panel-2); border: 1px solid var(--line); border-radius: 0.75rem; padding: 1.375rem; }
.steps h3 { font-size: 1.25rem; font-weight: 600; margin: 0.5rem 0 0.5rem; }
.steps p { color: var(--text-secondary); }
.steps .mono { color: var(--accent); }

.method-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.5rem; align-items: center; }
@media (max-width: 860px) { .method-grid { grid-template-columns: 1fr; gap: 32px; } }
.eye-line { width: 100%; max-width: 26.25rem; height: auto; justify-self: center; }
.eye-line path { fill: none; stroke: var(--accent-muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.eye-line .iris { stroke: var(--glow); }
.eye-line .pupil { stroke: var(--blue); }

/* what the diagnosis delivers: a plain disclosure, readable by everyone */
.hold { margin-top: 3rem; }
.hold summary {
  display: inline-flex; align-items: center; min-height: 3.25rem; padding: 0.75rem 1.375rem; border-radius: 0.625rem;
  border: 1px solid var(--control-line); background: var(--panel); font-weight: 600; cursor: pointer; list-style: none;
}
.hold summary::-webkit-details-marker { display: none; }
.hold summary:hover { border-color: var(--accent); }
.hold-out { display: grid; grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); gap: 0.75rem; margin-top: 1.125rem; }
.hold-out div { border: 1px solid var(--line); border-radius: 0.625rem; padding: 1rem; background: var(--panel); }
.hold-out strong { display: block; font-family: var(--font-display); font-weight: 600; margin-bottom: 0.25rem; }
.hold-out span { color: var(--text-secondary); font-size: 0.9375rem; }

details.faq { border-bottom: 1px solid var(--line); padding: 1.125rem 0; }
details.faq summary { cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 1.188rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--accent); font-size: 1.5rem; line-height: 1; transition: transform .3s var(--ease); }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq p { color: var(--text-secondary); margin-top: 0.625rem; max-width: 62ch; }
.faq-list { margin-top: 2.25rem; max-width: 47.5rem; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.5rem; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
form.lead { background: var(--panel); border: 1px solid var(--line); border-radius: 0.875rem; padding: 1.625rem; display: grid; gap: 0.875rem; }
form.lead label { display: grid; gap: 0.375rem; font-size: 0.875rem; color: var(--text-secondary); }
form.lead input, form.lead select, form.lead textarea {
  width: 100%; padding: 0.6875rem 0.75rem; border-radius: 0.5rem; border: 1px solid var(--control-line); background: var(--canvas); color: var(--text-primary);
}
form.lead input:focus, form.lead select:focus, form.lead textarea:focus { border-color: var(--accent); outline: none; }
form.lead textarea { min-height: 6rem; resize: vertical; }
.form-msg { color: var(--accent-muted); min-height: 1.5rem; font-size: 0.9375rem; }
.field-error { display: block; color: var(--error); font-size: 0.875rem; }

footer { border-top: 1px solid var(--line); padding: 2.5rem 0 3.5rem; color: var(--text-muted); font-size: 0.875rem; margin-left: 15rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
footer .foot-logo { height: 3.5rem; width: auto; border-radius: 0.5rem; }

/* small screens */
@media (max-width: 720px) {
  section.block { padding: 5.25rem 0; }
  .wrap { width: min(73.75rem, 100% - 2rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ambient { animation: none; }
  .hold-out div { transition: none; }
  #hero-video { transition: none; }
}
/* sidebar layout: menu on the left, search in the top bar */
.sidebar { position: fixed; top: 0; bottom: 0; left: 0; width: 15rem; z-index: 60; display: flex; flex-direction: column; gap: 0.375rem; padding: 1.625rem 1.125rem; background: var(--sidebar-bg); border-right: 1px solid var(--line); }
.sidebar .brand { padding: 0 0.5rem; margin-bottom: 1.625rem; }
.sidebar nav { display: flex; flex-direction: column; gap: 2px; }
.sidebar nav a { display: block; padding: 0.625rem 0.75rem; border-radius: 0.5rem; color: var(--text-secondary); text-decoration: none; font-size: 0.9375rem; transition: background .2s var(--ease), color .2s var(--ease); }
.sidebar nav a:hover { background: var(--panel-2); color: var(--text-primary); }
.sidebar .side-foot { margin-top: auto; padding: 0 0.5rem; color: var(--text-muted); font-size: 0.8125rem; line-height: 1.6; }
main#main { margin-left: 15rem; }
.topbar { left: 15rem; }
.topbar .brand { margin-right: 0; }
.brand-m { display: none; }
.menu-btn { display: none; }
.search { position: relative; flex: 1; max-width: 28.75rem; margin-left: auto; }
.search input[type=search] { width: 100%; padding: 0.625rem 0.875rem; border-radius: 0.5rem; border: 1px solid var(--control-line); background: var(--canvas); color: var(--text-primary); }
.search input[type=search]:focus { border-color: var(--accent); outline: none; }
.results { position: absolute; top: calc(100% + 0.5rem); left: 0; right: 0; display: none; max-height: 60vh; overflow: auto; padding: 0.375rem; background: var(--panel); border: 1px solid var(--line-strong); border-radius: 0.625rem; box-shadow: 0 1.125rem 2.5rem rgba(0, 0, 0, .45); z-index: 70; }
.results.open { display: block; }
.results button { display: block; width: 100%; padding: 0.625rem 0.75rem; border: 0; border-radius: 0.5rem; background: none; text-align: left; color: inherit; }
.results button[aria-selected="true"], .results button:hover { background: var(--panel-2); }
.results .sec { display: block; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-muted); }
.results .txt { display: block; color: var(--text-secondary); font-size: 0.875rem; line-height: 1.5; }
.results .none { padding: 0.625rem 0.75rem; color: var(--text-muted); font-size: 0.875rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.flash { outline: 2px solid var(--accent); outline-offset: 0.375rem; border-radius: 0.5rem; }
@media (max-width: 899px) {
  .sidebar { display: none; }
  /* the open menu scrolls and sits under the top bar, so its Menu button stays tappable to close it */
  .sidebar.open { display: flex; overflow-y: auto; overscroll-behavior: contain; padding-top: 4.75rem; }
  .menu-btn { display: inline-flex; }
  .topbar { left: 0; z-index: 65; }
  main#main, footer { margin-left: 0; }
  .brand-m { display: flex; }
  .topbar .wrap { gap: 0.75rem; }
}
@media (max-width: 720px) { .topbar .nav-cta { display: none; } }
/* product buttons and dialog */
.card-actions { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-top: 1.125rem; }
.card-actions .btn { min-height: 2.625rem; padding: 0.5625rem 1rem; font-size: 0.9375rem; }
.prod-dialog { width: min(47.5rem, 94vw); max-height: 90vh; padding: 0; border: 1px solid var(--line-strong); border-radius: 1rem; background: var(--panel); color: var(--text-primary); box-shadow: 0 1.875rem 5rem rgba(0, 0, 0, .5); }
.prod-dialog::backdrop { background: rgba(2, 12, 30, .65); }
.prod-close { position: absolute; top: 0.875rem; right: 0.875rem; min-height: 2.25rem; padding: 0.375rem 0.75rem; }
.prod-body { padding: 1.875rem; display: grid; gap: 0.875rem; }
.prod-body h3 { font-size: 1.625rem; font-weight: 600; padding-right: 5.625rem; }
.prod-body p { color: var(--text-secondary); }
.prod-body video { width: 100%; border-radius: 0.625rem; background: #031430; aspect-ratio: 16 / 9; }
.prod-caption { color: var(--text-muted); font-size: 0.875rem; }
.prod-actions { display: flex; flex-wrap: wrap; gap: 0.625rem; justify-content: flex-end; }
.theme-btn { min-height: 2.5rem; padding: 0.5rem 0.875rem; font-size: 0.875rem; }

/* light and dark themes: the film stays dark in both, so its text keeps its contrast */
.stage { color: var(--text-primary); --text-primary: #eef5fc; --text-secondary: #b4cbe3; --text-muted: #8ea9c8; --accent: #4aa8ff; --accent-hover: #7cc2ff; --accent-ink: #031430; --tshadow: 0 1px 2px rgba(1, 8, 22, .95), 0 0.1875rem 0.875rem rgba(1, 8, 22, .8), 0 0.625rem 2.75rem rgba(1, 8, 22, .8); }
:root { --topbar-bg: rgba(3, 20, 48, .72); --sidebar-bg: #031430; }
:root[data-theme="light"] {
  --canvas: #f3f7fb; --panel: #ffffff; --panel-2: #e6eef8; --line: #cfdcea; --line-strong: #93b3d4; --control-line: #5a7fa8; --error: #b42318;
  --accent: #1d5fb8; --accent-hover: #164c94; --accent-ink: #ffffff; --accent-muted: #1d5fb8; --glow: #2b87d6; --blue: #1d5fb8;
  --text-primary: #0b1f38; --text-secondary: #2f4d6e; --text-muted: #4a6684; --tshadow: none;
  --topbar-bg: rgba(255, 255, 255, .88); --sidebar-bg: #ffffff; color-scheme: light;
}
/* top menu with submenus, region and contact */
.topnav { display: flex; align-items: center; gap: 2px; }
.topnav > a, .dd-btn { background: none; border: 0; color: var(--text-secondary); padding: 0.5rem 0.625rem; border-radius: 0.5rem; font-size: 0.9375rem; text-decoration: none; min-height: 2.5rem; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; }
.topnav > a:hover, .dd-btn:hover { color: var(--text-primary); background: var(--panel-2); }
.dd { position: relative; }
.dd-btn::after { content: ""; display: inline-block; width: 0.375rem; height: 0.375rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin: 0 0 0.1875rem 0.5rem; }
.dd-panel { position: absolute; top: calc(100% + 0.375rem); left: 0; min-width: 14.38rem; display: none; flex-direction: column; gap: 2px; padding: 0.5rem; background: var(--panel); border: 1px solid var(--line-strong); border-radius: 0.75rem; box-shadow: 0 1.125rem 2.5rem rgba(0, 0, 0, .35); z-index: 80; }
.dd:hover .dd-panel, .dd.open .dd-panel { display: flex; }
.dd-panel a { padding: 0.625rem 0.75rem; border-radius: 0.5rem; color: var(--text-primary); text-decoration: none; font-size: 0.9375rem; }
.dd-panel a:hover { background: var(--panel-2); }
.region { display: inline-flex; align-items: center; gap: 0.375rem; color: var(--text-secondary); font-size: 0.875rem; white-space: nowrap; }
.region svg { width: 1.125rem; height: 1.125rem; }
@media (max-width: 1100px) { .topnav, .region { display: none; } }
/* short sales clips inside the service cards */
.card-video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0.625rem; background: #031430; margin-bottom: 1rem; }/* privacy policy text */
.policy { max-width: 47.5rem; background: var(--panel); border: 1px solid var(--line); border-radius: 0.875rem; padding: 1.875rem; margin-top: 1.75rem; }
.policy h3 { font-size: 1.188rem; font-weight: 600; margin: 1.625rem 0 0.5rem; }
.policy p, .policy li { color: var(--text-secondary); font-size: 1rem; }
.policy ul { padding-left: 1.25rem; margin: 0.5rem 0 0; }
.policy li { margin-bottom: 0.5rem; }
.policy-date { margin-top: 1.75rem; color: var(--text-muted); font-size: 0.875rem; }

/* cookie notice: first layer banner and second layer preferences */
.cookie-banner {
  position: fixed; left: 15rem; right: 0; bottom: 0; z-index: 90;
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  padding: 1.125rem 1.5rem; background: var(--panel); border-top: 1px solid var(--line-strong);
  box-shadow: 0 -12px 1.875rem rgba(0, 0, 0, .25);
}
.cookie-banner[hidden] { display: none; }
/* on phones the cookie banner sits under the open menu, so the menu links are never hidden */
@media (max-width: 899px) { .cookie-banner { left: 0; z-index: 55; } }
@media (max-width: 720px) {
  .cookie-banner { padding: 0.875rem 1rem; gap: 0.75rem; }
  .cookie-text p { font-size: 0.875rem; }
  .cookie-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .cookie-actions .btn { min-height: 2.75rem; padding: 0.5rem 0.375rem; font-size: 0.875rem; }
}
.cookie-text { max-width: 62ch; }
.cookie-text strong { display: block; font-family: var(--font-display); font-weight: 600; margin-bottom: 0.25rem; }
.cookie-text p { color: var(--text-secondary); font-size: 0.9375rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.625rem; }
.cookie-actions .btn { min-height: 2.75rem; }
.cookie-cat { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.875rem 0; border-bottom: 1px solid var(--line); }
.cookie-cat strong { display: block; font-family: var(--font-display); font-weight: 600; }
.cookie-cat span { display: block; color: var(--text-secondary); font-size: 0.875rem; }
.cookie-cat input { width: 1.25rem; height: 1.25rem; flex: none; accent-color: var(--accent); }
.cookie-always { color: var(--text-muted); font-size: 0.8125rem; white-space: nowrap; }

/* method section: the G7 video replaces the eye drawing */
.method-video { margin: 0; justify-self: center; width: 100%; max-width: 35rem; }
.method-video video { width: 100%; aspect-ratio: 16 / 9; border-radius: 0.75rem; background: var(--canvas); border: 1px solid var(--line); }
.method-video figcaption { margin-top: 0.625rem; font-size: 0.875rem; color: var(--text-muted); }

/* vCISO 360 page */
.page-hero { position: relative; padding: 9.375rem 0 5.5rem; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.5rem); font-weight: 600; margin: 0.875rem 0 1.25rem; max-width: 22ch; }
.page-hero .lede { font-size: 1.188rem; }
.page-hero .lede + .lede { margin-top: 0.75rem; }
.crumbs { font-size: 0.875rem; color: var(--text-muted); }
.crumbs a { color: var(--text-secondary); }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.checks { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: 0.75rem; max-width: 70ch; }
.checks li { position: relative; padding-left: 1.625rem; color: var(--text-secondary); }
.checks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 0.5625rem; height: 0.5625rem; border-radius: 50%; background: var(--accent); }
.area-list { list-style: none; padding: 0; margin: 0.875rem 0 0; display: grid; gap: 0.375rem; color: var(--text-secondary); font-size: 0.9375rem; }
.area-list li { position: relative; padding-left: 1rem; }
.area-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 0.375rem; height: 1.5px; background: var(--accent); }
a.pain { display: block; text-decoration: none; color: inherit; }
a.pain:hover { border-color: var(--accent); }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16.25rem, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: 0.875rem; padding: 1.625rem; display: flex; flex-direction: column; gap: 0.875rem; }
.plan h3 { font-size: 1.375rem; font-weight: 600; }
.plan > p { color: var(--text-secondary); }
.plan ul { padding-left: 1.25rem; margin: 0; color: var(--text-secondary); font-size: 0.9375rem; display: grid; gap: 0.375rem; }
.plan .btn { margin-top: auto; }
.plan-note { margin-top: 1.5rem; color: var(--text-muted); font-size: 0.875rem; max-width: 70ch; }
.ref-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0.75rem; }
.ref-list li { background: var(--panel); border: 1px solid var(--line); border-radius: 0.75rem; padding: 1.125rem; color: var(--text-secondary); font-size: 0.9375rem; }
.ref-list strong { display: block; font-family: var(--font-display); color: var(--text-primary); font-weight: 600; margin-bottom: 0.25rem; }
.ref-logo { display: flex; align-items: center; justify-content: center; height: 3.25rem; margin-bottom: 0.75rem; padding: 0.5rem 0.75rem; background: #ffffff; border-radius: 0.5rem; }
.ref-logo img { display: block; width: auto; height: auto; max-width: 100%; max-height: 2rem; filter: brightness(0); }
.iso-note-logo { display: inline-block; width: auto; height: 1.5rem; margin-right: 0.5rem; vertical-align: middle; }
.faq-list { margin-top: 2.25rem; max-width: 47.5rem; }

/* simplified sidebar: services as a sub-list under the main item */
.sidebar nav .sub { display: flex; flex-direction: column; gap: 2px; margin: 2px 0 0.375rem 0.75rem; padding-left: 0.625rem; border-left: 1px solid var(--line); }
.sidebar nav .sub a { font-size: 0.875rem; padding: 0.4375rem 0.625rem; }

/* footer: brand, service and policy links, copyright */
.site-footer { padding: 4rem 0 1.75rem; border-top: 1px solid var(--line); margin-left: 15rem; color: var(--text-muted); font-size: 0.875rem; }
.site-footer .foot-grid { display: grid; grid-template-columns: minmax(14.38rem, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2.25rem; align-items: start; }
.foot-id { display: inline-flex; align-items: center; gap: 0.875rem; text-decoration: none; color: var(--text-primary); font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; }
.foot-id .foot-logo { height: 4.25rem; width: auto; flex: none; border-radius: 0.5rem; box-shadow: 0 0 0 1px var(--line); }
.foot-brand p { margin-top: 1rem; max-width: 34ch; line-height: 1.6; }
.foot-title { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-secondary); margin: 0 0 0.875rem; font-weight: 500; }
.foot-col { display: grid; gap: 0.6875rem; }
.foot-col a { display: inline-flex; align-items: center; gap: 0.625rem; width: fit-content; color: var(--text-secondary); text-decoration: none; }
.foot-col a:hover { color: var(--text-primary); }
.foot-col svg { width: 1.125rem; height: 1.125rem; flex: none; color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.625rem 1.5rem; margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.foot-bottom p { margin: 0; }
@media (max-width: 899px) {
  .site-footer { margin-left: 0; }
  .site-footer .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .site-footer .foot-grid { grid-template-columns: 1fr; } }

/* vertical videos in the service dialog keep their shape */
.prod-body video[data-format="portrait"] { aspect-ratio: 9 / 16; width: min(100%, 18.75rem); justify-self: center; }

/* vCISO page: the presentation video under the headline */
.hero-video { margin: 2rem auto 0; max-width: 20rem; text-align: center; }
.hero-video video { width: 100%; aspect-ratio: 9 / 16; height: auto; border-radius: 0.75rem; background: var(--canvas); border: 1px solid var(--line); }
.hero-video figcaption { margin-top: 0.625rem; font-size: 0.875rem; color: var(--text-muted); }
.cta-row.center { justify-content: center; }

/* ===== vCISO page: justified, editorial, modern ===== */
.polished p,
.polished li,
.polished .lede,
.polished .faq p,
.polished .plan-note,
.polished .prod-caption { text-align: justify; text-justify: inter-word; -webkit-hyphens: auto; hyphens: auto; -webkit-hyphens: auto; }
.polished .lede { font-size: 1.125rem; line-height: 1.72; max-width: 68ch; }
.polished .lede-gap { margin-top: 1.75rem; }
.polished .lede-gap-sm { margin-top: 1rem; }
.polished .card-title { font-size: 1.25rem; font-weight: 600; margin: 0 0 0.5rem; }
.polished .card-title-lg { font-size: 1.375rem; font-weight: 600; margin: 2.5rem 0 1rem; }
.polished h1, .polished h2, .polished h3 { text-wrap: balance; }
.polished .mono { color: var(--accent-muted); }

.polished .page-hero {
  padding-bottom: 6rem;
  background:
    radial-gradient(60vmax 42vmax at 88% -8%, rgba(74, 168, 255, .20), transparent 62%),
    radial-gradient(44vmax 32vmax at -4% 100%, rgba(63, 176, 255, .10), transparent 70%);
}
.polished .page-hero h1 {
  font-size: clamp(2.125rem, 4.8vw, 3.75rem);
  line-height: 1.06;
  background: linear-gradient(100deg, var(--text-primary) 35%, var(--accent-muted));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.polished .hero-video video { box-shadow: 0 1.875rem 5rem rgba(1, 8, 22, .6); }

.polished .block { padding: 7.5rem 0; }
.polished .block h2 { max-width: 26ch; margin-inline: 0; }

.polished .pain {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.polished .pain:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 1.125rem 2.5rem rgba(1, 8, 22, .45);
}

.polished .checks li { padding-left: 1.875rem; }
.polished .checks li::before { box-shadow: 0 0 0 0.25rem rgba(74, 168, 255, .18); }

.polished .steps { position: relative; }
.polished .steps li { position: relative; }
.polished .steps li .mono { display: inline-block; padding: 0.25rem 0.625rem; border: 1px solid var(--line-strong); border-radius: 62.44rem; }

.polished .plan { transition: transform .35s var(--ease), border-color .35s var(--ease); }
.polished .plan:hover { transform: translateY(-4px); border-color: var(--accent); }
.polished .plan-grid .plan:nth-child(2) { box-shadow: inset 0 0 0 1px var(--accent); }

.polished .faq-list details.faq { transition: border-color .3s var(--ease); }
.polished .faq-list details.faq[open] { border-bottom-color: var(--accent); }

.polished .cta-row .btn { min-width: 13.75rem; }

@media (prefers-reduced-motion: reduce) {
  .polished .pain, .polished .plan { transition: none; }
  .polished .pain:hover, .polished .plan:hover { transform: none; }
}
@media (max-width: 720px) {
  .polished .block { padding: 5.25rem 0; }
  .polished .page-hero { padding-bottom: 4.5rem; }
  .polished .cta-row .btn { min-width: 0; width: 100%; }
}

/* ===== Mobile navigation: sticky action, 44px touch targets, search that opens on tap ===== */
.cta-bar { display: none; }
@media (max-width: 720px) {
  .cta-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    padding: 0.625rem 1rem calc(0.625rem + env(safe-area-inset-bottom));
    background: var(--topbar-bg); -webkit-backdrop-filter: blur(0.625rem); backdrop-filter: blur(0.625rem);
    border-top: 1px solid var(--line);
  }
  .cta-bar .btn { flex: 1; min-height: 3rem; }


  .skip { min-height: 2.75rem; display: flex; align-items: center; }
  .topbar .theme-btn { min-height: 2.75rem; }
  footer .foot-col a { min-height: 2.75rem; }
  details.faq summary, .faq summary { min-height: 2.75rem; align-items: center; }

  .search { flex: 0 0 2.75rem; max-width: none; margin-left: 0; }
  .search input[type=search] {
    width: 2.75rem; height: 2.75rem; padding: 0; color: transparent; cursor: pointer;
    background-color: var(--canvas);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237f9bbf' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: center;
  }
  .search input[type=search]::placeholder { color: transparent; }
  .search input[type=search]:focus {
    position: fixed; top: 0.5rem; left: 1rem; right: 1rem; width: auto; height: 2.75rem;
    padding: 0 0.875rem; color: var(--text-primary); background-image: none; cursor: text; z-index: 100;
  }
  .search input[type=search]:focus::placeholder { color: var(--text-muted); }
  .search:focus-within .results { position: fixed; top: 3.75rem; left: 1rem; right: 1rem; max-height: 70vh; }
}

/* logo link in the phone header: a 44px touch area */
@media (max-width: 720px) { .topbar .brand-m { min-width: 44px; min-height: 44px; justify-content: center; } }

/* hero eye: it opens on every visit and keeps a slow breath, on every screen size */
@keyframes eye-open { from { transform: scale(1.12); filter: saturate(.9) brightness(.55); } to { transform: scale(1); filter: saturate(.9) brightness(1); } }
@keyframes eye-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }
.stage .poster { animation: eye-open 2.6s var(--ease) both, eye-breathe 12s ease-in-out 2.6s infinite; }
#hero-video { animation: eye-open 2.6s var(--ease) both, eye-breathe 12s ease-in-out 2.6s infinite; }
@media (prefers-reduced-motion: reduce) { .stage .poster, #hero-video { animation: none; } }

/* maturity assessment: 18 points on five CMMI levels, inside "Como funciona" */
.maturity { margin-top: clamp(3rem, 7vw, 5rem); }
.maturity-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.maturity-side { position: sticky; top: 6.5rem; display: grid; gap: 1.5rem; }
.maturity-side h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); margin-top: 0.75rem; }
.maturity-side .lede { margin-top: 1rem; }
.mat-stat { display: grid; gap: 0.5rem; }
.mat-total { font-family: var(--font-display); font-size: clamp(3.5rem, 8vw, 5.25rem); font-weight: 600; line-height: 1; letter-spacing: -.02em; }
.mat-total small { font-size: 1.25rem; color: var(--text-muted); font-weight: 500; margin-left: 0.375rem; letter-spacing: 0; }
.mat-progress { color: var(--text-secondary); font-size: 0.9375rem; }
.mat-panel { display: grid; gap: 1.125rem; padding: 1.375rem; border: 1px solid var(--line); border-radius: 0.75rem; background: var(--panel); }
.bars { display: grid; gap: 0.875rem; }
.bar-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.375rem 0.75rem; align-items: center; }
.bar-label { grid-column: 1 / -1; font-size: 0.9375rem; color: var(--text-secondary); }
.bar-track { grid-column: 1; height: 0.5rem; border-radius: 999px; background: var(--panel-2); overflow: hidden; }
.bar-fill { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--accent); transition: width .5s var(--ease); }
.bar-value { grid-column: 2; font-family: var(--font-mono); font-size: 0.8125rem; color: var(--text-muted); min-width: 2.5rem; text-align: right; }
.mat-scale { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.375rem; margin: 0; padding: 0; list-style: none; }
.mat-scale li { display: flex; align-items: center; justify-content: center; min-height: 2.5rem; border: 1px solid var(--line-strong); border-radius: 0.5rem; font-family: var(--font-mono); font-size: 0.875rem; color: var(--text-muted); transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease); }
.mat-scale li.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.mat-result { display: grid; gap: 1rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.mat-result[hidden], .mat-level[hidden] { display: none; }
.mat-result:not([hidden]) { animation: mat-in .4s var(--ease) both; }
.mat-level h3 { font-size: 1.375rem; margin-bottom: 0.5rem; }
.mat-level p, .mat-gap { color: var(--text-secondary); }
.mat-gap strong { color: var(--text-primary); font-weight: 600; }
@keyframes mat-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.mat-form { display: grid; min-width: 0; }
.mat-q { min-width: 0; margin: 0; padding: 1.5rem 0; border: 0; border-top: 1px solid var(--line); }
.mat-q legend { display: flex; gap: 0.75rem; align-items: baseline; padding: 0; margin-bottom: 0.875rem; font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; }
.mat-q legend .mono { color: var(--accent-muted); }
.mat-opts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; }
.mat-opt { position: relative; cursor: pointer; }
.mat-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.mat-opt span { display: flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0.5rem; border: 1px solid var(--control-line); border-radius: 0.5rem; text-align: center; font-size: 0.875rem; line-height: 1.3; color: var(--text-secondary); transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease); }
.mat-opt:hover span { border-color: var(--accent); color: var(--text-primary); }
.mat-opt input:checked + span { border-color: var(--accent); background: rgba(74, 168, 255, .14); box-shadow: inset 0 0 0 1px var(--accent); color: var(--text-primary); }
.mat-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 900px) {
  .maturity-grid { grid-template-columns: minmax(0, 1fr); }
  .maturity-side { position: static; }
}
@media (max-width: 560px) {
  .mat-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .mat-result:not([hidden]), .bar-fill, .mat-scale li { animation: none; transition: none; }
}

/* desktop: no side panel, the top menu is the navigation; the phone drawer stays */
@media (min-width: 900px) {
  .sidebar { display: none; }
  main#main, .site-footer, footer { margin-left: 0; }
  .cookie-banner { left: 0; }
  .topbar { left: 0; }
  .topbar .brand-m { display: flex; }
  .menu-btn { display: none; }
  .topnav { display: flex; }
  .topbar .wrap { gap: 0.875rem; }
  .topbar .search { max-width: 15rem; }
}

/* language switch: PT / EN / ES */
.lang { display: inline-flex; align-items: center; gap: 2px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: .08em; }
.lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 2.5rem; min-height: 2.5rem; padding: 0 0.5rem; border-radius: 0.5rem; color: var(--text-secondary); text-decoration: none; }
.lang a:hover { color: var(--text-primary); background: var(--panel-2); }
.lang a[aria-current="page"] { color: var(--text-primary); background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line-strong); }
.lang-side { margin: 1rem 0 0 0.25rem; }
.lang-foot { order: 3; }
@media (max-width: 899px) { .topbar .lang { display: none; } }
@media (min-width: 900px) { .sidebar .lang-side { display: none; } .topbar .lang { display: inline-flex; } }

/* hero text: easy to read over the film */
.stage .band h2, .stage .hero-static h1 { color: #ffffff; text-shadow: 0 1px 0.1875rem rgba(0, 0, 0, .95), 0 0 1.625rem rgba(1, 8, 22, .9); }
.stage .band .mono, .stage .hero-static .mono { color: #cfe8ff; text-shadow: 0 1px 2px rgba(0, 0, 0, .95), 0 0 1rem rgba(1, 8, 22, .95); }
.stage .band p, .stage .hero-static p, .stage .band-end p { color: #e6f1fb; text-shadow: 0 1px 0.1875rem rgba(0, 0, 0, .95), 0 0 1.25rem rgba(1, 8, 22, .9); }
.stage .band::before { background: radial-gradient(ellipse 62% 62% at 50% 50%, rgba(2, 12, 30, .85) 0%, rgba(2, 12, 30, .62) 55%, rgba(2, 12, 30, 0) 84%); }

/* sun / moon theme button */
.icon-btn { width: 2.75rem; min-width: 2.75rem; padding: 0; }
.icon-btn svg { width: 1.25rem; height: 1.25rem; }
:root[data-theme="light"] .i-sun { display: none; }
:root:not([data-theme="light"]) .i-moon { display: none; }
@media (min-width: 900px) and (max-width: 1280px) { .topbar .search { max-width: 180px; } .topbar .wrap { gap: 10px; } }

/* executive top menu */
.topnav > a, .dd-btn { font-size: 0.9062rem; font-weight: 500; letter-spacing: .01em; }
.topbar .wrap { gap: 1.125rem; }
.topbar .nav-cta { min-height: 2.5rem; padding: 0.5rem 1.125rem; font-size: 0.9375rem; }
.topbar .search { max-width: 12.5rem; }
.topbar .search input[type=search] { font-size: 1rem; height: 2.5rem; }
.topbar .lang { gap: 0; padding: 0.1875rem; border: 1px solid var(--line-strong); border-radius: 62.44rem; }
.topbar .lang a { min-width: 2.375rem; min-height: 1.875rem; padding: 0 0.625rem; border-radius: 62.44rem; font-size: 0.75rem; font-weight: 600; letter-spacing: .06em; }
.topbar .lang a[aria-current="page"] { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.topbar .theme-btn { width: 2.5rem; min-width: 2.5rem; min-height: 2.5rem; height: 2.5rem; padding: 0; }
@media (min-width: 900px) { .topbar .lang { display: inline-flex; } }

/* hero buttons: readable over the film */
.stage .btn { text-shadow: none; font-weight: 700; box-shadow: 0 0.625rem 1.75rem rgba(1, 8, 22, .55); border: 1px solid #7cc2ff; }
.stage .btn:not(.ghost) { background: #4aa8ff; color: #031430; }
.stage .btn.ghost { background: rgba(3, 20, 48, .78); color: #ffffff; border-color: #cfe8ff; -webkit-backdrop-filter: blur(0.375rem); backdrop-filter: blur(0.375rem); }

/* services menu: three per row */
.dd:hover .dd-panel, .dd.open .dd-panel { display: grid; }
.dd-panel { display: grid; grid-template-columns: repeat(3, minmax(11.88rem, 1fr)); min-width: 37.5rem; gap: 0.25rem 0.375rem; }
.dd-panel a { white-space: nowrap; }

/* policies page and footer */
.policy-nav { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-top: 1.5rem; }
.policy-nav .btn { min-height: 2.625rem; }
.foot-legal { display: inline-flex; align-items: center; gap: 0.625rem; flex-wrap: wrap; }
.foot-legal a { color: var(--text-secondary); text-decoration: none; }
.foot-legal a:hover { color: var(--text-primary); text-decoration: underline; }
.foot-legal span { color: var(--text-muted); }

/* ===== responsive pass: phones and tablets, Chrome, Safari (iOS) and Edge ===== */
/* iOS zooms into any field with less than 16px text: keep fields at 1rem */
input, select, textarea { font-size: 1rem; }
/* 768px: tablets and large phones in portrait */
@media (max-width: 768px) {
  .polished .block { padding: 4.5rem 0; }
  .polished .page-hero { padding-top: 7.5rem; padding-bottom: 4.5rem; }
  .polished .plan-grid, .pains { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
  .hero-static h1 { font-size: clamp(1.9rem, 7vw, 3.5rem); }
}
/* 480px: phones */
@media (max-width: 480px) {
  .wrap { width: min(100% - 2rem, 1180px); }
  .polished .lede { font-size: 1rem; }
  .polished .plan-grid, .pains, .ref-list, .faq-list { grid-template-columns: 1fr; }
  .cookie-actions { grid-template-columns: 1fr; }
  .cta-bar .btn { width: 100%; }
  .foot-grid { grid-template-columns: 1fr; }
  .lang a { min-width: 2.5rem; }
}
/* safe areas on iPhones with a notch or home bar */
@supports (padding: env(safe-area-inset-bottom)) {
  .cta-bar { padding-bottom: calc(0.625rem + env(safe-area-inset-bottom)); }
  .site-footer { padding-bottom: calc(1.75rem + env(safe-area-inset-bottom)); }
}

/* utilities (search, language, theme) stay pinned to the right edge of the top bar */
.topbar .wrap { flex-wrap: nowrap; }
.topbar .util { display: flex; align-items: center; gap: 0.625rem; margin-left: auto; flex: 0 0 auto; }
.topbar .util .search { margin-left: 0; }
.topbar .topnav { min-width: 0; }

/* wide presentation video (landscape), same look as the vCISO video */
.hero-video.hero-video-wide { max-width: 760px; }
.hero-video.hero-video-wide video { aspect-ratio: 16 / 9; }

/* contact form: grouped fields, optional marks, consent and counter */
form.lead fieldset.lead-group { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 0.875rem; }
form.lead legend { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; padding: 0; margin-bottom: 0.25rem; color: var(--text-primary); }
form.lead .lead-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.875rem; }
form.lead .req { color: var(--error); }
form.lead .opt { color: var(--text-muted); font-size: 0.8125rem; }
form.lead .hint { color: var(--text-muted); font-size: 0.8125rem; margin: 0; text-align: right; }
form.lead label.consent { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.9375rem; color: var(--text-secondary); }
form.lead label.consent input { width: 1.25rem; height: 1.25rem; margin-top: 0.125rem; flex: none; accent-color: var(--accent); }
form.lead label.consent a { color: var(--accent); }
@media (max-width: 720px) { form.lead .lead-row { grid-template-columns: 1fr; } }

/* ===== vCAIO page: reading structure, icons, drawings and buttons ===== */
.vc-page { --warn: #ffd27a; --warn-bg: rgba(255, 210, 122, .12); }
:root[data-theme="light"] .vc-page { --warn: #8a5a00; --warn-bg: rgba(138, 90, 0, .10); }
.vc-page p, .vc-page li { text-align: left; hyphens: manual; -webkit-hyphens: manual; }
.vc-page .prod-caption { text-align: center; }

/* vCAIO governance guide image */
.vc-page .guia-image { margin: 2rem auto 0; max-width: 1027px; }
.vc-page .guia-image img { display: block; width: 100%; height: auto; border-radius: 0.75rem; border: 1px solid var(--line); }

/* vCAIO Shadow AI clip: the picture is a 400 x 720 portrait area */
.vc-page .hero-video.hero-video-portrait video { aspect-ratio: 5 / 9; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* icons: one stroke style for every drawing */
.ico { width: 1.5rem; height: 1.5rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-tile { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-bottom: 0.875rem; border-radius: 0.75rem; color: var(--accent-muted); background: linear-gradient(135deg, rgba(74, 168, 255, .22), rgba(74, 168, 255, .05)); border: 1px solid var(--line-strong); }
.icon-tile .ico { width: 1.375rem; height: 1.375rem; }

/* buttons: primary filled with an arrow, secondary outlined, one primary per block */
.vc-page .btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3rem; padding: 0.8rem 1.35rem; border-radius: 0.625rem; font-weight: 600; text-decoration: none; box-shadow: 0 0.5rem 1.4rem rgba(1, 8, 22, .28); transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease); }
.vc-page .btn:hover { transform: translateY(-2px); box-shadow: 0 0.75rem 1.9rem rgba(1, 8, 22, .38); }
.vc-page .btn.ghost { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); box-shadow: none; }
.vc-page .btn.ghost:hover { background: rgba(74, 168, 255, .12); border-color: var(--accent-hover); }
.vc-page .btn .arr { width: 1.125rem; height: 1.125rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.vc-page .btn:hover .arr { transform: translateX(3px); }
.vc-page .cta-row { gap: 0.875rem; }
.vc-page .cta-row .btn { min-width: 0; }
.vc-page .plan .btn { width: 100%; }
.vc-page .plan .btn:not(.ghost) { box-shadow: 0 0.5rem 1.4rem rgba(1, 8, 22, .28); }

/* hero: text and drawing side by side */
.vc-page .hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 3rem; align-items: center; }
.vc-page .hero-art { margin: 0; }
.vc-page .hero-art svg { width: 100%; height: auto; max-width: 27rem; margin-inline: auto; overflow: visible; }
.vc-page .orbit { fill: none; stroke: var(--line-strong); stroke-width: 1.5; }
.vc-page .orbit-in { stroke: var(--accent-muted); stroke-dasharray: 4 7; opacity: .7; }
.vc-page .shield { fill: var(--panel-2); stroke: var(--accent); stroke-width: 2.25; }
.vc-page .chip { fill: var(--accent); }
.vc-page .v-txt { fill: var(--accent-ink); font: 700 15px var(--font-display); }
.vc-page .v-label { fill: var(--text-primary); font: 600 15px var(--font-display); }
.vc-page .v-sub { fill: var(--text-muted); font: 500 12px var(--font-body); }
.vc-page .node { fill: var(--accent); stroke: var(--canvas); stroke-width: 3; }
.vc-page .node-label { fill: var(--accent-muted); font: 600 12.5px var(--font-mono); }
.vc-page .vc-jump { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2.5rem; }
.vc-page .vc-jump a { display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0.4rem 0.9rem; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--panel); color: var(--text-secondary); text-decoration: none; font-size: 0.9375rem; transition: border-color .25s var(--ease), color .25s var(--ease); }
.vc-page .vc-jump a:hover { border-color: var(--accent); color: var(--text-primary); }

/* flowcharts: boxes joined by arrows */
.vc-page .flow { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.75rem; }
.vc-page .flow > li { position: relative; padding: 1.375rem; background: linear-gradient(180deg, var(--panel), var(--panel-2)); border: 1px solid var(--line); border-radius: 0.875rem; }
.vc-page .flow > li strong { display: block; margin-bottom: 0.375rem; font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; }
.vc-page .flow > li p { color: var(--text-secondary); }
.vc-page .flow > li .mono { display: block; margin-bottom: 0.5rem; }
.vc-page .flow h3 { font-size: 1.25rem; font-weight: 600; margin: 0.5rem 0 0.375rem; }
.vc-page .flow > li:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -1.2rem; width: 0.6rem; height: 0.6rem; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: translateY(-50%) rotate(45deg); }
.vc-page .flow-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vc-page .flow-3 > li:nth-child(3n)::after { display: none; }
.vc-page .loop { display: flex; align-items: center; gap: 0.625rem; margin: 1.75rem 0 0; color: var(--accent-muted); font-family: var(--font-display); font-weight: 600; }
.vc-page .loop .ico { width: 1.25rem; height: 1.25rem; }

/* the SGSI stack: AI Governance on top, the four AI standards around the base, ISO/IEC 27001 at the foundation */
.vc-page .stack { display: grid; justify-items: center; margin-top: 2.5rem; }
.vc-page .stack-roof { position: relative; width: min(100%, 36rem); padding: 1.25rem 1.5rem; text-align: center; border: 1.5px solid var(--accent); border-radius: 1rem; background: linear-gradient(135deg, rgba(74, 168, 255, .20), rgba(74, 168, 255, .04)); }
.vc-page .stack-roof strong { display: block; margin-top: 0.25rem; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.375rem, 3vw, 1.75rem); }
.vc-page .stack-roof::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 2.25rem; background: var(--accent); }
.vc-page .stack-pillars { position: relative; width: 100%; margin-top: 2.25rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.vc-page .stack-pillars::before, .vc-page .stack-pillars::after { content: ""; position: absolute; left: 12.5%; right: 12.5%; height: 2px; background: var(--accent); }
.vc-page .stack-pillars::before { top: -1.125rem; }
.vc-page .stack-pillars::after { bottom: -1.125rem; }
.vc-page .pillar { position: relative; display: flex; flex-direction: column; gap: 0.5rem; padding: 1.25rem; background: var(--panel); border: 1px solid var(--line-strong); border-radius: 0.875rem; }
.vc-page .pillar::before, .vc-page .pillar::after { content: ""; position: absolute; left: 50%; width: 2px; height: 1.125rem; background: var(--accent); }
.vc-page .pillar::before { top: -1.125rem; }
.vc-page .pillar::after { top: 100%; }
.vc-page .pillar h3 { margin-top: 0.25rem; font-size: 1.125rem; font-weight: 600; }
.vc-page .pillar p { color: var(--text-secondary); font-size: 0.9375rem; }
.vc-page .pillar-key { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.vc-page .pillar-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; }
.vc-page .std-code { font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.04em; color: var(--accent-muted); }
.vc-page .badge { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.vc-page .badge.ok { color: var(--accent-muted); background: rgba(74, 168, 255, .18); border: 1px solid rgba(74, 168, 255, .45); }
.vc-page .badge.wip { color: var(--warn); background: var(--warn-bg); border: 1px solid var(--warn); }
.vc-page .badge.draft { color: var(--text-muted); border: 1px dashed var(--text-muted); }
.vc-page .stack-base { position: relative; width: 100%; margin-top: 2.25rem; display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; background: var(--panel-2); border: 1px solid var(--line-strong); border-radius: 1rem; }
.vc-page .stack-base::before { content: ""; position: absolute; left: 50%; top: -1.125rem; width: 2px; height: 1.125rem; background: var(--accent); }
.vc-page .stack-base strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; }
.vc-page .stack-base p { color: var(--text-secondary); }
.vc-page .stack-base .icon-tile { flex: none; margin: 0; }

/* lists */
.vc-page .checks-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; gap: 0.875rem 2rem; }
.vc-page .pains-compact .pain { display: flex; flex-direction: column; }
.vc-page .pains-compact .pain p { color: var(--text-primary); }

/* packages */
.vc-page .plan { position: relative; }
.vc-page .plan-tag { position: absolute; top: -0.75rem; left: 1.25rem; padding: 0.25rem 0.75rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 0.75rem; font-weight: 600; }
.vc-page .plan .icon-tile { margin-bottom: 0.25rem; }

/* 1100px: tablets in landscape and small laptops */
@media (max-width: 1100px) {
  .vc-page .stack-pillars::before, .vc-page .stack-pillars::after { left: 25%; right: 25%; }
}

/* 900px: two columns */
@media (max-width: 900px) {
  .vc-page .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .vc-page .hero-art svg { max-width: 22rem; }
  .vc-page .flow, .vc-page .flow-3, .vc-page .flow-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vc-page .flow > li::after, .vc-page .flow-3 > li:nth-child(3n)::after { display: none; }
  .vc-page .stack-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vc-page .stack-pillars::before, .vc-page .stack-pillars::after { left: 25%; right: 25%; }
  .vc-page .checks-2 { grid-template-columns: 1fr; }
}

/* 560px: one column; arrows point down, the spine of the stack is hidden */
@media (max-width: 560px) {
  .vc-page .flow, .vc-page .flow-3, .vc-page .flow-4 { grid-template-columns: 1fr; gap: 1.25rem; }
  .vc-page .flow > li:not(:last-child)::after, .vc-page .flow-3 > li:nth-child(3n)::after { display: block; top: auto; right: auto; bottom: -0.95rem; left: 50%; transform: translateX(-50%) rotate(135deg); }
  .vc-page .flow > li:last-child::after { display: none; }
  .vc-page .stack-pillars { grid-template-columns: 1fr; }
  .vc-page .stack-roof::after, .vc-page .stack-pillars::before, .vc-page .stack-pillars::after, .vc-page .pillar::before, .vc-page .pillar::after, .vc-page .stack-base::before { display: none; }
  .vc-page .stack-base { flex-direction: column; align-items: flex-start; }
  .vc-page .btn { width: 100%; }
  .vc-page .plan-tag { left: 1rem; }
}

/* vCISO hero drawing: the three stages around the shield, arrows follow the orbit */
.vc-page .flow-arc { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 5 6; }
.vc-page .arrowhead { fill: var(--accent); }
.vc-page .node-num { fill: var(--accent-ink); font: 700 13px var(--font-display); }
.vc-page .hero-art .node { fill: var(--accent); stroke: var(--canvas); stroke-width: 3; }
.vc-page .hero-art .shield { fill: var(--panel-2); stroke: var(--accent); stroke-width: 2.25; }
.vc-page .hero-art .v-txt { fill: var(--accent-muted); font: 700 16px var(--font-display); }
.vc-page .hero-art .v-label { fill: var(--text-primary); font: 600 14px var(--font-display); }

/* DPOaaS page: five-step flow and the hub drawing */
.vc-page .flow-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.vc-page .flow-5 > li:nth-child(5n)::after { display: none; }
.vc-page .hub-line { stroke: var(--accent-muted); stroke-width: 2; stroke-dasharray: 5 6; opacity: 0.7; }
.vc-page .hub-core { fill: var(--accent); }
.vc-page .hub-core-txt { fill: var(--accent-ink); font: 700 15px var(--font-display); }
.vc-page .hub-core-sub { fill: var(--accent-ink); font: 600 12px var(--font-mono); letter-spacing: 0.08em; }
.vc-page .hub-node { fill: var(--panel-2); stroke: var(--accent); stroke-width: 1.5; }
.vc-page .hub-name { fill: var(--text-primary); font: 600 15px var(--font-display); }
.vc-page .hub-sub { fill: var(--text-muted); font: 500 12px var(--font-body); }
@media (max-width: 1100px) {
  .vc-page .flow-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .vc-page .flow-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* DPOaaS page: five-step flow fixes */
@media (max-width: 1100px) { .vc-page .flow-5 > li::after { display: none; } }
@media (max-width: 560px) {
  .vc-page .flow-5 { grid-template-columns: 1fr; gap: 1.25rem; }
  .vc-page .flow-5 > li:not(:last-child)::after { display: block; top: auto; right: auto; bottom: -0.95rem; left: 50%; transform: translateX(-50%) rotate(135deg); }
}

/* Avaliação de riscos page: risk matrix drawing, single package, register example */
.vc-page .rm-l { fill: var(--panel-2); stroke: var(--line-strong); stroke-width: 1; }
.vc-page .rm-m { fill: var(--accent); fill-opacity: .35; stroke: var(--line-strong); stroke-width: 1; }
.vc-page .rm-h { fill: var(--error); fill-opacity: .45; stroke: var(--line-strong); stroke-width: 1; }
.vc-page .rm-tick { fill: var(--text-muted); font: 500 12px var(--font-mono); }
.vc-page .rm-axis { fill: var(--text-secondary); font: 600 12px var(--font-body); }
.vc-page .rm-dot { fill: var(--panel); stroke: var(--accent-muted); stroke-width: 2; }
.vc-page .rm-dot-txt { fill: var(--text-primary); font: 700 11px var(--font-mono); }
.vc-page .plan-grid-solo { grid-template-columns: minmax(0, 640px); justify-content: center; }
.vc-page .reg-wrap { overflow-x: auto; }
.vc-page .reg-table { width: 100%; border-collapse: collapse; font: 500 14px var(--font-body); color: var(--text-secondary); }
.vc-page .reg-table caption { text-align: left; caption-side: top; padding: 0 0 .6rem; font: 500 13px var(--font-body); color: var(--text-muted); }
.vc-page .reg-table th, .vc-page .reg-table td { text-align: left; vertical-align: top; padding: .65rem .75rem; border-bottom: 1px solid var(--line); }
.vc-page .reg-table th { font: 600 12px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
@media (max-width: 560px) {
  .vc-page .reg-table { min-width: 560px; }
}

/* vCISO guide flowchart: boxes open the next level on the first click and explain themselves on the second */
.vc-page .flow { max-width: 760px; margin: 2rem auto 0; }
.vc-page .flow-hint { margin: 0 0 1rem; color: var(--text-muted); font-size: .92rem; }
.vc-page .flow-tree, .vc-page .flow-children { list-style: none; margin: 0; padding: 0; }
.vc-page .flow-children { margin: .5rem 0 0 1.25rem; padding-left: 1.25rem; border-left: 1px solid var(--line-strong); }
.vc-page .flow-item { margin: .5rem 0; }
.vc-page .flow-node { display: flex; align-items: center; justify-content: space-between; gap: .75rem; width: 100%; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--text-primary); font: 500 .95rem/1.35 var(--font-body); text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
.vc-page .flow-node:hover { border-color: var(--accent); }
.vc-page .flow-node.is-selected { border-color: var(--accent); background: var(--panel-2); }
.vc-page .flow-l0 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; border-color: var(--accent); }
.vc-page .flow-l1 { font-weight: 600; }
.vc-page .flow-l3 { color: var(--text-secondary); font-size: .9rem; font-weight: 400; }
.vc-page .flow-mark { flex: none; display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--accent-muted); font-family: var(--font-mono); line-height: 1; }
.vc-page .flow-exp { margin: .5rem 0 0; padding: .75rem 1rem; border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; background: var(--panel-2); color: var(--text-secondary); font-size: .92rem; line-height: 1.6; }
.vc-page .flow-exp strong { display: block; margin-bottom: .25rem; color: var(--text-primary); font: 600 .72rem/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.vc-page .flow-exp p { margin: 0; }
.vc-page .flow-reset { margin-top: 1.25rem; padding: .45rem .95rem; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--text-secondary); font: 500 .85rem var(--font-body); cursor: pointer; }
.vc-page .flow-reset:hover { color: var(--text-primary); border-color: var(--accent); }
@media (max-width: 560px) {
  .vc-page .flow-children { margin-left: .4rem; padding-left: .7rem; }
}

/* Referências (página do vCAIO e do vCISO): cartões com logo, etiqueta e texto */
.refs-grid { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 720px) { .refs-grid { grid-template-columns: 1fr 1fr; } }
.refs-item { display: flex; gap: 1rem; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 0.75rem; padding: 1.125rem 1.25rem; transition: border-color .3s var(--ease); }
.refs-item:hover { border-color: var(--accent); }
.refs-logo { flex: 0 0 auto; width: 7.5rem; height: 3.25rem; display: flex; align-items: center; justify-content: center; background: #ffffff; border-radius: 0.5rem; padding: 0.5rem 0.625rem; }
.refs-logo img { display: block; width: auto; height: auto; max-width: 100%; max-height: 2rem; filter: brightness(0); }
.refs-text { font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: 0.04em; color: #0b1f38; }
.refs-item > div { min-width: 0; }
.refs-tag { display: block; margin-bottom: 0.25rem; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-muted); }
.refs-item p { margin: 0; color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.5; }
.refs-note { display: flex; gap: 0.875rem; align-items: flex-start; margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); max-width: 70ch; }
.refs-note img { flex: 0 0 auto; width: auto; height: 1.5rem; }
.refs-note p { margin: 0; color: var(--text-muted); font-size: 0.875rem; line-height: 1.55; }

/* Logos coloridos da referência (ISO e ANPD): sem o filtro preto dos demais */
.refs-logo img.refs-sq { max-height: 2.25rem; filter: none; }
@media (min-width: 720px) { .refs-item:last-child:nth-child(odd) { grid-column: 1 / -1; } }
