:root {
  color-scheme: light;
  font-family: Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  background: #b3b1b1;
  color: #2c2c2c;
}

button { font: inherit; }

.page-shell {
  min-height: 100vh;
  padding: 28px 0 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.profile-image {
  width: 96px;
  height: 96px;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 50%;
}

.profile-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.text-container {
  width: 90%;
  max-width: 600px;
  margin-bottom: 20px;
  padding: 0 15px;
  overflow-wrap: anywhere;
}

.text-container p {
  margin: 1em 0;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  text-align: justify;
}

.hero-cta {
  width: 90%;
  max-width: 600px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.hero-cta img { width: 100%; height: auto; display: block; }

.hero-cta:focus-visible,
.fixed-cta:focus-visible,
.privacy-link:focus-visible,
.close-button:focus-visible {
  outline: 3px solid #125bd1;
  outline-offset: 3px;
}

.fixed-cta {
  position: fixed;
  left: 50%;
  bottom: 10px;
  z-index: 1000;
  width: 90%;
  max-width: 600px;
  min-height: 82px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px solid #b3b1b1;
  border-radius: 30px;
  background: #4caf50;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, .1);
  animation: pulse 2s infinite;
}

.fixed-cta:hover,
.fixed-cta:active { background: #b3b1b1; border-color: #fff; }

.fixed-cta img {
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
}

@keyframes pulse {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.05); }
}

.privacy-link {
  margin: 2rem 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #000;
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow-y: auto;
  background: rgba(0, 0, 0, .6);
}

.modal[aria-hidden="false"] { display: block; }

.modal-content {
  position: relative;
  width: 80%;
  max-width: 600px;
  margin: 10vh auto;
  padding: 20px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .3);
}

.modal-content h2 { padding-right: 35px; }

.close-button {
  position: absolute;
  top: 8px;
  right: 12px;
  padding: 2px 8px;
  border: 0;
  background: transparent;
  color: #333;
  font-size: 28px;
  cursor: pointer;
}

.policy-content { max-height: 60vh; overflow-y: auto; padding-right: 10px; line-height: 1.6; }

@media (max-width: 768px) {
  .text-container p { font-size: 14px; }
  .fixed-cta { padding: 14px; font-size: 16px; }
  .fixed-cta img { width: 40px; height: 40px; }
  .modal-content { width: 90%; margin: 5vh auto; }
}

@media (prefers-reduced-motion: reduce) {
  .fixed-cta { animation: none; transform: translateX(-50%); }
}
