/*
 * /integrationer – sidespecifik styling. Bygger på tokens og klasser i site.css.
 */

/* ---------- Hero ---------- */

.in-hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 88px;
  padding-bottom: 96px;
}
.in-hero__title { font-size: 60px; line-height: 1.04; max-width: 880px; }
.in-hero__lead { font-size: 20px; line-height: 1.55; color: var(--on-dark-muted); max-width: 720px; }

/* ---------- Hablar / Telavox ---------- */

.in-platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 24px;
}
.in-platform { padding: 40px; }
.in-platform__name { font-family: var(--font-display); font-weight: 800; font-size: 30px; }
.in-platform__title { font-family: var(--font-display); font-weight: 800; font-size: 24px; line-height: 1.2; }

/* ---------- Fælles rytme ---------- */

.in-stack { display: flex; flex-direction: column; gap: 40px; }
.in-head { max-width: 720px; }
.in-notice a { color: var(--link); font-weight: 700; }

/* ---------- Integrationer – nu og på vej ---------- */

.in-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 20px;
}
.in-grid > li { display: flex; }

.in-item {
  flex: 1 1 auto;
  text-decoration: none;
  color: var(--navy);
  background: var(--white);
  border: 2px solid transparent;
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
a.in-item:hover { color: var(--navy); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.in-item--featured { border-color: var(--cyan); }
.in-item--suggest { border-style: dashed; border-color: var(--border-strong); justify-content: center; }

.in-item__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 12px;
}
.in-item__name { font-family: var(--font-display); font-weight: 800; font-size: 24px; }
.in-item__name--sm { font-size: 22px; }
.in-item__text { font-size: 16px; line-height: 1.55; color: var(--muted); }
.in-item__more { font-weight: 700; font-size: 16px; margin-top: 4px; }

.in-badge {
  display: inline-block;
  background: var(--cyan);
  color: var(--navy);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- Hvad en integration kan gøre ---------- */

.in-features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 24px;
}
.in-feature {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 4px solid var(--cyan);
  padding-top: 20px;
}
.in-feature__title { font-family: var(--font-display); font-weight: 800; font-size: 21px; }
.in-feature__text { font-size: 16px; line-height: 1.6; color: var(--muted); }

/* ---------- Sådan bygger vi en ny integration ---------- */

.in-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 20px;
}
.in-step {
  background: var(--white);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.in-step__title { font-size: 19px; }
.in-step__text { font-size: 16px; line-height: 1.6; color: var(--muted); }

/* ---------- Responsivt ---------- */

@media (max-width: 720px) {
  .in-hero { padding-top: 56px; padding-bottom: 64px; }
  .in-hero__title { font-size: 40px; line-height: 1.08; }
  .in-hero__lead { font-size: 18px; }
  .in-platform { padding: 28px; }
  .in-platform__name { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .in-item { transition: none; }
  a.in-item:hover { transform: none; }
}
