:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --ink: #07111f;
  --ink-2: #142033;
  --muted: #5e6b7e;
  --line: #dbe4ef;
  --primary: #2563eb;
  --primary-2: #0ea5e9;
  --success: #16a34a;
  --warning: #f59e0b;
  --dark: #07111f;
  --dark-2: #0f172a;
  --radius: 28px;
  --radius-lg: 38px;
  --shadow: 0 24px 70px rgba(7, 17, 31, .10);
  --shadow-soft: 0 18px 44px rgba(7, 17, 31, .07);
  --shell: min(1860px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; }
button, input, textarea { font: inherit; }
img, svg { max-width: 100%; }
::selection { background: rgba(37, 99, 235, .18); }

.it, .en { display: none; }
html[data-language="it"] .it { display: inline; }
html[data-language="en"] .en { display: inline; }
html[data-language="it"] .block-it { display: block; }
html[data-language="en"] .block-en { display: block; }

.text-justify { text-align: justify; text-justify: inter-word; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  background: var(--dark);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }
.site-shell { width: var(--shell); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 247, 251, .86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(219, 228, 239, .8);
}
.header-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 84px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: max-content;
}
.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 25% 15%, rgba(255,255,255,.45), transparent 24%),
    linear-gradient(135deg, var(--primary), #0f172a);
  border-radius: 16px;
  box-shadow: 0 12px 26px rgba(37,99,235,.25);
}
.brand-mark svg { width: 32px; height: 32px; }
.brand strong {
  display: block;
  font-size: 17px;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: -.02em;
}
.brand small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; }
.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.5vw, 30px);
}
.primary-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  transition: color .2s ease;
}
.primary-nav a:hover { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.language-switch {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(7,17,31,.05);
}
.language-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}
.language-switch button.is-active { background: var(--dark); color: #fff; }
.nav-toggle { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: -.01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #1245b8);
  color: #fff;
  box-shadow: 0 16px 32px rgba(37, 99, 235, .24);
}
.btn-primary:hover { box-shadow: 0 20px 40px rgba(37, 99, 235, .30); }
.btn-secondary { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-secondary:hover { border-color: rgba(37, 99, 235, .45); color: var(--primary); }
.btn-ghost { background: rgba(255,255,255,.74); border-color: var(--line); color: var(--ink); }
.btn-link { color: var(--primary); padding-inline: 8px; }
.btn-link.light { color: #bfdbfe; }
.btn-large { min-height: 54px; padding: 15px 24px; }

.hero {
  position: relative;
  padding: clamp(72px, 8vw, 136px) 0 62px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(37, 99, 235, .15), transparent 28%),
    radial-gradient(circle at 92% 8%, rgba(14, 165, 233, .12), transparent 30%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto -20% -240px -20%;
  height: 320px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.75));
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(34px, 6vw, 96px);
}
.eyebrow {
  margin: 0 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.dot { width: 9px; height: 9px; border-radius: 999px; background: var(--primary); box-shadow: 0 0 0 6px rgba(37,99,235,.12); }
h1, h2, h3 { color: var(--ink); margin: 0; font-weight: 950; letter-spacing: -.045em; }
h1 {
  font-size: clamp(46px, 5.4vw, 94px);
  line-height: .96;
  max-width: 1120px;
}
.hero-text {
  margin: 26px 0 0;
  max-width: 1000px;
  color: var(--muted);
  font-size: clamp(18px, 1.35vw, 23px);
  line-height: 1.8;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
.hero-actions.centered { justify-content: center; }
.trust-row {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 820px;
}
.trust-row span {
  display: block;
  padding: 14px 16px;
  background: rgba(255,255,255,.70);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.trust-row strong { display: block; color: var(--ink); font-size: 15px; font-weight: 950; }
.trust-row small { display: block; color: var(--muted); font-weight: 750; }
.hero-panel {
  border: 1px solid rgba(255,255,255,.18);
  background:
    radial-gradient(circle at 18% 8%, rgba(96,165,250,.26), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(34,197,94,.14), transparent 28%),
    linear-gradient(145deg, #0f172a 0%, #020617 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 42px);
  box-shadow: 0 40px 90px rgba(2, 6, 23, .28);
}
.panel-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.panel-top strong { display: block; font-size: 22px; color: #fff; }
.panel-top small { display: block; color: #b6c3d6; font-weight: 700; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: #e2e8f0; font-size: 13px; font-weight: 800; }
.pulse { width: 8px; height: 8px; background: #22c55e; border-radius: 999px; box-shadow: 0 0 0 6px rgba(34,197,94,.13); }
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.metric-grid article, .progress-card, .timeline-mini div {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  padding: 18px;
}
.metric-grid span { display: block; color: #fff; font-size: 34px; font-weight: 950; letter-spacing: -.04em; }
.metric-grid small { display: block; color: #cbd5e1; font-weight: 750; }
.progress-card { margin-top: 14px; }
.progress-label { display: flex; justify-content: space-between; color: #e5e7eb; font-weight: 850; margin-bottom: 10px; }
.progress-track { height: 10px; background: rgba(255,255,255,.10); border-radius: 999px; overflow: hidden; }
.progress-track span { display: block; height: 100%; background: linear-gradient(90deg, #60a5fa, #22c55e); border-radius: inherit; }
.timeline-mini { display: grid; gap: 10px; margin-top: 14px; }
.timeline-mini div { display: flex; align-items: center; gap: 12px; padding: 14px; }
.timeline-mini b { color: #93c5fd; }
.timeline-mini span { color: #e2e8f0; font-weight: 750; }

.section { padding: clamp(70px, 7vw, 126px) 0; }
.section-alt { background: #ffffff; }
.section-dark { background: var(--dark); color: #cbd5e1; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-heading { max-width: 1180px; margin-bottom: 40px; }
.section-heading.compact { max-width: 820px; }
.section-heading h2 { font-size: clamp(34px, 4vw, 68px); line-height: 1.02; }
.section-heading p:not(.eyebrow) { margin: 18px 0 0; color: var(--muted); font-size: clamp(17px, 1.15vw, 21px); }
.section-dark .section-heading p:not(.eyebrow) { color: #cbd5e1; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card, .workflow-step, .pricing-cards article, .security-list div, .faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.feature-card { padding: 28px; min-height: 260px; }
.icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.65), transparent 25%),
    linear-gradient(135deg, rgba(37,99,235,.16), rgba(14,165,233,.10));
  border: 1px solid rgba(37,99,235,.18);
  color: var(--primary);
}
.unique-icon::before {
  content: "";
  width: 34px;
  height: 34px;
  display: block;
  background: currentColor;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}
.unique-icon[data-icon="path"]::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M10 48h12v6H4V36h6v12Zm44 0V16H14v-6h46v44H34v-6h20ZM21 18l21 14-21 14V18Z'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M10 48h12v6H4V36h6v12Zm44 0V16H14v-6h46v44H34v-6h20ZM21 18l21 14-21 14V18Z'/%3E%3C/svg%3E"); }
.unique-icon[data-icon="risk"]::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 4 60 54H4L32 4Zm0 18a4 4 0 0 0-4 4v12a4 4 0 0 0 8 0V26a4 4 0 0 0-4-4Zm0 29a5 5 0 1 0 0-10 5 5 0 0 0 0 10Z'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 4 60 54H4L32 4Zm0 18a4 4 0 0 0-4 4v12a4 4 0 0 0 8 0V26a4 4 0 0 0-4-4Zm0 29a5 5 0 1 0 0-10 5 5 0 0 0 0 10Z'/%3E%3C/svg%3E"); }
.unique-icon[data-icon="soa"]::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M12 6h40v52H12V6Zm9 12v6h22v-6H21Zm0 13v6h22v-6H21Zm0 13v6h14v-6H21Zm26 0a5 5 0 1 0 0 10 5 5 0 0 0 0-10Z'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M12 6h40v52H12V6Zm9 12v6h22v-6H21Zm0 13v6h22v-6H21Zm0 13v6h14v-6H21Zm26 0a5 5 0 1 0 0 10 5 5 0 0 0 0-10Z'/%3E%3C/svg%3E"); }
.unique-icon[data-icon="docs"]::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M12 10h23l7 8h10v36H12V10Zm8 17v6h24v-6H20Zm0 12v6h18v-6H20Z'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M12 10h23l7 8h10v36H12V10Zm8 17v6h24v-6H20Zm0 12v6h18v-6H20Z'/%3E%3C/svg%3E"); }
.unique-icon[data-icon="stats"]::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M9 52h46v6H9V52Zm4-25h9v21h-9V27Zm15-13h9v34h-9V14Zm15 22h9v12h-9V36Z'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M9 52h46v6H9V52Zm4-25h9v21h-9V27Zm15-13h9v34h-9V14Zm15 22h9v12h-9V36Z'/%3E%3C/svg%3E"); }
.unique-icon[data-icon="admin"]::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 4 56 14v18c0 15-10 24-24 28C18 56 8 47 8 32V14L32 4Zm-6 22a6 6 0 1 0 12 0 6 6 0 0 0-12 0Zm-8 22h28c-1-8-7-13-14-13s-13 5-14 13Z'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 4 56 14v18c0 15-10 24-24 28C18 56 8 47 8 32V14L32 4Zm-6 22a6 6 0 1 0 12 0 6 6 0 0 0-12 0Zm-8 22h28c-1-8-7-13-14-13s-13 5-14 13Z'/%3E%3C/svg%3E"); }
.feature-card h3 { font-size: 24px; margin-bottom: 12px; }
.feature-card p, .workflow-step p, .pricing-cards p, .faq-list p, .security-list p { margin: 0; color: var(--muted); }

.demo-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 36px; align-items: start; }
.tab-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.tab-list button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 900;
  cursor: pointer;
}
.tab-list button.is-active { background: var(--dark); color: #fff; border-color: var(--dark); }
.demo-stage {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 18px;
  min-height: 440px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.demo-view { display: none; }
.demo-view.is-active { display: block; animation: fadeUp .28s ease both; }
.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 800;
  padding: 14px 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  margin-bottom: 16px;
}
.browser-bar span { width: 10px; height: 10px; border-radius: 999px; background: #64748b; }
.browser-bar b { margin-left: 8px; }
.demo-content.three-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.demo-card, .step-list li, .control-table div, .document-stack span {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  color: #fff;
}
.demo-card { padding: 24px; min-height: 150px; }
.demo-card strong { display: block; font-size: 44px; font-weight: 950; letter-spacing: -.05em; }
.demo-card small { color: #cbd5e1; font-weight: 800; }
.step-list { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.step-list li { display: flex; align-items: center; gap: 14px; padding: 18px; }
.step-list b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 13px; background: rgba(96,165,250,.18); color: #93c5fd; }
.control-table { display: grid; gap: 12px; }
.control-table div { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 16px; padding: 18px; }
.control-table em { font-style: normal; color: #bfdbfe; font-weight: 900; }
.document-stack { display: grid; gap: 12px; }
.document-stack span { display: flex; align-items: center; gap: 14px; padding: 18px; }
.document-stack b { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; background: #fff; color: var(--primary); }

.workflow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.workflow-step { padding: 28px; }
.workflow-step > b { display: inline-block; color: var(--primary); font-size: 14px; font-weight: 950; margin-bottom: 22px; }
.workflow-step h3 { font-size: 24px; margin-bottom: 12px; }
.security-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: start; }
.security-list { display: grid; gap: 16px; }
.security-list div {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.12);
  padding: 24px;
  color: #fff;
  box-shadow: none;
}
.security-list strong { display: block; font-size: 20px; margin-bottom: 8px; }
.section-dark .security-list p { color: #cbd5e1; }
.pricing-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 34px; align-items: start; }
.pricing-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pricing-cards article { padding: 26px; min-height: 290px; }
.pricing-cards article.featured { background: linear-gradient(145deg, #0f172a, #07111f); color: #fff; border-color: rgba(255,255,255,.12); }
.pricing-cards article.featured h3, .pricing-cards article.featured p { color: #fff; }
.pricing-cards h3 { font-size: 26px; margin: 18px 0 12px; }
.badge { display: inline-flex; padding: 7px 11px; background: rgba(37,99,235,.10); color: var(--primary); border-radius: 999px; font-weight: 950; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.pricing-cards .featured .badge { background: rgba(255,255,255,.10); color: #bfdbfe; }
.faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 34px; align-items: start; }
.faq-list { display: grid; gap: 14px; }
.faq-list details { padding: 0; overflow: hidden; }
.faq-list summary { cursor: pointer; list-style: none; padding: 22px 24px; color: var(--ink); font-weight: 950; font-size: 18px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list p { padding: 0 24px 24px; }
.final-cta { padding-bottom: clamp(80px, 8vw, 140px); }
.final-card {
  text-align: center;
  border-radius: var(--radius-lg);
  padding: clamp(42px, 6vw, 90px);
  color: #fff;
  background:
    radial-gradient(circle at 12% 15%, rgba(96,165,250,.28), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(34,197,94,.16), transparent 30%),
    linear-gradient(145deg, #0f172a 0%, #020617 100%);
  box-shadow: 0 34px 90px rgba(2,6,23,.28);
}
.final-card h2 { color: #fff; font-size: clamp(36px, 4.4vw, 76px); line-height: 1; max-width: 1100px; margin: 0 auto; }
.final-card p:not(.eyebrow) { max-width: 960px; margin: 22px auto 0; color: #dbeafe; font-size: clamp(17px, 1.2vw, 21px); }
.site-footer { padding: 42px 0; background: #fff; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.footer-brand .brand-mark { width: 38px; height: 38px; }
.site-footer p { max-width: 680px; color: var(--muted); margin: 12px 0 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer nav a { text-decoration: none; color: var(--muted); font-weight: 850; }
.site-footer nav a:hover { color: var(--primary); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1180px) {
  .header-grid { grid-template-columns: auto auto 1fr; }
  .nav-toggle {
    display: inline-grid;
    gap: 5px;
    width: 46px;
    height: 46px;
    place-content: center;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 16px;
    cursor: pointer;
  }
  .nav-toggle span:not(.sr-only) { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 99px; }
  .primary-nav {
    position: fixed;
    top: 84px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 18px;
    box-shadow: var(--shadow);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 10px 8px; }
  .header-actions { justify-content: end; }
  .hero-grid, .demo-grid, .security-grid, .pricing-layout, .faq-layout { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-cards { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --shell: min(100% - 28px, 1860px); }
  .hide-mobile { display: none; }
  .header-grid { min-height: 76px; gap: 12px; }
  .brand small { display: none; }
  .brand-mark { width: 42px; height: 42px; }
  .primary-nav { top: 76px; left: 14px; right: 14px; }
  .hero { padding-top: 54px; }
  h1 { font-size: clamp(40px, 12vw, 58px); }
  .hero-actions, .trust-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .btn-link { width: auto; align-self: center; }
  .trust-row { display: grid; }
  .panel-top { flex-direction: column; align-items: flex-start; }
  .metric-grid, .feature-grid, .workflow-grid, .demo-content.three-cols { grid-template-columns: 1fr; }
  .control-table div { grid-template-columns: 1fr; }
  .section { padding: 62px 0; }
  .section-heading h2 { font-size: clamp(32px, 10vw, 48px); }
  .text-justify { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer nav { flex-direction: column; gap: 10px; }
}

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


/* Customer-facing logo integration */
.brand-mark.logo-wrap {
  background: #ffffff;
  color: var(--primary);
  padding: 5px;
  overflow: hidden;
  border: 1px solid rgba(219, 228, 239, .9);
}
.brand-mark.logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.footer-brand .brand-mark.logo-wrap {
  background: rgba(255,255,255,.95);
}
@media (max-width: 640px) {
  .brand-mark.logo-wrap {
    width: 42px;
    height: 42px;
  }
}


/* 2026-05 unified public environments: wider header logo */
.brand-mark.logo-wrap {
  width: 164px !important;
  height: 54px !important;
  border-radius: 16px !important;
  padding: 7px 10px !important;
  box-shadow: 0 12px 26px rgba(15,23,42,.08) !important;
}
.brand-mark.logo-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}
.footer-brand .brand-mark.logo-wrap {
  width: 156px !important;
  height: 52px !important;
}
@media (max-width: 760px) {
  .brand-mark.logo-wrap { width: 132px !important; height: 46px !important; }
  .brand strong, .brand small { display: none; }
}


/* 2026-05 client request: wider public logo and official UESE MSP footer line */
.site-header .brand-mark.logo-wrap {
  width: 220px !important;
  height: 68px !important;
  padding: 8px 12px !important;
}
.site-header .brand-mark.logo-wrap img { object-fit: contain !important; }
.footer-brand .brand-mark.logo-wrap {
  width: 176px !important;
  height: 56px !important;
}
.site-footer p { max-width: 860px; font-weight: 650; color: var(--muted); }
@media (max-width: 760px) {
  .site-header .brand-mark.logo-wrap { width: 166px !important; height: 52px !important; }
  .footer-brand .brand-mark.logo-wrap { width: 150px !important; height: 48px !important; }
}


/* 2026-05 enterprise public legal/footer/header refinement */
.site-header .brand > span:not(.brand-mark) { display: none !important; }
.site-header .brand { gap: 0 !important; }
.footer-grid-enterprise {
  display: grid !important;
  grid-template-columns: 1fr !important;
  justify-items: center !important;
  text-align: center !important;
  gap: 18px !important;
}
.footer-copyright {
  margin: 0 !important;
  max-width: none !important;
  color: var(--ink) !important;
  font-weight: 850 !important;
  text-align: center !important;
}
.footer-legal-nav {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px 18px !important;
}
.footer-legal-nav a {
  color: var(--muted) !important;
  text-decoration: none !important;
  font-weight: 850 !important;
  font-size: 14px !important;
}
.footer-legal-nav a:hover { color: var(--primary) !important; }
.faq-layout-expanded { grid-template-columns: .68fr 1.32fr; }
.faq-list-expanded { gap: 12px; }
.faq-list-expanded details { border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow-soft); }
.legal-page-main { background: var(--bg); }
.legal-hero {
  padding: clamp(66px, 7vw, 118px) 0 36px;
  background:
    radial-gradient(circle at 18% 12%, rgba(37,99,235,.14), transparent 30%),
    radial-gradient(circle at 86% 8%, rgba(14,165,233,.10), transparent 28%);
}
.legal-hero h1 {
  max-width: 1180px;
  font-size: clamp(44px, 5vw, 86px);
  font-weight: 950;
  letter-spacing: -.05em;
  line-height: .98;
}
.legal-lead {
  margin: 24px 0 0;
  max-width: 1120px;
  color: var(--muted);
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.8;
}
.legal-content { padding: 28px 0 clamp(74px, 8vw, 126px); }
.legal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(30px, 4vw, 64px);
}
.legal-section + .legal-section { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); }
.legal-section h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 2.5vw, 40px);
  font-weight: 950;
  letter-spacing: -.035em;
  color: var(--ink);
}
.legal-section p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.8; }
.legal-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 42px; }
@media (max-width: 1180px) {
  .faq-layout-expanded { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .footer-legal-nav { gap: 8px 12px !important; }
  .footer-legal-nav a { font-size: 13px !important; }
  .legal-actions { flex-direction: column; }
  .legal-actions .btn { width: 100%; }
}


/* 2026-05 public legal/FAQ refinement */
.footer-grid-with-uese {
  grid-template-columns: auto minmax(280px, 1fr) auto !important;
  align-items: center !important;
  gap: 22px 28px !important;
}
.footer-uese-logo {
  display: inline-flex;
  width: 74px;
  height: 74px;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
}
.footer-uese-logo img { width: 58px; height: 58px; object-fit: contain; display: block; }
.footer-copyright { text-align: center !important; justify-self: center !important; margin: 0 !important; color: var(--ink) !important; font-weight: 800 !important; }
.footer-legal-nav { justify-content: flex-end !important; }
.legal-card-rich { display: grid; gap: 26px; }
.legal-update { margin: 18px 0 0; color: var(--muted); font-weight: 800; }
.legal-notice-box {
  padding: 22px 24px;
  border-radius: 22px;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
  border: 1px solid #dbeafe;
}
.legal-notice-box strong { display: block; color: var(--ink); font-size: 18px; margin-bottom: 8px; }
.legal-notice-box p { margin: 0; color: var(--muted); }
.legal-index { padding: 22px 24px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.legal-index strong { display: block; color: var(--ink); font-size: 18px; margin-bottom: 14px; }
.legal-index-links { display: flex; gap: 10px; flex-wrap: wrap; }
.legal-index-links a { text-decoration: none; color: var(--primary); background: var(--surface-soft); border: 1px solid var(--line); border-radius: 999px; padding: 9px 13px; font-weight: 850; font-size: 13px; }
.legal-section { padding: 26px 0; border-top: 1px solid var(--line); }
.legal-section:first-of-type { border-top: 0; }
.legal-section h2 { font-weight: 950 !important; }
.legal-rich-text { color: var(--muted); line-height: 1.85; font-size: clamp(16px, 1vw, 18px); }
.legal-rich-text a { color: var(--primary); font-weight: 850; }
.legal-rich-text code { background: #eef2ff; color: #1e40af; padding: 2px 6px; border-radius: 8px; }
.faq-home-layout { grid-template-columns: .85fr 1.15fr; }
.faq-list-home details { border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-soft); }
.faq-page-list { grid-template-columns: repeat(2, minmax(0, 1fr)); display: grid; gap: 14px; }
.faq-page-list details { border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-soft); }
.contact-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.contact-card-grid article { border: 1px solid var(--line); border-radius: 22px; padding: 22px; background: #fff; }
.contact-card-grid h3 { margin: 0 0 10px; color: var(--ink); font-weight: 950; }
@media (max-width: 1100px) {
  .footer-grid-with-uese { grid-template-columns: 1fr !important; justify-items: center; text-align: center; }
  .footer-legal-nav { justify-content: center !important; }
  .faq-page-list, .faq-home-layout { grid-template-columns: 1fr !important; }
  .contact-card-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .footer-uese-logo { width: 64px; height: 64px; }
  .footer-uese-logo img { width: 50px; height: 50px; }
  .legal-index-links { flex-direction: column; }
  .legal-index-links a { width: 100%; }
}


/* 2026-05 enterprise legal v3: logo parity with /portal/login and stronger legal pages */
.site-header .brand { min-width: max-content !important; }
.site-header .brand-mark.logo-wrap {
  width: clamp(150px, 14vw, 220px) !important;
  height: 58px !important;
  min-height: 58px !important;
  padding: 7px 10px !important;
  border-radius: 16px !important;
  background: #fff !important;
  border: 1px solid rgba(219, 228, 240, .95) !important;
  box-shadow: 0 12px 26px rgba(15, 23, 42, .06) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}
.site-header .brand-mark.logo-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}
.footer-grid-with-uese {
  grid-template-columns: 40px minmax(280px, 1fr) auto !important;
  align-items: center !important;
}
.footer-uese-logo {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  padding: 0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #fff !important;
  border: 1px solid var(--line) !important;
  box-shadow: 0 10px 24px rgba(7,17,31,.08) !important;
}
.footer-uese-logo img {
  width: 40px !important;
  height: 40px !important;
  object-fit: contain !important;
  display: block !important;
}
.enterprise-legal-main { background: linear-gradient(180deg, #f8fafc 0%, #eef3fa 100%); }
.enterprise-legal-hero {
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 14% 18%, rgba(37,99,235,.14), transparent 32%),
    radial-gradient(circle at 86% 10%, rgba(14,165,233,.12), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
}
.enterprise-legal-card {
  border: 1px solid rgba(219,228,239,.95) !important;
  box-shadow: 0 28px 80px rgba(7,17,31,.10) !important;
}
.enterprise-notice { border-left: 6px solid var(--primary); }
.enterprise-index { background: linear-gradient(180deg, #fff 0%, #f8fbff 100%) !important; }
.enterprise-legal-section h2 {
  font-weight: 950 !important;
  letter-spacing: -.025em;
  color: var(--ink) !important;
}
.enterprise-legal-section h3 { font-weight: 900 !important; color: var(--ink); }
.legal-bullet-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.legal-bullet-list li {
  position: relative;
  padding: 14px 16px 14px 42px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: var(--muted);
  line-height: 1.7;
  text-align: justify;
}
.legal-bullet-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 21px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}
.legal-table-wrap {
  margin-top: 22px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}
.legal-enterprise-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}
.legal-enterprise-table th,
.legal-enterprise-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
  line-height: 1.65;
}
.legal-enterprise-table th {
  background: #f8fbff;
  color: var(--ink);
  font-weight: 950;
}
.legal-enterprise-table td { color: var(--muted); }
.legal-enterprise-table tr:last-child td { border-bottom: 0; }
.legal-contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.legal-contact-strip a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  color: var(--primary);
  font-weight: 900;
  text-decoration: none;
}
.legal-contact-strip a:hover { background: #fff; border-color: var(--primary); }
@media (max-width: 1100px) {
  .footer-grid-with-uese { grid-template-columns: 1fr !important; justify-items: center; text-align: center; }
  .footer-uese-logo { justify-self: center; }
}
@media (max-width: 760px) {
  .site-header .brand-mark.logo-wrap { width: 150px !important; height: 54px !important; min-height: 54px !important; }
  .legal-rich-text, .legal-bullet-list li { text-align: left !important; }
  .legal-contact-strip { flex-direction: column; }
  .legal-contact-strip a { width: 100%; justify-content: center; }
}

/* 2026-05: language flags and aerospace focus */
.language-switch button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  min-height: 34px !important;
  padding: 7px 11px !important;
}
.language-switch .flag {
  font-size: 17px;
  line-height: 1;
  filter: saturate(1.08);
}
.aerospace-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 10%, rgba(37,99,235,.10), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(14,165,233,.12), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
}
.aerospace-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: 34px;
  align-items: center;
}
.aerospace-panel {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 18px;
}
.orbit-card,
.aerospace-points article,
.space-meetings-card {
  border: 1px solid rgba(219,228,239,.95);
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}
.orbit-card {
  border-radius: 32px;
  padding: 30px;
  min-height: 360px;
  background:
    radial-gradient(circle at 80% 12%, rgba(37,99,235,.12), transparent 34%),
    linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
}
.orbit-icon {
  width: 86px;
  height: 86px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  color: #2563eb;
  background: linear-gradient(145deg, #eff6ff 0%, #ffffff 100%);
  border: 1px solid #dbeafe;
  margin-bottom: 22px;
}
.orbit-icon svg { width: 62px; height: 62px; }
.orbit-card h3 { font-size: clamp(24px, 2vw, 34px); margin: 0 0 14px; color: var(--ink); line-height: 1.05; }
.aerospace-points { display: grid; gap: 14px; }
.aerospace-points article {
  border-radius: 24px;
  padding: 22px;
  display: grid;
  gap: 6px;
}
.aerospace-points strong { color: var(--ink); font-size: 18px; font-weight: 950; }
.aerospace-points small { color: var(--muted); font-size: 15px; line-height: 1.55; }
.space-meetings-section { background: #eef4fb; }
.space-meetings-card {
  border-radius: 34px;
  padding: clamp(28px, 4vw, 54px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  background:
    radial-gradient(circle at 10% 18%, rgba(14,165,233,.16), transparent 30%),
    linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
}
.space-meetings-card h2 { margin: 0 0 16px; font-size: clamp(30px, 3.4vw, 58px); line-height: 1.03; color: var(--ink); }
.space-meetings-card p { max-width: 1100px; color: var(--muted); }
/* keep UESE footer logo square */
.footer-uese-logo,
.footer-uese-logo img {
  border-radius: 0 !important;
}
.footer-uese-logo {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  overflow: visible !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.footer-uese-logo img {
  width: 40px !important;
  height: 40px !important;
  object-fit: contain !important;
}
@media (max-width: 1180px) {
  .aerospace-layout,
  .aerospace-panel,
  .space-meetings-card { grid-template-columns: 1fr; }
  .space-meetings-card .btn { justify-self: start; }
}
@media (max-width: 760px) {
  .language-switch .flag { font-size: 15px; }
  .aerospace-panel { gap: 14px; }
  .orbit-card { min-height: auto; padding: 24px; }
  .space-meetings-card .btn { width: 100%; }
}

/* Multilingual dropdown selector: flag + language */
.language-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 168px;
}
.language-dropdown select {
  width: 100%;
  min-height: 44px;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(148, 163, 184, 0.36);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.92));
  color: var(--ink, #0f172a);
  font-weight: 850;
  font-size: 14px;
  padding: 0 42px 0 16px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  cursor: pointer;
}
.language-dropdown::after {
  content: "⌄";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-54%);
  color: #334155;
  font-weight: 900;
  pointer-events: none;
}
.language-dropdown select:focus {
  outline: 3px solid rgba(37, 99, 235, 0.22);
  border-color: rgba(37, 99, 235, 0.5);
}
.aerospace-section {
  background:
    radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.12), transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(20, 184, 166, 0.10), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.aerospace-note {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  background: rgba(255,255,255,0.78);
  border-radius: 24px;
  box-shadow: 0 18px 46px rgba(15,23,42,0.06);
}
.aerospace-note strong { display:block; margin-bottom: 8px; color: var(--ink, #0f172a); font-size: 18px; }
.aerospace-card {
  position: relative;
  min-height: 360px;
  border-radius: 34px;
  background:
    radial-gradient(circle at center, rgba(59,130,246,0.24), transparent 36%),
    linear-gradient(145deg, #07111f 0%, #111827 100%);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(15,23,42,.18);
}
.orbit { position:absolute; inset: 18%; border: 1px solid rgba(226,232,240,0.24); border-radius: 999px; transform: rotate(-22deg); }
.orbit-two { inset: 30%; transform: rotate(32deg); border-style: dashed; }
.satellite-core { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width: 150px; height: 150px; border-radius: 42px; display:grid; place-items:center; text-align:center; background: linear-gradient(180deg, #fff, #dbeafe); color:#0f172a; font-weight: 950; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.satellite-core span { display:block; font-size: 28px; }
.satellite-core small { display:block; margin-top:-38px; color:#2563eb; font-weight: 900; }
.security-list { display:grid; gap: 12px; }
.security-list span { padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,0.08); color:#e5e7eb; font-weight: 800; border:1px solid rgba(255,255,255,.12); }
.plan-card { padding: 30px; border: 1px solid rgba(37,99,235,.18); background: #fff; border-radius: 28px; box-shadow: 0 24px 60px rgba(15,23,42,.08); }
.plan-card strong { display:block; font-size: 28px; font-weight: 950; color:#0f172a; }
.plan-card span { display:inline-flex; margin: 10px 0 16px; padding: 8px 14px; border-radius: 999px; background:#eff6ff; color:#1d4ed8; font-weight:900; }
.faq-mini-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.faq-card { background:#fff; border:1px solid #e2e8f0; border-radius:24px; padding:24px; box-shadow: 0 18px 45px rgba(15,23,42,.05); }
.faq-card h3 { font-weight: 950; color:#0f172a; }
.footer-uese-logo img { width:40px !important; height:40px !important; object-fit:contain !important; border-radius:0 !important; box-shadow:none !important; display:block; }
@media (max-width: 980px) {
  .language-dropdown { min-width: 100%; }
  .language-dropdown select { min-height: 48px; }
  .faq-mini-grid { grid-template-columns: 1fr; }
}
