/**
 * Decision Intelligence Platform — Prototype styles
 * Uses AgentHouse design tokens from style.css. Standalone HTML in /DI Product/ only.
 */

.di-prototype {
  --di-accent: var(--action-blue);
  --di-accent-soft: #eff6ff;
  --di-accent-border: rgba(30, 101, 214, 0.22);
  --di-green: #059669;
  --di-green-soft: #d1fae5;
  --di-amber: #d97706;
  --di-amber-soft: #fef3c7;
  --di-purple: #7c3aed;
  --di-purple-soft: #ede9fe;
  --di-teal: #0d9488;
  --di-teal-soft: #ccfbf1;
  --di-rose: #e11d48;
  --di-rose-soft: #ffe4e6;
  --di-ease: cubic-bezier(0.4, 0, 0.2, 1);

  /* Legacy DI token aliases (inline styles in prototypes) */
  --accent: var(--action-blue);
  --accent-lt: var(--di-accent-soft);
  --accent-mid: #93c5fd;
  --ink: var(--navy);
  --ink-2: var(--text);
  --ink-3: var(--text-muted);
  --ink-4: #9ca3af;
  --bg-subtle: var(--bg-soft);
  --bg-muted: #eef1f5;
  --border-soft: var(--border);
  --green: var(--di-green);
  --green-lt: var(--di-green-soft);
  --amber: var(--di-amber);
  --amber-lt: var(--di-amber-soft);
  --purple: var(--di-purple);
  --purple-lt: var(--di-purple-soft);
  --teal: var(--di-teal);
  --teal-lt: var(--di-teal-soft);
  --rose: var(--di-rose);
  --rose-lt: var(--di-rose-soft);
  --font-display: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --radius: var(--radius-lg);
  --radius-lg: var(--radius-xl);
  --shadow-sm: var(--shadow-soft);
  --shadow-md: var(--shadow-hover);
  --shadow-lg: var(--shadow-hover);
  --ease: var(--di-ease);
}

.di-prototype .container {
  max-width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Soft bands: full viewport background, content aligned with site column */
.di-prototype .di-section--soft {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
}

.di-prototype .di-section--soft > .container {
  width: min(100%, var(--max-width));
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 24px;
  box-sizing: border-box;
}

.di-prototype .section-header {
  margin-bottom: 40px;
}

.di-prototype h2.section-title {
  font-size: 28px;
  margin: 0 0 10px;
  color: var(--navy);
}

.di-prototype .section-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 540px;
  margin-top: 12px;
}

.di-prototype .di-main {
  width: 100%;
}

.di-prototype .di-proto-nav {
  flex-wrap: wrap;
  gap: 6px 8px;
}

.di-prototype .di-proto-nav .di-proto-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 10px 8px 0;
  margin-right: 4px;
}

.di-prototype .di-proto-nav a.is-active {
  text-decoration: underline;
  text-underline-offset: 6px;
  color: var(--navy);
}

.di-prototype .di-proto-nav .btn-primary {
  padding: 9px 18px;
  font-size: 14px;
}

.di-prototype .di-proto-footer {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}

.di-prototype .di-proto-footer .footer-links {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  justify-content: center;
}

.di-prototype .di-proto-footer .footer-links a {
  color: var(--action-blue);
  text-decoration: underline;
}

.di-prototype .di-proto-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--action-blue);
  background: var(--di-accent-soft);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}

/* --- Section rhythm (aligned with style.css sections) --- */
.di-prototype .di-section {
  margin-bottom: 84px;
  scroll-margin-top: 92px;
}

.di-prototype .di-section--soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 0;
  margin-bottom: 0;
}

.di-prototype .di-section--soft + .di-section,
.di-prototype .di-section--soft + .di-section--soft {
  margin-top: 0;
}

.di-prototype .di-section-inner--pad {
  padding: 64px 0;
}

/* --- Eyebrow (maps to hero-kicker pattern) --- */
.di-prototype .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--action-blue);
  margin-bottom: 16px;
  background: var(--di-accent-soft);
  padding: 4px 10px;
  border-radius: 4px;
}

.di-prototype .eyebrow::before {
  content: '';
  width: 16px;
  height: 2px;
  background: var(--action-blue);
  border-radius: 2px;
  flex-shrink: 0;
}

.di-prototype .eyebrow--center {
  justify-content: center;
}

/* --- Buttons: ghost → secondary --- */
.di-prototype .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: transform 0.2s var(--di-ease), box-shadow 0.2s var(--di-ease), background 0.2s var(--di-ease);
}

.di-prototype .btn:hover {
  transform: translateY(-1px);
}

.di-prototype .btn-ghost {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  padding: 12px 22px;
}

.di-prototype .btn-ghost:hover {
  border-color: var(--action-blue);
  color: var(--action-blue);
  background: #f0f7ff;
}

.di-prototype .btn-primary.btn--block {
  width: 100%;
  justify-content: center;
}

/* --- Hero (DI landing) --- */
.di-prototype #hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 84px;
}

.di-prototype #hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, black 30%, transparent 80%);
  pointer-events: none;
}

.di-prototype #hero::after {
  content: '';
  position: absolute;
  top: -80px;
  right: 0;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(30, 101, 214, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.di-prototype .hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .di-prototype .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .di-prototype .hero-visual {
    display: none;
  }
}

.di-prototype .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--di-accent-soft);
  color: var(--action-blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.di-prototype .hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--action-blue);
  border-radius: 50%;
}

.di-prototype .hero-h1 {
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.08;
  margin: 0 0 20px;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.di-prototype .hero-h1 em {
  font-style: normal;
  color: var(--action-blue);
}

.di-prototype .hero-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 0 28px;
}

.di-prototype .hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.di-prototype .hero-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin-bottom: 28px;
}

.di-prototype .hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.di-prototype .stat-val {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}

.di-prototype .stat-lbl {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.di-prototype .hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.di-prototype .hero-diagram {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.di-prototype .diagram-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.di-prototype .diagram-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.di-prototype .diagram-bar {
  height: 8px;
  border-radius: 4px;
  background: var(--border);
  flex: 1;
  position: relative;
  overflow: hidden;
}

.di-prototype .diagram-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  border-radius: 4px;
}

.di-prototype .diagram-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  min-width: 80px;
  text-align: right;
}

.di-prototype .diagram-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.di-prototype .diagram-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.di-prototype .diagram-badge {
  font-size: 10px;
  font-weight: 600;
  background: var(--di-accent-soft);
  color: var(--action-blue);
  padding: 2px 8px;
  border-radius: 10px;
}

.di-prototype .diagram-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}

/* --- Page hero (subpages) --- */
.di-prototype #page-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 64px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.di-prototype #page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 0%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at 50% 0%, black 20%, transparent 75%);
  pointer-events: none;
}

.di-prototype .page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.di-prototype .page-hero-inner h1 {
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.1;
  margin: 0 0 16px;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.di-prototype .page-hero-inner h1 em {
  font-style: normal;
  color: var(--action-blue);
}

.di-prototype .page-hero-inner p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* --- Problem / claim blocks --- */
.di-prototype .problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 860px) {
  .di-prototype .problem-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.di-prototype .problem-claim {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.22;
  margin-bottom: 16px;
}

.di-prototype .problem-claim em {
  font-style: normal;
  color: var(--action-blue);
}

.di-prototype .problem-lead {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.di-prototype .problem-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.di-prototype .problem-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
}

.di-prototype .problem-point-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--di-accent-soft);
  color: var(--action-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
}

.di-prototype .problem-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
}

.di-prototype .problem-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.di-prototype .problem-vs-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-lg);
  font-size: 14px;
  color: var(--text);
}

.di-prototype .problem-vs-row.bad {
  background: #fef2f2;
}

.di-prototype .problem-vs-row.good {
  background: var(--di-green-soft);
}

.di-prototype .di-callout {
  margin-top: 24px;
  padding: 18px 20px;
  background: var(--di-accent-soft);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--action-blue);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
}

.di-prototype .di-callout .di-callout-accent {
  color: var(--action-blue);
}

/* --- Process flow --- */
.di-prototype .process-flow {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr 28px 1fr;
  gap: 0;
  align-items: start;
  margin-bottom: 48px;
}

@media (max-width: 900px) {
  .di-prototype .process-flow {
    grid-template-columns: 1fr;
  }
}

.di-prototype .pf-arrow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 2px;
  color: var(--border);
  font-size: 18px;
}

@media (max-width: 900px) {
  .di-prototype .pf-arrow {
    padding: 6px 0;
    justify-content: flex-start;
    transform: rotate(90deg);
    padding-left: 20px;
  }
}

.di-prototype .pf-col-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 12px;
  min-height: 1.25em;
  line-height: 1.25;
}

.di-prototype .pf-col-title.l2c {
  color: var(--action-blue);
}

.di-prototype .pf-items {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.di-prototype .pf-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 11px;
  border-radius: var(--radius-lg);
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
  background: #fff;
  border: 1px solid var(--border);
}

.di-prototype .pf-item.l2i {
  background: var(--di-accent-soft);
  border-color: var(--di-accent-border);
  color: var(--action-blue);
}

.di-prototype .pf-item.out {
  background: var(--di-green-soft);
  border-color: rgba(5, 150, 105, 0.2);
  color: var(--di-green);
}

.di-prototype .pf-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}

/* --- Module / UC grids --- */
.di-prototype .modules-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

@media (max-width: 1000px) {
  .di-prototype .modules-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .di-prototype .modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.di-prototype .module-card,
.di-prototype .uc-card,
.di-prototype .uc-tile,
.di-prototype .fw-card,
.di-prototype .rollout-card,
.di-prototype .comp-card,
.di-prototype .arch-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 22px 20px;
  background: #fff;
  transition: transform 0.2s var(--di-ease), box-shadow 0.2s var(--di-ease), border-color 0.2s var(--di-ease);
}

.di-prototype .module-card:hover,
.di-prototype .uc-card:hover,
.di-prototype .uc-tile:hover,
.di-prototype .fw-card:hover,
.di-prototype .rollout-card:hover,
.di-prototype .arch-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(30, 101, 214, 0.35);
}

.di-prototype .module-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  overflow: hidden;
}

.di-prototype .module-icon svg {
  display: block;
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
  flex-shrink: 0;
}

/* Inline SVGs in buttons/links — prevent layout blow-up if CSS fails to load */
.di-prototype .btn svg,
.di-prototype a.btn svg {
  width: 14px;
  height: 14px;
  max-width: 14px;
  max-height: 14px;
  flex-shrink: 0;
  vertical-align: middle;
}

.di-prototype .module-num,
.di-prototype .uc-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.di-prototype .module-title,
.di-prototype .uc-title,
.di-prototype .uc-tile-h,
.di-prototype .fw-title,
.di-prototype .rollout-title,
.di-prototype .arch-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.25;
}

.di-prototype .module-desc,
.di-prototype .uc-problem,
.di-prototype .uc-solution,
.di-prototype .uc-tile-lead,
.di-prototype .fw-desc,
.di-prototype .rollout-desc,
.di-prototype .arch-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.di-prototype .module-role {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  display: inline-block;
}

.di-prototype .uc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .di-prototype .uc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .di-prototype .uc-grid {
    grid-template-columns: 1fr;
  }
}

.di-prototype .uc-card {
  display: flex;
  flex-direction: column;
}

.di-prototype .uc-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--action-blue);
  text-decoration: none;
  margin-top: auto;
}

/* --- Steps --- */
.di-prototype .steps-wrap {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin-top: 40px;
}

.di-prototype .steps-wrap::before {
  content: '';
  position: absolute;
  top: 27px;
  left: 8.33%;
  width: 83.33%;
  height: 1px;
  background: linear-gradient(90deg, var(--action-blue) 0%, var(--border) 100%);
}

@media (max-width: 900px) {
  .di-prototype .steps-wrap {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .di-prototype .steps-wrap::before {
    display: none;
  }
}

@media (max-width: 540px) {
  .di-prototype .steps-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}

.di-prototype .step {
  padding: 0 8px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.di-prototype .step-n {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--action-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 17px;
  font-weight: 800;
  color: var(--action-blue);
  box-shadow: 0 0 0 6px var(--bg-soft);
}

.di-prototype .step-n.highlight {
  background: var(--action-blue);
  color: #fff;
}

.di-prototype .step-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.di-prototype .step-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.55;
}

.di-prototype .step-new {
  font-size: 9px;
  font-weight: 700;
  background: var(--di-accent-soft);
  color: var(--action-blue);
  padding: 2px 6px;
  border-radius: 8px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 6px;
}

/* --- Competitor / pricing --- */
.di-prototype .competitor-grid,
.di-prototype .pricing-grid,
.di-prototype .fw-grid,
.di-prototype .rollout-grid {
  display: grid;
  gap: 20px;
  margin-top: 40px;
}

.di-prototype .competitor-grid {
  grid-template-columns: repeat(5, 1fr);
}

.di-prototype .pricing-grid,
.di-prototype .fw-grid {
  grid-template-columns: repeat(3, 1fr);
}

.di-prototype .rollout-grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 960px) {
  .di-prototype .competitor-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .di-prototype .pricing-grid,
.di-prototype .fw-grid,
  .di-prototype .rollout-grid {
    grid-template-columns: 1fr;
  }
}

.di-prototype .comp-card.ours,
.di-prototype .price-card.featured {
  border: 2px solid var(--action-blue);
  background: #f0f7ff;
}

.di-prototype .comp-group {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.di-prototype .comp-group.ours {
  color: var(--action-blue);
}

.di-prototype .comp-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.di-prototype .comp-examples {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.di-prototype .comp-strength {
  font-size: 12px;
  color: var(--di-green);
}

.di-prototype .comp-weakness {
  font-size: 12px;
  color: #dc2626;
}

.di-prototype .comp-diff {
  font-size: 12px;
  color: var(--action-blue);
  line-height: 1.5;
}

.di-prototype .comp-claim {
  margin-top: 32px;
  padding: 22px 24px;
  background: var(--di-accent-soft);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--action-blue);
}

.di-prototype .price-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.di-prototype .price-tag.featured-tag {
  color: var(--action-blue);
}

.di-prototype .price-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  background: var(--action-blue);
  color: #fff;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.di-prototype .price-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.di-prototype .price-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
}

.di-prototype .price-period {
  font-size: 13px;
  color: var(--text-muted);
  margin: 4px 0 16px;
}

.di-prototype .price-divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

.di-prototype .price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.di-prototype .price-features li {
  font-size: 13px;
  color: var(--text);
  display: flex;
  gap: 8px;
}

.di-prototype .price-features li::before {
  content: '✓';
  color: var(--di-green);
  font-weight: 700;
}

.di-prototype .price-note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
  font-style: italic;
}

.di-prototype .rollout-n {
  font-size: 48px;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  margin-bottom: 12px;
}

.di-prototype .rollout-time {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--action-blue);
  background: var(--di-accent-soft);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.di-prototype .fw-role {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--action-blue);
  margin-bottom: 8px;
}

.di-prototype .fw-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.di-prototype .fw-list li {
  font-size: 13px;
  color: var(--text);
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.di-prototype .fw-list li::before {
  content: '→';
  color: var(--action-blue);
  font-weight: 700;
}

/* --- Teaser links (landing) --- */
.di-prototype .di-teaser-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.di-prototype .di-teaser-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: box-shadow 0.18s var(--di-ease), border-color 0.18s var(--di-ease);
}

.di-prototype .di-teaser-link:hover {
  border-color: rgba(30, 101, 214, 0.35);
  box-shadow: var(--shadow-soft);
}

.di-prototype .di-teaser-link span.di-teaser-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  flex: 1;
}

.di-prototype .di-teaser-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
}

.di-prototype .di-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .di-prototype .di-two-col {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* --- CTA --- */
.di-prototype .cta-box {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: var(--shadow-soft);
}

.di-prototype .cta-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 8px;
}

.di-prototype .cta-claim {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 600;
  color: var(--action-blue);
  margin-bottom: 14px;
}

.di-prototype .cta-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 28px;
}

.di-prototype .di-proto-cta-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 20px;
}

.di-prototype .di-proto-cta-note a {
  color: var(--action-blue);
  text-decoration: underline;
}

/* --- Use cases page --- */
.di-prototype #rolenav {
  padding: 14px 0;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  margin-bottom: 0;
}

.di-prototype .rolenav-inner {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.di-prototype .rn-pill {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s var(--di-ease), color 0.15s var(--di-ease), border-color 0.15s var(--di-ease);
}

.di-prototype .rn-pill:hover {
  background: var(--bg-soft);
  color: var(--navy);
}

.di-prototype .rn-pill.active {
  background: var(--action-blue);
  color: #fff;
  border-color: var(--action-blue);
}

.di-prototype #uc-tiles {
  padding: 0 0 32px;
}

.di-prototype .uc-tile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 720px) {
  .di-prototype .uc-tile-grid {
    grid-template-columns: 1fr;
  }
}

.di-prototype .uc-tile {
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.di-prototype .uc-tile[hidden] {
  display: none;
}

.di-prototype .uc-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  width: fit-content;
}

.di-prototype .uc-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.di-prototype .uc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 860px) {
  .di-prototype .uc-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.di-prototype .uc-h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 14px;
}

.di-prototype .uc-lead {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.di-prototype .uc-problem-box {
  background: var(--bg-soft);
  border-left: 3px solid var(--border);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 14px 18px;
  margin-bottom: 20px;
}

.di-prototype .uc-problem-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.di-prototype .uc-problem-text {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
  margin: 0;
}

.di-prototype .uc-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.di-prototype .uc-benefits li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 12px;
}

.di-prototype .uc-benefit-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
}

.di-prototype .uc-detail-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  box-shadow: var(--shadow-soft);
}

.di-prototype .detail-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.di-prototype .detail-source-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin-bottom: 8px;
}

.di-prototype .detail-source-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  flex: 1;
}

.di-prototype .detail-source-tag {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
}

.di-prototype .detail-divider {
  height: 1px;
  background: var(--border);
  margin: 18px 0;
}

.di-prototype .detail-metric {
  display: flex;
  gap: 20px;
}

.di-prototype .metric-val {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.di-prototype .metric-lbl {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.di-prototype .savings-highlight {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.07), rgba(30, 101, 214, 0.05));
  border: 1px solid rgba(5, 150, 105, 0.2);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  margin-bottom: 8px;
}

.di-prototype .savings-hours {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
}

.di-prototype .savings-eur {
  font-size: 13px;
  font-weight: 700;
  color: var(--di-green);
}

.di-prototype .savings-note {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-top: 6px;
}

.di-prototype .branchen-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.di-prototype .branchen-tag {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.di-prototype .two-layer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

@media (max-width: 720px) {
  .di-prototype .two-layer-grid {
    grid-template-columns: 1fr;
  }
}

.di-prototype .arch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

@media (max-width: 900px) {
  .di-prototype .arch-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.di-prototype .arch-icon {
  width: 40px;
  height: 40px;
  background: var(--di-accent-soft);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--action-blue);
  margin-bottom: 14px;
}

.di-prototype .flow-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.di-prototype .flow-wrap > div {
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.di-prototype .flow-wrap .flow-step--accent {
  background: var(--action-blue);
  color: #fff;
  border-color: var(--action-blue);
}

.di-prototype .flow-wrap .flow-step--success {
  background: var(--di-green-soft);
  border-color: var(--di-green);
  color: var(--di-green);
  font-weight: 600;
}

/* --- Roles page --- */
.di-prototype .role-section {
  border-bottom: 1px solid var(--border);
  padding: 64px 0;
  scroll-margin-top: 100px;
}

.di-prototype .role-section:nth-child(even) {
  background: var(--bg-soft);
}

.di-prototype .role-layout {
  display: grid;
  grid-template-columns: minmax(0, 380px) 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 960px) {
  .di-prototype .role-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.di-prototype .role-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.di-prototype .role-h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.di-prototype .role-lead {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.di-prototype .role-quote {
  background: var(--bg-soft);
  border-left: 3px solid var(--action-blue);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 16px 18px;
  margin-bottom: 24px;
}

.di-prototype .role-quote-text {
  font-size: 15px;
  font-style: italic;
  color: var(--text);
  line-height: 1.65;
  margin: 0;
}

.di-prototype .role-quote-attr {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.di-prototype .role-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.di-prototype .role-benefits li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.55;
}

.di-prototype .rb-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 800;
}

.di-prototype .uc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.di-prototype .uc-chip {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  text-decoration: none;
}

.di-prototype .uc-chip:hover {
  background: var(--di-accent-soft);
  color: var(--action-blue);
  border-color: var(--di-accent-border);
}

.di-prototype .ditl-card,
.di-prototype .metrics-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.di-prototype .ditl-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.di-prototype .ditl-item {
  display: flex;
  gap: 14px;
  padding-bottom: 18px;
  position: relative;
}

.di-prototype .ditl-time-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
}

.di-prototype .ditl-action {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
}

.di-prototype .ditl-detail {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

.di-prototype .ditl-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  margin-top: 4px;
  text-transform: uppercase;
}

.di-prototype .metrics-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.di-prototype .roles-overview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}

@media (max-width: 900px) {
  .di-prototype .roles-overview {
    grid-template-columns: repeat(2, 1fr);
  }
}

.di-prototype .role-overview-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 20px 16px;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s var(--di-ease), box-shadow 0.2s var(--di-ease);
}

.di-prototype .role-overview-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.di-prototype .ro-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 11px;
  font-weight: 800;
  color: var(--action-blue);
  background: var(--di-accent-soft);
  letter-spacing: 0.02em;
}

.di-prototype .ro-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.di-prototype .ro-sub {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* --- Modal --- */
.di-prototype #uc-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(11, 40, 70, 0.45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--di-ease);
  padding: 40px 24px;
  overflow-y: auto;
}

.di-prototype #uc-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.di-prototype #uc-modal {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  max-width: 960px;
  width: 100%;
  margin: auto;
  box-shadow: var(--shadow-hover);
  padding: 48px 40px;
  transform: translateY(20px);
  transition: transform 0.24s var(--di-ease);
}

.di-prototype #uc-modal-overlay.open #uc-modal {
  transform: translateY(0);
}

.di-prototype #uc-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: 18px;
  color: var(--text-muted);
}

.di-prototype #uc-data-store {
  display: none;
}

.di-prototype .di-usecase-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  transition: box-shadow 180ms, border-color 180ms;
}

.di-prototype .di-usecase-link:hover,
.di-prototype .di-usecase-link:focus-visible {
  border-color: #bfdbfe;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.07);
}

.di-prototype .di-usecase-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.di-prototype .di-usecase-link-title {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}

.di-prototype .di-usecase-link-tag {
  flex-shrink: 0;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

/* --- Reveal (only after JS enables — avoids invisible content on hash navigation) --- */
.di-prototype.di-js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s var(--di-ease), transform 0.45s var(--di-ease);
}

.di-prototype.di-js .reveal.in {
  opacity: 1;
  transform: none;
}

.di-prototype.di-js .stagger > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s var(--di-ease), transform 0.35s var(--di-ease);
}

.di-prototype.di-js .stagger.in > * {
  opacity: 1;
  transform: none;
}

.di-prototype .stagger.in > *:nth-child(1) { transition-delay: 0ms; }
.di-prototype .stagger.in > *:nth-child(2) { transition-delay: 70ms; }
.di-prototype .stagger.in > *:nth-child(3) { transition-delay: 140ms; }
.di-prototype .stagger.in > *:nth-child(4) { transition-delay: 210ms; }
.di-prototype .stagger.in > *:nth-child(5) { transition-delay: 280ms; }
.di-prototype .stagger.in > *:nth-child(6) { transition-delay: 350ms; }

@media (prefers-reduced-motion: reduce) {
  .di-prototype.di-js .reveal,
  .di-prototype.di-js .stagger > *,
  .di-prototype .btn:hover,
  .di-prototype .module-card:hover {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

/* Integrated site sub-navigation (below global header) */
.di-subnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0 0 40px;
  padding: 12px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: visible;
}

.di-subnav-link {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.di-subnav-link:hover {
  color: var(--navy);
  background: var(--card-bg);
}

.di-subnav-link.is-active {
  color: var(--navy);
  background: var(--card-bg);
  box-shadow: var(--shadow-soft);
}

.di-subnav-cta {
  margin-left: auto;
  font-size: 14px;
  padding: 8px 16px;
}

@media (max-width: 640px) {
  .di-subnav-cta {
    margin-left: 0;
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
