:root {
  --ink: #111;
  --muted: #59606b;
  --line: #111;
  --paper: #fffdf4;
  --blue: #2f6cdf;
  --yellow: #ffea7a;
  --mint: #72c9bd;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 24px 24px, rgba(17,17,17,.16) 1.3px, transparent 1.4px) 0 0 / 32px 32px,
    var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 48px 0 32px;
}

.hero {
  border: 4px solid var(--line);
  background: white;
  box-shadow: 8px 8px 0 var(--line);
  padding: clamp(24px, 5vw, 56px);
}

.hero.compact {
  padding: clamp(24px, 4vw, 44px);
}

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

.logo {
  width: clamp(76px, 13vw, 132px);
  height: clamp(76px, 13vw, 132px);
  object-fit: contain;
}

.logo.small {
  width: clamp(64px, 10vw, 100px);
  height: clamp(64px, 10vw, 100px);
}

h1 {
  margin: 0;
  font-size: clamp(42px, 9vw, 88px);
  line-height: .96;
  font-weight: 900;
}

.en {
  margin: 8px 0 0;
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 800;
  color: var(--blue);
}

.lead {
  max-width: 720px;
  margin: 32px 0 0;
  font-size: clamp(18px, 2.5vw, 28px);
  line-height: 1.55;
  font-weight: 700;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.actions a {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  border: 3px solid var(--line);
  padding: 0 20px;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 5px 5px 0 var(--line);
}

.primary { background: var(--yellow); }
.secondary { background: var(--mint); }

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.subpage {
  padding-top: 34px;
}

.crumb {
  display: inline-flex;
  margin: 0 0 18px;
  border: 3px solid var(--line);
  background: white;
  padding: 10px 14px;
  font-weight: 900;
  box-shadow: 4px 4px 0 var(--line);
}

.notice {
  margin-top: 30px;
  border: 3px dashed var(--line);
  background: var(--yellow);
  padding: 18px;
}

.notice strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 900;
}

.notice p {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 750;
}

.text-link {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 900;
}

article {
  border: 3px solid var(--line);
  background: white;
  padding: 22px;
  min-height: 190px;
  box-shadow: 5px 5px 0 var(--line);
}

h2 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 900;
}

article p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 650;
}

article p + p {
  margin-top: 8px;
}

footer {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 18px 0 34px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

footer a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 760px) {
  .page {
    width: 100%;
    padding: 0 0 18px;
  }

  .hero {
    border-left: 0;
    border-right: 0;
    border-top: 0;
    box-shadow: none;
    padding: 28px 22px 34px;
  }

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

  .actions a {
    width: 100%;
    justify-content: center;
  }

  .grid {
    display: block;
    margin: 0;
  }

  .subpage {
    padding-top: 0;
  }

  .crumb {
    margin: 18px 22px;
  }

  article {
    min-height: 0;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    box-shadow: none;
  }

  footer {
    width: 100%;
    padding: 18px 22px 30px;
    flex-direction: column;
  }
}
