:root {
  font-family:
    Inter,
    system-ui,
    -apple-system,
    sans-serif;
  color: #18243d;
  background: #f8fbff;
  font-size: 16px;
  line-height: 1.6;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: #20549c;
}
header,
main,
footer {
  max-width: 780px;
  margin: auto;
  padding: 24px max(20px, env(safe-area-inset-left));
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
header > a:first-child {
  font:
    700 26px Georgia,
    serif;
  color: #172554;
  text-decoration: none;
}
header span {
  color: #e17a6f;
}
.back {
  font-weight: 600;
}
.intro img {
  border: 1px solid #dce5f2;
  border-radius: 20px;
  box-shadow: 0 8px 24px #17255412;
}
.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #52627d;
}
h1 {
  font:
    700 clamp(30px, 6vw, 46px)/1.13 Georgia,
    serif;
  margin: 16px 0;
}
h2 {
  font-size: 19px;
}
.intro > p:not(.eyebrow) {
  max-width: 640px;
}
button {
  font: inherit;
  font-weight: 700;
  background: #2563b8;
  color: white;
  border: 0;
  border-radius: 12px;
  padding: 14px 20px;
  cursor: pointer;
  min-height: 48px;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
#installStatus {
  color: #52627d;
  font-size: 14px;
}
details {
  margin: 12px 0;
  background: white;
  border: 1px solid #dce5f2;
  border-radius: 16px;
  padding: 0 20px;
}
summary {
  padding: 18px 0;
  font-weight: 700;
  cursor: pointer;
  min-height: 54px;
}
details[open] {
  border-color: #709bd3;
}
ol {
  padding-left: 24px;
  margin-top: 0;
}
li {
  padding: 6px 0;
}
aside {
  margin-top: 28px;
  padding: 22px;
  background: #eaf2ff;
  border-radius: 16px;
}
footer {
  display: flex;
  gap: 24px;
  padding-bottom: max(30px, env(safe-area-inset-bottom));
}
a,
li,
p {
  overflow-wrap: anywhere;
}
:focus-visible {
  outline: 3px solid #b45e58;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 400px) {
  header,
  main,
  footer {
    padding-left: 16px;
    padding-right: 16px;
  }
  details,
  aside {
    padding-left: 16px;
    padding-right: 16px;
  }
}
@media (display-mode: standalone) {
  header {
    padding-top: max(24px, env(safe-area-inset-top));
  }
}
