:root {
  --bg: #fbfbfa;
  --fg: #15171a;
  --muted: #6b7076;
  --line: #e6e7e8;
  --accent: #1f5f7a;
  --hover: #f1f3f4;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111315; --fg: #ecedee; --muted: #8d9399; --line: #25292d;
    --accent: #7cc0db; --hover: #1a1d20; color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.page {
  max-width: 600px;
  margin: 0 auto;
  padding-block: clamp(56px, 12vw, 120px) 72px;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.page.home { gap: 64px; }

.icon {
  width: 16px; height: 16px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}

.label, h2 {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.back { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; transition: color .15s ease; }
.back .icon { width: 14px; height: 14px; transition: transform .15s ease; }
.back:hover { color: var(--fg); }
.back:hover .icon { transform: translateX(-2px); }

header { display: flex; flex-direction: column; gap: 20px; }
.intro {
  margin: 0;
  font-size: clamp(1.5rem, 4.2vw, 1.875rem);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.intro .soft { color: var(--muted); }
.app-icon { width: 64px; height: 64px; }

.meta {
  display: flex; flex-wrap: wrap; gap: 6px 16px;
  color: var(--muted); font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}
.meta > span { display: inline-flex; align-items: center; gap: 6px; }
.meta .icon { width: 14px; height: 14px; }

section { display: flex; flex-direction: column; gap: 12px; }
section > p { color: var(--muted); }
section p a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
section p a:hover { text-decoration-color: var(--muted); }

.list { list-style: none; margin: 0 -12px; padding: 0; display: flex; flex-direction: column; }
.list a {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 2px 12px;
  padding: 12px;
  border-radius: 10px;
  transition: background-color .15s ease;
}
.list a:hover { background: var(--hover); }
.list .lead { color: var(--muted); align-self: center; width: 18px; height: 18px; transition: color .15s ease; }
.list a:hover .lead { color: var(--accent); }
.list .name { font-weight: 500; display: flex; align-items: center; gap: 6px; }
.list .arrow { width: 14px; height: 14px; color: var(--muted); transition: transform .15s ease, color .15s ease; }
.list a:hover .arrow { transform: translate(2px, -2px); color: var(--accent); }
.list .desc { grid-column: 2 / -1; color: var(--muted); font-size: 0.9375rem; min-width: 0; }
.list .domain { color: var(--muted); font-size: 0.875rem; align-self: center; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-size: 0.9375rem; color: var(--fg);
  background: transparent;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px 8px 14px;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.pill .icon { color: var(--muted); }
.pill.trailing { padding: 8px 14px 8px 16px; gap: 6px; }
.pill:hover { border-color: var(--muted); background: var(--hover); }
.pill.primary { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.pill.primary .icon { color: var(--bg); }
.pill.primary:hover { background: color-mix(in srgb, var(--fg) 86%, var(--bg)); border-color: transparent; }
.pill.copied, .pill.copied .icon { color: var(--accent); }

figure { margin: 0; }
.shot { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; }

.checks, .steps, .bullets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: baseline; }
.checks .icon { color: var(--accent); transform: translateY(3px); }
.steps { counter-reset: step; gap: 14px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--muted); }
.steps li::before {
  content: counter(step);
  width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-size: 0.75rem; font-weight: 500; color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.steps li > span, .bullets li > span { min-width: 0; }
.bullets li { display: grid; grid-template-columns: 16px 1fr; gap: 12px; color: var(--muted); }
.bullets li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--muted); margin: 11px 0 0 6px; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
