/* linkchart — GTA RP Relationship Map product page */

.grp-page {
  --grp-ink: #e8eef7;
  --grp-muted: #9aabc0;
  --grp-line: rgba(96, 130, 170, 0.28);
  --grp-blue: #60a5fa;
}

.grp-page .landing-wrap {
  max-width: 64rem;
}

.grp-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: #64748b;
}

.grp-breadcrumb a {
  color: #94a3b8;
  text-decoration: none;
}

.grp-breadcrumb a:hover {
  color: #e2e8f0;
}

/* —— Hero —— */
.grp-hero {
  padding: clamp(1.75rem, 4vw, 2.75rem) 0 1.25rem;
  text-align: center;
}

.grp-kicker {
  margin: 0 0 0.85rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #67e8f9;
}

.grp-hero h1 {
  margin: 0 auto 1rem;
  max-width: 16ch;
  font-size: clamp(2rem, 4.8vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: #f8fafc;
}

.grp-hero__lead {
  margin: 0 auto 1.5rem;
  max-width: 36rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #b6c3d6;
}

.grp-hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
}

.grp-hero__note {
  margin: 0;
  width: 100%;
  font-size: 0.8125rem;
  color: #7c8ea5;
}

.grp-hero__shot {
  margin: 0 0 clamp(2.5rem, 6vw, 3.75rem);
}

/* —— Mac window shots —— */
.grp-shot {
  margin: 0;
}

.grp-shot + .grp-shot {
  margin-top: 1.5rem;
}

.grp-shot__caption {
  margin: 0.85rem 0 0;
  max-width: 40rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #94a3b8;
}

.grp-shot__caption strong {
  color: #e2e8f0;
  font-weight: 600;
}

.grp-page .landing-showcase-window {
  cursor: zoom-in;
}

.grp-page .landing-showcase-window-dots span:nth-child(1) {
  background: #ef4444;
  opacity: 1;
}

.grp-page .landing-showcase-window-dots span:nth-child(2) {
  background: #eab308;
  opacity: 1;
}

.grp-page .landing-showcase-window-dots span:nth-child(3) {
  background: #22c55e;
  opacity: 1;
}

.grp-page .grp-window-media {
  aspect-ratio: auto;
  background: #060a10;
}

.grp-page .grp-window-media .landing-showcase-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.grp-page .landing-showcase-card:hover .landing-showcase-image,
.grp-page .grp-shot:hover .landing-showcase-image {
  transform: none;
}

.grp-page .grp-shot .landing-showcase-window:hover {
  transform: translateY(-3px);
}

/* —— Sections —— */
.grp-section {
  margin: 0 0 clamp(2.75rem, 6vw, 4rem);
}

.grp-section__head {
  margin: 0 0 1.25rem;
  max-width: 38rem;
}

.grp-section h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 2.8vw, 1.95rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #f8fafc;
}

.grp-section__lead,
.grp-prose p {
  margin: 0 0 0.9rem;
  font-size: 1.02rem;
  line-height: 1.65;
  color: #b4c1d4;
}

.grp-section__lead:last-child,
.grp-prose p:last-child {
  margin-bottom: 0;
}

.grp-prose {
  max-width: 40rem;
}

.grp-prose strong {
  color: #e8eef7;
  font-weight: 600;
}

.grp-prose a {
  color: #7dd3fc;
}

/* —— Use cases (text only) —— */
.grp-usegrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.grp-usecard {
  padding: 1.1rem 1.05rem 1.15rem;
  border-radius: 0.9rem;
  border: 1px solid var(--grp-line);
  background: rgba(10, 15, 22, 0.72);
}

.grp-usecard h3 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  color: #f1f5f9;
}

.grp-usecard p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #97a7bc;
}

@media (max-width: 800px) {
  .grp-usegrid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .grp-usegrid {
    grid-template-columns: 1fr;
  }
}

/* —— Product tour (stacked framed shots) —— */
.grp-tour {
  display: grid;
  gap: 1.75rem;
}

.grp-tour__item {
  display: grid;
  gap: 0.85rem;
}

/* —— Steps —— */
.grp-steps {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  counter-reset: grpstep;
}

.grp-steps li {
  position: relative;
  padding: 1rem 1rem 1.05rem 3.35rem;
  border-radius: 0.85rem;
  border: 1px solid var(--grp-line);
  background: rgba(10, 15, 22, 0.72);
}

.grp-steps li::before {
  counter-increment: grpstep;
  content: counter(grpstep);
  position: absolute;
  left: 0.9rem;
  top: 1rem;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  color: #bfdbfe;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.grp-steps h3 {
  margin: 0 0 0.25rem;
  font-size: 0.98rem;
  color: #f1f5f9;
}

.grp-steps p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #97a7bc;
}

@media (max-width: 640px) {
  .grp-steps {
    grid-template-columns: 1fr;
  }
}

/* —— FAQ / CTA / legal —— */
.grp-prose ul {
  margin: 0.35rem 0 0.9rem;
  padding-left: 1.2rem;
  color: #b4c1d4;
}

.grp-prose li {
  margin: 0.35rem 0;
  line-height: 1.55;
}

/* —— Role tabs —— */
.grp-roles {
  border: 1px solid var(--grp-line);
  border-radius: 1rem;
  background: rgba(10, 15, 22, 0.72);
  overflow: hidden;
}

.grp-roles__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.7rem;
  border-bottom: 1px solid var(--grp-line);
  background: rgba(8, 12, 18, 0.85);
}

.grp-roles__tab {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: #94a3b8;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 0.85rem;
  border-radius: 0.65rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.grp-roles__tab:hover {
  color: #e2e8f0;
  background: rgba(148, 163, 184, 0.08);
}

.grp-roles__tab.is-active {
  color: #eff6ff;
  border-color: rgba(59, 130, 246, 0.45);
  background: rgba(37, 99, 235, 0.22);
}

.grp-roles__panel {
  padding: 1.15rem 1.2rem 1.25rem;
}

.grp-roles__panel[hidden] {
  display: none;
}

.grp-roles__panel h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  color: #f1f5f9;
}

.grp-roles__panel p {
  margin: 0 0 0.85rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: #b4c1d4;
}

.grp-roles__panel ul {
  margin: 0;
  padding-left: 1.15rem;
  color: #a8b6c9;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.grp-roles__panel li {
  margin: 0.3rem 0;
}

/* —— Label explorer —— */
.grp-labels {
  border: 1px solid var(--grp-line);
  border-radius: 1rem;
  background: rgba(10, 15, 22, 0.72);
  padding: 1rem 1.05rem 1.15rem;
}

.grp-labels__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.95rem;
}

.grp-labels__chip {
  appearance: none;
  border: 1px solid rgba(96, 130, 170, 0.35);
  background: rgba(15, 23, 42, 0.65);
  color: #cbd5e1;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.grp-labels__chip:hover {
  border-color: rgba(96, 165, 250, 0.5);
  color: #f1f5f9;
}

.grp-labels__chip.is-active {
  border-color: rgba(56, 189, 248, 0.55);
  background: rgba(14, 165, 233, 0.16);
  color: #e0f2fe;
}

.grp-labels__detail h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: #f8fafc;
}

.grp-labels__detail p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: #b4c1d4;
}

/* —— Checklist —— */
.grp-check {
  border: 1px solid var(--grp-line);
  border-radius: 1rem;
  background: rgba(10, 15, 22, 0.72);
  padding: 1.1rem 1.15rem 1.2rem;
}

.grp-check__bar {
  height: 0.4rem;
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.95);
  overflow: hidden;
  margin-bottom: 0.55rem;
}

.grp-check__fill {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2563eb, #22d3ee);
  transition: width 0.25s ease;
}

.grp-check__status {
  margin: 0 0 0.85rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}

.grp-check__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.grp-check__list label {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.7rem 0.75rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(96, 130, 170, 0.22);
  background: rgba(8, 12, 18, 0.55);
  cursor: pointer;
  color: #dbe4f0;
  font-size: 0.9375rem;
  line-height: 1.45;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.grp-check__list label:hover {
  border-color: rgba(96, 165, 250, 0.4);
}

.grp-check__list input {
  margin-top: 0.2rem;
  accent-color: #38bdf8;
  flex-shrink: 0;
}

.grp-check__list input:checked + span {
  color: #e2e8f0;
}

.grp-check__hint {
  margin: 0.85rem 0 0;
  font-size: 0.875rem;
  color: #7dd3fc;
}

.grp-faq {
  max-width: 42rem;
}

.grp-section__head {
  max-width: 42rem;
}

.grp-prose {
  max-width: 42rem;
}

.grp-faq details {
  border: 1px solid var(--grp-line);
  border-radius: 0.75rem;
  background: rgba(10, 15, 22, 0.72);
  margin-bottom: 0.5rem;
  padding: 0.85rem 1rem;
}

.grp-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: #e2e8f0;
  font-size: 0.95rem;
}

.grp-faq details p {
  margin: 0.7rem 0 0.05rem;
  color: #a8b6c9;
  line-height: 1.6;
  font-size: 0.9375rem;
}

.grp-cta {
  position: relative;
  padding: clamp(1.6rem, 4vw, 2.4rem);
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid rgba(96, 165, 250, 0.35);
  background: linear-gradient(120deg, rgba(20, 40, 70, 0.9), rgba(8, 14, 22, 0.95));
  text-align: center;
}

.grp-cta h2 {
  position: relative;
  margin: 0 0 0.45rem;
}

.grp-cta p {
  position: relative;
  margin: 0 auto 1.15rem;
  max-width: 28rem;
  color: #b6c3d6;
  line-height: 1.55;
}

.grp-cta .landing-hero-cta {
  position: relative;
  justify-content: center;
}

.grp-links {
  margin: 0 0 2rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #94a3b8;
}

.grp-links a {
  color: #7dd3fc;
}

.grp-legal {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  line-height: 1.55;
  color: #64748b;
  max-width: 44rem;
}

.grp-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.grp-reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .grp-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
