/* Synaptosearch — style.css */

/* ═══════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════ */
:root {
  --c-blue-primary:  #1A6BB5;
  --c-blue-deep:     #0D4A8A;
  --c-blue-deep-rgb: 13, 74, 138;
  --c-light-blue:    #5BAEE8;
  --c-soft:          #A8D4F5;
  --c-pale:          #DCF0FB;
  --c-white:         #FFFFFF;
  --c-black:         #0F0F0F;
  --c-text:          #3A3A3A;
  --c-muted:         #6E8FAB;

  --f-display: 'Playfair Display', Georgia, serif;
  --f-body:    'Inter', system-ui, -apple-system, sans-serif;
  --f-mono:    'JetBrains Mono', 'Courier New', monospace;

  --nav-h: 72px;
  --max-w: 1200px;
  --max-w-prose: 760px;

  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-full: 9999px;

  --sh-sm:    0 1px 4px  rgba(var(--c-blue-deep-rgb), .07);
  --sh-md:    0 4px 24px rgba(var(--c-blue-deep-rgb), .10);
  --sh-lg:    0 12px 52px rgba(var(--c-blue-deep-rgb), .16);
  --sh-hover: 0 8px 36px rgba(var(--c-blue-deep-rgb), .20);

  --t-fast: 150ms ease;
  --t-base: 250ms ease;
  --t-slow: 420ms ease;
}

/* ═══════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  line-height: 1.7;
  color: var(--c-black);
  background: var(--c-white);
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--c-blue-primary); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--c-blue-deep); }
ul, ol { list-style: none; }
::selection { background: var(--c-soft); color: var(--c-blue-deep); }
:focus-visible { outline: 2px solid var(--c-blue-primary); outline-offset: 3px; }

/* ═══════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════ */
h1, h2, h3 { font-family: var(--f-display); line-height: 1.2; color: var(--c-blue-deep); }
h4, h5, h6 { font-family: var(--f-body); line-height: 1.3; color: var(--c-blue-deep); }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem);  font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.55rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
h5 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
.lead { font-size: 1.15rem; line-height: 1.8; color: var(--c-text); }
blockquote {
  font-family: var(--f-display); font-style: italic; font-size: 1.2rem;
  line-height: 1.65; color: var(--c-blue-deep);
  border-left: 3px solid var(--c-light-blue); padding-left: 1.5rem; margin: 2rem 0;
}
code { font-family: var(--f-mono); font-size: .875em; background: var(--c-pale); color: var(--c-blue-deep); padding: .15em .4em; border-radius: var(--r-sm); }

/* ═══════════════════════════════════════
   LAYOUT
═══════════════════════════════════════ */
.container    { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: 1.5rem; }
.container-sm { width: 100%; max-width: var(--max-w-prose); margin-inline: auto; padding-inline: 1.5rem; }
section { padding-block: 5rem; }
section.section-sm { padding-block: 3.5rem; }
section.section-lg { padding-block: 7rem; }

.section-label { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-light-blue); margin-bottom: .75rem; }
.section-heading { margin-bottom: 1rem; }
.section-sub { font-size: 1.05rem; color: var(--c-text); max-width: 640px; margin-bottom: 2.5rem; }
.text-center { text-align: center; }
.text-center .section-sub { margin-inline: auto; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.split  { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

/* ═══════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7em 1.6em; font-family: var(--f-body); font-size: .9rem;
  font-weight: 600; line-height: 1; border-radius: var(--r-full);
  border: 2px solid transparent; cursor: pointer;
  transition: all var(--t-base); white-space: nowrap; text-decoration: none;
}
.btn-sm  { padding: .5em 1.1em; font-size: .82rem; }
.btn-lg  { padding: .85em 2.1em; font-size: 1rem; }
.btn-primary { background: var(--c-blue-primary); color: #fff; border-color: var(--c-blue-primary); }
.btn-primary:hover { background: var(--c-blue-deep); border-color: var(--c-blue-deep); color: #fff; transform: translateY(-1px); box-shadow: var(--sh-hover); }
.btn-outline { background: transparent; color: var(--c-blue-primary); border-color: var(--c-blue-primary); }
.btn-outline:hover { background: var(--c-blue-primary); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }

/* ═══════════════════════════════════════
   BADGES
═══════════════════════════════════════ */
.badge { display: inline-flex; align-items: center; padding: .25em .8em; font-size: .72rem; font-weight: 700; letter-spacing: .04em; border-radius: var(--r-full); line-height: 1.5; }
.badge-blue       { background: var(--c-pale);     color: var(--c-blue-primary); }
.badge-soft       { background: var(--c-soft);     color: var(--c-blue-deep); }
.badge-philosophy { background: #dde8f9;            color: #1a3a7a; }
.badge-science    { background: #d4eef9;            color: #0d5c8a; }
.badge-technology { background: #daf2fb;            color: #0a6a9e; }
.badge-real-life  { background: #e0f0fe;            color: #1a6bb5; }
.badge-future     { background: #f1f8fe; border: 1px solid var(--c-soft); color: var(--c-muted); }
.badge-active     { background: #d4f5e9; color: #137a52; }

/* ═══════════════════════════════════════
   CARDS
═══════════════════════════════════════ */
.card {
  background: var(--c-white); border: 1px solid var(--c-soft);
  border-radius: var(--r-lg); padding: 2rem;
  transition: all var(--t-base);
}
.card:hover { box-shadow: var(--sh-hover); border-color: var(--c-light-blue); transform: translateY(-3px); }
.card-icon { width: 48px; height: 48px; background: var(--c-pale); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; font-size: 1.4rem; }
.card h3 { font-size: 1.1rem; margin-bottom: .75rem; }
.card p  { color: var(--c-text); font-size: .9rem; margin-bottom: 1rem; }
.card-link { font-size: .88rem; font-weight: 600; color: var(--c-blue-primary); display: inline-flex; align-items: center; gap: .375rem; }
.card-link::after { content: '→'; transition: transform var(--t-fast); }
.card:hover .card-link::after { transform: translateX(4px); }

/* Research card */
.research-card { display: flex; flex-direction: column; }
.research-card .card-tags { margin-bottom: 1rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.research-card .card-meta { margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--c-pale); display: flex; align-items: center; justify-content: space-between; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; display: inline-block; margin-right: .375rem; }
.status-dot.future { background: var(--c-muted); }

/* ═══════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  transition: background var(--t-base), box-shadow var(--t-base);
}
.site-nav.scrolled {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(var(--c-blue-deep-rgb),.08);
}
.site-nav.hero-nav { background: transparent; }

.nav-inner {
  display: flex; align-items: center; gap: 2rem;
  height: 100%; max-width: var(--max-w);
  margin-inline: auto; padding-inline: 1.5rem;
}
.nav-logo { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; text-decoration: none; }
.nav-logo img { height: 34px; width: auto; filter: brightness(0) invert(1); transition: filter var(--t-fast); }
.site-nav.scrolled .nav-logo img { filter: none; }
.nav-logo-name { font-family: var(--f-display); font-size: 1.1rem; font-weight: 700; color: #fff; transition: color var(--t-fast); }
.site-nav.scrolled .nav-logo-name { color: var(--c-blue-deep); }

.nav-links { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.nav-link {
  font-size: .875rem; font-weight: 500; color: rgba(255,255,255,.88);
  padding: .4rem .9rem; border-radius: var(--r-sm);
  transition: all var(--t-fast); background: none; border: none; cursor: pointer;
  display: flex; align-items: center; gap: .3rem;
  font-family: var(--f-body); line-height: 1; text-decoration: none;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.1); }
.site-nav.scrolled .nav-link { color: var(--c-text); }
.site-nav.scrolled .nav-link:hover { color: var(--c-blue-primary); background: var(--c-pale); }
.nav-link.active { color: var(--c-blue-primary) !important; font-weight: 600; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-arrow { font-size: .6rem; transition: transform var(--t-fast); display: inline-block; }
.nav-dropdown:hover .nav-arrow { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 6px); left: 0;
  background: var(--c-white); border: 1px solid var(--c-soft);
  border-radius: var(--r-md); box-shadow: var(--sh-lg);
  padding: .375rem; min-width: 230px;
  opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: all var(--t-base);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { opacity: 1; pointer-events: auto; transform: none; }
.nav-dropdown-item { display: block; padding: .6rem 1rem; color: var(--c-text); font-size: .855rem; font-weight: 500; border-radius: var(--r-sm); transition: all var(--t-fast); }
.nav-dropdown-item:hover { background: var(--c-pale); color: var(--c-blue-primary); }

.nav-cta { margin-left: 1rem; }

.nav-hamburger { display: none; flex-direction: column; justify-content: space-between; width: 24px; height: 17px; background: none; border: none; cursor: pointer; padding: 0; margin-left: auto; }
.nav-hamburger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: all var(--t-base); }
.site-nav.scrolled .nav-hamburger span { background: var(--c-blue-deep); }

.mobile-menu {
  display: none; position: fixed; inset: 0; background: var(--c-blue-deep); z-index: 99;
  padding: calc(var(--nav-h) + 2rem) 2rem 2rem; overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu > a { display: block; color: #fff; font-size: 1.3rem; font-family: var(--f-display); padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.mobile-sub a { display: block; color: var(--c-soft); font-size: .9rem; padding: .5rem 1rem; border: none; }

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: var(--c-blue-deep); overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-content {
  position: relative; z-index: 1;
  max-width: var(--max-w); margin-inline: auto;
  padding-inline: 1.5rem; padding-block: 5rem;
}
.hero-eyebrow { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-light-blue); margin-bottom: 1.25rem; }
.hero-headline { font-family: var(--f-display); font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 700; color: #fff; line-height: 1.15; max-width: 800px; margin-bottom: 1.5rem; }
.hero-sub { font-size: clamp(1rem, 1.8vw, 1.18rem); color: var(--c-soft); max-width: 580px; line-height: 1.75; margin-bottom: 2.5rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.page-hero { background: var(--c-blue-deep); padding: calc(var(--nav-h) + 4rem) 0 4rem; text-align: center; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: var(--c-soft); max-width: 600px; margin-inline: auto; margin-top: 1rem; }
.page-hero .badge { margin-bottom: 1rem; }
.breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .78rem; color: var(--c-soft); margin-bottom: 1rem; justify-content: center; }
.breadcrumb a { color: var(--c-soft); }
.breadcrumb a:hover { color: #fff; }

/* ═══════════════════════════════════════
   SECTION BACKGROUNDS
═══════════════════════════════════════ */
.bg-pale  { background: var(--c-pale); }
.bg-deep  { background: var(--c-blue-deep); }
.bg-deep h2, .bg-deep h3, .bg-deep h4 { color: #fff; }
.bg-deep p, .bg-deep .lead, .bg-deep li { color: var(--c-soft); }
.bg-deep .section-label { color: var(--c-light-blue); }
.bg-deep .card { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.12); }
.bg-deep .card:hover { background: rgba(255,255,255,.12); border-color: var(--c-soft); }
.bg-deep .card h3 { color: #fff; }
.bg-deep .card p  { color: var(--c-soft); }
.bg-deep .card-link { color: var(--c-light-blue); }

/* ═══════════════════════════════════════
   DOMAIN WHEEL
═══════════════════════════════════════ */
.domain-wheel-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.domain-svg-container { max-width: 440px; }
.wheel-line        { stroke: var(--c-soft); stroke-width: 1.5; opacity: .55; animation: linePulse 3.5s ease-in-out infinite; }
.wheel-line:nth-child(2) { animation-delay: .7s; }
.wheel-line:nth-child(3) { animation-delay: 1.4s; }
.wheel-line:nth-child(4) { animation-delay: 2.1s; }
.wheel-line-cross   { stroke: var(--c-pale); stroke-width: 1; opacity: .3; stroke-dasharray: 4 4; }
@keyframes linePulse { 0%,100% { opacity: .3; } 50% { opacity: .75; } }
.wheel-node { cursor: pointer; }
.wheel-node-circle { fill: var(--c-white); stroke: var(--c-soft); stroke-width: 2; transition: all .2s; }
.wheel-node:hover .wheel-node-circle, .wheel-node.hl .wheel-node-circle { fill: var(--c-pale); stroke: var(--c-blue-primary); stroke-width: 2.5; }
.wheel-node-text { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 600; fill: var(--c-blue-deep); text-anchor: middle; dominant-baseline: middle; pointer-events: none; }
.wheel-center-bg { fill: var(--c-blue-primary); filter: drop-shadow(0 0 14px rgba(26,107,181,.45)); }
.wheel-center-text { font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 700; fill: #fff; text-anchor: middle; dominant-baseline: middle; pointer-events: none; }

.domain-list { display: flex; flex-direction: column; gap: 1.25rem; }
.domain-item { padding: 1.1rem 1.5rem; border-left: 3px solid var(--c-soft); border-radius: 0 var(--r-md) var(--r-md) 0; transition: all var(--t-base); cursor: pointer; }
.domain-item:hover, .domain-item.active { border-left-color: var(--c-blue-primary); background: var(--c-pale); }
.domain-item h4 { color: var(--c-blue-deep); margin-bottom: .25rem; font-size: .95rem; }
.domain-item p  { color: var(--c-text); font-size: .875rem; margin: 0; }

/* ═══════════════════════════════════════
   FEATURE ITEMS
═══════════════════════════════════════ */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.5rem; }
.feature-item { display: flex; gap: 1rem; padding: 1.5rem; border-radius: var(--r-lg); border: 1px solid var(--c-soft); transition: all var(--t-base); background: var(--c-white); }
.feature-item:hover { box-shadow: var(--sh-md); border-color: var(--c-light-blue); transform: translateY(-2px); }
.feature-icon { width: 44px; height: 44px; flex-shrink: 0; background: var(--c-pale); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.feature-body h4 { color: var(--c-blue-deep); margin-bottom: .375rem; font-size: .95rem; }
.feature-body p  { font-size: .875rem; color: var(--c-text); margin: 0; }

/* ═══════════════════════════════════════
   TABLES
═══════════════════════════════════════ */
.table-wrap { border: 1px solid var(--c-soft); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); }
.data-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.data-table th { background: var(--c-blue-deep); color: #fff; padding: .875rem 1.25rem; text-align: left; font-weight: 600; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; font-family: var(--f-body); }
.data-table td { padding: .875rem 1.25rem; border-bottom: 1px solid var(--c-pale); color: var(--c-text); vertical-align: top; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: #f7fbff; }
.data-table td strong { color: var(--c-blue-deep); }
.compare-col-a { background: rgba(91,174,232,.07); }
.compare-col-b { background: rgba(26,107,181,.07); }

/* ═══════════════════════════════════════
   PROCESS STEPS
═══════════════════════════════════════ */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; position: relative; }
.steps::before { content: ''; position: absolute; top: 27px; left: calc(16.7% + 16px); right: calc(16.7% + 16px); height: 2px; background: linear-gradient(to right, var(--c-light-blue), var(--c-soft)); pointer-events: none; }
.step { text-align: center; }
.step-num { width: 54px; height: 54px; border-radius: 50%; background: var(--c-pale); border: 2px solid var(--c-light-blue); color: var(--c-blue-primary); font-weight: 700; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; }
.step h4 { margin-bottom: .5rem; }
.step p  { font-size: .875rem; color: var(--c-text); }

/* ═══════════════════════════════════════
   PERSONA TILES
═══════════════════════════════════════ */
.persona-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; }
.persona-tile { padding: 2rem 1.5rem; border-radius: var(--r-xl); border: 1.5px solid var(--c-soft); background: var(--c-white); text-align: center; transition: all var(--t-base); text-decoration: none; display: flex; flex-direction: column; align-items: center; }
.persona-tile:hover { box-shadow: var(--sh-hover); border-color: var(--c-blue-primary); transform: translateY(-4px); }
.persona-icon { width: 60px; height: 60px; background: var(--c-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 1.25rem; }
.persona-tile h4 { color: var(--c-blue-deep); margin-bottom: .75rem; }
.persona-tile p  { font-size: .875rem; color: var(--c-text); margin-bottom: 1rem; }
.persona-cta { font-size: .82rem; font-weight: 600; color: var(--c-blue-primary); margin-top: auto; }

/* ═══════════════════════════════════════
   NEWSLETTER BAR
═══════════════════════════════════════ */
.newsletter-bar { background: var(--c-blue-deep); padding-block: 3.5rem; }
.newsletter-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.newsletter-bar h3 { color: #fff; font-size: 1.25rem; }
.newsletter-bar p  { color: var(--c-soft); font-size: .875rem; }
.newsletter-form { display: flex; gap: .75rem; flex-wrap: wrap; }
.newsletter-form input { flex: 1; min-width: 230px; padding: .7em 1.2em; border: 1.5px solid rgba(255,255,255,.2); border-radius: var(--r-full); background: rgba(255,255,255,.08); color: #fff; font-size: .9rem; font-family: var(--f-body); transition: border-color var(--t-fast); }
.newsletter-form input::placeholder { color: var(--c-muted); }
.newsletter-form input:focus { outline: none; border-color: var(--c-light-blue); }

/* ═══════════════════════════════════════
   PULL QUOTE
═══════════════════════════════════════ */
.pull-quote { background: var(--c-pale); border-left: 4px solid var(--c-blue-primary); border-radius: 0 var(--r-lg) var(--r-lg) 0; padding: 1.5rem 2rem; margin-block: 2rem; font-family: var(--f-display); font-style: italic; font-size: 1.15rem; color: var(--c-blue-deep); line-height: 1.65; }
.pull-quote cite { display: block; margin-top: .75rem; font-size: .82rem; font-style: normal; font-family: var(--f-body); color: var(--c-muted); }

/* ═══════════════════════════════════════
   VALUES GRID
═══════════════════════════════════════ */
.values-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.25rem; }
.value-card { padding: 1.5rem; background: var(--c-white); border: 1px solid var(--c-soft); border-radius: var(--r-lg); transition: all var(--t-base); }
.value-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.value-num { font-size: .72rem; font-weight: 700; letter-spacing: .1em; color: var(--c-light-blue); margin-bottom: .75rem; }
.value-card h4 { color: var(--c-blue-deep); font-size: .95rem; margin-bottom: .375rem; }
.value-card p  { font-size: .85rem; color: var(--c-text); margin: 0; }

/* ═══════════════════════════════════════
   STATS BAR
═══════════════════════════════════════ */
.stats-bar { display: flex; gap: 2.5rem; flex-wrap: wrap; justify-content: center; padding: 2.5rem; background: var(--c-pale); border-radius: var(--r-xl); }
.stat-item { text-align: center; }
.stat-num   { font-family: var(--f-display); font-size: 2.2rem; font-weight: 700; color: var(--c-blue-deep); line-height: 1; display: block; }
.stat-label { font-size: .78rem; color: var(--c-muted); margin-top: .25rem; }

/* ═══════════════════════════════════════
   RESEARCH LAYOUT
═══════════════════════════════════════ */
.research-layout { display: grid; grid-template-columns: 1fr 270px; gap: 3rem; align-items: start; }
.research-sidebar { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.sidebar-box { background: var(--c-pale); border-radius: var(--r-lg); padding: 1.5rem; margin-bottom: 1.5rem; }
.sidebar-box h5 { color: var(--c-blue-deep); margin-bottom: 1rem; }
.sidebar-link { display: flex; align-items: center; gap: .75rem; padding: .6rem .5rem; color: var(--c-text); font-size: .85rem; border-radius: var(--r-sm); transition: all var(--t-fast); }
.sidebar-link:hover { color: var(--c-blue-primary); background: #fff; }
.research-body h2 { margin: 2.5rem 0 1.25rem; }
.research-body h2:first-child { margin-top: 0; }
.research-body h3 { font-size: 1.2rem; margin: 2rem 0 1rem; }
.research-body p  { color: var(--c-text); }
.research-body ul { list-style: disc; padding-left: 1.25rem; color: var(--c-text); margin-bottom: 1.25rem; }
.research-body ul li { margin-bottom: .5rem; }

/* Filter tabs */
.filter-tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.filter-tab { padding: .45rem 1.25rem; border-radius: var(--r-full); border: 1.5px solid var(--c-soft); background: var(--c-white); color: var(--c-text); font-size: .82rem; font-weight: 500; cursor: pointer; transition: all var(--t-fast); font-family: var(--f-body); }
.filter-tab:hover  { border-color: var(--c-blue-primary); color: var(--c-blue-primary); }
.filter-tab.active { background: var(--c-blue-primary); border-color: var(--c-blue-primary); color: #fff; }

/* ═══════════════════════════════════════
   INNERMATCH SPECIFIC
═══════════════════════════════════════ */
.problem-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.check-list   { display: flex; flex-direction: column; gap: .75rem; }
.check-item   { display: flex; gap: .75rem; padding: .875rem 1rem; border-radius: var(--r-md); font-size: .875rem; color: var(--c-text); background: var(--c-pale); }
.check-item.bad::before  { content: '✗'; color: #d94848; font-weight: 700; flex-shrink: 0; }
.check-item.good::before { content: '✓'; color: #1a9e5e; font-weight: 700; flex-shrink: 0; }
.deployment-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.deploy-card { border: 1.5px solid var(--c-soft); border-radius: var(--r-xl); padding: 2rem; background: var(--c-white); transition: all var(--t-base); }
.deploy-card:hover { border-color: var(--c-blue-primary); box-shadow: var(--sh-hover); transform: translateY(-3px); }
.deploy-card h3 { font-size: 1.05rem; margin-bottom: .75rem; }
.deploy-card p  { font-size: .875rem; color: var(--c-text); margin-bottom: 1.25rem; }
.sticky-cta { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 50; opacity: 0; pointer-events: none; transition: opacity var(--t-base); }
.sticky-cta.visible { opacity: 1; pointer-events: auto; }

/* ═══════════════════════════════════════
   CONTACT FORM
═══════════════════════════════════════ */
.form-field { margin-bottom: 1.5rem; }
.form-label { display: block; font-size: .85rem; font-weight: 600; color: var(--c-blue-deep); margin-bottom: .5rem; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: .75em 1em; border: 1.5px solid var(--c-soft);
  border-radius: var(--r-md); background: var(--c-white); color: var(--c-black);
  font-size: .9rem; font-family: var(--f-body);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--c-blue-primary); box-shadow: 0 0 0 3px rgba(26,107,181,.1); }
.form-textarea { min-height: 150px; resize: vertical; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236E8FAB' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1em center; padding-right: 2.5em; }

/* ═══════════════════════════════════════
   BLOG
═══════════════════════════════════════ */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.blog-card { border: 1px solid var(--c-soft); border-radius: var(--r-lg); overflow: hidden; transition: all var(--t-base); background: var(--c-white); text-decoration: none; display: block; }
.blog-card:hover { box-shadow: var(--sh-hover); transform: translateY(-3px); border-color: var(--c-light-blue); }
.blog-img { height: 170px; background: linear-gradient(135deg, var(--c-pale), var(--c-soft)); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.blog-body { padding: 1.5rem; }
.blog-meta { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; font-size: .78rem; color: var(--c-muted); }
.blog-card h3 { font-size: 1rem; color: var(--c-blue-deep); margin-bottom: .75rem; }
.blog-card p  { font-size: .85rem; color: var(--c-text); margin-bottom: 1rem; }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.site-footer { background: var(--c-blue-deep); color: var(--c-soft); padding-block: 4rem 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand { }
.footer-brand-name { font-family: var(--f-display); font-size: 1.2rem; font-weight: 700; color: #fff; display: block; margin-bottom: 1rem; }
.footer-brand p   { font-size: .85rem; color: var(--c-soft); line-height: 1.7; margin-bottom: 1rem; }
.footer-email { color: var(--c-light-blue); font-size: .85rem; }
.footer-col h5 { color: #fff; margin-bottom: 1.25rem; }
.footer-links { display: flex; flex-direction: column; gap: .75rem; }
.footer-links a { color: var(--c-soft); font-size: .85rem; transition: color var(--t-fast); }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-copy { font-size: .8rem; color: var(--c-muted); }
.footer-tagline { font-style: italic; font-family: var(--f-display); }

/* ═══════════════════════════════════════
   FADE-IN
═══════════════════════════════════════ */
.fade-up { opacity: 0; transform: translateY(22px); transition: opacity var(--t-slow), transform var(--t-slow); }
.fade-up.visible { opacity: 1; transform: none; }

/* ═══════════════════════════════════════
   MISC UTILITIES
═══════════════════════════════════════ */
.divider { height: 1px; background: var(--c-soft); margin-block: 3rem; }
.tag-row { display: flex; gap: .5rem; flex-wrap: wrap; }

/* ═══════════════════════════════════════
   ACCESSIBILITY
═══════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  .wheel-line { animation: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .grid-4      { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .persona-grid { grid-template-columns: repeat(2,1fr); }
  .research-layout { grid-template-columns: 1fr; }
  .research-sidebar { position: static; }
}
@media (max-width: 768px) {
  :root { --nav-h: 62px; }
  section { padding-block: 3.5rem; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .grid-2, .grid-3, .split, .problem-cols,
  .domain-wheel-wrap, .steps, .deployment-grid { grid-template-columns: 1fr; }
  .domain-svg-container { max-width: 300px; margin-inline: auto; }
  .steps::before { display: none; }
  .blog-grid { grid-template-columns: 1fr; }
  .newsletter-bar .container { flex-direction: column; text-align: center; }
  .footer-grid   { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-actions  { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .persona-grid { grid-template-columns: 1fr; }
  .hero-headline { font-size: 2rem; }
}
