/* Interests */

#interests-view {
  width: min(100%, 1120px);
  margin-left: auto;
  margin-right: auto;
}

#interests-view .interests-page {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 0 120px;
}

#interests-view .interests-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 28px;
  align-items: end;
  margin: 24px 0 22px;
}

#interests-view .interests-hero h1 {
  max-width: 760px;
  margin: 0 0 12px;
  font-size: clamp(40px, 4.6vw, 60px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

#interests-view .interests-hero p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.interests-summary-card {
  justify-self: end;
  width: 220px;
  min-height: 104px;
  padding: 20px;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.interests-summary-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.interests-summary-card strong {
  color: var(--text);
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.premium-interest-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 78px;
  margin: 0 0 18px;
  padding: 16px 20px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.interest-selection-summary {
  position: relative;
  padding-left: 42px;
}

.interest-selection-summary::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #12b76a;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
}

.interest-selection-summary span {
  display: block;
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
}

.interest-selection-summary p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

#interest-continue-btn {
  width: auto;
  min-width: 190px;
  max-width: 220px;
  min-height: 46px;
  padding: 0 18px;
  font-size: 12.5px;
  white-space: nowrap;
}

.interest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
}

.premium-interest-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 24px 22px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.055);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.premium-interest-card::after {
  content: "";
  position: absolute;
  top: 24px;
  right: 24px;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  border: 2px solid rgba(16, 24, 40, 0.14);
  background: #ffffff;
}

.premium-interest-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(16, 24, 40, 0.08);
}

.premium-interest-card.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 18px 38px rgba(47, 49, 146, 0.12);
}

.premium-interest-card.selected::after {
  content: "✓";
  display: grid;
  place-items: center;
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
}

.interest-card-visual {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
  background: transparent;
}

.interest-card-visual img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.interest-card-copy h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -0.03em;
  font-weight: 900;
}

.interest-card-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.interest-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 24px;
}

.interest-card-footer span,
.interest-card-footer strong {
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
}

.interest-preview-panel {
  width: 100%;
  margin-top: 24px;
}

.interest-preview-active,
.interest-preview-empty {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.75fr);
  gap: 24px;
  align-items: center;
  min-height: 150px;
  padding: 28px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.interest-preview-empty {
  grid-template-columns: 72px minmax(0, 1fr);
}

.interest-preview-empty > span {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--accent-soft);
  font-size: 32px;
}

.preview-kicker {
  display: none;
}

.interest-preview-active strong,
.interest-preview-empty strong {
  display: block;
  margin: 0 0 8px;
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
}

.interest-preview-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.interest-preview-chips,
.interest-preview-active ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.interest-preview-chips span,
.interest-preview-active li {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
}

.interest-preview-active ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

@media (max-width: 900px) {
  #interests-view .interests-hero {
    grid-template-columns: 1fr;
  }

  .interests-summary-card {
    justify-self: start;
  }

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

  .premium-interest-toolbar {
  align-items: stretch;
  flex-direction: column;
}
}

@media (max-width: 760px) {
  #interests-view {
    width: 100%;
  }

  #interests-view .interests-page {
    padding: 28px 0 120px;
  }

  #interests-view .interests-hero h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .interest-grid {
    grid-template-columns: 1fr;
  }

  #interest-continue-btn {
    width: 100%;
    max-width: none;
  }
}

/* Interests final polish */

#interests-view .page-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(47, 49, 146, 0.08);
  color: var(--accent);
  border: 1px solid rgba(47, 49, 146, 0.1);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#interests-view .interests-hero h1 {
  font-family: var(--compass-heading-font);
  font-weight: 800;
  font-size: clamp(44px, 5vw, 68px);
  line-height: 0.96;
  letter-spacing: -0.065em;
  color: var(--text);
}

/* Interests final polish */

#interests-view .page-kicker {
  margin-bottom: 18px;
}

#interests-view .interests-hero h1 {
  font-family: var(--compass-heading-font);
  font-weight: 800;
  font-size: clamp(44px, 5vw, 68px);
  line-height: 0.96;
  letter-spacing: -0.065em;
  color: var(--text);
}

#interest-continue-btn {
  width: auto;
  min-width: 0;
  max-width: none;
  min-height: 44px;
  padding: 0 18px;
  font-size: 13px;
  border-radius: 999px;
  white-space: nowrap;
}