/* ============================================================
   CaRD Connector für SharePoint — EDITORIAL THEME (alternative)
   Warm off-white canvas, a dramatic dark navy hero & CTA as
   "bookends", left-aligned section heads, crisp bordered cards,
   indigo accent. Same class names as the other themes so the
   HTML stays identical.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg: #f4f1ea;
  --bg-2: #ffffff;
  --bg-warm: #efe9dd;
  --ink: #15182b;
  --navy: #131a36;
  --navy-2: #1d2750;
  --surface: #ffffff;
  --surface-2: #f0ece2;
  --border: #e2dccf;
  --border-strong: #cdc4b1;
  --text: #18203a;
  --text-dim: #54607a;
  --text-faint: #8d8674;
  --accent: #3a40d8;
  --accent-deep: #2a2fae;
  --teal: #008f7d;
  --on-dark: #eef1f8;
  --on-dark-dim: #a7b0cc;
  --on-dark-faint: #717c9e;
  --grad: linear-gradient(100deg, #4a64ff 0%, #00c2a8 100%);
  --grad-btn: linear-gradient(135deg, #3a40d8 0%, #008f7d 100%);
  --radius: 12px;
  --radius-sm: 8px;
  --font-head: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 1px 2px rgba(20, 24, 43, .06);
  --shadow-md: 0 14px 34px rgba(20, 24, 43, .1);
  --header-h: 72px;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: rgba(58, 64, 216, .16); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.12;
  margin: 0 0 .5em;
  color: var(--text);
  text-wrap: balance;
}
p { margin: 0 0 1em; }

.container { width: min(1180px, 92vw); margin-inline: auto; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--accent); color: #fff; padding: 10px 18px;
  border-radius: 8px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 15.5px;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 16.5px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(244, 241, 234, .82);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--border-strong); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name { font-family: var(--font-head); font-size: 19px; letter-spacing: -.01em; color: var(--text); }
.brand-name strong { font-weight: 700; color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a:not(.btn) { color: var(--text-dim); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s ease; }
.nav-links > a:not(.btn):hover { color: var(--accent); }
.nav-cta { margin-left: 4px; }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--border-strong); border-radius: 8px; padding: 3px; font-size: 13px; font-weight: 600; }
.lang-switch a, .lang-switch span { padding: 4px 11px; border-radius: 6px; text-decoration: none; color: var(--text-dim); }
.lang-switch a:hover { color: var(--accent); }
.lang-switch .active { background: var(--accent); color: #fff; }
.burger { display: none; background: transparent; border: 1px solid var(--border-strong); border-radius: 8px; width: 44px; height: 40px; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (dark, split) ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 76px) 0 84px;
  background: var(--navy);
  color: var(--on-dark);
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.04fr .96fr; gap: 54px; align-items: center; }

.aurora { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(120px); opacity: .5; }
.b1 { width: 520px; height: 520px; left: -140px; top: -160px; background: radial-gradient(circle, rgba(74, 100, 255, .5), transparent 65%); }
.b2 { width: 460px; height: 460px; right: -120px; top: -40px; background: radial-gradient(circle, rgba(0, 194, 168, .34), transparent 65%); }
.b3 { width: 420px; height: 420px; left: 38%; bottom: -260px; background: radial-gradient(circle, rgba(120, 90, 255, .26), transparent 65%); }
.grid-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 30% 20%, #000 25%, transparent 70%);
  mask-image: radial-gradient(ellipse 80% 80% at 30% 20%, #000 25%, transparent 70%);
}

.badge-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; margin: 0 0 24px;
  border: 1px solid rgba(120, 200, 190, .4); border-radius: 999px;
  background: rgba(0, 194, 168, .12); color: #6fe6d2;
  font-size: 13.5px; font-weight: 600; letter-spacing: .02em;
}
.badge-pill svg { width: 14px; height: 14px; }

.hero-title { font-size: clamp(2.7rem, 5.8vw, 4.6rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.02; margin-bottom: 24px; color: #fff; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 18.5px; color: var(--on-dark-dim); max-width: 56ch; margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 16px; }
.hero-ctas .btn-ghost { border-color: rgba(255, 255, 255, .28); color: #fff; }
.hero-ctas .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .06); }
.hero-note { font-size: 13.5px; color: var(--on-dark-faint); margin-bottom: 44px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 14px 40px; margin: 0; padding: 26px 0 0; border-top: 1px solid rgba(255, 255, 255, .12); justify-content: start; }
.stat { margin: 0; }
.stat-v { font-family: var(--font-head); font-size: 23px; font-weight: 700; letter-spacing: -.02em; margin: 0; color: #fff; }
.stat-l { font-size: 12.5px; color: var(--on-dark-faint); margin: 2px 0 0; }

/* ---------- Hero screenshot stack ---------- */
.hero-visual { position: relative; }
.hero-shots { position: relative; margin: 0 auto; padding-bottom: 14px; }
.hero-shot { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); background: #fff; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }
.hero-shot img { display: block; width: 100%; height: auto; }
.hero-shot.is-secondary { position: absolute; right: 0; bottom: 0; width: 72%; box-shadow: 0 18px 40px rgba(0, 0, 0, .5); border-color: rgba(255, 255, 255, .2); }
.hero-shots-cap { text-align: center; font-size: 12.5px; color: var(--on-dark-faint); margin: 18px auto 0; max-width: 48ch; }

/* ---------- Flow diagram (shared) ---------- */
.flow-wrap { max-width: 560px; margin: 0 auto; }
.flow-card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 26px 26px 24px; box-shadow: var(--shadow-md); }
.flow-sources { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.flow-node { display: flex; align-items: center; gap: 12px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 13px 15px; position: relative; text-align: left; }
.flow-node.small { padding: 11px 13px; }
.flow-node.hub { border-color: rgba(58, 64, 216, .4); background: linear-gradient(135deg, rgba(58, 64, 216, .08), rgba(0, 143, 125, .08)); }
.flow-node-wide { grid-column: 1 / -1; }
.node-ico { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 9px; font-family: var(--font-head); font-weight: 700; font-size: 12.5px; }
.flow-node.small .node-ico { width: 34px; height: 34px; font-size: 11px; }
.ico-sap { background: rgba(58, 64, 216, .1); color: var(--accent); border: 1px solid rgba(58, 64, 216, .28); }
.ico-btp { background: rgba(214, 145, 0, .12); color: #b07800; border: 1px solid rgba(214, 145, 0, .3); }
.ico-hub { background: var(--grad-btn); color: #fff; }
.ico-hub svg { width: 22px; height: 22px; }
.ico-sp { background: rgba(0, 143, 125, .12); color: #00786a; border: 1px solid rgba(0, 143, 125, .32); }
.ico-any { background: rgba(120, 90, 255, .1); color: #6a4ee6; border: 1px solid rgba(120, 90, 255, .3); font-size: 16px; }
.node-text { min-width: 0; }
.node-text strong { display: block; font-family: var(--font-head); font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--text); }
.node-text span { display: block; font-size: 12px; color: var(--text-faint); margin-top: 1px; }
.flow-node.small .node-text strong { font-size: 13.5px; }
.flow-node.small .node-text span { font-size: 11px; }
.hub-badge { position: absolute; top: -11px; right: 14px; font-size: 11px; font-weight: 700; color: #fff; background: var(--teal); border-radius: 999px; padding: 3px 11px; box-shadow: 0 4px 14px rgba(0, 143, 125, .3); }
.flow-link { position: relative; height: 54px; display: flex; align-items: center; justify-content: center; }
.flow-link::before { content: ""; position: absolute; left: 50%; top: 6px; bottom: 6px; width: 2px; transform: translateX(-50%); background: linear-gradient(180deg, var(--accent), var(--teal)); border-radius: 2px; opacity: .4; }
.flow-link .dot { position: absolute; left: 50%; top: 4px; width: 8px; height: 8px; border-radius: 50%; transform: translateX(-50%); background: var(--accent); box-shadow: 0 0 10px 2px rgba(58, 64, 216, .4); animation: flowdot 2.4s linear infinite; }
.flow-link .dot.d2 { background: var(--teal); box-shadow: 0 0 10px 2px rgba(0, 143, 125, .4); animation-delay: 1.2s; }
@keyframes flowdot { 0% { top: 4px; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: calc(100% - 12px); opacity: 0; } }
.flow-pill { position: relative; z-index: 1; font-size: 11.5px; font-weight: 600; letter-spacing: .03em; color: var(--text-dim); background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 4px 13px; box-shadow: var(--shadow-sm); }
.float-tag { position: absolute; font-size: 11.5px; font-weight: 600; font-family: ui-monospace, "Cascadia Code", Consolas, monospace; color: var(--text-dim); background: #fff; border: 1px solid var(--border-strong); border-radius: 999px; padding: 6px 13px; box-shadow: var(--shadow-md); animation: floaty 7s ease-in-out infinite alternate; }
.flow-link .float-tag { top: 50%; margin-top: -15px; }
.t1 { left: -46px; animation-delay: 0s; }
.t2 { right: -34px; color: #00786a; border-color: rgba(0, 143, 125, .3); animation-delay: 1.4s; }
.t3 { left: -46px; color: #2c8a3a; border-color: rgba(60, 160, 80, .3); animation-delay: 2.6s; }
@keyframes floaty { from { transform: translateY(-4px); } to { transform: translateY(6px); } }

/* ---------- Compatibility band ---------- */
.compat { border-bottom: 1px solid var(--border); background: var(--bg-2); padding: 30px 0; }
.compat-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.compat-group { padding: 4px 30px; text-align: center; position: relative; }
.compat-group + .compat-group::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 40px; background: var(--border); }
.compat-label { font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px; }
.compat-items { font-family: var(--font-head); font-size: 14.5px; font-weight: 500; color: var(--text-dim); margin: 0; line-height: 1.55; text-wrap: balance; }
.compat-note { text-align: center; max-width: 72ch; margin: 26px auto 0; padding: 0 20px; font-size: 13.5px; line-height: 1.6; color: var(--text-faint); }
.compat-note strong { color: var(--text-dim); font-weight: 600; }

/* ---------- Sections (left-aligned editorial heads) ---------- */
.section { position: relative; padding: 104px 0; }
#features, #certification, #faq { background: var(--bg-2); }
.section-head { max-width: 720px; margin: 0 0 56px; text-align: left; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; padding: 6px 14px; border: 1px solid rgba(58, 64, 216, .25); border-radius: 999px; background: rgba(58, 64, 216, .05); }
.section-title { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.035em; margin-bottom: 18px; }
.section-sub { color: var(--text-dim); font-size: 17.5px; max-width: 64ch; margin: 0; }
.br-desk { display: inline; }

/* ---------- Cards (crisp, bordered) ---------- */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card, .bento-card, .path-card {
  position: relative; background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 30px 28px; overflow: hidden; text-align: left;
  transition: border-color .25s ease, transform .25s ease;
}
.card::after, .bento-card::after, .path-card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.card:hover, .bento-card:hover, .path-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.card:hover::after, .bento-card:hover::after, .path-card:hover::after { transform: scaleX(1); }
.card h3, .bento-card h3 { font-size: 19.5px; margin: 0 0 10px; }
.card p, .bento-card p { color: var(--text-dim); font-size: 15.5px; margin: 0; }
.card-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 20px; border-radius: 10px; background: rgba(58, 64, 216, .08); border: 1px solid rgba(58, 64, 216, .18); color: var(--accent); }
.card-icon svg { width: 24px; height: 24px; }

/* ---------- Bento grid ---------- */
.bento-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-7 { grid-column: span 7; }
.span-12 { grid-column: span 12; }
.path-chips, .backend-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; }
.chip { font-size: 12.5px; font-weight: 600; color: var(--text-dim); background: var(--surface-2); border: 1px solid var(--border); border-radius: 7px; padding: 5px 12px; white-space: nowrap; }
.chip-sep { color: var(--text-faint); font-size: 12px; }
.chip-file { color: #00786a; border-color: rgba(0, 143, 125, .3); background: rgba(0, 143, 125, .06); }
.chip-lg { font-size: 14px; padding: 9px 18px; border-radius: 8px; }
.chip-active { color: #fff; background: var(--accent); border-color: transparent; }
.chip-dim { opacity: .55; }
.code-chip { margin-top: 20px; background: var(--navy); border: 1px solid var(--navy-2); border-radius: 8px; padding: 12px 16px; overflow-x: auto; }
.code-chip code { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 13px; color: #8fd0ff; white-space: nowrap; }
.wide-card { display: flex; align-items: center; justify-content: space-between; gap: 36px; background: var(--bg-warm); border-color: var(--border-strong); }
.wide-card-text { max-width: 60ch; }
.wide-card-text p { margin: 0; }
.backend-chips { margin-top: 0; flex: none; }

/* ---------- BTP paths ---------- */
.paths-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.path-card { padding: 34px 32px; }
.path-num { display: block; font-family: var(--font-head); font-size: 30px; font-weight: 700; letter-spacing: -.02em; color: var(--accent); opacity: .25; margin-bottom: 10px; }
.path-card h3 { font-size: 21px; margin-bottom: 12px; }
.path-card p { color: var(--text-dim); font-size: 15.5px; }
.check-list { list-style: none; margin: 18px 0 0; padding: 0; }
.check-list li { position: relative; padding: 5px 0 5px 30px; color: var(--text-dim); font-size: 15px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 18px; height: 18px; border-radius: 5px; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m4.5 8.5 2.5 2.5 4.5-5.5" fill="none" stroke="%23008f7d" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') center / 14px no-repeat, rgba(0, 143, 125, .1); border: 1px solid rgba(0, 143, 125, .3); }
.check-list.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 28px; }

/* ---------- Certification ---------- */
.cert { overflow: hidden; }
.cert-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(560px circle at 20% 50%, rgba(0, 143, 125, .07), transparent 70%); }
.cert-wrap { position: relative; display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: center; }
.cert-badge svg { width: 100%; max-width: 280px; margin-inline: auto; }
.cert-ring { transform-origin: 100px 100px; animation: spin 50s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cert-text { text-align: left; }
.cert-text .eyebrow { justify-content: flex-start; }
.cert-lead { font-size: 18px; color: var(--text-dim); max-width: 62ch; }
.cert-official { display: block; width: 100%; max-width: 320px; margin: 24px auto 0; padding: 14px 20px; background: #fff; border-radius: 12px; box-sizing: border-box; height: auto; border: 1px solid var(--border-strong); border-radius: 8px; box-shadow: 0 12px 30px rgba(20, 24, 43, .12); }
.cert-note { margin-top: 22px; font-size: 14px; color: var(--text-faint); }

/* ---------- Architecture ---------- */
.arch-diagram { display: grid; grid-template-columns: 1fr auto 1.18fr auto 1fr; gap: 18px; align-items: center; margin-bottom: 70px; }
.arch-col { display: grid; gap: 16px; }
.arch-targets { grid-auto-rows: 1fr; align-self: stretch; }
.arch-box { background: #fff; border: 1.5px solid var(--border); border-radius: 12px; padding: 20px 20px 18px; }
.arch-box h4 { font-size: 16px; margin: 0 0 2px; }
.arch-box p { font-size: 12.5px; color: var(--text-faint); margin: 0 0 12px; }
.arch-box:has(.arch-chips:only-child) p { margin: 0; }
.arch-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.arch-chips span { font-size: 11.5px; font-weight: 600; color: var(--text-dim); background: var(--surface-2); border: 1px solid var(--border); border-radius: 5px; padding: 3px 9px; }
.arch-hub { border-color: rgba(58, 64, 216, .4); background: linear-gradient(135deg, rgba(58, 64, 216, .08), rgba(0, 143, 125, .07)); }
.arch-db { border-style: dashed; }
.arch-db h4 { color: var(--accent); }
.arch-target { border-color: rgba(0, 143, 125, .4); background: rgba(0, 143, 125, .06); }
.arch-alt { border-style: dashed; opacity: .85; }
.arch-flow { display: grid; justify-items: center; gap: 6px; color: var(--accent); }
.arch-flow-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); white-space: nowrap; }
.arch-arrow { width: 44px; height: 22px; }
.spec-title { font-size: 21px; margin-bottom: 22px; text-align: left; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin: 0; border-top: 1px solid var(--border); }
.spec-row { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 15px 4px; border-bottom: 1px solid var(--border); }
.spec-row dt { font-weight: 600; font-size: 14.5px; color: var(--text); margin: 0; }
.spec-row dd { font-size: 14.5px; color: var(--text-dim); margin: 0; }

/* ---------- FAQ ---------- */
.faq-container { max-width: 860px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1.5px solid var(--border); border-radius: 10px; padding: 0 24px; transition: border-color .25s ease; }
.faq-item[open] { border-color: var(--accent); }
.faq-item summary { list-style: none; cursor: pointer; padding: 19px 40px 19px 0; font-family: var(--font-head); font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; position: relative; user-select: none; color: var(--text); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); background: linear-gradient(var(--accent), var(--accent)) center / 12px 2px no-repeat, linear-gradient(var(--accent), var(--accent)) center / 2px 12px no-repeat; border-radius: 50%; transition: transform .3s ease; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { color: var(--text-dim); font-size: 15.5px; padding-bottom: 20px; margin: 0; max-width: 70ch; }

/* ---------- CTA (dark bookend) ---------- */
.cta-section { padding-bottom: 120px; }
.cta-banner { position: relative; text-align: center; background: var(--navy); border-radius: 20px; padding: 78px 7vw 70px; overflow: hidden; }
.cta-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(540px circle at 22% 0%, rgba(74, 100, 255, .3), transparent 60%), radial-gradient(540px circle at 78% 100%, rgba(0, 194, 168, .22), transparent 60%); }
.cta-banner h2 { position: relative; color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); letter-spacing: -.03em; max-width: 24ch; margin-inline: auto; }
.cta-banner .grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta-banner > p { position: relative; color: var(--on-dark-dim); font-size: 17px; max-width: 62ch; margin: 18px auto 36px; }
.cta-actions { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.cta-banner .btn-ghost { border-color: rgba(255, 255, 255, .3); color: #fff; }
.cta-banner .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.cta-small { position: relative; margin: 28px 0 0; font-size: 13px; color: var(--on-dark-faint); }

/* ---------- Partner logo bar ---------- */
.partners { padding: 64px 0 76px; border-top: 1px solid var(--border); background: var(--bg-2); }
.partners-label { text-align: center; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); margin: 0 0 32px; }
.partner-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 30px 40px; }
.partner-logo { display: block; height: 60px; width: auto; max-width: 200px; box-sizing: border-box; padding: 10px 18px; background: #fff; object-fit: contain; object-position: center; border-radius: 6px; border: 1px solid var(--border-strong); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.partner-logo:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 8px 20px rgba(24, 32, 58, .12); }
.partner-logo.is-stackit { max-width: 220px; }

/* ---------- Footer (dark) ---------- */
.site-footer { border-top: 1px solid var(--navy-2); background: var(--navy); color: var(--on-dark); padding: 64px 0 36px; }
.related-bar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px;
  padding: 16px 22px; margin-bottom: 44px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px;
  font-size: 14.5px; color: var(--on-dark-dim);
}
.related-bar strong { color: #fff; font-weight: 600; }
.related-bar a { color: #6fe6d2; font-weight: 600; text-decoration: none; white-space: nowrap; }
.related-bar a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--navy-2); }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name strong { color: #6fe6d2; }
.footer-brand p { color: var(--on-dark-faint); font-size: 14px; margin: 16px 0 0; max-width: 36ch; }
.footer-col h4 { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-faint); margin: 0 0 14px; }
.footer-col a { display: block; color: var(--on-dark-dim); text-decoration: none; font-size: 14.5px; padding: 5px 0; transition: color .2s ease; }
.footer-col a:hover { color: #fff; }
.footer-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 20px; padding: 30px 0 8px; }
.footer-logo { height: 44px; width: auto; max-width: 140px; box-sizing: border-box; padding: 7px 13px; background: #fff; object-fit: contain; object-position: center; transition: transform .2s ease; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 5px 16px rgba(0, 0, 0, .28); }
.footer-logo:hover { transform: translateY(-2px); }
.legal { padding-top: 26px; }
.legal p { font-size: 12.5px; color: var(--on-dark-faint); margin: 0 0 6px; }

/* ---------- Legal pages ---------- */
.legal-main { padding: calc(var(--header-h) + 56px) 0 90px; }
.legal-main .container { max-width: 800px; }
.legal-main h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); letter-spacing: -.03em; margin-bottom: 12px; }
.legal-main h2 { font-size: 19px; margin: 38px 0 10px; }
.legal-main p, .legal-main address, .legal-main li { color: var(--text-dim); font-style: normal; font-size: 15.5px; line-height: 1.7; }
.legal-main address { margin-bottom: 1em; }
.legal-main a { color: var(--accent); }
.legal-note { color: var(--text-faint); font-size: 13.5px; }
.todo-fill { background: rgba(214, 145, 0, .12); border: 1px dashed rgba(214, 145, 0, .5); border-radius: 6px; padding: 1px 8px; color: #9a6a00; font-size: 90%; white-space: nowrap; }

/* ---------- Scroll-Reveal ---------- */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal[data-delay="1"] { transition-delay: .08s; }
html.js .reveal[data-delay="2"] { transition-delay: .16s; }
html.js .reveal[data-delay="3"] { transition-delay: .24s; }
html.js .reveal[data-delay="4"] { transition-delay: .32s; }
html.js .reveal[data-delay="5"] { transition-delay: .4s; }
html.js .reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) { .float-tag { display: none; } }

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 560px; }
  .hero-stats { grid-template-columns: repeat(2, auto); gap: 18px 48px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .span-4, .span-5, .span-7 { grid-column: span 6; }
  .paths-grid { grid-template-columns: 1fr; }
  .cert-wrap { grid-template-columns: 1fr; gap: 36px; }
  .cert-badge svg { max-width: 220px; margin: 0 0 0; }
  .arch-diagram { grid-template-columns: 1fr; }
  .arch-flow { padding: 4px 0; }
  .arch-arrow { transform: rotate(90deg); }
  .spec-grid { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .nav-links { position: fixed; top: var(--header-h); left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 4px; background: rgba(244, 241, 234, .98); backdrop-filter: blur(18px); border-bottom: 1px solid var(--border-strong); padding: 18px min(4vw, 24px) 26px; }
  .nav-open .nav-links { display: flex; }
  .nav-links > a:not(.btn) { padding: 12px 8px; font-size: 16px; border-radius: 8px; }
  .nav-links > a:not(.btn):hover { background: var(--surface-2); }
  .nav-cta { margin: 10px 0 4px; justify-content: center; }
  .lang-switch { align-self: flex-start; margin-top: 8px; }
  .burger { display: flex; }
}

@media (max-width: 900px) { .wide-card { flex-direction: column; align-items: flex-start; } }

@media (max-width: 860px) {
  .compat-inner { grid-template-columns: 1fr 1fr; }
  .compat-group { padding: 16px 24px; }
  .compat-group:nth-child(3)::before { display: none; }
  .compat-group:nth-child(n+3)::after { content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 1px; background: var(--border); }
}

@media (max-width: 760px) {
  .shots-grid { grid-template-columns: 1fr; gap: 22px; }
  .partner-logos { gap: 26px 38px; }
  .partner-logo { height: 50px; padding: 8px 14px; max-width: 160px; }
}

@media (max-width: 700px) {
  body { font-size: 15.5px; }
  .section { padding: 78px 0; }
  .hero { padding-top: calc(var(--header-h) + 44px); padding-bottom: 60px; }
  .hero-lead { font-size: 16.5px; }
  .span-4, .span-5, .span-7 { grid-column: span 12; }
  .hero-shots { padding-bottom: 0; }
  .hero-shot.is-secondary { position: static; width: 74%; margin: -18px 0 0 auto; }
  .flow-sources { grid-template-columns: 1fr; }
  .check-list.cols { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 1fr; gap: 2px; padding: 13px 2px; }
  .cta-banner { padding: 54px 6vw 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .compat-inner { grid-template-columns: 1fr; }
  .compat-group { padding: 15px 12px; }
  .compat-group::before { display: none !important; }
  .compat-group:nth-child(n+2)::after { content: ""; position: absolute; top: 0; left: 12px; right: 12px; height: 1px; background: var(--border); }
}

@media (max-width: 420px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .blob, .flow-link .dot, .float-tag, .cert-ring { animation: none !important; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .bento-card, .path-card { transition: none; }
}


/* ---------- Contact / demo form ---------- */
.cta-form { position: relative; max-width: 560px; margin: 32px auto 0; text-align: left; display: grid; gap: 14px; }
.cta-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cta-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .92); }
.cta-form input, .cta-form textarea { font: inherit; font-size: 15px; padding: 11px 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .96); color: #15203a; width: 100%; }
.cta-form input:focus-visible, .cta-form textarea:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.cta-form textarea { resize: vertical; min-height: 104px; }
.cta-form button[type="submit"] { justify-self: start; margin-top: 4px; }
.cta-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) { .cta-form .form-row { grid-template-columns: 1fr; } }


/* ---------- Partner trust line ---------- */
.partners-note { text-align: center; margin: 28px auto 0; max-width: 64ch; font-size: 14px; line-height: 1.6; color: var(--text-faint); }


/* ---------- Showcase images (product visuals) ---------- */
.showcase { margin: 44px auto 0; max-width: 1000px; }
.showcase-frame { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--border-strong); box-shadow: var(--shadow-md); background: #0a1228; line-height: 0; }
.showcase-frame img { display: block; width: 100%; height: auto; }
.showcase-cap { margin: 14px auto 0; max-width: 70ch; text-align: center; font-size: 14px; line-height: 1.6; color: var(--text-dim); }
@media (max-width: 700px) { .showcase { margin-top: 32px; } .showcase-frame { border-radius: 12px; } }
