/* NacClavis corporate site — design system.
   Palette from the product console (navy #14213d, accent blue #1a73e8). */
:root {
  --navy: #14213d;
  --navy-2: #1b2b4d;
  --accent: #1a73e8;
  --accent-2: #0b57c7;
  --accent-light: #e8f0fe;
  --ink: #1a1a1a;
  --muted: #5f6368;
  --bg: #ffffff;
  --panel: #f6f8fb;
  --border: #e3e7ee;
  --ok: #2e7d32;
  --warn: #b26a00;
  --radius: 12px;
  --maxw: 1160px;
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  --display: "Bahnschrift", "Segoe UI Semibold", var(--font);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--display); color: var(--navy); line-height: 1.15; letter-spacing: .2px; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---- top nav ---- */
header.site { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; gap: 16px; height: 64px; }
.nav .brand img { height: 42px; display: block; }
.nav .spacer { flex: 1; }
.nav a.navlink { color: var(--navy); font-weight: 600; font-size: .92rem; }
.nav a.navlink:hover { color: var(--accent); text-decoration: none; }
.nav .btn { margin-left: 4px; }
.nav a.navlink, .nav .btn { white-space: nowrap; }    /* longer DE/FR/ES labels must not wrap inside the 64px bar */
/* Narrowing steps, sized for the longest menu (French) with the language switcher.
   "Resources" (a jump to the bottom box) goes first, then all text links go below 1040px (was 860px). */
@media (max-width: 1240px) { .nav a.navlink[href$="#resources"] { display: none; } }
@media (max-width: 1100px) { .nav { gap: 14px; } .nav a.navlink { font-size: .88rem; } }
@media (max-width: 1040px) { .nav a.navlink { display: none; } }

/* ---- language switcher (EN default; DE / FR / ES under /de/ /fr/ /es/) ---- */
.lang-switch { display: flex; align-items: center; gap: 2px; font-size: .8rem; font-weight: 700; letter-spacing: .04em; }
.lang-switch a { color: var(--muted); padding: 4px 4px; border-radius: 6px; }
.lang-switch a:hover { color: var(--accent); background: var(--accent-light); text-decoration: none; }
.lang-switch a[aria-current="true"] { color: var(--navy); background: var(--accent-light); }
@media (max-width: 560px) {
  .nav { gap: 10px; }
  .nav .brand img { height: 34px; }
  .nav .btn { display: none; }          /* the hero repeats the "Request a demo" button */
  .lang-switch a { padding: 4px 3px; }
}

/* ---- buttons ---- */
.btn { display: inline-block; font-family: var(--font); font-weight: 600; font-size: .95rem;
  padding: 10px 20px; border-radius: 8px; border: 1px solid transparent; cursor: pointer; transition: .15s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--accent-light); text-decoration: none; }

/* ---- sections ---- */
section { padding: 72px 0; }
section.alt { background: var(--panel); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: 10px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 720px; }
.section-head { max-width: 760px; margin-bottom: 40px; }

/* ---- hero ---- */
.hero { background: radial-gradient(1100px 480px at 72% -12%, rgba(26,115,232,.28), transparent),
  linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, #22345c 100%); color: #fff; padding: 96px 0 84px; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lead { color: #cdd7ea; }
.hero .cta { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero .tags { margin-top: 34px; display: flex; gap: 10px 22px; flex-wrap: wrap; color: #aeb9d2; font-size: .9rem; }
.hero .tags span::before { content: "\2713  "; color: #7fa8f0; }

/* ---- grids & cards ---- */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.card h3 { display: flex; align-items: center; gap: 10px; }
.card .ico { width: 34px; height: 34px; border-radius: 8px; background: var(--accent-light);
  display: inline-flex; align-items: center; justify-content: center; color: var(--accent); font-weight: 800; }
.stat { font-family: var(--display); font-size: 2.2rem; color: var(--accent); }

/* ---- flow / steps ---- */
.flow { border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; margin: 0 0 18px; }
.flow .step { font-weight: 700; color: var(--navy); }
.pill { display: inline-block; background: var(--accent-light); color: var(--accent-2); border-radius: 999px;
  padding: 2px 10px; font-size: .8rem; font-weight: 600; margin: 2px 4px 2px 0; }
.deny { color: var(--warn); font-weight: 600; }

/* ---- compare table ---- */
table.compare { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
table.compare th, table.compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: .95rem; }
table.compare th { background: var(--navy); color: #fff; font-family: var(--display); }
table.compare td.vs { color: var(--muted); }
table.compare td.us { color: var(--navy); font-weight: 600; }
table.compare tr:last-child td { border-bottom: none; }
table.compare th, table.compare td { hyphens: auto; }          /* long German compounds break by syllable */
@media (max-width: 620px) {
  table.compare th, table.compare td { padding: 10px 8px; font-size: .85rem; }
  table.compare { display: block; overflow-x: auto; }          /* last resort: the table scrolls, not the page */
}

/* ---- footer ---- */
footer.site { background: var(--navy); color: #c7d0e4; padding: 56px 0 28px; }
footer.site a { color: #c7d0e4; }
footer.site a:hover { color: #fff; }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { footer .cols { grid-template-columns: 1fr 1fr; } }
footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin: 6px 0; font-size: .92rem; }
footer .logo img { height: 34px; }
footer .fine { margin-top: 36px; border-top: 1px solid #2a3a5c; padding-top: 18px; font-size: .82rem; color: #8695b5; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---- login ---- */
.login-wrap { min-height: calc(100vh - 64px); display: grid; place-items: center; background:
  linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 70%); padding: 40px 20px; }
.login-card { background: #fff; border-radius: 16px; padding: 36px; width: 100%; max-width: 400px; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.login-card img.logo { height: 44px; display: block; margin: 0 auto 18px; }
.login-card label { display: block; font-weight: 600; font-size: .85rem; color: var(--navy); margin: 14px 0 6px; }
.login-card input { width: 100%; padding: 11px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 1rem; }
.login-card .btn-primary { width: 100%; margin-top: 20px; }
.login-note { font-size: .82rem; color: var(--muted); margin-top: 16px; text-align: center; }
