:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #5a6978;
  --line: #d9e3ea;
  --soft: #f4f8fb;
  --paper: #ffffff;
  --green: #2fbf7b;
  --cyan: #00a8c8;
  --blue: #2f6fed;
  --navy: #20354a;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
}

.site-header,
.site-footer,
main > section {
  padding-inline: clamp(20px, 5vw, 72px);
}

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 800;
}

.brand img {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.top-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 6px;
  text-decoration: none;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  background: var(--soft);
  color: var(--ink);
}

.hero {
  min-height: calc(100svh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  padding-top: 56px;
  padding-bottom: 64px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 56%, rgba(244, 248, 251, 0.98) 100%),
    url("/assets/comunexo-logo.svg") right 8vw center / min(52vw, 520px) no-repeat;
}

.hero-copy {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #096a79;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.96;
  font-weight: 850;
}

.hero-text {
  max-width: 700px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 18px;
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 30px rgba(47, 111, 237, 0.2);
}

.button.secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--navy);
}

.button:hover,
.button:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  transform: translateY(-1px);
}

.product-signal {
  width: min(100%, 560px);
  margin: 0;
  justify-self: end;
  border: 1px solid rgba(23, 33, 43, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 28px 80px rgba(33, 52, 74, 0.16);
  overflow: hidden;
}

.signal-top {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  background: #edf5f8;
  border-bottom: 1px solid var(--line);
}

.signal-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.signal-top span:nth-child(2) {
  background: var(--cyan);
}

.signal-top span:nth-child(3) {
  background: var(--blue);
}

.signal-body {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.signal-column {
  min-height: 122px;
  padding: 22px;
  background: #fff;
}

.signal-column strong,
.limits strong,
.site-footer span {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 850;
}

.signal-column p {
  margin-bottom: 8px;
  font-size: 24px;
  font-weight: 800;
}

.signal-column small {
  color: var(--muted);
  font-weight: 700;
}

.signal-column.accent {
  border-left: 5px solid var(--green);
}

.audiences,
.how,
.contact {
  padding-top: 72px;
  padding-bottom: 72px;
}

.audiences {
  background: var(--soft);
}

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

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.audience-grid,
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.audience-grid article,
.how-grid div {
  min-height: 240px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.audience-grid span {
  display: inline-flex;
  margin-bottom: 28px;
  color: #096a79;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.2;
}

.audience-grid p,
.how-grid p,
.contact p,
.limits p {
  color: var(--muted);
  line-height: 1.6;
}

.how {
  background: #fff;
}

.limits {
  margin-top: 18px;
  padding: 22px 24px;
  border-left: 5px solid var(--cyan);
  background: #edf8fb;
}

.limits p {
  max-width: 980px;
  margin-bottom: 0;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  background: var(--navy);
  color: #fff;
}

.contact p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
}

.contact .eyebrow {
  color: #8de4c1;
}

.contact .button.primary {
  background: #fff;
  color: var(--navy);
  box-shadow: none;
}

.text-link {
  color: #aeefff;
  font-weight: 800;
  text-decoration: none;
}

.site-footer {
  min-height: 84px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer span {
  margin: 0 auto 0 0;
  color: var(--ink);
}

.site-footer a {
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .top-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 42px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 100%),
      url("/assets/comunexo-logo.svg") right -60px top 32px / 260px no-repeat;
  }

  h1 {
    font-size: 44px;
  }

  .hero-text {
    font-size: 18px;
  }

  .product-signal {
    justify-self: stretch;
  }

  .audience-grid,
  .how-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .audience-grid article,
  .how-grid div {
    min-height: auto;
  }
}
