.home-page,
.product-page {
  background: #f8f9fa;
  color: var(--color-text);
  width: 100%;
}
.home-page h3,
.product-page h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}
.home-lead {
  font-size: 1.125rem !important;
  max-width: 35rem;
}
.home-hero {
  padding-top: 3rem;
}
.home-digi-frame {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 31rem;
  padding: 5.5rem 2rem 5rem;
  border-radius: 3rem;
  background: #fff0e4;
}
.home-digi-frame > img {
  width: 90%;
  max-width: 24rem;
  height: auto;
  position: relative;
}
.digi-caption {
  margin-top: 1.25rem;
  text-align: center;
  font-size: .95rem;
  color: #584140;
}
.digi-color {
  position: absolute;
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}
.digi-color-cyan { width: 3.75rem; aspect-ratio: 1; top: 1.5rem; left: 1.5rem; background: #b8ecf8; }
.digi-color-magenta { width: 1rem; aspect-ratio: 1; top: 1.75rem; right: 2rem; background: #f5b7db; }
.digi-color-yellow { width: 2rem; aspect-ratio: 1; bottom: 1.5rem; left: 25%; background: #fff19a; }
.digi-color-gray { width: 1.5rem; aspect-ratio: 1; bottom: 1.75rem; right: 22%; background: #c7c4c1; }
.home-printer { padding-top: 1rem; }
.printer-range-section { padding-bottom: 2rem; }
.printer-range-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.printer-range-card {
  display: flex;
  flex-direction: column;
  min-height: 23rem;
  overflow: hidden;
  position: relative;
}
/* Four CMYK-inspired dots echo Digi, with a distinct arrangement for each model. */
.printer-range-card { isolation: isolate; padding: 40px 44px 64px; }
.printer-dot {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  width: var(--dot-size);
  height: var(--dot-size);
  top: var(--dot-top, auto);
  right: var(--dot-right, auto);
  bottom: var(--dot-bottom, auto);
  left: var(--dot-left, auto);
}
.printer-dot-cyan { background: #b8ecf8; }
.printer-dot-magenta { background: #f5b7db; }
.printer-dot-yellow { background: #fff19a; }
.printer-dot-gray { background: #d4d5d6; }
.printer-range-card-coral .printer-dot-gray { --dot-size: 1.25rem; --dot-bottom: 1.25rem; --dot-left: 1.25rem; }
.printer-range-card-mint .printer-dot-gray { --dot-size: 2rem; --dot-bottom: 1rem; --dot-right: 23%; }
.printer-range-card-gold .printer-dot-gray { --dot-size: 1rem; --dot-top: 47%; --dot-left: 1rem; }
.printer-range-card-industrial .printer-dot-gray { --dot-size: 1.25rem; --dot-top: 1.25rem; --dot-right: 1.25rem; }
.printer-range-card-coral .printer-dot-cyan { --dot-size: 3.75rem; --dot-top: 1rem; --dot-right: 1rem; }
.printer-range-card-coral .printer-dot-magenta { --dot-size: .75rem; --dot-top: 46%; --dot-left: .75rem; }
.printer-range-card-coral .printer-dot-yellow { --dot-size: 1.75rem; --dot-bottom: 1rem; --dot-right: 24%; }
.printer-range-card-mint .printer-dot-cyan { --dot-size: 1.5rem; --dot-bottom: 8.5rem; --dot-left: .75rem; }
.printer-range-card-mint .printer-dot-magenta { --dot-size: 3.5rem; --dot-top: 1rem; --dot-right: 1.25rem; }
.printer-range-card-mint .printer-dot-yellow { --dot-size: .875rem; --dot-top: 48%; --dot-right: .75rem; }
.printer-range-card-gold .printer-dot-cyan { --dot-size: 1.75rem; --dot-bottom: 1rem; --dot-left: 29%; }
.printer-range-card-gold .printer-dot-magenta { --dot-size: .75rem; --dot-top: 39%; --dot-right: .75rem; }
.printer-range-card-gold .printer-dot-yellow { --dot-size: 3.75rem; --dot-top: 1rem; --dot-right: 1.25rem; }
.printer-range-card-industrial .printer-dot-cyan { --dot-size: 1.5rem; --dot-top: 4.25rem; --dot-right: .75rem; }
.printer-range-card-industrial .printer-dot-magenta { --dot-size: 2.75rem; --dot-bottom: .875rem; --dot-right: 25%; }
.printer-range-card-industrial .printer-dot-yellow { --dot-size: .75rem; --dot-top: 58%; --dot-left: .75rem; }
.printer-model {
  color: var(--color-primary);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  position: relative;
}
.printer-model-industrial { font-size: 1.35rem; line-height: 1.25; }
.printer-range-card h3 { margin-top: 2rem; }
.printer-range-card p { margin: .75rem 0 1.5rem; }
.printer-range-card .button { font-size: 1rem; margin-top: auto; padding-inline: .75rem; width: 100%; }
.printers-hero .section-heading { max-width: 54rem; }
.home-ar-heading { display: flex; align-items: center; justify-content: center; gap: 1.5rem; text-align: left; }
.home-ar-heading > img { flex: 0 0 auto; width: 112px; height: auto; }
.home-ar-heading p { margin-top: 12px; }
.home-machine-frame,
.product-image-frame {
  background: #fff;
  border-radius: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  position: relative;
}
.home-machine-frame {
  min-height: 31rem;
  overflow: visible;
  isolation: isolate;
}
.home-machine-frame:before {
  background: rgba(255, 218, 216, 0.35);
  border-radius: 3rem;
  content: "";
  inset: -12px;
  position: absolute;
  transform: rotate(3deg);
  z-index: -1;
}
.home-machine-frame img {
  height: 100%;
  inset: 0;
  object-fit: contain;
  padding: 2rem;
  position: absolute;
  width: 100%;
  z-index: 1;
  border-radius: 48px;
  background: white;
}
.home-ar {
  padding-top: 5rem;
}
.home-bento {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(2, minmax(18.75rem, auto));
  margin-top: 3rem;
}
.home-party-card {
  border-radius: 2rem;
  grid-row: span 2;
  overflow: hidden;
  position: relative;
}
.home-party-card:after {
  background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.7));
  content: "";
  inset: 0;
  position: absolute;
}
.home-party-card > img {
  height: 100%;
  object-fit: cover;
  position: absolute;
  width: 100%;
}
.home-party-copy {
  bottom: 2rem;
  color: #fff;
  left: 2rem;
  position: absolute;
  right: 2rem;
  z-index: 1;
}
.home-party-copy h3,
.home-party-copy p {
  color: #fff;
  margin-top: 0.6rem;
}
.home-party-copy p {
  color: rgba(255, 255, 255, 0.85);
}
.home-image-badge {
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.2);
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.7rem;
  text-transform: uppercase;
}
.home-feature {
  border: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.home-feature h3 {
  margin-top: 1rem;
}
.home-feature p {
  margin-top: 0.5rem;
}
.home-feature-mint {
  background: rgba(144, 244, 230, 0.1);
}
.home-feature-gold {
  background: rgba(255, 223, 155, 0.14);
}
.home-feature .icon-circle {
  background: #006a61;
}
.home-feature-gold .icon-circle {
  background: #785a00;
}
.home-cta-section {
  padding-top: 2rem;
  padding-bottom: 5rem;
}
.product-hero {
  padding-top: 1.5rem;
}
.product-hero-grid {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}
.product-copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.product-copy > p {
  font-size: 1.125rem;
}
.product-image-frame {
  aspect-ratio: 1.5;
  border-radius: 1rem;
}
.product-image-frame img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.product-feature-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(2, minmax(13.75rem, auto));
  margin-top: 3rem;
}
.product-feature-wide {
  border: 0;
  grid-column: 1;
  grid-row: 1 / span 2;
  overflow: hidden;
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.product-feature-wide > div {
  max-width: 26rem;
  position: relative;
  z-index: 1;
}
.product-feature-wide h3,
.product-feature-card h3 {
  margin-top: 1.4rem;
}
.product-feature-wide p,
.product-feature-card p {
  margin-top: 0.5rem;
}
.product-feature-wide > img {
  width: 100%;
  max-width: 26rem;
  height: auto;
  align-self: flex-end;
  margin-top: auto;
}
.product-feature-card {
  border: 0;
  grid-column: 2;
}
.product-feature-card:nth-child(2) {
  grid-row: 1;
}
.product-feature-card:nth-child(3) {
  grid-row: 2;
}
.product-icon-coral {
  background: rgba(255, 107, 107, 0.2);
}
.product-icon-mint {
  background: rgba(144, 244, 230, 0.28);
}
.product-icon-gold {
  background: rgba(190, 150, 49, 0.2);
}
.product-specs {
  background: #fff;
  border-radius: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  padding: 3rem;
}
.product-features,
.product-page #specifications {
  padding-top: 0;
}
.product-spec-list {
  margin: 2rem 0;
}
.product-spec-list > div {
  border-bottom: 1px solid #e1e3e4;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(10rem, 1fr) 2fr;
  padding: 1.1rem 1.5rem;
}
.product-spec-list dt {
  font-size: 1rem;
  font-weight: 600;
}
.product-spec-list dd {
  color: #584140;
  margin: 0;
}
.product-spec-list a {
  color: #007167;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}
@media (max-width: 767px) {
  .home-hero {
    padding-top: 2rem;
  }
  .home-digi-frame { min-height: 0; padding: 5.5rem 1.5rem 5rem; border-radius: 2rem; }
  .home-digi-frame .digi-color-cyan { width: 3.5rem; top: 1.25rem; left: 1.5rem; }
  .home-digi-frame .digi-color-magenta { width: 1rem; top: 1.5rem; right: 2rem; }
  .home-digi-frame .digi-color-yellow { width: 2rem; bottom: 1.5rem; left: 25%; }
  .home-digi-frame > img { max-width: 17rem; }
  .digi-caption { font-size: .875rem; }
  .home-printer { padding-top: 0; }
  .printer-range-section { padding-bottom: 1rem; }
  .printer-range-grid { grid-template-columns: 1fr; }
  .printer-range-card { min-height: 19rem; }
  .home-ar-heading { flex-direction: column; text-align: center; gap: 1rem; }
  .home-ar-heading > img { width: 88px; }
  .home-machine-frame {
    min-height: 21rem;
  }
  .home-machine-frame:before { display: none; }
  .home-ar { padding-top: 48px; }
  .home-bento,
  .product-feature-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .home-party-card,
  .product-feature-wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 25rem;
  }
  .home-feature {
    min-height: 16rem;
  }
  .product-hero {
    padding-top: 1.5rem;
  }
  .product-hero-grid {
    grid-template-columns: 1fr;
  }
  .product-image-frame {
    order: -1;
  }
  .product-feature-card {
    grid-column: auto;
    grid-row: auto !important;
    min-height: 16rem;
  }
  .product-specs {
    border-radius: 2rem;
    padding: 2rem 1.25rem;
  }
  .product-spec-list > div {
    gap: 0.5rem;
    grid-template-columns: 1fr;
    padding-inline: 0;
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .printer-range-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-color-scheme: dark) {
  .home-page, .product-page { background: var(--color-background); }
  .home-digi-frame { background: #bea38c; }
  .digi-caption { color: #2b1c19; }
  .home-ar-heading > img { background: #bea38c; border-radius: 24px; padding: 8px; }
  .printer-dot-cyan, .digi-color-cyan { background: #235763; }
  .printer-dot-magenta, .digi-color-magenta { background: #683451; }
  .printer-dot-yellow, .digi-color-yellow { background: #66571e; }
  .printer-dot-gray { background: #45494b; }
  .digi-color-gray { background: #8c827a; }
  .home-machine-frame:before { background: #3b2d30; }
  .home-feature-mint { background: #1d3431; }
  .home-feature-gold { background: #342f22; }
  .product-specs { background: var(--color-surface); }
  .product-spec-list > div { border-color: var(--color-border); }
  .product-spec-list dd { color: var(--color-text); }
  .product-spec-list a { color: var(--color-teal); }
  .product-icon-coral { background: #ffdad8; }
  .product-icon-mint { background: #b4ded8; }
  .product-icon-gold { background: #f1e1b6; }
}

@media (min-width: 768px) and (max-width: 1000px) {
  .product-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .product-image-frame { max-width: 640px; width: 100%; margin-inline: auto; }
  .product-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
  .product-feature-wide { grid-column: 1 / -1; grid-row: auto; }
  .product-feature-card { grid-column: auto; grid-row: auto !important; }
}
