:root {
  --brand: #078bc4;
  --brand-dark: #075892;
  --ink: #13212b;
  --muted: #5d6b75;
  --line: #d9e4ea;
  --surface: #ffffff;
  --surface-soft: #f4f9fc;
  --accent: #21b7c9;
  --shadow: 0 22px 70px rgba(19, 33, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background:
    radial-gradient(circle at top left, rgba(33, 183, 201, 0.16), transparent 30rem),
    linear-gradient(180deg, #ffffff 0%, #f7fbfd 42%, #ffffff 100%);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 78px;
  padding: 0.55rem 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 180px;
}

.brand img {
  display: block;
  width: min(290px, 48vw);
  height: 58px;
  object-fit: cover;
  object-position: center;
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
}

.app-shortcuts {
  position: relative;
}

.app-shortcuts summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
}

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

.app-shortcuts summary::after {
  content: "";
  display: inline-block;
  width: 0.42rem;
  height: 0.42rem;
  margin-left: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-0.18rem) rotate(45deg);
}

.app-shortcuts[open] summary {
  color: var(--brand-dark);
}

.app-shortcuts[open] summary::after {
  transform: translateY(0.05rem) rotate(225deg);
}

.shortcut-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  z-index: 30;
  display: grid;
  min-width: 230px;
  padding: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(19, 33, 43, 0.14);
}

.shortcut-menu a {
  padding: 0.75rem 0.85rem;
  border-radius: 6px;
  color: var(--ink);
  white-space: nowrap;
}

.shortcut-menu a:hover {
  color: var(--brand-dark);
  background: var(--surface-soft);
}

.nav a:hover,
.card-link:hover,
.site-footer a:hover {
  color: var(--brand-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  width: min(1160px, calc(100% - 40px));
  min-height: 620px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 4.5rem);
}

.hero-content {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5.8vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.45rem;
  letter-spacing: 0;
}

.hero-text {
  max-width: 650px;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 16px 40px rgba(7, 139, 196, 0.28);
}

.button.secondary {
  color: var(--brand-dark);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.84);
}

.hero-panel {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 252, 0.9)),
    radial-gradient(circle at 20% 10%, rgba(33, 183, 201, 0.22), transparent 12rem);
  box-shadow: var(--shadow);
}

.hero-panel img {
  width: min(100%, 360px);
  height: auto;
  margin: 0 auto;
}

.hero-panel strong {
  display: block;
  font-size: 1.25rem;
}

.hero-panel span {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  line-height: 1.6;
}

.section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
  border-top: 1px solid var(--line);
}

.intro p:last-child {
  margin: 2.1rem 0 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

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

.app-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(1.2rem, 3vw, 1.7rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 40px rgba(19, 33, 43, 0.06);
}

.app-card.featured {
  border-color: rgba(7, 139, 196, 0.38);
  background: linear-gradient(180deg, #ffffff, #f1faff);
}

.app-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.app-kicker,
.badge {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.app-kicker {
  color: var(--brand-dark);
}

.badge {
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  color: #154150;
  background: #dff5fa;
}

.app-card p,
.benefits-grid p,
.cta p {
  color: var(--muted);
  line-height: 1.7;
}

.app-card ul {
  display: grid;
  gap: 0.55rem;
  margin: 0.6rem 0 1.4rem;
  padding-left: 1.1rem;
  color: #31424f;
  line-height: 1.55;
}

.card-link {
  margin-top: auto;
  color: var(--brand);
  font-weight: 850;
  text-decoration: none;
}

.benefits {
  border-top: 1px solid var(--line);
}

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

.benefits-grid div {
  padding: 1.4rem;
  border-left: 3px solid var(--accent);
  background: var(--surface-soft);
}

.benefits-grid span {
  display: block;
  margin-bottom: 1rem;
  color: var(--brand);
  font-weight: 900;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto 4rem;
  padding: clamp(1.5rem, 5vw, 2.5rem);
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(7, 88, 146, 0.96), rgba(7, 139, 196, 0.92)),
    var(--brand-dark);
}

.cta .eyebrow,
.cta p {
  color: rgba(255, 255, 255, 0.82);
}

.cta p {
  max-width: 680px;
  margin-bottom: 0;
}

.cta .button.primary {
  flex: 0 0 auto;
  color: var(--brand-dark);
  background: #ffffff;
  box-shadow: none;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem 1.25rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 34px;
  height: auto;
}

.site-footer a {
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
}

.site-version {
  color: #7b8992;
  font-size: 0.86rem;
}

@media (max-width: 880px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.7rem;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 0.75rem;
  }

  .shortcut-menu {
    left: 0;
    right: auto;
  }

  .hero,
  .intro,
  .apps-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 1.6rem;
  }

  .cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand img {
    width: min(260px, 82vw);
    height: 54px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  h1 {
    font-size: 2.45rem;
  }

  .button {
    width: 100%;
  }
}
