/* =========================================================
   OnRemark — Design System
   Navy + Orange on warm neutrals. Clean enterprise AI/CX.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Brand — cool, precise navy */
  --navy-900: #080F28;
  --navy-800: #0E1838;
  --navy-700: #182A57;
  --navy-600: #2A3D72;
  --navy-500: #3B4E8C;
  --ink:      #0E1736;
  --indigo:   #3A50C8;

  --orange:      #F2823E;
  --orange-600:  #E06A2A;
  --orange-700:  #C2561E;
  --orange-soft: #F8D2B0;
  --orange-tint: #FCEEE2;

  /* Vibrant accents (brightness + emotion) */
  --violet:  #7C5CFC;
  --violet-2: #5B6CF6;
  --coral:   #F65E78;
  --sky:     #2FA8F5;
  --grad-brand: linear-gradient(112deg, #F7913E 0%, #F45E76 52%, #7C5CFC 108%);
  --grad-cta:   linear-gradient(118deg, #F89244 0%, #EF5A6E 100%);
  --grad-violet: linear-gradient(135deg, #7C5CFC, #5B6CF6);
  --violet-tint: #EEEAFE;

  /* Cool neutrals */
  --white:    #FFFFFF;
  --cream:    #FFFFFF;
  --cream-2:  #F5F7FC;
  --sand:     #EBEFF8;
  --line:     rgba(14,23,54,0.085);
  --line-2:   rgba(14,23,54,0.15);

  /* Text — cool slate */
  --t-strong: #0E1736;
  --t-body:   #474F6B;
  --t-muted:  #717892;
  --t-on-dark:        #EBEDF8;
  --t-on-dark-muted:  #9BA4C9;

  /* Support accent (data viz only) */
  --teal: #1B9A8B;
  --teal-soft: #D2EAE5;

  /* Geometry */
  --r-sm: 10px;
  --r:    14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --maxw: 1208px;

  /* Shadow — cool, soft, layered */
  --sh-sm: 0 1px 2px rgba(14,23,54,.05), 0 2px 8px rgba(14,23,54,.05);
  --sh:    0 5px 18px rgba(14,23,54,.06), 0 16px 40px rgba(14,23,54,.07);
  --sh-lg: 0 12px 32px rgba(14,23,54,.09), 0 32px 70px rgba(14,23,54,.12);
  --sh-orange: 0 8px 22px rgba(204,106,44,.28);

  --ease: cubic-bezier(.22,.61,.36,1);

  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--t-body);
  font-size: 16.5px;
  line-height: 1.65;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }

h1,h2,h3,h4 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  color: var(--t-strong);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.032em;
  text-wrap: balance;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 28px; }
.section { padding: clamp(64px, 9vw, 130px) 0; }
.section--tight { padding: clamp(48px, 6vw, 84px) 0; }
.dark { background: var(--navy-800); color: var(--t-on-dark); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.cream-2 { background: var(--cream-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--orange-700);
}
.dark .eyebrow { color: var(--orange-soft); }
.eyebrow::before {
  content: ""; width: 18px; height: 1.5px; background: currentColor; opacity: .65;
}
.eyebrow.no-rule::before { display: none; }

.grad-text { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

.hero-badge { display:inline-flex; align-items:center; gap:9px; padding:7px 15px 7px 12px; border-radius:100px; background:#fff; border:1px solid var(--line-2); box-shadow:var(--sh-sm); font-family:"Space Grotesk",sans-serif; font-weight:600; font-size:13px; color:var(--t-strong); letter-spacing:-.005em; }
.hero-badge .dot { width:7px; height:7px; border-radius:50%; background:var(--orange); box-shadow:0 0 0 3px var(--orange-tint); }
.dark .hero-badge { background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.16); color:#fff; box-shadow:none; }
.dark .hero-badge .dot { box-shadow:0 0 0 3px rgba(224,122,60,.22); }

/* Living hero backgrounds — slow drifting aurora on every page hero */
@keyframes heroAurora { 0% { transform: scale(1) translate(0,0); } 100% { transform: scale(1.14) translate(-2.5%, 2%); } }
.hero::before, .phero::before, .plat-hero::before, .pr-hero::before, .bhero::before, .ed-hero::before {
  animation: heroAurora 18s ease-in-out infinite alternate; will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .hero::before, .phero::before, .plat-hero::before, .pr-hero::before, .bhero::before, .ed-hero::before { animation: none; }
}

.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--t-body); text-wrap: pretty; }
.dark .lead { color: var(--t-on-dark-muted); }

.h-display { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -.03em; }
.h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
.h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
.muted { color: var(--t-muted); }
.center { text-align: center; }
.center .eyebrow::before { display: none; }

.section-head { max-width: 640px; }
.section-head.center { margin-inline: auto; }
.section-head .h2 { margin-top: 14px; }
.section-head p { margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600; font-size: 15.5px; letter-spacing: -.01em;
  padding: 14px 24px; border-radius: 100px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--grad-cta); color: #fff; box-shadow: 0 8px 22px rgba(239,90,110,.32); }
.btn--primary:hover { filter: brightness(1.04); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(239,90,110,.40); }
.btn--dark { background: var(--navy-800); color: #fff; }
.btn--dark:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--t-strong); border: 1.5px solid var(--line-2); }
.btn--ghost:hover { border-color: var(--navy-800); transform: translateY(-2px); }
.dark .btn--ghost { color: #fff; border-color: rgba(255,255,255,.28); }
.dark .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn--white { background: #fff; color: var(--navy-800); }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--sh); }
.btn--lg { padding: 17px 30px; font-size: 16.5px; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 15px;
  color: var(--orange-700);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.dark .link-arrow { color: var(--orange-soft); }

/* ---------- Pills / chips ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 12px; border-radius: 100px;
  background: var(--white); border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 600; color: var(--t-body);
  box-shadow: var(--sh-sm);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.dark .pill { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: var(--t-on-dark); box-shadow: none; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 1px 24px rgba(14,23,54,.05); }
.nav { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: "Space Grotesk", sans-serif; font-weight: 600; }
.brand img { width: 38px; height: 38px; border-radius: 50%; }
.brand .wm { font-size: 22px; color: var(--t-strong); letter-spacing: -.01em; }
.brand .wm b { color: var(--orange-700); }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-links > li > a, .nav-item-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 14px; border-radius: 10px;
  font-size: 15.5px; font-weight: 500; color: var(--t-body);
  transition: color .18s, background .18s;
}
.nav-links > li > a:hover, .nav-item-btn:hover { color: var(--t-strong); background: rgba(20,26,56,.05); }
.nav-item-btn svg { width: 14px; height: 14px; opacity: .6; transition: transform .2s; }
.has-menu:hover .nav-item-btn svg { transform: rotate(180deg); }
.nav-spacer { flex: 1; }

.nav-actions { display: flex; align-items: center; gap: 10px; }

/* language */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: var(--t-body);
}
.lang-btn:hover { background: rgba(20,26,56,.05); }
.lang-btn svg { width: 13px; height: 13px; opacity: .6; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 6px;
  box-shadow: var(--sh-lg); min-width: 150px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s var(--ease);
}
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu button {
  display: flex; width: 100%; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 9px; font-size: 14.5px; font-weight: 500; color: var(--t-body);
}
.lang-menu button:hover { background: var(--cream-2); }
.lang-menu button.active { color: var(--orange-700); font-weight: 700; }
.lang-menu button .flag { font-size: 16px; }

/* mega menu */
.has-menu { position: relative; }
.mega {
  position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%) translateY(-8px);
  width: max-content; max-width: 92vw;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 14px;
  box-shadow: var(--sh-lg);
  opacity: 0; visibility: hidden; transition: .22s var(--ease); z-index: 50;
}
.has-menu:hover .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-grid { display: grid; grid-template-columns: repeat(2, minmax(240px,1fr)); gap: 4px; }
.mega-item { display: flex; gap: 12px; padding: 12px; border-radius: 13px; transition: background .16s; }
.mega-item:hover { background: var(--cream-2); }
.mega-ico {
  flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: var(--cream-2); border: 1px solid var(--line); color: var(--navy-700);
}
.mega-item:hover .mega-ico { background: var(--orange-tint); border-color: transparent; color: var(--orange-700); }
.mega-ico svg { width: 19px; height: 19px; }
.mega-item h5 { font-family: "Space Grotesk", sans-serif; font-size: 15px; font-weight: 600; color: var(--t-strong); }
.mega-item p { font-size: 13px; color: var(--t-muted); margin-top: 2px; line-height: 1.4; }

.nav-burger { display: none; width: 44px; height: 44px; border-radius: 11px; align-items: center; justify-content: center; }
.nav-burger:hover { background: rgba(20,26,56,.05); }
.nav-burger span { width: 20px; height: 2px; background: var(--t-strong); position: relative; }
.nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--t-strong); }
.nav-burger span::before { top: -6px; } .nav-burger span::after { top: 6px; }

/* mobile drawer */
.mobile-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(10,18,50,.4); backdrop-filter: blur(4px); opacity: 0; transition: opacity .26s var(--ease); }
.mobile-overlay.show { opacity: 1; }
.mobile-panel { position: absolute; right: 0; top: 0; height: 100%; width: min(360px, 86vw); background: var(--cream); padding: 22px; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .28s var(--ease); box-shadow: var(--sh-lg); }
.mobile-overlay.show .mobile-panel { transform: none; }
.mob-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mob-close { width: 40px; height: 40px; border-radius: 10px; font-size: 18px; color: var(--t-strong); }
.mob-close:hover { background: rgba(20,26,56,.06); }
.mob-links { display: flex; flex-direction: column; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mob-links a { padding: 14px 4px; font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 20px; color: var(--t-strong); }
.mob-actions { display: flex; flex-direction: column; gap: 10px; padding: 20px 0; }
.mob-actions .btn { width: 100%; }
.mob-langs { margin-top: auto; display: flex; gap: 8px; }
.mob-langs button { flex: 1; padding: 11px; border-radius: 10px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--t-body); }
.mob-langs button:hover { border-color: var(--navy-800); color: var(--t-strong); }

/* =========================================================
   Product mockup components (faux UI)
   ========================================================= */
.ui-window { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg); overflow: hidden; }
.ui-bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: var(--cream-2); }
.ui-dots { display: flex; gap: 6px; }
.ui-dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.ui-dots i:nth-child(1){ background:#E5816B; } .ui-dots i:nth-child(2){ background:#E9C26B; } .ui-dots i:nth-child(3){ background:#7CC08A; }
.ui-url { margin-left: 6px; font-family: "Space Grotesk", sans-serif; font-size: 12.5px; color: var(--t-muted); background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 4px 12px; }

/* chat bubbles */
.chat { display: flex; flex-direction: column; gap: 12px; }
.bubble { max-width: 80%; padding: 12px 16px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; box-shadow: var(--sh-sm); }
.bubble.in { background: var(--cream-2); color: var(--t-strong); border-bottom-left-radius: 5px; align-self: flex-start; }
.bubble.out { background: var(--navy-800); color: #fff; border-bottom-right-radius: 5px; align-self: flex-end; }
.bubble .who { display: block; font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 4px; opacity: .65; }
.handoff { align-self: center; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--orange-700); background: var(--orange-tint); padding: 6px 14px; border-radius: 100px; }
.handoff .ld { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); animation: blink 1.4s infinite; }
@keyframes blink { 0%,100%{opacity:.3} 50%{opacity:1} }

/* mini stat */
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; }
.dark .kpi { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.10); }
.kpi .n { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: clamp(2rem,3.4vw,2.9rem); letter-spacing: -.03em; color: var(--t-strong); line-height: 1; }
.dark .kpi .n { color: #fff; }
.kpi .l { margin-top: 10px; font-size: 14px; color: var(--t-muted); }
.dark .kpi .l { color: var(--t-on-dark-muted); }
.kpi .trend { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; color: var(--teal); margin-top: 8px; }

/* bar chart */
.barchart { display: flex; align-items: flex-end; gap: 10px; height: 130px; }
.barchart .bar { flex: 1; background: linear-gradient(var(--navy-600), var(--navy-800)); border-radius: 6px 6px 0 0; position: relative; min-height: 6px; }
.barchart .bar.hot { background: linear-gradient(var(--orange), var(--orange-600)); }

/* tabs */
.tabs { display: inline-flex; gap: 4px; padding: 5px; background: var(--cream-2); border-radius: 100px; border: 1px solid var(--line); }
.tabs button { padding: 9px 18px; border-radius: 100px; font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 14.5px; color: var(--t-muted); transition: .2s; }
.tabs button.active { background: #fff; color: var(--t-strong); box-shadow: var(--sh-sm); }

/* check list */
.checks { display: grid; gap: 13px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--t-body); }
.checks .ck { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--orange-tint); color: var(--orange-700); display: grid; place-items: center; margin-top: 1px; }
.dark .checks li { color: var(--t-on-dark-muted); }
.dark .checks .ck { background: rgba(221,126,69,.18); color: var(--orange-soft); }
.checks .ck svg { width: 13px; height: 13px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--navy-800), var(--navy-900)); color: var(--t-on-dark-muted); padding: 0; }
.ft-watermark { position: absolute; right: 0; bottom: 0; width: min(420px, 56vw); opacity: .12; z-index: 0; line-height: 0; }
.ft-watermark img { width: 100%; height: auto; }
.ft-inner { position: relative; z-index: 1; }
.ft-cta { text-align: center; padding: clamp(48px,7vw,72px) 24px 4px; }
.ft-cta-t { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: clamp(1.5rem,3.2vw,2.1rem); color: #fff; letter-spacing: -.025em; text-wrap: balance; }
.ft-cta .btn { margin-top: 22px; }
.ft-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr .9fr 1.3fr; gap: 40px; padding: 56px 0 48px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; }
.ft-brand .brand .wm { color: #fff; }
.ft-line { margin-top: 14px; font-size: 14px; line-height: 1.6; max-width: 300px; color: var(--t-on-dark-muted); }
.ft-sup { margin-top: 22px; }
.ft-sup-label { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 11px; }
.ft-sup-logos { display: flex; flex-wrap: wrap; gap: 10px; }
.ft-sup-logos a { display: inline-flex; align-items: center; background: #fff; border-radius: 10px; padding: 8px 13px; box-shadow: var(--sh-sm); transition: transform .2s var(--ease), box-shadow .2s; }
.ft-sup-logos a:hover { transform: translateY(-2px); box-shadow: var(--sh); }
.ft-sup-logos img { height: 26px; width: auto; display: block; }
.ft-sup-logos .enl img { height: 30px; }
.site-footer .footer-social { margin-top: 22px; }
.ft-col h6 { font-family: "Space Grotesk", sans-serif; color: #fff; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; margin-bottom: 14px; }
.ft-col a { display: block; padding: 6px 0; font-size: 14px; color: var(--t-on-dark-muted); transition: color .16s; }
.ft-col a:hover { color: #fff; }
.ft-news .btn { width: 100%; margin-bottom: 16px; }
.ft-news label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 9px; }
.ft-nl { display: flex; gap: 8px; }
.ft-nl input { flex: 1; min-width: 0; padding: 11px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; font: inherit; font-size: 14px; }
.ft-nl input::placeholder { color: var(--t-on-dark-muted); }
.ft-nl input:focus { outline: none; border-color: var(--orange); background: rgba(255,255,255,.1); }
.ft-nl button { padding: 11px 16px; border-radius: 10px; background: #fff; color: var(--navy-800); font-weight: 600; font-size: 14px; font-family: "Space Grotesk", sans-serif; white-space: nowrap; }
.ft-nl button:hover { background: var(--orange); color: #fff; }
.ft-copy { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,.1); padding: 22px 24px; text-align: center; font-size: 12.5px; color: rgba(255,255,255,.5); }
@media (max-width: 980px) { .ft-grid { grid-template-columns: 1fr 1fr; } .ft-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .ft-grid { grid-template-columns: 1fr; } }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; }
.footer-brand .brand .wm { color: #fff; }
.footer-brand p { margin-top: 16px; font-size: 14.5px; max-width: 300px; line-height: 1.6; }
.footer-col h6 { font-family: "Space Grotesk", sans-serif; color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; margin-bottom: 16px; }
.footer-col a { display: block; padding: 7px 0; font-size: 14.5px; color: var(--t-on-dark-muted); transition: color .16s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.10); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 13.5px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.06); display: grid; place-items: center; transition: background .16s; }
.footer-social a:hover { background: rgba(255,255,255,.14); }
.footer-social svg { width: 17px; height: 17px; }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--sh-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--sh); border-color: var(--line-2); }
.dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); box-shadow: none; }
.feature-ico { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, var(--orange-tint), var(--violet-tint)); border: 1px solid rgba(124,92,252,.16); color: var(--orange-700); margin-bottom: 20px; transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s, box-shadow .25s; }
.feature-ico svg { width: 23px; height: 23px; }
.card:hover .feature-ico, .sector:hover .feature-ico { background: var(--grad-brand); border-color: transparent; color: #fff; transform: translateY(-1px) rotate(-3deg); box-shadow: 0 10px 22px rgba(124,92,252,.28); }
.dark .feature-ico { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); color: var(--orange-soft); }

/* ---------- Logo cloud ---------- */
.logo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 40px; }
.logo-chip { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 18px; color: var(--t-muted); opacity: .55; letter-spacing: -.01em; transition: opacity .2s, color .2s; }
.logo-chip:hover { opacity: 1; color: var(--t-strong); }

/* ---------- Integrations grid (shared) ---------- */
.intg-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.intg { display: flex; align-items: center; gap: 13px; min-height: 66px; padding: 12px 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; font-weight: 600; font-size: 15px; color: var(--t-strong); box-shadow: var(--sh-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.intg:hover { border-color: transparent; transform: translateY(-3px); box-shadow: var(--sh); }
.intg .lg { width: 42px; height: 42px; min-width: 42px; flex: 0 0 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 7px rgba(14,23,54,.10); overflow: hidden; }
.intg .lg img { width: 25px; height: 25px; object-fit: contain; display: block; opacity: 1; }
.intg:hover .lg { border-color: rgba(14,23,54,.14); }
@media (max-width: 880px){ .intg-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 480px){ .intg-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; } .intg { font-size: 13.5px; padding: 10px 12px; } }

.intg-initials {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--orange-tint), var(--violet-tint));
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 10px;
  color: var(--navy-800);
  letter-spacing: -0.02em;
}
.intg-ticker-fallback {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--t-muted);
  letter-spacing: -0.02em;
}
.intg-blocks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.intg-blocks--compact { gap: 12px; }
.intg-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 22px 24px;
  box-shadow: var(--sh-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}
.intg-block:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh);
  border-color: rgba(242, 130, 62, 0.2);
}
.intg-block--compact { padding: 16px 18px; }
.intg-block__title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--t-strong);
  letter-spacing: -0.02em;
}
.intg-block__subtitle {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange-700);
}
.intg-block__desc {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--t-body);
}
.intg-block__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.intg-block--compact .intg-block__tags { margin-top: 10px; }
.intg-block__tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 100px;
  border: 1px solid rgba(14, 23, 54, 0.08);
  background: linear-gradient(180deg, #f8f9fc, #fff);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: var(--t-strong);
}
.intg-filters-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin-top: 28px;
}
.intg-count {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--t-muted);
  white-space: nowrap;
}
.intg-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.intg-filters::-webkit-scrollbar { display: none; }
.intg-filter {
  flex-shrink: 0;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--t-body);
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.intg-filter:hover { border-color: rgba(14, 23, 54, 0.16); color: var(--t-strong); }
.intg-filter.active {
  background: linear-gradient(180deg, #fff6ee, #fff);
  border-color: rgba(242, 130, 62, 0.35);
  color: var(--navy-800);
  box-shadow: 0 0 0 3px var(--orange-tint);
}
@media (max-width: 880px) {
  .intg-blocks { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .intg-filters-wrap { flex-direction: column; align-items: stretch; }
  .intg-count { text-align: center; }
}

/* ---------- Striped placeholder ---------- */
.ph {
  background-color: var(--cream-2);
  background-image: repeating-linear-gradient(135deg, rgba(20,26,56,.05) 0 10px, transparent 10px 20px);
  border: 1px dashed var(--line-2); border-radius: var(--r);
  display: grid; place-items: center; color: var(--t-muted);
  font-family: "Space Grotesk", monospace; font-size: 13px; letter-spacing: .02em;
}

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-d="1"] { transition-delay: .08s; }
[data-reveal-d="2"] { transition-delay: .16s; }
[data-reveal-d="3"] { transition-delay: .24s; }
[data-reveal-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Utilities ---------- */
.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2,1fr); }
.g-3 { grid-template-columns: repeat(3,1fr); }
.g-4 { grid-template-columns: repeat(4,1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,72px); align-items: center; }
.stack-sm > * + * { margin-top: 12px; }
.mt-s { margin-top: 16px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: 44px; }
.flex { display: flex; } .items-center { align-items: center; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; }
.wrap-btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links, .nav-actions .btn--demo { display: none; }
  .nav-burger { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .g-3, .g-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 20px; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Legal pages ---------- */
.legal-page { padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 8vw, 96px); max-width: 760px; }
.legal-eyebrow { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--orange-700); }
.legal-h1 { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.08; letter-spacing: -.03em; color: var(--ink); margin-top: 12px; }
.legal-updated { margin-top: 8px; font-size: 14px; color: var(--t-muted); }
.legal-alert { margin-top: 28px; border-radius: 16px; border: 1px solid rgba(245, 158, 11, .45); background: #fffbeb; padding: 18px 20px; color: #78350f; font-size: 14px; line-height: 1.6; }
.legal-alert-t { font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.legal-body { margin-top: 36px; font-size: 15px; line-height: 1.7; color: var(--t-body); }
.legal-sec { margin-top: 32px; }
.legal-sec--border { border-top: 1px solid var(--line); padding-top: 32px; }
.legal-sec--border-y { border-block: 1px solid var(--line); padding-block: 28px; }
.legal-h2 { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; color: var(--ink); margin-bottom: 12px; }
.legal-body p { margin-top: 10px; }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-ul { margin-top: 10px; padding-left: 1.25rem; list-style: disc; }
.legal-ul li + li { margin-top: 8px; }
.legal-link { color: var(--orange-700); font-weight: 600; text-decoration: none; }
.legal-link:hover { text-decoration: underline; }
.legal-wm { font-family: "Space Grotesk", sans-serif; font-weight: 600; white-space: nowrap; }
.legal-table-wrap { margin-top: 14px; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.legal-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 12px; text-align: left; }
.legal-table th { padding: 10px 12px; font-weight: 600; color: var(--ink); background: var(--cream-2); border-bottom: 1px solid var(--line); }
.legal-table td { padding: 10px 12px; vertical-align: top; border-bottom: 1px solid var(--line-2); color: var(--t-body); }
.legal-table td.mono { font-family: ui-monospace, monospace; font-size: 11px; line-height: 1.45; }
.legal-consent-block { margin-top: 28px; padding: 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--cream-2); }
.legal-meta { margin-top: 12px; font-size: 14px; }
.legal-meta li + li { margin-top: 6px; }
.legal-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 48px; }

/* ---------- Cookie banner ---------- */
#cookie-consent-root[hidden] { display: none; }
.cookie-banner { position: fixed; inset: 0 0 0 0; z-index: 120; pointer-events: none; display: flex; align-items: flex-end; justify-content: center; padding: 12px 16px max(12px, env(safe-area-inset-bottom)); }
.cookie-banner-panel { pointer-events: auto; width: min(960px, 100%); border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.97); box-shadow: 0 18px 50px rgba(15,23,42,.14); backdrop-filter: blur(10px); padding: 18px 20px; }
.cookie-banner-main { flex: 1; min-width: 0; }
.cookie-banner-title { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.cookie-banner-intro { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--t-body); }
.cookie-banner-links { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; font-weight: 600; }
.cookie-banner-links a { color: var(--orange-700); text-decoration: none; }
.cookie-banner-links a:hover { text-decoration: underline; }
.cookie-banner-hint { margin-top: 8px; font-size: 11px; color: var(--t-muted); }
.cookie-banner-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.cookie-customize { border: none; background: none; color: var(--orange-700); font-weight: 600; font-size: 14px; padding: 10px 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner-custom { margin-top: 14px; padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--cream-2); }
.cookie-toggle { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 14px; }
.cookie-toggle input { margin-top: 3px; }
.cookie-toggle strong { display: block; color: var(--ink); }
.cookie-toggle small { display: block; margin-top: 4px; color: var(--t-muted); font-size: 12px; line-height: 1.45; }
.cookie-banner-save-wrap { margin-top: 12px; display: flex; justify-content: flex-end; }
@media (min-width: 768px) {
  .cookie-banner-panel { display: grid; grid-template-columns: 1.2fr auto; gap: 20px; align-items: start; padding: 22px 24px; }
  .cookie-banner-actions { margin-top: 0; flex-direction: column; min-width: 200px; }
  .cookie-banner-custom { grid-column: 1 / -1; }
}
