:root {
  color-scheme: light;
  --ink: #10263a;
  --ink-strong: #071827;
  --ink-soft: #536778;
  --surface: #ffffff;
  --surface-2: #f4f8fb;
  --surface-3: #eaf1f6;
  --line: #d7e2e9;
  --navy: #0b2943;
  --navy-2: #123c5c;
  --teal: #0b8f85;
  --teal-2: #0a6e68;
  --gold: #f4b83c;
  --orange: #ee7623;
  --red: #d94545;
  --blue: #3276c3;
  --ice: #5ba9d6;
  --purple: #6959c7;
  --green: #2e9e64;
  --shadow-sm: 0 8px 24px rgba(12, 37, 56, .08);
  --shadow-md: 0 18px 48px rgba(12, 37, 56, .12);
  --shadow-lg: 0 28px 80px rgba(4, 24, 40, .18);
  --radius-sm: .75rem;
  --radius: 1.15rem;
  --radius-lg: 1.75rem;
  --max: 1240px;
  --header-height: 82px;
  --focus: 0 0 0 4px rgba(11, 143, 133, .22);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e8f1f7;
  --ink-strong: #ffffff;
  --ink-soft: #aabac7;
  --surface: #0c1d2b;
  --surface-2: #102738;
  --surface-3: #173246;
  --line: #2b4558;
  --navy: #081722;
  --navy-2: #0c314a;
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, .22);
  --shadow-md: 0 18px 48px rgba(0, 0, 0, .3);
  --shadow-lg: 0 28px 80px rgba(0, 0, 0, .42);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus); }
::selection { background: rgba(244, 184, 60, .42); color: var(--ink-strong); }

.container { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 2rem), 850px); margin-inline: auto; }
.wide { width: min(calc(100% - 2rem), 1440px); margin-inline: auto; }
.section { padding: clamp(4.5rem, 8vw, 8rem) 0; }
.section-sm { padding: clamp(3rem, 5vw, 5rem) 0; }
.section-alt { background: var(--surface-2); }
.section-dark { background: var(--navy); color: #f3f8fb; }
.section-grid-bg {
  background-image: linear-gradient(rgba(26, 71, 98, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(26, 71, 98, .06) 1px, transparent 1px);
  background-size: 32px 32px;
}
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 1rem; top: 1rem; z-index: 9999; padding: .75rem 1rem;
  transform: translateY(-180%); background: var(--surface); border: 2px solid var(--teal); border-radius: .5rem;
}
.skip-link:focus { transform: translateY(0); }

h1, h2, h3, h4 { color: var(--ink-strong); line-height: 1.13; letter-spacing: -.025em; margin: 0 0 .75em; }
h1 { font-size: clamp(2.65rem, 6vw, 5.8rem); max-width: 15ch; }
h2 { font-size: clamp(2rem, 4vw, 3.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); }
h4 { font-size: 1.08rem; }
p { margin: 0 0 1.25rem; }
.lead { font-size: clamp(1.12rem, 1.8vw, 1.38rem); line-height: 1.65; color: var(--ink-soft); max-width: 65ch; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark .lead, .section-dark p { color: #c9d7e1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1rem;
  color: var(--teal-2); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 2rem; height: 2px; background: currentColor; }
.eyebrow-light { color: #8de2d8; }
.kicker { font-weight: 800; color: var(--teal-2); }
.text-gradient {
  background: linear-gradient(120deg, #f4b83c 0%, #ed6d24 38%, #4ba4d5 76%, #0b8f85 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr); gap: 3rem; align-items: end; margin-bottom: 3.5rem; }
.section-heading > div:last-child { justify-self: end; }
.section-heading p { color: var(--ink-soft); font-size: 1.08rem; max-width: 56ch; }
.center-heading { text-align: center; max-width: 830px; margin: 0 auto 3rem; }
.center-heading .eyebrow { justify-content: center; }
.center-heading p { margin-inline: auto; color: var(--ink-soft); }

.icon { width: 1.35em; height: 1.35em; flex: 0 0 auto; }
.icon-xs { width: 1em; height: 1em; }
.icon-sm { width: 1.15em; height: 1.15em; }
.icon-lg { width: 2.1rem; height: 2.1rem; }
.icon-xl { width: 3.2rem; height: 3.2rem; }

.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .78rem 1.2rem; border: 1px solid transparent; border-radius: .8rem;
  font-weight: 780; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--teal), var(--teal-2)); box-shadow: 0 10px 24px rgba(11, 143, 133, .24); }
.button-primary:hover { box-shadow: 0 14px 30px rgba(11, 143, 133, .34); }
.button-secondary { color: #fff; background: var(--navy-2); }
.button-outline { color: var(--ink-strong); border-color: var(--line); background: var(--surface); }
.button-outline:hover { border-color: var(--teal); }
.button-light { color: var(--navy); background: #fff; }
.button-ghost-light { color: #fff; border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.06); }
.button-sm { min-height: 42px; padding: .6rem .95rem; font-size: .92rem; }
.external-mark { font-size: .85em; margin-left: .15rem; }
.text-link { display: inline-flex; align-items: center; gap: .35rem; color: var(--teal-2); font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.site-announcement { background: var(--navy); color: #d9e7ef; font-size: .82rem; }
.announcement-inner { min-height: 36px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.announcement-inner span, .announcement-inner a { display: inline-flex; align-items: center; gap: .4rem; }
.announcement-inner a { color: #fff; font-weight: 750; text-decoration: none; }
.site-header {
  position: sticky; top: 0; z-index: 1000; background: color-mix(in srgb, var(--surface) 91%, transparent);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header-inner { min-height: var(--header-height); display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--ink-strong); text-decoration: none; min-width: max-content; }
.brand img { border-radius: 50%; box-shadow: 0 5px 16px rgba(6, 33, 53, .15); }
.brand span { display: grid; line-height: 1.05; }
.brand strong { letter-spacing: .065em; font-size: 1rem; }
.brand small { margin-top: .28rem; color: var(--ink-soft); font-size: .72rem; letter-spacing: .03em; }
.main-nav { display: flex; justify-content: center; align-items: center; gap: clamp(.45rem, 1.2vw, 1.2rem); }
.main-nav a { position: relative; padding: .7rem .15rem; color: var(--ink-soft); font-size: .9rem; font-weight: 720; text-decoration: none; white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .3rem; height: 2px; background: var(--teal); transform: scaleX(0); transition: transform .2s ease; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink-strong); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: .65rem; }
.icon-button, .nav-toggle {
  width: 43px; height: 43px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: .75rem;
  background: var(--surface); cursor: pointer;
}
.nav-toggle { display: none; }

.hero {
  position: relative; min-height: min(860px, calc(100vh - 118px)); display: grid; align-items: end; overflow: hidden; isolation: isolate;
  background: #10273b;
}
.hero-media, .hero-media picture, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(5,20,33,.9) 0%, rgba(5,20,33,.72) 43%, rgba(5,20,33,.18) 72%, rgba(5,20,33,.35) 100%), linear-gradient(0deg, rgba(5,20,33,.72), transparent 56%); }
.hero::after { content: ""; position: absolute; z-index: 1; inset: auto 0 0; height: 32%; background: linear-gradient(transparent, rgba(5,20,33,.82)); }
.hero-content { position: relative; z-index: 2; padding: clamp(5rem, 12vh, 9rem) 0 clamp(3.5rem, 8vh, 6rem); color: #fff; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero .lead { color: #dbe8ef; max-width: 60ch; }
.hero-pills { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.6rem 0 2rem; }
.hero-pills span { padding: .42rem .7rem; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; background: rgba(255,255,255,.08); font-size: .82rem; font-weight: 700; backdrop-filter: blur(8px); }
.hero-proof { display: grid; grid-template-columns: repeat(3, minmax(130px, 1fr)); gap: .9rem; max-width: 740px; margin-top: 3rem; }
.hero-proof div { padding: 1rem; border-left: 2px solid var(--gold); background: rgba(7,29,46,.52); backdrop-filter: blur(8px); }
.hero-proof strong { display: block; color: #fff; font-size: 1.1rem; }
.hero-proof span { color: #c7d7e1; font-size: .82rem; }
.hero-scroll { position: absolute; right: clamp(1rem, 4vw, 4rem); bottom: 2rem; z-index: 2; color: #fff; display: flex; align-items: center; gap: .65rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; writing-mode: vertical-rl; text-decoration: none; }
.hero-scroll::after { content: ""; width: 1px; height: 54px; background: rgba(255,255,255,.55); }

.page-hero { padding: clamp(4.5rem, 8vw, 8rem) 0 4rem; background: radial-gradient(circle at 88% 10%, rgba(91,169,214,.18), transparent 30%), radial-gradient(circle at 10% 10%, rgba(244,184,60,.16), transparent 26%), var(--surface-2); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 17ch; }
.page-hero .lead { max-width: 72ch; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 4rem; align-items: center; }
.page-hero-card { position: relative; min-height: 390px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.page-hero-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.page-hero-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,26,42,.68), transparent 58%); }
.page-hero-card .media-caption { position: absolute; left: 1.5rem; right: 1.5rem; bottom: 1.35rem; z-index: 2; color: #fff; font-weight: 750; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; margin-bottom: 1.6rem; color: var(--ink-soft); font-size: .86rem; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--teal); }

.trust-strip { border-bottom: 1px solid var(--line); background: var(--surface); }
.trust-grid { min-height: 88px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; align-items: center; }
.trust-item { display: flex; gap: .75rem; align-items: center; padding: .6rem; }
.trust-item .icon-wrap { width: 42px; height: 42px; border-radius: .75rem; display: grid; place-items: center; background: var(--surface-2); color: var(--teal); }
.trust-item strong { display: block; font-size: .92rem; }
.trust-item span { color: var(--ink-soft); font-size: .8rem; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.feature-card { position: relative; padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.feature-card .icon-wrap { width: 52px; height: 52px; display: grid; place-items: center; border-radius: .95rem; margin-bottom: 1.1rem; background: rgba(11,143,133,.1); color: var(--teal); }
.feature-card p { color: var(--ink-soft); margin: 0; }

.app-card { position: relative; display: flex; flex-direction: column; min-height: 390px; padding: 1.65rem; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.app-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.app-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--app-accent, var(--teal)); }
.app-card::after { content: ""; position: absolute; width: 170px; height: 170px; border-radius: 50%; right: -65px; top: -70px; background: color-mix(in srgb, var(--app-accent, var(--teal)) 13%, transparent); }
.app-card .app-icon { position: relative; z-index: 1; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 1rem; background: color-mix(in srgb, var(--app-accent, var(--teal)) 12%, var(--surface)); color: var(--app-accent, var(--teal)); margin-bottom: 1.2rem; }
.app-card h3 { font-size: 1.45rem; margin-bottom: .35rem; }
.app-card .app-eyebrow { color: var(--app-accent, var(--teal)); text-transform: uppercase; letter-spacing: .08em; font-weight: 800; font-size: .72rem; }
.app-card p { color: var(--ink-soft); }
.app-card .tag-list { margin-top: auto; }
.app-card .card-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.2rem; }
.app-moderati { --app-accent: #0b8f85; }
.app-caldo { --app-accent: #ef6c2c; }
.app-freddo { --app-accent: #3a8fc7; }
.app-heatindex { --app-accent: #d83e42; }
.app-humidex { --app-accent: #6959c7; }
.app-isolamento { --app-accent: #b68425; }
.tag-list { display: flex; flex-wrap: wrap; gap: .45rem; }
.tag, .norm-chip { display: inline-flex; align-items: center; gap: .3rem; padding: .32rem .58rem; border-radius: 999px; background: var(--surface-2); color: var(--ink-soft); border: 1px solid var(--line); font-size: .75rem; font-weight: 700; }
.norm-chip { color: var(--teal-2); background: rgba(11,143,133,.08); border-color: rgba(11,143,133,.2); }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split-reverse > :first-child { order: 2; }
.media-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--surface-3); }
.media-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.media-card .floating-badge { position: absolute; left: 1.25rem; bottom: 1.25rem; max-width: 280px; padding: .9rem 1rem; border-radius: .85rem; color: #fff; background: rgba(6,29,46,.82); backdrop-filter: blur(10px); box-shadow: var(--shadow-md); }
.media-card .floating-badge strong { display: block; }
.media-card .floating-badge span { font-size: .8rem; color: #d7e4eb; }
.check-list { display: grid; gap: .75rem; padding: 0; margin: 1.5rem 0 2rem; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: .65rem; }
.check-list .icon { color: var(--teal); margin-top: .18rem; }
.bullet-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 1.2rem; padding: 0; list-style: none; }
.bullet-grid li { display: flex; gap: .55rem; align-items: flex-start; }
.bullet-grid li::before { content: ""; width: .55rem; height: .55rem; margin-top: .48rem; border-radius: 50%; background: var(--teal); flex: 0 0 auto; }

.answer-box { padding: 2rem; border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(11,143,133,.12), rgba(91,169,214,.12)); border: 1px solid rgba(11,143,133,.24); box-shadow: var(--shadow-sm); }
.answer-box h2 { font-size: clamp(1.65rem, 3vw, 2.6rem); }
.answer-box p:last-child { margin-bottom: 0; }
.parameter-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.parameter-card { padding: 1.35rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.parameter-card .icon-wrap { width: 44px; height: 44px; display: grid; place-items: center; color: var(--teal); background: rgba(11,143,133,.1); border-radius: .75rem; margin-bottom: .85rem; }
.parameter-card p { color: var(--ink-soft); font-size: .92rem; margin: 0; }
.method-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); background: var(--surface); }
.method-table { width: 100%; min-width: 820px; border-collapse: collapse; }
.method-table th, .method-table td { padding: 1rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.method-table th { background: var(--navy); color: #fff; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }
.method-table tr:last-child td { border-bottom: 0; }
.method-table td:first-child { font-weight: 800; }
.method-table small { display: block; color: var(--ink-soft); margin-top: .25rem; }

.process { counter-reset: process; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.process-step { counter-increment: process; position: relative; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.process-step::before { content: counter(process, decimal-leading-zero); display: block; color: var(--teal); font-weight: 900; font-size: 1.9rem; margin-bottom: 1rem; }
.process-step:not(:last-child)::after { content: ""; position: absolute; top: 2.2rem; right: -1rem; width: 1rem; height: 1px; background: var(--line); }
.process-step p { color: var(--ink-soft); font-size: .92rem; margin: 0; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat { padding: 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.stat strong { display: block; color: var(--teal); font-size: clamp(1.9rem, 3vw, 3rem); line-height: 1; margin-bottom: .6rem; }
.stat span { color: var(--ink-soft); }

.suite-panel { position: relative; padding: clamp(2rem, 5vw, 4rem); border-radius: 2rem; overflow: hidden; background: linear-gradient(135deg, #091f32, #0d3a50 62%, #0b6f69); color: #fff; box-shadow: var(--shadow-lg); }
.suite-panel::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 15% 20%, rgba(244,184,60,.25), transparent 24%), radial-gradient(circle at 90% 15%, rgba(91,169,214,.25), transparent 25%); pointer-events: none; }
.suite-panel > * { position: relative; z-index: 1; }
.suite-panel h2, .suite-panel h3 { color: #fff; }
.suite-panel p { color: #d6e3ea; }
.architecture { display: grid; grid-template-columns: minmax(220px, .75fr) minmax(260px, 1fr) minmax(280px, 1.4fr); gap: 1.2rem; align-items: stretch; margin-top: 2rem; }
.arch-node { position: relative; display: grid; place-items: center; text-align: center; min-height: 170px; padding: 1.25rem; border: 1px solid rgba(255,255,255,.2); border-radius: 1rem; background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.arch-node strong { display: block; font-size: 1.1rem; }
.arch-node span { color: #cbdbe4; font-size: .82rem; }
.arch-node .icon { color: #8de2d8; margin-bottom: .55rem; }
.arch-node:not(:last-child)::after { content: "→"; position: absolute; right: -.92rem; top: 50%; transform: translateY(-50%); color: #8de2d8; font-weight: 900; }
.app-databases { display: grid; grid-template-columns: repeat(2, 1fr); gap: .55rem; width: 100%; }
.app-databases span { padding: .55rem; border-radius: .6rem; background: rgba(255,255,255,.08); }

.app-detail { padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.app-detail + .app-detail { margin-top: 1.5rem; }
.app-detail-head { display: grid; grid-template-columns: auto 1fr auto; gap: 1.2rem; align-items: start; margin-bottom: 1.5rem; }
.app-detail .app-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 1rem; color: var(--app-accent); background: color-mix(in srgb, var(--app-accent) 12%, var(--surface)); }
.app-detail h2 { font-size: clamp(1.75rem, 3vw, 2.7rem); margin-bottom: .3rem; }
.app-detail .app-detail-summary { color: var(--ink-soft); max-width: 75ch; }
.app-detail-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.app-detail h3 { font-size: 1.08rem; }
.app-detail .best-for { padding: 1rem; border-radius: .85rem; background: var(--surface-2); color: var(--ink-soft); }

.doc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.doc-card { overflow: hidden; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.doc-card picture, .doc-card img { width: 100%; }
.doc-card img { aspect-ratio: 3/2; object-fit: cover; }
.doc-card-body { padding: 1.8rem; }
.doc-card p { color: var(--ink-soft); }
.doc-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.doc-meta span { padding: .35rem .58rem; border-radius: .55rem; font-size: .78rem; font-weight: 750; background: var(--surface-2); border: 1px solid var(--line); }

.access-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: access; }
.access-step { counter-increment: access; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.access-step::before { content: counter(access); width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 1rem; border-radius: 50%; color: #fff; background: var(--teal); font-weight: 900; }
.access-step p { color: var(--ink-soft); font-size: .9rem; margin: 0; }
.notice { display: flex; gap: 1rem; padding: 1.25rem; border-radius: var(--radius); border: 1px solid #e6ba49; background: color-mix(in srgb, #f4b83c 15%, var(--surface)); }
.notice .icon { color: #b57600; margin-top: .1rem; }
.notice p:last-child { margin-bottom: 0; }
.direct-apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.direct-app-link { display: flex; align-items: center; gap: .8rem; padding: 1rem; border: 1px solid var(--line); border-radius: .85rem; background: var(--surface); text-decoration: none; font-weight: 750; }
.direct-app-link:hover { border-color: var(--teal); transform: translateY(-2px); }
.direct-app-link .icon-wrap { width: 42px; height: 42px; display: grid; place-items: center; border-radius: .7rem; background: var(--surface-2); color: var(--teal); }

.faq-list { display: grid; gap: .8rem; }
.faq-list details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: clip; }
.faq-list summary { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.25rem 1.35rem; cursor: pointer; list-style: none; color: var(--ink-strong); font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); color: var(--teal); font-size: 1.25rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-answer { padding: 0 1.35rem 1.3rem; color: var(--ink-soft); max-width: 86ch; }
.faq-answer p:last-child { margin-bottom: 0; }

.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 3rem; align-items: start; }
.legal-nav { position: sticky; top: 110px; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.legal-nav a { display: block; padding: .55rem .65rem; border-radius: .5rem; color: var(--ink-soft); text-decoration: none; font-size: .9rem; }
.legal-nav a:hover { background: var(--surface-2); color: var(--ink-strong); }
.legal-content section { scroll-margin-top: 110px; margin-bottom: 3rem; }
.legal-content h2 { font-size: clamp(1.55rem, 3vw, 2.35rem); }
.legal-content h3 { font-size: 1.2rem; }
.legal-content p, .legal-content li { color: var(--ink-soft); }
.legal-content table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; }
.legal-content th, .legal-content td { padding: .9rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-content th { background: var(--surface-2); }

.source-note { padding: 1rem 1.2rem; border-left: 4px solid var(--teal); background: var(--surface-2); color: var(--ink-soft); }
.norm-list { display: grid; gap: .8rem; }
.norm-item { display: grid; grid-template-columns: minmax(180px, .34fr) 1fr auto; gap: 1rem; align-items: center; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: .85rem; background: var(--surface); }
.norm-item strong { color: var(--ink-strong); }
.norm-item p { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.norm-item a { color: var(--teal-2); font-weight: 750; }

.final-cta { padding: 4rem 0; background: linear-gradient(135deg, #0a273d, #0b6f69); color: #fff; }
.final-cta-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 3rem; align-items: center; }
.final-cta h2 { color: #fff; max-width: 23ch; font-size: clamp(2rem, 4vw, 3.4rem); }
.final-cta p { color: #d4e2e9; max-width: 64ch; }
.site-footer { padding: 4rem 0 1.5rem; background: #071827; color: #ccd9e1; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 3rem; }
.brand-footer { color: #fff; }
.brand-footer small { color: #aabdc9; }
.footer-brand p { max-width: 42ch; color: #aebfca; }
.footer-mail { display: inline-flex; align-items: center; gap: .5rem; color: #8de2d8; text-decoration: none; font-weight: 700; }
.footer-heading { color: #fff; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.footer-links a, .footer-link-button { color: #adbfca; text-decoration: none; font-size: .9rem; }
.footer-links a:hover, .footer-link-button:hover { color: #fff; }
.footer-link-button { padding: 0; border: 0; background: none; cursor: pointer; }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.13); font-size: .82rem; color: #8fa4b1; }
.footer-disclaimer { text-align: right; max-width: 65ch; }

.cookie-banner { position: fixed; z-index: 3000; left: 1rem; right: 1rem; bottom: 1rem; max-width: 1120px; margin: auto; display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; padding: 1.2rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--surface); box-shadow: var(--shadow-lg); }
.cookie-banner[hidden] { display: none; }
.cookie-banner-copy { display: flex; gap: 1rem; align-items: flex-start; }
.cookie-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: .85rem; background: rgba(244,184,60,.16); color: #b57600; flex: 0 0 auto; }
.cookie-banner h2 { font-size: 1.05rem; margin-bottom: .25rem; }
.cookie-banner p { margin: 0; color: var(--ink-soft); font-size: .88rem; }
.cookie-banner a { color: var(--teal-2); font-size: .82rem; font-weight: 700; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: flex-end; }
.cookie-reopen { position: fixed; z-index: 1100; left: 1rem; bottom: 1rem; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-md); cursor: pointer; color: var(--teal); }
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 4000; display: grid; place-items: center; padding: 1rem; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3,17,28,.76); backdrop-filter: blur(4px); }
.modal-panel { position: relative; width: min(100%, 620px); max-height: calc(100vh - 2rem); overflow-y: auto; padding: 2rem; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-lg); }
.modal-close { position: absolute; right: 1rem; top: 1rem; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: .65rem; background: var(--surface); cursor: pointer; }
.consent-option { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: .85rem 0; padding: 1rem; border: 1px solid var(--line); border-radius: .85rem; background: var(--surface-2); }
.consent-option strong, .consent-option span { display: block; }
.consent-option > div > span { color: var(--ink-soft); font-size: .85rem; }
.status-badge { padding: .35rem .55rem; border-radius: 999px; background: rgba(46,158,100,.12); color: var(--green); font-size: .72rem; font-weight: 800; white-space: nowrap; }
.consent-toggle { cursor: pointer; }
.consent-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-ui { position: relative; width: 50px; height: 28px; border-radius: 999px; background: #aab7c1; flex: 0 0 auto; transition: background .2s ease; }
.toggle-ui::after { content: ""; position: absolute; width: 22px; height: 22px; left: 3px; top: 3px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.2); transition: transform .2s ease; }
.consent-toggle input:checked + .toggle-ui { background: var(--teal); }
.consent-toggle input:checked + .toggle-ui::after { transform: translateX(22px); }
.modal-actions { display: flex; justify-content: flex-end; gap: .7rem; margin-top: 1.5rem; }

.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 5rem 0; }
.not-found .code { font-size: clamp(5rem, 18vw, 12rem); line-height: .8; font-weight: 950; color: var(--surface-3); text-shadow: 0 0 0 var(--line); }

@media (max-width: 1120px) {
  .main-nav { gap: .55rem; }
  .main-nav a { font-size: .82rem; }
  .header-actions .button { display: none; }
  .card-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .process, .access-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2)::after { display: none; }
  .architecture { grid-template-columns: 1fr; }
  .arch-node:not(:last-child)::after { content: "↓"; right: 50%; top: auto; bottom: -.98rem; transform: translateX(50%); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / 4; }
}

@media (max-width: 900px) {
  :root { --header-height: 72px; }
  .site-announcement { display: none; }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .nav-toggle { display: inline-grid; justify-self: end; grid-column: 2; }
  .header-actions { grid-column: 3; }
  .main-nav { position: fixed; left: 0; right: 0; top: var(--header-height); bottom: 0; display: none; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 0; padding: 1rem; background: var(--surface); border-top: 1px solid var(--line); overflow-y: auto; }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 1rem; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .main-nav a::after { display: none; }
  .section-heading, .page-hero-grid, .split, .final-cta-inner, .legal-layout { grid-template-columns: 1fr; }
  .section-heading > div:last-child { justify-self: start; }
  .page-hero-card { min-height: 330px; }
  .legal-layout, .legal-nav, .legal-content { min-width: 0; width: 100%; }
  .legal-nav { position: static; display: flex; overflow-x: auto; }
  .legal-nav a { white-space: nowrap; }
  .legal-content table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .parameter-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .app-detail-head { grid-template-columns: auto 1fr; }
  .app-detail-head .button { grid-column: 1 / -1; justify-self: start; }
  .app-detail-columns { grid-template-columns: 1fr; }
  .cookie-banner { grid-template-columns: 1fr; }
  .cookie-actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid > div:last-child { grid-column: auto; }
}

@media (max-width: 680px) {
  .container, .narrow, .wide { width: min(calc(100% - 1.25rem), var(--max)); }
  .brand small { display: none; }
  .brand img { width: 48px; height: 48px; }
  .header-actions .theme-toggle { display: none; }
  .hero { min-height: 740px; }
  .hero::before { background: linear-gradient(0deg, rgba(5,20,33,.9), rgba(5,20,33,.56) 70%, rgba(5,20,33,.28)); }
  .hero-content { padding-top: 6rem; }
  .hero h1 { font-size: clamp(2.6rem, 13vw, 4.2rem); }
  .hero-proof { grid-template-columns: 1fr; max-width: 420px; }
  .hero-scroll { display: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); padding: .7rem 0; }
  .trust-item { align-items: flex-start; }
  .card-grid, .feature-grid, .parameter-grid, .doc-grid, .direct-apps { grid-template-columns: 1fr; }
  .process, .access-grid { grid-template-columns: 1fr; }
  .process-step::after { display: none !important; }
  .bullet-grid { grid-template-columns: 1fr; }
  .app-card { min-height: auto; }
  .app-detail { padding: 1.3rem; }
  .app-detail-head { grid-template-columns: 1fr; }
  .app-detail .app-icon { width: 54px; height: 54px; }
  .app-databases { grid-template-columns: 1fr; }
  .norm-item { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .footer-disclaimer { text-align: left; }
  .cookie-banner { left: .6rem; right: .6rem; bottom: .6rem; max-height: calc(100vh - 1.2rem); overflow-y: auto; }
  .cookie-banner-copy { flex-direction: column; }
  .cookie-actions { display: grid; grid-template-columns: 1fr; }
  .modal-panel { padding: 1.35rem; }
  .modal-actions { flex-direction: column; }
  .consent-option { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .site-announcement, .site-header, .final-cta, .site-footer, .cookie-banner, .cookie-reopen, .button, .hero-scroll { display: none !important; }
  body { color: #000; background: #fff; }
  main { display: block; }
  .section, .section-sm { padding: 1.5rem 0; }
  .page-hero { padding: 1.5rem 0; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}

/* Dedicated application pages */
.app-product-page { --app-accent: var(--teal); }
.app-page-hero { overflow: hidden; }
.app-page-hero h1 { max-width: 13ch; }
.app-page-tags { margin-top: 1.6rem; }
.app-showcase {
  position: relative; min-height: 530px; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(145deg, color-mix(in srgb, var(--app-accent) 15%, var(--surface)), var(--surface-2));
  box-shadow: var(--shadow-lg); border: 1px solid color-mix(in srgb, var(--app-accent) 30%, var(--line));
}
.app-showcase > img { width: 100%; height: 100%; min-height: 530px; object-fit: cover; }
.app-isolamento .app-showcase > img { object-fit: contain; object-position: center top; padding: 0; background: radial-gradient(circle at 50% 30%, #fff 0%, #edf3f6 72%); }
.app-showcase::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 34%, rgba(3,18,30,.84) 100%); pointer-events: none; }
.app-showcase-overlay {
  position: absolute; z-index: 2; left: 1.25rem; right: 1.25rem; bottom: 1.25rem;
  padding: 1.15rem; border: 1px solid rgba(255,255,255,.2); border-radius: 1rem;
  background: rgba(6,27,42,.78); color: #fff; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.app-showcase-title { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; }
.app-showcase-title .app-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: .9rem; color: #fff; background: var(--app-accent); }
.app-showcase-title strong, .app-showcase-title span { display: block; }
.app-showcase-title strong { font-size: 1.05rem; }
.app-showcase-title span { color: #cad8e1; font-size: .82rem; }
.metric-mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .65rem; }
.metric-mini-grid > div { padding: .75rem; border: 1px solid rgba(255,255,255,.12); border-radius: .75rem; background: rgba(255,255,255,.07); }
.metric-mini-grid strong, .metric-mini-grid span { display: block; }
.metric-mini-grid strong { color: #fff; font-size: 1rem; }
.metric-mini-grid span { margin-top: .16rem; color: #bcd0dc; font-size: .7rem; line-height: 1.3; }
.app-value-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.app-value-strip > div { display: grid; grid-template-columns: auto 1fr; column-gap: .8rem; align-content: start; padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.app-value-strip .icon-wrap { grid-row: 1 / 3; color: var(--app-accent); background: color-mix(in srgb, var(--app-accent) 13%, transparent); }
.app-value-strip strong { color: var(--ink-strong); }
.app-value-strip p { margin: .2rem 0 0; color: var(--ink-soft); font-size: .9rem; }
.workflow-list { display: grid; gap: .9rem; }
.workflow-step { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.15rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.workflow-step > span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: .8rem; background: var(--app-accent); color: #fff; font-size: 1.1rem; font-weight: 900; }
.workflow-step h3 { margin-bottom: .3rem; font-size: 1.1rem; }
.workflow-step p { margin: 0; color: var(--ink-soft); font-size: .92rem; }
.output-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.output-chip { display: flex; align-items: center; gap: .55rem; min-height: 72px; padding: .9rem; border: 1px solid rgba(255,255,255,.16); border-radius: .85rem; background: rgba(255,255,255,.07); color: #eef7fb; }
.output-chip svg { color: #8de2d8; }
.method-warning { display: flex; gap: 1rem; margin-top: 1.4rem; padding: 1.2rem; border: 1px solid rgba(255,255,255,.18); border-radius: 1rem; background: rgba(255,255,255,.08); }
.method-warning .icon-wrap { color: #ffd26f; background: rgba(244,184,60,.14); flex: 0 0 auto; }
.method-warning strong { color: #fff; }
.method-warning p { margin: .3rem 0 0; }

@media (max-width: 1020px) {
  .metric-mini-grid { grid-template-columns: repeat(2, 1fr); }
  .app-value-strip { grid-template-columns: 1fr; }
  .output-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .app-showcase, .app-showcase > img { min-height: 440px; }
  .app-showcase-overlay { left: .75rem; right: .75rem; bottom: .75rem; }
  .metric-mini-grid { grid-template-columns: repeat(2, 1fr); }
  .output-grid { grid-template-columns: 1fr; }
  .method-warning { flex-direction: column; }
}
