:root {
  color-scheme: light;
  --paper: #fff;
  --surface: #f5f5f7;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --accent: #0071e3;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button, input, textarea { font: inherit; }
[hidden] { display: none !important; }
.masthead, footer { max-width: 1064px; margin-inline: auto; padding-inline: 24px; }
.masthead { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { font-size: 1.375rem; font-weight: 650; letter-spacing: -.04em; text-decoration: none; }
.masthead > span { color: var(--muted); font-size: .75rem; }
main { max-width: 1064px; margin: 0 auto 80px; padding-inline: 24px; text-align: center; }
.hero { padding: 72px 0 64px; }
.app-icon { display: block; width: 120px; height: auto; aspect-ratio: 1; margin: 0 auto 32px; border-radius: 27%; box-shadow: 0 14px 36px -16px #b4757f70, 0 2px 5px #00000008; }
.eyebrow { margin: 0 0 16px; font-size: 1.125rem; line-height: 1.4; font-weight: 600; letter-spacing: -.02em; }
h1 { max-width: 780px; margin: 0 auto 24px; font-size: clamp(2.75rem, 1.5rem + 4vw, 4.5rem); line-height: 1.06; font-weight: 700; letter-spacing: -.055em; text-wrap: balance; }
.intro { max-width: 540px; margin: 0 auto 32px; color: var(--muted); font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem); line-height: 1.5; letter-spacing: -.02em; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border: 1px solid var(--accent); border-radius: 999px; font-size: 1.0625rem; line-height: 1.3; letter-spacing: -.015em; text-decoration: none; }
.primary, .actions:has(#open-app[hidden]) .secondary { color: #fff; background: var(--accent); }
.secondary { color: var(--accent); background: transparent; }
@media (hover: hover) {
  .primary:hover, .actions:has(#open-app[hidden]) .secondary:hover { background: #0077ed; border-color: #0077ed; }
  .secondary:hover { color: #fff; background: var(--accent); }
  footer a:hover, .text-button:hover { text-decoration: underline; }
}
a:focus-visible, button:focus-visible, summary:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.confirmation { max-width: 430px; margin: 18px auto 0; color: var(--muted); font-size: .8125rem; line-height: 1.5; text-wrap: pretty; }
.installation { padding: 44px 48px 32px; background: var(--surface); border-radius: 28px; text-align: left; }
h2 { margin: 0 0 36px; font-size: clamp(1.5rem, 1rem + 1.5vw, 2rem); line-height: 1.15; font-weight: 650; letter-spacing: -.035em; text-wrap: balance; }
ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
li { counter-increment: step; }
li::before { content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 16px; border: 1px solid #a1a1a6; border-radius: 50%; font-size: .9375rem; line-height: 1; font-weight: 500; }
h3 { margin: 0 0 8px; font-size: 1.0625rem; line-height: 1.3; letter-spacing: -.02em; font-weight: 600; }
li p { margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.5; text-wrap: pretty; }
.small { margin: 28px 0 0; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; line-height: 1.5; text-wrap: pretty; }
details { max-width: 680px; margin: 28px auto 0; padding: 0 4px; text-align: left; font-size: .875rem; line-height: 1.6; }
summary { cursor: pointer; min-height: 44px; padding-block: 10px; }
details p { color: var(--muted); margin-block: 8px; }
.text-button { min-height: 44px; border: 0; background: none; padding: 10px 0; color: var(--accent); cursor: pointer; text-underline-offset: 4px; }
#manual-copy { margin-top: 16px; }
textarea { display: block; width: 100%; margin-top: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); overflow-wrap: anywhere; resize: vertical; font-size: .8125rem; }
#status, .noscript { max-width: 680px; margin: 20px auto 0; font-size: .875rem; line-height: 1.6; text-wrap: pretty; }
#status:empty { display: none; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-block: 24px; color: var(--muted); font-size: .75rem; line-height: 1.5; }
footer a { min-height: 24px; display: inline-flex; align-items: center; text-underline-offset: 4px; text-decoration: none; white-space: nowrap; }
@media (max-width: 700px) {
  .masthead { min-height: 56px; margin-inline: 24px; padding-inline: 0; }
  main { margin-bottom: 48px; }
  .hero { padding: 48px 0; }
  .app-icon { width: 96px; margin-bottom: 28px; }
  .eyebrow { font-size: 1rem; margin-bottom: 12px; }
  h1 { margin-bottom: 20px; }
  .intro { margin-bottom: 28px; }
  .actions { flex-direction: column; gap: 12px; }
  .button { max-width: 100%; }
  .confirmation { max-width: 290px; }
  .installation { padding: 28px 24px 24px; border-radius: 24px; }
  h2 { margin-bottom: 28px; }
  ol { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  li { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 14px; align-items: start; }
  li::before { grid-row: 1 / 3; width: 28px; height: 28px; margin: 0; font-size: .8125rem; }
  h3 { margin-top: 3px; }
  li p { grid-column: 2; }
  details { margin-top: 20px; }
  footer { margin-inline: 24px; padding: 20px 0; flex-wrap: wrap; gap: 8px 24px; }
}
@media (prefers-contrast: more) {
  :root { --muted: #424245; --line: #86868b; --accent: #0056ad; }
  li::before { border-color: var(--ink); }
}
