/* Product-page-specific styles
   Builds on sections.css / site-styles.css — only adds what's new for product.html */

/* Primitives: three-up grid */
.primitives-three {
  grid-template-columns: repeat(3, 1fr);
}
.primitives-three > * { display: flex; }
@media (max-width: 1100px) {
  .primitives-three { grid-template-columns: 1fr; }
}
.primitives-three .primitive { width: 100%; }

/* ===== Persona paths section ===== */
.section-paths { background: var(--paper); }

.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
.paths-grid-two { grid-template-columns: 1fr 1fr; }
@media (max-width: 1100px) { .paths-grid, .paths-grid-two { grid-template-columns: 1fr; } }

.path-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column;
  gap: 12px;
  position: relative;
  box-shadow: var(--shadow-sm);
  height: 100%;
  min-height: 380px;
}
.path-card:hover { box-shadow: var(--shadow-md); }
.path-step {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.path-num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.path-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.015em;
  font-weight: 600;
}
.path-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--fg-2);
}

/* Wizard preview rows */
.path-mini {
  margin-top: auto;
  background: var(--paper-dim);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.path-mini-row {
  display: grid; grid-template-columns: 80px 1fr; gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.4;
}
.path-mini-row i { color: var(--fg-3); font-style: normal; }
.path-mini-row b { color: var(--ink); font-weight: 600; }

/* Designer chat preview */
.path-chat {
  margin-top: auto;
  display: flex; flex-direction: column;
  gap: 8px;
}
.path-chat-row {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  font-size: 13px;
  line-height: 1.45;
}
.path-chat-row span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.path-chat-row p { margin: 0; color: var(--ink); }
.path-chat-row em {
  font-family: var(--font-mono);
  font-style: normal;
  background: var(--voltage-soft);
  color: var(--accent-deep);
  padding: 1px 4px;
  border-radius: 4px;
  font-size: 12px;
}
.path-chat-ai { background: var(--paper-dim); border: 1px solid var(--border); }
.path-chat-you { background: var(--midnight); color: var(--paper); }
.path-chat-you span { color: rgba(250,247,255,0.55); }
.path-chat-you p { color: var(--paper); }

/* Direct fields preview */
.path-fields {
  margin-top: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--paper-dim);
  overflow: hidden;
}
.path-field {
  display: grid; grid-template-columns: 130px 1fr; gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.4;
}
.path-field:last-child { border-bottom: 0; }
.path-field b { color: var(--accent); font-weight: 600; }
.path-field span { color: var(--ink); word-break: break-word; }

/* ===== Governance section ===== */
.section-governance { background: var(--paper); }

.gov-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) { .gov-grid { grid-template-columns: 1fr; } }

.gov-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.gov-card:hover { box-shadow: var(--shadow-md); }
.gov-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.gov-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--fg-2);
}
.gov-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 0;
  border-top: 1px dashed var(--border);
}
.gov-list li {
  display: grid; grid-template-columns: 110px 1fr; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 13.5px;
  line-height: 1.45;
}
.gov-list li:last-child { border-bottom: 0; }
.gov-list b {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.gov-list span { color: var(--fg-2); }
.gov-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--fg-3);
  line-height: 1.5;
  font-style: italic;
}
