:root {
  color-scheme: light;
  --tint: #dff5e6;
  --ink: #111111;
  --soft: #55585c;
  --line: rgb(0 0 0 / 0.1);
  --cloud: #f1f2f3;
  --cta: #2d2d2d;
  --bar: 4rem;
  --pad: clamp(1.25rem, 4vw, 3rem);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (min-width: 1024px) { html { font-size: clamp(100%, min(1.1111vw, 1.7778vh), 250%); } }
body {
  margin: 0; min-height: 100svh;
  display: flex; flex-direction: column;
  background: #fff linear-gradient(180deg, var(--tint) 0, #fff 85svh) no-repeat;
  color: var(--ink);
  font: 400 1rem/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, p, ol, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }

.bar { flex: none; height: calc(var(--bar) + env(safe-area-inset-top)); display: flex; align-items: center; padding: env(safe-area-inset-top) var(--pad) 0; }
.brand { display: flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; text-decoration: none; font-weight: 700; letter-spacing: -0.02em; font-size: 1.0625rem; }
.brand img { width: 1.75rem; height: 1.75rem; }

.step {
  flex: 1;
  width: min(100%, 27rem); margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0.5rem 1.25rem calc(2rem + env(safe-area-inset-bottom));
  text-align: center;
}
.icon { width: 4.75rem; height: 4.75rem; border-radius: 1.125rem; box-shadow: 0 0.5rem 1.75rem rgb(51 51 51 / 0.16); }
h1 { margin-top: 1.125rem; font-size: clamp(1.625rem, 6.4vw, 2rem); line-height: 1.12; font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; }
.why { margin-top: 0.5rem; color: var(--soft); text-wrap: pretty; }
.way { width: 100%; margin-top: 1.375rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0 1.5rem;
  border: 0; border-radius: 1.5rem;
  font-weight: 600; letter-spacing: -0.01em; text-decoration: none; cursor: pointer;
  transition: transform 140ms ease-out, background-color 140ms ease-out, opacity 140ms ease-out;
}
.btn:active { transform: scale(0.97); }
.btn-wide { width: 100%; }
.btn-main { background: var(--cta); color: #fff; }
.btn-main:hover { background: #111; }
.btn-main[disabled] { opacity: 0.45; cursor: default; transform: none; }
.btn-quiet { background: rgb(0 0 0 / 0.06); }
.btn-quiet:hover { background: rgb(0 0 0 / 0.1); }
#web { margin-top: 0.75rem; }
.way + #web { margin-top: 1rem; }
.hint { margin-top: 0.5rem; color: var(--soft); font-size: 0.875rem; }
.fine { margin-top: 0.625rem; color: var(--soft); font-size: 0.8125rem; }
.note { padding: 0.875rem 1rem; border-radius: 1.25rem; background: var(--cloud); text-wrap: pretty; }
.note + .btn { margin-top: 0.75rem; }

.steps { list-style: none; padding: 0.25rem 1rem; border-radius: 1.5625rem; background: var(--cloud); text-align: left; }
.steps li { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 0; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: 0; }
.num { flex: none; display: grid; place-items: center; width: 1.625rem; height: 1.625rem; border-radius: 50%; background: var(--cta); color: #fff; font-size: 0.8125rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.text { flex: 1; min-width: 0; line-height: 1.3; }
.text b { display: block; font-weight: 600; letter-spacing: -0.012em; }
.text small { display: block; margin-top: 0.0625rem; color: var(--soft); font-size: 0.8125rem; }
.glyph { flex: none; width: 1.5rem; height: 1.5rem; fill: none; stroke: #007aff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.glyph-app { flex: none; width: 1.75rem; height: 1.75rem; border-radius: 0.4375rem; }

.qr { display: inline-block; padding: 0.875rem 0.875rem 0.625rem; border-radius: 1.5625rem; background: #fff; box-shadow: 0 0 2.5rem rgb(51 51 51 / 0.1); }
.qr img { width: 11rem; height: 11rem; }
.qr figcaption { margin-top: 0.375rem; color: var(--soft); font-size: 0.875rem; }

@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* Small phones: the whole step on one screen. */
@media (max-height: 700px) {
  :root { --bar: 3.25rem; }
  .icon { width: 3.5rem; height: 3.5rem; border-radius: 0.875rem; }
  h1 { margin-top: 0.75rem; }
  .way { margin-top: 1rem; }
  .steps li { padding: 0.5625rem 0; }
  .step { padding-bottom: calc(1rem + env(safe-area-inset-bottom)); }
}
