/* ============================================
   AcuGIS Connect product page
   Extends home.css tokens, buttons, footer, type
   ============================================ */

:root {
  --cn: #0f4c75;
  --cn-deep: #0a334f;
  --cn-soft: #eef4f8;
  --cn-line: #d5e3ee;
  --cn-teal: #1b7f8a;
}

.cn-hero .btn:focus-visible,
.cn-download .btn:focus-visible,
.cn-cta .btn:focus-visible {
  outline: 3px solid rgba(15, 76, 117, 0.45);
  outline-offset: 2px;
}

.cn-hero {
  padding: 64px 0 72px;
  background:
    radial-gradient(circle at 84% 16%, rgba(27, 127, 138, 0.14), transparent 36%),
    radial-gradient(circle at 10% 90%, rgba(21, 101, 192, 0.1), transparent 42%),
    linear-gradient(110deg, #eef4f8 0%, #f4f8fb 48%, #eef6f7 100%);
}

.cn-hero .eyebrow,
.cn-section-header .eyebrow,
.cn-split .eyebrow {
  color: var(--cn);
}

.cn-hero h1 {
  font-size: clamp(36px, 5vw, 52px);
  margin-bottom: 12px;
  max-width: 14em;
}

.cn-hero .hero-kicker {
  color: var(--cn-deep);
}

.cn-hero .btn-primary,
.cn-download .btn-primary {
  background: var(--cn);
}

.cn-hero .btn-primary:hover,
.cn-hero .btn-primary:focus,
.cn-download .btn-primary:hover,
.cn-download .btn-primary:focus {
  background: var(--cn-deep);
  color: var(--white);
}

.cn-hero .btn-outline {
  color: var(--cn-deep);
  border-color: var(--cn);
}

.cn-hero .btn-outline:hover,
.cn-hero .btn-outline:focus {
  background: var(--cn-soft);
  color: var(--cn-deep);
}

.cn-hero .container {
  width: min(1360px, calc(100% - 48px));
}

.cn-hero .hero-grid {
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 1.3fr);
  gap: 32px;
}

.cn-hero-image {
  display: block;
  width: 100%;
  height: auto;
}

.cn-shot {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.cn-shot img {
  width: 100%;
  height: auto;
  display: block;
}

.cn-shot--below {
  margin: 40px auto 0;
}

.cn-shot figcaption {
  padding: 10px 14px 12px;
  font-size: 12px;
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.showcase-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.35rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.showcase-more:hover,
.showcase-more:focus {
  color: #1976d2;
}

.showcase-more:focus-visible {
  outline: 3px solid rgba(15, 76, 117, 0.45);
  outline-offset: 3px;
}

.showcase-more .material-icons {
  font-size: 1.05rem;
  line-height: 1;
  width: 1em;
  height: 1em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cn-section {
  padding: 80px 0;
}

.cn-section--soft {
  background: var(--cn-soft);
}

.cn-section--alt {
  background: var(--soft);
}

.cn-section-header {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.cn-section-header h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  margin-bottom: 12px;
}

.cn-section-header p {
  color: var(--muted);
  font-size: 17px;
}

.cn-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.cn-card,
.cn-panel,
.cn-download,
.cn-step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.cn-card {
  padding: 24px 22px;
}

.cn-card h3,
.cn-panel h3,
.cn-download h3,
.cn-step h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.cn-card p,
.cn-step p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
}

.cn-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
}

.cn-split--reverse > :first-child {
  order: 2;
}

.cn-panel {
  padding: 28px 26px;
}

.cn-copy-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.cn-split .body-copy + .cn-copy-list,
.cn-panel .cn-copy-list {
  margin-top: 0;
}

.cn-panel .cn-copy-list {
  margin-top: 4px;
}

.cn-copy-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.45;
}

.cn-copy-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--cn-teal);
  flex-shrink: 0;
}

.cn-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cn-step {
  padding: 24px 22px;
}

.cn-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--cn-soft);
  color: var(--cn);
  font-size: 14px;
  font-weight: 800;
}

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

.cn-download {
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
}

.cn-download .cn-copy-list {
  flex: 1;
  margin-bottom: 22px;
}

.cn-download .btn {
  width: 100%;
}

.cn-download-file {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  overflow-wrap: anywhere;
}

.cn-cta.cta {
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(27, 127, 138, 0.28), transparent 55%),
    linear-gradient(135deg, #071e33 0%, #0a334f 48%, #0f4c75 100%);
}

@media (max-width: 1100px) {
  .cn-hero .container {
    width: min(var(--max), calc(100% - 48px));
  }

  .cn-card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cn-split,
  .cn-split--reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cn-split--reverse > :first-child {
    order: 0;
  }
}

@media (max-width: 900px) {
  .cn-hero .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 720px) {
  .cn-hero .container {
    width: calc(100% - 32px);
  }

  .cn-hero,
  .cn-section {
    padding: 48px 0;
  }

  .cn-hero h1 {
    font-size: 32px;
  }

  .cn-card-grid,
  .cn-steps,
  .cn-downloads {
    grid-template-columns: 1fr;
  }

}
