:root {
  --bg-main: #f4f7fb;
  --bg-surface: #ffffff;
  --bg-surface-soft: #eef3fa;
  --text-main: #172133;
  --text-muted: #5b6472;
  --border: #d3dbe8;
  --brand: #0d5bd6;
  --brand-deep: #093a95;
  --accent: #1ea98b;
  --shadow: 0 12px 35px rgba(15, 39, 79, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% 10%, rgba(13, 91, 214, 0.1), transparent 38%),
    radial-gradient(circle at 86% 14%, rgba(30, 169, 139, 0.1), transparent 42%),
    var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  margin-top: 0;
  line-height: 1.15;
}

a {
  color: var(--brand-deep);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(244, 247, 251, 0.9);
  border-bottom: 1px solid rgba(211, 219, 232, 0.7);
  backdrop-filter: blur(10px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  line-height: 1;
  font-weight: 700;
  color: var(--text-main);
}

.brand-name {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  width: auto;
  height: 2.2rem;
  max-width: 11.5rem;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
}

.brand-mark img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  border-radius: 0;
  display: block;
}

.site-nav {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-left: auto;
  gap: 1rem;
}

.site-nav a {
  font-weight: 600;
  color: var(--text-main);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 0;
  border-radius: 0.65rem;
  padding: 0.72rem 1rem;
  font-weight: 700;
  font-family: "Source Sans 3", sans-serif;
  cursor: pointer;
  background: linear-gradient(140deg, var(--brand), #0e6cff);
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(13, 91, 214, 0.28);
  text-decoration: none;
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--brand-deep);
  border: 1px solid var(--border);
}

.btn-small {
  padding: 0.45rem 0.8rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 1.8rem 0 4rem;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.35)),
    linear-gradient(160deg, rgba(13, 91, 214, 0.14), rgba(30, 169, 139, 0.16));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 0.8rem;
  align-items: stretch;
}

.hero-content h1 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  margin-bottom: 1rem;
}

.hero-content p {
  color: var(--text-muted);
  margin: 0.75rem 0;
}

.industry-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 0.6rem;
  max-width: none;
  align-items: stretch;
}

.industry-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  row-gap: 0.35rem;
  height: 100%;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  padding: 0.75rem;
}

.industry-card h4 {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  line-height: 1.2;
}

.industry-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.87rem;
  line-height: 1.35;
}

.industry-status {
  margin-top: 0;
  padding-top: 0.55rem;
  border-top: 1px solid #dfe6f3;
}

.partner-strip {
  margin-top: 1rem;
}

.partner-strip-label {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  color: var(--text-muted);
}

.partner-logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.partner-logo {
  display: grid;
  place-items: center;
  min-height: 66px;
  padding: 0.75rem;
  border-radius: 0.8rem;
  border: 1px dashed #b9c8de;
  background: rgba(255, 255, 255, 0.62);
  color: #4a5a76;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

.partner-logo-has-image {
  padding: 0.5rem;
}

.partner-logo-has-image img {
  width: auto;
  max-width: 100%;
  height: 40px;
  object-fit: contain;
  display: block;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
}

.status-active {
  background: #dcf5e9;
  border-color: #9bd6ba;
  color: #14563f;
}

.status-progress {
  background: #fff2d9;
  border-color: #e7c680;
  color: #7a5511;
}

.status-inactive {
  background: #edf1f7;
  border-color: #c8d3e5;
  color: #4a5a76;
}

.hero-panel {
  width: 100%;
  max-width: none;
  justify-self: stretch;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.4rem;
  box-shadow: var(--shadow);
  animation: rise-in 0.8s ease both;
}

.hero-panel h2 {
  margin-bottom: 0.85rem;
}

.hero-panel-copy {
  margin: 0 0 0.8rem;
  color: var(--text-muted);
}

.hero-offer {
  margin: 0 0 0.95rem;
  padding: 0.8rem 0.9rem;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, #eef6ff, #ecfbf6);
  border: 1px solid #cfe0f7;
}

.hero-offer-title {
  margin: 0 0 0.2rem;
  font-weight: 700;
  color: var(--text-main);
}

.hero-offer-copy {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.hero-catalog {
  display: grid;
  gap: 0.95rem;
  max-height: 540px;
  overflow: auto;
  padding-right: 0.35rem;
}

.hero-catalog .app-card {
  background: #f8fbff;
  border-color: #cfdcf4;
  padding: 1rem;
  margin: 0;
  box-shadow: none;
}

.hero-catalog .app-card h3 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.hero-catalog .app-card p {
  margin: 0.3rem 0;
}

.hero-catalog .meta-row {
  margin-top: 0.75rem;
}

.hero-catalog .download-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-catalog .download-actions .btn {
  width: 100%;
  min-width: 0;
}

.hero-panel ul {
  padding-left: 1rem;
  margin: 0;
  color: var(--text-muted);
}

.section {
  padding: 4rem 0;
}

.section-head {
  margin-bottom: 1.4rem;
}

.section-head h2,
.section-head h1 {
  margin-bottom: 0.45rem;
}

.section-head p {
  color: var(--text-muted);
  margin: 0;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.app-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: var(--shadow);
  animation: rise-in 0.6s ease both;
}

.app-card h3 {
  margin-bottom: 0.35rem;
}

.app-desc {
  color: var(--text-muted);
  margin: 0 0 0.9rem;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.85rem;
}

.version-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: var(--bg-surface-soft);
  border: 1px solid var(--border);
  font-weight: 700;
  color: var(--brand-deep);
}

.channel-badge {
  font-size: 0.82rem;
  color: #0b5a49;
  background: #d9f4ed;
  border: 1px solid #a8dfd0;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  font-weight: 700;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.download-actions .btn {
  flex: 1;
  min-width: 145px;
}

.inline-link {
  font-weight: 700;
  color: var(--brand-deep);
}

.inline-summary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.6rem;
  cursor: pointer;
  list-style: none;
}

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

.inline-summary::after {
  content: "+";
  font-size: 0.9rem;
  line-height: 1;
}

.release-inline[open] .inline-summary::after {
  content: "-";
}

.release-inline {
  margin-top: 0.15rem;
}

.release-inline-panel {
  margin-top: 0.55rem;
  padding-top: 0.7rem;
  border-top: 1px solid #dfe6f3;
}

.release-inline-entry + .release-inline-entry {
  margin-top: 0.8rem;
}

.release-inline-version {
  margin: 0;
  font-weight: 700;
  color: var(--text-main);
}

.release-inline-version span {
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 0.3rem;
}

.release-inline-empty {
  margin: 0;
  color: var(--text-muted);
}

.notes-preview {
  display: grid;
  gap: 1rem;
}

.note-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem;
}

.note-card h3 {
  margin-bottom: 0.35rem;
}

.note-card p {
  margin: 0.35rem 0;
  color: var(--text-muted);
}

.note-card strong {
  color: var(--text-main);
}

.notes-list {
  margin: 0.55rem 0 0;
  padding-left: 1.1rem;
}

.notes-list li {
  margin-bottom: 0.3rem;
  color: var(--text-main);
}

.release-layout {
  padding-top: 2.8rem;
}

.release-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.release-sidebar,
.release-main {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.release-sidebar h2 {
  margin-bottom: 0.8rem;
}

.app-pill {
  width: 100%;
  text-align: left;
  margin-bottom: 0.5rem;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 0.65rem;
  padding: 0.55rem 0.7rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
}

.app-pill.is-active {
  border-color: #8cb5f8;
  background: #eef4ff;
}

.release-entry {
  border-left: 3px solid #bfd4fb;
  padding-left: 0.9rem;
  margin-bottom: 1rem;
}

.release-entry h3 {
  margin-bottom: 0.3rem;
}

.release-meta {
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #fff;
}

.footer-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--text-muted);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

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

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

  .hero-panel {
    max-width: none;
    justify-self: stretch;
  }

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

  .hero-catalog {
    max-height: none;
    overflow: visible;
  }

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

@media (max-width: 700px) {
  .nav-wrap {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0.6rem 0;
  }

  .site-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    justify-content: flex-end;
    padding-bottom: 0.25rem;
  }

  .hero {
    padding-top: 1.7rem;
  }

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

  .industry-cards {
    grid-template-columns: 1fr;
  }

  .partner-logos {
    grid-template-columns: 1fr;
  }

  .footer-wrap {
    flex-direction: column;
    justify-content: center;
    padding: 0.8rem 0;
    text-align: center;
  }
}
