@font-face {
  font-family: Poppins;
  src: url("/fonts/poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
:root {
  color-scheme: light;
  --navy: #101f32;
  --ivory: #faf7ef;
  --gold: #f8d47b;
  font-family: system-ui, sans-serif;
  color: var(--navy);
  background: var(--navy);
}
* { box-sizing: border-box; }
body { margin: 0; padding: clamp(0px, 4vw, 32px) 0; }
.card {
  width: min(100%, 38rem);
  margin: auto;
  border-radius: clamp(0px, 3vw, 22px);
  overflow: hidden;
  background: var(--ivory);
}
.brand {
  background: linear-gradient(0deg, #081728f5, #0817288c), url("/card-assets/sunrise.webp") center 49% / cover, var(--navy);
  color: white;
  text-align: center;
  padding: 28px 16px 24px;
  border-bottom: 3px solid var(--gold);
}
.brand img {
  display: block;
  width: min(64%, 240px);
  height: auto;
  margin: auto;
  border-radius: 8px;
}
h1, h2 { font-family: Georgia, serif; }
h1 {
  color: #ffe5a3;
  font-size: clamp(1.65rem, 6vw, 2.5rem);
  margin: 16px 0 8px;
}
p { margin: 0; line-height: 1.5; }
.content { display: grid; gap: 12px; padding: clamp(14px, 4vw, 28px); }
.actions, .profiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.action, summary {
  min-height: 48px;
  padding: 10px 8px;
  border: 1px solid #b39c68;
  border-radius: 9px;
  background: #fffdf7;
  color: var(--navy);
  text-align: center;
  font: 600 .9rem/1.45 Poppins, system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.action { display: grid; place-items: center; }
.action[hidden] { display: none; }
summary { padding: 13px 8px; }
.primary { background: var(--gold); border-color: #84641b; }
.action:hover, summary:hover { background: #faeac3; }
:focus-visible { outline: 3px solid #126596; outline-offset: 2px; }
.profiles { padding-top: 10px; }
#share-status:empty { display: none; }
.scan {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 10px;
  border-top: 1px solid #d9cba7;
}
.scan img { display: block; }
.scan h2 { margin: 0 0 5px; font-size: 1.15rem; }
@media (max-width: 280px) {
  .actions, .profiles { grid-template-columns: 1fr; }
  .scan { flex-wrap: wrap; }
}
