/* Page patterns: cards, journey, product frame, roles, trust, CTA */
.highlights-title {
  margin-top: 16px;
  max-width: 56ch;
}

.highlights-grid {
  display: grid;
  gap: 2px;
  margin-top: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.highlights-grid.cols-2 {
  grid-template-columns: 1fr;
}

.highlights-grid.cols-3,
.highlights-grid.cols-4 {
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .highlights-grid.cols-2,
  .highlights-grid.cols-3,
  .highlights-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1060px) {
  .highlights-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .highlights-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hl-card {
  position: relative;
  background: rgba(255, 255, 255, 0.025);
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
}

.hl-card:hover {
  background: rgba(196, 165, 116, 0.06);
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px rgba(196, 165, 116, 0.18);
  z-index: 1;
}

.hl-card.pastel-sage {
  background: linear-gradient(180deg, rgba(207, 224, 216, 0.14), rgba(255, 255, 255, 0.02));
}

.hl-card.pastel-mist {
  background: linear-gradient(180deg, rgba(206, 219, 234, 0.14), rgba(255, 255, 255, 0.02));
}

.hl-card.pastel-lav {
  background: linear-gradient(180deg, rgba(221, 210, 232, 0.14), rgba(255, 255, 255, 0.02));
}

.hl-card.pastel-sand {
  background: linear-gradient(180deg, rgba(232, 220, 199, 0.14), rgba(255, 255, 255, 0.02));
}

.hl-accent {
  height: 3px;
  background: var(--antique);
  width: 100%;
}

.hl-inner {
  padding: 28px 24px 32px;
}

@media (min-width: 900px) {
  .hl-inner {
    padding: 32px 28px 36px;
  }
}

.hl-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 14px;
}

.hl-heading {
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  margin: 0 0 12px;
}

.hl-body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}

.card-link {
  display: inline-flex;
  gap: 6px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--bronze);
}

/* Capability status badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.2;
}

.status-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
}

.status-badge--available {
  color: #9fd8b8;
  border-color: rgba(159, 216, 184, 0.35);
  background: rgba(159, 216, 184, 0.1);
}

.status-badge--development {
  color: #e5c891;
  border-color: rgba(229, 200, 145, 0.35);
  background: rgba(229, 200, 145, 0.1);
}

.status-badge--planned {
  color: #b9c4d6;
  border-color: rgba(185, 196, 214, 0.3);
  background: rgba(185, 196, 214, 0.08);
}

.capability-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.capability-top .hl-label {
  margin-bottom: 0;
  padding-top: 4px;
}

.module-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.module-hero-name {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
}

.module-hero-name::before {
  content: "—";
  margin-right: 10px;
  color: var(--muted);
}

/* Definition-style spec list */
.spec-list {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
}

.spec-row {
  display: grid;
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
  gap: 16px;
  padding: 16px 20px;
}

.spec-row + .spec-row {
  border-top: 1px solid var(--border);
}

.spec-row dt {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bronze);
  padding-top: 3px;
}

.spec-row dd {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}

/* Deployment tiers with cost bands */
.tier-grid {
  display: grid;
  gap: 18px;
  margin-top: 36px;
  align-items: stretch;
}

.tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px 24px 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
}

.tier-card:hover {
  background: rgba(196, 165, 116, 0.05);
  transform: translateY(-3px);
}

.tier-card--featured {
  border-color: rgba(196, 165, 116, 0.45);
  background: linear-gradient(180deg, rgba(196, 165, 116, 0.1), rgba(255, 255, 255, 0.02));
  box-shadow: 0 0 0 1px rgba(196, 165, 116, 0.18);
}

.tier-flag {
  position: absolute;
  top: -12px;
  left: 24px;
  white-space: nowrap;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bronze);
  color: #0b0d10;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tier-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.tier-col--hw {
  flex: 1;
}

.tier-head h3 {
  margin: 0 0 6px;
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: -0.02em;
}

.tier-who {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.tier-price {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.tier-price strong {
  color: var(--text);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.tier-price span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.tier-specs {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tier-specs li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

.tier-specs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--bronze);
}

.tier-facts {
  display: grid;
  gap: 12px;
  margin: auto 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.tier-facts dt {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 4px;
}

.tier-facts dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.tier-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--bronze);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tier-list-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tier-uses {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(196, 165, 116, 0.22);
  background: rgba(196, 165, 116, 0.06);
}

.tier-uses .tier-list-label {
  color: var(--bronze);
}

.tier-uses ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tier-uses li {
  position: relative;
  padding-left: 22px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

.tier-uses li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--bronze);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
}

.tier-specs li {
  color: var(--muted);
}

.tier-control {
  display: grid;
  gap: 12px;
  margin: 22px 0 30px;
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px solid rgba(159, 216, 184, 0.28);
  background: rgba(159, 216, 184, 0.05);
}

.tier-control-label {
  color: #9fd8b8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tier-control ul {
  display: grid;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tier-control li {
  position: relative;
  padding-left: 20px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

.tier-control li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #9fd8b8;
}

.tier-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  max-width: 78ch;
}

.alt-compare {
  margin-top: 40px;
  padding: 32px 28px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: #0f141b;
}

.alt-compare-head {
  max-width: 66ch;
}

.alt-compare-head h3 {
  margin: 14px 0 0;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.alt-compare-head p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.alt-compare-cols {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.alt-col {
  padding: 20px 22px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.alt-col--private {
  border-color: rgba(159, 216, 184, 0.35);
  background: rgba(159, 216, 184, 0.05);
}

.alt-col-label {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.alt-col--private .alt-col-label {
  color: #9fd8b8;
}

.alt-col ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.alt-col li {
  position: relative;
  padding-left: 22px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
}

.alt-col--api li {
  color: var(--muted);
}

.alt-col--api li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--muted);
  font-weight: 700;
}

.alt-col--private li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #9fd8b8;
  font-weight: 800;
}

@media (min-width: 900px) {
  .alt-compare {
    padding: 36px 40px;
  }

  .alt-compare-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .tier-control {
    grid-template-columns: auto 1fr;
    align-items: start;
  }

  .tier-control-label {
    padding-top: 4px;
  }

  .tier-control ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .tier-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .tier-card {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr) minmax(0, 1.1fr);
    gap: 0 36px;
    align-items: start;
    padding: 32px 32px 30px;
  }

  .tier-card--featured {
    background: linear-gradient(90deg, rgba(196, 165, 116, 0.1), rgba(255, 255, 255, 0.02));
  }

  .tier-col + .tier-col {
    padding-left: 32px;
    border-left: 1px solid var(--border);
  }

  .tier-col--main {
    gap: 22px;
  }

  .tier-price {
    padding: 16px 0 0;
    border-bottom: 0;
  }

  .tier-price strong {
    font-size: clamp(22px, 2vw, 28px);
    white-space: nowrap;
  }

  .tier-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
  }
}
}

@media (max-width: 599px) {
  .spec-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .capability-top {
    flex-direction: column;
  }
}

.workflow-header {
  max-width: 64ch;
  margin-bottom: 40px;
}

.workflow-header h2 {
  margin-top: 14px;
}

.journey {
  display: grid;
  gap: 2px;
  margin-top: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

@media (min-width: 900px) {
  .journey {
    grid-template-columns: repeat(5, 1fr);
  }

  /* Seven-stage sworn pipeline: 4 + 3 reads better than 5 + 2. */
  #recruiting-stages .journey {
    grid-template-columns: repeat(4, 1fr);
  }
}

.journey-step {
  padding: 28px 22px;
  background: rgba(255, 255, 255, 0.025);
  transition: background var(--ease);
}

.journey-step:hover {
  background: rgba(196, 165, 116, 0.06);
}

.journey-step .num {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 750;
}

.journey-step h3 {
  margin-top: 10px;
}

.journey-step p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.product-frame {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(16, 23, 34, 0.85);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.pf-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.pf-dots {
  width: 42px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.25) 0 8px,
    transparent 8px 14px,
    rgba(255, 255, 255, 0.18) 14px 22px,
    transparent 22px 28px,
    rgba(255, 255, 255, 0.12) 28px 36px
  );
}

.pf-title {
  font-size: 12px;
  color: var(--muted);
  font-weight: 650;
}

.pf-body {
  padding: 14px;
  display: grid;
  gap: 10px;
}

.pf-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.pf-row.pastel-sage {
  background: rgba(207, 224, 216, 0.16);
}

.pf-row.pastel-mist {
  background: rgba(206, 219, 234, 0.16);
}

.pf-row.pastel-lav {
  background: rgba(221, 210, 232, 0.16);
}

.pf-status {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(243, 239, 232, 0.92);
  border-radius: 999px;
  padding: 6px 8px;
  text-align: center;
}

.pf-row strong {
  display: block;
  font-size: 14px;
}

.pf-meta {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

.roles-layout {
  margin-top: 32px;
  display: grid;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

@media (min-width: 860px) {
  .roles-layout {
    grid-template-columns: 240px 1fr;
    min-height: 360px;
  }
}

.roles-tabs {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  scrollbar-width: none;
}

.roles-tabs::-webkit-scrollbar {
  display: none;
}

@media (min-width: 860px) {
  .roles-tabs {
    flex-direction: column;
    border-bottom: none;
    border-right: 1px solid var(--border);
    overflow-x: visible;
  }
}

.role-tab {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 16px 20px;
  min-height: 44px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
  font: inherit;
}

@media (min-width: 860px) {
  .role-tab {
    border-bottom: none;
    border-left: 3px solid transparent;
    padding: 20px 22px;
  }
}

.role-tab:hover {
  background: rgba(196, 165, 116, 0.05);
  color: var(--text);
}

.role-tab.active {
  background: rgba(196, 165, 116, 0.08);
  color: var(--text);
  border-bottom-color: var(--bronze);
}

@media (min-width: 860px) {
  .role-tab.active {
    border-bottom-color: transparent;
    border-left-color: var(--bronze);
  }
}

.role-tab-label {
  font-weight: 700;
  font-size: 15px;
}

.role-tab-sub {
  font-size: 12px;
  color: var(--muted-2);
  display: none;
}

@media (min-width: 860px) {
  .role-tab-sub {
    display: block;
  }
}

.roles-panel {
  display: none;
}

.roles-panel.active {
  display: grid;
}

.roles-copy {
  padding: 32px 28px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 255, 0.015);
}

.roles-heading {
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 700;
  line-height: 1.3;
  margin: 12px 0 14px;
}

.roles-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 20px;
}

.trust-layout {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.018);
}

.trust-content {
  padding: 36px 32px 40px;
}

.trust-heading {
  margin: 14px 0 12px;
}

.trust-sub {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 54ch;
}

.trust-pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.trust-pillar {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.trust-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(196, 165, 116, 0.1);
}

.trust-pillar-body h3 {
  font-size: 15px;
  margin: 0 0 4px;
}

.trust-pillar-body p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.accordion {
  margin-top: 16px;
}

.acc {
  border: 1px solid rgba(196, 165, 116, 0.14);
  border-radius: var(--radius);
  background: rgba(18, 26, 36, 0.45);
  overflow: hidden;
}

.acc + .acc {
  margin-top: 10px;
}

.acc summary {
  list-style: none;
  cursor: pointer;
  padding: 14px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text);
  font-weight: 750;
}

.acc summary::-webkit-details-marker {
  display: none;
}

.acc summary .chev {
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(159, 176, 199, 0.95);
  border-bottom: 2px solid rgba(159, 176, 199, 0.95);
  transform: rotate(45deg);
  transition: transform 0.14s ease;
  flex: 0 0 auto;
}

.acc[open] summary .chev {
  transform: rotate(-135deg);
}

.acc .content {
  padding: 0 14px 14px;
  color: var(--muted);
  font-size: 14px;
}

.cta-band {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(18, 26, 36, 0.55);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.cta-band .inner {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (min-width: 980px) {
  .cta-band .inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
  }
}

.related-grid {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

@media (min-width: 800px) {
  .related-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.related-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  transition: transform var(--ease), border-color var(--ease), background var(--ease);
}

.related-card:hover {
  transform: translateY(-3px);
  border-color: rgba(196, 165, 116, 0.35);
  background: rgba(196, 165, 116, 0.06);
}

.related-card span {
  color: var(--muted);
  font-size: 14px;
}

.words {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.word {
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 750;
  letter-spacing: 0.08em;
  font-size: 12px;
  text-transform: uppercase;
}

.hero-art {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(18, 26, 36, 0.55);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-art .inner {
  padding: 18px;
}

.stat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(196, 165, 116, 0.14);
  background: rgba(11, 15, 20, 0.35);
}
