:root {
  --ink: #141d29;
  --soft: rgba(20, 29, 41, 0.66);
  --line: rgba(20, 29, 41, 0.12);
  --orange: #ff981d;
  --orange-deep: #f08400;
  --paper: #ffffff;
  --wash: #f7f8f8;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--orange-deep); }

.page {
  max-width: 680px;
  margin: 0 auto;
  padding: 28px 22px 64px;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.masthead img { height: 34px; width: auto; display: block; }

.masthead nav { display: flex; gap: 18px; font-size: 15px; }
.masthead nav a { color: var(--soft); text-decoration: none; }
.masthead nav a:hover, .masthead nav a[aria-current="page"] { color: var(--ink); }

h1 { font-size: 30px; line-height: 1.2; margin: 0 0 10px; letter-spacing: -0.01em; }
h2 { font-size: 20px; line-height: 1.3; margin: 34px 0 8px; }
p, li { color: var(--soft); }
p { margin: 0 0 14px; }
ul { margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 6px; }
strong { color: var(--ink); }

.updated { font-size: 14px; margin-bottom: 26px; }

.button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-align: center;
}
.button:hover { background: var(--orange-deep); }

.button.quiet {
  background: var(--wash);
  color: var(--ink);
}
.button.quiet:hover { background: #eceeee; }

/* Home and share pages sit in the middle of the screen. */
.centered {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}
.centered .icon { width: 96px; height: 96px; border-radius: 22px; margin-bottom: 26px; }
.centered h1 { max-width: 15em; }
.centered p { max-width: 26em; }
.centered .actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 320px;
  margin: 18px 0 8px;
}
.centered .steps {
  text-align: left;
  max-width: 26em;
  margin: 22px auto 0;
  padding: 18px 20px 6px 40px;
  background: var(--wash);
  border-radius: 14px;
}
.centered .small { font-size: 14px; margin-top: 26px; }
.centered .small a { color: var(--soft); }

[hidden] { display: none !important; }
