.landing-materials {
  padding: 32px 16px;
}

.landing-card {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  background: #151a22;
  border: 1px solid #2a3342;
  border-radius: 18px;
}

.landing-card-head {
  margin-bottom: 24px;
}

.landing-card-head h2 {
  margin: 0 0 8px 0;
  font-size: 28px;
}

.landing-card-head p {
  margin: 0;
  color: #b7b7b7;
}

.landing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .landing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .landing-grid {
    grid-template-columns: 1fr;
  }
}

.landing-item {
  display: flex;
  flex-direction: column;
  background: #0b0f16;
  border: 1px solid #2a3342;
  border-radius: 16px;
  overflow: hidden;
}

.landing-item-image {
  padding: 0;
}

.landing-item-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.landing-item-body {
  padding: 14px;
}

.landing-item-body h3 {
  margin: 0 0 8px 0;
  font-size: 22px;
  line-height: 1.2;
}

.landing-item-body p {
  margin: 0;
  color: #b7b7b7;
  font-size: 14px;
  line-height: 1.45;
}

.landing-mounts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.mount-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #3b4a63;
  background: #111a28;
  color: #e8e8e8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.mount-pill {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #3b4a63;
  background: #111a28;
  color: #e8e8e8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.mount-pill:hover {
  border-color: #9cc2ff;
}

.mount-pill.is-active {
  background: #9cc2ff;
  color: #0f1115;
  border-color: #9cc2ff;
}

.landing-choice-card .landing-controls {
  display: none;
  margin-top: 14px;
}

.landing-choice-card input[type="radio"]:checked + label .landing-controls {
  display: block;
}

.landing-choice-card .landing-item-image {
  background: #0b0f16;
  padding: 10px;
  border-bottom: 1px solid #2a3342;
}

.landing-choice-card .landing-item-image img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  display: block;
}

.landing-choice-card .landing-item-body {
  padding: 14px;
}

.landing-choice-card .label {
  font-weight: 800;
  font-size: 15px;
  line-height: 1.2;
}

.grid.choice-grid.has-selection .tile.choice {
  opacity: 0.42;
  filter: grayscale(0.15);
}

.grid.choice-grid.has-selection .tile.choice:has(input[type="radio"]:checked) {
  opacity: 1;
  filter: none;
}

/* Euro/preset description text */
.landing-description {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
  font-size: 0.95rem;
}

.landing-build-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-top: 14px;
  padding: 10px 12px;

  border-radius: 10px;
  border: 1px solid #3b4a63;

  background: #1a2435;
  color: #ffffff;

  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.landing-build-button:hover {
  border-color: #9cc2ff;
  background: #23314b;
}

/* Hide build / continue buttons by default */
.landing-choice-card .landing-build-button {
  display: none;
}

/* Show build / continue buttons when that card's radio is checked */
.landing-choice-card input[type="radio"]:checked + label .landing-build-button {
  display: inline-flex;
}

/* Optional: keep spacing nice when no mount pills exist */
.landing-choice-card .landing-controls {
  margin-top: 14px;
}

.landing-description {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
  font-size: 0.95rem;
}

/* =========================
   Modal
   ========================= */
.keystone-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.keystone-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.keystone-modal-panel {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100vw - 32px));
  margin: 60px auto;
  background: #1b1f26;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.keystone-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.keystone-modal-head h2 {
  margin: 0;
  font-size: 1.2rem;
}

.keystone-modal-close {
  background: transparent;
  color: white;
  border: 0;
  font-size: 1.5rem;
  cursor: pointer;
}

.keystone-modal-body {
  padding: 20px;
}

.keystone-modal-intro {
  margin-top: 0;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.8);
}

.modal-group + .modal-group {
  margin-top: 18px;
}

.modal-group-title {
  margin-bottom: 10px;
  font-weight: 600;
}

.modal-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.keystone-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 18px 20px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-build-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 180px;
  padding: 10px 16px;

  border-radius: 10px;
  border: 1px solid #3b4a63;

  background: #1a2435;
  color: #ffffff;

  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.modal-build-button:hover {
  border-color: #9cc2ff;
  background: #23314b;
}

.modal-build-button:focus {
  outline: none;
  border-color: #9cc2ff;
  box-shadow: 0 0 0 2px rgba(156, 194, 255, 0.18);
}
