* { box-sizing: border-box; margin: 0; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: #f3f5f9;
  color: #1a1f2b;
}

.card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 20px;
  padding: 36px 24px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(20, 30, 60, 0.08);
}

h1 { font-size: 1.6rem; }
.subtitle { margin-top: 6px; color: #5b6475; }

.options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 22px 12px;
  border: 1.5px solid #e2e6ee;
  border-radius: 16px;
  background: #fff;
  color: inherit;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.option:hover, .option:focus-visible {
  border-color: #2f6fed;
  box-shadow: 0 4px 14px rgba(47, 111, 237, 0.15);
  transform: translateY(-2px);
  outline: none;
}
.option svg { width: 44px; height: 44px; }
#android svg { fill: #3ddc84; }
#ios svg { fill: #1a1f2b; }
.label { font-weight: 600; font-size: 1.05rem; }
.hint { font-size: .8rem; color: #5b6475; }

dialog {
  border: none;
  border-radius: 18px;
  padding: 28px 24px;
  max-width: 340px;
  width: calc(100% - 48px);
  text-align: center;
  margin: auto;
}
dialog::backdrop { background: rgba(15, 20, 35, 0.45); }
dialog h2 { font-size: 1.3rem; }
dialog p { margin-top: 10px; color: #5b6475; line-height: 1.5; }
.close {
  margin-top: 20px;
  padding: 10px 28px;
  border: none;
  border-radius: 10px;
  background: #2f6fed;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

footer { margin-top: 24px; font-size: .8rem; color: #8a93a5; }
