:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: #555e75;
  background: #f0f1ff;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
  min-width: 280px;
  min-height: 100vh;
  margin: 0;
}

.page {
  width: min(100%, 430px);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  padding: calc(102px + env(safe-area-inset-top)) 13px calc(110px + env(safe-area-inset-bottom));
  background-color: #f0f1ff;
  background-image: url("./assets/background.webp");
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center top;
}

.hero { padding: 0 7px; }

.hero-title {
  max-width: 255px;
  margin: 0 0 8px;
  color: #303b41;
  font-size: clamp(19px, 5.55vw, 23px);
  line-height: 1.13;
  font-weight: 700;
}

.hero-introduction {
  margin: 0 0 10px;
  color: #5c7175;
  font-size: clamp(10.5px, 3.45vw, 13px);
  line-height: 1.22;
}

.card {
  margin-top: 9px;
  padding: 10px 8px 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 0 2px;
  color: #586176;
  font-size: clamp(11.5px, 3.8vw, 14px);
  line-height: 1.2;
  font-weight: 700;
}

.badge {
  display: block;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
}

.card-body {
  margin: 0 0 8px;
  color: #a2a4ae;
  font-size: clamp(10px, 3.35vw, 12.5px);
  line-height: 1.2;
}

.detail-list,
.contact-panel {
  margin: 0;
  border-radius: 13px;
  background: #f8f9fe;
}

.detail-list {
  padding: 9px 8px 8px 22px;
  color: #5b647b;
  font-size: clamp(10px, 3.4vw, 12.7px);
  line-height: 1.27;
}

.detail-list li { padding-left: 1px; }
.detail-list li + li { margin-top: 7px; }
.detail-list li::marker { font-weight: 400; }

.contact-panel { padding: 8px 8px 7px; }

.contact-row {
  display: flex;
  align-items: center;
  min-height: 21px;
  color: #5d667c;
  font-size: clamp(10px, 3.35vw, 12.5px);
  line-height: 1.25;
}

.contact-row + .contact-row { margin-top: 2px; }
.contact-label { white-space: nowrap; }
.contact-value { margin-left: 2px; color: #5b9ffc; }

.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  margin-left: 1px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.copy-button:disabled { cursor: default; }
.copy-button img { display: block; width: 14px; height: 14px; }

.text-link,
.link-text { color: #5a9dfb; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link:focus-visible,
.copy-button:focus-visible { outline: 2px solid #1674de; outline-offset: 2px; border-radius: 2px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(28px + env(safe-area-inset-bottom));
  z-index: 2;
  transform: translateX(-50%);
  padding: 9px 14px;
  border-radius: 20px;
  color: white;
  background: #31455c;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.toast.visible { opacity: 1; }

@media (min-width: 431px) {
  body { background: #e9eff9; }
  .page { box-shadow: 0 0 28px rgba(76, 126, 156, 0.08); }
}

@media (prefers-reduced-motion: reduce) {
  .toast { transition: none; }
}
