:root {
  --ink: #111111;
  --muted: #686868;
  --line: #dedede;
  --paper: #ffffff;
  --soft: #f5f5f3;
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", "Helvetica Neue", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html {
  background: var(--paper);
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.shell {
  width: min(100% - 40px, 920px);
  margin-inline: auto;
}

.hero {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 88px 72px;
}

.app-icon {
  width: 92px;
  height: 92px;
  border-radius: 22px;
  margin-bottom: 32px;
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.16em;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(42px, 8vw, 78px);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1.12;
}

.lead {
  max-width: 620px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: clamp(17px, 2.5vw, 20px);
  line-height: 1.8;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.primary-button { background: var(--ink); color: var(--paper); }
.secondary-button { background: var(--paper); }

.primary-button:hover,
.secondary-button:hover { transform: translateY(-2px); }

.statement {
  border-top: 1px solid var(--line);
  padding-block: 80px 96px;
}

.statement h2 {
  max-width: 700px;
  margin-bottom: 20px;
  font-size: clamp(30px, 5vw, 48px);
  letter-spacing: -0.04em;
  line-height: 1.18;
}

.statement > p:last-child {
  max-width: 650px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.page-header {
  border-bottom: 1px solid var(--line);
  padding-block: 28px;
}

.page-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
}

.brand img { width: 34px; height: 34px; border-radius: 9px; }

.back-link { color: var(--muted); font-size: 14px; text-decoration: none; }

.document { padding-block: 72px 104px; }

.document-heading { max-width: 720px; margin-bottom: 64px; }

.document-heading h1 {
  margin-bottom: 18px;
  font-size: clamp(36px, 6vw, 58px);
}

.updated { color: var(--muted); font-size: 14px; }

.document-body { max-width: 720px; }

.document-body section {
  border-top: 1px solid var(--line);
  padding-block: 34px;
}

.document-body h2 {
  margin-bottom: 16px;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.document-body p,
.document-body li {
  color: #333333;
  font-size: 16px;
  line-height: 1.9;
}

.document-body ul { margin: 0; padding-left: 1.25em; }

.document-body p + p { margin-top: 1em; }

.contact-card {
  margin-top: 18px;
  border-radius: 18px;
  background: var(--soft);
  padding: 24px;
}

.contact-card a { font-weight: 650; overflow-wrap: anywhere; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-block: 30px 42px;
  color: var(--muted);
  font-size: 13px;
}

.footer div { display: flex; gap: 20px; }
.footer a { text-decoration: none; }

@media (max-width: 600px) {
  .shell { width: min(100% - 32px, 920px); }
  .hero { min-height: auto; padding-block: 64px; }
  .app-icon { width: 78px; height: 78px; border-radius: 19px; }
  h1 { font-size: 32px; }
  .document-heading h1 { font-size: 30px; }
  .button-row, .primary-button, .secondary-button { width: 100%; }
  .document { padding-block: 52px 80px; }
  .document-heading { margin-bottom: 42px; }
  .footer { flex-direction: column; }
}

@media (max-width: 360px) {
  h1 { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .primary-button, .secondary-button { transition: none; }
}
