:root {
  color-scheme: light dark;
  --bg: #f7faf8;
  --surface: #ffffff;
  --ink: #17212e;
  --muted: #5c6878;
  --accent: #46b38f;
  --accent-strong: #227b60;
  --line: rgba(23, 33, 46, 0.14);
  --shadow: rgba(23, 33, 46, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #10161d;
    --surface: #18212b;
    --ink: #f6f8fb;
    --muted: #b0bdca;
    --line: rgba(246, 248, 251, 0.14);
    --shadow: rgba(0, 0, 0, 0.28);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(70, 179, 143, 0.14), transparent 42%),
    var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

main {
  width: min(480px, 100%);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 48px var(--shadow);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: 0;
}

p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.button.secondary,
.button.subtle {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.button.subtle {
  width: 100%;
}

small {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.45;
}

.status {
  min-height: 22px;
  margin: 16px 0 0;
  color: var(--accent-strong);
  font-size: 14px;
}

.is-desktop #openLink {
  display: none;
}

.is-android #openLink,
.is-android #installLink {
  display: none;
}

@media (max-width: 430px) {
  body {
    padding: 18px;
  }

  main {
    padding: 24px;
  }

  .button {
    width: 100%;
  }
}
