/* Homepage: premium product landing */

/* ═══════════════════════════════════════════
   Premium Hero
   ═══════════════════════════════════════════ */
.hero--premium {
  position: relative;
  isolation: isolate;
  padding: clamp(2.75rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  background: #0a0c0f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: visible;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 75% at 50% 0%, #000 20%, transparent 75%);
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.hero__orb--green {
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  top: -18%;
  left: -8%;
  background: radial-gradient(circle, rgba(93, 161, 67, 0.22), transparent 68%);
}

.hero__orb--blue {
  width: min(420px, 55vw);
  height: min(420px, 55vw);
  right: -5%;
  bottom: -25%;
  background: radial-gradient(circle, rgba(61, 133, 198, 0.16), transparent 68%);
}

.hero__container {
  position: relative;
  z-index: 1;
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

.hero__content {
  max-width: 34rem;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.25rem;
  padding: 0.35rem 0.75rem 0.35rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  color: #9ca8b8;
  letter-spacing: 0.01em;
}

.hero__kicker-icon {
  border-radius: 6px;
  flex-shrink: 0;
}

.hero__headline {
  margin: 0 0 1.125rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.8vw, 3.35rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #f8fafc;
  text-shadow: none;
}

.hero__headline span {
  background: linear-gradient(135deg, #ffffff 0%, #c8efaa 42%, #6fa84a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subhead {
  margin: 0 0 1.75rem;
  font-family: var(--font-sans);
  font-size: clamp(1.02rem, 1.6vw, 1.125rem);
  font-weight: 400;
  line-height: 1.7;
  color: #94a3b8;
  max-width: 32rem;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero--premium .hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.35rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.hero--premium .hero__button--primary {
  color: #fff !important;
  background: linear-gradient(180deg, #6fa84a 0%, #5d8c3e 100%);
  border-color: rgba(111, 168, 74, 0.5);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.25),
    0 10px 28px rgba(93, 161, 67, 0.35);
}

.hero--premium .hero__button--primary:hover {
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.25),
    0 14px 32px rgba(93, 161, 67, 0.42);
}

.hero--premium .hero__button--secondary {
  color: #e2e8f0 !important;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.hero--premium .hero__button--secondary:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.hero__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__metric {
  flex: 1 1 auto;
  min-width: 7rem;
  padding: 1rem 1.25rem 0 0;
}

.hero__metric + .hero__metric {
  padding-left: 1.25rem;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__metric dt {
  margin: 0 0 0.25rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  color: #64748b;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero__metric dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #f1f5f9;
}

/* Showcase / browser mockup */
.hero__media {
  position: relative;
}

.hero__browser {
  position: relative;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #111419;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 32px 64px -12px rgba(0, 0, 0, 0.65),
    0 0 80px rgba(93, 161, 67, 0.08);
  transform: perspective(1400px) rotateY(-6deg) rotateX(3deg);
  transition: transform 0.4s ease;
}

.hero__media:hover .hero__browser {
  transform: perspective(1400px) rotateY(-3deg) rotateX(1deg);
}

.hero__browser-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero__browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.hero__browser-dot:nth-child(1) { background: #ff5f57; }
.hero__browser-dot:nth-child(2) { background: #febc2e; }
.hero__browser-dot:nth-child(3) { background: #28c840; }

.hero__browser-title {
  margin-left: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  color: #64748b;
}

.hero__browser-screen {
  background: #080c12;
  line-height: 0;
}

.hero__browser-screen img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
}

/* Legacy hero class aliases (other pages) */
.hero--product {
  position: relative;
  min-height: auto;
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}

/* ── Stats strip ── */
.home-strip {
  border-top: 1px solid rgba(149, 193, 255, 0.1);
  border-bottom: 1px solid rgba(149, 193, 255, 0.1);
  background: rgba(10, 16, 26, 0.75);
  backdrop-filter: blur(8px);
}

.home-strip .container {
  padding-top: 1.35rem;
  padding-bottom: 1.35rem;
}

.home-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.home-strip__item {
  text-align: center;
  padding: 0.75rem 1rem;
  position: relative;
}

.home-strip__item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(149, 193, 255, 0.2), transparent);
}

.home-strip__item strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2rem);
  line-height: 1;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, #a8c8f0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.35rem;
}

.home-strip__item span {
  font-size: 0.82rem;
  color: #8fa8c8;
  font-weight: 500;
}

/* ── Section heads ── */
.section-head {
  margin-bottom: 1.85rem;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  align-items: center;
}

.section-head__title {
  letter-spacing: -0.025em;
  margin: 0;
  color: #f4f8ff;
}

.section-head__title:not(.mc-heading) {
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

.section-head__title.mc-heading {
  font-size: var(--mc-pixel-size-md);
  letter-spacing: 0.03em;
  line-height: 1.35;
}

.section-head__desc {
  color: #9eb5d6;
  margin: 0;
  line-height: 1.65;
  font-size: 1rem;
}

/* ── Nav cards ── */
.nav-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.nav-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(149, 193, 255, 0.14);
  background: linear-gradient(165deg, rgba(18, 29, 44, 0.9), rgba(10, 17, 27, 0.95));
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  min-height: 200px;
}

.nav-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 199, 103, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.nav-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  border: 1px solid rgba(149, 193, 255, 0.2);
  background: rgba(98, 162, 255, 0.08);
  flex-shrink: 0;
}

.nav-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.nav-card p {
  margin: 0;
  font-size: 0.88rem;
  color: #9eb5d6;
  line-height: 1.55;
  flex-grow: 1;
}

.nav-card__arrow {
  margin-top: auto;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary);
  transition: transform 0.2s ease;
}

.nav-card:hover .nav-card__arrow {
  transform: translateX(3px);
}

/* ── Showcase ── */
.showcase {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
}

.showcase--reverse .showcase__media { order: 2; }
.showcase--reverse .showcase__body { order: 1; }

.showcase__media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(149, 193, 255, 0.16);
  background: #0a0e14;
}

.showcase__media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
  display: block;
}

.showcase__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}

.showcase__body .section-head__label {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(119, 178, 85, 0.35);
  background: rgba(93, 161, 67, 0.12);
  box-shadow: none;
  font-family: var(--font-pixel);
  font-size: var(--mc-pixel-size-xs);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9dde73;
  text-shadow: var(--mc-pixel-shadow);
}

.showcase__body h2 {
  margin: 0;
  color: #f4f8ff;
}

.showcase__body h2:not(.mc-heading) {
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  line-height: 1.2;
}

.showcase__body h2.mc-heading {
  font-size: var(--mc-pixel-size-md);
  line-height: 1.35;
}

.showcase__body p {
  color: #b8cbe4;
  margin: 0;
  line-height: 1.7;
  max-width: 36rem;
  font-size: 1rem;
}

.showcase__list {
  list-style: none;
  margin: 0.15rem 0 0.35rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  width: 100%;
  max-width: 36rem;
}

.showcase__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: #c5d8ef;
  font-size: 0.92rem;
  line-height: 1.5;
}

.showcase__list li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.1rem;
  background: rgba(119, 178, 85, 0.2);
  border-radius: 50%;
  border: 1px solid rgba(119, 178, 85, 0.5);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2377b255'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ── Feature cards ── */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.feature-card {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(149, 193, 255, 0.12);
  background: linear-gradient(165deg, rgba(16, 26, 40, 0.85), rgba(10, 17, 27, 0.9));
  transition: border-color 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.feature-card:hover {
  border-color: rgba(139, 199, 103, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
}

.feature-card__icon-wrap {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid rgba(149, 193, 255, 0.2);
  background: rgba(98, 162, 255, 0.08);
}

.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.88rem;
  color: #9eb5d6;
  line-height: 1.55;
}

/* ── Edition cards ── */
.edition-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.edition-card {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(149, 193, 255, 0.14);
  overflow: hidden;
  background: linear-gradient(170deg, rgba(18, 29, 44, 0.92), rgba(10, 17, 27, 0.96));
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.edition-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.edition-card__media {
  height: 158px;
  overflow: hidden;
  background: #070b10;
}

.edition-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.edition-card__head-icon img {
  width: 40px;
  height: 40px;
  image-rendering: pixelated;
}

.edition-card__head {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 1.25rem 1.35rem;
  border-bottom: 1px solid rgba(149, 193, 255, 0.1);
}

.edition-card__head-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.edition-card--java .edition-card__head-icon {
  background: rgba(119, 178, 85, 0.15);
  border: 1px solid rgba(119, 178, 85, 0.35);
  color: #8bc767;
}

.edition-card--bedrock .edition-card__head-icon {
  background: rgba(98, 162, 255, 0.15);
  border: 1px solid rgba(98, 162, 255, 0.35);
  color: #7ec8ff;
}

.edition-card__head h3 {
  font-size: 1.15rem;
}

.edition-card__body {
  padding: 1.25rem 1.35rem;
}

.edition-card__body ul {
  list-style: none;
  margin: 0 0 var(--space-md);
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.edition-card__body li {
  font-size: 0.9rem;
  color: #c5d8ef;
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}

.edition-card__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

.edition-card--bedrock .edition-card__body li::before {
  background: var(--color-accent);
}

.edition-card__link {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--color-primary);
}

.edition-card--bedrock .edition-card__link {
  color: var(--color-accent);
}

/* ── Workflow ── */
.workflow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.workflow__step {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(149, 193, 255, 0.12);
  background: linear-gradient(165deg, rgba(14, 23, 35, 0.88), rgba(9, 15, 24, 0.92));
  transition: border-color 0.28s ease, transform 0.28s ease;
}

.workflow__step:hover {
  border-color: rgba(119, 178, 85, 0.35);
  transform: translateY(-2px);
}

.workflow__step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: var(--space-md);
  border-radius: 50%;
  background: linear-gradient(135deg, #7ec75b, #5a9840);
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  box-shadow: 0 4px 14px rgba(93, 161, 67, 0.4);
}

.workflow__step h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.workflow__step p {
  margin: 0;
  font-size: 0.88rem;
  color: #9eb5d6;
  line-height: 1.55;
}

/* ── Gallery bento ── */
.gallery-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(140px, 17vw);
  gap: 0.75rem;
}

.gallery-bento__item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(149, 193, 255, 0.12);
  background: #0d1118;
}

.gallery-bento__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: opacity 0.3s ease;
}

.gallery-bento__item:hover img {
  opacity: 0.95;
}

.gallery-bento__item a {
  display: block;
  height: 100%;
}

.gallery-bento__item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.7rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #eef4ff;
  background: linear-gradient(180deg, transparent, rgba(6, 10, 16, 0.92));
}

.gallery-bento__item--a { grid-column: span 7; grid-row: span 2; }
.gallery-bento__item--b { grid-column: span 5; }
.gallery-bento__item--c { grid-column: span 5; }
.gallery-bento__item--d { grid-column: span 4; }
.gallery-bento__item--e { grid-column: span 4; }
.gallery-bento__item--f { grid-column: span 4; }

/* ── Split panels ── */
.home-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.home-split__panel {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(149, 193, 255, 0.14);
  background: linear-gradient(165deg, rgba(16, 26, 40, 0.88), rgba(10, 17, 27, 0.94));
  overflow: hidden;
}

.home-split__panel-head {
  padding: 1.25rem 1.35rem;
  border-bottom: 1px solid rgba(149, 193, 255, 0.1);
  background: rgba(8, 14, 22, 0.5);
}

.home-split__panel-head h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  color: #f4f8ff;
}

.home-split__panel-head p {
  margin: 0;
  font-size: 0.86rem;
  color: #8fa8c8;
}

.home-split__panel .article-list__item {
  padding: 1rem 1.35rem;
}

.home-split__panel .article-list__title {
  font-size: 1rem;
}

.home-split__panel-actions {
  padding: 0 1.35rem 1.25rem;
}

/* ── CTA ── */
.home-cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(139, 199, 103, 0.35);
  padding: clamp(2.25rem, 5vw, 3.5rem);
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(119, 178, 85, 0.2), transparent 55%),
    linear-gradient(165deg, rgba(16, 28, 42, 0.96), rgba(9, 16, 26, 0.98));
  box-shadow: var(--shadow-lg);
}

.home-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/launcher-ui.svg") center / 420px no-repeat;
  opacity: 0.035;
  pointer-events: none;
}

.home-cta h2 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  margin-bottom: 0.6rem;
  color: #f4f8ff;
}

.home-cta p {
  color: #b8cbe4;
  max-width: 520px;
  margin: 0 auto var(--space-lg);
  line-height: 1.65;
  font-size: 1rem;
}

/* ── Section spacing tweak ── */
.section--home {
  position: relative;
  padding-block: var(--section-space);
}

.section--home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(149, 193, 255, 0.12), transparent);
}

.section--home:first-of-type::before {
  display: none;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .hero__layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero__content {
    max-width: none;
  }

  .hero__media {
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
  }

  .hero__browser {
    transform: none;
  }

  .hero__media:hover .hero__browser {
    transform: none;
  }

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

  .showcase {
    grid-template-columns: 1fr;
  }

  .showcase--reverse .showcase__media,
  .showcase--reverse .showcase__body {
    order: unset;
  }
}

@media (max-width: 768px) {
  .home-strip__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .home-strip__item:not(:last-child)::after {
    display: none;
  }

  .nav-cards,
  .feature-cards,
  .workflow,
  .edition-grid,
  .home-split {
    grid-template-columns: 1fr;
  }

  .gallery-bento {
    grid-template-columns: 1fr;
  }

  .gallery-bento__item--a,
  .gallery-bento__item--b,
  .gallery-bento__item--c,
  .gallery-bento__item--d,
  .gallery-bento__item--e,
  .gallery-bento__item--f {
    grid-column: span 1;
    grid-row: auto;
  }

  .hero__browser-screen img {
    height: auto;
  }
}

@media (min-width: 1101px) {
  .hero__content {
    padding-right: 1rem;
  }
}

/* Remaining GIF layout: this file loads after motion.css */
.hero__media {
  padding: 1.15rem 1.4rem 1.5rem;
}

.nav-card__icon {
  width: 56px;
  height: 56px;
  padding: 5px;
}

.nav-card__icon img {
  width: 44px;
  height: 44px;
  image-rendering: pixelated;
}
