:root {
  --bg: #0B0D10;
  --fg: #E6E8EB;
  --fg-strong: #F3F4F6;
  --fg-muted: #A8AFB8;
  --fg-subtle: #7D8590;
  --accent: #6EE7B7;
  --font-sans: "Geist", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background grid, faded toward the edges */
.grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 55% 60% at 50% 50%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 55% 60% at 50% 50%, #000 20%, transparent 75%);
}

.header,
.main,
.footer { position: relative; }

.header {
  display: flex;
  align-items: center;
  padding: 32px 80px;
}

.brand {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 0 80px;
  text-align: center;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid #23302B;
  border-radius: 999px;
  background-color: rgba(110, 231, 183, 0.06);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background-color: var(--accent);
  animation: pulse 2.4s ease-out infinite;
}

.status-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.title {
  margin: 0;
  font-size: 60px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--fg-strong);
  font-feature-settings: "palt";
  text-wrap: balance;
  line-break: strict;
  word-break: keep-all;
  word-break: auto-phrase;
}

.body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  color: var(--fg-muted);
}

.en {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-subtle);
}

.footer {
  display: flex;
  justify-content: center;
  padding: 32px 80px;
  color: var(--fg-subtle);
}

.footer small { font-size: 13px; }

/* Line breaks used only on small screens */
.sp { display: none; }

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(110, 231, 183, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(110, 231, 183, 0); }
  100% { box-shadow: 0 0 0 0 rgba(110, 231, 183, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .status-dot { animation: none; }
}

/* Tablet */
@media (max-width: 960px) {
  .header { padding: 28px 40px; }
  .main { padding: 0 40px; }
  .footer { padding: 28px 40px; }
  .title { font-size: 44px; }
}

/* Mobile */
@media (max-width: 600px) {
  .sp { display: inline; }

  .grid {
    background-size: 40px 40px;
    -webkit-mask-image: radial-gradient(ellipse 85% 45% at 50% 50%, #000 20%, transparent 80%);
            mask-image: radial-gradient(ellipse 85% 45% at 50% 50%, #000 20%, transparent 80%);
  }

  .header { padding: 20px 24px; }
  .brand { font-size: 16px; }

  .main { gap: 24px; padding: 48px 24px; }

  .status { padding: 7px 12px; }
  .status-dot { width: 7px; height: 7px; }
  .status-label { font-size: 11px; }

  .title { font-size: 32px; line-height: 1.35; }

  .body { gap: 10px; }
  .lead { font-size: 15px; }
  .en { font-size: 13px; }

  .footer { padding: 24px; }
  .footer small { font-size: 12px; }
}
