:root {
  --ink: #131820;
  --muted: #667085;
  --soft: #f6f8fb;
  --paper: #ffffff;
  --line: #e4e9f0;
  --axis-blue: #0d5e9f;
  --axis-red: #d44835;
  --axis-green: #177e69;
  --axis-orange: #ee8f2d;
  --axis-violet: #5865d9;
  --shadow-sm: 0 10px 28px rgba(20, 28, 38, 0.06);
  --shadow-md: 0 18px 54px rgba(20, 28, 38, 0.1);
  --radius-lg: 28px;
  --radius-md: 20px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background:
    linear-gradient(90deg, rgba(13, 94, 159, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(13, 94, 159, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 58%, #eef4fa 100%);
  background-size: 44px 44px, 44px 44px, auto;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  font-family: Manrope, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 34px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 22px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  max-width: 210px;
}

.brand img {
  display: block;
  width: 172px;
  height: auto;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.topnav a,
.quick-strip a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #344054;
  font-size: 0.9rem;
  font-weight: 800;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.topnav a:hover,
.quick-strip a:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 94, 159, 0.38);
  color: var(--axis-blue);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: stretch;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 78% 18%, rgba(13, 94, 159, 0.08), transparent 20rem),
    linear-gradient(135deg, #ffffff 0%, #ffffff 58%, #f4f8fc 100%);
  box-shadow: var(--shadow-md);
}

.hero__copy {
  max-width: 770px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--axis-red);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Onest, Manrope, sans-serif;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.05;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  line-height: 1.15;
}

.hero__copy p:not(.eyebrow) {
  max-width: 690px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.6;
}

.hero__panel {
  display: grid;
  gap: 12px;
  align-self: end;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
}

.hero-link {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  transition: background 160ms ease, transform 160ms ease;
}

.hero-link:hover {
  transform: translateX(3px);
  background: var(--soft);
}

.hero-link strong,
.hero-link small {
  display: block;
}

.hero-link strong {
  font-family: Onest, Manrope, sans-serif;
}

.hero-link small {
  margin-top: 3px;
  color: var(--muted);
  font-weight: 700;
}

.quick-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 36px;
  padding: 0 4px;
}

.section {
  margin-top: 22px;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
}

.section__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.46fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 20px;
}

.section__heading .eyebrow,
.section__heading h2 {
  grid-column: 1;
}

.section__heading p:not(.eyebrow) {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  min-height: 126px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(20, 28, 38, 0.02);
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 94, 159, 0.3);
  box-shadow: var(--shadow-md);
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.service-icon {
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 16px;
  background: #edf2f7;
  color: #243042;
  font-family: Onest, Manrope, sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.service-icon--mattermost { background: #e9f3ff; color: #0d5e9f; }
.service-icon--passbolt { background: #eaf8ee; color: #177e69; }
.service-icon--kuma { background: #fff1e6; color: #c96811; }
.service-icon--wamm { background: #eef2ff; color: #4f46e5; }
.service-icon--bnovo { background: #e9f7ff; color: #0870a8; }
.service-icon--analytics { background: #f1f5f9; color: #475569; }
.service-icon--alarm { background: #fff0ef; color: #d44835; }
.service-icon--plane { background: #eef2ff; color: #5865d9; }
.service-icon--planfix { background: #e8f4ff; color: #0969a8; }
.service-icon--planfact { background: #edfdf7; color: #087f5b; }
.service-icon--payments { background: #fff7df; color: #b77904; }
.service-icon--drive { background: #eef8ff; color: #1266b0; }
.service-icon--webnames { background: #f5f0ff; color: #6d28d9; }
.service-icon--totp { background: #f7f7f8; color: #31343b; }
.service-icon--beszel { background: #edfdfd; color: #0f766e; }
.service-icon--mikrodash { background: #f3f7ec; color: #5b7f18; }
.service-icon--ai { background: #f0f5ff; color: #2451b2; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 0 6px;
  color: rgba(19, 24, 32, 0.62);
  font-size: 0.92rem;
}

.footer strong {
  color: var(--ink);
}

@media (max-width: 900px) {
  .topbar,
  .hero,
  .section__heading {
    grid-template-columns: 1fr;
  }

  .topbar {
    display: grid;
  }

  .topnav {
    justify-content: flex-start;
  }

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

  .section__heading .eyebrow,
  .section__heading h2,
  .section__heading p:not(.eyebrow) {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 14px;
  }

  .brand img {
    width: 150px;
  }

  .hero,
  .section {
    border-radius: 22px;
  }

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

  .service-card {
    grid-template-columns: 50px minmax(0, 1fr);
    min-height: auto;
  }

  .service-icon {
    width: 48px;
    height: 48px;
  }

  .footer {
    display: block;
  }

  .footer span {
    display: block;
    margin-top: 8px;
  }
}
