:root {
  --red: #b1040c;
  --red-deep: #7c0206;
  --red-hover: #8f0309;
  --ink: #1f2229;
  --muted: #5e6675;
  --paper: #eceff1;
  color: var(--ink);
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
}

.notice {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(1rem, 3.5vh, 2.5rem) 1rem;
  background: linear-gradient(180deg, var(--red-deep), var(--red) 48%, var(--red-deep));
  color: #fff;
}

.notice::before,
.notice::after {
  content: "";
  flex: 1 1 0;
}

.sheet {
  width: min(760px, 100%);
  display: flex;
  flex-direction: column;
  gap: clamp(0.7rem, 2vh, 1.15rem);
}

.masthead { text-align: center; }

.logo-frame {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 8px 18px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.logo-frame img {
  display: block;
  width: min(360px, 72vw);
  height: auto;
}

h1 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.subtitle {
  margin: 0.15rem 0 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.asked {
  margin: 0.55rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
}

.asked strong { font-weight: 800; }

.alert,
.laws article {
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.alert {
  padding: 0.9rem 1rem 1rem;
  text-align: center;
}

.alert-mark {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--red);
  animation: pulse 2s infinite;
}

.alert h2 {
  margin: 0.55rem auto 0;
  max-width: 40rem;
  font-size: clamp(0.78rem, 1.1vw, 0.92rem);
  line-height: 1.4;
  font-weight: 700;
  text-transform: uppercase;
}

.alert p,
.laws p {
  margin: 0.35rem auto 0;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  font-style: italic;
  line-height: 1.35;
}

.laws {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.laws article {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.75rem 0.85rem;
}

.laws article > span {
  flex: 0 0 auto;
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--red);
}

.laws h3 {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.3;
  font-weight: 700;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
}

.actions a,
.contact {
  text-decoration: none;
}

.actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.55rem 1.1rem;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.actions a:hover {
  background: #fff;
  color: var(--red);
}

footer {
  flex: 0 0 auto;
  padding: 0.85rem 1rem 1rem;
  background: var(--paper);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-inner { width: min(760px, 100%); margin: 0 auto; text-align: center; }

.footer-id,
.footer-en { margin: 0; }

.footer-id {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
}

.footer-en {
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-style: italic;
}

.contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.contact {
  display: flex;
  flex: 1 1 280px;
  flex-direction: column;
  padding: 0.55rem 0.8rem;
  border: 1.5px solid rgba(177, 4, 12, 0.12);
  border-radius: 10px;
  background: #fff;
  text-align: left;
}

.contact span {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 600;
  text-transform: uppercase;
}

.contact strong {
  color: var(--red);
  font-size: 0.78rem;
}

.contact:hover strong { color: var(--red-hover); }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

@media (max-width: 760px) {
  .laws { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .actions { flex-direction: column; }
}
