:root {
  color-scheme: dark;
  background: #070b16;
  color: #e8eef7;
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.75;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.14), transparent 25%),
              radial-gradient(circle at 85% 10%, rgba(168, 85, 247, 0.12), transparent 20%),
              #070b16;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.hero {
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(10, 18, 39, 0.96), rgba(10, 18, 39, 0.92));
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top center, rgba(56, 189, 248, 0.16), transparent 28%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #7dd3fc;
}

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  letter-spacing: -0.04em;
  line-height: 0.5;
}

h1 small {
  font-size: 0.35em;
  opacity: 0.8;
}

.lead {
  margin: 1.4rem auto 0;
  max-width: 720px;
  color: #cbd5e1;
  font-size: 1.05rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.8rem;
  color: #94a3b8;
  font-size: 0.95rem;
}

.hero-meta span {
  padding: 0.65rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
}

.profile-photo {
  margin: 2rem auto 0;
  width: min(240px, 100%);
  max-width: 240px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
}

.profile-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.buttons {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
  justify-content: center;
}

.buttons a {
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  text-decoration: none;
  color: white;
  background: #38bdf8;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.buttons a:hover {
  transform: translateY(-2px);
  background: #0ea5e9;
}

.container {
  width: min(1100px, 94%);
  margin: -3rem auto 0;
  display: grid;
  gap: 1.5rem;
  padding-bottom: 3rem;
}

.panel {
  padding: 2rem;
  background: rgba(10, 18, 39, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 28px;
  backdrop-filter: blur(10px);
}

.panel h2 {
  margin-top: 0;
  font-size: 1.6rem;
  color: #f8fafc;
  border-bottom: 2px solid #334155;
  padding-bottom: 0.75rem;
}

.profile-grid,
.skill-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 1.25rem;
}

.profile-grid div,
.skill-grid div {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 18px;
  padding: 1rem 1.2rem;
}

.profile-grid h3,
.skill-grid strong {
  margin: 0 0 0.55rem;
  color: #38bdf8;
}

.timeline {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.timeline article {
  padding: 1.25rem 1.35rem;
  border-left: 4px solid #38bdf8;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 18px;
}

.time {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: #94a3b8;
  font-size: 0.95rem;
}

.timeline ul {
  margin: 0.85rem 0 0;
  padding-left: 1.1rem;
  color: #d8e2f0;
}

.timeline li {
  margin-bottom: 0.45rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.feature-list li {
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.footer {
  padding: 1.5rem 1.5rem 2rem;
  text-align: center;
  color: #64748b;
  margin-top: auto;
}
