.homepage {
  min-width: 320px;
  overflow-x: hidden;
  background: #fff;
}

.homepage .site-header {
  position: relative;
  background: #fff;
  border-bottom: 1px solid #edf0f3;
  backdrop-filter: none;
}

.homepage .nav {
  min-height: 88px;
}

.homepage .brand img {
  height: 58px;
}

.homepage .nav-links a[href="/products/"]::after,
.homepage .nav-links a[href="/solutions/"]::after {
  content: "⌄";
  display: inline-block;
  margin-left: 5px;
  font-size: 12px;
  transform: translateY(-1px);
}

/* The hero is one bounded canvas. Its text and image no longer calculate
   their widths from unrelated viewport/container values, so browser zoom
   cannot collapse the copy into a narrow strip. */
.homepage .hero {
  overflow: hidden;
  background: #fff;
}

.homepage .hero-grid.container {
  position: relative;
  width: min(1400px, 100%);
  min-height: 500px;
  margin: 0 auto;
  padding: 0;
  display: block;
  overflow: hidden;
}

.homepage .hero-grid > div:first-child {
  position: relative;
  z-index: 3;
  width: 49%;
  min-height: 500px;
  padding: 46px 22px 38px clamp(34px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: transparent;
}

.homepage .eyebrow {
  margin-bottom: 12px;
}

.homepage .display {
  width: min(100%, 540px);
  max-width: none;
  margin-bottom: 16px;
  font-size: clamp(40px, 4.25vw, 58px);
  line-height: .98;
}

.homepage .copy {
  width: min(100%, 490px);
  max-width: none;
  margin-bottom: 22px;
  font-size: 18px;
}

.homepage .hero .btn {
  padding: 14px 24px;
  font-size: 15px;
}

.homepage .hero-visual {
  position: absolute;
  z-index: 1;
  inset: 0 0 0 auto;
  width: 100%;
  height: 500px;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  background: #f4f3ee;
}

.homepage .hero-visual::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -18px;
  background: url("/assets/boxed-hero-family-build006.jpg") center / cover no-repeat;
  filter: blur(12px);
  opacity: .12;
  transform: scale(1.04);
}

.homepage .hero-visual img {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 0;
  width: auto;
  height: 94%;
  max-width: 51%;
  min-height: 0;
  object-fit: contain;
  object-position: right center;
  transform: translateY(-50%);
}

.homepage .hero-visual::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.95) 30%, rgba(255,255,255,.78) 43%, rgba(255,255,255,.34) 56%, rgba(255,255,255,0) 72%);
  pointer-events: none;
}

.homepage .products-section {
  padding: 14px 0 30px;
  background: #fff;
}

.homepage .section-head {
  margin-bottom: 18px;
}

.homepage .section-head h2 {
  font-size: clamp(36px, 4vw, 46px);
}

.homepage .section-head p {
  font-size: 17px;
}

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

.homepage .product-card {
  position: relative;
  min-width: 0;
  min-height: 400px;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(280px, 44%) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #e1e6eb;
  border-radius: 17px;
  box-shadow: 0 9px 25px rgba(20, 36, 58, .10);
  background: #fff;
}

.homepage .product-card > div {
  position: relative;
  z-index: 2;
  width: auto;
  min-width: 0;
  min-height: 400px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: #fff;
}

.homepage .product-logo {
  width: auto;
  max-width: 185px;
  height: 50px;
  margin: 0 0 20px;
  object-fit: contain;
  object-position: left center;
}

.homepage .feedus-product-logo {
  width: 108px;
  max-width: 108px;
  height: 74px;
  margin-top: 0;
  margin-bottom: 16px;
}

.homepage .alarmtag-card {
  grid-column: 1;
  width: 100%;
  justify-self: stretch;
}

.homepage .mybarista-card {
  grid-column: 2;
}

.homepage .mybarista-product-logo {
  width: 245px;
  max-width: 100%;
  height: 76px;
  margin-bottom: 15px;
}

.homepage .mybarista-accent {
  color: #ff5a3b;
}

.homepage .btn-mybarista {
  color: #fff;
  background: linear-gradient(135deg, #ff5038, #ff9d2d);
  box-shadow: 0 13px 26px rgba(255,90,59,.22);
}

.homepage .alarmtag-product-logo {
  width: 255px;
  max-width: 100%;
  height: 90px;
  margin-bottom: 16px;
}

.homepage .alarm-blue {
  color: #0879f9;
}

.homepage .btn-alarmtag {
  background: linear-gradient(135deg, #075fd1, #1185ff);
  color: #fff;
  box-shadow: 0 13px 26px rgba(8,121,249,.22);
}

.homepage .product-card h3 {
  margin-bottom: 10px;
  font-size: 26px;
  line-height: 1.02;
}

.homepage .product-card p {
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 1.35;
}

.homepage .product-card ul {
  margin-bottom: 16px;
  gap: 7px;
}

.homepage .product-card li {
  font-size: 14px;
}

.homepage .product-card .btn {
  padding: 12px 17px;
  font-size: 14px;
}

.homepage .product-card figure {
  position: relative;
  z-index: 1;
  inset: auto;
  min-width: 0;
  min-height: 400px;
  height: 100%;
  margin: 0;
  border-left: 1px solid #e5e9ed;
  border-radius: 0;
  background: #eef3f0;
}

.homepage .product-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.homepage .info-strip {
  padding: 0 0 28px;
  background: #fff;
}

.homepage .info-grid {
  border-radius: 0;
  box-shadow: none;
  border: 0;
  background: #fff;
}

.homepage .info-grid article {
  position: relative;
  padding: 18px 20px 22px;
  border: 0;
}

.homepage .info-grid article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 30%;
  right: 0;
  width: 1px;
  height: 48%;
  background: #dce2e9;
}

.homepage .info-icon {
  width: auto;
  height: 48px;
  margin-bottom: 5px;
  border-radius: 0;
  background: transparent;
  font-size: 38px;
  line-height: 48px;
}

.homepage .info-icon svg {
  width: 42px;
  height: 42px;
  display: block;
}

.homepage .info-grid h4 {
  margin-bottom: 3px;
  font-size: 18px;
}

.homepage .info-grid p {
  max-width: 18ch;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.35;
}

.homepage .band {
  padding: 0;
  background: #fff;
}

.homepage .band > .container {
  width: 100%;
  max-width: none;
}

.homepage .band-wrap {
  position: relative;
  width: min(1400px, 100%);
  min-height: 300px;
  margin: 0 auto;
  display: block;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
}

.homepage .band-copy {
  position: relative;
  z-index: 2;
  width: 56%;
  min-height: 300px;
  padding: 38px 24px 34px clamp(34px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.97) 70%, rgba(255,255,255,.54) 87%, rgba(255,255,255,0) 100%);
}

.homepage .band-copy h2 {
  max-width: 620px;
  margin-bottom: 10px;
  font-size: clamp(34px, 3.8vw, 46px);
}

.homepage .band-copy p {
  max-width: 570px;
  margin-bottom: 0;
  font-size: 16px;
}

.homepage .band-visual {
  position: absolute;
  z-index: 1;
  inset: 0 0 0 auto;
  width: 60%;
  min-width: 0;
  overflow: hidden;
}

.homepage .band-visual::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.86) 16%, rgba(255,255,255,.18) 39%, rgba(255,255,255,0) 58%);
}

.homepage .band-visual img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  object-position: 54% center;
}

.homepage .footer {
  margin-top: 0;
}

.homepage .footer-main {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto minmax(150px, 1fr) auto auto auto;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.homepage .footer-logo img {
  height: 46px;
}

.homepage .footer-tag {
  padding-left: 20px;
  border-left: 1px solid rgba(255,255,255,.24);
  font-size: 14px;
  line-height: 1.25;
}

.homepage .footer-links {
  gap: 18px;
  font-size: 13px;
}

.homepage .footer-socials {
  display: flex;
  gap: 9px;
  padding: 0 18px;
  border-left: 1px solid rgba(255,255,255,.24);
  border-right: 1px solid rgba(255,255,255,.24);
  color: #fff;
  font-size: 18px;
}

.homepage .footer-right {
  font-size: 13px;
}

.homepage .footer-bottom {
  padding: 15px 0 18px;
  font-size: 12px;
}

@media (max-width: 1180px) {
  .homepage .nav-links {
    gap: 20px;
  }

  .homepage .hero-grid > div:first-child {
    width: 51%;
    padding-left: 34px;
  }

  .homepage .display {
    font-size: clamp(40px, 4.8vw, 52px);
  }

  .homepage .product-card > div {
    padding: 24px 21px;
  }

  .homepage .product-card h3 {
    font-size: 23px;
  }

  .homepage .footer-main {
    gap: 16px;
  }

  .homepage .footer-links {
    gap: 13px;
  }
}

@media (max-width: 1050px) {
  .homepage .product-grid {
    grid-template-columns: 1fr;
  }

  .homepage .product-card {
    grid-template-columns: minmax(300px, 43%) minmax(0, 1fr);
  }

  .homepage .alarmtag-card {
    grid-column: auto;
    width: 100%;
  }

  .homepage .mybarista-card {
    grid-column: auto;
  }
}

@media (max-width: 920px) {
  .homepage .hero-grid.container,
  .homepage .hero-grid > div:first-child,
  .homepage .hero-visual {
    min-height: 455px;
    height: 455px;
  }

  .homepage .hero-grid > div:first-child {
    width: 52%;
    padding: 34px 18px 30px 28px;
  }

  .homepage .display {
    font-size: 40px;
  }

  .homepage .copy {
    font-size: 16px;
  }

  .homepage .hero-visual img {
    width: auto;
    height: 90%;
    max-width: 62%;
  }

  .homepage .product-card,
  .homepage .product-card > div,
  .homepage .product-card figure {
    min-height: 380px;
  }

  .homepage .product-card > div {
    padding: 22px 20px;
  }

  .homepage .product-logo {
    max-width: 150px;
    height: 41px;
    margin-bottom: 18px;
  }

  .homepage .feedus-product-logo {
    width: 90px;
    height: 63px;
    margin-top: 0;
    margin-bottom: 14px;
  }

  .homepage .product-card h3 {
    font-size: 21px;
  }

  .homepage .product-card p,
  .homepage .product-card li {
    font-size: 12px;
  }

  .homepage .product-card .btn {
    padding: 10px 13px;
    font-size: 12px;
  }

  .homepage .band-copy {
    width: 62%;
    padding-left: 28px;
  }

  .homepage .footer-main {
    grid-template-columns: auto 1fr auto;
    padding: 16px 0;
  }

  .homepage .footer-links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
  }

  .homepage .footer-socials {
    display: none;
  }
}

@media (max-width: 720px) {
  .homepage .hero-grid.container {
    min-height: 780px;
  }

  .homepage .hero-grid > div:first-child {
    width: 100%;
    min-height: 410px;
    height: auto;
    padding: 34px 24px 30px;
    justify-content: flex-start;
    background: linear-gradient(180deg, #fff 0%, #fff 88%, rgba(255,255,255,0) 100%);
  }

  .homepage .display {
    width: min(100%, 500px);
    font-size: clamp(39px, 11vw, 50px);
  }

  .homepage .copy {
    width: min(100%, 500px);
  }

  .homepage .hero-visual {
    top: auto;
    bottom: 0;
    width: 100%;
    height: 390px;
    min-height: 390px;
  }

  .homepage .hero-visual::after {
    background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.25) 17%, rgba(255,255,255,0) 38%);
  }

  .homepage .hero-visual img {
    width: 100%;
    height: auto;
    max-width: none;
  }

  .homepage .product-grid {
    grid-template-columns: 1fr;
  }

  .homepage .product-card {
    grid-template-columns: minmax(260px, 46%) minmax(0, 1fr);
  }

  .homepage .product-card,
  .homepage .product-card > div,
  .homepage .product-card figure {
    min-height: 400px;
  }

  .homepage .product-card > div {
    width: auto;
    padding: 24px 20px;
  }

  .homepage .product-logo {
    max-width: 180px;
    height: 48px;
    margin-bottom: 20px;
  }

  .homepage .feedus-product-logo {
    width: 108px;
    height: 74px;
    margin-bottom: 18px;
  }

  .homepage .product-card h3 {
    font-size: 25px;
  }

  .homepage .product-card p,
  .homepage .product-card li {
    font-size: 14px;
  }

  .homepage .product-card .btn {
    padding: 12px 16px;
    font-size: 14px;
  }

  .homepage .info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .homepage .info-grid article:nth-child(2)::after {
    display: none;
  }

  .homepage .info-grid article {
    border-bottom: 1px solid var(--line);
  }

  .homepage .band-wrap,
  .homepage .band-copy {
    min-height: 390px;
  }

  .homepage .band-copy {
    width: 76%;
    padding: 32px 20px 28px 24px;
  }

  .homepage .band-copy h2 {
    font-size: 34px;
  }

  .homepage .band-visual img {
    min-height: 390px;
  }

  .homepage .footer-main {
    grid-template-columns: 1fr;
    gap: 14px;
    justify-items: start;
  }

  .homepage .footer-tag {
    padding-left: 0;
    border-left: 0;
  }

  .homepage .footer-links {
    grid-column: auto;
    grid-row: auto;
    justify-content: flex-start;
  }

  .homepage .footer-right {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .homepage .product-card {
    grid-template-columns: 1fr;
  }

  .homepage .product-card > div {
    min-height: 0;
    padding: 26px 24px;
  }

  .homepage .product-card figure {
    min-height: 300px;
    height: 300px;
    border-top: 1px solid #e5e9ed;
    border-left: 0;
  }
}

@media (max-width: 480px) {
  .homepage .hero-grid.container {
    min-height: 740px;
  }

  .homepage .hero-grid > div:first-child {
    min-height: 390px;
    padding: 28px 18px 24px;
  }

  .homepage .display {
    font-size: 39px;
  }

  .homepage .copy {
    font-size: 16px;
  }

  .homepage .hero-visual {
    height: 360px;
    min-height: 360px;
  }

  .homepage .product-card > div {
    width: auto;
    min-height: 0;
    padding: 24px 20px;
  }

  .homepage .product-card figure {
    min-height: 280px;
    height: 280px;
  }

  .homepage .section-head h2,
  .homepage .band-copy h2 {
    font-size: 32px;
  }

  .homepage .info-grid article {
    padding: 16px 10px 19px;
  }

  .homepage .info-grid h4 {
    font-size: 16px;
  }

  .homepage .info-grid p {
    font-size: 12px;
  }

  .homepage .band-copy {
    width: 88%;
  }
}
