@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

:root {
  --green: #0f7b4f;
  --green-dark: #075136;
  --green-soft: #e8f5ef;
  --blue: #0b73b7;
  --text: #1f2937;
  --muted: #64748b;
  --line: #dbe7e1;
  --white: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, #eef8f3 0%, #f8fafc 55%, #eaf4ff 100%);
}

.page {
  width: min(960px, 100%);
  margin: 0 auto;
  padding: 40px 18px;
}

.notice-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(24px, 5vw, 56px);
  box-shadow: 0 24px 70px rgba(15, 81, 54, 0.12);
  position: relative;
  overflow: hidden;
}

.notice-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 10px;
  background: linear-gradient(90deg, var(--green), #56b870, var(--blue));
}

.header {
  text-align: center;
  text-transform: uppercase;
  font-weight: 800;
  line-height: 1.35;
  color: #111827;
  letter-spacing: -0.02em;
}

.header p { margin: 3px 0; }
.header .institution { margin-top: 18px; }

.logo-mark {
  width: 54px;
  height: 72px;
  margin: 0 auto 12px;
  display: grid;
  grid-template-columns: repeat(2, 20px);
  gap: 6px;
  justify-content: center;
}

.logo-mark span {
  width: 20px;
  height: 20px;
  background: #9ca3af;
  border-radius: 3px;
}

.logo-mark span:first-child {
  background: #111827;
  border-radius: 50%;
}

.badge {
  width: fit-content;
  margin: 34px auto 16px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.92rem;
}

h1 {
  margin: 0 0 30px;
  text-align: center;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.05;
  color: var(--green-dark);
  letter-spacing: -0.06em;
}

h2 {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 1.15rem;
}

p {
  font-size: 1.06rem;
  line-height: 1.8;
  margin: 16px 0;
}

.greeting { margin-top: 0; }
.muted { color: var(--muted); }

a { color: var(--blue); font-weight: 700; }

.system-link {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 24px auto;
  padding: 16px 22px;
  border-radius: 18px;
  background: var(--green);
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(15, 123, 79, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.system-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(15, 123, 79, 0.3);
}

.info-box,
.contact {
  margin-top: 26px;
  padding: 22px;
  border-radius: 22px;
  background: #f8fbf9;
  border: 1px solid var(--line);
}

.highlights {
  display: grid;
  gap: 16px;
  margin: 28px 0;
}

.highlights article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 20px;
  border-radius: 20px;
  background: var(--green-soft);
  border-left: 6px solid var(--green);
}

.highlights p { margin: 0; }
.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-size: 1.4rem;
  font-weight: 800;
}

footer {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  text-align: center;
}

footer p { color: var(--muted); }

@media print {
  body { background: white; }
  .page { padding: 0; }
  .notice-card { box-shadow: none; border-radius: 0; }
  .system-link { color: white !important; }
}

@media (max-width: 620px) {
  .highlights article { grid-template-columns: 1fr; }
  .icon { width: 36px; height: 36px; }
}

