/* =============================================
   Synesys Kft. — synesys.hu
   Dark premium-tech marketing site
   ============================================= */

:root {
  /* Dark theme (default) — aligned with topintel.pro */
  --bg-primary:    #0d1117;
  --bg-secondary:  #161b22;
  --bg-card:       #1c2128;
  --bg-card-hover: #232b34;
  --accent:        #8c44f0;
  --accent-glow:   rgba(140, 68, 240, 0.15);
  --accent2:       #3fb1cd;
  --accent2-glow:  rgba(63, 177, 205, 0.15);
  --text-primary:  #e6edf3;
  --text-muted:    #8b949e;
  --text-faint:    #6e7681;
  --border:        rgba(240, 246, 252, 0.10);
  --border-hover:  rgba(140, 68, 240, 0.45);
  --btn-text:      #ffffff;
  --nav-bg:        rgba(13, 17, 23, 0.82);
  --panel-bg:      rgba(22, 27, 34, 0.98);
  --grid-line:     rgba(140, 68, 240, 0.03);
  --shadow:        rgba(1, 4, 9, 0.6);
  --shadow-soft:   rgba(140, 68, 240, 0.12);
  --hairline:      rgba(240, 246, 252, 0.06);
  --track:         rgba(240, 246, 252, 0.07);
  --radius:        8px;
  --radius-lg:     16px;
  --font-mono:     'JetBrains Mono', 'Fira Code', monospace;
  --font-display:  'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --maxw:          1140px;
}

[data-theme="light"] {
  --bg-primary:    #ffffff;
  --bg-secondary:  #f3f4f8;
  --bg-card:       #ffffff;
  --bg-card-hover: #f6f6fb;
  --accent:        #7c3aed;
  --accent-glow:   rgba(124, 58, 237, 0.12);
  --accent2:       #1597b8;
  --accent2-glow:  rgba(63, 177, 205, 0.14);
  --text-primary:  #0d1117;
  --text-muted:    #57606a;
  --text-faint:    #8b949e;
  --border:        rgba(13, 17, 23, 0.10);
  --border-hover:  rgba(124, 58, 237, 0.45);
  --btn-text:      #ffffff;
  --nav-bg:        rgba(255, 255, 255, 0.82);
  --panel-bg:      rgba(255, 255, 255, 0.98);
  --grid-line:     rgba(13, 17, 23, 0.035);
  --shadow:        rgba(13, 17, 23, 0.12);
  --shadow-soft:   rgba(124, 58, 237, 0.12);
  --hairline:      rgba(13, 17, 23, 0.08);
  --track:         rgba(13, 17, 23, 0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ---- Grid noise texture overlay ---- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ===================== TYPOGRAPHY ===================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.2rem; }

.accent  { color: var(--accent); }
.accent2 { color: var(--accent2); }
.mono    { font-family: var(--font-mono); font-size: 0.85em; }

a { color: inherit; }

/* ===================== NAV ===================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s, border-bottom 0.3s;
}
#navbar.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-logo .accent { color: var(--accent); }
.logo-sep { color: var(--accent); opacity: 0.7; }
.nav-logo-img { height: 30px; width: auto; display: block; }
.footer-brand .nav-logo { font-size: 1.2rem; }
.footer-brand .nav-logo-img { height: 40px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-links > li { position: relative; }
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 1.25;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.nav-ico { width: 18px; height: 18px; flex-shrink: 0; }
.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  background: var(--accent-glow);
}

/* Dropdown */
.has-dropdown > .dropdown-toggle { cursor: pointer; background: none; border: none; font: inherit; color: var(--text-muted); }
.has-dropdown:hover > .dropdown-toggle,
.has-dropdown.open > .dropdown-toggle { color: var(--accent); }
.dropdown-toggle svg { transition: transform 0.25s; opacity: 0.7; }
.has-dropdown:hover .dropdown-toggle svg,
.has-dropdown.open .dropdown-toggle svg { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 240px;
  background: var(--panel-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  box-shadow: 0 16px 50px var(--shadow);
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius);
  width: 100%;
}
.dropdown-menu a .dd-title { color: var(--text-primary); font-weight: 600; font-size: 0.9rem; }
.dropdown-menu a .dd-desc  { color: var(--text-faint); font-size: 0.72rem; line-height: 1.4; }
.dropdown-menu a:hover { background: var(--accent-glow); }
.dropdown-menu a:hover .dd-title { color: var(--accent); }

/* Language toggle */
.lang-toggle {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  margin-left: 0.75rem;
}
.lang-toggle button {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.05em;
}
.lang-toggle button.active {
  background: var(--accent);
  color: var(--btn-text);
  border-radius: 20px;
}

/* Theme toggle */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 30px;
  margin-left: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-glow); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: inline; }

.nav-cta {
  margin-left: 0.5rem;
}
.nav-cta a {
  background: var(--accent);
  color: var(--btn-text) !important;
  font-weight: 700;
  padding: 0.45rem 1rem;
}
.nav-cta a:hover { filter: brightness(1.1); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile nav — breakpoint raised: the menu grew (consulting label, pricing, news items) */
@media (max-width: 1360px) {
  #navbar { padding: 0 1.25rem; }
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 64px; left: 0; right: 0;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    background: var(--panel-bg);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem;
    gap: 0.4rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-130%);
    transition: transform 0.3s;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 0.75rem 1rem; font-size: 1rem; }
  .nav-links > li { width: 100%; }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    min-width: 0;
    background: transparent;
    border: none;
    border-left: 2px solid var(--border);
    border-radius: 0;
    margin: 0.25rem 0 0.5rem 0.75rem;
    padding: 0 0 0 0.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .has-dropdown.open .dropdown-menu { max-height: 400px; }

  .lang-toggle { margin: 0.5rem 0 0; align-self: flex-start; }
  .nav-cta { margin: 0.5rem 0 0; }
  .nav-cta a { display: inline-block; text-align: center; }
}

/* ===================== LAYOUT / SECTIONS ===================== */
section { position: relative; z-index: 1; }

.section-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 5rem 2rem;
}
@media (max-width: 600px) { .section-inner { padding: 3.5rem 1.25rem; } }

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  opacity: 0.85;
}

.section-title { margin-bottom: 3rem; max-width: 720px; }
.section-title.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title.center .section-label { display: block; }
.section-title h2 { margin-bottom: 0.75rem; }
.section-title p {
  color: var(--text-muted);
  max-width: 620px;
  font-size: 1.05rem;
}
.section-title.center p { margin-left: auto; margin-right: auto; }

.alt-bg { background: var(--bg-secondary); }

/* ===================== BUTTONS ===================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--btn-text);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.78rem 1.75rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(140, 68, 240, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent2-glow);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.78rem 1.75rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid var(--accent2);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s, box-shadow 0.2s;
}
.btn-secondary:hover {
  border-color: var(--accent2);
  color: var(--accent2);
  background: var(--accent2-glow);
  box-shadow: 0 0 18px rgba(63, 177, 205, 0.30);
}

.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ===================== HERO (generic) ===================== */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 7rem 2rem 4rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(140,68,240,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 90% 90%, rgba(63,177,205,0.10) 0%, transparent 60%);
}
.hero.compact { min-height: 70vh; }

.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}
.hero-inner.single { grid-template-columns: 1fr; max-width: 860px; text-align: center; }
.hero-inner.single .hero-cta,
.hero-inner.single .hero-badge { justify-content: center; }
.hero-inner.single .hero-sub { margin-left: auto; margin-right: auto; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-glow);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.35rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.7); }
}

.hero h1 { margin-bottom: 1.25rem; }
.hero-sub {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 2.25rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.hero-inner.single .hero-stats { justify-content: center; }
.stat-item { text-align: left; }
.stat-num {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--accent);
  font-family: var(--font-mono);
  line-height: 1;
}
.stat-label { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.3rem; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { order: -1; }
}

/* ===================== DASHBOARD MOCKUP (SVG/CSS) ===================== */
.hero-visual { position: relative; }
.mock {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: 0 24px 70px var(--shadow);
  position: relative;
  overflow: hidden;
}
.mock::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, var(--accent), transparent 40%, var(--accent2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  pointer-events: none;
}
.mock-bar { display: flex; gap: 0.4rem; margin-bottom: 0.85rem; }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--text-faint); opacity: 0.5; }
.mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.mock-tile {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.8rem;
}
.mock-tile.wide { grid-column: 1 / -1; }
.mock-tile .mk-label { font-family: var(--font-mono); font-size: 0.6rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.1em; }
.mock-tile .mk-num { font-size: 1.3rem; font-weight: 800; color: var(--accent); font-family: var(--font-mono); margin-top: 0.2rem; }
.mock-tile .mk-num.purple { color: var(--accent2); }
.spark { display: flex; align-items: flex-end; gap: 3px; height: 38px; margin-top: 0.5rem; }
.spark i {
  display: block; flex: 1;
  background: linear-gradient(180deg, var(--accent), rgba(140,68,240,0.2));
  border-radius: 2px 2px 0 0;
  transform-origin: bottom;
  animation: rise 1.2s ease both;
}
@keyframes rise { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
.gauge {
  height: 6px; border-radius: 3px; margin-top: 0.6rem;
  background: linear-gradient(90deg, var(--accent) 0 var(--w, 70%), var(--track) var(--w, 70%));
}

/* ===================== CARDS GRID (generic) ===================== */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.9rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow-soft);
}

.icon-box {
  width: 46px; height: 46px;
  border-radius: var(--radius);
  background: var(--accent-glow);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
  color: var(--accent);
}
.icon-box.purple { background: var(--accent2-glow); border-color: rgba(63,177,205,0.35); color: var(--accent2); }
.icon-box svg { width: 22px; height: 22px; }

.card h3 { margin-bottom: 0.6rem; font-size: 1.1rem; }
.card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; }

/* Product card (linked) */
.product-card { display: flex; flex-direction: column; }
.product-card .card-link {
  margin-top: auto;
  padding-top: 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s;
}
.product-card:hover .card-link { gap: 0.7rem; }
.product-card .tag-mini {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.5rem;
}
.product-card.top-accent { position: relative; overflow: hidden; }
.product-card.top-accent::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.product-card.top-accent:hover::before { transform: scaleX(1); }

/* Bulleted feature lists inside cards */
.feature-list { list-style: none; margin-top: 0.4rem; }
.feature-list li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--hairline);
  display: flex; align-items: flex-start; gap: 0.6rem;
  line-height: 1.5;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: '▸'; color: var(--accent); flex-shrink: 0; font-size: 0.65rem; margin-top: 0.35rem;
}

/* ===================== SOURCE / CHANNEL CHIPS ===================== */
.chip-grid { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.chip:hover { border-color: var(--accent); color: var(--text-primary); transform: translateY(-2px); }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: 0.7; }
.chip .dot.p { background: var(--accent2); }

/* ===================== SPLIT FEATURE (text + visual) ===================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.split.reverse .split-visual { order: -1; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 2rem; } .split.reverse .split-visual { order: 0; } }
.split h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.split p { color: var(--text-muted); margin-bottom: 1rem; }

/* ===================== HIGHLIGHT / CASE BAND ===================== */
.highlight {
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(63,177,205,0.12) 0%, transparent 60%),
    var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
}
@media (max-width: 700px) { .highlight { grid-template-columns: 1fr; padding: 1.75rem; } }
.highlight .big-num {
  font-family: var(--font-mono);
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.highlight h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.highlight p { color: var(--text-muted); }

/* ===================== SCREENSHOT FRAME ===================== */
.screenshot {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.6rem;
  margin: 0;
  box-shadow: 0 24px 70px var(--shadow);
  position: relative;
}
.screenshot::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, var(--accent), transparent 45%, var(--accent2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.4;
  pointer-events: none;
}
.screenshot img { width: 100%; height: auto; display: block; border-radius: var(--radius); }
.screenshot figcaption {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  padding: 0.7rem 0.4rem 0.2rem;
}
.screenshot img { cursor: zoom-in; }

/* ===================== LIGHTBOX ===================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5vh 4vw;
  background: rgba(1, 4, 9, 0.9);
  backdrop-filter: blur(6px);
  cursor: zoom-out;
}
.lightbox.open { display: flex; animation: lb-in 0.2s ease; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-primary);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.lightbox-close:hover { color: var(--accent); border-color: var(--accent); }

/* ===================== PRICING ===================== */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; align-items: stretch; }
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s;
}
.price-card:hover { transform: translateY(-4px); border-color: var(--border-hover); }
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 16px 50px var(--shadow-soft); }
.price-card .tier-name { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem; }
.price-card .tier-tag { display: inline-block; font-size: 0.65rem; font-weight: 700; background: var(--accent); color: var(--btn-text); padding: 0.15rem 0.55rem; border-radius: 20px; margin-bottom: 0.75rem; }
.price-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.price-amount { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--text-primary); line-height: 1; margin: 0.1rem 0 0.9rem; }
.price-amount .per { font-family: 'Inter', sans-serif; font-size: 0.85rem; font-weight: 500; color: var(--text-muted); margin-left: 0.3rem; }
.price-card .tier-desc { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 1.25rem; }
.price-card .feature-list { flex: 1; margin-bottom: 1.5rem; }
.price-card .btn-secondary, .price-card .btn-primary { width: 100%; justify-content: center; }

/* ===================== TEAM CARDS ===================== */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.9rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.team-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: 0 12px 40px var(--shadow-soft); }
.team-card .role { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.25rem; }
.team-card .role-sub { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.team-card.span-2 { grid-column: span 2; }
@media (max-width: 760px) { .team-card.span-2 { grid-column: span 1; } }
.subroles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-top: 0.5rem; }
.subrole { border-left: 2px solid var(--border); padding-left: 0.9rem; }
.subrole .sr-title { font-size: 0.85rem; font-weight: 700; color: var(--text-primary); }
.subrole .sr-sub { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.2rem; line-height: 1.5; }

/* ===================== ABOUT (consulting) ===================== */
.about-grid { display: grid; grid-template-columns: 1fr 300px; gap: 3rem; align-items: start; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }
.about-text p { color: var(--text-muted); margin-bottom: 1.25rem; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0; }
.tag {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  transition: border-color 0.2s, color 0.2s;
}
.tag:hover { border-color: var(--accent); color: var(--accent); }

.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
}
.profile-card img {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius);
  filter: grayscale(15%) contrast(1.05);
  margin-bottom: 1rem;
}
.profile-card .pc-name { font-weight: 700; font-size: 1.05rem; }
.profile-card .pc-role { color: var(--accent); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; margin-top: 0.25rem; }

/* ===================== PARTNER BAND ===================== */
.partner-band { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-secondary); }
.partner-inner { max-width: var(--maxw); margin: 0 auto; padding: 2.5rem 2rem; text-align: center; }
.partner-inner .partner-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 1.25rem; }
.partner-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.5rem; }
.partner-logos span { font-weight: 700; font-size: 1.05rem; color: var(--text-muted); opacity: 0.75; transition: opacity 0.2s, color 0.2s; letter-spacing: -0.01em; }
.partner-logos span:hover { opacity: 1; color: var(--text-primary); }

/* ===================== CTA BAND ===================== */
.cta-band {
  background:
    radial-gradient(ellipse 70% 120% at 50% 0%, rgba(140,68,240,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 100% at 50% 100%, rgba(63,177,205,0.10) 0%, transparent 60%),
    var(--bg-secondary);
  border-top: 1px solid var(--border);
}
.cta-inner { max-width: 720px; margin: 0 auto; padding: 5rem 2rem; text-align: center; }
.cta-inner h2 { margin-bottom: 1rem; }
.cta-inner p { color: var(--text-muted); font-size: 1.08rem; margin-bottom: 2rem; line-height: 1.7; }
.cta-inner .btn-row { justify-content: center; }

/* ===================== CONTACT ===================== */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  color: var(--text-primary);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.contact-link:hover { border-color: var(--accent); background: var(--accent-glow); transform: translateY(-3px); }
.contact-link svg { flex-shrink: 0; color: var(--accent); }
.contact-link .cl-label { font-size: 0.72rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.08em; }
.contact-link .cl-value { font-weight: 600; font-size: 0.95rem; }

/* ===================== CONTACT FORM ===================== */
.contact-form { max-width: 640px; margin: 0 auto; }
.form-grid { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.92rem;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.7rem 0.85rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-field select { cursor: pointer; }
.form-consent { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; cursor: pointer; }
.form-consent input { margin-top: 0.15rem; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--accent); cursor: pointer; }
.form-consent a { color: var(--accent); text-decoration: none; }
.form-consent a:hover { text-decoration: underline; }
.contact-form .btn-primary { width: 100%; justify-content: center; margin-top: 0.3rem; }
.form-note {
  display: none;
  margin-top: 0.25rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  color: var(--text-primary);
  background: var(--accent2-glow);
  border: 1px solid var(--accent2);
}
.form-note.show { display: block; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ===================== FOOTER ===================== */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: var(--bg-primary);
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr; gap: 1.75rem; } }
.footer-brand .nav-logo { font-size: 1.2rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.85rem; margin-top: 0.75rem; max-width: 320px; }
.footer-col h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-faint); margin-bottom: 1rem; font-weight: 700; }
.footer-col a { display: block; color: var(--text-muted); text-decoration: none; font-size: 0.875rem; padding: 0.3rem 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-contact { margin-top: 1.1rem; font-style: normal; font-size: 0.82rem; color: var(--text-muted); line-height: 1.75; }
.footer-contact strong { color: var(--text-primary); font-weight: 700; }
.footer-contact a { color: var(--accent); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-faint);
}
.footer-bottom .mono { font-family: var(--font-mono); }
.footer-bottom a { color: var(--text-faint); text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--accent); }

/* ===================== SCROLL ANIMATIONS ===================== */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

.stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.stagger.visible > *:nth-child(1) { opacity:1; transform:none; transition-delay: 0.05s; }
.stagger.visible > *:nth-child(2) { opacity:1; transform:none; transition-delay: 0.12s; }
.stagger.visible > *:nth-child(3) { opacity:1; transform:none; transition-delay: 0.19s; }
.stagger.visible > *:nth-child(4) { opacity:1; transform:none; transition-delay: 0.26s; }
.stagger.visible > *:nth-child(5) { opacity:1; transform:none; transition-delay: 0.33s; }
.stagger.visible > *:nth-child(6) { opacity:1; transform:none; transition-delay: 0.40s; }
.stagger.visible > *:nth-child(7) { opacity:1; transform:none; transition-delay: 0.47s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .fade-up, .stagger > * { opacity: 1 !important; transform: none !important; }
}

/* ===================== SCROLLBAR / SELECTION ===================== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 4px; }
::selection { background: rgba(140,68,240,0.30); color: var(--text-primary); }

/* ===================== COOKIE CONSENT ===================== */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translate(-50%, 16px);
  width: min(720px, calc(100vw - 2rem));
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  padding: 1.25rem 1.4rem;
  z-index: 1500;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.cookie-banner.show { opacity: 1; transform: translate(-50%, 0); }

.cookie-title { font-weight: 700; font-size: 0.95rem; color: var(--text-primary); margin-bottom: 0.4rem; }
.cookie-text { font-size: 0.84rem; line-height: 1.55; color: var(--text-muted); margin: 0 0 0.9rem; }

.cookie-details { margin: 0 0 0.9rem; display: grid; gap: 0.6rem; }
.cookie-cat {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.65rem 0.8rem;
  background: var(--bg-secondary);
}
.cookie-cat-title {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; font-weight: 600; color: var(--text-primary);
  cursor: default;
}
.cookie-cat-title input { accent-color: var(--accent); width: 15px; height: 15px; cursor: pointer; }
label.cookie-cat-title { cursor: pointer; }
.cookie-cat-desc { font-size: 0.76rem; line-height: 1.5; color: var(--text-faint); margin: 0.35rem 0 0; }

.cookie-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.cookie-actions .btn-primary, .cookie-actions .btn-secondary {
  padding: 0.55rem 1.1rem; font-size: 0.82rem;
}

.cookie-meta { display: flex; gap: 1.1rem; margin-top: 0.8rem; }
.cookie-link {
  background: none; border: none; padding: 0; font: inherit;
  font-size: 0.76rem; color: var(--text-faint);
  text-decoration: underline; text-underline-offset: 2px;
  cursor: pointer; transition: color 0.2s;
}
.cookie-link:hover { color: var(--accent); }

.cookie-settings-link {
  background: none; border: none; padding: 0; font: inherit;
  font-size: 0.8rem; color: var(--text-faint);
  cursor: pointer; transition: color 0.2s;
}
.cookie-settings-link:hover { color: var(--accent); }

@media (max-width: 560px) {
  .cookie-banner { bottom: 0.5rem; padding: 1rem 1.1rem; }
  .cookie-actions .btn-primary, .cookie-actions .btn-secondary { width: 100%; justify-content: center; }
}

/* ===================== PRICE TABLE (arak.html) ===================== */
.price-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-card); }
.price-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; min-width: 560px; }
.price-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--border);
}
.price-table td {
  padding: 0.8rem 1.1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: top;
}
.price-table td:first-child { color: var(--text-primary); font-weight: 600; white-space: nowrap; }
.price-table td:last-child { color: var(--text-primary); font-weight: 600; white-space: nowrap; }
.price-table tr:last-child td { border-bottom: none; }
.price-table tr.group td {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent2);
  background: var(--bg-secondary);
  padding: 0.55rem 1.1rem;
  white-space: normal;
}
.price-note { text-align: center; margin-top: 1.75rem; color: var(--text-faint); font-size: 0.85rem; }
.pricing-grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* ===================== NEWS / ARTICLES ===================== */
.news-date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.article-meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.article-body { max-width: 760px; margin: 0 auto; }
.article-body p { color: var(--text-muted); margin-bottom: 1rem; line-height: 1.75; }
.article-body h2 { font-size: 1.35rem; margin: 2.1rem 0 0.75rem; color: var(--text-primary); }
.article-body ul { color: var(--text-muted); margin: 0 0 1rem 1.4rem; line-height: 1.7; }
.article-body li { margin-bottom: 0.4rem; }
.article-back { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 2rem; }
.news-thumb {
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: top left;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
  display: block;
}
.article-body .screenshot { margin: 1.5rem 0; }

/* Synesys AI OS 1.3.0 — extends the existing dark/light visual system. */
[hidden] { display: none !important; }
.nav-os-tag { font-family: var(--font-mono); font-size: .75rem; font-weight: 600; color: var(--accent); border-left: 1px solid var(--border); padding-left: .55rem; white-space: nowrap; }
.nav-logo { flex-shrink: 0; }
.hero-content, .hero-visual, .grid-2 > *, .grid-3 > * { min-width: 0; }
.os-workflow { padding: clamp(1.4rem, 3vw, 2.1rem); border: 1px solid var(--border-hover); border-radius: var(--radius-lg); background: var(--bg-card); box-shadow: 0 20px 60px var(--shadow-soft); }
.os-task { font-size: 1.15rem; line-height: 1.6; margin: .9rem 0 1.5rem; color: var(--text-primary); }
.os-workflow-list { list-style: none; }
.os-workflow-list li { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-top: 1px solid var(--border); }
.os-workflow-list strong { display: block; font-size: 1rem; }
.os-workflow-list p { color: var(--text-muted); font-size: .875rem; margin-top: .25rem; }
.os-step { font-family: var(--font-mono); color: var(--accent2); font-size: .875rem; padding-top: .15rem; }
.os-section-actions { margin-top: 2rem; }
.os-note { color: var(--text-muted); font-size: .875rem; line-height: 1.65; margin-top: 1.5rem; max-width: 900px; }
.os-faq { max-width: 900px; }
.os-faq details { border-bottom: 1px solid var(--border); padding: 1.2rem 0; }
.os-faq summary { cursor: pointer; font-weight: 600; font-size: 1rem; padding-right: 1rem; }
.os-faq p { margin-top: 1rem; color: var(--text-muted); }
.os-privacy { text-align: left; }
.os-privacy h1 { margin-bottom: 1.5rem; }
.os-privacy h2 { font-size: 1.4rem; margin-top: 2rem; }
.os-privacy p, .os-privacy li { font-size: 1rem; }
section[id], main[id] { scroll-margin-top: 84px; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 3000; background: var(--bg-card); color: var(--text-primary); padding: .75rem 1rem; border: 2px solid var(--accent); border-radius: var(--radius); }
.skip-link:focus { top: .5rem; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--accent2); outline-offset: 4px; }
.cookie-banner { max-height: calc(100dvh - 2rem); overflow-y: auto; }
.cookie-title, .cookie-text, .cookie-cat-title, .cookie-cat-desc, .cookie-link { font-size: .875rem; }
/* Keep all content readable if JavaScript or browser storage is unavailable. */
.fade-up, .stagger > * { opacity: 1; transform: none; }
.js-reveal .fade-up:not(.visible) { opacity: 0; transform: translateY(24px); }
.js-reveal .stagger:not(.visible) > * { opacity: 0; transform: translateY(20px); }
.js-reveal .stagger.visible > * { opacity: 1; transform: none; }
@media (max-width: 600px) {
 .os-workflow { padding: 1.25rem; }
 .os-task { font-size: 1rem; }
 .os-section-actions { align-items: stretch; }
 .os-section-actions a { justify-content: center; }
 .nav-os-tag { font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 .js-reveal .fade-up, .js-reveal .stagger > * { opacity: 1; transform: none; }
}
@media (max-width: 900px) {
 .os-hero .hero-visual { order: 0; }
}

/* Synesys AI OS 1.3.1 — explanation and announcement. */
.os-definition p { font-size: 1rem; }
.os-definition p + p { margin-top: 1rem; }
.article-body ol { color: var(--text-muted); margin: 0 0 1.5rem 1.5rem; line-height: 1.75; }
.os-news-brand { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; min-height: 140px; padding: 1.5rem; margin-bottom: 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-secondary); font-family: var(--font-mono); font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 600; }

/* AI Call Center 1.3.2 — technical detail and native media. */
.cc-jump-links { display:flex; flex-wrap:wrap; gap:.65rem 1rem; margin-top:1.5rem; font-size:.875rem; }
.cc-jump-links a { color:var(--text-muted); text-underline-offset:4px; }
.cc-provider-list { list-style:none; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.75rem; margin:0 0 2rem; }
.cc-provider-list li { display:flex; align-items:center; gap:.75rem; padding:1rem; border:1px solid var(--border); border-radius:var(--radius); background:#17171e; color:#f4f4f7; font-size:.875rem; }
.cc-provider-list img { width:27px; height:27px; object-fit:contain; flex-shrink:0; filter:brightness(0) invert(1); }
.cc-provider-list img[src$="cc-deepgram.png"],.cc-provider-list img[src$="cc-aws-polly.svg"] { filter:none; }
.cc-table-wrap { overflow-x:auto; border:1px solid var(--border); border-radius:var(--radius); }
.cc-tech-table { width:100%; min-width:520px; border-collapse:collapse; font-size:1rem; }
.cc-tech-table th,.cc-tech-table td { padding:1rem; border-bottom:1px solid var(--border); text-align:left; vertical-align:top; }
.cc-tech-table thead { color:var(--accent); background:var(--bg-card); }
.cc-tech-table tbody th { width:32%; font-weight:600; }
.cc-tech-table td { color:var(--text-muted); }
.cc-tech-table tr:last-child>* { border-bottom:0; }
.cc-example { margin-top:1.5rem; padding:1.5rem; border-left:3px solid var(--accent2); background:var(--bg-card); }
.cc-example p { margin-top:.5rem; color:var(--text-muted); font-size:1rem; }
.cc-media-card { min-width:0; }
.cc-media-card audio,.cc-media-card video { display:block; width:100%; max-width:100%; margin-top:1rem; border-radius:8px; }
.cc-media-card video { aspect-ratio:16/9; object-fit:contain; background:#0c0c12; }
.cc-media-card audio { min-width:0; }
.cc-media-link { font-size:.875rem; margin-top:.6rem; }
.cc-media-link a { text-underline-offset:3px; }
.cc-after { margin-top:1.5rem; }
.cc-screenshot { margin:0 0 1.5rem; min-width:0; }
.cc-screenshot img { display:block; width:100%; max-height:560px; object-fit:contain; background:var(--bg-card); }
.cc-screenshot figcaption { padding:.75rem 1rem; color:var(--text-muted); font-size:.875rem; }
.cc-demo-layout { display:grid; grid-template-columns:1fr; gap:1.5rem; }
@media(max-width:800px) { .cc-provider-list { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:380px) { .cc-provider-list { grid-template-columns:1fr; } }

/* Services: shared overview, detailed offers and partner delivery. */
.services-intro .section-title { max-width: 900px; }
.service-preview { text-decoration: none; color: var(--text-primary); }
.service-preview .card-link { padding-top: 1.1rem; }
.services-hero { min-height: auto; padding-top: 10rem; padding-bottom: 5rem; }
.services-selector { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; min-width: 0; }
.services-jump-list { list-style: none; padding: 0; margin: 1rem 0; }
.services-jump-list li + li { border-top: 1px solid var(--border); }
.services-jump-list a { display: grid; grid-template-columns: 1.8rem minmax(0,1fr) auto; align-items: center; gap: .7rem; padding: 1.1rem 0; color: var(--text-primary); text-decoration: none; font-weight: 600; }
.services-jump-list a:hover { color: var(--accent); }
.service-number { font-family: var(--font-mono); font-size: .75rem; color: var(--accent); }
.service-detail { display: flex; flex-direction: column; scroll-margin-top: 110px; }
.service-detail h3 { font-size: 1.35rem; }
.service-detail h4 { font-size: .85rem; margin: 1.3rem 0 .55rem; color: var(--text-primary); }
.service-detail .service-problem { font-size: 1rem; }
.service-start { margin-top: auto; border-top: 1px solid var(--border); padding-top: .1rem; }
.service-detail > .btn-secondary { align-self: flex-start; margin-top: 1.4rem; }
.partner-delivery { align-self: center; }
#partners, #services { scroll-margin-top: 100px; }
@media (max-width: 700px) {
  .service-overview-grid, .service-detail-grid, .service-process-grid { grid-template-columns: minmax(0,1fr); }
  .services-hero { padding-top: 8rem; padding-bottom: 3rem; }
  .services-selector { padding: 1.25rem; }
  .service-detail > .btn-secondary { align-self: stretch; justify-content: center; }
}


/* Industrial diagnostics: fifth service, wide row and responsive detail. */
.service-overview-grid, .service-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-wide { grid-column: 1 / -1; }
.industrial-service-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem; }
.industrial-service-layout > * { min-width: 0; }
.industrial-service-start { border-left: 1px solid var(--border); padding-left: 2rem; }
.industrial-service-start .btn-secondary { margin-top: 1.4rem; max-width: 100%; text-align: center; }
@media (max-width: 700px) {
  .service-overview-grid, .service-detail-grid, .industrial-service-layout { grid-template-columns: minmax(0, 1fr); }
  .industrial-service-layout { gap: 1rem; }
  .industrial-service-start { border-left: 0; border-top: 1px solid var(--border); padding-left: 0; }
  .industrial-service-start .btn-secondary { display: flex; justify-content: center; }
}

/* Synesys AI OS 1.3.10 — social media sources and multimodal analysis. */
.social-hero-link { margin-top: 1.5rem; font-size: .84rem; line-height: 1.75; }
.social-hero-link a { color: var(--text-primary); text-decoration: none; }
.social-hero-link a:hover { color: var(--accent2); }
.social-hero-caption { display: block; color: var(--text-muted); font-size: .8rem; }
.social-intelligence-section { background: linear-gradient(135deg, var(--accent-glow), transparent 55%), var(--bg-secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.social-intelligence-section .section-title { max-width: 840px; margin-bottom: 1.75rem; }
.social-platforms { display: flex; flex-wrap: wrap; gap: .65rem; list-style: none; margin-bottom: 2rem; }
.social-platforms li { display: inline-flex; align-items: center; gap: .6rem; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-card); padding: .65rem 1.05rem; color: var(--text-primary); font-size: .9rem; font-weight: 600; }
.social-platform-dot { height: 7px; width: 7px; background: var(--accent2); border-radius: 50%; }
.social-content-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.2rem; }
.social-content-card { min-width: 0; }
.social-card-index { display: block; margin-bottom: 1rem; color: var(--accent2); font-family: var(--font-mono); font-size: .75rem; }
.social-privacy { display: grid; grid-template-columns: minmax(180px,.8fr) minmax(0,2fr); gap: 1.5rem; align-items: start; padding: 1.5rem 0; margin-top: 1.5rem; border-top: 1px solid var(--border); }
.social-privacy-label { color: var(--text-primary); font-size: .9rem; }
.social-privacy-label::before { content: '✓'; margin-right: .6rem; color: var(--accent2); }
.social-privacy p { font-size: .85rem; color: var(--text-muted); line-height: 1.7; }
.social-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.6rem; margin-top: .5rem; }
.social-detail-link { color: var(--text-primary); font-size: .9rem; text-underline-offset: .3em; }
.social-analysis-detail { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--border); }
.social-analysis-detail > h3 { margin-bottom: 1.5rem; font-size: 1.35rem; }
@media (max-width: 760px) {
 .social-content-grid { grid-template-columns: minmax(0,1fr); }
 .social-privacy { grid-template-columns: minmax(0,1fr); gap: .65rem; }
 .social-analysis-detail .grid-2 { grid-template-columns: minmax(0,1fr); }
 .social-platforms { gap: .5rem; }
 .social-platforms li { padding: .5rem .85rem; font-size: .84rem; }
 .social-actions .btn-primary { white-space: normal; text-align: center; }
}

/* 1.3.11 — compact social section and predictable spacing. */
.hero.os-hero { min-height: 0; padding-top: 8rem; padding-bottom: 4.5rem; }
.social-intelligence-section .section-inner { padding-top: 4rem; padding-bottom: 4rem; }
.social-intelligence-section .section-title p { max-width: 720px; }
.social-platforms { padding-left: 0; margin-top: 0; }
.social-platforms li { list-style: none; }
.social-content-grid .card { padding: 1.65rem; }
.social-content-grid .card h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.social-content-grid .card p { line-height: 1.7; }
.social-hero-link a { display: inline-block; line-height: 1.8; text-decoration: none; }
.social-hero-caption { display: block; margin-top: .15rem; }
@media (max-width: 600px) {
 .hero.os-hero { padding: 7rem 1.25rem 3rem; }
 .social-intelligence-section .section-inner { padding-top: 3rem; padding-bottom: 3rem; }
 .social-platforms { margin-bottom: 1.5rem; }
 .social-content-grid { gap: .9rem; }
 .social-content-grid .card { padding: 1.35rem; }
 .social-actions { align-items: stretch; flex-direction: column; }
 .social-actions .btn-primary { display: flex; justify-content: center; }
}
