:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #26354b;
  background: #f4f5fa;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
.page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: max(24px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(22px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
  background: radial-gradient(ellipse at 10% 8%, #eee9f6 0, transparent 55%), radial-gradient(ellipse at 90% 95%, #e7edf6 0, transparent 55%);
}
.card {
  width: 100%;
  max-width: 460px;
  padding: 30px 30px 24px;
  background: #fff;
  border: 1px solid #e8e7ef;
  border-radius: 26px;
  box-shadow: 0 14px 50px #3742660a;
  text-align: center;
}
.logo { display: block; width: 150px; height: auto; margin: 0 auto 24px; }
.label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #766090; margin: 0 0 12px; }
h1 { font-size: 28px; line-height: 1.2; font-weight: 650; letter-spacing: -.035em; margin: 0 0 14px; }
.description { font-size: 16px; line-height: 1.6; color: #58657a; margin: 0 0 24px; }
.button { display: flex; justify-content: center; align-items: center; gap: 12px; min-height: 54px; width: 100%; padding: 14px 16px; border: 1px solid transparent; border-radius: 14px; font-size: 16px; line-height: 1.3; font-weight: 600; text-decoration: none; }
.primary { background: #375384; color: #fff; box-shadow: 0 5px 14px #37538416; }
.primary:hover { background: #2d456e; }
.primary:active { background: #263c60; }
svg { display: block; width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.note { color: #657185; font-size: 13px; line-height: 1.6; margin: 12px 5px 22px; }
.save-help { text-align: left; border-top: 1px solid #edf0f5; }
summary { list-style: none; display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding-top: 8px; color: #375384; font-size: 14px; font-weight: 600; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.chevron { width: 16px; height: 16px; margin-left: 2px; }
details[open] .chevron { transform: rotate(180deg); }
.instructions { padding: 12px 2px 0; font-size: 14px; color: #58657a; line-height: 1.65; }
.instructions p { margin: 0 0 14px; }
.instructions h2 { font-size: 14px; color: #26354b; margin: 18px 0 5px; }
.help-intro { border-radius: 12px; background: #f5f3f8; padding: 12px; }
.instructions .old-shortcut { font-size: 12px; color: #657185; margin: 20px 0 0; }
.install-button { background: #375384; color: #fff; margin-top: 12px; }
.install-status { padding-top: 10px; }
footer { display: flex; gap: 8px; font-size: 11px; letter-spacing: .015em; color: #7b8295; margin-top: 20px; }
:focus-visible { outline: 3px solid #9276bb; outline-offset: 4px; }
@media (max-width: 380px) {
  .card { padding: 24px 20px 20px; border-radius: 22px; }
  h1 { font-size: 25px; }
  .logo { width: 132px; margin-bottom: 20px; }
}
@media (max-height: 650px) {
  .page { justify-content: flex-start; }
  .logo { width: 120px; margin-bottom: 18px; }
}
