/* metsuke.app. The app's light world: a pale ground, dark ink, the court green for the one
   thing that is not text. System type throughout (no outside fonts). */
:root {
  --ground: #F4F6F2;
  --ink: #16201A;
  --soft: #4E5B53;
  --green: #1E6B45;
  --line: rgba(22, 32, 26, 0.12);
  color-scheme: light;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--ground);
  color: var(--ink);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap {
  flex: 1;
  width: 100%;
  max-width: 34rem;
  margin: 0 auto;
  padding: 18vh 24px 48px;
}

.icon {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 1px 2px rgba(22, 32, 26, 0.08), 0 8px 24px rgba(22, 32, 26, 0.10);
}

h1 {
  margin: 28px 0 10px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2.4rem, 7vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.lead {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--soft);
  max-width: 28rem;
}

.pill {
  display: inline-block;
  margin: 28px 0 0;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
}

a { color: var(--green); text-underline-offset: 3px; }

.foot {
  width: 100%;
  max-width: 34rem;
  margin: 0 auto;
  padding: 20px 24px 32px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.foot a { color: var(--soft); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }

@media (max-width: 480px) {
  .wrap { padding-top: 12vh; }
  .lead { font-size: 1.15rem; }
}
