/* Compliance catalog / preview / pricing — peach marketing chrome */

.comp-banner {
  background: #fff4eb;
  border: 1px dashed var(--line);
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-deep);
  padding: 8px 12px;
  border-radius: 14px;
  margin-bottom: 18px;
}

.comp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 28px;
  align-items: center;
  margin: 8px 0 28px;
}
.comp-hero img {
  width: 100%;
  max-height: min(34vh, 300px);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 45%;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--soft);
}
.comp-hero h1 {
  font-size: clamp(30px, 4.5vw, 46px);
  line-height: 1.12;
  margin: 0 0 10px;
}
.comp-hero .lede { max-width: 48ch; margin: 0 0 18px; }

.comp-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
  align-items: center;
}
.comp-filters label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 4px;
}
.comp-chip {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
.comp-chip:hover { border-color: var(--brand); }
.comp-chip.on {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.comp-search {
  flex: 1 1 180px;
  min-width: 160px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
  background: #fff;
}

.comp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin: 8px 0 32px;
}
.comp-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--card, #fff);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.comp-card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}
.comp-card .tag {
  display: inline-flex;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-deep);
  background: #fff4eb;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
}
.comp-card h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  margin: 0;
  line-height: 1.25;
}
.comp-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
  flex: 1;
}
.comp-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.comp-empty {
  grid-column: 1 / -1;
  padding: 28px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 20px;
  background: #fffaf5;
}

.comp-player {
  position: relative;
  background: var(--card, #fff);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 24px;
}
.comp-player::before {
  content: "SAMPLE";
  position: absolute;
  inset: 22% auto auto 50%;
  transform: translateX(-50%) rotate(-16deg);
  font-family: var(--display);
  font-size: clamp(56px, 11vw, 100px);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(245, 132, 43, 0.08);
  pointer-events: none;
  z-index: 0;
  white-space: nowrap;
}
.comp-player-bar {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: #fffaf5;
}
.comp-player-bar .lang {
  font-weight: 800;
  color: var(--brand-deep);
}
.comp-slide {
  position: relative;
  z-index: 1;
  padding: 28px 24px 32px;
  min-height: 280px;
}
.comp-slide .n {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}
.comp-slide h2 {
  font-family: var(--display);
  font-size: clamp(24px, 3.5vw, 34px);
  margin: 0 0 8px;
  line-height: 1.15;
}
.comp-slide .punch {
  font-weight: 800;
  color: var(--brand-deep);
  margin: 0 0 14px;
}
.comp-slide .body {
  margin: 0 0 14px;
  line-height: 1.55;
  max-width: 62ch;
}
.comp-slide .cite {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.comp-nav {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  padding: 14px 18px 18px;
  border-top: 1px solid var(--line);
}
.comp-progress {
  height: 6px;
  background: #fde7d4;
  border-radius: 999px;
  overflow: hidden;
  margin: 0 18px;
  position: relative;
  z-index: 1;
}
.comp-progress > span {
  display: block;
  height: 100%;
  background: var(--brand);
  border-radius: 999px;
  transition: width 0.2s ease;
}

.comp-gate {
  display: none;
  position: relative;
  z-index: 2;
  padding: 36px 24px;
  text-align: center;
  background: linear-gradient(180deg, #fffaf5, #fff);
}
.comp-gate.on { display: block; }
.comp-gate img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 12px;
  display: block;
}
.comp-gate h2 {
  font-family: var(--display);
  font-size: clamp(26px, 3.5vw, 36px);
  margin: 0 0 10px;
}
.comp-gate p {
  margin: 0 auto 18px;
  max-width: 46ch;
  color: var(--muted);
  line-height: 1.5;
}
.comp-gate .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.comp-price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 12px 0 28px;
}
.comp-price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.comp-price-card.featured {
  border-color: var(--brand);
  background: linear-gradient(180deg, #fff7ed, #fff);
}
.comp-price-card .who {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-deep);
}
.comp-price-card .amount {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.1;
}
.comp-price-card .amount small {
  font-size: 0.45em;
  font-weight: 700;
  color: var(--muted);
}
.comp-price-card ul {
  margin: 0;
  padding: 0 0 0 18px;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
}
.comp-price-card li { margin: 0 0 6px; }

.comp-logic {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: start;
  margin: 8px 0 32px;
}
.comp-logic img {
  width: 100%;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.comp-steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.comp-steps li {
  counter-increment: step;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px 14px 56px;
  position: relative;
}
.comp-steps li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff4eb;
  border: 1px solid var(--line);
  color: var(--brand-deep);
  font-weight: 800;
  font-size: 13px;
  display: grid;
  place-items: center;
}
.comp-steps strong { display: block; margin-bottom: 4px; }
.comp-steps span { color: var(--muted); font-size: 0.95rem; line-height: 1.45; }

.portal-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 22px;
  align-items: start;
}
.portal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.portal-card h2 {
  font-family: var(--display);
  font-size: 1.5rem;
  margin: 0 0 8px;
}
.portal-card .hint { color: var(--muted); margin: 0 0 16px; line-height: 1.45; }
.portal-field { margin: 0 0 14px; }
.portal-field label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 0.95rem;
}
.portal-field input[type="number"],
.portal-field input[type="email"],
.portal-field input[type="password"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fffaf5;
}
.portal-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 0 16px;
}
.portal-stat {
  background: #fff4eb;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  text-align: center;
}
.portal-stat b {
  display: block;
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--brand-deep);
}
.portal-stat span {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.portal-locked {
  opacity: 0.55;
  pointer-events: none;
  filter: grayscale(0.2);
}
.stripe-mock {
  border: 1px dashed #635bff;
  background: #f6f5ff;
  border-radius: 16px;
  padding: 14px 16px;
  margin: 12px 0;
  font-size: 0.95rem;
}
.stripe-mock strong { color: #635bff; }

@media (max-width: 860px) {
  .comp-hero,
  .comp-price-grid,
  .comp-logic,
  .portal-shell {
    grid-template-columns: 1fr;
  }
  .portal-stats { grid-template-columns: 1fr; }
}
