/* =============================================
   AuthN by IDEE v2 — x.ai-inspired dark design
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

/* ── CSS Variables ── */
:root {
  /* Dark palette (matches x.ai jet/charcoal theme) */
  --jet:      #0a0a0a;
  --charcoal: #141414;
  --umbra:    #1c2130;
  --steel:    #2a2d38;
  --fog:      #7f8494;
  --pewter:   #a8b0c5;
  --dove:     #d8dde8;
  --white:    #ffffff;

  /* Accent */
  --accent:   #4F8EF7;   /* IDEE brand blue */
  --accent2:  #ffe428;   /* IDEE yellow */

  /* Typography */
  --font: 'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --max-w: 1160px;
  --nav-h: 64px;
  --radius: 10px;
  --transition: 0.2s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--jet);
  color: var(--dove);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: break-word;
}
img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); }

/* ── Typography ── */
h1 { font-size: clamp(3rem, 7vw, 6.5rem); font-weight: 900; line-height: 1.04; letter-spacing: -0.03em; overflow-wrap: break-word; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 900; line-height: 1.04; letter-spacing: -0.02em; overflow-wrap: break-word; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; line-height: 1.06; overflow-wrap: break-word; }
h4 { font-size: 1rem; font-weight: 600; overflow-wrap: break-word; }
p  { font-size: 0.97rem; line-height: 1.7; color: var(--fog); overflow-wrap: break-word; }

/* ── Layout utilities ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 120px 0; }
.text-center { text-align: center; }

/* ── Section label ([ PRODUCTS ] style) ── */
.section-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fog);
  margin-bottom: 32px;
}
.section-label::before { content: '['; }
.section-label::after  { content: ']'; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  border: none;
}
.btn-primary {
  background: var(--white);
  color: var(--jet);
  box-shadow: 0 0 14px rgba(255,255,255,0.20), 0 0 32px rgba(200,215,255,0.12);
  animation: btn-glow-pulse 3s ease-in-out infinite;
}
.btn-primary:hover { background: var(--dove); }
@keyframes btn-glow-pulse {
  0%, 100% { box-shadow: 0 0 14px rgba(255,255,255,0.20), 0 0 32px rgba(200,215,255,0.12); }
  50%       { box-shadow: 0 0 28px rgba(255,255,255,0.42), 0 0 60px rgba(200,215,255,0.26); }
}
.btn-ghost {
  background: transparent;
  color: var(--dove);
  border: 1px solid var(--steel);
}
.btn-ghost:hover { border-color: var(--fog); color: var(--white); }
.btn-arrow::after { content: ' →'; }

/* ── Cards ── */
.card {
  background: var(--charcoal);
  border: 1px solid var(--umbra);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  overflow-wrap: break-word;
}
.card:hover { border-color: var(--steel); }
.feature-card, .product-card, .plan-card, .news-card, .resource-card { overflow-wrap: break-word; }

/* ══════════════════════════════════════
   NAVIGATION
══════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 24px;
  transition: background var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--umbra);
}
.nav-inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo img { height: 26px; filter: brightness(0) invert(1); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a,
.nav-links .nav-drop-btn {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--fog);
  transition: color var(--transition);
  background: none; border: none; cursor: pointer;
  padding: 0; font-family: var(--font);
  display: inline-flex; align-items: center; gap: 4px;
}
.nav-links a:hover, .nav-links a.active,
.nav-links .nav-drop-btn:hover,
.nav-links .nav-has-drop:hover .nav-drop-btn { color: var(--white); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* ── Language switcher ── */
.lang-switcher {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--fog);
  border: 1px solid var(--umbra);
  border-radius: 4px;
  padding: 4px 8px;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.lang-switcher:hover { color: var(--white); border-color: var(--dove); }

/* ── Dropdown ── */
.nav-has-drop { position: relative; }
.nav-drop-chevron {
  width: 12px; height: 12px;
  transition: transform var(--transition);
  opacity: 0.6;
}
.nav-has-drop:hover .nav-drop-chevron { transform: rotate(180deg); opacity: 1; }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  background: var(--charcoal);
  border: 1px solid var(--umbra);
  border-radius: 14px;
  padding: 10px;
  display: flex;
  flex-direction: row;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
  transform: translateX(-50%) translateY(-6px);
  z-index: 200;
  box-shadow: 0 24px 64px rgba(0,0,0,0.65);
}
.nav-has-drop:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-has-drop::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px; right: -20px;
  height: 20px;
}

/* Featured left panel — background only, no border */
.nav-mega-featured {
  flex: 0 0 175px;
  background: rgba(41,61,199,0.12);
  border-radius: 10px;
  padding: 16px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: background 0.15s ease;
}
.nav-mega-featured:hover { background: rgba(41,61,199,0.22); }
.nav-mega-icon {
  width: 36px;
  height: 36px;
  background: rgba(41,61,199,0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #93a8f4;
  margin-bottom: 12px;
  flex-shrink: 0;
}
.nav-mega-featured-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.nav-mega-featured-desc {
  font-size: 0.74rem;
  color: rgba(200,215,255,0.5);
  line-height: 1.55;
}

/* Right items */
.nav-mega-items {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
}
.nav-drop-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border-radius: 9px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.nav-drop-item:hover { background: rgba(255,255,255,0.06); }
.nav-drop-item:hover .nav-drop-item-title { color: var(--white); }
.nav-drop-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(200,215,255,0.45);
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-drop-item:hover .nav-drop-item-icon {
  background: rgba(41,61,199,0.2);
  color: #93a8f4;
}
.nav-drop-item-text { display: flex; flex-direction: column; gap: 2px; }
.nav-drop-item-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dove);
  transition: color 0.15s ease;
  white-space: nowrap;
}
.nav-drop-item-desc {
  font-size: 0.73rem;
  color: rgba(200,215,255,0.38);
  line-height: 1.4;
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding-top: var(--nav-h);
  overflow: hidden;
}

/* Atmospheric background glow */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
/* Top-center radial glow — primary bright spot */
.hero-bg::before {
  content: '';
  position: absolute;
  top: -5%; left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 750px;
  background: radial-gradient(ellipse at 50% 18%,
    rgba(255,255,255,0.13) 0%,
    rgba(255,255,255,0.07) 25%,
    rgba(180,200,255,0.03) 50%,
    transparent 70%);
}
/* Wider diffuse atmospheric glow */
.hero-bg::after {
  content: '';
  position: absolute;
  top: 0%; left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at 50% 40%,
    rgba(140,165,255,0.06) 0%,
    rgba(100,130,220,0.02) 45%,
    transparent 70%);
}

/* Dedicated light-source glow sphere behind the heading */
.hero-glow {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 580px;
  background: radial-gradient(
    ellipse at 50% 45%,
    rgba(255,255,255,0.14) 0%,
    rgba(210,220,255,0.08) 28%,
    rgba(150,170,240,0.04) 52%,
    transparent 72%
  );
  filter: blur(55px);
  pointer-events: none;
  z-index: 0;
}

/* Large glowing heading — fills viewport width */
.hero-heading {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* Less top padding so the gap to the input feels tighter */
  padding: 40px 0 0;
  z-index: 1;
  pointer-events: none;
  position: relative;
}
.hero-heading h1 {
  /* Increase max so text fills more of the vertical viewport */
  font-size: clamp(5rem, 26vw, 24rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.88;
  /* Metallic gradient: bright white → silver → darker slate */
  background: linear-gradient(
    180deg,
    #ffffff  0%,
    #eaeef8 20%,
    #b0b8d4 50%,
    #6a7294 78%,
    #3d4260 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 120px rgba(255,255,255,0.12))
          drop-shadow(0 0 50px rgba(180,200,255,0.08));
}

/* Smooth gradient at the bottom of the hero → section below */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 140px;
  background: linear-gradient(to top, var(--jet) 0%, transparent 100%);
  pointer-events: none;
  z-index: 3;
}

/* Bottom portion of hero with input */
.hero-bottom {
  position: relative;
  z-index: 4;
  width: 100%;
  padding-bottom: 52px;
}
.hero-input-wrap {
  max-width: 680px;
  margin: 0 auto 20px;
  position: relative;
}
.hero-input {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 20px 64px 20px 24px;
  font-family: var(--font);
  font-size: 1.05rem;
  color: var(--white);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}
.hero-input::placeholder { color: var(--fog); font-size: 1rem; }
.hero-input:focus {
  border-color: rgba(255,255,255,0.32);
  background: rgba(255,255,255,0.10);
}
.hero-input-btn {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.18);
  border: none;
  border-radius: 7px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: background var(--transition);
}
.hero-input-btn:hover { background: rgba(255,255,255,0.28); }
.hero-input-btn svg { width: 15px; height: 15px; }

.hero-tags {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 680px;
  margin: 0 auto;
}

.hero-scroll-hint {
  display: flex;
  justify-content: center;
  margin-top: 28px;
  color: var(--fog);
  opacity: 0.6;
  animation: bounce-down 2s ease-in-out infinite;
}
@keyframes bounce-down {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}
.hero-tag {
  font-size: 0.8rem;
  color: var(--fog);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  padding: 5px 14px;
  cursor: pointer;
  transition: var(--transition);
}
.hero-tag:hover { color: var(--dove); border-color: rgba(255,255,255,0.18); }

/* ══════════════════════════════════════
   PRODUCTS SECTION
══════════════════════════════════════ */
.products-section {
  padding: 120px 0;
  border-top: 1px solid var(--umbra);
}
.products-heading {
  margin-bottom: 64px;
  text-align: center;
}
.products-heading h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  max-width: 480px;
  margin: 0 auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--umbra);
  border: 1px solid var(--umbra);
  border-radius: var(--radius);
  overflow: hidden;
}
.product-card {
  background: var(--jet);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background var(--transition);
}
.product-card:hover { background: var(--charcoal); }
.product-card-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fog);
}
.product-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
}
.product-card p {
  font-size: 0.9rem;
  color: var(--fog);
  line-height: 1.65;
  flex: 1;
}
.product-card-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dove);
  margin-top: 8px;
  transition: color var(--transition);
}
.product-card-action::after { content: ' →'; }
.product-card:hover .product-card-action { color: var(--white); }

/* ══════════════════════════════════════
   LARGE STATEMENT SECTION
══════════════════════════════════════ */
.statement-section {
  padding: 140px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--umbra);
  background: var(--charcoal);
}
.statement-section::before {
  content: '';
  position: absolute;
  bottom: -200px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.025) 0%, transparent 70%);
  pointer-events: none;
}
.statement-section h2 {
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--white);
  max-width: 860px;
  margin: 0 auto 32px;
}
.statement-section p {
  max-width: 520px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
  color: var(--fog);
}

/* ══════════════════════════════════════
   ENTERPRISE SECTION (SuperGrok-style)
══════════════════════════════════════ */
.enterprise-section {
  padding: 120px 0;
  border-top: 1px solid var(--umbra);
}
.enterprise-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.enterprise-logo {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--charcoal);
  border: 1px solid var(--steel);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
}
.enterprise-inner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.enterprise-inner p {
  font-size: 0.97rem;
  color: var(--fog);
  line-height: 1.7;
  margin-bottom: 32px;
}
.enterprise-badge {
  display: inline-block;
  background: rgba(255,228,40,0.12);
  color: #d4a800;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 100px;
  padding: 4px 12px;
  margin-bottom: 20px;
}

/* ══════════════════════════════════════
   FEATURES GRID
══════════════════════════════════════ */
.features-section {
  padding: 120px 0;
  border-top: 1px solid var(--umbra);
  text-align: center;
  background: var(--charcoal);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--umbra);
  border: 1px solid var(--umbra);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 56px;
}
.feature-card {
  background: var(--jet);
  padding: 36px 32px;
  transition: background var(--transition);
}
.feature-card:hover { background: var(--charcoal); }
.feature-icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--charcoal);
  border: 1px solid var(--steel);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--dove);
  flex-shrink: 0;
}
.feature-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.88rem;
  color: var(--fog);
  line-height: 1.65;
}

/* ══════════════════════════════════════
   NEWS / UPDATES
══════════════════════════════════════ */
.news-section {
  padding: 120px 0;
  border-top: 1px solid var(--umbra);
  background: var(--charcoal);
}
.news-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 24px;
}
.news-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--umbra);
  border: 1px solid var(--umbra);
  border-radius: var(--radius);
  overflow: hidden;
}
.news-card {
  background: var(--jet);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background var(--transition);
  cursor: pointer;
}
.news-card:hover { background: var(--charcoal); }
.news-meta {
  font-size: 0.75rem;
  color: var(--fog);
  display: flex;
  gap: 16px;
}
.news-tag {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.news-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
}
.news-card p {
  font-size: 0.88rem;
  color: var(--fog);
  line-height: 1.65;
  flex: 1;
}
.news-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fog);
  transition: color var(--transition);
}
.news-read::after { content: ' →'; }
.news-card:hover .news-read { color: var(--white); }

/* ══════════════════════════════════════
   LINKEDIN FEED
══════════════════════════════════════ */
.linkedin-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 48px;
  gap: 16px;
}
.linkedin-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.linkedin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}
.linkedin-card {
  background: var(--jet);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--umbra);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
}
.linkedin-card:hover {
  border-color: var(--steel);
  background: var(--charcoal);
  transform: translateY(-2px);
}
.linkedin-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 24px 16px;
}
.linkedin-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  background: var(--accent);
}
.linkedin-card__author-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  gap: 1px;
}
.linkedin-card__author-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 4px;
}
.linkedin-card__author-name::after {
  content: '';
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--fog);
  margin-left: 2px;
}
.linkedin-card__date {
  font-size: 0.78rem;
  color: var(--fog);
  font-weight: 500;
}
.linkedin-card__li-icon {
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0.85;
}
.linkedin-card__text {
  padding: 0 24px 4px;
  font-size: 1rem;
  color: var(--dove);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: calc(1.6em * 5);
  flex-shrink: 0;
  transition: max-height 0.3s ease;
}
.linkedin-card--no-image .linkedin-card__text {
  -webkit-line-clamp: 11;
  max-height: calc(1.6em * 11);
  flex: 1;
  padding-bottom: 20px;
}
.linkedin-card--expanded .linkedin-card__text {
  -webkit-line-clamp: unset;
  max-height: none;
  display: block;
}
.linkedin-card__image {
  margin: 12px 20px 20px;
  aspect-ratio: 4 / 3;
  background: var(--charcoal);
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid var(--umbra);
}
.linkedin-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.linkedin-card:hover .linkedin-card__image img { transform: scale(1.04); }
.linkedin-card:hover .linkedin-card__text { color: var(--white); }
.linkedin-card__readmore {
  background: none;
  border: 0;
  padding: 0 24px 18px;
  margin: 0;
  color: var(--accent);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  align-self: flex-start;
  letter-spacing: -0.005em;
  transition: color var(--transition);
}
.linkedin-card__readmore:hover { text-decoration: underline; }
.linkedin-card__readmore:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Skeleton shimmer */
.linkedin-skeleton {
  background: var(--jet);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--umbra);
  border-radius: 12px;
  overflow: hidden;
}
.linkedin-skeleton__author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px 12px;
}
.linkedin-skeleton__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(90deg, var(--charcoal) 0%, var(--umbra) 50%, var(--charcoal) 100%);
  background-size: 200% 100%;
  animation: linkedinShimmer 1.4s ease-in-out infinite;
}
.linkedin-skeleton__author-info { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.linkedin-skeleton__image {
  margin: 12px 20px 20px;
  aspect-ratio: 4 / 3;
  background: linear-gradient(90deg, var(--charcoal) 0%, var(--umbra) 50%, var(--charcoal) 100%);
  background-size: 200% 100%;
  animation: linkedinShimmer 1.4s ease-in-out infinite;
  border-radius: 10px;
}
.linkedin-skeleton__body {
  padding: 0 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.linkedin-skeleton__bar {
  background: linear-gradient(90deg, var(--charcoal) 0%, var(--umbra) 50%, var(--charcoal) 100%);
  background-size: 200% 100%;
  animation: linkedinShimmer 1.4s ease-in-out infinite;
  border-radius: 4px;
  height: 10px;
}
.linkedin-skeleton__bar--head { width: 40%; height: 12px; margin-bottom: 4px; }
.linkedin-skeleton__bar--full { width: 100%; }
.linkedin-skeleton__bar--80 { width: 80%; }
.linkedin-skeleton__bar--60 { width: 60%; }
@keyframes linkedinShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Fallback */
.linkedin-fallback {
  grid-column: 1 / -1;
  background: var(--jet);
  padding: 56px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.linkedin-fallback p { color: var(--fog); font-size: 0.95rem; max-width: 440px; }
.linkedin-fallback a {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
.linkedin-fallback a:hover { text-decoration: underline; }

@media (max-width: 1024px) {
  .linkedin-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 640px) {
  .linkedin-grid { grid-template-columns: 1fr; gap: 18px; }
  .linkedin-card__author,
  .linkedin-skeleton__author { padding: 18px 20px 14px; }
  .linkedin-card__text { padding: 0 20px 4px; }
  .linkedin-card__readmore { padding: 0 20px 16px; }
  .linkedin-card--no-image .linkedin-card__text { padding-bottom: 18px; }
  .linkedin-card__image { margin: 10px 16px 16px; }
  .linkedin-skeleton__body { padding: 0 20px 14px; }
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--umbra);
  padding: 60px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(5, 1fr);
  gap: 36px;
  margin-bottom: 48px;
}
.footer-brand img { height: 24px; filter: brightness(0) invert(1); margin-bottom: 14px; }
.footer-brand p { font-size: 0.85rem; color: var(--fog); max-width: 220px; line-height: 1.6; }
.footer-col h5 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pewter);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.88rem; color: var(--fog); transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--umbra);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--fog);
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom a { color: var(--fog); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--white); }

/* ══════════════════════════════════════
   DIVIDER
══════════════════════════════════════ */
hr.divider {
  border: none;
  border-top: 1px solid var(--umbra);
}

/* ══════════════════════════════════════
   STAR CANVAS (full-page background)
══════════════════════════════════════ */
.star-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.6;
}

/* ══════════════════════════════════════
   INNER PAGE HERO
══════════════════════════════════════ */
.page-hero-dark {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--umbra);
}
.page-hero-dark::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--jet) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* Inner page hero h1 — metallic gradient matching main hero */
.page-hero-dark h1 {
  background: linear-gradient(
    180deg,
    #ffffff  0%,
    #eaeef8 20%,
    #b0b8d4 50%,
    #6a7294 78%,
    #3d4260 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 48px rgba(255,255,255,0.10))
          drop-shadow(0 0 24px rgba(180,200,255,0.06));
}
/* Ensure child spans (e.g. .hero-stroke) show the gradient too */
.page-hero-dark h1 span {
  background: linear-gradient(
    180deg,
    #ffffff  0%,
    #eaeef8 20%,
    #b0b8d4 50%,
    #6a7294 78%,
    #3d4260 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Hero title wrapper — positions path-drawing SVG overlay ── */
.hero-title-wrap {
  position: relative;
  display: block;
}
.hero-title-wrap h1 {
  margin: 0;
}
/* SVG path-drawing overlay */
.hero-path-anim {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: visible;
  pointer-events: none;
}
.hero-path-anim text {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  dominant-baseline: hanging;
  fill: none;
  stroke: url(#hpStrokeGrad);
  stroke-width: 0.8;
  stroke-dasharray: 8000;
  stroke-dashoffset: 8000;
}

/* Reposition glow to sit behind the left-aligned heading text */
.page-hero-dark .hero-glow {
  top: 0%;
  left: -4%;
  transform: none;
  width: 820px;
  height: 520px;
}

/* Animated shimmer stroke under a highlighted hero keyword */
.hero-stroke {
  position: relative;
  display: inline-block;
}
.hero-stroke::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg,
    rgba(41,61,199,0.05) 0%,
    rgba(120,150,255,0.95) 35%,
    rgba(255,255,255,1.00) 50%,
    rgba(120,150,255,0.95) 65%,
    rgba(41,61,199,0.05) 100%);
  background-size: 250% 100%;
  animation: stroke-shimmer 2.4s linear infinite;
  box-shadow: 0 0 8px rgba(130,160,255,0.90),
              0 0 18px rgba(100,130,255,0.65),
              0 0 38px rgba(41,61,199,0.45);
}
@keyframes stroke-shimmer {
  0%   { background-position: 150% 0; }
  100% { background-position: -150% 0; }
}

/* ── Page section dividers ── */
.page-section { padding: 100px 0; border-top: 1px solid var(--umbra); }

/* ── Inline stat grid ── */
.stat-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--umbra);
  border: 1px solid var(--umbra);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat-grid-2x2 > div {
  background: var(--jet);
  padding: 28px;
}

/* ── Plans / Pricing ── */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--umbra);
  border: 1px solid var(--umbra);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 56px;
}
.plan-card {
  background: var(--jet);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background var(--transition);
}
.plan-card.featured { background: var(--charcoal); }
.plan-card:hover { background: var(--charcoal); }
.plan-badge {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--fog); margin-bottom: 8px;
}
.plan-price {
  font-size: 2.8rem; font-weight: 800; color: var(--white);
  line-height: 1; letter-spacing: -0.03em;
}
.plan-price span { font-size: 1rem; font-weight: 500; color: var(--fog); }
.plan-name { font-size: 1.1rem; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.plan-desc { font-size: 0.88rem; color: var(--fog); margin-bottom: 24px; line-height: 1.6; }
.plan-features { display: flex; flex-direction: column; gap: 10px; flex: 1; margin-bottom: 32px; }
.plan-feature {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.88rem; color: var(--dove);
}
.plan-feature::before {
  content: '';
  width: 16px; height: 16px; min-width: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='8' cy='8' r='8' fill='%23333a4d'/%3E%3Cpath d='M4.5 8.5l2 2 5-5' stroke='%23d8dde8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/cover no-repeat;
  margin-top: 1px;
}

/* ── Contact form ── */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--pewter); }
.form-input, .form-select, .form-textarea {
  background: var(--charcoal);
  border: 1px solid var(--umbra);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 0.93rem;
  color: var(--white);
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--fog); }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--fog); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { appearance: none; cursor: pointer; }

/* ── Partner logos grid ── */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--umbra);
  border: 1px solid var(--umbra);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 56px;
}
.partner-card {
  background: var(--jet);
  padding: 36px 24px;
  text-align: center;
  transition: background var(--transition);
}
.partner-card:hover { background: var(--charcoal); }
.partner-name { font-size: 1rem; font-weight: 600; color: var(--dove); margin-bottom: 6px; }
.partner-type { font-size: 0.78rem; color: var(--fog); text-transform: uppercase; letter-spacing: 0.08em; }

/* ── Blog / resource cards ── */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--umbra);
  border: 1px solid var(--umbra);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 48px;
}
.resource-card {
  background: var(--jet);
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 12px;
  transition: background var(--transition); cursor: pointer;
}
.resource-card:hover { background: var(--charcoal); }
.resource-tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fog); }
.resource-card h4 { font-size: 1.05rem; font-weight: 600; color: var(--white); line-height: 1.4; }
.resource-card p { font-size: 0.88rem; color: var(--fog); line-height: 1.65; flex: 1; }
.resource-read { font-size: 0.82rem; font-weight: 600; color: var(--fog); }
.resource-read::after { content: ' →'; }
.resource-card:hover .resource-read { color: var(--white); }

/* ══════════════════════════════════════
   SCROLLBAR
══════════════════════════════════════ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--jet); }
::-webkit-scrollbar-thumb { background: var(--umbra); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--steel); }

/* ══════════════════════════════════════
   RESPONSIVE — HAMBURGER (always present, hidden on desktop)
══════════════════════════════════════ */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  padding: 8px;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  cursor: pointer;
  z-index: 210;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* ══════════════════════════════════════
   RESPONSIVE — TABLET (≤1024px)
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }
  .section { padding: 80px 0; }
  .products-section,
  .features-section,
  .news-section,
  .enterprise-section { padding: 80px 0; }
  .statement-section { padding: 96px 0; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); gap: 36px; }
  .nav-inner { gap: 20px; }
  .nav-links { gap: 22px; }
  #partner-map { height: 520px !important; }

  /* Tablet: collapse 4+ column inline grids to 2 columns */
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4,1fr)"],
  [style*="grid-template-columns:repeat(5,1fr)"],
  [style*="grid-template-columns: repeat(5,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  /* Tame oversized gaps on tablet */
  [style*="gap:80px"] { gap: 48px !important; }
}

/* ══════════════════════════════════════
   RESPONSIVE — MOBILE NAV + LAYOUT (≤768px)
══════════════════════════════════════ */
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .products-section,
  .features-section,
  .news-section,
  .enterprise-section { padding: 64px 0; }
  .statement-section { padding: 72px 0; }

  /* Grids → single column */
  .product-grid,
  .features-grid,
  .news-grid,
  .partners-grid,
  .plans-grid,
  .resource-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stat-grid-2x2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  /* Hero glows: tame the giant pseudo-elements that overflow */
  .hero-bg::before { width: 500px !important; height: 380px !important; }
  .hero-bg::after { width: 600px !important; height: 380px !important; }
  .statement-section::before { width: 360px !important; height: 360px !important; bottom: -120px !important; }

  /* Catch ALL inline multi-column grids → single column on mobile */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:repeat(2,1fr)"],
  [style*="grid-template-columns: repeat(2,1fr)"],
  [style*="grid-template-columns:repeat(2, 1fr)"],
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns: repeat(3,1fr)"],
  [style*="grid-template-columns:repeat(3, 1fr)"],
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4,1fr)"],
  [style*="grid-template-columns:repeat(5,1fr)"],
  [style*="grid-template-columns: repeat(5,1fr)"],
  [style*="grid-template-columns:1fr 28px 1fr"],
  [style*="grid-template-columns:1fr 56px 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  /* Preserve tighter gap for pill-style 2-col rows */
  [style*="grid-template-columns:1fr 1fr"][style*="gap:14px"],
  [style*="grid-template-columns:repeat(2,1fr)"][style*="gap:14px"] {
    gap: 14px !important;
  }
  /* Reduce oversized inline gaps that were sized for desktop */
  [style*="gap:80px"] { gap: 32px !important; }
  [style*="gap:64px"] { gap: 24px !important; }
  [style*="gap:48px"] { gap: 20px !important; }
  /* Reduce oversized inline padding */
  [style*="padding:48px"] { padding: 24px !important; }
  [style*="padding:40px 48px"] { padding: 24px 20px !important; }
  [style*="padding:40px 40px"] { padding: 24px 20px !important; }
  [style*="padding:40px 36px"] { padding: 24px 20px !important; }
  [style*="padding:48px 40px"] { padding: 24px 20px !important; }
  /* Wrap flex rows that were assuming desktop width */
  [style*="display:flex"][style*="gap:32px 40px"] { gap: 16px 20px !important; }
  /* Integration portal label+pill rows: wrap so label doesn't overflow */
  [style*="display:flex"][style*="gap:24px"]:not([style*="flex-wrap"]) { flex-wrap: wrap !important; }

  /* Hero input — leave room for inline button */
  .hero-input { padding: 16px 56px 16px 18px; font-size: 1rem; }
  .hero-input-btn { width: 32px; height: 32px; right: 12px; }

  /* News header stacks */
  .news-header { flex-direction: column; align-items: flex-start; }

  /* Footer-bottom: stack legal */
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* Card padding tightens slightly */
  .product-card,
  .feature-card,
  .news-card,
  .resource-card,
  .plan-card { padding: 28px 22px; }

  #partner-map { height: 420px !important; }

  /* ── Nav: show hamburger, hide desktop links until opened ── */
  .nav { padding: 0 16px; z-index: 9999; background: var(--jet); }
  .nav-toggle { display: flex; position: relative; z-index: 10001; order: 3; }
  .nav-cta {
    display: flex;
    position: relative;
    z-index: 10001;
    gap: 8px;
    order: 2;
  }
  .nav-cta .btn { display: none; }

  .nav-links {
    display: flex !important;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    width: 100vw;
    height: calc(100vh - var(--nav-h));
    height: calc(100dvh - var(--nav-h));
    background: var(--jet);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 24px 20px 40px;
    overflow-y: auto;
    overflow-x: hidden;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 9998;
    border-top: 1px solid var(--umbra);
  }
  body.nav-open .nav-links { transform: translateX(0); }
  body.nav-open { overflow: hidden; }
  /* Backdrop kills any page-content bleed-through */
  body.nav-open::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--jet);
    z-index: 9990;
    pointer-events: none;
  }

  .nav-links > a,
  .nav-links .nav-has-drop > .nav-drop-btn {
    width: 100%;
    padding: 18px 4px;
    font-size: 1.05rem;
    color: var(--dove);
    border-bottom: 1px solid var(--umbra);
    justify-content: space-between;
  }

  /* Mega-dropdown becomes inline accordion */
  .nav-has-drop { position: static; }
  .nav-has-drop::after { content: none; }
  .nav-dropdown {
    position: static;
    transform: none;
    width: 100%;
    flex-direction: column;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    gap: 6px;
    opacity: 1;
    visibility: hidden;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, visibility 0.3s ease;
  }
  .nav-has-drop[data-open="true"] .nav-dropdown {
    visibility: visible;
    pointer-events: auto;
    max-height: 1200px;
    padding: 8px 0 16px;
  }
  /* Hover-open is desktop-only — disable on mobile */
  .nav-has-drop:hover .nav-dropdown {
    opacity: 1; visibility: hidden; pointer-events: none; transform: none;
  }
  .nav-has-drop[data-open="true"]:hover .nav-dropdown,
  .nav-has-drop[data-open="true"] .nav-dropdown {
    opacity: 1; visibility: visible; pointer-events: auto;
  }
  .nav-has-drop[data-open="true"] .nav-drop-chevron { transform: rotate(180deg); }

  .nav-mega-featured { flex: 0 0 auto; padding: 14px; flex-direction: row; align-items: center; text-align: left; gap: 12px; }
  .nav-mega-icon { margin-bottom: 0; }
  .nav-mega-items { gap: 2px; }
  .nav-drop-item { padding: 12px 8px; }
  .nav-drop-item-title { white-space: normal; }

  /* ── UX steps section (authn.html): stack 7-col grid vertically ── */
  .ux-steps-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .ux-steps-grid > * {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
  .ux-steps-grid > .ux-gap { display: none !important; }

  .ux-steps-grid > .ux-step-header {
    border-top: 1px solid var(--umbra) !important;
    border-left: 1px solid var(--umbra) !important;
    border-right: 1px solid var(--umbra) !important;
    border-bottom: none !important;
    border-radius: var(--radius) var(--radius) 0 0 !important;
    padding: 28px 24px 20px !important;
  }
  .ux-steps-grid > .ux-sub-left {
    border-top: none !important;
    border-left: 1px solid var(--umbra) !important;
    border-right: 1px solid var(--umbra) !important;
    border-bottom: 1px solid var(--umbra) !important;
    border-radius: 0 !important;
    padding: 16px 20px !important;
  }
  .ux-steps-grid > .ux-arrow {
    border-top: none !important;
    border-left: 1px solid var(--umbra) !important;
    border-right: 1px solid var(--umbra) !important;
    border-bottom: 1px solid var(--umbra) !important;
    padding: 8px 0 !important;
    min-height: 32px !important;
  }
  .ux-steps-grid > .ux-arrow svg { transform: rotate(90deg); }
  .ux-steps-grid > .ux-sub-right {
    border-top: none !important;
    border-left: 1px solid var(--umbra) !important;
    border-right: 1px solid var(--umbra) !important;
    border-bottom: 1px solid var(--umbra) !important;
    border-radius: 0 0 var(--radius) var(--radius) !important;
    padding: 16px 20px 24px !important;
  }

  /* Reorder children so each step flows: header → left → arrow → right */
  .ux-steps-grid > .ux-s1.ux-step-header { order: 1; }
  .ux-steps-grid > .ux-s1.ux-sub-left    { order: 2; }
  .ux-steps-grid > .ux-s1.ux-arrow       { order: 3; }
  .ux-steps-grid > .ux-s1.ux-sub-right   { order: 4; }
  .ux-steps-grid > .ux-s2.ux-step-header { order: 5; margin-top: 20px !important; }
  .ux-steps-grid > .ux-s2.ux-sub-left    { order: 6; }
  .ux-steps-grid > .ux-s2.ux-arrow       { order: 7; }
  .ux-steps-grid > .ux-s2.ux-sub-right   { order: 8; }

  /* ── Attack-surface stat card (index.html): stack stat + pills strip ── */
  .attack-surface-stat {
    flex-direction: column !important;
    gap: 12px !important;
  }
  .attack-surface-stat > div[style*="width:1px"] {
    width: auto !important;
    height: 1px !important;
    align-self: stretch !important;
  }
}

/* ══════════════════════════════════════
   RESPONSIVE — SMALL PHONE (≤480px)
══════════════════════════════════════ */
@media (max-width: 480px) {
  .section { padding: 48px 0; }
  .products-section,
  .features-section,
  .news-section,
  .enterprise-section { padding: 48px 0; }
  .statement-section { padding: 56px 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer { padding: 40px 0 28px; }

  .hero-tags { justify-content: flex-start; gap: 8px; }
  .hero-input-wrap { margin: 0 0 20px; }
  .hero-bottom { padding-bottom: 32px; }

  .product-card,
  .feature-card,
  .news-card,
  .resource-card,
  .plan-card { padding: 24px 18px; }

  .products-heading { margin-bottom: 40px; }
  .features-grid,
  .plans-grid,
  .resource-grid,
  .partners-grid { margin-top: 36px; }

  #partner-map { height: 360px !important; }
}
