/* cobnet marketing — navy / cyan / red from brand mark */
:root {
  --navy: #0b1f3a;
  --navy-deep: #061428;
  --navy-mid: #143a66;
  --cyan: #5ac8e6;
  --cyan-soft: rgba(90, 200, 230, 0.14);
  --red: #e8334a;
  --ink: #0e1a2b;
  --muted: #5a6b80;
  --paper: #f3f6fa;
  --paper-2: #e8eef5;
  --line: rgba(11, 31, 58, 0.12);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy-mid);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--red);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: #fff;
  color: var(--navy);
  padding: 0.5rem 0.75rem;
  z-index: 100;
  border-radius: 4px;
}

.skip-link:focus {
  top: 1rem;
}

/* —— Header —— */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
  pointer-events: none;
}

.site-header a {
  pointer-events: auto;
}

.brand-lockup img {
  height: 36px;
  width: auto;
}

.header-cta {
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  padding-bottom: 0.1rem;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.header-cta:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

/* —— Hero (full-bleed) —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(155deg, var(--navy-deep) 0%, var(--navy) 48%, #0f3158 100%);
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(90, 200, 230, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 200, 230, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  animation: grid-drift 28s linear infinite;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hero-glow--cyan {
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  right: -8%;
  top: 12%;
  background: rgba(90, 200, 230, 0.22);
  animation: glow-breathe 7s ease-in-out infinite;
}

.hero-glow--navy {
  width: min(40vw, 380px);
  height: min(40vw, 380px);
  left: -5%;
  bottom: 10%;
  background: rgba(232, 51, 74, 0.12);
}

.hero-nodes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

.node-dots .pulse {
  transform-origin: center;
  animation: node-pulse 3.2s ease-in-out infinite;
}

.node-dots .delay-1 { animation-delay: 0.4s; }
.node-dots .delay-2 { animation-delay: 0.9s; }
.node-dots .delay-3 { animation-delay: 1.4s; }

.hero-copy {
  position: relative;
  z-index: 2;
  padding: clamp(5.5rem, 14vh, 8rem) clamp(1.25rem, 4vw, 3rem) 2rem;
  max-width: 40rem;
  animation: hero-rise 0.9s var(--ease) both;
}

.hero-logo {
  width: min(280px, 72vw);
  height: auto;
  margin-bottom: 1.75rem;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.25));
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 750;
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  max-width: 18ch;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.5;
  color: rgba(232, 240, 248, 0.88);
  max-width: 36ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.45rem;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 28px rgba(232, 51, 74, 0.28);
}

.btn-primary:hover {
  background: #d0253b;
  color: #fff;
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: min(42vh, 380px);
  animation: hero-rise 1s 0.15s var(--ease) both;
}

.media-slot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(11, 31, 58, 0.15), rgba(11, 31, 58, 0.45)),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 10px,
      rgba(90, 200, 230, 0.05) 10px,
      rgba(90, 200, 230, 0.05) 20px
    );
  border: 1px dashed rgba(90, 200, 230, 0.35);
  color: rgba(232, 240, 248, 0.75);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.media-slot--hero {
  min-height: inherit;
  height: 100%;
  border-left: none;
  border-right: none;
  border-bottom: none;
  background:
    linear-gradient(180deg, transparent 0%, rgba(6, 20, 40, 0.55) 100%),
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(90, 200, 230, 0.12), transparent 70%),
    linear-gradient(155deg, #0d2748, #0b1f3a);
}

.media-slot-label {
  font-weight: 600;
  color: var(--cyan);
}

.media-slot-hint {
  opacity: 0.7;
  font-size: 0.8rem;
}

.media-slot-fallback {
  margin-top: 1rem;
  opacity: 0.35;
  width: 88px;
  height: auto;
}

/* When real images are dropped in, hide placeholder chrome via [data-filled] */
.media-slot[data-filled] {
  border: none;
  background: transparent;
  padding: 0;
}

.media-slot[data-filled] .media-slot-label,
.media-slot[data-filled] .media-slot-hint,
.media-slot[data-filled] .media-slot-fallback {
  display: none;
}

.media-slot[data-filled] img.media-real {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* —— Sections —— */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 4vw, 3rem);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-inner.narrow {
  max-width: 40rem;
}

.section-intro {
  background: var(--paper);
}

.section-intro h2,
.section-head h2,
.section-cta h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.85rem;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  color: var(--navy);
}

.section-intro p,
.section-head p,
.section-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.section-head {
  margin-bottom: clamp(2rem, 5vw, 3rem);
  max-width: 28rem;
}

.section-features {
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 6vw, 4rem);
}

.feature {
  display: grid;
  gap: 1.5rem 2.5rem;
  align-items: center;
}

@media (min-width: 800px) {
  .feature {
    grid-template-columns: 1fr 1.05fr;
  }

  .feature--flip .feature-text {
    order: 2;
  }

  .feature--flip .media-slot {
    order: 1;
  }
}

.feature-text h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--navy);
}

.feature-text p {
  margin: 0;
  color: var(--muted);
  max-width: 36ch;
}

.media-slot--feature {
  min-height: 220px;
  border-radius: 4px;
  border-color: rgba(11, 31, 58, 0.18);
  color: var(--muted);
  background:
    linear-gradient(145deg, #dce6f2, #f0f4f9),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 10px,
      rgba(11, 31, 58, 0.03) 10px,
      rgba(11, 31, 58, 0.03) 20px
    );
}

.media-slot--feature .media-slot-label {
  color: var(--navy-mid);
}

.section-cta {
  background: #fff;
  text-align: center;
  border-top: 1px solid var(--line);
}

.section-cta .section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-mark {
  margin-bottom: 1.25rem;
}

.section-cta p {
  margin-bottom: 1.5rem;
  max-width: 32ch;
}

/* —— Footer —— */
.site-footer {
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 2.5rem;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-inner img {
  height: 28px;
  width: auto;
}

.footer-inner p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-inner a {
  text-decoration: none;
  font-weight: 500;
}

/* —— Motion: scroll reveal —— */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.site-header[data-reveal] {
  transition-delay: 0.05s;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .hero-copy,
  .hero-visual,
  [data-reveal] {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero-grid,
  .hero-glow--cyan,
  .node-dots .pulse {
    animation: none !important;
  }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes node-pulse {
  0%, 100% {
    opacity: 0.55;
    r: 4;
  }
  50% {
    opacity: 1;
  }
}

@keyframes glow-breathe {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes grid-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-48px, -48px, 0); }
}

@media (max-width: 600px) {
  .hero-copy {
    padding-top: 5.25rem;
  }

  .hero h1 {
    max-width: none;
  }

  .brand-lockup img {
    height: 30px;
  }
}
