/* assets/css/style.css */

/* =========================
   Base
========================= */

:root {
  --bg: #0a0a0a;
  --bg-soft: #111111;
  --text: #eaeaea;
  --text-muted: #8a8a8a;
  --text-dim: #666666;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #2f6fed;
  --accent-soft: rgba(47, 111, 237, 0.18);
  --max-width: 880px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(47, 111, 237, 0.12), transparent 34%),
    var(--bg);
  color: var(--text);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Helvetica Neue",
    "Yu Gothic UI",
    "Meiryo",
    sans-serif;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

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

img {
  max-width: 100%;
  display: block;
}

/* =========================
   Top Page
========================= */

.hero {
  min-height: 100vh;
  padding: 56px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  text-align: center;
}

.logo {
  width: 142px;
  opacity: 0.92;
  filter: drop-shadow(0 0 22px rgba(47, 111, 237, 0.18));
}

.title {
  font-size: clamp(26px, 5vw, 38px);
  line-height: 1.2;
  letter-spacing: 0.16em;
  font-weight: 650;
}

.tagline {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.12em;
}

.dots {
  margin-top: 6px;
  height: 18px;
}

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 6px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.2;
  animation: pulse 2.5s infinite ease-in-out;
}

.dot:nth-child(2) {
  animation-delay: 0.4s;
}

.dot:nth-child(3) {
  animation-delay: 0.8s;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.2;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.45);
  }
}

.nav {
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 22px;
}

.nav a {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav a:hover {
  color: var(--accent);
}

/* =========================
   Common Page Layout
========================= */

.page {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 56px 24px 88px;
}

.back-link {
  display: inline-block;
  margin-bottom: 72px;
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--accent);
}

.page-hero {
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-hero h1 {
  max-width: 760px;
  font-size: clamp(32px, 6vw, 58px);
  line-height: 1.25;
  letter-spacing: 0.04em;
  font-weight: 650;
}

.lead {
  max-width: 720px;
  margin-top: 28px;
  color: var(--text-muted);
  font-size: 16px;
  overflow-wrap: anywhere;
}

.content-block {
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}

.content-block h2 {
  margin-bottom: 20px;
  font-size: 20px;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.content-block p + p {
  margin-top: 18px;
}

.content-block p {
  color: #c7c7c7;
  font-size: 15px;
}

.simple-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.simple-list li {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: #d8d8d8;
}

.quiet-hero .lead {
  color: var(--text);
}

.quiet-hero-note {
  max-width: 520px;
  margin-top: 28px;
  color: var(--text-muted);
  font-size: 15px;
  overflow-wrap: anywhere;
}

.quiet-page .content-block p {
  overflow-wrap: anywhere;
}

.quiet-list,
.quiet-steps {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  color: #d8d8d8;
  font-size: 15px;
}

.quiet-list {
  list-style: none;
}

.quiet-list li,
.quiet-steps li {
  padding: 0 0 10px;
  border-bottom: 1px solid var(--line);
}

.quiet-card-list {
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.quiet-card-list li {
  padding: 9px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.quiet-card-list li:last-child {
  border-bottom: none;
}

.quiet-steps {
  padding-left: 18px;
}

.quiet-menu,
.quiet-examples {
  display: grid;
  gap: 24px;
}

.quiet-menu section,
.quiet-examples section {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.quiet-menu h3,
.quiet-examples h3 {
  margin-bottom: 8px;
  color: #e0e0e0;
  font-size: 15px;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.quiet-price {
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 13px;
}

.quiet-mail-link {
  color: #d8d8d8;
  border-bottom: 1px solid rgba(47, 111, 237, 0.4);
  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}

.quiet-mail-link:hover,
.quiet-mail-link:focus {
  color: var(--text);
  border-color: rgba(47, 111, 237, 0.8);
  outline: none;
}

.quiet-text-link {
  color: inherit;
  border-bottom: 1px solid rgba(47, 111, 237, 0.28);
  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}

.quiet-text-link:hover,
.quiet-text-link:focus {
  color: var(--text);
  border-color: rgba(47, 111, 237, 0.7);
  outline: none;
}

.link-note {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.6;
}


/* =========================
   Profile
========================= */

.profile-block {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}

.profile-image-wrap {
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  box-shadow: 0 0 34px rgba(47, 111, 237, 0.08);
}

.profile-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05) brightness(0.94);
}

.profile-text {
  max-width: 420px;
}

.profile-text .eyebrow {
  margin-bottom: 14px;
}

.profile-text h2 {
  margin-bottom: 20px;
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.25;
  letter-spacing: 0.08em;
  font-weight: 650;
}

.profile-text p {
  color: #c7c7c7;
  font-size: 15px;
  line-height: 2;
}
/* =========================
   Information Page
========================= */

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

.info-table th,
.info-table td {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
  font-size: 14px;
}

.info-table th {
  width: 160px;
  color: var(--text-muted);
  font-weight: 500;
}

.info-table td {
  color: #d8d8d8;
  overflow-wrap: anywhere;
}

.link-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.link-group-title {
  margin: 32px 0 12px;
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.link-list a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: #d8d8d8;
  background: transparent;
  overflow-wrap: anywhere;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.link-list a:visited,
.link-list a:focus {
  color: #d8d8d8;
  background: transparent;
  border-color: var(--line);
  outline: none;
}

@media (hover: hover) and (pointer: fine) {
  .link-list a:hover {
    color: var(--text);
    border-color: rgba(47, 111, 237, 0.5);
    background: var(--accent-soft);
  }
}

@media (hover: none) {
  .link-list a:hover,
  .link-list a:focus,
  .link-list a:visited {
    color: #d8d8d8;
    background: transparent;
    border-color: var(--line);
  }

  .link-list a:active {
    color: var(--text);
    border-color: rgba(47, 111, 237, 0.35);
    background: rgba(47, 111, 237, 0.08);
  }
}

.mail-text {
  margin-top: 18px;
  color: #8A8A8A;
  letter-spacing: 0.06em;
  overflow-wrap: anywhere;
}

/* =========================
   Footer
========================= */

.site-footer {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0 24px 40px;
  color: var(--text-dim);
  font-size: 12px;
}

.about-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.about-footer-copy {
  color: var(--text-dim);
}

.about-footer-copy.wlzphz-mutated {
  color: rgba(255, 79, 163, 0.48);
  opacity: 0.74;
}

.wlzphz-signal {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  color: var(--text-dim);
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1;
  opacity: 0.26;
  white-space: nowrap;
}

.wlzphz-signal:hover,
.wlzphz-signal:focus-within,
.wlzphz-signal:active {
  opacity: 0.58;
}

.wlzphz-signal a,
.wlzphz-signal span {
  color: inherit;
}

.wlzphz-signal a {
  transition:
    color 0.18s ease,
    opacity 0.18s ease,
    text-shadow 0.18s ease;
}

.wlzphz-signal a:hover,
.wlzphz-signal a:focus,
.wlzphz-signal a:active {
  color: #ff4fa3;
  opacity: 0.86;
  outline: none;
  text-shadow: 0 0 6px rgba(255, 79, 163, 0.18);
}

.wlzphz-receiving .wlzphz-about-signal {
  color: #ff4fa3;
}

.wlzphz-z-noise {
  transition:
    color 80ms ease,
    text-shadow 80ms ease;
}

.wlzphz-receiving .wlzphz-z-noise.wlzphz-pink {
  color: #ff4fa3;
  text-shadow: 0 0 7px rgba(255, 79, 163, 0.3);
}

/* =========================
   Responsive
========================= */

@media (max-width: 640px) {
  .hero {
    padding: 48px 20px;
    gap: 20px;
  }

  .logo {
    width: 118px;
  }

  .nav {
    margin-top: 34px;
    gap: 12px 18px;
  }

  .page {
    width: calc(100% - 44px);
    padding: 40px 0 72px;
  }

  .back-link {
    margin-bottom: 52px;
  }

  .page-hero {
    padding-bottom: 44px;
  }

  .content-block {
    padding: 40px 0;
  }

  .lead,
  .info-table td,
  .link-list a,
  .quiet-page .content-block p,
  .quiet-list li,
  .quiet-steps li,
  .mail-text {
    word-break: break-all;
  }

  .info-table,
  .info-table tbody,
  .info-table tr {
    display: block;
    width: 100%;
  }

  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
    padding: 10px 0;
  }

  .info-table th {
    border-bottom: none;
    padding-top: 18px;
  }

  .info-table td {
    padding-bottom: 18px;
  }
    .profile-block {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 44px 0;
  }

  .profile-image-wrap {
    max-width: 100%;
    border-radius: 24px;
  }

  .profile-text {
    max-width: none;
  }

  .profile-text h2 {
    font-size: 30px;
  }

  .profile-text p {
    font-size: 15px;
    line-height: 1.9;
  }

  .site-footer {
    width: calc(100% - 44px);
    padding: 0 0 40px;
  }

  .about-footer {
    gap: 16px;
  }

  .wlzphz-signal {
    font-size: 9px;
    gap: 4px;
  }
}
