:root {
  --bg: #f4f6f2;
  --card: #ffffff;
  --text: #182018;
  --muted: #667062;
  --border: rgba(24, 32, 24, 0.1);
  --primary: #58bf63;
  --primary-dark: #278836;
  --shadow: 0 24px 70px rgba(31, 55, 30, 0.12);
  --radius: 24px;
  --max-width: 920px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(88, 191, 99, 0.24), transparent 28%),
    linear-gradient(180deg, #f8faf5 0%, var(--bg) 100%);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.hero {
  padding: 48px 0 28px;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 22px;
}

.app-icon {
  flex: 0 0 auto;
  width: 104px;
  height: 104px;
  border-radius: 23px;
  box-shadow: 0 18px 42px rgba(31, 55, 30, 0.16);
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(88, 191, 99, 0.12);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
}

h1 {
  margin: 0 0 14px;
  font-size: 56px;
  line-height: 1.1;
  letter-spacing: 0;
}

h2 {
  margin: 34px 0 12px;
  font-size: 22px;
  line-height: 1.35;
}

p,
li {
  color: var(--muted);
}

ul {
  padding-left: 1.4em;
}

li + li {
  margin-top: 6px;
}

.lead {
  max-width: 42rem;
  margin: 0;
  font-size: 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(24px, 5vw, 40px);
}

.document h1 {
  font-size: 46px;
}

.updated {
  margin-top: -4px;
  font-size: 14px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 18px;
  font-weight: 800;
}

.link-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.link-list a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--text);
  font-weight: 800;
}

.link-list a::after {
  content: ">";
  color: var(--primary-dark);
}

.support-note {
  margin: 24px 0 0;
  font-size: 14px;
}

.contact-panel {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(88, 191, 99, 0.08);
}

.contact-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-address {
  font-size: 17px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--primary-dark);
  color: #ffffff;
  font-weight: 800;
}

.primary-button:hover {
  text-decoration: none;
  background: #1f752c;
}

@media (max-width: 640px) {
  .container {
    padding-top: 28px;
  }

  .hero-brand {
    align-items: flex-start;
    gap: 16px;
  }

  .app-icon {
    width: 76px;
    height: 76px;
    border-radius: 17px;
  }

  h1 {
    font-size: 36px;
  }

  .document h1 {
    font-size: 32px;
  }
}
