* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #1d3557 0, #020617 45%, #0f172a 100%);
  color: #f5f5f4;
  -webkit-font-smoothing: antialiased;
}

html[data-lang="en"] [data-lang="ja"] {
  display: none;
}

html[data-lang="ja"] [data-lang="en"] {
  display: none;
}

.shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.shell.narrow {
  max-width: 880px;
}

.section {
  padding: 4.5rem 0;
}

.section:nth-of-type(odd) {
  background: rgba(2, 6, 23, 0.96);
}

.section:nth-of-type(even) {
  background: rgba(15, 23, 42, 0.98);
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-header.center {
  text-align: center;
}

.section-header h2 {
  margin: 0 0 0.5rem;
  font-size: 1.9rem;
  letter-spacing: 0.02em;
}

.section-header p {
  margin: 0;
  color: #cbd5f5;
  font-size: 0.98rem;
}

.section-tag {
  margin-top: 0.5rem;
  color: #e5e5e4;
  font-size: 0.9rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: linear-gradient(to right, rgba(2, 6, 23, 0.9), rgba(15, 23, 42, 0.9));
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  gap: 1.5rem;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(250, 204, 21, 0.7);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 1), 0 0 18px rgba(250, 204, 21, 0.65);
  background: radial-gradient(circle at 30% 20%, #facc15 0, #1d3557 52%, #020617 100%);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.brand-year {
  font-size: 0.75rem;
  color: #e5e5e4;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-size: 0.85rem;
}

.nav-link {
  position: relative;
  text-decoration: none;
  color: #e5e7eb;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 0;
  height: 1px;
  background: linear-gradient(to right, #facc15, #22c55e);
  transition: width 160ms ease-out;
}

.nav-link:focus-visible,
.nav-link:hover {
  outline: none;
  color: #facc15;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  width: 100%;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.45rem 1.1rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  cursor: pointer;
  background: none;
  color: #f5f5f4;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 120ms ease-out, color 120ms ease-out, border-color 120ms ease-out, box-shadow 120ms ease-out;
}

.btn-primary {
  background: linear-gradient(135deg, #facc15, #f97316);
  color: #020617;
  border-color: rgba(250, 204, 21, 0.2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(135deg, #fde047, #fb923c);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
}

.btn-outline {
  border-color: rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: #facc15;
  color: #facc15;
  background: rgba(15, 23, 42, 0.6);
}

.btn-ghost {
  border-color: transparent;
  color: #e5e5e4;
  background: rgba(15, 23, 42, 0.7);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(31, 41, 55, 1);
  border-color: rgba(148, 163, 184, 0.4);
}

.btn:focus-visible {
  outline: 2px solid #facc15;
  outline-offset: 2px;
}

.lang-toggle {
  font-size: 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(2, 6, 23, 0.7);
  color: #e5e7eb;
  padding: 0.3rem 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  cursor: pointer;
}

.lang-toggle .muted {
  opacity: 0.45;
}

.lang-toggle:hover,
.lang-toggle:focus-visible {
  border-color: #facc15;
  color: #facc15;
}

.hero {
  padding: 4.5rem 0 4rem;
  background:
    radial-gradient(circle at 5% 0, rgba(250, 204, 21, 0.18), transparent 55%),
    radial-gradient(circle at 100% 0, rgba(34, 197, 94, 0.16), transparent 45%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 3rem;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #e5e7eb;
  margin: 0 0 0.75rem;
}

.hero-meta {
  margin: 0 0 1.5rem;
  color: #e5e7eb;
  font-size: 0.95rem;
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-viz {
  display: flex;
  justify-content: flex-end;
}

.viz-frame {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4 / 5;
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: radial-gradient(circle at top, #020617 0, #020617 35%, #0f172a 100%);
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.85);
}

.viz-layer {
  position: absolute;
  inset: 0;
}

.viz-grid {
  background-image: linear-gradient(
      rgba(148, 163, 184, 0.12) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(148, 163, 184, 0.12) 1px,
      transparent 1px
    );
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at 50% 0, black 0, transparent 70%);
}

.viz-orbit::before,
.viz-orbit::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.22);
}

.viz-orbit::before {
  width: 74%;
  height: 38%;
  top: 30%;
  left: 13%;
  transform: rotate(-16deg);
}

.viz-orbit::after {
  width: 52%;
  height: 26%;
  top: 42%;
  left: 24%;
  transform: rotate(14deg);
}

.viz-stats {
  position: absolute;
  inset: 1.1rem 1.1rem auto;
  display: grid;
  gap: 0.55rem;
}

.stat-pill {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: linear-gradient(to right, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.6));
  font-size: 0.75rem;
}

.stat-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9ca3af;
}

.stat-value {
  font-weight: 600;
  color: #facc15;
}

.viz-footer {
  position: absolute;
  inset: auto 0 1.1rem;
  padding-inline: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse 1.6s infinite;
}

.viz-caption {
  font-size: 0.74rem;
  color: #e5e7eb;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    transform: scale(1.4);
    box-shadow: 0 0 0 12px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.columns.two-col {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 2.5rem;
}

.columns p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #e5e7eb;
}

.spec-card {
  border-radius: 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: radial-gradient(circle at top left, rgba(250, 204, 21, 0.12), transparent 50%),
    rgba(2, 6, 23, 0.9);
  padding: 1.5rem 1.6rem;
  font-size: 0.9rem;
}

.spec-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1rem;
}

.spec-card dl {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 2.1fr);
  column-gap: 1.5rem;
  row-gap: 0.65rem;
}

.spec-card dt {
  font-weight: 600;
  color: #e5e7eb;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.spec-card dd {
  margin: 0;
  color: #d1d5db;
}

.card-grid {
  display: grid;
  gap: 1.5rem;
}

.card-grid.four-up {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  border-radius: 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at top left, rgba(250, 204, 21, 0.12), transparent 55%),
    rgba(15, 23, 42, 0.98);
  padding: 1.4rem 1.5rem 1.6rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
}

.card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #e5e7eb;
}

.role-card {
  position: relative;
}

.role-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(140deg, rgba(250, 204, 21, 0.4), rgba(34, 197, 94, 0.25));
  opacity: 0;
  transition: opacity 160ms ease-out;
  pointer-events: none;
}

.role-card:hover::before {
  opacity: 1;
}

.role-card .text-link {
  display: inline-block;
  margin-top: 0.85rem;
}

.chip-grid {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2.4rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 0.25rem 0.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e5e7eb;
}

.callout-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.callout {
  border-radius: 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(2, 6, 23, 0.95);
  padding: 1.2rem 1.3rem 1.4rem;
}

.callout h3 {
  margin: 0 0 0.6rem;
  font-size: 1rem;
}

.callout p {
  margin: 0;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.text-link {
  font-size: 0.86rem;
  color: #facc15;
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration: underline;
}

.section-faq {
  background: radial-gradient(circle at top, rgba(250, 204, 21, 0.12), rgba(15, 23, 42, 1));
}

.faq-list {
  display: grid;
  gap: 1.1rem;
}

.faq-item {
  border-radius: 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.98);
  padding: 1.1rem 1.3rem 1.3rem;
}

.faq-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.faq-item p {
  margin: 0;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.6);
  background: #020617;
  padding: 1.8rem 0 2.4rem;
  color: #9ca3af;
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.5fr) minmax(0, 1.5fr);
  gap: 1.5rem;
  align-items: baseline;
}

.footer-title {
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #e5e7eb;
}

.footer-sub {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: flex-end;
}

.footer-meta {
  grid-column: 1 / -1;
  margin-top: 0.3rem;
}

@media (max-width: 960px) {
  .site-header .shell {
    flex-wrap: wrap;
  }
  .site-nav {
    display: none;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-viz {
    justify-content: center;
  }
  .columns.two-col {
    grid-template-columns: minmax(0, 1fr);
  }
  .card-grid.four-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .card-grid.three-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .callout-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .section {
    padding: 3.2rem 0;
  }
  .hero {
    padding-top: 3.4rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn,
  .lang-toggle {
    width: 100%;
    justify-content: center;
  }
  .card-grid.four-up,
  .card-grid.three-up,
  .callout-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
