/* ==========================================================================
   Operating Partners — site stylesheet
   Design system: deep indigo base (#13123D), violet accent (#7C7CF0),
   green = system/after, red = dependency/before. Inter typeface.
   ========================================================================== */

:root {
  --indigo-950: #0D0C2B;
  --indigo-900: #13123D;
  --indigo-800: #1C1B52;
  --indigo-700: #2A2870;
  --accent: #7C7CF0;
  --accent-strong: #5B5BD6;
  --accent-soft: #ECECFD;
  --red: #E5484D;
  --red-soft: #FDECEC;
  --green: #30A46C;
  --green-soft: #E9F6EF;
  --ink: #17172E;
  --ink-soft: #3E3E58;
  --ink-faint: #6B6B85;
  --paper: #FFFFFF;
  --paper-tint: #F7F7FC;
  --line: #E6E6F0;
  --line-dark: rgba(255, 255, 255, 0.12);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(19, 18, 61, 0.05), 0 8px 28px rgba(19, 18, 61, 0.08);
  --shadow-lift: 0 2px 4px rgba(19, 18, 61, 0.06), 0 16px 44px rgba(19, 18, 61, 0.14);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-strong);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: inherit;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p {
  margin: 0 0 1em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.narrow {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  padding: 96px 0;
}

.section-tint {
  background: var(--paper-tint);
}

.section-dark {
  background: var(--indigo-900);
  color: #fff;
}

.section-dark a {
  color: var(--accent);
}

.section-dark .btn-primary { color: #fff; }
.section-dark .btn-primary:hover { color: #fff; }
.section-dark .btn-ghost { color: #fff; }
.section-dark .btn-ghost:hover { color: #fff; }

.kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 16px;
}

.section-dark .kicker {
  color: var(--accent);
}

.lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 640px;
}

.section-dark .lede {
  color: rgba(255, 255, 255, 0.88);
}

.section-head {
  margin-bottom: 56px;
}

.section-head.centered {
  text-align: center;
}

.section-head.centered .lede {
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(19, 18, 61, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-dark);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: #fff;
  white-space: nowrap;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
}

.brand img.brand-logo {
  height: 32px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Use-cases hover dropdown */
.nav-drop { position: relative; }

.nav-drop > a .drop-caret {
  display: inline-block;
  font-size: 0.7em;
  margin-left: 2px;
  transition: transform 0.15s ease;
}

.nav-drop:hover > a .drop-caret,
.nav-drop:focus-within > a .drop-caret { transform: rotate(180deg); }

.drop-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  padding-top: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 40;
}

.nav-drop:hover .drop-menu,
.nav-drop:focus-within .drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.drop-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(19, 18, 61, 0.22);
  padding: 8px;
  min-width: 260px;
}

.site-nav .drop-card a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  white-space: nowrap;
}

.site-nav .drop-card a:hover {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 20px rgba(124, 124, 240, 0.35);
}

.btn-primary:hover {
  background: #8F8FF4;
  color: #fff;
}

.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  border-color: #fff;
  color: #fff;
}

.btn-quiet {
  color: var(--accent-strong);
  border: 1px solid var(--line);
  background: #fff;
}

.btn-quiet:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1.05rem;
}

.site-nav .btn {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  background:
    radial-gradient(1000px 500px at 80% -10%, rgba(124, 124, 240, 0.28), transparent 65%),
    radial-gradient(700px 420px at 8% 110%, rgba(91, 91, 214, 0.22), transparent 60%),
    var(--indigo-900);
  color: #fff;
  padding: 120px 0 110px;
  overflow: hidden;
}

.hero .kicker {
  color: var(--accent);
}

.hero h1 {
  max-width: 820px;
  margin-bottom: 24px;
}

.hero .lede {
  font-size: 1.3rem;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hero-note {
  margin-top: 18px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero-note a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* CTA band: mail + text buttons side by side */
.cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.cta-note {
  margin: 16px 0 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.page-hero {
  padding: 88px 0 72px;
}

.page-hero .lede {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Diagram (problem / solution funnel)
   -------------------------------------------------------------------------- */

.diagram-card {
  background: var(--indigo-950);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 40px 32px 28px;
  margin: 0 auto;
  max-width: 860px;
}

.diagram-sources {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.diagram-source {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.diagram-arrows {
  height: 56px;
  width: 100%;
}

.diagram-arrows path {
  stroke: rgba(255, 255, 255, 0.3);
  stroke-width: 1.5;
  fill: none;
}

.diagram-hub {
  margin: 0 auto;
  max-width: 340px;
  text-align: center;
  border-radius: 14px;
  padding: 20px 24px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
}

.diagram-hub small {
  display: block;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0;
  margin-top: 4px;
  opacity: 0.85;
}

.hub-founder {
  background: rgba(229, 72, 77, 0.16);
  border: 1.5px solid var(--red);
  color: #FF8A8E;
}

.hub-system {
  background: rgba(48, 164, 108, 0.16);
  border: 1.5px solid var(--green);
  color: #5BD69A;
}

.diagram-caption {
  text-align: center;
  margin: 28px 0 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
}

/* --------------------------------------------------------------------------
   Cards & grids
   -------------------------------------------------------------------------- */

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.section-dark .card {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  color: var(--ink-soft);
  margin-bottom: 0;
  font-size: 0.97rem;
}

.section-dark .card p {
  color: rgba(255, 255, 255, 0.85);
}

.card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.section-dark .card ul {
  color: rgba(255, 255, 255, 0.85);
}

.card ul li {
  margin-bottom: 6px;
}

.pillar-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.chain-line {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.7;
  max-width: 720px;
  margin: 56px auto 0;
  color: var(--ink);
}

.chain-line strong {
  color: var(--accent-strong);
}

/* Cost columns */
.cost-card {
  border-top: 3px solid var(--red);
}

.cost-card h4 {
  margin-bottom: 12px;
}

.cost-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.cost-card li {
  margin-bottom: 7px;
}

/* --------------------------------------------------------------------------
   Phases
   -------------------------------------------------------------------------- */

.phase-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: phase;
}

.phase {
  position: relative;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.phase-num {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent-strong);
  margin-bottom: 10px;
}

.phase h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.phase p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0;
}

/* Deep phase blocks (how-it-works) */
.phase-block {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.phase-block:last-child {
  border-bottom: 1px solid var(--line);
}

.phase-block .phase-label .phase-num {
  font-size: 0.85rem;
}

.phase-block h3 {
  font-size: 1.4rem;
}

.phase-block .cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.phase-block h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-strong);
  margin-bottom: 10px;
}

.phase-block ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.phase-block li {
  margin-bottom: 6px;
}

.phase-block .phase-intro {
  color: var(--ink-soft);
  margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   Before / after
   -------------------------------------------------------------------------- */

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.ba-col {
  border-radius: var(--radius);
  padding: 30px 28px;
}

.ba-before {
  background: var(--red-soft);
  border: 1px solid rgba(229, 72, 77, 0.25);
}

.ba-after {
  background: var(--green-soft);
  border: 1px solid rgba(48, 164, 108, 0.25);
}

.ba-col h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.ba-before h3 { color: var(--red); }
.ba-after h3 { color: var(--green); }

.ba-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ba-col li {
  padding: 9px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.98rem;
}

.ba-col li:first-child {
  border-top: 0;
}

/* --------------------------------------------------------------------------
   Case studies
   -------------------------------------------------------------------------- */

.case-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.case-card .case-head {
  padding: 32px 36px 24px;
  border-bottom: 1px solid var(--line);
}

.case-card .case-body {
  padding: 28px 36px 36px;
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 14px;
}

.badge-live {
  background: var(--green-soft);
  color: var(--green);
}

.badge-active {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.case-meta {
  color: var(--ink-faint);
  font-size: 0.95rem;
  margin: 0;
}

.case-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.case-cols h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.case-cols .col-before h4 { color: var(--red); }
.case-cols .col-after h4 { color: var(--green); }

.case-cols ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.case-cols li {
  margin-bottom: 8px;
}

.case-result {
  margin: 26px 0 0;
  padding: 16px 20px;
  border-radius: 10px;
  background: var(--paper-tint);
  font-weight: 600;
  font-size: 1rem;
}

/* Scenario vignettes */
.vignette {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.vignette .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-strong);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 14px;
}

.vignette h3 {
  font-size: 1.15rem;
}

.vignette .ba {
  margin-top: 14px;
  font-size: 0.95rem;
  display: grid;
  gap: 8px;
}

.vignette .ba span {
  display: block;
  padding-left: 22px;
  position: relative;
  color: var(--ink-soft);
}

.vignette .ba span::before {
  position: absolute;
  left: 0;
  top: 1px;
  font-weight: 800;
}

.vignette .ba .b::before {
  content: "×";
  color: var(--red);
}

.vignette .ba .a::before {
  content: "✓";
  color: var(--green);
}

/* Checklist */
.checklist {
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 40px;
}

.checklist li {
  break-inside: avoid;
  padding: 10px 0 10px 34px;
  position: relative;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid var(--accent);
  background: rgba(124, 124, 240, 0.12);
}

.checklist li::after {
  content: "✓";
  position: absolute;
  left: 3.5px;
  top: 10px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   Model tiles / measure cards
   -------------------------------------------------------------------------- */

.model-tile h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.model-tile .step {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-strong);
  display: block;
  margin-bottom: 10px;
}

.measure-card h3 {
  font-size: 1.05rem;
}

.measure-card p {
  font-size: 0.93rem;
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  text-align: center;
  padding: 110px 0;
  background:
    radial-gradient(800px 400px at 50% -20%, rgba(124, 124, 240, 0.3), transparent 65%),
    var(--indigo-900);
  color: #fff;
}

.cta-band h2 {
  max-width: 760px;
  margin: 0 auto 18px;
}

.cta-band .lede {
  margin: 0 auto 40px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--indigo-950);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 40px;
  font-size: 0.95rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.site-footer .brand {
  margin-bottom: 10px;
}

.footer-tagline {
  max-width: 340px;
  margin: 0;
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-nav a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
}

/* --------------------------------------------------------------------------
   Reveal animation
   -------------------------------------------------------------------------- */

/* Hidden-until-scroll only when JS is running (html.js); without JS everything is visible */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .phase-strip { grid-template-columns: repeat(2, 1fr); }
  .phase-block { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 700px) {
  .section { padding: 68px 0; }
  .hero { padding: 84px 0 76px; }

  .grid-2,
  .grid-3,
  .grid-4,
  .phase-strip,
  .before-after,
  .case-cols,
  .phase-block .cols {
    grid-template-columns: 1fr;
  }

  .checklist { columns: 1; }

  .diagram-sources {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--indigo-900);
    border-bottom: 1px solid var(--line-dark);
    padding: 12px 24px 20px;
    display: none;
  }

  .site-nav.open { display: flex; }

  .site-nav a {
    padding: 12px 0;
    font-size: 1.05rem;
  }

  .site-nav .btn {
    margin-top: 10px;
    text-align: center;
  }

  /* Dropdown becomes an inline sub-list in the mobile menu */
  .site-nav .nav-drop > a .drop-caret { display: none; }

  .drop-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    padding-top: 0;
  }

  .drop-card {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0 0 4px 16px;
    min-width: 0;
  }

  .site-nav .drop-card a {
    color: rgba(255, 255, 255, 0.7);
    padding: 9px 0;
    font-size: 0.98rem;
    white-space: normal;
  }

  .site-nav .drop-card a:hover {
    background: transparent;
    color: #fff;
  }

  .case-card .case-head,
  .case-card .case-body {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* --------------------------------------------------------------------------
   Product-UI mockups (marketing illustrations)
   -------------------------------------------------------------------------- */

.mock {
  background: var(--indigo-950);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(13, 12, 43, 0.45);
  font-size: 0.85rem;
  color: #fff;
  width: 100%;
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.mock-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.mock-bar em {
  font-style: normal;
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.mock-body {
  padding: 16px;
  display: grid;
  gap: 12px;
}

.mock-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mock-tiles.two {
  grid-template-columns: repeat(2, 1fr);
}

.mock-tile {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px 12px;
  min-width: 0;
}

.mock-tile small {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
  white-space: nowrap;
}

.mock-tile strong {
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.mock-tile .delta {
  display: block;
  font-weight: 600;
  font-size: 0.72rem;
  margin-top: 2px;
}

.delta.up { color: #5BD69A; }
.delta.warn { color: #F2B95D; }

.mock-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  padding: 9px 12px;
  color: rgba(255, 255, 255, 0.88);
}

.mock-row .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
}

.dot-good { background: #30A46C; }
.dot-warn { background: #E8A33D; }
.dot-info { background: #7C7CF0; }

.mock-row em {
  font-style: normal;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  white-space: nowrap;
  padding-left: 10px;
}

.mock-bars {
  display: grid;
  gap: 8px;
}

.mock-bars .bars-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
}

.mock-barrow {
  display: grid;
  grid-template-columns: 92px 1fr 40px;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
}

.mock-barrow .track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  height: 10px;
  overflow: hidden;
}

.mock-barrow .fill {
  height: 100%;
  background: var(--accent);
  border-radius: 0 4px 4px 0;
}

.mock-barrow b {
  text-align: right;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.mock-spark {
  width: 100%;
  height: 46px;
  display: block;
}

.mock-chat {
  display: grid;
  gap: 8px;
}

.bubble {
  max-width: 88%;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.45;
}

.bubble.q {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  justify-self: start;
  color: rgba(255, 255, 255, 0.9);
  border-bottom-left-radius: 4px;
}

.bubble.a {
  background: rgba(124, 124, 240, 0.2);
  border: 1px solid rgba(124, 124, 240, 0.45);
  justify-self: end;
  color: #fff;
  border-bottom-right-radius: 4px;
}

.mock-caption {
  font-size: 0.8rem;
  color: var(--ink-faint);
  text-align: center;
  margin: 10px 0 0;
}

/* Case study split: story + visual */
.case-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-areas:
    "challenge media"
    "what media";
  gap: 0 36px;
  align-items: start;
}

.case-challenge { grid-area: challenge; }
.case-media { grid-area: media; }
.case-what { grid-area: what; }

.case-split .case-story h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 10px;
}

.case-split .case-story h4.h-before { color: var(--red); }
.case-split .case-story h4.h-after { color: var(--green); margin-top: 22px; }

.case-split .case-story ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.case-split .case-story li {
  margin-bottom: 7px;
}

/* Hero with mockup */
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 960px) {
  .case-split,
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .case-split {
    grid-template-areas:
      "challenge"
      "media"
      "what";
    gap: 24px;
  }

  .case-split .case-story h4.h-after {
    margin-top: 0;
  }

  .hero-grid .mock {
    max-width: 560px;
  }
}

/* Hero mock: clickable + demo chip */
.mock-link {
  display: block;
  position: relative;
  border-radius: 16px;
  transition: transform 0.2s ease;
}

.mock-link:hover {
  transform: translateY(-3px);
  text-decoration: none;
}

.mock-chip {
  position: absolute;
  bottom: -14px;
  right: 18px;
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 8px 24px rgba(124, 124, 240, 0.45);
}

.mock-row.enter {
  animation: rowenter 0.45s ease;
}

@keyframes rowenter {
  from { opacity: 0; transform: translateY(-8px); }
}

.demo-cta {
  text-align: center;
  margin-top: 14px;
}

/* Case subpage: day-with-the-platform timeline */
.timeline {
  border-left: 2px solid var(--accent-soft);
  padding-left: 26px;
  display: grid;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}

.tl-item { position: relative; }

.tl-item::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.tl-item time {
  display: block;
  font-weight: 700;
  color: var(--accent-strong);
  font-size: 0.85rem;
  margin-bottom: 2px;
}

.tl-item p { margin: 0; color: var(--ink-soft); }

.case-crumb {
  font-size: 0.85rem;
  margin-bottom: 18px;
}

.case-crumb a { color: var(--accent); }

/* Real demo screenshots */
.shot {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
}

.hero .shot {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 60px rgba(13, 12, 43, 0.5);
}

a.shot { transition: transform 0.2s ease; }
a.shot:hover { transform: translateY(-3px); }

.card-shot {
  display: block;
  margin: -28px -28px 20px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}

.card-shot img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: top left;
}

/* --------------------------------------------------------------------------
   Floating contact button
   -------------------------------------------------------------------------- */

.contact-fab-btn {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--accent-strong);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow-lift);
  transition: transform 0.2s ease, background 0.2s ease;
}

.contact-fab-btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
  text-decoration: none;
}

.contact-fab-btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}

@media (max-width: 640px) {
  .contact-fab-btn { right: 14px; bottom: 14px; padding: 12px 18px; }
}

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */

.contact-card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  margin-bottom: 18px;
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
}

/* Anchored sections land below the sticky header */
section[id] {
  scroll-margin-top: 84px;
}
