.company-home {
  --home-navy: #062746;
  --home-blue: #0969a8;
  --home-teal: #00a7a7;
  --home-ink: #102d49;
  --home-muted: #536b80;
  --home-pale: #f2f7fb;
  overflow-x: clip;
}

.company-home .site-header .brand {
  min-width: 230px;
}

.company-home .site-header .brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.company-home .site-header .brand strong {
  letter-spacing: .01em;
}

.company-home .site-header .brand small {
  display: block;
  margin-top: 2px;
  color: #60778c;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.company-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(440px, .98fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
  min-height: 610px;
  padding: clamp(74px, 8vw, 118px) max(5vw, calc((100vw - 1500px) / 2));
  color: #fff;
  background:
    radial-gradient(circle at 83% 12%, rgba(0, 176, 190, .22), transparent 28%),
    linear-gradient(125deg, #041e37 0%, #07335a 58%, #075781 100%);
}

.company-hero-copy {
  max-width: 720px;
}

.company-hero .eyebrow,
.product-gateway .eyebrow,
.company-values .eyebrow,
.home-tools .eyebrow,
.home-proof .eyebrow {
  margin: 0 0 14px;
  color: #20d0d0;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.company-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.7rem, 5.2vw, 5.25rem);
  line-height: .98;
  letter-spacing: -.045em;
}

.company-hero .hero-lead {
  max-width: 690px;
  margin: 26px 0 0;
  color: #d7e6f1;
  font-size: clamp(1.08rem, 1.55vw, 1.32rem);
  line-height: 1.65;
}

.company-hero .hero-lead strong {
  color: #fff;
}

.company-hero-actions,
.product-card-actions,
.home-tools-actions,
.home-closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.company-hero .button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, .48);
  background: transparent;
}

.company-hero .button-secondary:hover {
  color: var(--home-navy);
  background: #fff;
}

.company-hero-products {
  display: grid;
  gap: 16px;
}

.hero-product-tile {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  min-height: 150px;
  padding: 25px 26px;
  color: var(--home-ink);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 20px 55px rgba(0, 15, 33, .24);
  transition: transform .2s ease, box-shadow .2s ease;
}

.hero-product-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 25px 62px rgba(0, 15, 33, .32);
}

.hero-product-tile img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.hero-product-tile small {
  display: block;
  margin-bottom: 5px;
  color: #087c89;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero-product-tile strong {
  display: block;
  font-size: clamp(1.25rem, 2vw, 1.62rem);
}

.hero-product-tile p {
  margin: 7px 0 0;
  color: var(--home-muted);
  line-height: 1.45;
}

.hero-product-tile .tile-arrow {
  color: var(--home-blue);
  font-size: 1.7rem;
}

.product-gateway,
.company-values,
.home-tools,
.home-proof {
  padding: clamp(72px, 8vw, 112px) max(5vw, calc((100vw - 1500px) / 2));
}

.home-section-heading {
  max-width: 850px;
  margin-bottom: 38px;
}

.home-section-heading h2 {
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(2.1rem, 4vw, 3.65rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.home-section-heading > p:last-child {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--home-muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.product-gateway-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.product-gateway-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 570px;
  padding: clamp(28px, 3vw, 48px);
  overflow: hidden;
  border: 1px solid #cad9e6;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(14, 47, 75, .1);
}

.product-gateway-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  content: "";
  background: linear-gradient(90deg, var(--home-blue), var(--home-teal));
}

.product-gateway-card.inspection::before {
  background: linear-gradient(90deg, #df6b24, #f29b38);
}

.product-card-heading {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 19px;
  align-items: center;
}

.product-card-heading img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.product-status {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 7px;
  padding: 6px 9px;
  color: #075a67;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 999px;
  background: #dff7f5;
}

.inspection .product-status {
  color: #8a3c0c;
  background: #fff0e4;
}

.product-card-heading h3 {
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(1.75rem, 3vw, 2.6rem);
}

.product-card-copy {
  margin: 26px 0 0;
  color: var(--home-muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.product-capabilities {
  display: grid;
  gap: 12px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.product-capabilities li {
  position: relative;
  padding-left: 27px;
  color: var(--home-ink);
  font-weight: 700;
  line-height: 1.45;
}

.product-capabilities li::before {
  position: absolute;
  left: 0;
  color: var(--home-teal);
  content: "✓";
}

.inspection .product-capabilities li::before {
  color: #df6b24;
}

.product-card-actions {
  margin-top: auto;
  padding-top: 32px;
}

.company-values {
  color: #fff;
  background: var(--home-navy);
}

.company-values .home-section-heading h2,
.company-values .home-section-heading > p:last-child {
  color: #fff;
}

.company-values .home-section-heading > p:last-child {
  color: #c7d8e5;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.value-grid article {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 16px;
  background: rgba(255, 255, 255, .065);
}

.value-grid span {
  display: block;
  color: #27d5d2;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.value-grid h3 {
  margin: 16px 0 10px;
  font-size: 1.28rem;
}

.value-grid p {
  margin: 0;
  color: #c7d8e5;
  line-height: 1.6;
}

.home-tools {
  background: var(--home-pale);
}

.home-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.home-tool-family {
  padding: 34px;
  border: 1px solid #ccdce9;
  border-radius: 18px;
  background: #fff;
}

.home-tool-family h3 {
  margin: 0;
  color: var(--home-ink);
  font-size: 1.45rem;
}

.home-tool-family p {
  margin: 10px 0 20px;
  color: var(--home-muted);
  line-height: 1.55;
}

.home-tool-family ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-tool-family a {
  color: #075f96;
  font-weight: 750;
  text-decoration: none;
}

.home-tool-family a:hover {
  text-decoration: underline;
}

.home-proof {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .86fr);
  gap: clamp(38px, 6vw, 90px);
  align-items: center;
}

.home-proof-copy h2 {
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -.03em;
}

.home-proof-copy > p:last-of-type {
  margin: 20px 0 0;
  color: var(--home-muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.home-proof-list {
  display: grid;
  gap: 14px;
}

.home-proof-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
  color: var(--home-ink);
  text-decoration: none;
  border: 1px solid #cbdbe7;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(14, 47, 75, .07);
}

.home-proof-list strong,
.home-proof-list small {
  display: block;
}

.home-proof-list small {
  margin-top: 5px;
  color: var(--home-muted);
}

.home-proof-list span {
  color: var(--home-blue);
  font-size: 1.45rem;
}

.home-closing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: 52px max(5vw, calc((100vw - 1500px) / 2));
  color: #fff;
  background: linear-gradient(100deg, #087a8d, #075b8d);
}

.home-closing h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3vw, 2.8rem);
}

.home-closing p {
  margin: 9px 0 0;
  color: #dbf0f4;
}

.home-closing-actions {
  margin: 0;
}

.home-closing .button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
}

.company-home .site-footer .footer-brand .brand span strong {
  font-size: 1rem;
}

.company-home .site-footer .footer-brand .brand span small {
  display: block;
}

.permanent-page-source {
  display: none !important;
}

@media (width <= 1050px) {
  .company-hero {
    grid-template-columns: 1fr;
  }

  .company-hero-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-product-tile {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .hero-product-tile img {
    width: 64px;
    height: 64px;
  }

  .hero-product-tile .tile-arrow {
    display: none;
  }

  .home-proof {
    grid-template-columns: 1fr;
  }
}

@media (width <= 800px) {
  .company-home .site-header .brand {
    min-width: 0;
  }

  .company-home .site-header .brand small {
    display: none;
  }

  .company-hero {
    min-height: auto;
    padding-top: 58px;
  }

  .company-hero-products,
  .product-gateway-grid,
  .value-grid,
  .home-tools-grid,
  .home-closing {
    grid-template-columns: 1fr;
  }

  .product-gateway-card {
    min-height: 0;
  }

  .home-closing-actions {
    margin-top: 4px;
  }
}

@media (width <= 520px) {
  .company-home .site-header .brand strong {
    font-size: .82rem;
  }

  .company-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.25rem);
  }

  .hero-product-tile {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    padding: 20px;
  }

  .hero-product-tile img,
  .product-card-heading img {
    width: 52px;
    height: 52px;
  }

  .hero-product-tile p {
    font-size: .88rem;
  }

  .product-card-heading {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .product-gateway-card,
  .home-tool-family,
  .value-grid article {
    padding: 24px;
  }
}

@media(min-width:801px) { .company-hero-products { transform:translateY(-24px); } }

/* Place both product links beside the headline, close to the company header. */
@media(min-width:801px) { .company-hero { align-items:start; min-height:0; padding-top:32px; padding-bottom:48px; } .company-hero-products { align-self:start; margin-top:28px; transform:none; } }
