/* ============================================
   Cogent Cloud - Static Website Styles
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --red: #E11829;
  --red-dark: #c0121f;
  --dark: #1a1a2e;
  --dark-gray: #3D3D3D;
  --medium-gray: #555;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --overlay: rgba(30, 30, 50, 0.75);
  --font-primary: 'Fira Sans', 'Segoe UI', sans-serif;
  --transition: 0.3s ease;
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--dark-gray);
  line-height: 1.7;
  overflow-x: hidden;
  background: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul { list-style: none; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); }
h4 { font-size: 1.2rem; }

p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-primary:hover {
  background: var(--white);
  color: var(--red);
  border-color: var(--red);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--red);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}

.btn-outline-dark:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}

.btn-white:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ---------- Header / Navigation ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  transition: all var(--transition);
  background: transparent;
}

.header.scrolled {
  background: rgba(26, 26, 46, 0.97);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
  backdrop-filter: blur(10px);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  flex-shrink: 0;
}

.logo img {
  height: 45px;
  width: auto;
  max-width: none;
}

/* ---------- Site navigation (super nav) ---------- */
/* Solid header whenever a menu is open, so panels never sit on a busy hero */
.header.menu-open {
  background: rgba(26, 26, 46, 0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-trigger,
.nav-top-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-family: inherit;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: 4px;
  background: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.nav-trigger i {
  font-size: 0.7rem;
  transition: transform var(--transition);
}

.nav-trigger:hover,
.nav-top-link:hover,
.nav-trigger.active,
.nav-top-link.active,
.nav-item.open > .nav-trigger {
  color: var(--red);
  background: rgba(255,255,255,0.1);
}

.nav-item.open > .nav-trigger i {
  transform: rotate(180deg);
}

.nav-trigger:focus-visible,
.nav-top-link:focus-visible,
.mega-link:focus-visible,
.mega-footer:focus-visible,
.mega-aside:focus-visible,
.hamburger:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-actions a {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 6px;
  transition: all var(--transition);
}

/* "Log In" ghost link — pairs with the "Start Free" button */
.nav-login {
  border: 1.5px solid rgba(255,255,255,0.45);
  padding: 9px 18px;
}

.nav-login:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.12);
}

.btn-nav {
  background: var(--red);
  padding: 10px 24px;
}

.btn-nav:hover {
  background: var(--white);
  color: var(--red) !important;
}

/* Mega panels hang from the header, centered on the page */
.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  width: min(760px, calc(100vw - 32px));
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
  border: 1px solid #e0e0e0;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1002;
}

/* Invisible bridge across the gap between the trigger and the panel */
.mega::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -24px;
  height: 24px;
}

.nav-item.open > .mega {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.mega-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  padding: 24px;
}

.mega-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mega-col-feature {
  background: var(--light-gray);
  border-radius: 8px;
  padding: 12px;
  margin: -12px;
}

.mega-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--medium-gray);
  padding: 0 12px 8px;
}

.mega-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--dark);
  transition: background var(--transition);
}

.mega-link i {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(225, 24, 41, 0.08);
  color: var(--red);
  font-size: 0.9rem;
}

.mega-link span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mega-link strong {
  font-size: 0.92rem;
  font-weight: 600;
}

.mega-link small {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--medium-gray);
}

.mega-aside {
  margin-top: auto;
  padding: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red);
}

.mega-aside:hover {
  color: var(--red-dark);
}

/* A segment page nested under its parent audience */
.mega-sublink {
  margin-left: 44px;
  padding-top: 4px;
}

.mega-link:hover,
.mega-link.active {
  background: rgba(225, 24, 41, 0.06);
}

.mega-link:hover strong,
.mega-link.active strong {
  color: var(--red);
}

.mega-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 36px;
  border-top: 1px solid #eee;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--red);
  border-radius: 0 0 10px 10px;
}

.mega-footer:hover,
.mega-footer.active {
  background: rgba(225, 24, 41, 0.04);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
  background: none;
  border: none;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--white);
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(61, 61, 61, 0.7) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 35px;
  opacity: 0.95;
  line-height: 1.8;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-reassure {
  margin-top: 22px;
  font-size: 0.9rem !important;
  letter-spacing: 0.3px;
  opacity: 0.8 !important;
  color: var(--white);
}

/* Page hero (for subpages) */
.page-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--white);
}

.page-hero .hero-content {
  max-width: 900px;
}

.page-hero .hero-content p {
  max-width: 750px;
}

/* ---------- Section Styles ---------- */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--dark);
  color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-gray {
  background: var(--light-gray);
}

.section-red {
  background: var(--red);
  color: var(--white);
}

.section-red h2,
.section-red h3 {
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 60px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  color: var(--medium-gray);
  font-size: 1.1rem;
}

.section-dark .section-header p {
  color: rgba(255,255,255,0.8);
}

/* ---------- Two-Column Layout ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.two-col.reverse .col-text {
  order: -1;
}

.col-image img {
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.col-text h2 {
  margin-bottom: 20px;
}

.col-text p {
  margin-bottom: 16px;
  color: var(--medium-gray);
}

.section-dark .col-text p {
  color: rgba(255,255,255,0.8);
}

/* ---------- Feature Cards ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--white);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.feature-card .icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card .icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-card .icon i {
  font-size: 2.5rem;
  color: var(--red);
}

.feature-card h4 {
  margin-bottom: 12px;
  color: var(--dark);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--medium-gray);
}

/* Dark feature cards */
.section-dark .feature-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
}

.section-dark .feature-card h4 {
  color: var(--white);
}

.section-dark .feature-card p {
  color: rgba(255,255,255,0.7);
}

/* ---------- Problem / Pain Points ---------- */
.pain-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.pain-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  border-left: 3px solid var(--red);
}

.pain-point .icon-x {
  color: var(--red);
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.pain-point p {
  margin: 0;
  font-size: 0.95rem;
}

/* ---------- Stats ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
  padding: 40px 0;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--red);
  margin-bottom: 8px;
}

.stat-item p {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ---------- Products Grid ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.product-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  transition: all var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.product-card .product-logo {
  height: 50px;
  margin: 0 auto 20px;
  object-fit: contain;
}

.product-card h4 {
  color: var(--white);
  margin-bottom: 4px;
  font-size: 1.3rem;
}

/* Brand name, subordinate to the function shown in the h4 above it */
.product-card .product-brand {
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.product-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.product-card .btn {
  font-size: 0.85rem;
  padding: 10px 24px;
}

/* ---------- Approach / Philosophy ---------- */
.approach-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.approach-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(225, 24, 41, 0.1);
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--red);
}

.section-dark .approach-item {
  background: rgba(225, 24, 41, 0.2);
  color: #ff6b7a;
}

.approach-item::before {
  content: "✓";
  font-weight: 700;
}

/* ---------- CTA Section ---------- */
.cta-section {
  padding: 80px 0;
  text-align: center;
  background: var(--red);
  color: var(--white);
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
}

/* ---------- Contact Form ---------- */
.contact-section {
  padding: 100px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2 {
  margin-bottom: 20px;
}

.contact-info p {
  color: var(--medium-gray);
  margin-bottom: 30px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-detail .icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(225, 24, 41, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--red);
  font-size: 1.2rem;
}

.social-links {
  display: flex;
  gap: 14px;
  margin-top: 30px;
}

.social-links a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  font-size: 1.1rem;
}

.social-links a:hover {
  background: var(--red);
  transform: translateY(-3px);
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition);
  background: var(--light-gray);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  background: var(--white);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ---------- Checklist ---------- */
.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 1rem;
}

.checklist li::before {
  content: "✕";
  color: var(--red);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.checklist.check li::before {
  content: "✓";
  color: #22c55e;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 40px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer h5 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links a {
  display: block;
  padding: 4px 0;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--red);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.85rem;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.footer-bottom-links a:hover {
  color: var(--red);
}

.footer .social-links a {
  background: rgba(255,255,255,0.1);
  width: 38px;
  height: 38px;
}

/* ---------- News Grid ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  transition: all var(--transition);
  box-shadow: var(--shadow);
}

.news-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
  border-color: transparent;
}

.news-card-image {
  height: 200px;
  overflow: hidden;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.news-card:hover .news-card-image img {
  transform: scale(1.05);
}

.news-card-content {
  padding: 24px;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.news-card-date {
  font-size: 0.78rem;
  color: var(--medium-gray);
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-card-category {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--red);
  background: rgba(225, 24, 41, 0.08);
  padding: 3px 10px;
  border-radius: 50px;
}

.news-card-content h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.news-card-content h3 a {
  color: var(--dark);
  transition: color var(--transition);
}

.news-card-content h3 a:hover {
  color: var(--red);
}

.news-card-content > p {
  font-size: 0.88rem;
  color: var(--medium-gray);
  line-height: 1.7;
  margin-bottom: 14px;
}

.card-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}

.card-link:hover {
  gap: 10px;
}

/* ---------- Page Hero (News) ---------- */
.page-hero-news {
  padding: 140px 20px 60px;
  background: linear-gradient(135deg, var(--dark) 0%, #2a2a4e 100%);
  color: var(--white);
}

.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.6);
}

.breadcrumb a {
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb span {
  margin: 0 6px;
}

.page-hero-news h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}

.page-hero-news p {
  color: rgba(255,255,255,0.8);
  max-width: 700px;
  font-size: 1.1rem;
}

/* ---------- Article Page ---------- */
.article-hero {
  padding: 140px 20px 50px;
  background: linear-gradient(135deg, var(--dark) 0%, #2a2a4e 100%);
  color: var(--white);
}

.article-breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.6);
}

.article-breadcrumb a {
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.article-breadcrumb a:hover {
  color: var(--white);
}

.article-breadcrumb span {
  margin: 0 6px;
}

.article-hero h1 {
  color: var(--white);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  max-width: 800px;
  margin-bottom: 20px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-body {
  padding: 60px 0;
}

.article-body .container {
  max-width: 800px;
}

.article-featured-img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}

.article-body h2 {
  font-size: 1.4rem;
  margin-top: 36px;
  margin-bottom: 14px;
  color: var(--dark);
}

.article-body h3 {
  font-size: 1.15rem;
  margin-top: 28px;
  margin-bottom: 10px;
}

.article-body p {
  margin-bottom: 18px;
  line-height: 1.85;
}

.article-body ul,
.article-body ol {
  margin-bottom: 18px;
  padding-left: 24px;
  list-style: disc;
}

.article-body ol {
  list-style: decimal;
}

.article-body ul li,
.article-body ol li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.article-body blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--red);
  background: var(--light-gray);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--dark-gray);
}

.article-body blockquote p {
  margin-bottom: 0;
}

.article-table-wrap {
  overflow-x: auto;
  margin: 28px 0;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.article-table th,
.article-table td {
  padding: 12px 16px;
  text-align: left;
  border: 1px solid #e0e0e0;
}

.article-table thead th {
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-primary);
  font-weight: 600;
}

.article-cta {
  margin-top: 48px;
  padding: 36px;
  background: var(--light-gray);
  border-radius: 12px;
  border-left: 4px solid var(--red);
  text-align: center;
}

.article-cta h3 {
  margin-bottom: 12px;
  margin-top: 0;
}

.article-cta p {
  margin-bottom: 20px;
  color: var(--medium-gray);
}

.article-nav {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.article-nav a {
  font-size: 0.9rem;
  color: var(--red);
  font-weight: 500;
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-nav a:hover {
  color: var(--red-dark);
}

/* ---------- Products Hub ---------- */
.page-hero-products {
  background: linear-gradient(135deg, var(--dark) 0%, #2d1a3e 100%);
  padding: 160px 20px 80px;
  text-align: center;
}

.page-hero-products h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #ffffff;
}

.page-hero-products p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  max-width: 700px;
  margin: 0 auto;
}

.product-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.product-cards .product-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-cards .product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.product-card-icon {
  padding: 40px 30px 20px;
  text-align: center;
}

.product-card-icon i {
  font-size: 3rem;
  color: var(--red);
}

.product-card-content {
  padding: 0 30px 30px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-content h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.product-card-content p {
  color: var(--medium-gray);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

.product-card-content .btn {
  align-self: center;
}

/* Product detail page hero */
.product-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #2d1a3e 100%);
  padding: 160px 20px 80px;
  text-align: center;
}

.product-hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #ffffff;
}

.product-hero .product-subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.8);
  max-width: 700px;
  margin: 0 auto 30px;
}

.product-hero .hero-buttons {
  justify-content: center;
}

/* Product feature grid */
.product-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.product-feature {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.product-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-feature i {
  font-size: 2rem;
  color: var(--red);
  margin-bottom: 16px;
}

.product-feature h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.product-feature p {
  color: var(--medium-gray);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* App store badges */
.app-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 24px;
}

.app-badges a img {
  height: 50px;
  width: auto;
  transition: transform 0.3s ease;
}

.app-badges a:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .product-cards {
    grid-template-columns: 1fr;
  }

  .product-hero h1,
  .page-hero-products h1 {
    font-size: 2rem;
  }

  .app-badges {
    flex-direction: column;
    align-items: center;
  }
}

/* ---------- Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
  background: var(--dark-gray);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--red);
}

/* ---------- Responsive ---------- */
/* ---------- Site navigation: mobile (full-screen accordion) ---------- */
@media (max-width: 960px) {
  .hamburger {
    display: flex;
  }

  .logo {
    position: relative;
    z-index: 1001;
  }

  /* backdrop-filter would make the header the containing block for the fixed menu */
  .header.menu-open {
    backdrop-filter: none;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    height: 100vh;
    height: 100dvh;
    padding: 88px 16px 24px;
    background: var(--dark);
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  .site-nav.open {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .nav-trigger,
  .nav-top-link {
    width: 100%;
    justify-content: space-between;
    font-size: 1.15rem;
    font-weight: 600;
    padding: 18px 4px;
    border-radius: 0;
  }

  .nav-trigger:hover,
  .nav-top-link:hover,
  .nav-trigger.active,
  .nav-top-link.active,
  .nav-item.open > .nav-trigger {
    background: none;
  }

  .mega,
  .nav-item.open > .mega {
    position: static;
    width: auto;
    transform: none;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    display: none;
    transition: none;
  }

  .nav-item.open > .mega {
    display: block;
    padding-bottom: 12px;
  }

  .mega::before {
    display: none;
  }

  .mega-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0;
  }

  .mega-col-feature {
    background: none;
    padding: 0;
    margin: 0;
  }

  .mega-heading {
    color: rgba(255,255,255,0.45);
    padding: 0 4px 4px;
  }

  /* Titles only on mobile: descriptions and icons make the list too long */
  .mega-link {
    color: rgba(255,255,255,0.85);
    padding: 10px 4px;
  }

  .mega-link i,
  .mega-link small,
  .mega-aside {
    display: none;
  }

  .mega-link strong {
    font-size: 1rem;
    font-weight: 500;
  }

  .mega-sublink {
    margin-left: 16px;
    padding-top: 10px;
  }

  .mega-link:hover,
  .mega-link.active {
    background: none;
  }

  .mega-footer {
    justify-content: flex-start;
    gap: 8px;
    padding: 10px 4px;
    border-top: none;
    border-radius: 0;
  }

  .mega-footer:hover,
  .mega-footer.active {
    background: none;
  }

  .nav-actions {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 12px;
    margin-top: auto;
  }

  .nav-actions a {
    text-align: center;
    padding: 14px 24px;
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mega,
  .site-nav,
  .nav-trigger i {
    transition: none;
  }
}

@media (max-width: 1024px) {
  .two-col {
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .two-col.reverse .col-text {
    order: 0;
  }

  .section {
    padding: 60px 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: 60vh;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-news {
    padding: 120px 20px 40px;
  }

  .article-hero {
    padding: 120px 20px 40px;
  }

  .article-hero h1 {
    font-size: 1.6rem;
  }

  .article-nav {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }
}

/* Cogent Connect - Platform Architecture diagram */
.connect-architecture {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 480px;
  margin: 0 auto;
}

.arch-node {
  width: 100%;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 24px 20px;
}

.arch-node i {
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 10px;
}

.arch-node h4 {
  color: #fff;
  font-size: 1.15rem;
  margin: 0 0 4px;
}

.arch-node p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  margin: 0;
}

.arch-node-accent {
  background: rgba(225, 24, 41, 0.12);
  border-color: rgba(225, 24, 41, 0.5);
}

.arch-node-accent i {
  color: var(--red);
}

.arch-arrow {
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.2rem;
  padding: 12px 0;
}

/* ============================================
   Cogent Inspect - Charcoal Black Theme
   Scoped to .inspect-page (matches the app UI)
   ============================================ */
.inspect-page {
  --ink: #0b0b0c;
  --ink-2: #111113;
  --panel: #161618;
  --panel-2: #1d1d20;
  --hairline: rgba(255, 255, 255, 0.08);
  --txt-dim: rgba(255, 255, 255, 0.62);
  --green: #22c55e;
  background: var(--ink);
}

/* Hero — pure charcoal with a subtle red ember glow */
.inspect-page .product-hero {
  background:
    radial-gradient(900px 500px at 50% -10%, rgba(225, 24, 41, 0.18) 0%, rgba(225, 24, 41, 0) 60%),
    linear-gradient(180deg, #0e0e10 0%, #050506 100%);
  border-bottom: 1px solid var(--hairline);
}

.inspect-page .inspect-logo {
  height: 56px;
  width: auto;
  margin: 0 auto 28px;
  display: block;
}

.inspect-page .product-hero .breadcrumb,
.inspect-page .product-hero .breadcrumb a { color: rgba(255,255,255,0.5); }
.inspect-page .product-hero .breadcrumb a:hover { color: #fff; }

/* Section backgrounds — alternating charcoal shades, all dark */
.inspect-page .section { background: var(--ink); }
.inspect-page .section-light { background: var(--ink-2); }
.inspect-page .section-dark { background: #060607; }

.inspect-page .section h2,
.inspect-page .section-light h2,
.inspect-page .section-dark h2,
.inspect-page .section h3,
.inspect-page .section-light h3 { color: #fff; }

.inspect-page .section > .container > p,
.inspect-page .section-light > .container > p { color: var(--txt-dim) !important; }

.inspect-page .col-text h2,
.inspect-page .device-text h2 { color: #fff; }
.inspect-page .col-text p,
.inspect-page .device-text p { color: var(--txt-dim); }

/* Feature cards — dark charcoal panels with hairline borders */
.inspect-page .product-feature {
  background: var(--panel);
  border: 1px solid var(--hairline);
  box-shadow: none;
}

.inspect-page .product-feature:hover {
  background: var(--panel-2);
  border-color: rgba(225, 24, 41, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.inspect-page .product-feature h3 { color: #fff; }
.inspect-page .product-feature p { color: var(--txt-dim); }

/* Device showcase */
.inspect-page .device-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.inspect-page .device-row .device-frame { justify-self: center; }

.inspect-page .device-frame {
  position: relative;
  display: inline-block;
}

.inspect-page .device-frame img {
  max-width: 300px;
  width: 100%;
  border-radius: 26px;
  border: 1px solid var(--hairline);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}

.inspect-page .device-frame.ipad img { max-width: 560px; border-radius: 14px; }

.inspect-page .device-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.inspect-page .device-text ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.inspect-page .device-text li {
  color: var(--txt-dim);
  margin-bottom: 12px;
  padding-left: 6px;
}

.inspect-page .device-text li i { color: var(--red); margin-right: 10px; }

/* Gallery strip for iPad screens */
.inspect-page .device-gallery {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 10px 4px 24px;
  scroll-snap-type: x mandatory;
}

.inspect-page .device-gallery .device-frame {
  flex: 0 0 auto;
  scroll-snap-align: center;
}

.inspect-page .device-gallery img { max-width: 380px; }

/* "Who it's for" pills */
.inspect-page .audience-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 30px;
}

.inspect-page .audience-pills span {
  background: var(--panel);
  border: 1px solid var(--hairline);
  color: rgba(255, 255, 255, 0.85);
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
}

/* CTA — charcoal, not navy */
.inspect-page .cta-section {
  background:
    radial-gradient(700px 360px at 50% 120%, rgba(225, 24, 41, 0.2) 0%, rgba(225, 24, 41, 0) 60%),
    linear-gradient(180deg, #0c0c0e 0%, #050506 100%);
  border-top: 1px solid var(--hairline);
}

@media (max-width: 768px) {
  .inspect-page .device-row { grid-template-columns: 1fr; gap: 36px; }
  .inspect-page .device-row.reverse .device-text { order: 2; }
}

/* ============================================
   Products Suite Page (redesign)
   ============================================ */
.products-suite { --psuite-radius: 16px; overflow-x: clip; }

/* ----- Hero ----- */
.products-suite .psuite-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 22% 18%, #2d1a3e 0%, var(--dark) 58%);
  padding: 175px 20px 90px;
  text-align: center;
  color: #fff;
}
.products-suite .psuite-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(620px circle at 78% 12%, rgba(225, 24, 41, 0.28), transparent 60%),
    radial-gradient(520px circle at 12% 88%, rgba(124, 58, 237, 0.22), transparent 62%);
  pointer-events: none;
}
.products-suite .psuite-hero .container { position: relative; z-index: 1; }
.products-suite .psuite-hero .breadcrumb { justify-content: center; margin-bottom: 22px; }

.psuite-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.products-suite .psuite-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: #fff;
  max-width: 920px;
  margin: 0 auto 18px;
}
.products-suite .psuite-hero h1 span { color: var(--red); }

.products-suite .psuite-sub {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 740px;
  margin: 0 auto 34px;
}

.psuite-hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 58px;
}

.psuite-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 42px;
}
.psuite-stat-num {
  display: block;
  font-size: 2.1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
}
.psuite-stat-label {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 8px;
}

/* ----- Flagship card ----- */
.psuite-flagship {
  position: relative;
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  border-radius: var(--psuite-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 36px;
}
.psuite-flagship::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), #ff5a67);
  z-index: 2;
}
.psuite-flagship-body { padding: 50px 50px; }
.psuite-flagship-body .psuite-tag { margin-bottom: 18px; display: inline-block; }
.psuite-flagship-body h3 { font-size: 1.9rem; margin-bottom: 10px; color: var(--dark); }
.psuite-flagship-visual {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--dark), #2d1a3e);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}
.psuite-flagship-visual::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 24, 41, 0.45), transparent 70%);
}
.psuite-flagship-visual i {
  position: relative;
  z-index: 1;
  font-size: 7rem;
  color: rgba(255, 255, 255, 0.92);
}

/* ----- Product grid ----- */
.psuite-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.psuite-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--psuite-radius);
  padding: 34px 30px 30px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.psuite-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent, var(--red));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.psuite-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.13);
  border-color: transparent;
}
.psuite-card:hover::before { transform: scaleX(1); }

.psuite-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.psuite-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--accent, var(--red));
  background: color-mix(in srgb, var(--accent, var(--red)) 12%, #fff);
}
.psuite-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent, var(--red));
  background: color-mix(in srgb, var(--accent, var(--red)) 10%, #fff);
  padding: 6px 12px;
  border-radius: 999px;
}
.psuite-card h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: var(--dark);
}
.psuite-tagline {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
}
.psuite-desc {
  color: var(--medium-gray);
  line-height: 1.7;
  font-size: 0.96rem;
  margin-bottom: 22px;
}
.psuite-benefits {
  margin: 0 0 26px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.psuite-benefits-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 24px;
}
.psuite-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  line-height: 1.5;
  color: var(--dark-gray);
}
.psuite-benefits i {
  color: var(--accent, var(--red));
  font-size: 0.82rem;
  margin-top: 5px;
  flex-shrink: 0;
}
.psuite-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--accent, var(--red));
}
.psuite-link i { transition: transform 0.3s ease; }
.psuite-link:hover i { transform: translateX(5px); }

/* ----- Platform feature list (dark section) ----- */
.psuite-platform-features {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.psuite-pfeature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 24px;
  transition: background 0.3s ease, transform 0.3s ease;
}
.psuite-pfeature:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(6px);
}
.psuite-pfeature i {
  font-size: 1.5rem;
  color: var(--red);
  margin-top: 4px;
  flex-shrink: 0;
}
.psuite-pfeature h3 { color: #fff; font-size: 1.15rem; margin-bottom: 6px; }
.psuite-pfeature p { color: rgba(255, 255, 255, 0.72); font-size: 0.95rem; margin: 0; }

/* ----- Responsive ----- */
@media (max-width: 992px) {
  .psuite-grid { grid-template-columns: repeat(2, 1fr); }
  .psuite-flagship { grid-template-columns: 1fr; }
  .psuite-flagship-visual { min-height: 200px; order: -1; }
}
@media (max-width: 768px) {
  .products-suite .psuite-hero { padding: 140px 20px 70px; }
  .psuite-grid { grid-template-columns: 1fr; }
  .psuite-stats { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
  .psuite-stat-num { font-size: 1.8rem; }
  .psuite-flagship-body { padding: 36px 26px; }
  .psuite-benefits-2col { grid-template-columns: 1fr; }
}

/* ---------- Legal Pages (Privacy / Terms) ---------- */
.legal-hero-sub {
  color: rgba(255,255,255,0.8);
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.legal-body .container {
  max-width: 860px;
}

.legal-body h2 {
  scroll-margin-top: 100px;
  padding-top: 8px;
  border-top: 1px solid #e6e6e6;
  margin-top: 44px;
}

.legal-body p,
.legal-body li {
  color: var(--medium-gray);
}

.legal-body strong {
  color: var(--dark);
}

.legal-body a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-body a:hover {
  color: var(--red-dark);
}

.legal-toc {
  background: var(--light-gray);
  border-left: 4px solid var(--red);
  border-radius: 0 8px 8px 0;
  padding: 24px 28px;
  margin-bottom: 20px;
}

.legal-toc h2 {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dark);
  margin-bottom: 12px;
}

.legal-toc ol {
  margin-bottom: 0;
  columns: 2;
  column-gap: 32px;
}

.legal-toc li {
  margin-bottom: 6px;
  break-inside: avoid;
  font-size: 0.92rem;
}

.legal-toc a {
  text-decoration: none;
}

.legal-toc a:hover {
  text-decoration: underline;
}

.legal-related {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid #e6e6e6;
  font-size: 0.95rem;
}

@media (max-width: 600px) {
  .legal-toc ol {
    columns: 1;
  }
  .legal-toc {
    padding: 20px;
  }
}

/* ---------- Editions (Cloud / Enterprise Drive / Enterprise Haul) ---------- */

/* Two doors into Enterprise: Drive and Haul */
.edition-doors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.edition-door {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  padding: 44px 40px 38px;
  color: #fff;
  background: linear-gradient(155deg, #11121c 0%, var(--dark) 55%, #262844 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 50px rgba(10, 10, 20, 0.25);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.edition-door::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), #ff5a67);
}
.edition-door::after {
  content: "";
  position: absolute;
  right: -90px; top: -90px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 24, 41, 0.28), transparent 70%);
  pointer-events: none;
}
.edition-door:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(10, 10, 20, 0.35);
}
.edition-door > * { position: relative; z-index: 1; }
.edition-door-icon {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: rgba(225, 24, 41, 0.14);
  color: var(--red);
  font-size: 1.7rem;
  margin-bottom: 26px;
}
.edition-door-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 8px;
}
.edition-door h3 { color: #fff; font-size: 2rem; margin-bottom: 8px; }
.edition-door-line { font-size: 1.12rem; font-weight: 600; color: #fff; margin-bottom: 14px; }
.edition-door p { color: rgba(255, 255, 255, 0.72); line-height: 1.7; }
.edition-door ul { margin: 22px 0 30px; display: flex; flex-direction: column; gap: 10px; }
.edition-door li { display: flex; gap: 10px; color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; }
.edition-door li i { color: var(--red); font-size: 0.8rem; margin-top: 6px; }
.edition-door .psuite-link { color: #fff; }
.edition-door .psuite-link i { color: var(--red); }

/* The qualifying question */
.edition-question {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}
.edition-question q {
  display: block;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 300;
  color: var(--dark);
  quotes: "\201C" "\201D";
  margin-bottom: 12px;
}
.edition-question q strong { font-weight: 800; color: var(--red); }

/* Numbered steps */
.edition-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: step;
}
.edition-step {
  position: relative;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 34px 30px 30px;
  box-shadow: var(--shadow);
}
.edition-step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--red);
  margin-bottom: 18px;
}
.edition-step h3 { font-size: 1.25rem; color: var(--dark); margin-bottom: 8px; }
.edition-step p { color: var(--medium-gray); line-height: 1.7; margin: 0; }

/* Cloud vs Enterprise comparison */
.edition-compare-wrap {
  max-width: 980px;
  margin: 0 auto;
  overflow-x: auto;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
}
.edition-compare {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.edition-compare th,
.edition-compare td {
  padding: 16px 22px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #eee;
}
.edition-compare thead th {
  background: var(--dark);
  color: #fff;
  font-size: 1.05rem;
}
.edition-compare thead th small {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
}
.edition-compare tbody th {
  width: 26%;
  font-weight: 600;
  color: var(--dark);
  background: var(--light-gray);
}
.edition-compare td { color: var(--dark-gray); line-height: 1.6; }
.edition-compare tr:last-child th,
.edition-compare tr:last-child td { border-bottom: none; }
.edition-compare td .btn { margin-top: 4px; }

/* Cross-link from one Enterprise flavor to the other */
.edition-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 34px;
  border-radius: 16px;
  background: var(--light-gray);
  border-left: 4px solid var(--red);
}
.edition-switch p { margin: 0; color: var(--dark); font-size: 1.05rem; }
.edition-switch strong { color: var(--red); }

@media (max-width: 992px) {
  .edition-steps { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .edition-doors { grid-template-columns: 1fr; }
  .edition-door { padding: 36px 26px 30px; }
  .edition-door h3 { font-size: 1.7rem; }
  .edition-switch { padding: 24px 22px; }
}
.edition-compare .btn-outline { color: var(--dark); border-color: var(--dark); }
.edition-compare .btn-outline:hover { color: var(--white); background: var(--dark); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Solutions menu: who it's for / platforms / how it works */
@media (min-width: 961px) {
  #mega-solutions { width: min(1040px, calc(100vw - 32px)); }
  .mega-inner.mega-solutions { grid-template-columns: 1fr 1fr 0.9fr; }
}

@media (min-width: 769px) {
  .pain-points.pain-points-2 { grid-template-columns: repeat(2, 1fr); }
}

/* Enterprise integrations, grouped by category */
.integration-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.integration-group {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 14px;
  padding: 26px 26px 22px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.integration-group:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.integration-group i {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(225, 24, 41, 0.08);
  color: var(--red);
  font-size: 1.15rem;
  margin-bottom: 14px;
}
.integration-group h4 { font-size: 1.08rem; color: var(--dark); margin-bottom: 6px; }
.integration-group p { color: var(--medium-gray); font-size: 0.94rem; line-height: 1.6; margin: 0; }

@media (max-width: 992px) { .integration-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .integration-grid { grid-template-columns: 1fr; } }

/* Enterprise AI agents (dark section) */
.section-dark .section-header .psuite-eyebrow { margin-bottom: 18px; }
.agent-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.agent-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 24px 22px;
  transition: background 0.3s ease, transform 0.3s ease;
}
.agent-card::after {
  content: "";
  position: absolute;
  top: 18px; right: 18px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}
.agent-card:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-4px); }
.agent-card i { font-size: 1.4rem; color: var(--red); margin-bottom: 14px; display: block; }
.agent-card h4 { color: #fff; font-size: 1rem; margin-bottom: 6px; }
.agent-card p { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; line-height: 1.6; margin: 0; }
.agent-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.agent-footer p { margin: 0; color: rgba(255, 255, 255, 0.8); max-width: 680px; }
.agent-footer strong { color: #fff; }

@media (max-width: 992px) { .agent-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .agent-grid { grid-template-columns: 1fr; } }

/* Photo heroes on the Enterprise flavor pages: image stays vivid on the right, copy sits on a dark fade */
.products-suite .psuite-hero.edition-hero {
  text-align: left;
  padding: 170px 20px 80px;
  background:
    linear-gradient(90deg, rgba(12, 12, 22, 0.96) 0%, rgba(12, 12, 22, 0.86) 38%, rgba(12, 12, 22, 0.35) 70%, rgba(12, 12, 22, 0.15) 100%),
    var(--hero-img) center / cover no-repeat,
    var(--dark);
}
.products-suite .psuite-hero.edition-hero::before {
  background:
    radial-gradient(560px circle at 8% 100%, rgba(225, 24, 41, 0.35), transparent 60%),
    linear-gradient(180deg, transparent 70%, rgba(12, 12, 22, 0.6) 100%);
}
.products-suite .psuite-hero.edition-hero .breadcrumb { justify-content: flex-start; }
.products-suite .psuite-hero.edition-hero h1,
.products-suite .psuite-hero.edition-hero .psuite-sub { margin-left: 0; max-width: 640px; }
.products-suite .psuite-hero.edition-hero h1 { font-size: clamp(2.4rem, 5.4vw, 3.8rem); }
.products-suite .psuite-hero.edition-hero .psuite-hero-actions { justify-content: flex-start; }
.products-suite .psuite-hero.edition-hero .psuite-stats {
  margin: 0;
  max-width: 820px;
  background: rgba(12, 12, 22, 0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 24px 28px;
}
@media (max-width: 768px) {
  .products-suite .psuite-hero.edition-hero {
    padding: 130px 20px 60px;
    background:
      linear-gradient(180deg, rgba(12, 12, 22, 0.75) 0%, rgba(12, 12, 22, 0.92) 55%, rgba(12, 12, 22, 0.98) 100%),
      var(--hero-img) center / cover no-repeat,
      var(--dark);
  }
}

/* Enterprise hub hero: let the footage show through, with a focused fade behind the copy */
.enterprise-hero { min-height: 82vh; }
.enterprise-hero .hero-overlay {
  background:
    radial-gradient(ellipse 60% 70% at 50% 50%, rgba(12, 12, 22, 0.78) 0%, rgba(12, 12, 22, 0.45) 60%, rgba(12, 12, 22, 0.25) 100%),
    linear-gradient(180deg, rgba(12, 12, 22, 0.35) 0%, transparent 30%, transparent 70%, rgba(12, 12, 22, 0.75) 100%),
    radial-gradient(700px circle at 85% 110%, rgba(225, 24, 41, 0.35), transparent 60%);
}
.enterprise-hero h1 { font-size: clamp(2.8rem, 6.5vw, 4.6rem); letter-spacing: -0.01em; }
.enterprise-hero .hero-content p { font-size: 1.2rem; }

/* Enterprise inquiry form (bottom of every Enterprise page) */
.inquiry-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(700px circle at 0% 100%, rgba(225, 24, 41, 0.35), transparent 60%),
    radial-gradient(600px circle at 100% 0%, rgba(124, 58, 237, 0.18), transparent 60%),
    linear-gradient(140deg, #0c0c16 0%, var(--dark) 60%, #24263f 100%);
}
.inquiry-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.inquiry-intro h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 14px; }
.inquiry-intro > p { color: rgba(255, 255, 255, 0.78); font-size: 1.08rem; line-height: 1.7; }
.inquiry-steps { margin-top: 30px; display: flex; flex-direction: column; gap: 18px; }
.inquiry-steps li { display: flex; gap: 16px; align-items: flex-start; color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; line-height: 1.55; }
.inquiry-steps span {
  flex-shrink: 0;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 800;
}
.inquiry-steps strong { display: block; color: #fff; font-size: 1rem; margin-bottom: 2px; }
.inquiry-form { color: var(--dark); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.inquiry-form h3 { font-size: 1.35rem; margin-bottom: 22px; color: var(--dark); }
.form-status { margin: 14px 0 0; font-size: 0.95rem; font-weight: 600; min-height: 1.4em; }
.form-status.is-success { color: #15803d; }
.form-status.is-error { color: #dc2626; }

@media (max-width: 992px) {
  .inquiry-wrap { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 600px) {
  .inquiry-form { padding: 28px 20px; }
}

/* ---------- Photo heroes ----------
   A page-specific photograph (set with --hero-img) stays vivid on the right while the copy
   sits left-aligned on a dark fade. Used on audience pages (.page-hero) and product pages (.product-hero). */
.photo-hero {
  position: relative;
  background:
    linear-gradient(90deg, rgba(12, 12, 22, 0.95) 0%, rgba(12, 12, 22, 0.84) 36%, rgba(12, 12, 22, 0.3) 68%, rgba(12, 12, 22, 0.1) 100%),
    var(--hero-img) center right / cover no-repeat,
    var(--dark);
}
.photo-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(560px circle at 6% 100%, rgba(225, 24, 41, 0.32), transparent 60%),
    linear-gradient(180deg, rgba(12, 12, 22, 0.45) 0%, transparent 22%, transparent 75%, rgba(12, 12, 22, 0.55) 100%);
  pointer-events: none;
}
.photo-hero > * { position: relative; z-index: 2; }

/* Audience pages: full-height hero, copy aligned to the site container */
.page-hero.photo-hero { justify-content: flex-start; min-height: 78vh; }
.page-hero.photo-hero .hero-content {
  text-align: left;
  max-width: 660px;
  margin-left: max(20px, calc((100vw - 1200px) / 2 + 20px));
  padding: 120px 0 60px;
}
.page-hero.photo-hero .hero-content h1 { font-size: clamp(2.4rem, 5.2vw, 3.7rem); line-height: 1.08; }
.photo-hero .hero-buttons { justify-content: flex-start; }

/* Product pages */
.product-hero.photo-hero { text-align: left; padding: 170px 20px 100px; }
.product-hero.photo-hero h1 { font-size: clamp(2.6rem, 5.4vw, 3.8rem); }
.product-hero.photo-hero .product-subtitle { margin-left: 0; max-width: 600px; }
.product-hero.photo-hero .breadcrumb { justify-content: flex-start; }

@media (max-width: 768px) {
  .photo-hero {
    background:
      linear-gradient(180deg, rgba(12, 12, 22, 0.55) 0%, rgba(12, 12, 22, 0.85) 50%, rgba(12, 12, 22, 0.97) 100%),
      var(--hero-img) 70% center / cover no-repeat,
      var(--dark);
  }
  .page-hero.photo-hero .hero-content { margin-left: 0; padding: 120px 20px 50px; }
  .product-hero.photo-hero { padding: 130px 20px 60px; }
}
.page-hero.photo-hero.photo-hero-short { min-height: 52vh; }
.page-hero.photo-hero.photo-hero-short .hero-content { padding: 130px 0 50px; }

/* Home hero: keep the brand video, but let it show through */
.home-hero .hero-overlay {
  background:
    radial-gradient(ellipse 60% 65% at 50% 50%, rgba(12, 12, 22, 0.72) 0%, rgba(12, 12, 22, 0.42) 60%, rgba(12, 12, 22, 0.25) 100%),
    linear-gradient(180deg, rgba(12, 12, 22, 0.35) 0%, transparent 30%, transparent 70%, rgba(12, 12, 22, 0.7) 100%),
    radial-gradient(700px circle at 85% 110%, rgba(225, 24, 41, 0.3), transparent 60%);
}

/* Inspect's dark theme sets its own hero background; let the photo hero win there too */
.inspect-page .product-hero.photo-hero {
  background:
    linear-gradient(90deg, rgba(8, 8, 10, 0.96) 0%, rgba(8, 8, 10, 0.85) 36%, rgba(8, 8, 10, 0.3) 68%, rgba(8, 8, 10, 0.1) 100%),
    var(--hero-img) center right / cover no-repeat,
    #050506;
}
.inspect-page .product-hero.photo-hero .inspect-logo { margin: 0 0 28px; }
@media (max-width: 768px) {
  .inspect-page .product-hero.photo-hero {
    background:
      linear-gradient(180deg, rgba(8, 8, 10, 0.55) 0%, rgba(8, 8, 10, 0.86) 50%, rgba(8, 8, 10, 0.97) 100%),
      var(--hero-img) 70% center / cover no-repeat,
      #050506;
  }
}

/* Slide-in animations start off-screen; never let them make phones scroll sideways */
html, body { overflow-x: clip; }
.page-hero-news.photo-hero { padding: 170px 20px 90px; }
.page-hero-news.photo-hero h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); }
.page-hero-news.photo-hero p { max-width: 560px; }
