/* Navigation */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav, 200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: calc(var(--nav-h) + var(--safe-top));
  padding: calc(0.75rem + var(--safe-top)) var(--gutter) 0.75rem;
  background: rgba(10, 15, 30, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s, transform 0.28s ease;
  will-change: transform;
}

.site-nav.scrolled {
  background: rgba(10, 15, 30, 0.92);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.site-nav.nav-hidden {
  transform: translateY(-110%);
}

.site-nav.drawer-open {
  transform: none;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
  z-index: calc(var(--z-drawer, 220) + 2);
  min-height: var(--touch);
}

.hex-logo {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.hex-logo svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: hexGlow 3s ease-in-out infinite;
}

@keyframes hexSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes hexGlow {
  0%, 100% { filter: drop-shadow(0 0 4px var(--cobalt-glow)) drop-shadow(0 0 10px rgba(37,99,235,0.3)); }
  50% { filter: drop-shadow(0 0 8px var(--cobalt-glow)) drop-shadow(0 0 22px rgba(59,130,246,0.5)); }
}

.hex-ring { transform-origin: 50% 50%; animation: hexSpin 8s linear infinite; }

.logo-text {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: 0.03em;
  color: var(--white);
  line-height: 1.05;
}

.logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cobalt-light);
  margin-top: 2px;
}

.nav-links,
.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  list-style: none;
}

.nav-links a,
.nav-links-desktop a {
  color: var(--slate);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.2rem;
  border-radius: 8px;
}

.nav-links a:hover,
.nav-links a.active,
.nav-links-desktop a:hover,
.nav-links-desktop a.active { color: var(--white); }

.nav-cta {
  background: var(--cobalt) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.1rem !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  min-height: var(--touch);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.nav-cta:hover { background: var(--cobalt-light) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: var(--touch);
  height: var(--touch);
  min-width: var(--touch);
  min-height: var(--touch);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0;
  z-index: calc(var(--z-drawer, 220) + 2);
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--cobalt-light);
  outline-offset: 2px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin-inline: auto;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer-backdrop,
.nav-drawer {
  display: none;
}

/* Footer */
.site-footer {
  background: #070b16;
  border-top: 1px solid var(--border);
  padding: 4.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--slate);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 280px;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-col a {
  display: block;
  color: var(--slate);
  text-decoration: none;
  font-size: 0.88rem;
  margin-bottom: 0.55rem;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--white); }

.footer-social {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.footer-social a {
  width: 38px; height: 38px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.footer-social a:hover {
  color: var(--white);
  border-color: var(--cobalt);
  background: rgba(37, 99, 235, 0.12);
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  color: var(--white);
  font: inherit;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--cobalt);
}

.newsletter-form button {
  background: var(--cobalt);
  color: #fff;
  border-radius: 8px;
  padding: 0.7rem 1rem;
  font-weight: 600;
  font-size: 0.85rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  color: var(--slate);
  font-size: 0.85rem;
}

.footer-bottom a { color: var(--cobalt-light); text-decoration: none; }

/* Cards */
.card-grid {
  display: grid;
  gap: 1.5rem;
}

.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }

.pillar-card,
.svc-card,
.product-card,
.port-card {
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.svc-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.svc-card::before {
  content: '';
  position: absolute;
  top: -60%; left: -60%;
  width: 60%; height: 200%;
  background: linear-gradient(105deg, transparent 40%, rgba(59,130,246,0.12) 50%, transparent 60%);
  transform: rotate(25deg);
  transition: left 0.55s ease, top 0.55s ease;
  pointer-events: none;
}

.svc-card:hover::before { left: 130%; top: -60%; }

.svc-card:hover,
.product-card:hover,
.port-card:hover,
.pillar-card:hover {
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(37, 99, 235, 0.2);
  transform: translateY(-8px);
}

.svc-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.2rem;
  transition: transform 0.3s, background 0.3s;
}

.svc-card:hover .svc-icon {
  transform: scale(1.08) rotate(-4deg);
  background: rgba(37, 99, 235, 0.18);
}

.svc-card h3,
.product-card h3,
.port-card h3,
.pillar-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.55rem;
}

.svc-card p,
.product-card p,
.port-card p,
.pillar-card p {
  color: var(--slate);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.svc-card .btn { margin-top: auto; }

/* Portfolio cards */
.port-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  height: 100%;
}

.port-thumb {
  height: 200px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: background-size 0.55s ease;
  flex-shrink: 0;
}

.port-card:hover .port-thumb { background-size: 112% auto; }

.port-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.port-body {
  padding: 1.35rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.port-industry {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cobalt-light);
  margin-bottom: 0.4rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0 1.15rem;
}

.tech-tags span {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--slate-light);
  border: 1px solid rgba(37, 99, 235, 0.18);
}

.port-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: auto;
}

/* Product cards */
.product-card {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.product-shot {
  height: 180px;
  background: linear-gradient(135deg, #0e1525, #1e3a8a 60%, #2563eb);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-shot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,15,30,0.85));
}

.product-logo-mark {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: var(--heading-tracking, -0.02em);
  line-height: var(--heading-line-height, 1.18);
}

.product-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }

.coming-soon-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
  width: fit-content;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
  width: fit-content;
}

.live-pill::before,
.coming-soon-pill::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.feature-list {
  margin: 0.5rem 0 1.25rem;
}

.feature-list li {
  color: var(--slate);
  font-size: 0.85rem;
  padding: 0.3rem 0 0.3rem 1.1rem;
  position: relative;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--cobalt-light);
  font-weight: 700;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: auto;
}

/* Filters */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--slate);
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--white);
  border-color: var(--cobalt);
  background: rgba(37, 99, 235, 0.15);
}

/* FAQ */
.faq-list { max-width: 760px; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

.faq-q span.icon {
  color: var(--cobalt-light);
  font-size: 1.25rem;
  transition: transform 0.25s;
}

.faq-item.open .faq-q span.icon { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s;
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.open .faq-a {
  max-height: 240px;
  padding-bottom: 1.25rem;
}

/* Sticky product CTAs */
.sticky-cta-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: var(--z-sticky, 170);
  display: none;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  padding: 0.85rem var(--gutter);
  padding-bottom: calc(0.85rem + var(--safe-bottom));
  background: rgba(10, 15, 30, 0.92);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
}

.sticky-cta-bar.visible { display: flex; }

.sticky-cta-bar .btn {
  flex: 1;
  max-width: 280px;
}

@media (hover: hover) and (pointer: fine) {
  .svc-card:hover,
  .product-card:hover,
  .port-card:hover,
  .pillar-card:hover {
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(37, 99, 235, 0.2);
    transform: translateY(-8px);
  }
}

@media (hover: none), (pointer: coarse) {
  .svc-card:hover,
  .product-card:hover,
  .port-card:hover,
  .pillar-card:hover {
    transform: none;
    box-shadow: none;
  }

  .svc-card:active,
  .product-card:active,
  .port-card:active,
  .pillar-card:active {
    border-color: rgba(37, 99, 235, 0.35);
    transform: scale(0.985);
  }
}

.filter-btn {
  min-height: 40px;
  padding: 0.55rem 1rem;
}

@media (max-width: 1100px) {
  .nav-links-desktop { gap: 0.75rem; }
  .nav-links-desktop a { font-size: 0.78rem; }
}

@media (max-width: 980px) {
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) and (min-width: 601px) {
  .card-grid-3,
  .card-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links-desktop { display: none; }

  .nav-drawer-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: var(--z-drawer, 220);
    background: rgba(4, 8, 18, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
  }

  .nav-drawer-backdrop.open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-drawer {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(100%, 400px);
    max-width: 100vw;
    z-index: calc(var(--z-drawer, 220) + 1);
    background: rgba(12, 18, 32, 0.96);
    backdrop-filter: blur(28px) saturate(1.2);
    -webkit-backdrop-filter: blur(28px) saturate(1.2);
    border-left: 1px solid var(--border-strong);
    box-shadow: -24px 0 60px rgba(0, 0, 0, 0.45);
    transform: translateX(104%);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
    padding-top: var(--safe-top);
  }

  .nav-drawer.open {
    transform: translateX(0);
  }

  .nav-drawer[hidden],
  .nav-drawer-backdrop[hidden] {
    display: none !important;
  }

  .nav-drawer.open[hidden],
  .nav-drawer-backdrop.open[hidden] {
    display: block !important;
  }

  .nav-drawer-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    width: 100%;
  }

  .nav-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
  }

  .nav-drawer-brand {
    font-family: var(--font-brand);
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
  }

  .nav-drawer-brand span { color: var(--cobalt-light); }

  .nav-drawer-close {
    width: var(--touch);
    height: var(--touch);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-light);
    border: 1px solid var(--border);
    background: transparent;
  }

  .nav-drawer-scroll {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 0.75rem 0.85rem 1rem;
  }

  .nav-group {
    border-bottom: 1px solid var(--border);
  }

  .nav-group-toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: var(--touch);
    padding: 0.85rem 0.65rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--white);
    text-align: left;
    background: transparent;
    border: none;
  }

  .nav-group-chevron {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--cobalt-light);
    transition: transform 0.25s ease;
    flex-shrink: 0;
  }

  .nav-group.open .nav-group-chevron {
    transform: rotate(180deg);
  }

  .nav-group-list {
    display: none;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0 0.35rem 0.85rem;
    list-style: none;
  }

  .nav-group.open .nav-group-list {
    display: flex;
  }

  .nav-group-list a {
    display: flex;
    align-items: center;
    min-height: var(--touch);
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    color: var(--slate-light);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
  }

  .nav-group-list a.active {
    color: var(--white);
    background: rgba(37, 99, 235, 0.16);
    border: 1px solid rgba(37, 99, 235, 0.28);
  }

  .nav-drawer-foot {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-shrink: 0;
    padding: 0.9rem 1rem calc(0.9rem + var(--safe-bottom));
    border-top: 1px solid var(--border);
    background: rgba(10, 15, 30, 0.72);
  }

  .nav-drawer-foot .nav-cta {
    margin: 0 !important;
    width: 100%;
    justify-content: center;
    text-align: center;
    min-height: var(--touch) !important;
    padding: 0.9rem 1rem !important;
  }

  .nav-contact-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .nav-contact-row a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-height: var(--touch);
    padding: 0.55rem 0.35rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    color: var(--slate-light);
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 600;
  }

  .nav-contact-row a svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 600px) {
  .card-grid-3,
  .card-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    min-height: var(--touch);
    width: 100%;
  }

  .footer-social a {
    width: var(--touch);
    height: var(--touch);
  }
}

@media (max-width: 980px) and (min-width: 601px) {
  .card-grid.snap-on-tablet {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1);
    scroll-padding-inline: var(--gutter);
  }

  .card-grid.snap-on-tablet::-webkit-scrollbar { display: none; }

  .card-grid.snap-on-tablet > * {
    flex: 0 0 min(70vw, 340px);
    scroll-snap-align: center;
  }
}

@media (max-width: 600px) {
  .card-grid.snap-on-phone {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1);
    scroll-padding-inline: var(--gutter);
  }

  .card-grid.snap-on-phone::-webkit-scrollbar { display: none; }

  .card-grid.snap-on-phone > * {
    flex: 0 0 min(86vw, 340px);
    scroll-snap-align: center;
  }
}

@media (max-width: 980px) {
  .card-grid.snap-centered {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-inline: max(var(--gutter), calc((100vw - min(82vw, 360px)) / 2));
    margin-inline: calc(var(--gutter) * -1);
    scroll-padding-inline: 50%;
  }

  .card-grid.snap-centered::-webkit-scrollbar { display: none; }

  .card-grid.snap-centered > * {
    flex: 0 0 min(82vw, 360px);
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
}

@media (max-width: 600px) {
  .card-grid.mobile-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
  }

  .card-grid.mobile-grid-2 > * {
    min-width: 0;
    width: auto;
  }

  .mobile-grid-2 .port-thumb,
  .mobile-grid-2 .product-shot {
    height: 112px;
  }

  .mobile-grid-2 .port-body,
  .mobile-grid-2 .product-body {
    padding: 0.85rem 0.7rem 0.75rem;
  }

  .mobile-grid-2 .product-logo-mark {
    max-width: calc(100% - 1rem);
    font-size: clamp(0.82rem, 4vw, 1.05rem);
    text-align: center;
    overflow-wrap: anywhere;
  }

  .mobile-grid-2 .port-badge {
    top: 0.5rem;
    left: 0.5rem;
    max-width: calc(100% - 1rem);
    padding: 0.24rem 0.48rem;
    font-size: 0.58rem;
  }

  .mobile-grid-2 .port-industry {
    font-size: 0.6rem;
  }

  .mobile-grid-2 h3 {
    font-size: 0.88rem;
    line-height: 1.3;
  }

  .mobile-grid-2 .port-body > p,
  .mobile-grid-2 .product-body > p {
    display: -webkit-box;
    margin-bottom: 0.7rem;
    overflow: hidden;
    font-size: 0.7rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .mobile-grid-2 .tech-tags {
    gap: 0.25rem;
    margin: 0 0 0.7rem;
  }

  .mobile-grid-2 .tech-tags span {
    padding: 0.18rem 0.35rem;
    font-size: 0.55rem;
  }

  .mobile-grid-2 .tech-tags span:nth-child(n + 3),
  .mobile-grid-2 .feature-list li:nth-child(n + 3) {
    display: none;
  }

  .mobile-grid-2 .feature-list {
    margin: 0 0 0.7rem;
  }

  .mobile-grid-2 .feature-list li {
    padding: 0.18rem 0 0.18rem 0.85rem;
    font-size: 0.66rem;
  }

  .mobile-grid-2 .coming-soon-pill,
  .mobile-grid-2 .live-pill {
    max-width: 100%;
    margin-bottom: 0.55rem;
    padding: 0.24rem 0.45rem;
    font-size: 0.55rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }

  .mobile-grid-2 .port-actions,
  .mobile-grid-2 .product-actions {
    display: grid;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    gap: 0.4rem;
    width: 100%;
  }

  .mobile-grid-2 .port-actions .seo-page-link {
    display: none;
  }

  .mobile-grid-2 .port-actions .btn,
  .mobile-grid-2 .product-actions .btn {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 0.48rem 0.25rem;
    font-size: clamp(0.5rem, 2.2vw, 0.62rem);
    line-height: 1;
    white-space: nowrap;
  }
}

