:root {
  --bg: #f5f7fb;
  --surface: #fff;
  --surface-alt: #eef3f8;
  --text: #233047;
  --heading: #3f4862;
  --muted: #6f7788;
  --accent: #2a7db7;
  --accent-strong: #236a9a;
  --line: rgba(63, 72, 98, 0.12);
  --shadow: 0 24px 48px rgba(44, 54, 80, 0.08);
  --max: 1100px;
  --radius: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(42, 125, 183, 0.08), transparent 28%),
    linear-gradient(180deg, #fafbfd 0%, var(--bg) 100%);
  line-height: 1.65;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-strong);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px);
  background: rgba(249, 251, 253, 0.82);
  transition: background 0.18s ease, box-shadow 0.18s ease;
}

.site-header.is-compact {
  background: rgba(249, 251, 253, 0.94);
  box-shadow: 0 10px 28px rgba(44, 54, 80, 0.08);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.72rem 0;
  transition: padding 0.18s ease, gap 0.18s ease;
}

.site-header.is-compact .header-row {
  padding: 0.4rem 0;
}

.brand img {
  width: clamp(132px, 18vw, 198px);
  transition: width 0.18s ease;
}

.site-header.is-compact .brand img {
  width: clamp(118px, 15vw, 170px);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--heading);
  padding: 0.75rem 1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: gap 0.18s ease;
}

.site-header.is-compact .site-nav {
  gap: 0.82rem;
}

.site-nav a {
  color: var(--heading);
  font-weight: 500;
}

.site-nav a[aria-current="page"] {
  color: var(--accent);
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.32rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  transition: padding 0.18s ease;
}

.site-header.is-compact .lang-switcher {
  padding: 0.22rem 0.56rem;
}

.lang-switcher strong {
  color: var(--heading);
}

.hero {
  padding: 6rem 0 3rem;
}

.section.section-logo-home {
  padding-bottom: 0.15rem;
}

.hero.hero-home {
  padding-top: 0.2rem;
}

.hero-home .hero-card {
  margin-top: 0.9rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.85fr);
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 999px;
  background: rgba(42, 125, 183, 0.1);
  color: var(--accent-strong);
  padding: 0.45rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  color: var(--heading);
  line-height: 1.14;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(1.95rem, 3.2vw, 3.5rem);
  margin: 1rem 0;
}

h2,
h1.page-title {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.15rem;
  margin: 0 0 0.6rem;
}

.lede,
.section-intro,
.prose p,
.meta-list,
.table-card td {
  color: var(--muted);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: 999px;
  padding: 0.95rem 1.35rem;
  font-weight: 700;
  transition: transform 120ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 16px 32px rgba(42, 125, 183, 0.22);
}

.button-secondary {
  background: var(--surface);
  color: var(--heading);
  border: 1px solid var(--line);
}

.hero-card,
.card,
.panel,
.table-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card,
.card,
.panel {
  padding: 0.9rem;
}

.card.card-compact {
  padding: 0.8rem;
}

.card.card-compact .meta-list {
  margin-top: 0.65rem;
}

.card.card-compact .button-row {
  margin-top: 1rem;
}

.logo-panel {
  display: grid;
  place-items: center;
  min-height: 150px;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(42, 125, 183, 0.04), rgba(63, 72, 98, 0.08));
}

.logo-panel img {
  width: 100%;
  max-width: 360px;
}

.metric {
  padding: 0.72rem 0.82rem;
  border-radius: 16px;
  background: var(--surface-alt);
}

.metric strong {
  display: block;
  color: var(--heading);
  margin-bottom: 0.25rem;
}

.section {
  padding: 1.2rem 0 2.2rem;
}

.section-header {
  max-width: 740px;
  margin-bottom: 0.8rem;
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 0.95rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.meta-list {
  padding-left: 1rem;
  margin: 0.9rem 0 0;
}

.meta-list li + li {
  margin-top: 0.4rem;
}

.panel.prose p,
.card p {
  margin: 0.35rem 0;
}

.panel.prose p:first-child,
.card p:first-child {
  margin-top: 0;
}

.panel.prose p:last-child,
.card p:last-child {
  margin-bottom: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 1rem 1.1rem;
  text-align: left;
  vertical-align: top;
}

thead {
  background: var(--surface-alt);
}

tbody tr + tr td {
  border-top: 1px solid var(--line);
}

.cta-band {
  padding: 1.2rem;
  background: linear-gradient(135deg, rgba(63, 72, 98, 0.98), rgba(42, 125, 183, 0.94));
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cta-band h2,
.cta-band p,
.cta-band a {
  color: #fff;
}

.cta-band .button-secondary {
  color: var(--accent-strong) !important;
  border-color: rgba(255, 255, 255, 0.85);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.small {
  font-size: 0.94rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .grid-2,
  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.75rem);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 4rem;
  }

  .button,
  .lang-switcher {
    width: 100%;
  }

  .button-row,
  .hero-actions {
    flex-direction: column;
  }
}

/* Product identity stays secondary to the JAMELIS brand. */
.product-card {
  display: flow-root;
}

.product-logo {
  float: right;
  width: 110px;
  max-width: 30%;
  height: auto;
  margin: 0 0 0.6rem 0.9rem;
}

.card-compact .product-logo {
  width: 100px;
}

.product-card .button-row {
  clear: both;
}

.email-inline,
.email-inline:hover {
  color: inherit;
}

/* Identity and consent additions use the existing type, colors and spacing. */
.business-identity { font-style: normal; overflow-wrap: anywhere; }
.panel.prose h2 { font-size: 1.4rem; margin: 1.6rem 0 .65rem; }
.footer-links { align-content: start; }
[hidden] { display: none !important; }
.statistics-consent { position: fixed; z-index: 100; inset: auto 1rem 1rem; max-width: 44rem; margin-inline: auto; padding: 1.25rem; background: var(--surface); color: var(--text); border: 2px solid var(--accent); border-radius: var(--radius); box-shadow: var(--shadow); max-height: 85vh; overflow: auto; }
.statistics-consent h2 { font-size: 1.25rem; margin: 0 0 .5rem; }
.statistics-consent p { margin: .5rem 0; }
.statistics-actions { display: flex; gap: .75rem; margin: 1rem 0; }
.statistics-choice { flex: 1; font: inherit; font-weight: 700; background: var(--accent); color: #fff; border: 2px solid var(--accent); cursor: pointer; }
.statistics-choice:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; }
.statistics-choice:focus-visible, [data-cookie-settings]:focus-visible { outline: 3px solid var(--heading); outline-offset: 3px; }
@media (max-width: 480px) {
  .statistics-consent { inset: auto .5rem .5rem; padding: 1rem; }
  .statistics-actions { flex-direction: column; }
}
