.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.button:is(button) {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.country-button {
  display: grid;
  grid-template-columns: 20px 30px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.country-check {
  color: var(--green);
  font-size: 16px;
  font-weight: 900;
  text-align: center;
}

.country-flag {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 22px;
  line-height: 1;
}

.country-name {
  min-width: 0;
}

.export-panel {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(320px, 1.2fr);
  align-items: center;
  gap: 48px;
  margin-top: 72px;
  padding: 38px;
  border: 1px solid rgba(56, 189, 248, .36);
  border-radius: 18px;
  background: radial-gradient(circle at 80% 12%, rgba(56, 189, 248, .13), transparent 34%), var(--panel);
}

.export-panel[hidden] {
  display: none;
}

.export-copy h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
}

.export-copy > p:not(.eyebrow) {
  color: var(--muted);
}

.export-note {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.55;
}

.export-preview-frame {
  width: min(100%, 480px);
  justify-self: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #061625;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .34);
}

#export-preview {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  background: #06111e;
}

@media (max-width: 780px) {
  .export-panel {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 22px;
  }

  .export-copy h2 {
    font-size: 29px;
  }

  .export-preview-frame {
    order: -1;
  }
}
